code
stringlengths
1
1.72M
language
stringclasses
1 value
#!/usr/bin/python #import sys a = 5 b = 6 del b; print dir()
Python
#!/usr/bin/python import sys if __name__ == '__main__': print 'this is called by myself' else: print 'import by other file' def callHi(): print 'hi, I\'m called' version = '0.1' print 'done'
Python
#!/usr/bin/python def getMax(a, b): if a > b: print a, 'is maxinum' else: print b, 'is maxinum' a = 5 b = 6 c = 1000 d = 200000000000000000 def returnMax(a, b): if a > b: return a else: return b print returnMax(a, b) print returnMax(c, d) #getMax(a, b) #getMax(c, d) print 'done'
Python
#!/usr/bin/python from Module import callHi, version callHi() print version
Python
#!/usr/bin/env python PACKAGE = "rosaria" from dynamic_reconfigure.parameter_generator_catkin import * gen = ParameterGenerator() gen.add("trans_accel", double_t, 0, "Translational acceleration (m/s^2)") gen.add("trans_decel", double_t, 0, "Translational deceleration (m/s^2)" ) gen.add("lat_accel" , double_t, 0, "Lateral acceleration (m/s^2)" ) gen.add("lat_decel" , double_t, 0, "Lateral deceleration (m/s^2)" ) gen.add("rot_accel" , double_t, 0, "Rotational acceleration (rad/s^2)" ) gen.add("rot_decel" , double_t, 0, "Rotational deceleration (rad/s^2)" ) # Default values are from the Pioneer Manual p.53 gen.add("TicksMM" , int_t, 0, "Encoder ticks/mm" ) gen.add("DriftFactor", int_t, 0, "Value in 1/8192 increments to be added or " + "subtracted from the left encoder ticks in " + "order to compensate for tire differences." ) gen.add("RevCount" , int_t, 0, "The number of differential encoder ticks " + "for a 180-degree revolution of the robot." ) exit(gen.generate(PACKAGE, "RosAria", "RosAria"))
Python
#!/usr/bin/env python PACKAGE = "rosaria" from dynamic_reconfigure.parameter_generator_catkin import * gen = ParameterGenerator() gen.add("trans_accel", double_t, 0, "Translational acceleration (m/s^2)") gen.add("trans_decel", double_t, 0, "Translational deceleration (m/s^2)" ) gen.add("lat_accel" , double_t, 0, "Lateral acceleration (m/s^2)" ) gen.add("lat_decel" , double_t, 0, "Lateral deceleration (m/s^2)" ) gen.add("rot_accel" , double_t, 0, "Rotational acceleration (rad/s^2)" ) gen.add("rot_decel" , double_t, 0, "Rotational deceleration (rad/s^2)" ) # Default values are from the Pioneer Manual p.53 gen.add("TicksMM" , int_t, 0, "Encoder ticks/mm" ) gen.add("DriftFactor", int_t, 0, "Value in 1/8192 increments to be added or " + "subtracted from the left encoder ticks in " + "order to compensate for tire differences." ) gen.add("RevCount" , int_t, 0, "The number of differential encoder ticks " + "for a 180-degree revolution of the robot." ) exit(gen.generate(PACKAGE, "RosAria", "RosAria"))
Python
#!/usr/bin/env python ## ## # required for ROS Python import rospy from roslib import message # Standard messages from std_msgs.msg import Header from std_msgs.msg import String # Group6 messages and services # Image messages (for debugging and configuration) from sensor_msgs.msg import Image import sensor_msgs.point_cloud2 as pc2 from sensor_msgs.msg import PointCloud2 from sensor_msgs.msg import PointField # for converting from ROS-Image to OpenCV-Image and vice versa from cv_bridge import CvBridge, CvBridgeError # Import Python's math libraty, advanced number thingie and openCV import math import numpy import cv2 # Publisher and stuff pub = rospy.Publisher('detected_floor_image', Image, queue_size=10) # Converter for cv->ros and ros->cv bridge = CvBridge() # Message depthData = 0 imageData = 0 # this one create a plane of the floor, # a = angle of kinect (degrees), h = height of kinect from the floor def createFloorPlane(a, h): # beta angle used for calculations, in radians b = (180-90-(90-a))*math.pi/180 # three points on the floor at the given angle and height #p1 = (-0.2, 0, h / math.sin(b)) #p2 = (0.2, 0, h / math.sin(b)) #p3 = (0, h*math.cos(b), h*math.sin(b)) p1 = (-0.2, -h, 1) p2 = (0.2, -h, 1) p3 = (0, -h, 0) # two vectors the three previous points make v1 = (p1[0] - p3[0], p1[1] - p3[1], p1[2] - p3[2]) v2 = (p2[0] - p3[0], p2[1] - p3[1], p2[2] - p3[2]) # calculate the cross product to get the normal vector n = numpy.cross(v1, v2) # calculate the d with the point d3 d = n[0]*p3[0] + n[1]*p3[1] + n[2]*p3[2] # return the plane return (n[0], n[1], n[2], -d) # a, b, c, d # this one returns the distance between a plane and a point # if ret > 0 then the point is above the plane (front of) and if ret < 0 behind the pland def getPlanePointDistance(plane, point): p = plane d = point return p[0]*d[0] + p[1]*d[1] + p[2]*d[2] + p[3] #return (math.fabs(p[0]*d[0] + p[1]*d[1] + p[2]*d[2] + p[3]) / math.sqrt(math.pow(p[0],2)+math.pow(p[1],2)+math.pow(p[2],2))) # is floor or not, returns true if yes and false if no, t = tolerance def isFloor(plane, point, t): if (getPlanePointDistance(plane, point) >= t): return True return False #calculate a point in the world in respect to kinect # d depth (mm), y = pixel y, x = pixelx def calculatePoint(data): return (data[0], data[1], data[2]) # the plane plane = createFloorPlane(45, 0.395) # This is a simple callback about the subscription to the image topic def calculate(): global pub global colorData global depthData global plane #colorData = 1 #temp if (depthData and colorData): rospy.loginfo("calculating") i = colorData#.copy() d = depthData#.copy() # Convert from sensor_msgs/Image to OpenCV format color = bridge.imgmsg_to_cv2(i, "bgr8") # # get the dimension #h,w,d = res.shape h = d.height w = d.width # create mask mask = numpy.zeros((h,w), numpy.uint8) # the point step = 4 for x in range(0,w, step): for y in range(0,h, step): #b,g,r = res[y,x] point = calculatePoint(read_depth(x, y, depthData)) if (isFloor(plane, point, 0.02)): cv2.rectangle(mask, (x,y), (x+step,y+step), (0,0,0), -1) else: cv2.rectangle(mask, (x,y), (x+step,y+step), (255,255,255), -1) final = cv2.bitwise_and(color, color, mask = mask) # Convert img to Ros and Publish image_message = bridge.cv2_to_imgmsg(final, "bgr8") pub.publish(image_message) #lol def getColorImage(data): global colorData colorData = data # read the depth data def read_depth(width, height, data): #read function if (height >= data.height) or (width >= data.width): return 0#-1 data_out = pc2.read_points(data, field_names=None, skip_nans=False, uvs=[[width, height]]) int_data = next(data_out) #rospy.loginfo("int_data"+str(int_data)) return int_data # get the depth data def depth_callback(data): global depthData # pick a height #height = int(data.height / 2) # pick x coords near front and center #middle_x = int(data.width / 2) # examine point #middle = read_depth(middle_x, height, data) # do stuff with middle??! # old code depthData = data #rospy.loginfo("width"+str(data.width)) #rospy.loginfo("height"+str(data.height)) #rospy.loginfo("") # main code def floor_detection(): # init rospy.init_node('floor_detection', anonymous=True) rospy.loginfo("Starting experimental floor detection") # Subscribers rospy.Subscriber('camera/rgb/image_color', Image, getColorImage) rospy.Subscriber('camera/depth_registered/points', PointCloud2, depth_callback) r = rospy.Rate(10) #10Hz, added # Start the service #rospy.loginfo("OD: Service enabled") while not rospy.is_shutdown(): #arr = "LOL" # LOLOLO # log calculate() # publish # pub.publish(arr) r.sleep() # spin() simply keeps python from exiting until this node is stopped #rospy.spin() if __name__ == '__main__': try: floor_detection() except rospy.ROSInterruptException: pass
Python
#!/usr/bin/env python ## ## import rospy from std_msgs.msg import Header #from object_recognition_msgs.msg import RecognizedObjectArray from group6.msg import DetectedObject from group6.msg import DetectedObjectArray # for dummy from fixedToyLocations import createObjectList #def objCallback(data): # if ( len(data.objects) > 0 ): # rospy.loginfo("###") # for o in data.objects: # pos = o.pose.pose.pose.position # rospy.loginfo("x:%.2f y:%.2f z:%.2f", pos.x, pos.y, pos.z) # main code def object_detection(): #Publisher and stuff pub = rospy.Publisher('detected_object_array', DetectedObjectArray, queue_size=10) #Init the node rospy.init_node('object_detection', anonymous=True) #Subscribe to /recognized_object_array #rospy.Subscriber("recognized_object_array", RecognizedObjectArray, objCallback) r = rospy.Rate(10) #10Hz, added #seq = 0 while not rospy.is_shutdown(): # increment seq #seq = seq + 1 # create a new DetectedObjectArray arr = DetectedObjectArray() # create header arr.header = rospy.Header() #header.frame_id = frame arr.header.stamp = rospy.get_rostime() # create a list of toys that have a fixed pre-known location, see fixedToyLocations.py for modifications arr.objects = createObjectList() # the size of the array arr.size = len(arr.objects) # log rospy.loginfo(arr) # publish pub.publish(arr) r.sleep() # spin() simply keeps python from exiting until this node is stopped #rospy.spin() if __name__ == '__main__': try: object_detection() except rospy.ROSInterruptException: pass
Python
#!/usr/bin/env python ## ## # required for ROS Python import rospy from roslib import message # Standard messages from std_msgs.msg import Header from std_msgs.msg import String # Group6 messages and services # Image messages (for debugging and configuration) from sensor_msgs.msg import Image import sensor_msgs.point_cloud2 as pc2 from sensor_msgs.msg import PointCloud2 from sensor_msgs.msg import PointField # for converting from ROS-Image to OpenCV-Image and vice versa from cv_bridge import CvBridge, CvBridgeError # Import Python's math libraty, advanced number thingie and openCV import math import numpy import cv2 # Publisher and stuff pub = rospy.Publisher('detected_floor_image', Image, queue_size=10) # Converter for cv->ros and ros->cv bridge = CvBridge() # Message depthData = 0 imageData = 0 # this one create a plane of the floor, # a = angle of kinect (degrees), h = height of kinect from the floor def createFloorPlane(a, h): # beta angle used for calculations, in radians b = (180-90-(90-a))*math.pi/180 # three points on the floor at the given angle and height #p1 = (-0.2, 0, h / math.sin(b)) #p2 = (0.2, 0, h / math.sin(b)) #p3 = (0, h*math.cos(b), h*math.sin(b)) p1 = (-0.2, -h, 1) p2 = (0.2, -h, 1) p3 = (0, -h, 0) # two vectors the three previous points make v1 = (p1[0] - p3[0], p1[1] - p3[1], p1[2] - p3[2]) v2 = (p2[0] - p3[0], p2[1] - p3[1], p2[2] - p3[2]) # calculate the cross product to get the normal vector n = numpy.cross(v1, v2) # calculate the d with the point d3 d = n[0]*p3[0] + n[1]*p3[1] + n[2]*p3[2] # return the plane return (n[0], n[1], n[2], -d) # a, b, c, d # this one returns the distance between a plane and a point # if ret > 0 then the point is above the plane (front of) and if ret < 0 behind the pland def getPlanePointDistance(plane, point): p = plane d = point return p[0]*d[0] + p[1]*d[1] + p[2]*d[2] + p[3] #return (math.fabs(p[0]*d[0] + p[1]*d[1] + p[2]*d[2] + p[3]) / math.sqrt(math.pow(p[0],2)+math.pow(p[1],2)+math.pow(p[2],2))) # is floor or not, returns true if yes and false if no, t = tolerance def isFloor(plane, point, t): if (getPlanePointDistance(plane, point) >= t): return True return False #calculate a point in the world in respect to kinect # d depth (mm), y = pixel y, x = pixelx def calculatePoint(data): return (data[0], data[1], data[2]) # the plane plane = createFloorPlane(45, 0.395) # This is a simple callback about the subscription to the image topic def calculate(): global pub global colorData global depthData global plane #colorData = 1 #temp if (depthData and colorData): rospy.loginfo("calculating") i = colorData#.copy() d = depthData#.copy() # Convert from sensor_msgs/Image to OpenCV format color = bridge.imgmsg_to_cv2(i, "bgr8") # # get the dimension #h,w,d = res.shape h = d.height w = d.width # create mask mask = numpy.zeros((h,w), numpy.uint8) # the point step = 4 for x in range(0,w, step): for y in range(0,h, step): #b,g,r = res[y,x] point = calculatePoint(read_depth(x, y, depthData)) if (isFloor(plane, point, 0.02)): cv2.rectangle(mask, (x,y), (x+step,y+step), (0,0,0), -1) else: cv2.rectangle(mask, (x,y), (x+step,y+step), (255,255,255), -1) final = cv2.bitwise_and(color, color, mask = mask) # Convert img to Ros and Publish image_message = bridge.cv2_to_imgmsg(final, "bgr8") pub.publish(image_message) #lol def getColorImage(data): global colorData colorData = data # read the depth data def read_depth(width, height, data): #read function if (height >= data.height) or (width >= data.width): return 0#-1 data_out = pc2.read_points(data, field_names=None, skip_nans=False, uvs=[[width, height]]) int_data = next(data_out) #rospy.loginfo("int_data"+str(int_data)) return int_data # get the depth data def depth_callback(data): global depthData # pick a height #height = int(data.height / 2) # pick x coords near front and center #middle_x = int(data.width / 2) # examine point #middle = read_depth(middle_x, height, data) # do stuff with middle??! # old code depthData = data #rospy.loginfo("width"+str(data.width)) #rospy.loginfo("height"+str(data.height)) #rospy.loginfo("") # main code def floor_detection(): # init rospy.init_node('floor_detection', anonymous=True) rospy.loginfo("Starting experimental floor detection") # Subscribers rospy.Subscriber('camera/rgb/image_color', Image, getColorImage) rospy.Subscriber('camera/depth_registered/points', PointCloud2, depth_callback) r = rospy.Rate(10) #10Hz, added # Start the service #rospy.loginfo("OD: Service enabled") while not rospy.is_shutdown(): #arr = "LOL" # LOLOLO # log calculate() # publish # pub.publish(arr) r.sleep() # spin() simply keeps python from exiting until this node is stopped #rospy.spin() if __name__ == '__main__': try: floor_detection() except rospy.ROSInterruptException: pass
Python
#!/usr/bin/env python import rospy from std_msgs.msg import Header from group6.msg import DetectedObject # create a dummy object list # add new objects or change values as you please def createObjectList(): temp = [] # OBJECT 1 obj = DetectedObject() #obj.header = rospy.Header() obj.object_id = "toy 1" obj.x = 1.5 obj.y = 0 obj.z = 0.03 temp.append(obj) # OBJECT 2 obj = DetectedObject() #obj.header = rospy.Header() obj.object_id = "toy 2" obj.x = 2.35 obj.y = 0.6 obj.z = 0.03 temp.append(obj) # OBJECT 3 obj = DetectedObject() #obj.header = rospy.Header() obj.object_id = "toy 3" obj.x = 2.3 obj.y = 2 obj.z = 0.03 temp.append(obj) # OBJECT 4 obj = DetectedObject() #obj.header = Header() obj.object_id = "toy 4" obj.x = 2.2 obj.y = 2.45 obj.z = 0.03 temp.append(obj) return temp
Python
#!/usr/bin/env python ## ## # required for ROS Python import rospy import message_filters from roslib import message # Standard messages from std_msgs.msg import Header from std_msgs.msg import String from std_msgs.msg import Float64 from std_msgs.msg import Bool from geometry_msgs.msg import Vector3 from group6.msg import DetectedObject from group6.msg import DetectedObjectArray from group6.srv import * #ConvertCoordinates from group6.msg import motion_ctrl # Image messages (for debugging and configuration) from sensor_msgs.msg import Image import sensor_msgs.point_cloud2 as pc2 from sensor_msgs.msg import PointCloud2 from sensor_msgs.msg import PointField from group6.msg import ImageCloud # for converting from ROS-Image to OpenCV-Image and vice versa from cv_bridge import CvBridge, CvBridgeError # Import Python's math libraty, advanced number thingie and openCV import math import numpy import cv2 # Publisher and stuff pub1 = rospy.Publisher('detected_object_image', Image, queue_size=5) pub2 = rospy.Publisher('detected_object_array', DetectedObjectArray, queue_size=5) pub3 = rospy.Publisher('goToPoint', motion_ctrl, queue_size=5) pub4 = rospy.Publisher('saveRobotPosition', Bool, queue_size=1) # Modes detection_mode = 0 # 0 = nothing, 1 = detection = False transmission = False # CONFIGURATION minZ = -0.05#0.01#-0.05 maxZ = 0.18#0.22#16 minArea = 920#1000#550 maxArea = 20000#13000#10000#13000 # ----------------------------------------------------------------- # ------------- PARAMETERS ---------------------------------------- distanceThreshold = 0.25+0.03#0.3#0.24#0.12 # when movement command is 0, 0.11 is untested it used to be 0.08 angleThreshold = 0.06 ##0.15 #0.035 (radians) when turning command is 0 angleCorrection = 0.06#0.07#0.07 #0 (radians) rotation offset. findEdges = 230 # Edge Detection parameter # ----------------------------------------------------------------- # Converter for cv->ros and ros->cv bridge = CvBridge() # Message inst = motion_ctrl() #inst = motion_ctrl() # Crop parameters, deprecated cropW = 480#640/2 # crop width, center is horizontal middle cropH = 480 #2 crop height, origin is bottom of image # Moving average, moving_avg = ( (moving_avg * measurements) + new_measurement ) / ( measurements + 1) movAvg = 0 avgAngle = 0 avgDistance = 0 toyW = 0 toyH = 0 # to keep track noDetections = 0 # THE FOLLOWING VALUES ARE ROUGH APPROXIMATIONS # Grabber Pos, distance to robot rotation point and pixel to meters grabberY = 480 #- (480 - 480) #temp dist2RobotOrigin = 1.3#1 #meters p2m = 0.0015625 # 1m/640pixels # The object file global var obj = [] arr = DetectedObjectArray() # container for depth and image data depthData = 0 imageData = 0 # Rect class for holding wall information class Rect: def __init__(self, x, y, w, h): self.x1 = x - 0.05 self.x2 = x + w + 2*0.05 self.y1 = y - 0.05 self.y2 = y + h + 2*0.05 room = Rect(-0.7, 1.82, 4.22, 3.2) rects = [] # the blocking box #rects.append( Rect(0.72,0.91,0.31,0.42) ) rects.append( Rect(0.88, 0.68, 0.49, 0.37)) # blue toy box #rects.append( Rect(1.21,0.22,0.27,0.38) ) # white toy box - ok #rects.append( Rect(0.79,3.21,0.38,0.27) ) # corner wall #rects.append( Rect(1.4,3.05,0.08,0.43) ) # white round thing rects.append( Rect(3.08,0.43,0.46,0.46) ) # large blocking wall rects.append( Rect(1.29,-1.46,0.05,1.46) ) # small blocking wall rects.append( Rect(1.3,-0.9,0.04,0.36) ) # left wall rects.append( Rect(-0.72, 1.82, 1.72, 1.0) ) rects.append( Rect( 1.00, 1.86, 1.0, 1.0) ) rects.append( Rect( 2.00, 1.93, 1.0, 1.0) ) rects.append( Rect( 3.00, 2.00, 1.0, 1.0) ) # far rects.append( Rect( 3.48, 1, 0.5, 1.5) ) rects.append( Rect( 3.48, -0.4, 0.5, 1.4) ) rects.append( Rect( 3.53, -1.5, 0.5, 1.1) ) # right rects.append( Rect( 3.00, -2.00, 1.0, 0.9 ) ) rects.append( Rect( 2.00, -2.00, 1.0, 0.75) ) rects.append( Rect( 1.00, -2.00, 1.0, 0.7) ) rects.append( Rect( 0, -2.00, 1.0, 0.65) ) rects.append( Rect( -1.00, -2.00, 1.0, 0.62) ) # close rects.append( Rect( -1.00, -2.00, 0.26, 1.00) ) rects.append( Rect( -1.00, -1.00, 0.38, 1.00) ) rects.append( Rect( -1.00, 0, 0.43, 2.5) ) # baskets rects.append( Rect( 0, -1.48, 0.40, 0.28) ) rects.append( Rect( 3.27, -0.8, 0.28, 0.40) ) # Create black image mask from the given hsv image def createBlackMask(image): imageC = image.copy() COLOR_MIN = numpy.array([0, 0, 0], numpy.uint8) # 50 50 COLOR_MAX = numpy.array([179, 255, 50], numpy.uint8) # 255 #Filter color countours frame_threshed = cv2.inRange(imageC, COLOR_MIN, COLOR_MAX) # Dilation kernel, 3x3 kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to close frame = cv2.dilate(frame_threshed, kernel, iterations = 6) return frame # Create yellow image mask from the given hsv image def createYellowMask(image): imageC = image.copy() COLOR_MIN = numpy.array([15, 150, 51], numpy.uint8) # 50 50 COLOR_MAX = numpy.array([40, 255, 253], numpy.uint8) # 255 #Filter color countours frame_threshed = cv2.inRange(imageC, COLOR_MIN, COLOR_MAX) # Dilation kernel, 3x3 kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to close frame = cv2.dilate(frame_threshed, kernel, iterations = 6) return frame # COLOR BASED DETECTION from the hsv image def filterColor(image, lower, upper): imageC = image.copy() COLOR_MIN = numpy.array([lower, 51, 51], numpy.uint8) #41 41 50 50 COLOR_MAX = numpy.array([upper,255,255], numpy.uint8) # 255 #Filter color countours frame_threshed = cv2.inRange(imageC, COLOR_MIN, COLOR_MAX) # Dilation kernel, 3x3 kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to frame = cv2.dilate(frame_threshed, kernel, iterations = 6) return frame # Reset detection and other parameters, used when switching between modes def resetDetection(): global movAvg, avgAngle, avgDistance, transmission, detection, detection_mode, noDetections avgAngle = 0 avgDistance = 0 movAvg = 0 noDetections = 0 if (transmission == True): detection_mode = -1 elif (detection == True): detection_mode = 1 else: detection_mode = 0 # service 1, object detection listener def serviceResponse1(arg): global detection, transmission if (arg.data): rospy.loginfo("Detection started!") detection = True transmission = False else: rospy.loginfo("Detection stopped!") detection = False resetDetection() # service 2, approach listener def serviceResponse2(arg): global transmission, detection if (arg.data): rospy.loginfo("Detection started!") transmission = True detection = False else: rospy.loginfo("Detection stopped!") transmission = False resetDetection() # is point rect, this checks if a coordinate is inside a rectangle def ipr(rects, x, y): for rect in rects: if (rect.x1 < x): if (rect.y1 < y): if (rect.x2 > x): if (rect.y2 > y): return True return False # this one idenfties the object big or small, not great success rate def identObject(wo, ho, ddx, ddy): size = wo*ho dd = ddy + ho/2.0 a = size * float(1.0 - (dd/600.0)*0.25)#size * ddz if (a > 4600): return "big" elif (a > 750): return "small" else: return "unknown" # This is a simple callback about the subscription to the image topic #def callback(colorData, depthData): def detect(): #rospy.loginfo("data received") global pub1, pub2, pub3, plane, detection, minZ, maxZ, minArea, maxArea, room, rects, arr, pub4, colorData, depthData global distanceThreshold, angleThreshold, angleCorrection, noDetections, movAvg, avgAngle, avgDistance, inst, obj, bridge, findEdges, cropH, cropW, grabberY, dist2RobotOrigin, p2m, transmission, toyW, toyW if (detection_mode != 0): if (depthData and colorData): # if both data ok rospy.loginfo("detecting...") time = rospy.get_time()#rospy.get_rostime()colorData, depthData i = colorData#.copy() #depthData = depthData#.copy() d = depthData # movAvg = movAvg + 1 obj = [] # Convert from sensor_msgs/Image to OpenCV format color = bridge.imgmsg_to_cv2(i, "bgr8") final = color.copy() # get the dimension #h,w,d = res.shape h = d.height w = d.width # Convert the image to gray gray = cv2.cvtColor(color, cv2.COLOR_BGR2GRAY) gret,thresh1 = cv2.threshold(gray,240,255,cv2.THRESH_BINARY) #230 # Dilation kernel, 3x3 kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to close caps and form actual shapes dilated = cv2.dilate(thresh1, kernel, iterations = 1) color = cv2.inpaint(color, dilated, 3, cv2.INPAINT_NS) # Convert the image to HSV hsv = cv2.cvtColor(color, cv2.COLOR_BGR2HSV) # Blur hsv = cv2.medianBlur(hsv, 5) hsv = cv2.medianBlur(hsv, 5) #hsv = cv2.medianBlur(hsv, 5) # Create Masks, upper and lower values in hsv color space black_mask = createBlackMask(hsv) blue_mask = filterColor(hsv, 85, 135) yellow_mask = createYellowMask(hsv)#filterColor(hsv, 15, 40) green_mask = filterColor(hsv, 45, 80) #48 - 70 red_mask1 = filterColor(hsv, 167, 179) red_mask2 = filterColor(hsv, 0, 13) red_mask = numpy.bitwise_or(red_mask1, red_mask2) # Combine them total_mask = numpy.bitwise_or( black_mask,numpy.bitwise_or(numpy.bitwise_or(numpy.bitwise_or(blue_mask, yellow_mask), green_mask), red_mask)) # find edges edges = cv2.Canny(gray, findEdges*1, findEdges*2) dilated_edges = cv2.dilate(edges, kernel, iterations = 6) # fill gaps dilated_edge_mask = dilated_edges.copy() contour1,hier1 = cv2.findContours(dilated_edge_mask,cv2.RETR_CCOMP,cv2.CHAIN_APPROX_SIMPLE) for cnt in contour1: cv2.drawContours(dilated_edge_mask,[cnt],0,255,-1) # fill gaps dilated_total_mask = total_mask.copy() contour1,hier1 = cv2.findContours(total_mask,cv2.RETR_CCOMP,cv2.CHAIN_APPROX_SIMPLE) for cnt in contour1: cv2.drawContours(dilated_total_mask,[cnt],0,255,-1) # Combine total_mask and edge mask total_mask = numpy.bitwise_and(dilated_total_mask, dilated_edge_mask)#numpy.bitwise_or(total_mask, dilated_edges) #cv2.rectangle(total_mask, (0, 305), (640, 480), 0, # Dilate ( = make the edge detection lines kernel = numpy.ones((3,3),'uint8') dilated_mask = cv2.erode(total_mask, kernel, iterations = 0) contours, hierarchy = cv2.findContours(dilated_mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) filled_mask = dilated_mask.copy() # Draw blocking rectangles ww = 320 cv2.rectangle(filled_mask,(320-(ww/2)+10, 417),(320-(ww/2)+ww+20, 480), 0,-1) cv2.rectangle(filled_mask,(0, 310),(320-(ww/2)+107, 480), 0,-1) cv2.rectangle(filled_mask,(320-(ww/2)+ww-73, 310),(640, 480), 0,-1) cv2.rectangle(final,(320-(ww/2)+10, 420),(320-(ww/2)+ww+20, 480), (0,0,0),-1) cv2.rectangle(final,(0, 310),(320-(ww/2)+107, 480), (0,0,0),-1) cv2.rectangle(final,(320-(ww/2)+ww-73, 310),(640, 480), (0,0,0),-1) # Find the Contours again #contours, hierarchy = cv2.findContours(filled_mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) contours, hierarchy = cv2.findContours(filled_mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) # Find the larger contours = HOPEFULLY THE OBJECTs # olist = [] for cnt in contours: area1 = cv2.contourArea(cnt) #print str(area) rx,ry,wi,he = cv2.boundingRect(cnt) area2 = wi*he ratiow = wi/he ratioh = he/wi cv2.rectangle(final, (rx,ry), (rx+wi, ry+he), (255, 255, 0), 2) # check for criteria if (area2 > minArea and area2 < maxArea and ratiow <= 2.0 and ratioh <= 2.0 and (area1/area2) > 0.30 and wi > 20 and he > 20 and wi < 210 and he < 210 ): #0.35 olist.append(cnt) #if (ry+he < 100 and area2 > 5500): # rospy.loginfo("Object too large at that distance!") #else: # olist.append(cnt) # analyze and calculate those detections not yet discarded objlist = [] flist = [] for i in olist: m = numpy.zeros(color.shape, numpy.uint8) cv2.drawContours(m,[i],0,255,-1) pixelpoints = numpy.transpose(numpy.nonzero(m)) #mean_val = cv2.mean(hsv, mask = m) x = 0 y = 0 z = 0 cc = 0 nans = 0 for c in pixelpoints: pc = read_depth(c[1],c[0], depthData) if (pc != -1): if (math.isnan(pc[0]) or math.isnan(pc[1]) or math.isnan(pc[2])): nans = nans + 1 #rospy.loginfo("NAN value encountered in pointcloud") else: x = x + pc[0] y = y + pc[1] z = z + pc[2] cc = cc + 1 # if there were some calculations take avg and convert them if (cc != 0): x = x/cc y = y/cc z = z/cc# + 0.03 rospy.loginfo("x: "+str(x)+" y: "+str(y)+" z: "+str(z)) rospy.wait_for_service('convertCoordinates') try: coordinates = rospy.ServiceProxy('convertCoordinates',convertCoordinates) respl = coordinates(Vector3(float(x), float(y), float(z)))#coordinates(Float64(x), Float64(y), Float64(z)) #rospy.loginfo(respl.point) x = float(respl.point.x) y = float(respl.point.y) z = float(respl.point.z) rx,ry,wi,he = cv2.boundingRect(i) cv2.rectangle(final,(rx,ry),(rx+wi,ry+he),(0,0,255),2) rospy.loginfo("area: "+str(cv2.contourArea(i))+" x: "+str(x)+" y: "+str(y)+" z: "+str(z)) # add object if not insize a box and too high or low if (ipr(rects, x, y) == False and z > minZ and z < maxZ): #if (z > minZ and z < maxZ): flist.append(i) rx,ry,wi,he = cv2.boundingRect(i) cv2.rectangle(final,(rx,ry),(rx+wi,ry+he),(0,255,0),2) dobj = DetectedObject() dobj.object_id = "small"#identObject(wi,he, rx, ry)#math.sqrt(x*x + y*y + z*z)) dobj.x = x dobj.y = y dobj.z = z objlist.append(dobj) else: rospy.loginfo("Detection is a wall/obstacle") #if (ipr(rects, x, y) == False): #rospy.loginfo("OBJECT INSIDE A OBSTACLE") except rospy.ServiceException, e: rospy.loginfo('Service call failed: %s'%e) #print "x: "+str(x)+" y: "+str(y)+" z: "+str(z) else: rospy.loginfo('DEPTH MODE FAILED') #rospy.loginfo(str(detection_mode)) # 1 means object detection if (detection_mode == 1): if (movAvg >= 4): # send if over 4 consecutive movAvg = 0 # create header arr.header = rospy.Header() #header.frame_id = frame arr.header.stamp = rospy.get_rostime() # publish pub2.publish(arr) # create a new DetectedObjectArray arr = DetectedObjectArray() else: # create a list of toys that have a fixed pre-known location, see fixedToyLocations.py for modifications arr.objects = arr.objects + objlist # the size of the array arr.size = len(arr.objects) # -1 means approach elif (detection_mode == -1): if (movAvg >= 4): movAvg = 0 avgAngle = 0 avgDistance = 0 noDetections = 0 if (inst.distance < 0): inst.distance = 0 pub3.publish(inst) else: toyH = 0 toyW = 0 if (len(flist) > 0): bcnt = []#0 smd = 1000 sme = 0 # find suitable detections for i in flist: M = cv2.moments(i) objX = (M['m10']/M['m00']) objY = (M['m01']/M['m00']) deltaObjX = ( objX - 320 ) deltaObjY = ( objY - grabberY ) if ( math.fabs(deltaObjX) < 400 and (objY > 75 ) ): if ( math.fabs(deltaObjX) < smd ): if (objY > sme): bcnt = i smd = math.fabs(deltaObjX) sme = objY#rospy.loginfo("plop") if ( len(bcnt) == 0): noDetections = noDetections + 1 toyH = 0 toyW = 0 else: inst.status = 1 noDetections = 0 #M = cv2.moments(bcnt) xa, ya, wa, ha = cv2.boundingRect(bcnt) objX = xa+(wa/2)#(M['m10']/M['m00']) objY = ya#(M['m01']/M['m00']) deltaObjX = ( objX - 320 ) deltaObjY = ( objY - grabberY ) deltaAngle = (math.atan2(dist2RobotOrigin + (deltaObjY * p2m), deltaObjX * p2m) - 0.5*math.pi) + angleCorrection # Calculate the moving average avgAngle = (avgAngle * movAvg + deltaAngle) / (movAvg + 1) avgDistance = (avgDistance * movAvg + deltaObjY) / (movAvg + 1) # Compile the message inst.angle = avgAngle inst.distance = (avgDistance * -p2m) #- 0.18 #16 # threshold if (math.fabs(deltaObjX) < 17):#(math.fabs(inst.angle) <= angleThreshold): inst.angle = 0 if (math.fabs(inst.angle) < angleThreshold): inst.angle = 0 # threshold if (math.fabs(inst.distance) < distanceThreshold): inst.distance = 0 #xa,ya,wa,ha = cv2.boundingRect(bcnt) cv2.rectangle(final,(xa,ya),(xa+ha,ya+ha),(255,0,0),2) toyW = wa toyH = ha else: noDetections = noDetections + 1 toyH = 0 toyW = 0 if (noDetections > 3): noDetections = 0 if (movAvg < 4): inst.status = 0 else: rospy.loginfo("Detection offline") #mask = numpy.zeros((h, w), numpy.uint8) image_message = bridge.cv2_to_imgmsg(final, "bgr8") # Publish the image pub1.publish(image_message) rospy.loginfo("detection took "+str((rospy.get_time()-time))+" seconds") # getColor data def getColorImage(data): global colorData colorData = data # read the depth data def read_depth(width, height, data): #read function if (height >= data.height) or (width >= data.width): return -1 data_out = pc2.read_points(data, field_names=None, skip_nans=False, uvs=[[width, height]]) int_data = next(data_out) #rospy.loginfo("int_data"+str(int_data)) return int_data # get the depth data def depth_callback(data): global depthData depthData = data #rospy.loginfo("PointCloud received from /filtered_pointcloud") # get the object ratio, not used but still implemented def object_ratio(req): if (object_detection == -1): return objectDimResponse( Vector3(float(toyW), float(toyH), float(666.6))) return objectDimResponse( Vector3(float(-1), float(-1), float(666.6))) # main code def object_detection(): # init rospy.init_node('object_detection', anonymous=True) rospy.loginfo("Starting object detection") # rospy.Service('object_dimensions', objectDim, object_ratio) # Subscribers rospy.Subscriber('camera/rgb/image_rect_color', Image, getColorImage) rospy.Subscriber('camera/depth_registered/points', PointCloud2, depth_callback) #rospy.Subscriber('image_cloud', ImageCloud, detect) # rospy.Subscriber('triggerDetect', Bool, serviceResponse1) rospy.Subscriber('toggleKinectPublish', Bool, serviceResponse2) # r = rospy.Rate(10) #10Hz, added # Start the service #rospy.loginfo("OD: Service enabled") while not rospy.is_shutdown(): #arr = "LOL" # LOLOLO # log detect() # publish # pub.publish(arr) r.sleep() # spin() simply keeps python from exiting until this node is stopped #rospy.spin() if __name__ == '__main__': try: object_detection() except rospy.ROSInterruptException: pass
Python
#!/usr/bin/env python ## ## # required for ROS Python import rospy # Standard messages from std_msgs.msg import Header from std_msgs.msg import String from std_msgs.msg import Bool # Group6 messages and services from group6.msg import motion_ctrl #from group6.srv import kinectApproach # Image messages (for debugging and configuration) from sensor_msgs.msg import Image # for converting from ROS-Image to OpenCV-Image and vice versa from cv_bridge import CvBridge, CvBridgeError # Import Python's math libraty, advanced number thingie and openCV import math import numpy import cv2 # Publisher and stuff pub = rospy.Publisher('manipulated_object_position', Image, queue_size=10) pub2 = rospy.Publisher('goToPoint', motion_ctrl, queue_size=10) # Pub2, this is the actual publisher of the relevant information cool huh?! pub2 = rospy.Publisher('goToPoint', motion_ctrl, queue_size=10) transmission = False # ----------------------------------------------------------------- # ------------- PARAMETERS ---------------------------------------- distanceThreshold = 0.18#0.132 # when movement command is 0, 0.11 is untested it used to be 0.08 angleThreshold = 0.15 #0.035 (radians) when turning command is 0 angleCorrection = 0#0.07 #0 (radians) rotation offset. findEdges = 600 # Edge Detection parameter # ----------------------------------------------------------------- # Converter for cv->ros and ros->cv bridge = CvBridge() # Message inst = motion_ctrl() #inst = motion_ctrl() # Crop parameters cropW = 480#640/2 # crop width, center is horizontal middle cropH = 480 #2 crop height, origin is bottom of image # Moving average, moving_avg = ( (moving_avg * measurements) + new_measurement ) / ( measurements + 1) movAvg = 0 avgAngle = 0 avgDistance = 0 noDetections = 0 # THE FOLLOWING VALUES ARE ROUGH APPROXIMATIONS # Grabber Pos, distance to robot rotation point and pixel to meters grabberY = 480 - (480 - cropH) #temp dist2RobotOrigin = 1.3#1 #meters p2m = 0.0015625 # 1m/640pixels # The object file global var obj = [] # DETECTION def filterColor(image, lower, upper): imageC = image.copy() COLOR_MIN = numpy.array([lower, 120, 30], numpy.uint8) # 50 50 COLOR_MAX = numpy.array([upper,255,255], numpy.uint8) # 255 #Filter color countours frame_threshed = cv2.inRange(imageC, COLOR_MIN, COLOR_MAX) # Dilation kernel, 3x3 #kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to close caps and form actual shapes #frame = cv2.dilate(frame_threshed, kernel, iterations = 1) return frame_threshed#frame # This is a simple callback about the subscription to the image topic def callback(data): global distanceThreshold global angleThreshold global angleCorrection global noDetections global movAvg global avgAngle global avgDistance global inst global obj global bridge global pub global pub2 global findEdges global cropH global cropW global grabberY global dist2RobotOrigin global p2m global transmission if (transmission): # Calculate the average movAvg = movAvg + 1 obj = [] mes = "sensor_msgs/Image sent /manipulated_object_detection" # Convert from sensor_msgs/Image to OpenCV format image = bridge.imgmsg_to_cv2(data, "bgr8") # Crop the image according to crop parameters imgC = image[ (480-cropH):480, (320-cropW/2):(320+cropW/2)] # ------------------------------------------------------------------- # --------------- COMMENT THIS AWAY --------------------------------- # Convert the image to gray gray = cv2.cvtColor(imgC, cv2.COLOR_BGR2GRAY) gret,thresh1 = cv2.threshold(gray,230,255,cv2.THRESH_BINARY) # Dilation kernel, 3x3 kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to close caps and form actual shapes dilated = cv2.dilate(thresh1, kernel, iterations = 2) imgC = cv2.inpaint(imgC, dilated, 3, cv2.INPAINT_NS) # ---------------- ENDS HERE ---------------------------------------- # ------------------------------------------------------------------- # Convert the image to HSV hsv = cv2.cvtColor(imgC, cv2.COLOR_BGR2HSV) hsv = cv2.medianBlur(hsv, 5) hsv = cv2.medianBlur(hsv, 5) #blue_mask = numpy.zeros((cropH, cropW), numpy.uint8) # Create Masks, blue mask not actually blue LOL its empty blue_mask = filterColor(hsv, 110, 130) yellow_mask = filterColor(hsv, 20, 35) green_mask = filterColor(hsv, 50, 67) #48 - 70 #big_mask = filterColor(hsv, 48, 70) red_mask1 = filterColor(hsv, 170, 180) red_mask2 = filterColor(hsv, 0, 8) red_mask = numpy.bitwise_or(red_mask1, red_mask2) # Combine them total_mask = numpy.bitwise_or(numpy.bitwise_or(numpy.bitwise_or(blue_mask, yellow_mask), green_mask), red_mask) # ------------------------------------------------------- # ----------- COMMENT THIS AWAY ------------------------- # Canny Edge Detection with the parameter edges = cv2.Canny(hsv, findEdges*1, findEdges*1) # Combine total_mask and edge mask total_mask = numpy.bitwise_or(total_mask, edges) # ---------- ENDS HERE ---------------------------------- # ------------------------------------------------------- # Find the Contours again contours, hierarchy = cv2.findContours(total_mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) # Find the largest contour = HOPEFULLY THE OBJECT lol maxArea = -1000 cc = 0 ccnt = 0 # default status inst.status = 0 for cnt in contours: area = cv2.contourArea(cnt) if area > maxArea: #if ( area > 3000 and area < 20000): obj = cnt maxArea = area ccnt = cc cc = cc + 1 # NO OBJECT SITUATION, min was 1000 if (maxArea > 300 and maxArea < 11000): inst.status = 1 noDetections = 0 else: noDetections = noDetections + 1 inst.status = 0 # if found something if (inst.status == 1 and len(obj)): # Calculate center point and delta Y and delta X lol M = cv2.moments(obj) objX = (M['m10']/M['m00']) objY = (M['m01']/M['m00']) deltaObjX = ( objX - (cropW/2) ) deltaObjY = ( objY - grabberY ) deltaAngle = (math.atan2(dist2RobotOrigin + (deltaObjY * p2m), deltaObjX * p2m) - 0.5*math.pi) + angleCorrection # Calculate the moving average avgAngle = (avgAngle * movAvg + deltaAngle) / (movAvg + 1) avgDistance = (avgDistance * movAvg + deltaObjY) / (movAvg + 1) # Compile the message inst.angle = avgAngle inst.distance = (avgDistance * -p2m) #- 0.18 #16 # threshold if (math.fabs(deltaObjX) < 13):#(math.fabs(inst.angle) <= angleThreshold): inst.angle = 0 # threshold if (math.fabs(inst.distance) < distanceThreshold): inst.distance = 0 # Reset once movAvg has reached 10 measurements, if transmission is True then publish if (movAvg >= 10): movAvg = 0 # Publish pub2.publish(inst) rospy.loginfo("OD: Published at goToPoint "+str(maxArea)) #reset inst = motion_ctrl() avgAngle = 0 avgDistance = 0 #Draw two circles on top of the contour (cx,cy),radius = cv2.minEnclosingCircle(obj) center = (int(cx),int(cy)) radius = int(radius) cv2.circle(imgC,center,radius,(255,0,0),2) cv2.circle(imgC,center, 6,(255,0,0), -1) else: if (noDetections >= 12): rospy.loginfo("OD: No detections "+str(maxArea)) movAvg = 0 avgAngle = 0 avgDistance = 0 inst.distance = 0 inst.angle = 0 noDetections = 0 pub2.publish(inst) #TEMPP h,w,d = imgC.shape # Draw Rectangle cv2.rectangle(imgC, (cropW,cropH), (0,0), (0,255,0), 2) mask = numpy.zeros((h, w), numpy.uint8) cv2.drawContours(mask, contours, ccnt, (255,255,255), -1) res = cv2.bitwise_and(imgC, imgC, mask = mask) # Convert img to Ros and Publish image_message = bridge.cv2_to_imgmsg(res, "bgr8") pub.publish(image_message) # what to do when the service is initialized def serviceResponse(arg): global transmission global movAvg global avgAngle global avgDistance avgAngle = 0 avgDistance = 0 movAvg = 0 if (arg.data): rospy.loginfo("Detection started!") transmission = True else: rospy.loginfo("Detection stopped!") transmission = False # main code def object_manipulation(): global inst # init rospy.init_node('object_manipulation', anonymous=True) rospy.loginfo("OD: Init") #Subscribe to /camera/rgb/image_color rospy.Subscriber("camera/rgb/image_color", Image, callback) rospy.loginfo("OD: Subscribed to kinect"); #Subscribe to /toggleKinectPublish rospy.Subscriber('toggleKinectPublish', Bool, serviceResponse) #rospy.init_node('object_manipulation', anonymous=True) rospy.loginfo("OD: Started") r = rospy.Rate(10) #10Hz, added # Start the service #rospy.Service('toggleKinectPublish', kinectApproach, serviceResponse) rospy.loginfo("OD: Service enabled") while not rospy.is_shutdown(): #arr = "LOL" # LOLOLO # log # rospy.loginfo(arr) # publish # pub.publish(arr) r.sleep() # spin() simply keeps python from exiting until this node is stopped #rospy.spin() if __name__ == '__main__': try: object_manipulation() except rospy.ROSInterruptException: pass
Python
#!/usr/bin/env python ## ## import rospy from std_msgs.msg import Header #from object_recognition_msgs.msg import RecognizedObjectArray from group6.msg import DetectedObject from group6.msg import DetectedObjectArray # for dummy from fixedToyLocations import createObjectList #def objCallback(data): # if ( len(data.objects) > 0 ): # rospy.loginfo("###") # for o in data.objects: # pos = o.pose.pose.pose.position # rospy.loginfo("x:%.2f y:%.2f z:%.2f", pos.x, pos.y, pos.z) # main code def object_detection(): #Publisher and stuff pub = rospy.Publisher('detected_object_array', DetectedObjectArray, queue_size=10) #Init the node rospy.init_node('object_detection', anonymous=True) #Subscribe to /recognized_object_array #rospy.Subscriber("recognized_object_array", RecognizedObjectArray, objCallback) r = rospy.Rate(10) #10Hz, added #seq = 0 while not rospy.is_shutdown(): # increment seq #seq = seq + 1 # create a new DetectedObjectArray arr = DetectedObjectArray() # create header arr.header = rospy.Header() #header.frame_id = frame arr.header.stamp = rospy.get_rostime() # create a list of toys that have a fixed pre-known location, see fixedToyLocations.py for modifications arr.objects = createObjectList() # the size of the array arr.size = len(arr.objects) # log rospy.loginfo(arr) # publish pub.publish(arr) r.sleep() # spin() simply keeps python from exiting until this node is stopped #rospy.spin() if __name__ == '__main__': try: object_detection() except rospy.ROSInterruptException: pass
Python
#!/usr/bin/env python ## ## # required for ROS Python import rospy # Standard messages from std_msgs.msg import Header from std_msgs.msg import String from std_msgs.msg import Bool # Group6 messages and services from group6.msg import motion_ctrl #from group6.srv import kinectApproach # Image messages (for debugging and configuration) from sensor_msgs.msg import Image # for converting from ROS-Image to OpenCV-Image and vice versa from cv_bridge import CvBridge, CvBridgeError # Import Python's math libraty, advanced number thingie and openCV import math import numpy import cv2 # Publisher and stuff pub = rospy.Publisher('manipulated_object_position', Image, queue_size=10) pub2 = rospy.Publisher('goToPoint', motion_ctrl, queue_size=10) # Pub2, this is the actual publisher of the relevant information cool huh?! pub2 = rospy.Publisher('goToPoint', motion_ctrl, queue_size=10) transmission = False # ----------------------------------------------------------------- # ------------- PARAMETERS ---------------------------------------- distanceThreshold = 0.18#0.132 # when movement command is 0, 0.11 is untested it used to be 0.08 angleThreshold = 0.15 #0.035 (radians) when turning command is 0 angleCorrection = 0#0.07 #0 (radians) rotation offset. findEdges = 600 # Edge Detection parameter # ----------------------------------------------------------------- # Converter for cv->ros and ros->cv bridge = CvBridge() # Message inst = motion_ctrl() #inst = motion_ctrl() # Crop parameters cropW = 480#640/2 # crop width, center is horizontal middle cropH = 480 #2 crop height, origin is bottom of image # Moving average, moving_avg = ( (moving_avg * measurements) + new_measurement ) / ( measurements + 1) movAvg = 0 avgAngle = 0 avgDistance = 0 noDetections = 0 # THE FOLLOWING VALUES ARE ROUGH APPROXIMATIONS # Grabber Pos, distance to robot rotation point and pixel to meters grabberY = 480 - (480 - cropH) #temp dist2RobotOrigin = 1.3#1 #meters p2m = 0.0015625 # 1m/640pixels # The object file global var obj = [] # DETECTION def filterColor(image, lower, upper): imageC = image.copy() COLOR_MIN = numpy.array([lower, 120, 30], numpy.uint8) # 50 50 COLOR_MAX = numpy.array([upper,255,255], numpy.uint8) # 255 #Filter color countours frame_threshed = cv2.inRange(imageC, COLOR_MIN, COLOR_MAX) # Dilation kernel, 3x3 #kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to close caps and form actual shapes #frame = cv2.dilate(frame_threshed, kernel, iterations = 1) return frame_threshed#frame # This is a simple callback about the subscription to the image topic def callback(data): global distanceThreshold global angleThreshold global angleCorrection global noDetections global movAvg global avgAngle global avgDistance global inst global obj global bridge global pub global pub2 global findEdges global cropH global cropW global grabberY global dist2RobotOrigin global p2m global transmission if (transmission): # Calculate the average movAvg = movAvg + 1 obj = [] mes = "sensor_msgs/Image sent /manipulated_object_detection" # Convert from sensor_msgs/Image to OpenCV format image = bridge.imgmsg_to_cv2(data, "bgr8") # Crop the image according to crop parameters imgC = image[ (480-cropH):480, (320-cropW/2):(320+cropW/2)] # ------------------------------------------------------------------- # --------------- COMMENT THIS AWAY --------------------------------- # Convert the image to gray gray = cv2.cvtColor(imgC, cv2.COLOR_BGR2GRAY) gret,thresh1 = cv2.threshold(gray,230,255,cv2.THRESH_BINARY) # Dilation kernel, 3x3 kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to close caps and form actual shapes dilated = cv2.dilate(thresh1, kernel, iterations = 2) imgC = cv2.inpaint(imgC, dilated, 3, cv2.INPAINT_NS) # ---------------- ENDS HERE ---------------------------------------- # ------------------------------------------------------------------- # Convert the image to HSV hsv = cv2.cvtColor(imgC, cv2.COLOR_BGR2HSV) hsv = cv2.medianBlur(hsv, 5) hsv = cv2.medianBlur(hsv, 5) #blue_mask = numpy.zeros((cropH, cropW), numpy.uint8) # Create Masks, blue mask not actually blue LOL its empty blue_mask = filterColor(hsv, 110, 130) yellow_mask = filterColor(hsv, 20, 35) green_mask = filterColor(hsv, 50, 67) #48 - 70 #big_mask = filterColor(hsv, 48, 70) red_mask1 = filterColor(hsv, 170, 180) red_mask2 = filterColor(hsv, 0, 8) red_mask = numpy.bitwise_or(red_mask1, red_mask2) # Combine them total_mask = numpy.bitwise_or(numpy.bitwise_or(numpy.bitwise_or(blue_mask, yellow_mask), green_mask), red_mask) # ------------------------------------------------------- # ----------- COMMENT THIS AWAY ------------------------- # Canny Edge Detection with the parameter edges = cv2.Canny(hsv, findEdges*1, findEdges*1) # Combine total_mask and edge mask total_mask = numpy.bitwise_or(total_mask, edges) # ---------- ENDS HERE ---------------------------------- # ------------------------------------------------------- # Find the Contours again contours, hierarchy = cv2.findContours(total_mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) # Find the largest contour = HOPEFULLY THE OBJECT lol maxArea = -1000 cc = 0 ccnt = 0 # default status inst.status = 0 for cnt in contours: area = cv2.contourArea(cnt) if area > maxArea: #if ( area > 3000 and area < 20000): obj = cnt maxArea = area ccnt = cc cc = cc + 1 # NO OBJECT SITUATION, min was 1000 if (maxArea > 300 and maxArea < 11000): inst.status = 1 noDetections = 0 else: noDetections = noDetections + 1 inst.status = 0 # if found something if (inst.status == 1 and len(obj)): # Calculate center point and delta Y and delta X lol M = cv2.moments(obj) objX = (M['m10']/M['m00']) objY = (M['m01']/M['m00']) deltaObjX = ( objX - (cropW/2) ) deltaObjY = ( objY - grabberY ) deltaAngle = (math.atan2(dist2RobotOrigin + (deltaObjY * p2m), deltaObjX * p2m) - 0.5*math.pi) + angleCorrection # Calculate the moving average avgAngle = (avgAngle * movAvg + deltaAngle) / (movAvg + 1) avgDistance = (avgDistance * movAvg + deltaObjY) / (movAvg + 1) # Compile the message inst.angle = avgAngle inst.distance = (avgDistance * -p2m) #- 0.18 #16 # threshold if (math.fabs(deltaObjX) < 13):#(math.fabs(inst.angle) <= angleThreshold): inst.angle = 0 # threshold if (math.fabs(inst.distance) < distanceThreshold): inst.distance = 0 # Reset once movAvg has reached 10 measurements, if transmission is True then publish if (movAvg >= 10): movAvg = 0 # Publish pub2.publish(inst) rospy.loginfo("OD: Published at goToPoint "+str(maxArea)) #reset inst = motion_ctrl() avgAngle = 0 avgDistance = 0 #Draw two circles on top of the contour (cx,cy),radius = cv2.minEnclosingCircle(obj) center = (int(cx),int(cy)) radius = int(radius) cv2.circle(imgC,center,radius,(255,0,0),2) cv2.circle(imgC,center, 6,(255,0,0), -1) else: if (noDetections >= 12): rospy.loginfo("OD: No detections "+str(maxArea)) movAvg = 0 avgAngle = 0 avgDistance = 0 inst.distance = 0 inst.angle = 0 noDetections = 0 pub2.publish(inst) #TEMPP h,w,d = imgC.shape # Draw Rectangle cv2.rectangle(imgC, (cropW,cropH), (0,0), (0,255,0), 2) mask = numpy.zeros((h, w), numpy.uint8) cv2.drawContours(mask, contours, ccnt, (255,255,255), -1) res = cv2.bitwise_and(imgC, imgC, mask = mask) # Convert img to Ros and Publish image_message = bridge.cv2_to_imgmsg(res, "bgr8") pub.publish(image_message) # what to do when the service is initialized def serviceResponse(arg): global transmission global movAvg global avgAngle global avgDistance avgAngle = 0 avgDistance = 0 movAvg = 0 if (arg.data): rospy.loginfo("Detection started!") transmission = True else: rospy.loginfo("Detection stopped!") transmission = False # main code def object_manipulation(): global inst # init rospy.init_node('object_manipulation', anonymous=True) rospy.loginfo("OD: Init") #Subscribe to /camera/rgb/image_color rospy.Subscriber("camera/rgb/image_color", Image, callback) rospy.loginfo("OD: Subscribed to kinect"); #Subscribe to /toggleKinectPublish rospy.Subscriber('toggleKinectPublish', Bool, serviceResponse) #rospy.init_node('object_manipulation', anonymous=True) rospy.loginfo("OD: Started") r = rospy.Rate(10) #10Hz, added # Start the service #rospy.Service('toggleKinectPublish', kinectApproach, serviceResponse) rospy.loginfo("OD: Service enabled") while not rospy.is_shutdown(): #arr = "LOL" # LOLOLO # log # rospy.loginfo(arr) # publish # pub.publish(arr) r.sleep() # spin() simply keeps python from exiting until this node is stopped #rospy.spin() if __name__ == '__main__': try: object_manipulation() except rospy.ROSInterruptException: pass
Python
#!/usr/bin/env python import rospy from std_msgs.msg import Header from group6.msg import DetectedObject # create a dummy object list # add new objects or change values as you please def createObjectList(): temp = [] # OBJECT 1 obj = DetectedObject() #obj.header = rospy.Header() obj.object_id = "toy 1" obj.x = 1.5 obj.y = 0 obj.z = 0.03 temp.append(obj) # OBJECT 2 obj = DetectedObject() #obj.header = rospy.Header() obj.object_id = "toy 2" obj.x = 2.35 obj.y = 0.6 obj.z = 0.03 temp.append(obj) # OBJECT 3 obj = DetectedObject() #obj.header = rospy.Header() obj.object_id = "toy 3" obj.x = 2.3 obj.y = 2 obj.z = 0.03 temp.append(obj) # OBJECT 4 obj = DetectedObject() #obj.header = Header() obj.object_id = "toy 4" obj.x = 2.2 obj.y = 2.45 obj.z = 0.03 temp.append(obj) return temp
Python
#!/usr/bin/env python ## ## # required for ROS Python import rospy import message_filters from roslib import message # Standard messages from std_msgs.msg import Header from std_msgs.msg import String from std_msgs.msg import Float64 from std_msgs.msg import Bool from geometry_msgs.msg import Vector3 from group6.msg import DetectedObject from group6.msg import DetectedObjectArray from group6.srv import * #ConvertCoordinates from group6.msg import motion_ctrl # Image messages (for debugging and configuration) from sensor_msgs.msg import Image import sensor_msgs.point_cloud2 as pc2 from sensor_msgs.msg import PointCloud2 from sensor_msgs.msg import PointField from group6.msg import ImageCloud # for converting from ROS-Image to OpenCV-Image and vice versa from cv_bridge import CvBridge, CvBridgeError # Import Python's math libraty, advanced number thingie and openCV import math import numpy import cv2 # Publisher and stuff pub1 = rospy.Publisher('detected_object_image', Image, queue_size=5) pub2 = rospy.Publisher('detected_object_array', DetectedObjectArray, queue_size=5) pub3 = rospy.Publisher('goToPoint', motion_ctrl, queue_size=5) pub4 = rospy.Publisher('saveRobotPosition', Bool, queue_size=1) # Modes detection_mode = 0 # 0 = nothing, 1 = detection = False transmission = False # CONFIGURATION minZ = -0.05#0.01#-0.05 maxZ = 0.18#0.22#16 minArea = 920#1000#550 maxArea = 20000#13000#10000#13000 # ----------------------------------------------------------------- # ------------- PARAMETERS ---------------------------------------- distanceThreshold = 0.25+0.03#0.3#0.24#0.12 # when movement command is 0, 0.11 is untested it used to be 0.08 angleThreshold = 0.06 ##0.15 #0.035 (radians) when turning command is 0 angleCorrection = 0.06#0.07#0.07 #0 (radians) rotation offset. findEdges = 230 # Edge Detection parameter # ----------------------------------------------------------------- # Converter for cv->ros and ros->cv bridge = CvBridge() # Message inst = motion_ctrl() #inst = motion_ctrl() # Crop parameters, deprecated cropW = 480#640/2 # crop width, center is horizontal middle cropH = 480 #2 crop height, origin is bottom of image # Moving average, moving_avg = ( (moving_avg * measurements) + new_measurement ) / ( measurements + 1) movAvg = 0 avgAngle = 0 avgDistance = 0 toyW = 0 toyH = 0 # to keep track noDetections = 0 # THE FOLLOWING VALUES ARE ROUGH APPROXIMATIONS # Grabber Pos, distance to robot rotation point and pixel to meters grabberY = 480 #- (480 - 480) #temp dist2RobotOrigin = 1.3#1 #meters p2m = 0.0015625 # 1m/640pixels # The object file global var obj = [] arr = DetectedObjectArray() # container for depth and image data depthData = 0 imageData = 0 # Rect class for holding wall information class Rect: def __init__(self, x, y, w, h): self.x1 = x - 0.05 self.x2 = x + w + 2*0.05 self.y1 = y - 0.05 self.y2 = y + h + 2*0.05 room = Rect(-0.7, 1.82, 4.22, 3.2) rects = [] # the blocking box #rects.append( Rect(0.72,0.91,0.31,0.42) ) rects.append( Rect(0.88, 0.68, 0.49, 0.37)) # blue toy box #rects.append( Rect(1.21,0.22,0.27,0.38) ) # white toy box - ok #rects.append( Rect(0.79,3.21,0.38,0.27) ) # corner wall #rects.append( Rect(1.4,3.05,0.08,0.43) ) # white round thing rects.append( Rect(3.08,0.43,0.46,0.46) ) # large blocking wall rects.append( Rect(1.29,-1.46,0.05,1.46) ) # small blocking wall rects.append( Rect(1.3,-0.9,0.04,0.36) ) # left wall rects.append( Rect(-0.72, 1.82, 1.72, 1.0) ) rects.append( Rect( 1.00, 1.86, 1.0, 1.0) ) rects.append( Rect( 2.00, 1.93, 1.0, 1.0) ) rects.append( Rect( 3.00, 2.00, 1.0, 1.0) ) # far rects.append( Rect( 3.48, 1, 0.5, 1.5) ) rects.append( Rect( 3.48, -0.4, 0.5, 1.4) ) rects.append( Rect( 3.53, -1.5, 0.5, 1.1) ) # right rects.append( Rect( 3.00, -2.00, 1.0, 0.9 ) ) rects.append( Rect( 2.00, -2.00, 1.0, 0.75) ) rects.append( Rect( 1.00, -2.00, 1.0, 0.7) ) rects.append( Rect( 0, -2.00, 1.0, 0.65) ) rects.append( Rect( -1.00, -2.00, 1.0, 0.62) ) # close rects.append( Rect( -1.00, -2.00, 0.26, 1.00) ) rects.append( Rect( -1.00, -1.00, 0.38, 1.00) ) rects.append( Rect( -1.00, 0, 0.43, 2.5) ) # baskets rects.append( Rect( 0, -1.48, 0.40, 0.28) ) rects.append( Rect( 3.27, -0.8, 0.28, 0.40) ) # Create black image mask from the given hsv image def createBlackMask(image): imageC = image.copy() COLOR_MIN = numpy.array([0, 0, 0], numpy.uint8) # 50 50 COLOR_MAX = numpy.array([179, 255, 50], numpy.uint8) # 255 #Filter color countours frame_threshed = cv2.inRange(imageC, COLOR_MIN, COLOR_MAX) # Dilation kernel, 3x3 kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to close frame = cv2.dilate(frame_threshed, kernel, iterations = 6) return frame # Create yellow image mask from the given hsv image def createYellowMask(image): imageC = image.copy() COLOR_MIN = numpy.array([15, 150, 51], numpy.uint8) # 50 50 COLOR_MAX = numpy.array([40, 255, 253], numpy.uint8) # 255 #Filter color countours frame_threshed = cv2.inRange(imageC, COLOR_MIN, COLOR_MAX) # Dilation kernel, 3x3 kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to close frame = cv2.dilate(frame_threshed, kernel, iterations = 6) return frame # COLOR BASED DETECTION from the hsv image def filterColor(image, lower, upper): imageC = image.copy() COLOR_MIN = numpy.array([lower, 51, 51], numpy.uint8) #41 41 50 50 COLOR_MAX = numpy.array([upper,255,255], numpy.uint8) # 255 #Filter color countours frame_threshed = cv2.inRange(imageC, COLOR_MIN, COLOR_MAX) # Dilation kernel, 3x3 kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to frame = cv2.dilate(frame_threshed, kernel, iterations = 6) return frame # Reset detection and other parameters, used when switching between modes def resetDetection(): global movAvg, avgAngle, avgDistance, transmission, detection, detection_mode, noDetections avgAngle = 0 avgDistance = 0 movAvg = 0 noDetections = 0 if (transmission == True): detection_mode = -1 elif (detection == True): detection_mode = 1 else: detection_mode = 0 # service 1, object detection listener def serviceResponse1(arg): global detection, transmission if (arg.data): rospy.loginfo("Detection started!") detection = True transmission = False else: rospy.loginfo("Detection stopped!") detection = False resetDetection() # service 2, approach listener def serviceResponse2(arg): global transmission, detection if (arg.data): rospy.loginfo("Detection started!") transmission = True detection = False else: rospy.loginfo("Detection stopped!") transmission = False resetDetection() # is point rect, this checks if a coordinate is inside a rectangle def ipr(rects, x, y): for rect in rects: if (rect.x1 < x): if (rect.y1 < y): if (rect.x2 > x): if (rect.y2 > y): return True return False # this one idenfties the object big or small, not great success rate def identObject(wo, ho, ddx, ddy): size = wo*ho dd = ddy + ho/2.0 a = size * float(1.0 - (dd/600.0)*0.25)#size * ddz if (a > 4600): return "big" elif (a > 750): return "small" else: return "unknown" # This is a simple callback about the subscription to the image topic #def callback(colorData, depthData): def detect(): #rospy.loginfo("data received") global pub1, pub2, pub3, plane, detection, minZ, maxZ, minArea, maxArea, room, rects, arr, pub4, colorData, depthData global distanceThreshold, angleThreshold, angleCorrection, noDetections, movAvg, avgAngle, avgDistance, inst, obj, bridge, findEdges, cropH, cropW, grabberY, dist2RobotOrigin, p2m, transmission, toyW, toyW if (detection_mode != 0): if (depthData and colorData): # if both data ok rospy.loginfo("detecting...") time = rospy.get_time()#rospy.get_rostime()colorData, depthData i = colorData#.copy() #depthData = depthData#.copy() d = depthData # movAvg = movAvg + 1 obj = [] # Convert from sensor_msgs/Image to OpenCV format color = bridge.imgmsg_to_cv2(i, "bgr8") final = color.copy() # get the dimension #h,w,d = res.shape h = d.height w = d.width # Convert the image to gray gray = cv2.cvtColor(color, cv2.COLOR_BGR2GRAY) gret,thresh1 = cv2.threshold(gray,240,255,cv2.THRESH_BINARY) #230 # Dilation kernel, 3x3 kernel = numpy.ones((3,3),'uint8') # Dilate ( = make the edge detection lines larger to close caps and form actual shapes dilated = cv2.dilate(thresh1, kernel, iterations = 1) color = cv2.inpaint(color, dilated, 3, cv2.INPAINT_NS) # Convert the image to HSV hsv = cv2.cvtColor(color, cv2.COLOR_BGR2HSV) # Blur hsv = cv2.medianBlur(hsv, 5) hsv = cv2.medianBlur(hsv, 5) #hsv = cv2.medianBlur(hsv, 5) # Create Masks, upper and lower values in hsv color space black_mask = createBlackMask(hsv) blue_mask = filterColor(hsv, 85, 135) yellow_mask = createYellowMask(hsv)#filterColor(hsv, 15, 40) green_mask = filterColor(hsv, 45, 80) #48 - 70 red_mask1 = filterColor(hsv, 167, 179) red_mask2 = filterColor(hsv, 0, 13) red_mask = numpy.bitwise_or(red_mask1, red_mask2) # Combine them total_mask = numpy.bitwise_or( black_mask,numpy.bitwise_or(numpy.bitwise_or(numpy.bitwise_or(blue_mask, yellow_mask), green_mask), red_mask)) # find edges edges = cv2.Canny(gray, findEdges*1, findEdges*2) dilated_edges = cv2.dilate(edges, kernel, iterations = 6) # fill gaps dilated_edge_mask = dilated_edges.copy() contour1,hier1 = cv2.findContours(dilated_edge_mask,cv2.RETR_CCOMP,cv2.CHAIN_APPROX_SIMPLE) for cnt in contour1: cv2.drawContours(dilated_edge_mask,[cnt],0,255,-1) # fill gaps dilated_total_mask = total_mask.copy() contour1,hier1 = cv2.findContours(total_mask,cv2.RETR_CCOMP,cv2.CHAIN_APPROX_SIMPLE) for cnt in contour1: cv2.drawContours(dilated_total_mask,[cnt],0,255,-1) # Combine total_mask and edge mask total_mask = numpy.bitwise_and(dilated_total_mask, dilated_edge_mask)#numpy.bitwise_or(total_mask, dilated_edges) #cv2.rectangle(total_mask, (0, 305), (640, 480), 0, # Dilate ( = make the edge detection lines kernel = numpy.ones((3,3),'uint8') dilated_mask = cv2.erode(total_mask, kernel, iterations = 0) contours, hierarchy = cv2.findContours(dilated_mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) filled_mask = dilated_mask.copy() # Draw blocking rectangles ww = 320 cv2.rectangle(filled_mask,(320-(ww/2)+10, 417),(320-(ww/2)+ww+20, 480), 0,-1) cv2.rectangle(filled_mask,(0, 310),(320-(ww/2)+107, 480), 0,-1) cv2.rectangle(filled_mask,(320-(ww/2)+ww-73, 310),(640, 480), 0,-1) cv2.rectangle(final,(320-(ww/2)+10, 420),(320-(ww/2)+ww+20, 480), (0,0,0),-1) cv2.rectangle(final,(0, 310),(320-(ww/2)+107, 480), (0,0,0),-1) cv2.rectangle(final,(320-(ww/2)+ww-73, 310),(640, 480), (0,0,0),-1) # Find the Contours again #contours, hierarchy = cv2.findContours(filled_mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) contours, hierarchy = cv2.findContours(filled_mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) # Find the larger contours = HOPEFULLY THE OBJECTs # olist = [] for cnt in contours: area1 = cv2.contourArea(cnt) #print str(area) rx,ry,wi,he = cv2.boundingRect(cnt) area2 = wi*he ratiow = wi/he ratioh = he/wi cv2.rectangle(final, (rx,ry), (rx+wi, ry+he), (255, 255, 0), 2) # check for criteria if (area2 > minArea and area2 < maxArea and ratiow <= 2.0 and ratioh <= 2.0 and (area1/area2) > 0.30 and wi > 20 and he > 20 and wi < 210 and he < 210 ): #0.35 olist.append(cnt) #if (ry+he < 100 and area2 > 5500): # rospy.loginfo("Object too large at that distance!") #else: # olist.append(cnt) # analyze and calculate those detections not yet discarded objlist = [] flist = [] for i in olist: m = numpy.zeros(color.shape, numpy.uint8) cv2.drawContours(m,[i],0,255,-1) pixelpoints = numpy.transpose(numpy.nonzero(m)) #mean_val = cv2.mean(hsv, mask = m) x = 0 y = 0 z = 0 cc = 0 nans = 0 for c in pixelpoints: pc = read_depth(c[1],c[0], depthData) if (pc != -1): if (math.isnan(pc[0]) or math.isnan(pc[1]) or math.isnan(pc[2])): nans = nans + 1 #rospy.loginfo("NAN value encountered in pointcloud") else: x = x + pc[0] y = y + pc[1] z = z + pc[2] cc = cc + 1 # if there were some calculations take avg and convert them if (cc != 0): x = x/cc y = y/cc z = z/cc# + 0.03 rospy.loginfo("x: "+str(x)+" y: "+str(y)+" z: "+str(z)) rospy.wait_for_service('convertCoordinates') try: coordinates = rospy.ServiceProxy('convertCoordinates',convertCoordinates) respl = coordinates(Vector3(float(x), float(y), float(z)))#coordinates(Float64(x), Float64(y), Float64(z)) #rospy.loginfo(respl.point) x = float(respl.point.x) y = float(respl.point.y) z = float(respl.point.z) rx,ry,wi,he = cv2.boundingRect(i) cv2.rectangle(final,(rx,ry),(rx+wi,ry+he),(0,0,255),2) rospy.loginfo("area: "+str(cv2.contourArea(i))+" x: "+str(x)+" y: "+str(y)+" z: "+str(z)) # add object if not insize a box and too high or low if (ipr(rects, x, y) == False and z > minZ and z < maxZ): #if (z > minZ and z < maxZ): flist.append(i) rx,ry,wi,he = cv2.boundingRect(i) cv2.rectangle(final,(rx,ry),(rx+wi,ry+he),(0,255,0),2) dobj = DetectedObject() dobj.object_id = "small"#identObject(wi,he, rx, ry)#math.sqrt(x*x + y*y + z*z)) dobj.x = x dobj.y = y dobj.z = z objlist.append(dobj) else: rospy.loginfo("Detection is a wall/obstacle") #if (ipr(rects, x, y) == False): #rospy.loginfo("OBJECT INSIDE A OBSTACLE") except rospy.ServiceException, e: rospy.loginfo('Service call failed: %s'%e) #print "x: "+str(x)+" y: "+str(y)+" z: "+str(z) else: rospy.loginfo('DEPTH MODE FAILED') #rospy.loginfo(str(detection_mode)) # 1 means object detection if (detection_mode == 1): if (movAvg >= 4): # send if over 4 consecutive movAvg = 0 # create header arr.header = rospy.Header() #header.frame_id = frame arr.header.stamp = rospy.get_rostime() # publish pub2.publish(arr) # create a new DetectedObjectArray arr = DetectedObjectArray() else: # create a list of toys that have a fixed pre-known location, see fixedToyLocations.py for modifications arr.objects = arr.objects + objlist # the size of the array arr.size = len(arr.objects) # -1 means approach elif (detection_mode == -1): if (movAvg >= 4): movAvg = 0 avgAngle = 0 avgDistance = 0 noDetections = 0 if (inst.distance < 0): inst.distance = 0 pub3.publish(inst) else: toyH = 0 toyW = 0 if (len(flist) > 0): bcnt = []#0 smd = 1000 sme = 0 # find suitable detections for i in flist: M = cv2.moments(i) objX = (M['m10']/M['m00']) objY = (M['m01']/M['m00']) deltaObjX = ( objX - 320 ) deltaObjY = ( objY - grabberY ) if ( math.fabs(deltaObjX) < 400 and (objY > 75 ) ): if ( math.fabs(deltaObjX) < smd ): if (objY > sme): bcnt = i smd = math.fabs(deltaObjX) sme = objY#rospy.loginfo("plop") if ( len(bcnt) == 0): noDetections = noDetections + 1 toyH = 0 toyW = 0 else: inst.status = 1 noDetections = 0 #M = cv2.moments(bcnt) xa, ya, wa, ha = cv2.boundingRect(bcnt) objX = xa+(wa/2)#(M['m10']/M['m00']) objY = ya#(M['m01']/M['m00']) deltaObjX = ( objX - 320 ) deltaObjY = ( objY - grabberY ) deltaAngle = (math.atan2(dist2RobotOrigin + (deltaObjY * p2m), deltaObjX * p2m) - 0.5*math.pi) + angleCorrection # Calculate the moving average avgAngle = (avgAngle * movAvg + deltaAngle) / (movAvg + 1) avgDistance = (avgDistance * movAvg + deltaObjY) / (movAvg + 1) # Compile the message inst.angle = avgAngle inst.distance = (avgDistance * -p2m) #- 0.18 #16 # threshold if (math.fabs(deltaObjX) < 17):#(math.fabs(inst.angle) <= angleThreshold): inst.angle = 0 if (math.fabs(inst.angle) < angleThreshold): inst.angle = 0 # threshold if (math.fabs(inst.distance) < distanceThreshold): inst.distance = 0 #xa,ya,wa,ha = cv2.boundingRect(bcnt) cv2.rectangle(final,(xa,ya),(xa+ha,ya+ha),(255,0,0),2) toyW = wa toyH = ha else: noDetections = noDetections + 1 toyH = 0 toyW = 0 if (noDetections > 3): noDetections = 0 if (movAvg < 4): inst.status = 0 else: rospy.loginfo("Detection offline") #mask = numpy.zeros((h, w), numpy.uint8) image_message = bridge.cv2_to_imgmsg(final, "bgr8") # Publish the image pub1.publish(image_message) rospy.loginfo("detection took "+str((rospy.get_time()-time))+" seconds") # getColor data def getColorImage(data): global colorData colorData = data # read the depth data def read_depth(width, height, data): #read function if (height >= data.height) or (width >= data.width): return -1 data_out = pc2.read_points(data, field_names=None, skip_nans=False, uvs=[[width, height]]) int_data = next(data_out) #rospy.loginfo("int_data"+str(int_data)) return int_data # get the depth data def depth_callback(data): global depthData depthData = data #rospy.loginfo("PointCloud received from /filtered_pointcloud") # get the object ratio, not used but still implemented def object_ratio(req): if (object_detection == -1): return objectDimResponse( Vector3(float(toyW), float(toyH), float(666.6))) return objectDimResponse( Vector3(float(-1), float(-1), float(666.6))) # main code def object_detection(): # init rospy.init_node('object_detection', anonymous=True) rospy.loginfo("Starting object detection") # rospy.Service('object_dimensions', objectDim, object_ratio) # Subscribers rospy.Subscriber('camera/rgb/image_rect_color', Image, getColorImage) rospy.Subscriber('camera/depth_registered/points', PointCloud2, depth_callback) #rospy.Subscriber('image_cloud', ImageCloud, detect) # rospy.Subscriber('triggerDetect', Bool, serviceResponse1) rospy.Subscriber('toggleKinectPublish', Bool, serviceResponse2) # r = rospy.Rate(10) #10Hz, added # Start the service #rospy.loginfo("OD: Service enabled") while not rospy.is_shutdown(): #arr = "LOL" # LOLOLO # log detect() # publish # pub.publish(arr) r.sleep() # spin() simply keeps python from exiting until this node is stopped #rospy.spin() if __name__ == '__main__': try: object_detection() except rospy.ROSInterruptException: pass
Python
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # * Neither the name of Willow Garage, Inc. nor the names of its # contributors may be used to endorse or promote products derived # from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. '''This file generates shell code for the setup.SHELL scripts to set environment variables''' from __future__ import print_function import argparse import copy import errno import os import platform import sys CATKIN_MARKER_FILE = '.catkin' system = platform.system() IS_DARWIN = (system == 'Darwin') IS_WINDOWS = (system == 'Windows') # subfolder of workspace prepended to CMAKE_PREFIX_PATH ENV_VAR_SUBFOLDERS = { 'CMAKE_PREFIX_PATH': '', 'CPATH': 'include', 'LD_LIBRARY_PATH' if not IS_DARWIN else 'DYLD_LIBRARY_PATH': 'lib', 'PATH': 'bin', 'PKG_CONFIG_PATH': 'lib/pkgconfig', 'PYTHONPATH': 'lib/python2.7/dist-packages', } def rollback_env_variables(environ, env_var_subfolders): ''' Generate shell code to reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH. This does not cover modifications performed by environment hooks. ''' lines = [] unmodified_environ = copy.copy(environ) for key in sorted(env_var_subfolders.keys()): subfolder = env_var_subfolders[key] value = _rollback_env_variable(unmodified_environ, key, subfolder) if value is not None: environ[key] = value lines.append(assignment(key, value)) if lines: lines.insert(0, comment('reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH')) return lines def _rollback_env_variable(environ, name, subfolder): ''' For each catkin workspace in CMAKE_PREFIX_PATH remove the first entry from env[NAME] matching workspace + subfolder. :param subfolder: str '' or subfoldername that may start with '/' :returns: the updated value of the environment variable. ''' value = environ[name] if name in environ else '' env_paths = [path for path in value.split(os.pathsep) if path] value_modified = False if subfolder: if subfolder.startswith(os.path.sep) or (os.path.altsep and subfolder.startswith(os.path.altsep)): subfolder = subfolder[1:] if subfolder.endswith(os.path.sep) or (os.path.altsep and subfolder.endswith(os.path.altsep)): subfolder = subfolder[:-1] for ws_path in _get_workspaces(environ, include_fuerte=True, include_non_existing=True): path_to_find = os.path.join(ws_path, subfolder) if subfolder else ws_path path_to_remove = None for env_path in env_paths: env_path_clean = env_path[:-1] if env_path and env_path[-1] in [os.path.sep, os.path.altsep] else env_path if env_path_clean == path_to_find: path_to_remove = env_path break if path_to_remove: env_paths.remove(path_to_remove) value_modified = True new_value = os.pathsep.join(env_paths) return new_value if value_modified else None def _get_workspaces(environ, include_fuerte=False, include_non_existing=False): ''' Based on CMAKE_PREFIX_PATH return all catkin workspaces. :param include_fuerte: The flag if paths starting with '/opt/ros/fuerte' should be considered workspaces, ``bool`` ''' # get all cmake prefix paths env_name = 'CMAKE_PREFIX_PATH' value = environ[env_name] if env_name in environ else '' paths = [path for path in value.split(os.pathsep) if path] # remove non-workspace paths workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE)) or (include_fuerte and path.startswith('/opt/ros/fuerte')) or (include_non_existing and not os.path.exists(path))] return workspaces def prepend_env_variables(environ, env_var_subfolders, workspaces): ''' Generate shell code to prepend environment variables for the all workspaces. ''' lines = [] lines.append(comment('prepend folders of workspaces to environment variables')) paths = [path for path in workspaces.split(os.pathsep) if path] prefix = _prefix_env_variable(environ, 'CMAKE_PREFIX_PATH', paths, '') lines.append(prepend(environ, 'CMAKE_PREFIX_PATH', prefix)) for key in sorted([key for key in env_var_subfolders.keys() if key != 'CMAKE_PREFIX_PATH']): subfolder = env_var_subfolders[key] prefix = _prefix_env_variable(environ, key, paths, subfolder) lines.append(prepend(environ, key, prefix)) return lines def _prefix_env_variable(environ, name, paths, subfolder): ''' Return the prefix to prepend to the environment variable NAME, adding any path in NEW_PATHS_STR without creating duplicate or empty items. ''' value = environ[name] if name in environ else '' environ_paths = [path for path in value.split(os.pathsep) if path] checked_paths = [] for path in paths: if subfolder: path = os.path.join(path, subfolder) # exclude any path already in env and any path we already added if path not in environ_paths and path not in checked_paths: checked_paths.append(path) prefix_str = os.pathsep.join(checked_paths) if prefix_str != '' and environ_paths: prefix_str += os.pathsep return prefix_str def assignment(key, value): if not IS_WINDOWS: return 'export %s="%s"' % (key, value) else: return 'set %s=%s' % (key, value) def comment(msg): if not IS_WINDOWS: return '# %s' % msg else: return 'REM %s' % msg def prepend(environ, key, prefix): if key not in environ or not environ[key]: return assignment(key, prefix) if not IS_WINDOWS: return 'export %s="%s$%s"' % (key, prefix, key) else: return 'set %s=%s%%%s%%' % (key, prefix, key) def find_env_hooks(environ, cmake_prefix_path): ''' Generate shell code with found environment hooks for the all workspaces. ''' lines = [] lines.append(comment('found environment hooks in workspaces')) generic_env_hooks = [] generic_env_hooks_workspace = [] specific_env_hooks = [] specific_env_hooks_workspace = [] generic_env_hooks_by_filename = {} specific_env_hooks_by_filename = {} generic_env_hook_ext = 'bat' if IS_WINDOWS else 'sh' specific_env_hook_ext = environ['CATKIN_SHELL'] if not IS_WINDOWS and 'CATKIN_SHELL' in environ and environ['CATKIN_SHELL'] else None # remove non-workspace paths workspaces = [path for path in cmake_prefix_path.split(os.pathsep) if path and os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))] for workspace in reversed(workspaces): env_hook_dir = os.path.join(workspace, 'etc', 'catkin', 'profile.d') if os.path.isdir(env_hook_dir): for filename in sorted(os.listdir(env_hook_dir)): if filename.endswith('.%s' % generic_env_hook_ext): # remove previous env hook with same name if present if filename in generic_env_hooks_by_filename: i = generic_env_hooks.index(generic_env_hooks_by_filename[filename]) generic_env_hooks.pop(i) generic_env_hooks_workspace.pop(i) # append env hook generic_env_hooks.append(os.path.join(env_hook_dir, filename)) generic_env_hooks_workspace.append(workspace) generic_env_hooks_by_filename[filename] = generic_env_hooks[-1] elif specific_env_hook_ext is not None and filename.endswith('.%s' % specific_env_hook_ext): # remove previous env hook with same name if present if filename in specific_env_hooks_by_filename: i = specific_env_hooks.index(specific_env_hooks_by_filename[filename]) specific_env_hooks.pop(i) specific_env_hooks_workspace.pop(i) # append env hook specific_env_hooks.append(os.path.join(env_hook_dir, filename)) specific_env_hooks_workspace.append(workspace) specific_env_hooks_by_filename[filename] = specific_env_hooks[-1] env_hooks = generic_env_hooks + specific_env_hooks env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace count = len(env_hooks) lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_COUNT', count)) for i in range(count): lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d' % i, env_hooks[i])) lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE' % i, env_hooks_workspace[i])) return lines def _parse_arguments(args=None): parser = argparse.ArgumentParser(description='Generates code blocks for the setup.SHELL script.') parser.add_argument('--extend', action='store_true', help='Skip unsetting previous environment variables to extend context') return parser.parse_known_args(args=args)[0] if __name__ == '__main__': try: try: args = _parse_arguments() except Exception as e: print(e, file=sys.stderr) sys.exit(1) # environment at generation time CMAKE_PREFIX_PATH = '/home/pioneer/navg1/devel;/home/pioneer/group41/devel;/home/pioneer/fsr_catkin_workspace/devel;/opt/ros/hydro'.split(';') # prepend current workspace if not already part of CPP base_path = os.path.dirname(__file__) if base_path not in CMAKE_PREFIX_PATH: CMAKE_PREFIX_PATH.insert(0, base_path) CMAKE_PREFIX_PATH = os.pathsep.join(CMAKE_PREFIX_PATH) environ = dict(os.environ) lines = [] if not args.extend: lines += rollback_env_variables(environ, ENV_VAR_SUBFOLDERS) lines += prepend_env_variables(environ, ENV_VAR_SUBFOLDERS, CMAKE_PREFIX_PATH) lines += find_env_hooks(environ, CMAKE_PREFIX_PATH) print('\n'.join(lines)) # need to explicitly flush the output sys.stdout.flush() except IOError as e: # and catch potantial "broken pipe" if stdout is not writable # which can happen when piping the output to a file but the disk is full if e.errno == errno.EPIPE: print(e, file=sys.stderr) sys.exit(2) raise sys.exit(0)
Python
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # * Neither the name of Willow Garage, Inc. nor the names of its # contributors may be used to endorse or promote products derived # from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. '''This file generates shell code for the setup.SHELL scripts to set environment variables''' from __future__ import print_function import argparse import copy import errno import os import platform import sys CATKIN_MARKER_FILE = '.catkin' system = platform.system() IS_DARWIN = (system == 'Darwin') IS_WINDOWS = (system == 'Windows') # subfolder of workspace prepended to CMAKE_PREFIX_PATH ENV_VAR_SUBFOLDERS = { 'CMAKE_PREFIX_PATH': '', 'CPATH': 'include', 'LD_LIBRARY_PATH' if not IS_DARWIN else 'DYLD_LIBRARY_PATH': 'lib', 'PATH': 'bin', 'PKG_CONFIG_PATH': 'lib/pkgconfig', 'PYTHONPATH': 'lib/python2.7/dist-packages', } def rollback_env_variables(environ, env_var_subfolders): ''' Generate shell code to reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH. This does not cover modifications performed by environment hooks. ''' lines = [] unmodified_environ = copy.copy(environ) for key in sorted(env_var_subfolders.keys()): subfolder = env_var_subfolders[key] value = _rollback_env_variable(unmodified_environ, key, subfolder) if value is not None: environ[key] = value lines.append(assignment(key, value)) if lines: lines.insert(0, comment('reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH')) return lines def _rollback_env_variable(environ, name, subfolder): ''' For each catkin workspace in CMAKE_PREFIX_PATH remove the first entry from env[NAME] matching workspace + subfolder. :param subfolder: str '' or subfoldername that may start with '/' :returns: the updated value of the environment variable. ''' value = environ[name] if name in environ else '' env_paths = [path for path in value.split(os.pathsep) if path] value_modified = False if subfolder: if subfolder.startswith(os.path.sep) or (os.path.altsep and subfolder.startswith(os.path.altsep)): subfolder = subfolder[1:] if subfolder.endswith(os.path.sep) or (os.path.altsep and subfolder.endswith(os.path.altsep)): subfolder = subfolder[:-1] for ws_path in _get_workspaces(environ, include_fuerte=True, include_non_existing=True): path_to_find = os.path.join(ws_path, subfolder) if subfolder else ws_path path_to_remove = None for env_path in env_paths: env_path_clean = env_path[:-1] if env_path and env_path[-1] in [os.path.sep, os.path.altsep] else env_path if env_path_clean == path_to_find: path_to_remove = env_path break if path_to_remove: env_paths.remove(path_to_remove) value_modified = True new_value = os.pathsep.join(env_paths) return new_value if value_modified else None def _get_workspaces(environ, include_fuerte=False, include_non_existing=False): ''' Based on CMAKE_PREFIX_PATH return all catkin workspaces. :param include_fuerte: The flag if paths starting with '/opt/ros/fuerte' should be considered workspaces, ``bool`` ''' # get all cmake prefix paths env_name = 'CMAKE_PREFIX_PATH' value = environ[env_name] if env_name in environ else '' paths = [path for path in value.split(os.pathsep) if path] # remove non-workspace paths workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE)) or (include_fuerte and path.startswith('/opt/ros/fuerte')) or (include_non_existing and not os.path.exists(path))] return workspaces def prepend_env_variables(environ, env_var_subfolders, workspaces): ''' Generate shell code to prepend environment variables for the all workspaces. ''' lines = [] lines.append(comment('prepend folders of workspaces to environment variables')) paths = [path for path in workspaces.split(os.pathsep) if path] prefix = _prefix_env_variable(environ, 'CMAKE_PREFIX_PATH', paths, '') lines.append(prepend(environ, 'CMAKE_PREFIX_PATH', prefix)) for key in sorted([key for key in env_var_subfolders.keys() if key != 'CMAKE_PREFIX_PATH']): subfolder = env_var_subfolders[key] prefix = _prefix_env_variable(environ, key, paths, subfolder) lines.append(prepend(environ, key, prefix)) return lines def _prefix_env_variable(environ, name, paths, subfolder): ''' Return the prefix to prepend to the environment variable NAME, adding any path in NEW_PATHS_STR without creating duplicate or empty items. ''' value = environ[name] if name in environ else '' environ_paths = [path for path in value.split(os.pathsep) if path] checked_paths = [] for path in paths: if subfolder: path = os.path.join(path, subfolder) # exclude any path already in env and any path we already added if path not in environ_paths and path not in checked_paths: checked_paths.append(path) prefix_str = os.pathsep.join(checked_paths) if prefix_str != '' and environ_paths: prefix_str += os.pathsep return prefix_str def assignment(key, value): if not IS_WINDOWS: return 'export %s="%s"' % (key, value) else: return 'set %s=%s' % (key, value) def comment(msg): if not IS_WINDOWS: return '# %s' % msg else: return 'REM %s' % msg def prepend(environ, key, prefix): if key not in environ or not environ[key]: return assignment(key, prefix) if not IS_WINDOWS: return 'export %s="%s$%s"' % (key, prefix, key) else: return 'set %s=%s%%%s%%' % (key, prefix, key) def find_env_hooks(environ, cmake_prefix_path): ''' Generate shell code with found environment hooks for the all workspaces. ''' lines = [] lines.append(comment('found environment hooks in workspaces')) generic_env_hooks = [] generic_env_hooks_workspace = [] specific_env_hooks = [] specific_env_hooks_workspace = [] generic_env_hooks_by_filename = {} specific_env_hooks_by_filename = {} generic_env_hook_ext = 'bat' if IS_WINDOWS else 'sh' specific_env_hook_ext = environ['CATKIN_SHELL'] if not IS_WINDOWS and 'CATKIN_SHELL' in environ and environ['CATKIN_SHELL'] else None # remove non-workspace paths workspaces = [path for path in cmake_prefix_path.split(os.pathsep) if path and os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))] for workspace in reversed(workspaces): env_hook_dir = os.path.join(workspace, 'etc', 'catkin', 'profile.d') if os.path.isdir(env_hook_dir): for filename in sorted(os.listdir(env_hook_dir)): if filename.endswith('.%s' % generic_env_hook_ext): # remove previous env hook with same name if present if filename in generic_env_hooks_by_filename: i = generic_env_hooks.index(generic_env_hooks_by_filename[filename]) generic_env_hooks.pop(i) generic_env_hooks_workspace.pop(i) # append env hook generic_env_hooks.append(os.path.join(env_hook_dir, filename)) generic_env_hooks_workspace.append(workspace) generic_env_hooks_by_filename[filename] = generic_env_hooks[-1] elif specific_env_hook_ext is not None and filename.endswith('.%s' % specific_env_hook_ext): # remove previous env hook with same name if present if filename in specific_env_hooks_by_filename: i = specific_env_hooks.index(specific_env_hooks_by_filename[filename]) specific_env_hooks.pop(i) specific_env_hooks_workspace.pop(i) # append env hook specific_env_hooks.append(os.path.join(env_hook_dir, filename)) specific_env_hooks_workspace.append(workspace) specific_env_hooks_by_filename[filename] = specific_env_hooks[-1] env_hooks = generic_env_hooks + specific_env_hooks env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace count = len(env_hooks) lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_COUNT', count)) for i in range(count): lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d' % i, env_hooks[i])) lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE' % i, env_hooks_workspace[i])) return lines def _parse_arguments(args=None): parser = argparse.ArgumentParser(description='Generates code blocks for the setup.SHELL script.') parser.add_argument('--extend', action='store_true', help='Skip unsetting previous environment variables to extend context') return parser.parse_known_args(args=args)[0] if __name__ == '__main__': try: try: args = _parse_arguments() except Exception as e: print(e, file=sys.stderr) sys.exit(1) # environment at generation time CMAKE_PREFIX_PATH = '/home/pioneer/navg1/devel;/home/pioneer/group41/devel;/home/pioneer/fsr_catkin_workspace/devel;/opt/ros/hydro'.split(';') # prepend current workspace if not already part of CPP base_path = os.path.dirname(__file__) if base_path not in CMAKE_PREFIX_PATH: CMAKE_PREFIX_PATH.insert(0, base_path) CMAKE_PREFIX_PATH = os.pathsep.join(CMAKE_PREFIX_PATH) environ = dict(os.environ) lines = [] if not args.extend: lines += rollback_env_variables(environ, ENV_VAR_SUBFOLDERS) lines += prepend_env_variables(environ, ENV_VAR_SUBFOLDERS, CMAKE_PREFIX_PATH) lines += find_env_hooks(environ, CMAKE_PREFIX_PATH) print('\n'.join(lines)) # need to explicitly flush the output sys.stdout.flush() except IOError as e: # and catch potantial "broken pipe" if stdout is not writable # which can happen when piping the output to a file but the disk is full if e.errno == errno.EPIPE: print(e, file=sys.stderr) sys.exit(2) raise sys.exit(0)
Python
''' Created on 19 Feb 2012 @author: gav.aiken ''' import logging import cgi from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app from scrape import scrapeGames class MainPage(webapp.RequestHandler): def get(self): self.response.out.write(""" <html> <head> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-29328978-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body> <center> <h3>Enter EA, XBox Live or PSN Id to see last 20 games</h3> <form action="/" method="post"> Id: <input type="text" name="id" value="AikenBac0n" /> <input type="submit" value="Show History"> </form> </center> </body> </html>""") def post(self): input = cgi.escape(self.request.get('id')) games = scrapeGames(input) if len(games) > 0: rows = '' for game in games: game.put() rows += '<tr><td>%s</td><td>%s</td><td>(%s)</td><td>%d</td><td></td><td>%d</td><td>%s</td><td>(%s)</td></tr>\n' % \ ( game.result, game.playerId, game.playerTeam, game.playerScore, game.opponentScore, game.opponentId, game.opponentTeam ) table = """<table border="0" c> <tr> <th>Result</th> <th>Player</th> <th>(PlayerTeam)</th> <th>Scored</th> <th></th> <th>Conceded</th> <th>Opponent</th> <th>(OpponentTeam)</th> </tr> """ + rows + """ </table>""" error = '' else: table = '' error = '<b>Sorry - No records found for ' + input + ' - this can be a bad ID or if EA think we\'re pummeling them </b>' self.response.out.write(""" <html> <head> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-29328978-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body> <center> <h3>Welcome """ + input + """</h3> <form action="/" method="post"> Id: <input type="text" name="id" value=""" + input + """ /> <input type="submit" value="Show History" alt="Can take up to 1 minute"> </form> """ + table + """ """ + error + """ </center> </body> </html>""") application = webapp.WSGIApplication([('/', MainPage)], debug=True) def main(): logging.getLogger().setLevel(logging.DEBUG) logging.basicConfig(format='%(asctime)s %(levelname)s %(message)s') run_wsgi_app(application) if __name__ == "__main__": main()
Python
''' Created on 19 Feb 2012 @author: gav.aiken ''' import logging import traceback import sys import re import HTMLParser import urllib from google.appengine.api import urlfetch from game import CreateGame headPlayerTeam = '<img class="float-right"\s*\ src="http://cdn.easf.www.easports.com/soccer/static/images/common/crest/fifa/large/\d+.png"\s*\ width="\d+" height="\d+" alt="[^"]+" title="([^"]+)" />' headOpponentTeam = '<img class="float-left"\s*\ src="http://cdn.easf.www.easports.com/soccer/static/images/common/crest/fifa/large/\d+.png"\s*\ width="\d+" height="\d+" alt="[^"]+" title="([^"]+)" />' headScoredRegex = '<span class="sprite float-right score-\d+ separator-left">\s*(\d+)</span>' headConcededRegex = '<span class="sprite float-left score-\d+ separator-right">\s*(\d+)</span>' tailResultsRegex = '<td rowspan="1" colspan="1">\s*\ <div class="float-left score-\d+-small">(\d+)</div>\s*\ <div class="float-left score-vs-small"></div>\s*\ <div class="float-left score-\d+-small">(\d+)</div>' tailPlayerTeam = '<td class="rightBorder" rowspan="1" colspan="1">\s*\ <img class="crest" src="[^"]+" width="\d+" height="\d+" alt="[^"]+" title="([^"]+)" />' tailOpponentTeam = '<td rowspan="1" colspan="1">\s*\ <img class="crest" src="[^"]+" width="\d+" height="\d+" alt="[^"]+" title="([^"]+)" />' def safeScrapeGames(textId): try: return scrapeGames(textId) except: logging.info('-'*60) logging.info('Exception in user code') logging.info('-'*60) return -1 def openProfile(url): logging.info ('Opening... ' + url) res = urlfetch.fetch(url=url, deadline=60) if res.final_url is not None and res.final_url.find('player-profile') > 0: return res.final_url.split('/')[-1] else: return -1 def scrapeGames(textId): logging.info('Scraping games for: ' + textId) textIdEncoded = urllib.quote(textId) try: games = scrapeGamesAtUrl(textId, 'http://www.ea.com/soccer/profile/statistics/cem_ea_id/' + textIdEncoded) if len(games) == 0: games = scrapeGamesAtUrl(textId, 'http://www.ea.com/soccer/profile/statistics/PS3/' + textIdEncoded) if len(games) == 0: games = scrapeGamesAtUrl(textId, 'http://www.ea.com/soccer/profile/statistics/360/' + textIdEncoded) except Exception, err: logging.exception('Failed to scrape games for: %s, Exception: %s', textId, str(err)) games = [] return games def scrapeGamesAtUrl(textId, profileUrl): try: intId = openProfile(profileUrl) if (intId < 0): logging.info ("Could not find Player '%s' at '%s'" % (textId, profileUrl)) return [] logging.info(textId + ' -> ' + intId) opponents = 'handle="([^"]+)"' # grab html matchHistoryUrl = "http://www.ea.com/soccer/mgd/match-history/" + intId logging.info ('Opening... ' + matchHistoryUrl) f = urlfetch.fetch(url=matchHistoryUrl, deadline=60) s = HTMLParser.HTMLParser().unescape(f.content) if (s.find("This player hasn't played any Head-to-Head matches within the last 30 days.") > 0): logging.info ('No games or account stats blocked - aborting') return [] # grab opponents opponents = re.findall(opponents, s)[1:] # grab results scored = int(re.search(headScoredRegex, s).group(1)) conceded = int(re.search(headConcededRegex, s).group(1)) results = [(int(x),int(y)) for (x,y) in re.findall(tailResultsRegex, s)] results.insert(0, (scored, conceded)) # grab teams playerTeam = re.search(headPlayerTeam, s).group(1) opponentTeam = re.search(headOpponentTeam, s).group(1) playerTeams = re.findall(tailPlayerTeam, s) opponentTeams = re.findall(tailOpponentTeam, s) teams = zip(playerTeams, opponentTeams) teams.insert(0, (playerTeam, opponentTeam)) matchHistory = zip(teams, results, opponents) games = [] for match in matchHistory: game = CreateGame(playerId=textId, playerTeam=match[0][0], playerScore=match[1][0], opponentId=match[2], opponentTeam=match[0][1], opponentScore=match[1][1]) games.append(game) return games except Exception, err: logging.exception('Failed to scrape games at Url: %s, Exception: %s', profileUrl, str(err)) return[] if __name__ == '__main__': logging.getLogger().setLevel(logging.DEBUG) logging.basicConfig(format='%(asctime)s %(levelname)s %(message)s') games = safeScrapeGames(sys.argv[1]) if games < 0: print 'Could not retrieve games for ' + sys.argv[1] sys.exit(games) print 'Last 20 games' won = 0 drew = 0 lost = 0 for game in games: if game.result == 'W': won += 1 elif game.result == 'D': drew += 1 elif game.result == 'L': lost += 1 print game print print 'Record: %d-%d-%d' % (won, drew, lost)
Python
''' Created on 19 Feb 2012 @author: gav.aiken ''' from google.appengine.ext import db def CreateGame(playerId, playerTeam, playerScore, opponentId, opponentTeam, opponentScore): ''' Factory Method ''' game = Game(playerId=playerId, playerTeam=playerTeam, playerScore=playerScore, opponentId=opponentId, opponentTeam=opponentTeam, opponentScore=opponentScore) game.goalDifference = playerScore - opponentScore if game.goalDifference > 0: game.result = 'W' elif game.goalDifference == 0: game.result = 'D' else: game.result = 'L' return game class Game(db.Model): ''' Represents a single played game ''' playerId = db.StringProperty(required=True) playerTeam = db.StringProperty(required=True) playerScore = db.IntegerProperty(required=True) opponentId = db.StringProperty(required=True) opponentTeam = db.StringProperty(required=True) opponentScore = db.IntegerProperty(required=True) # Derived scrapedDateTime = db.DateTimeProperty(auto_now_add=True) result = db.StringProperty() goalDifference = db.IntegerProperty() def __str__(self): return '%s : %s (%s) %d - %d %s (%s)' % \ (self.result, self.playerId, self.playerTeam, self.playerScore, self.opponentScore, self.opponentId, self.opponentTeam)
Python
#Derek Neil #figure out Fibonacci number who's digits sum is 15165 #phython is 5x slower then java and php, even without sequences #using %100 of one core, but only using 3.5mb of ram ?? #pypy uses %100 of one core, but increases ram to 19.5mb #pypy reduces run time to 1/4 of python import sys import time #declare variables twoNumbersAgo = long(0) oneNumberAgo = long(1) sum = 0 fibNumber = "" #timing stuff startTime = time.time() #start sys.stdout.write("Calculating in Python: ") sys.stdout.flush() #build sequence with loop until the sum of the digits is == 15165 d=0 while sum != 15165 : currentNumber = twoNumbersAgo + oneNumberAgo twoNumbersAgo = oneNumberAgo oneNumberAgo = currentNumber fibNumber = str(currentNumber) if len(fibNumber) >= 2012 : sum = 0 for i in range( 0,len(fibNumber) ) : sum += int(fibNumber[i]) #eye candy if d%700==0 : #modulus calc in python? sys.stdout.write('. ') sys.stdout.flush() #increment candy counter d+=1 #print results result = "\nThe magic numbers are: " for i in xrange(2005,2012) : #will return 2006-2012 digits result += fibNumber[i] if i==2007 : result += "-" #how long it took endTime = time.time() runTime = (endTime - startTime) #print some info print result print "Total execution time was:", '%0.2f' % runTime, "seconds" #print "\nFibonacci number was: " #print fibNumber
Python
# -*- coding: utf-8 -*- ''' @author: lowzoom ''' from __future__ import division, print_function, unicode_literals from _main_window import Ui_MainWindow from btn_cfg import button_data_handler, key from ui.boot_dialog import BootDialog import PyQt4.QtCore as qtc import PyQt4.QtGui as qt import cfg import main import os class MainWindow(qt.QMainWindow): ''' 程序主窗口 ''' def __init__(self): qt.QWidget.__init__(self, None) self.ui = Ui_MainWindow() self.ui.setupUi(self) # 保存初始标题, 方便以后添加路径 self.title = self.windowTitle() # 恢复上次关闭时的窗口状态 self.restoreGeometry(cfg.pref.get(cfg.WINDOW_STATE, self.saveGeometry())) self.boot_dialog = BootDialog(self) self.connect(self.ui.boot_action, qtc.SIGNAL('triggered()'), self.boot_dialog.exec_) self.set_open_file() self.set_about_dialog() self.set_edits() self.set_button_box() qtc.QTimer.singleShot(0, self.init_run) def closeEvent(self, e): ''' 关闭时保存窗口状态 ''' cfg.pref[cfg.WINDOW_STATE] = self.saveGeometry() cfg.save() def init_run(self): ''' 初始运行检测 ''' class GamePathNotFound(Exception): pass try: if not cfg.pref[cfg.GAME_PATH]: raise GamePathNotFound('<p>这是您首次运行本程序<p>请先选择游戏主程序所在路径</p>') if not os.path.isdir(cfg.pref[cfg.GAME_PATH]): raise GamePathNotFound('<p>游戏目录有变动<p>请重新选择游戏主程序所在路径</p>') except GamePathNotFound as ex: qt.QMessageBox.information(self, '提示', unicode(ex)) # 游戏主程序路径 exe_path = str(qt.QFileDialog.getOpenFileName( parent=self, caption='选择游戏主程序', filter='fifa.exe')) if not exe_path: self.close() return # 获取游戏目录路径 cfg.set_game_path(os.path.dirname(os.path.normpath(exe_path))) cfg.save() # 检测通过后读取按钮配置 self.load_button_data() def load_button_data(self): ''' 读取按键设置并显示 ''' button_data_handler.load() # 将键位设置显示到输入框 for btn, edit in self.edit_map.iteritems(): edit.setText(button_data_handler.key_map[btn]) def save_button_data(self): ''' 保存按键设置到文件 ''' button_data_handler.save() qt.QMessageBox.information(self, '提示', '保存完成') def set_button_box(self): ''' 设置底部两个按扭的外观和事件 ''' reset_btn = self.ui.buttonBox.button(qt.QDialogButtonBox.Reset) reset_btn.setFocusPolicy(qtc.Qt.NoFocus) reset_btn.setText('重置') self.connect(reset_btn, qtc.SIGNAL('clicked()'), self.load_button_data) save_btn = self.ui.buttonBox.button(qt.QDialogButtonBox.Save) save_btn.setText('保存') self.connect(save_btn, qtc.SIGNAL('clicked()'), self.save_button_data) def set_open_file(self): ''' 设置打开文件动作 ''' def _open(): ''' 弹出文件选择框, 打开配置文件 ''' data_file_path = str(qt.QFileDialog.getOpenFileName( parent=self, caption="选择配置文件", directory=os.path.dirname(button_data_handler.path), filter=';;'.join((button_data_handler.file_name, '所有文件 (*.*)')))) if not data_file_path: return button_data_handler.path = os.path.normpath(data_file_path) self.load_button_data() self.setWindowTitle('{app} [{path}]'.format( app=self.title, path=button_data_handler.path)) self.connect(self.ui.open_action, qtc.SIGNAL('triggered()'), _open) def set_edits(self): ''' 设置输入框的动作 ''' # 按键对应的输入框 self.edit_map = { 'VB_AI_LT': self.ui.lt_edit, 'VB_AI_LB': self.ui.lb_edit, 'VB_AI_BACK': self.ui.back_edit, 'VB_AI_LS_UP': self.ui.ls_up_edit, 'VB_AI_LS_LEFT': self.ui.ls_left_edit, 'VB_AI_LS_DOWN': self.ui.ls_down_edit, 'VB_AI_LS_RIGHT': self.ui.ls_right_edit, 'VB_AI_LDPAD_UP': self.ui.ldpad_up_edit, 'VB_AI_LDPAD_LEFT': self.ui.ldpad_left_edit, 'VB_AI_LDPAD_DOWN': self.ui.ldpad_down_edit, 'VB_AI_LDPAD_RIGHT': self.ui.ldpad_right_edit, 'VB_AI_L3': self.ui.l3_edit, 'VB_AI_RT': self.ui.rt_edit, 'VB_AI_RB': self.ui.rb_edit, 'VB_AI_START': self.ui.start_edit, 'VB_AI_Y': self.ui.y_edit, 'VB_AI_B': self.ui.b_edit, 'VB_AI_A': self.ui.a_edit, 'VB_AI_X': self.ui.x_edit, 'VB_AI_RS_UP': self.ui.rs_up_edit, 'VB_AI_RS_RIGHT': self.ui.rs_right_edit, 'VB_AI_RS_DOWN': self.ui.rs_down_edit, 'VB_AI_RS_LEFT': self.ui.rs_left_edit, 'VB_AI_R3': self.ui.r3_edit } # 输入框对应的按键 for btn, edit in self.edit_map.iteritems(): assert not hasattr(edit, 'cor_btn'), '和qt的属性撞车了, 您的RP需要充值' edit.cor_btn = [btn] self.ui.ls_right_edit.cor_btn.append('VB_FE_LS_RIGHT') self.ui.ls_up_edit.cor_btn.append('VB_FE_LS_UP') self.ui.ls_left_edit.cor_btn.append('VB_FE_LS_LEFT') self.ui.ls_down_edit.cor_btn.append('VB_FE_LS_DOWN') self.ui.rs_right_edit.cor_btn.append('VB_FE_RS_RIGHT') self.ui.rs_up_edit.cor_btn.append('VB_FE_RS_UP') self.ui.rs_left_edit.cor_btn.append('VB_FE_RS_LEFT') self.ui.rs_down_edit.cor_btn.append('VB_FE_RS_DOWN') self.ui.x_edit.cor_btn.append('VB_FE_X') self.ui.y_edit.cor_btn.append('VB_FE_Y') self.ui.lb_edit.cor_btn.append('VB_FE_LB') self.ui.rb_edit.cor_btn.append('VB_FE_RB') self.ui.lt_edit.cor_btn.append('VB_FE_LT') self.ui.rt_edit.cor_btn.append('VB_FE_RT') self.ui.l3_edit.cor_btn.append('VB_FE_L3') self.ui.r3_edit.cor_btn.append('VB_FE_R3') # 让文本框可以设置按键 def accept_key(edit): def handler(e): if e.type() == qtc.QEvent.KeyPress: scan_code = e.nativeScanCode() if scan_code in key.name: key_name = key.name[scan_code] edit.setText(key_name) button_data_handler.set_key(edit.cor_btn, key_name) if self.ui.continuous_set_cbox.isChecked(): edit.focusNextChild() else: qt.QMessageBox.critical(self, '错误', '未知按键码: {code}'.format(code=hex(int(scan_code)))) return True return qt.QWidget.event(edit, e) # handler end return handler # accept_key end for edit in self.edit_map.itervalues(): edit.event = accept_key(edit) edit.setContextMenuPolicy(qtc.Qt.NoContextMenu) def set_about_dialog(self): ''' 设置"关于"的动作 ''' def show(): ''' 显示“关于”对话框 ''' qt.QMessageBox.about(self, '关于', """<b>{app_name}</b> v {ver} <p>用于设置 FIFA 12 按键的小工具,仅适用于键盘。 <p>lowZoom &copy; Powered by PyQt</p>""".format( app_name=qt.QApplication.applicationName(), ver=main.__version__)) # 弹出关于对话框 self.connect(self.ui.about_action, qtc.SIGNAL('triggered()'), show)
Python
# -*- coding: utf-8 -*- # Resource object code # # Created: ?? ??? 1 23:15:34 2011 # by: The Resource Compiler for PyQt (Qt v4.7.3) # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore qt_resource_data = "\ \x00\x00\x07\x51\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x30\x00\x00\x00\x30\x08\x06\x00\x00\x00\x57\x02\xf9\x87\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x12\x00\x00\x0b\x12\ \x01\xd2\xdd\x7e\xfc\x00\x00\x07\x03\x49\x44\x41\x54\x68\x81\xcd\ \x99\x5d\x6c\x54\xc7\x15\xc7\x7f\x33\x77\xef\xfa\x03\x3b\xd7\xc1\ \xb1\x0d\xf9\x92\x21\x8d\xa8\x92\x2a\x84\x28\x24\xc2\x95\x42\xd4\ \x22\xb5\x55\xa4\x3e\xa4\x8a\x94\xc0\x4b\x14\x50\x0c\x52\x52\x35\ \x12\x6f\x8d\x5c\x69\x1f\x0a\x48\xae\x8a\xd4\xa7\x44\x6d\x9e\xaa\ \x26\x91\x52\xa9\x12\xa8\x4f\x79\xa1\x2a\xa8\xe5\x85\x38\x29\x08\ \x42\xc0\x01\x03\xf6\xda\xc0\xfa\x7a\xd7\xd9\xaf\x7b\xe7\xf4\x61\ \xd7\xeb\xdd\xbb\x77\xef\xee\x7a\x0d\xed\xff\x65\xf6\xce\x9c\x7b\ \xe6\xff\x9f\x99\x33\xf7\xcc\xac\xa2\x0a\xbf\x19\x18\xd8\x09\xfc\ \x50\x44\x68\x04\xa5\x54\xc3\xb6\x20\xa2\xfc\xac\x11\x49\xe0\x93\ \x84\xeb\x56\x1c\x57\xd8\x18\x63\x62\x1f\xec\xde\xfd\x37\x99\x9b\ \x7b\xc5\xe9\xeb\x43\xdb\x36\xb4\x41\xb6\x63\x94\xc5\x8a\x08\x88\ \x94\x4a\x63\x4a\x75\xc6\x50\xcc\xe7\xb9\x95\xc9\xf8\x87\x4e\x9f\ \xde\x34\xf0\xd8\x63\x77\xb5\xd6\x06\x20\x56\xe5\x42\xf7\x6e\xdc\ \x68\x8f\xe4\x72\x7c\x6f\x68\x08\xdd\xdd\x5d\x12\xb0\x22\xa2\xec\ \x78\xdd\x51\xed\x1f\xc0\x18\xc4\x98\xd2\xf3\x8a\x00\xdf\x67\x39\ \x93\x61\xc1\xf7\x55\xcf\xc0\x40\x1c\x50\xc6\x18\xa5\xb5\x96\x6a\ \x01\x4a\xc7\x62\x4a\x77\x75\xa1\xbb\xba\x50\xf1\x78\xed\x0c\xdc\ \x0b\xf2\x61\x10\x41\x95\x05\xac\xf4\xa8\x7c\x1f\xed\x79\x58\xb6\ \x0d\xa0\xab\xcd\x2b\x02\x94\x52\x5a\x59\x16\xca\xb6\x51\xb6\x0d\ \x96\x55\x59\x5f\x42\xd5\x5a\x6b\x87\xcb\x1a\x05\x60\x59\x25\x4e\ \x2b\x75\xc6\xa0\x0b\x05\x74\x2c\x06\x8d\x04\x88\x08\x4a\x29\xa5\ \xb4\x06\xad\xeb\x08\x54\x46\xa3\x9d\xb8\x58\xcb\xac\x85\xf9\x2f\ \x73\xd2\x25\x61\x35\x06\xb1\xa0\x6d\x24\x41\xcb\xaa\x88\xab\x81\ \x08\x78\x5e\xa9\x73\x11\x44\x29\x88\xd5\xb9\x6e\x0c\x11\xf0\xfd\ \x68\xc1\x2b\x81\x1d\x98\xd8\xba\x5e\x2a\x01\xb4\x02\xdb\x46\x3f\ \xf1\x04\x3d\xcf\x3f\x4f\xcf\xf6\xed\x58\xdd\xdd\x75\xbe\xbd\x9b\ \x37\xb9\x7b\xec\x58\xe9\x41\x29\x54\x7f\x3f\x83\x89\x04\x56\x79\ \x29\xb4\x82\xe2\xf4\x34\xe9\x13\x27\x28\x5e\xbe\x1c\x4a\x1e\x91\ \x12\xb7\x00\x62\x01\xc3\x1a\x75\x7a\x74\x94\x8d\xef\xbc\x43\xcf\ \xd0\x10\xba\x3c\xf2\x61\x33\x54\x58\x5a\xaa\xad\x50\x8a\x2e\xc7\ \x21\xd6\xc6\x2c\x74\xef\xd8\x41\xdf\xf6\xed\xa4\x3e\xfb\x8c\xf4\ \xc9\x93\xf5\xb3\xd1\x60\x76\x42\xd6\x43\x55\x63\x7f\x3f\x1b\x46\ \x46\x2a\xe4\x23\xb1\xd2\x41\x07\xbb\x95\xd2\x9a\x8d\xaf\xbd\x46\ \xef\x0b\x2f\x84\x34\x86\x2f\xed\x16\x98\xb5\xda\xbb\x5a\x2d\x6d\ \xbb\xbd\x60\x0f\xf8\x19\x78\xf5\x55\x54\xf5\xf2\x2b\x7f\x8f\xc2\ \x7c\xae\x9f\x80\x1a\xaf\x9d\xb9\xb5\x1f\x7e\x18\xeb\xa1\x87\xea\ \x1b\x4a\x02\xc2\x77\xa1\xa0\xba\xea\xa7\xb6\x47\xb3\x50\x20\x37\ \x35\x15\xb9\xf4\x2c\xc7\x21\xbe\x65\x4b\xc3\x76\x7b\x78\x18\x2f\ \x99\xac\x26\x11\x6a\x17\x19\x65\xfe\xf4\x34\xc9\xa3\x47\x2b\x02\ \xba\xc7\xc6\x70\x5e\x7a\x29\xea\x95\x12\x5c\x97\x3b\xc7\x8f\x47\ \x26\x73\x2a\x1e\x67\xe4\xc8\x11\xba\x86\x87\xc3\x0d\x5a\xdc\x00\ \xa2\xad\x96\x97\xc9\x5f\xb8\xb0\xda\xe9\xd6\xad\x2d\x39\x6d\x05\ \x52\x28\xf0\xdd\x85\x0b\x8d\x05\xb4\x88\x7b\x13\x03\xad\x40\x29\ \x24\xea\x3b\x11\x32\x7b\xcd\x82\xf8\x3e\x65\x6b\x25\x58\xcf\x3c\ \xc3\x03\x2f\xbe\xd8\xb0\xdd\x5b\x58\x88\x7c\x5f\x6b\x2d\x50\x25\ \x40\x29\x95\x9b\xfd\xea\xab\xa2\x5f\x2c\xae\x17\xc7\xc6\x9d\x6f\ \xdb\xc6\xd0\xa1\x43\xc4\xe2\xf1\xd0\x76\x93\xc9\xe0\xcd\xcf\xd7\ \xd7\xfb\x3e\x77\xaf\x5e\xcd\x6a\xad\xfd\x95\xba\x9a\x18\x48\xcf\ \xce\x9a\xf4\xfc\x3c\xb9\x54\x8a\xf8\xe8\x28\xda\x71\xd6\xbe\x9f\ \x87\x41\x29\xac\xa7\x9e\x62\xe8\xdd\x77\xe9\xda\xb0\xa1\xa1\x59\ \xf6\x8b\x2f\x90\xaa\x81\x34\x4b\x4b\xe4\xae\x5c\x61\x71\x76\x56\ \x3e\x78\xf9\xe5\x7c\xb5\x6d\x7d\x10\x8b\xe0\x25\x93\x78\xc9\x24\ \xba\xbf\x1f\x7b\xf3\x66\x62\x9b\x36\xa1\x42\x72\xa0\x76\x61\x3d\ \xf7\x1c\xc3\xe3\xe3\xc4\x7b\x7a\x1a\xda\x78\x0b\x0b\xa4\x3e\xfd\ \x14\xc9\xe5\xf0\xe6\xe6\x28\xce\xce\x62\xd2\x69\xbc\xd5\x64\xae\ \x06\x41\x01\xba\x7a\xbc\x4d\x3a\x4d\x3e\x9d\x26\x7f\xf9\x32\xba\ \xaf\x8f\xf8\xae\x5d\x6b\x26\x1f\xdb\xb9\x93\xe1\x83\x07\xb1\x1b\ \x2c\x1b\x00\x6f\x7e\x9e\x99\x83\x07\xc9\x7d\xf9\x25\x26\x93\x09\ \x4d\xde\xea\xfc\x06\x9e\xc3\x77\x25\x11\x4c\x3a\x8d\x1f\x4c\xda\ \x56\x9a\x3d\x0f\x2f\x95\x42\xc7\xe3\xab\x27\xb9\xaa\xe3\x68\x6c\ \x6c\x8c\xe1\x03\x07\x22\xc9\x17\xaf\x5f\xe7\xdb\xd7\x5f\x27\xff\ \xcd\x37\x4d\x49\x47\x09\xb0\xc2\x4e\x61\xcd\x4e\x64\x26\x9b\x25\ \x7b\xf6\xec\x6a\x45\xf9\x00\xa2\x94\xa2\x67\xef\x5e\x46\x0e\x1c\ \x68\x18\xb0\x00\xf9\xaf\xbf\xe6\xda\x1b\x6f\x50\x98\x99\x69\xc6\ \xb7\x8e\x46\x8d\x00\x11\x51\xe5\xb2\x42\xbc\xd2\xb6\x6a\x13\xea\ \xb9\xa6\xde\xf7\x51\x22\xf4\x8e\x8f\xf3\xe8\xfb\xef\x13\x2b\x9d\ \x65\x43\x91\x3d\x77\x8e\x6b\xfb\xf6\xe1\xdd\xbe\xdd\x8c\x7c\x28\ \x1a\xce\x40\x27\x50\xf1\x38\x0f\x1e\x3b\xc6\xe6\xbd\x7b\x23\x77\ \xb1\xf4\xe7\x9f\x73\xe3\xed\xb7\xf1\x33\x99\xe6\x3e\x6b\x8a\x55\ \x04\xd7\x7c\xe7\xfc\x95\xe2\x81\xc3\x87\x9b\x92\x5f\xfc\xf8\x63\ \x66\xde\x7c\xb3\x25\xf2\x51\x08\x0a\xe8\x78\x06\xf4\xe0\x20\x23\ \xe3\xe3\x91\xe4\xef\x7c\xf8\x21\x37\xdf\x7b\x0f\x53\x28\xb4\xec\ \x57\x85\xfe\xac\x5f\x42\x1d\xa7\x13\x7a\x70\x10\x3b\xe2\x9b\x31\ \x3f\x39\xc9\xc2\xe4\x64\x4b\x5b\x64\x2b\x08\x0a\xf0\xef\x75\x42\ \xd4\xb3\x67\x0f\x8f\x8c\x8d\x45\xda\xf8\x8b\x8b\xcc\xed\xdf\x8f\ \xf8\x95\x8c\xa1\x7a\x64\x23\x6f\x25\xf2\xeb\x33\x2e\x8d\xd1\xff\ \xec\xb3\x4d\x6d\xbc\xf9\x79\xe6\x02\x4b\x70\xe5\xe2\x91\x80\x80\ \x60\x0c\xa4\x7c\xfe\x3f\xe1\x95\x8a\x02\x25\x11\x15\x04\x05\x2c\ \xb7\x1e\x56\xf7\x17\x85\xd2\x77\xc6\x05\x72\xd5\xf5\x41\x01\x33\ \xd9\xfb\x75\x89\xdb\x26\xb2\xa5\xe2\x4e\xc2\x75\xbd\xea\xfa\x60\ \x0c\x5c\x4c\x47\x08\xf0\x93\x49\xb2\x53\x53\x75\xf5\x85\x2b\x57\ \x2a\xbf\x25\x9b\x65\xf9\xcc\x99\x8e\xd2\x70\x3f\x95\xaa\x3b\x91\ \x95\x79\xfd\x27\x68\x5b\xd3\xcb\x84\xe3\x3c\xae\x95\x9a\x7e\x25\ \x16\xd3\x5d\x6b\xee\xfe\xde\xe0\x1f\xbe\xcf\xbc\x31\xbf\x4c\xb8\ \xee\x1f\xaa\xeb\xeb\x96\x90\x11\xf9\xf7\xb5\x75\xda\xa3\xd7\x0b\ \x19\x60\x41\xa4\x08\x9c\x08\xb6\xd5\x08\x28\xff\xf7\x74\xf4\xa2\ \x31\x92\xbd\x4f\xe4\x9a\x41\x80\x29\xdf\x47\x44\x3e\x49\xb8\xee\ \xb7\xc1\xf6\xb0\xfc\xff\x64\x41\xe4\x2f\xa7\x3d\xaf\x36\xdc\xff\ \x07\x10\xe0\x9c\x31\xcc\x19\x33\x03\x1c\x0e\xb3\xa9\xbb\xd7\x38\ \x95\xcf\xcb\xee\xee\xee\xbf\xe7\x60\xdb\x0d\x91\xa7\x87\xb4\xa6\ \xf3\xc3\x64\xfb\xf0\x80\xb3\xbe\xcf\x75\x63\xa6\x81\x9f\x24\x5c\ \xf7\x7a\x98\x5d\xe8\xc5\xcc\xa9\x7c\xde\xdb\xdd\xdd\xfd\xd7\x22\ \xd8\xd7\x44\x76\x75\x81\x7e\xf0\x3e\xfe\x63\x99\x02\xfe\xe9\x79\ \xdc\x16\x39\x05\xfc\x34\xe1\xba\xd7\x1a\xd9\x36\x65\x35\xe1\x38\ \x3f\x53\x4a\xfd\x69\x93\x52\x9b\x77\x58\x16\xbd\xeb\xc9\x34\x00\ \x03\x5c\x34\x86\x4b\xc6\x14\x7c\x91\xdf\x01\x13\xc1\x7d\x3f\x88\ \x96\x86\x75\xc2\x71\x86\x80\xdf\xdb\x4a\xed\xfd\xbe\xd6\xea\x49\ \xad\xd7\xfd\x4a\x2f\x29\xc2\x94\xef\xb3\x24\x72\x1e\x38\x90\x70\ \xdd\x7f\xb5\xf2\x5e\x5b\xeb\x62\xc2\x71\x7e\x0c\x1c\xef\x53\xea\ \x07\x4f\x5b\x16\x8f\x2a\xd5\xf1\x09\x68\x11\x38\xef\xfb\xcc\x19\ \x93\x12\x38\x02\x1c\x4f\xb8\x6e\xcb\xb7\x6b\x6d\xf7\x3f\xe1\x38\ \x71\x60\x3f\xf0\x6b\x47\xa9\x47\xb6\x95\x85\xb4\x3b\x23\x77\x45\ \xb8\x64\x0c\xb7\x44\xb2\x22\xf2\x11\xf0\xdb\x84\xeb\xde\x6a\x97\ \xcf\x9a\x07\x70\xc2\x71\x36\x00\x6f\x01\xbf\xea\x55\x6a\xeb\x16\ \xad\x19\xd5\x9a\xc6\x57\x56\xe0\x03\x37\x45\xb8\x6a\x0c\x77\x44\ \xbe\x2b\x13\x9f\x8c\x0a\xd2\x66\xe8\x78\x6b\x99\x70\x1c\x0b\xf8\ \x39\x30\xae\x94\xfa\xd1\xb0\x52\xf6\xe3\x5a\xb3\x49\x29\xba\x28\ \x05\xe6\x6d\x11\x6e\x18\xc3\x8c\x88\x14\x45\x2e\x01\x1f\x01\x7f\ \x4c\xb8\x6e\xaa\xd3\xfe\xd7\x75\x6f\x9c\x70\x9c\x51\x60\x1f\xf0\ \x0b\x4b\xa9\xed\x03\x4a\xe9\x8c\x08\x79\x91\x5b\x94\xd2\x80\x3f\ \x03\x67\x12\xae\xbb\x6e\xb9\xca\x3d\xd9\xdc\x27\x1c\x47\x01\x5b\ \x80\x3d\xc0\x79\xe0\x6c\x3b\x81\xd9\x0e\xfe\x0b\x54\xe2\xcc\x0c\ \x20\xdd\xa8\xb9\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \ \x00\x00\x6d\xde\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x01\x2a\x00\x00\x00\xc0\x08\x06\x00\x00\x00\xb3\x92\x2e\x7f\ \x00\x00\x00\x06\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\ \xa7\x93\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x03\xff\x00\x00\ \x03\xff\x01\xae\x2b\xe4\xde\x00\x00\x00\x09\x76\x70\x41\x67\x00\ \x00\x01\x2a\x00\x00\x00\xc0\x00\xde\x68\x47\xa3\x00\x00\x6c\xc1\ \x49\x44\x41\x54\x78\xda\xed\xfd\x79\x74\x5c\xc7\x95\x26\x88\x7f\ \x37\xde\x92\xfb\x86\x7d\x23\x00\x12\xe0\x0a\x82\xa4\x28\x52\xa2\ \x28\x92\xb2\x6c\x59\x92\x37\x95\xbc\x55\x99\x76\xf5\xb4\xab\xaa\ \xcb\x35\xd5\xd3\xbf\xf1\xd4\x99\xea\x9e\x33\x33\x3d\xdd\x3d\x3d\ \xd3\x33\x67\xba\xeb\xcc\xfc\xdc\xbf\x39\xdd\x73\xfc\x2b\x57\xb9\ \xab\x5c\x96\xdd\xee\x96\x25\x97\x5d\xb2\xa8\xcd\x92\x28\x89\x12\ \x29\x8a\x12\x77\x82\x20\x41\xec\x3b\x72\x5f\x5e\xbe\x17\x31\x7f\ \x64\x46\x32\x01\x24\x90\x89\x3d\x41\xe6\x77\x4e\x12\x60\xe2\xe5\ \xcb\x17\xf1\x22\xbe\x77\xe3\xc6\xbd\xdf\x25\xdc\x27\x38\x79\xf2\ \x24\x18\x63\xe0\x9c\xfb\x39\xe7\x8f\x08\x21\x4e\x08\x21\x3a\x00\ \x6c\x03\xb0\x95\x88\x3c\x00\xa2\x00\xa6\x01\x5c\x05\x70\x8e\x88\ \x7e\xc3\x18\x3b\xaf\x28\x4a\xc4\xb2\x2c\x3c\xf7\xdc\x73\x1b\xdd\ \x8c\x0a\xee\x21\x9c\x3c\x79\x12\xaa\xaa\xc2\x34\x4d\x1f\xe7\xfc\ \x01\x21\xc4\x63\x00\x1e\x16\x42\x74\x10\x51\x23\x00\x9b\x10\xc2\ \x20\xa2\x71\x00\xbd\x00\x2e\x12\xd1\xeb\x8c\xb1\x73\x00\x26\x00\ \xf0\xfb\x65\x4c\xd2\x46\x5f\xc0\x5a\xe3\xe4\xc9\x93\x20\x22\xc6\ \x39\x6f\xe3\x9c\x3f\x09\xe0\x59\xbb\xdd\x7e\x38\x10\x08\x54\x35\ \x36\x36\x52\x5d\x5d\x1d\xbc\x5e\x2f\x14\x45\x81\x69\x9a\x08\x85\ \x42\x18\x1b\x1b\xc3\xf0\xf0\xb0\x15\x0a\x85\x26\x0d\xc3\x78\x8f\ \x88\xfe\x13\x63\xec\xef\x84\x10\x33\x44\x54\x21\xac\x0a\x56\x84\ \x93\x27\x4f\x82\x73\x0e\xc6\x58\x15\xe7\xfc\x73\x42\x88\xdf\xd6\ \x75\xfd\x11\x9f\xcf\x57\xd5\xd4\xd4\xa4\xd4\xd7\xd7\xc3\xe7\xf3\ \x41\x55\x55\x58\x96\x85\x70\x38\x8c\xf1\xf1\x71\x8c\x8c\x8c\x88\ \x99\x99\x99\x50\x32\x99\xbc\x46\x44\x3f\x27\xa2\x9f\x33\xc6\x7a\ \x85\x10\xf7\x3c\x61\xdd\xd3\x44\x95\x25\x29\x12\x42\x7c\x0d\xc0\ \xbf\xf0\xfb\xfd\xdb\xbb\xbb\xbb\xb5\xfd\xfb\xf7\xa3\xa3\xa3\x03\ \x3e\x9f\x0f\xba\xae\x83\x31\x96\xfb\x0c\xe7\x1c\xa9\x54\x0a\xd3\ \xd3\xd3\xb8\x7a\xf5\x2a\x3e\xf8\xe0\x03\xf4\xf4\xf4\x24\xe2\xf1\ \xf8\x9b\x8c\xb1\xef\x31\xc6\x5e\x11\x42\x58\xf7\xfa\xc0\xa8\x60\ \x6d\x90\x1d\x93\x0a\xe7\xfc\xb3\x9c\xf3\x3f\x71\x3a\x9d\x27\x3a\ \x3b\x3b\xed\x0f\x3f\xfc\x30\x76\xef\xde\x8d\xaa\xaa\x2a\xd8\x6c\ \xb6\x79\x63\xd2\x30\x0c\x84\x42\x21\xf4\xf6\xf6\xe2\xe3\x8f\x3f\ \xc6\xc5\x8b\x17\xad\x60\x30\x78\x13\xc0\x3f\x27\xa2\xff\x28\x84\ \x10\xf7\xf2\x98\xbc\xe7\x89\x0a\xc0\x76\x21\xc4\xf3\x07\x0f\x1e\ \xdc\xfb\x95\xaf\x7c\x05\xad\xad\xad\xd0\x34\xad\xe4\x73\xc4\xe3\ \x71\x7c\xf2\xc9\x27\x38\x75\xea\x14\x7a\x7a\x7a\x06\x4d\xd3\xfc\ \x5d\x22\x7a\x13\x40\xc5\xb2\xaa\x60\x49\xc8\x8e\x47\x08\x21\x1e\ \x53\x55\xf5\x47\x9d\x9d\x9d\x2d\x4f\x3d\xf5\x14\xba\xbb\xbb\xe1\ \x72\xb9\x4a\x3e\x4f\x3a\x9d\x46\x7f\x7f\x3f\x9e\x7f\xfe\x79\x9c\ \x3f\x7f\xfe\x32\x11\x7d\x19\x40\xcf\xbd\x3c\x1e\xd9\xca\x4f\x51\ \x9e\x90\xd6\x14\xe7\xfc\x5b\x7e\xbf\xbf\xeb\x99\x67\x9e\x41\x47\ \x47\xc7\x92\x48\x0a\x00\x9c\x4e\x27\x8e\x1c\x39\x82\xef\x7c\xe7\ \x3b\x68\x6c\x6c\x6c\xe1\x9c\x3f\xbd\xd1\x6d\xab\x60\x73\x83\x73\ \xfe\x54\x63\x63\x63\xcb\x1f\xfd\xd1\x1f\xe1\xc8\x91\x23\x4b\x22\ \x29\x00\xd0\x34\x0d\x1d\x1d\x1d\x78\xe6\x99\x67\xe0\xf7\xfb\xf7\ \x70\xce\xbf\x45\x44\x24\x89\xf0\x5e\xc4\x3d\x4b\x54\x00\x20\x84\ \xd8\x4d\x44\xdf\x3a\x78\xf0\x20\x75\x74\x74\xac\xe8\x5c\x2e\x97\ \x0b\xba\xae\x03\x80\x1d\xf7\xb8\x25\x5a\xc1\x9a\xc3\xae\xeb\xfa\ \x92\x09\x6a\x2e\x3a\x3a\x3a\x70\xf0\xe0\x41\x22\xa2\x6f\x09\x21\ \x76\x6f\x74\xa3\xd6\x12\xf7\x24\x51\xe5\x39\xd0\x7f\xd7\xef\xf7\ \x77\x3e\xf6\xd8\x63\x50\x55\x75\xc5\xe7\x15\x42\x00\x80\xb2\xd1\ \xed\xab\x60\x53\x83\x00\xb0\xec\x58\x5a\x11\x54\x55\xc5\x63\x8f\ \x3d\x06\xbf\xdf\xdf\xc9\x39\xff\x7b\x00\xd8\xbd\x6a\x55\xdd\x93\ \x44\x05\x00\x42\x88\x6d\x44\xf4\xe5\x43\x87\x0e\x61\xdb\xb6\x6d\ \xab\x71\x3e\x49\x54\x0c\x15\x8b\xaa\x82\x95\x81\xf2\xc6\xd3\x8a\ \xb0\x6d\xdb\x36\x1c\x3a\x74\x08\x44\xf4\x15\x00\x9d\x1b\xdd\xb0\ \xb5\xc2\x3d\x47\x54\xf2\x89\xc2\x39\xff\xa2\xdf\xef\xdf\x71\xe2\ \xc4\x89\x55\xb1\xa6\x80\x9c\x45\x65\x01\x58\xf9\x08\xab\xe0\x7e\ \x85\x00\x60\xad\x06\x49\x01\x19\xab\xea\xc4\x89\x13\xd2\xaa\xfa\ \x92\x10\x02\xf7\xa2\x55\x75\xcf\x11\x55\x16\x75\x00\x7e\x7b\xcf\ \x9e\x3d\xac\xbd\xbd\x7d\xd5\x4e\x9a\x1d\x5c\x71\x54\x88\xaa\x82\ \x95\x21\xbe\x5a\x44\x05\x00\xed\xed\xed\xd8\xb3\x67\x0f\x03\xf0\ \x75\x22\x6a\xd8\xe8\xc6\xad\x05\xee\x29\xa2\xca\xdb\xfe\x3d\x61\ \xb7\xdb\x0f\x1c\x3e\x7c\x78\xc9\xbb\x7c\x0b\x41\xc6\xb2\x20\x43\ \x54\x15\x54\xb0\x12\xc4\x0c\xc3\x00\xe7\x7c\x55\x4e\xa6\x69\x1a\ \x0e\x1f\x3e\x0c\xbb\xdd\xbe\x3f\x1b\xdd\x7e\xcf\x59\x55\xf7\x14\ \x51\x65\xa1\x71\xce\xbf\xb4\x65\xcb\x16\xc7\xee\xdd\xab\xb7\x11\ \x92\x4a\xa5\x90\x4a\xa5\x00\x20\x06\x54\x62\xa8\x2a\x58\x3a\xf2\ \xc6\x4c\x3c\x6f\x3c\xad\x0a\x76\xef\xde\x8d\x2d\x5b\xb6\xd8\x39\ \xe7\xcf\x00\xd0\x37\xba\xad\xab\x8d\x7b\x8e\xa8\x84\x10\x3b\x14\ \x45\x79\xec\xe0\xc1\x83\xf0\xf9\x7c\xab\x76\xde\x68\x34\x0a\xd3\ \x34\xd3\x44\x34\xbd\xd1\x6d\xac\x60\x73\x83\x88\x42\xa6\x69\xa6\ \xa3\xd1\xe8\xaa\x9d\xd3\xe7\xf3\xe1\xe0\xc1\x83\x50\x14\xe5\x38\ \x80\x9d\x1b\xdd\xc6\xd5\xc6\x3d\x43\x54\x79\xcb\xbe\xcf\x04\x02\ \x81\xd6\x83\x07\x0f\xae\xea\xf9\xb3\x44\x95\x04\x30\xbe\xd1\x6d\ \xad\x60\xd3\x63\xdc\x34\xcd\xe4\x6a\x12\x15\x00\x1c\x3c\x78\x10\ \x81\x40\xa0\x85\x73\xfe\x59\xe0\xde\x5a\xfe\xdd\x33\x44\x95\x85\ \x57\x08\xf1\xa5\x5d\xbb\x76\x51\x53\x53\xd3\xaa\x9e\x38\x16\x8b\ \xc1\xb2\xac\x24\x80\xb1\x8d\x6e\x64\x05\x9b\x1e\x63\x96\x65\x25\ \x63\xb1\xd8\xaa\x9e\xb4\xa9\xa9\x09\xbb\x76\xed\x22\x21\xc4\x17\ \x01\xac\xde\x72\xa2\x0c\xb0\x3a\xfb\xf6\x1b\x8c\x3c\x6b\xea\x01\ \xbb\xdd\x7e\xf0\xc1\x07\x1f\x84\xa6\x69\x30\x4d\x13\xa9\x54\x0a\ \xe9\x74\x1a\x00\x40\x44\xf3\x5e\x8c\xb1\x79\x49\xa0\x85\x10\x89\ \x44\x90\x4e\xa7\x13\xc8\xc8\x6b\x54\x50\xc1\x4a\x30\x91\x4e\xa7\ \x13\x91\x48\xa4\xe8\x81\x32\x49\x9e\x73\x9e\x8b\xe5\xcb\x7f\x01\ \x19\x67\xba\xcd\x66\x83\xa6\x69\x78\xf0\xc1\x07\x71\xee\xdc\xb9\ \x07\x0c\xc3\x78\x90\x88\x5e\x3f\x79\xf2\xe4\x3d\xe1\x4f\xdd\xb4\ \x44\x95\x25\x27\x06\xa0\x06\x40\x8d\x10\xa2\x41\x08\xf1\x5f\xaa\ \xaa\x5a\x75\xf9\xf2\x65\x5c\xbe\x7c\x19\x91\x48\x04\xd1\x68\x14\ \xc9\x64\x12\x00\xc0\x18\xcb\x91\x93\x24\x2a\x55\x55\xe1\xf1\x78\ \xe0\xf7\xfb\x51\x5d\x5d\x8d\xea\xea\x6a\x54\x55\x55\xc1\xed\x76\ \xc3\xe1\x70\xe4\x52\x67\x42\xa1\x10\x4c\xd3\x9c\x54\x14\xa5\xb2\ \xeb\x57\xc1\x8a\xc0\x18\x8b\x9b\xa6\x39\x19\x0a\x85\x5a\x01\xc0\ \x30\x0c\xc4\x62\x31\x24\x12\x09\x44\xa3\x51\x4c\x4f\x4f\x63\x6a\ \x6a\x0a\x53\x53\x53\x08\x06\x83\x88\x44\x22\x30\x4d\x33\x47\x4e\ \x92\xb4\xe4\xae\xa1\xdd\x6e\x87\xdb\xed\x86\xc7\xe3\x01\x00\xa8\ \xaa\xea\x4f\xa5\x52\xff\x10\x00\x11\xd1\xe8\xc9\x93\x27\x27\x00\ \x4c\x62\x13\xeb\x57\x6d\x1a\xa2\xca\x12\x93\x0e\xa0\x19\x40\x33\ \xe7\xfc\x51\x21\x44\x17\x80\x1d\x44\xb4\x55\xd7\x75\x8f\xc3\xe1\ \xb0\xdb\xed\x76\xdc\xb8\x71\x03\x36\x9b\x0d\x3e\x9f\x0f\x8d\x8d\ \x8d\x70\xbb\xdd\x20\x22\x70\xce\xe7\xbd\x0c\xc3\xc0\xcc\xcc\x0c\ \x86\x87\x87\x91\x4a\xa5\x60\x18\x06\xd2\xe9\x34\x54\x55\x85\xcf\ \xe7\x43\x55\x55\x15\x3a\x3a\x3a\xd0\xd7\xd7\x07\x00\xa3\x00\x92\ \x1b\xdd\x17\x15\x6c\x7a\x24\x01\x8c\xf6\xf5\xf5\xe1\xf9\xe7\x9f\ \x47\x6f\x6f\x2f\xa6\xa7\xa7\xe5\xc3\x10\x9a\xa6\x41\xd7\xf5\xdc\ \x18\xae\xae\xae\xce\xc9\x11\xcd\x7d\x09\x21\x10\x8d\x46\x11\x0c\ \x06\xd1\xdf\xdf\x8f\x64\x32\x09\xb7\xdb\x0d\x55\x55\xbf\x92\x48\ \x24\x3e\x6f\x18\x46\x44\x08\x71\x1b\xc0\x0d\x22\xba\x7c\xf2\xe4\ \xc9\x77\x00\x0c\x65\x5f\xc6\x66\x21\xae\xb2\x25\xaa\x3c\x47\xa0\ \x13\x40\x27\xe7\xfc\x53\x42\x88\x63\x44\x74\x80\x31\xd6\xe4\xf5\ \x7a\x1d\x7e\xbf\x9f\x35\x36\x36\xa2\xbd\xbd\x1d\x2d\x2d\x2d\xf0\ \xf9\x7c\x70\xb9\x5c\x70\xb9\x5c\x70\x38\x1c\x50\x14\x25\x77\x43\ \x01\xcc\x4a\x59\x90\xbf\xcb\x27\x93\x61\x18\x88\x44\x22\x08\x87\ \xc3\x08\x85\x42\x08\x06\x83\x98\x98\x98\xc0\xd0\xd0\x10\x5e\x7b\ \xed\x35\x84\x42\x21\x28\x8a\x92\x42\x25\xd8\xb3\x82\x95\x43\x28\ \x8a\x92\xfa\xe4\x93\x4f\x70\xe7\xce\x1d\xb4\xb7\xb7\xa3\xbb\xbb\ \x1b\xb5\xb5\xb5\xf0\xfb\xfd\xf0\x7a\xbd\xf0\xf9\x7c\xf0\x78\x3c\ \x39\x82\x22\xca\x64\x6d\xc9\x9f\xf9\xbf\xcb\x87\xae\x65\x59\x48\ \x26\x93\x88\x46\xa3\x88\xc5\x62\x14\x0a\x85\x1c\x83\x83\x83\x8e\ \xbe\xbe\xbe\xba\x91\x91\x91\x87\x83\xc1\x20\x8f\x46\xa3\x09\xce\ \xf9\xb0\x10\xe2\x02\x11\x9d\x3e\x79\xf2\xe4\x6f\x00\xdc\x44\x36\ \x3e\xb0\x5c\x89\xab\xac\x72\xd6\xf2\xc8\xc9\x0e\x60\x27\xe7\xfc\ \x33\x42\x88\xc7\x89\xe8\xb0\xcb\xe5\xaa\x69\x6a\x6a\x52\x3a\x3a\ \x3a\xd0\xde\xde\x8e\xc6\xc6\x46\xd4\xd7\xd7\xcb\xa7\xc7\x9a\x5c\ \x8f\x10\x02\xa6\x69\xa2\xaf\xaf\x0f\x3f\xff\xf9\xcf\x71\xe1\xc2\ \x85\xb0\x10\xe2\x5f\x32\xc6\xfe\x6f\x21\x44\xaa\x5c\x6f\x6a\x05\ \xe5\x89\x6c\xb2\xbc\xce\x39\xff\x47\x44\xf4\xcf\x0f\x1c\x38\xe0\ \xfd\xf2\x97\xbf\x8c\xf6\xf6\x76\xa8\xaa\x3a\x8b\x84\x56\x13\xa6\ \x69\x22\x1a\x8d\x62\x6c\x6c\x0c\x23\x23\x23\xe8\xeb\xeb\x43\x6f\ \x6f\x2f\x86\x87\x87\xad\x58\x2c\x36\x29\x84\x38\x4b\x44\x6f\x30\ \xc6\x5e\x03\x70\x1d\xd9\x55\x43\x39\x8d\xef\xb2\x20\xaa\x3c\x82\ \x6a\x16\x42\x7c\x86\x73\xfe\x5b\x44\xf4\xa8\xcb\xe5\xaa\x6d\x6a\ \x6a\x62\x5d\x5d\x5d\xe8\xea\xea\x42\x7b\x7b\x7b\x6e\x19\xb7\xde\ \x98\x9a\x9a\xc2\x8f\x7f\xfc\x63\x9c\x39\x73\x26\xc6\x39\xff\x17\ \x8c\xb1\xef\x09\x21\xd2\xe5\x74\x33\x2b\x28\x5f\x64\x49\x4a\xe3\ \x9c\x7f\x97\x31\xf6\xcf\x8f\x1c\x39\xe2\xfe\xe6\x37\xbf\x89\xea\ \xea\xea\x75\xbf\x16\xb9\x5c\xec\xeb\xeb\x83\xf4\xe7\x0e\x0f\x0f\ \xf3\x58\x2c\x36\x21\x84\x78\x97\x31\xf6\x22\x11\xbd\x8a\xcc\xf2\ \xb0\x2c\x08\x6b\x43\x89\x2a\x4b\x50\x2a\x80\x3d\x9c\xf3\xaf\x0a\ \x21\x7e\xcb\x6e\xb7\xef\x69\x69\x69\xd1\xf6\xee\xdd\x8b\xbd\x7b\ \xf7\x6e\x28\x39\xcd\x45\x28\x14\xc2\x73\xcf\x3d\x87\xb7\xdf\x7e\ \x3b\xc2\x39\xff\x67\x8c\xb1\x7f\x27\x84\xd8\x34\xeb\xfc\x0a\x36\ \x06\xd2\xbf\x2a\x84\xf8\xaf\x18\x63\xff\xf3\xf1\xe3\xc7\x3d\x27\ \x4f\x9e\x5c\xd5\x80\xe4\xe5\x22\x9f\xb4\x2e\x5d\xba\x84\x4b\x97\ \x2e\x61\x70\x70\x30\x9d\x4c\x26\xaf\x10\xd1\x2f\x18\x63\xff\x09\ \xc0\x15\x00\xe6\x46\x8e\xf3\x0d\x99\xfd\xd9\x1b\x67\x07\x70\x88\ \x73\xfe\x2d\x00\x5f\xf4\x78\x3c\xcd\xbb\x76\xed\xa2\xa3\x47\x8f\ \xa2\xab\xab\x0b\x1e\x8f\xa7\x2c\xc8\x69\x2e\x42\xa1\x10\xfe\xe6\ \x6f\xfe\x06\xa7\x4f\x9f\x8e\x70\xce\xff\x82\x88\xfe\xbd\xdf\xef\ \xbf\x2e\x49\xac\x82\x0a\x24\x4e\x9e\x3c\x89\xdd\xbb\x77\xe3\xca\ \x95\x2b\x3b\x84\x10\x7f\xcc\x18\xfb\x83\x47\x1f\x7d\xd4\xf3\xbb\ \xbf\xfb\xbb\x65\x41\x52\x73\x21\x84\x40\x24\x12\xc1\xe5\xcb\x97\ \xf1\xee\xbb\xef\xe2\xda\xb5\x6b\x22\x12\x89\x0c\x01\xf8\x25\x63\ \xec\x6f\x00\x9c\x03\x90\xdc\x88\x71\xbe\xae\x4c\x90\x47\x50\x8f\ \x71\xce\x7f\x8f\x88\x3e\x5b\x5d\x5d\x5d\x75\xe0\xc0\x01\x3c\xf2\ \xc8\x23\xe8\xec\xec\x84\xcd\x66\x5b\xf7\x4e\x58\x2a\x42\xa1\x10\ \x5e\x78\xe1\x05\xbc\xff\xfe\xfb\x08\x87\xc3\x6f\x5a\x96\xf5\x0f\ \x88\xe8\x26\x50\x1e\x66\x72\x05\x1b\x8b\xbc\x95\x42\x9b\x10\xe2\ \xb8\xa2\x28\xdf\xf5\x7a\xbd\x07\x1e\x7a\xe8\x21\x3c\xfb\xec\xb3\ \xf0\xfb\xfd\x1b\x7d\x89\x45\x91\x4a\xa5\x70\xf3\xe6\x4d\xbc\xf7\ \xde\x7b\xb8\x70\xe1\x02\xa6\xa6\xa6\xa6\x85\x10\xaf\x32\xc6\xfe\ \x02\xc0\x9b\x58\x67\xc2\x5a\x17\xa2\xca\xde\x38\x0d\xc0\xc3\x9c\ \xf3\xff\x92\x31\xf6\xc5\xe6\xe6\x66\xdf\xc3\x0f\x3f\x8c\xc3\x87\ \x0f\xa3\xa5\xa5\x05\x8a\xb2\xb9\x84\x33\x4d\xd3\xc4\xb9\x73\xe7\ \xf0\x83\x1f\xfc\xc0\x0a\x87\xc3\x97\x00\xfc\x9a\x31\xf6\x77\x44\ \x74\x01\x40\x18\xa8\x90\xd6\xfd\x84\xbc\xb8\xbe\x66\x21\xc4\xc3\ \x9c\xf3\xcf\x33\xc6\x8e\x31\xc6\xda\x5d\x2e\x97\xf6\xfb\xbf\xff\ \xfb\x38\x74\xe8\xd0\x9a\x6d\xfc\xac\x15\x2c\xcb\xc2\xe0\xe0\x20\ \xce\x9e\x3d\x8b\xf7\xdf\x7f\x1f\x43\x43\x43\x21\xce\xf9\xaf\x18\ \x63\xff\x0f\x80\x33\x00\xd6\xc5\x4f\xbb\xa6\x44\x95\x77\xf3\xf6\ \x73\xce\xbf\x43\x44\x5f\xad\xab\xab\xab\x3d\x7e\xfc\x38\x8e\x1f\ \x3f\x8e\xba\xba\xba\xb2\x5c\xde\x95\x02\xce\x39\x7e\xfa\xd3\x9f\ \xe2\xad\xb7\xde\x42\x67\x67\x27\x86\x86\x86\x30\x31\x31\x31\x93\ \x4e\xa7\x3f\x14\x42\xbc\xaa\x28\xca\x9b\x00\xae\x01\x08\x02\x15\ \xd2\xba\x17\x91\x1d\xdf\x04\xa0\x4e\x08\xf1\xa0\x10\xe2\x73\x00\ \x1e\xb3\xd9\x6c\x3b\xea\xea\xea\x6c\xbb\x76\xed\x42\x6d\x6d\x2d\ \x5e\x7e\xf9\x65\x3c\xfa\xe8\xa3\xf8\xc6\x37\xbe\x51\x34\x03\xa2\ \x5c\x21\x84\xc0\xf8\xf8\x38\xde\x7e\xfb\x6d\xbc\xfd\xf6\xdb\x18\ \x1f\x1f\x9f\x14\x42\xfc\x67\xc6\xd8\xf7\x01\x5c\xc0\x1a\x07\x93\ \xae\x09\x4b\xe4\xed\xe2\xb5\x0a\x21\xfe\x81\x10\xe2\xf7\x02\x81\ \x40\xcb\x91\x23\x47\xf0\xf8\xe3\x8f\x63\xcb\x96\x2d\x9b\x96\xa0\ \x24\x6e\xdc\xb8\x81\xef\x7d\xef\x7b\x38\x74\xe8\x10\xbe\xf0\x85\ \x2f\x20\x14\x0a\xe1\xd6\xad\x5b\xb8\x74\xe9\x12\x6e\xdf\xbe\x2d\ \x66\x66\x66\x66\x2c\xcb\xfa\x44\x08\xf1\x16\x63\xec\x75\x22\xba\ \x82\x4c\x74\xf0\x3d\x5d\x7f\xed\x5e\x47\x1e\x39\xd5\x0a\x21\xba\ \x38\xe7\x4f\x11\xd1\xa7\x55\x55\xed\xaa\xae\xae\x76\x76\x74\x74\ \xe4\x36\x81\xa4\x1f\xea\x6f\xff\xf6\x6f\x71\xf6\xec\x59\x7c\xf7\ \xbb\xdf\xc5\x8e\x1d\x3b\x36\xba\x09\x2b\x82\x10\x02\x03\x03\x03\ \x78\xe3\x8d\x37\x70\xe6\xcc\x19\xcc\xcc\xcc\x0c\x12\xd1\x5f\x12\ \xd1\x0f\x00\xdc\x01\xd6\xe6\xa1\xbc\xea\x6c\x91\xbd\x91\x2e\x21\ \xc4\x57\x85\x10\x7f\xe2\x76\xbb\xf7\x1d\x3c\x78\x90\x3d\xf1\xc4\ \x13\xe8\xe8\xe8\xd8\x74\x4b\xbc\x42\x48\xa5\x52\xf8\xfe\xf7\xbf\ \x8f\xbe\xbe\x3e\x7c\xe7\x3b\xdf\x41\x6d\x6d\x2d\x80\x4c\x00\x5e\ \x3a\x9d\xc6\xf8\xf8\x38\x7a\x7b\x7b\xd1\xd3\xd3\x83\xa1\xa1\x21\ \x4c\x4d\x4d\x85\x0d\xc3\xb8\x2a\x84\x38\x4f\x44\xef\x30\xc6\x3e\ \x01\xd0\x07\x20\x02\x54\xac\xad\x72\xc6\x9c\xc0\xe3\x76\xce\xf9\ \x01\x21\xc4\x09\x22\x7a\xd0\x66\xb3\xed\xa8\xae\xae\xf6\x6e\xd9\ \xb2\x05\x3b\x77\xee\x44\x47\x47\x07\xaa\xaa\xaa\xa0\xaa\x6a\x2e\ \xdd\x85\x88\x30\x31\x31\x81\xef\x7f\xff\xfb\x68\x6f\x6f\xc7\x77\ \xbe\xf3\x9d\x4d\xe1\x87\x2d\x06\xcb\xb2\xd0\xdb\xdb\x8b\x57\x5f\ \x7d\x15\xe7\xcf\x9f\xe7\xd1\x68\xf4\x13\x22\xfa\xbf\x88\xe8\x3f\ \x03\x88\xad\xf6\x98\x5e\x35\xa2\xca\x7b\xd2\x1c\xe4\x9c\xff\xa9\ \xa6\x69\xbf\xd5\xd5\xd5\xe5\xf8\xdc\xe7\x3e\x87\xdd\xbb\x77\xcb\ \x52\x53\xf7\x04\xde\x7f\xff\x7d\xfc\xe0\x07\x3f\xc0\xe7\x3f\xff\ \x79\x9c\x38\x71\x62\x9e\x48\xbf\xb4\x16\x4d\xd3\x44\x30\x18\xc4\ \xd0\xd0\x10\x6e\xde\xbc\x89\xbe\xbe\x3e\x8c\x8f\x8f\x5b\xb1\x58\ \x6c\xd4\xb2\xac\xeb\x00\xce\x12\xd1\xbb\x8c\xb1\xeb\xc8\xc4\xac\ \x44\x81\x0a\x71\x6d\x24\xe6\x04\x1d\x37\x0b\x21\xb6\x72\xce\x8f\ \x00\x38\xaa\x28\x4a\x97\xcb\xe5\x6a\xaa\xab\xab\x53\xb7\x6e\xdd\ \x8a\xce\xce\xce\x5c\x46\x44\x3e\x39\xcd\x05\x11\xe1\xad\xb7\xde\ \xc2\xdf\xfd\xdd\xdf\xe1\x0f\xfe\xe0\x0f\xf0\xf0\xc3\x0f\x6f\x74\ \x33\x57\x0d\x86\x61\xe0\xea\xd5\xab\x78\xe9\xa5\x97\x70\xf9\xf2\ \xe5\x44\x3a\x9d\x7e\x91\x31\xf6\x67\x00\xce\x63\x15\x57\x0f\x2b\ \x26\xaa\xbc\x1b\x5b\x2b\x84\xf8\x7d\x21\xc4\x3f\x6c\x68\x68\x68\ \x7d\xea\xa9\xa7\x70\xfc\xf8\x71\xb8\xdd\xee\x0d\xeb\xc4\xb5\xc0\ \xe4\xe4\x24\xbe\xf7\xbd\xef\x41\xd3\x34\x7c\xfb\xdb\xdf\x86\xdb\ \xed\x5e\xb4\x9a\x88\x4c\x7e\xe6\x9c\x23\x1e\x8f\x63\x6c\x6c\x0c\ \x7d\x7d\x7d\xb8\x79\xf3\x26\xc6\xc7\xc7\x11\x0c\x06\x53\xc9\x64\ \x72\x88\x73\xde\x27\x84\xb8\x0a\xe0\x23\xc6\xd8\x35\x22\xea\x47\ \x46\x52\xc6\x00\x2a\xe4\xb5\x16\xc8\x1b\xbb\x04\xc0\x0f\xa0\x95\ \x73\xbe\x43\x08\x71\x90\x88\xf6\x33\xc6\x3a\x74\x5d\x6f\xf1\xf9\ \x7c\xce\xfa\xfa\x7a\x74\x76\x76\x62\xeb\xd6\xad\x68\x68\x68\x80\ \xd3\xe9\xcc\xe5\xda\x15\xd3\x3f\x27\x22\x44\xa3\x51\xfc\xf0\x87\ \x3f\x44\x3a\x9d\xc6\x77\xbf\xfb\x5d\xd4\xd4\xd4\x6c\x74\xf3\x57\ \x15\xd1\x68\x14\x6f\xbf\xfd\x36\x5e\x7e\xf9\x65\x8c\x8e\x8e\xf6\ \x13\xd1\xbf\x23\xa2\xbf\x40\x56\x6d\x64\xa5\xe3\x77\x45\x44\x95\ \xb7\x9b\xf7\x19\xce\xf9\x3f\x71\x38\x1c\xc7\x0f\x1f\x3e\xac\x7e\ \xe1\x0b\x5f\x40\x6b\x6b\xeb\xa6\xf7\x43\xcd\x85\x69\x9a\xf8\xc9\ \x4f\x7e\x82\xd3\xa7\x4f\xe3\xdb\xdf\xfe\x36\x76\xee\xdc\xb9\x24\ \xdd\x6b\x49\x5a\x32\x35\x27\x1c\x0e\x63\x6a\x6a\x0a\x23\x23\x23\ \x18\x18\x18\xc0\xd8\xd8\x18\x66\x66\x66\x44\x38\x1c\x0e\x9b\xa6\ \x39\xc0\x39\xbf\x0d\xe0\x13\x22\xba\xc4\x18\xeb\x47\x46\xb4\x6f\ \x1c\x19\xcb\x8b\x03\x15\x02\x2b\x05\x73\x04\xe4\x74\x00\xd5\x00\ \xea\x85\x10\x4d\x9c\xf3\xed\x00\xba\x89\x68\xb7\xa2\x28\x5b\x5d\ \x2e\x57\x6d\x20\x10\x50\xeb\xea\xea\xb0\x65\xcb\x16\x34\x37\x37\ \xa3\xa6\xa6\x06\x7e\xbf\x1f\x9a\xa6\xe5\xee\xdf\x52\x8b\x33\x30\ \xc6\x70\xfd\xfa\x75\xfc\xf0\x87\x3f\xc4\xb1\x63\xc7\xf0\x8d\x6f\ \x7c\x63\xd3\xed\x00\x16\x83\x10\x02\xfd\xfd\xfd\xf8\xd5\xaf\x7e\ \x85\xb3\x67\xcf\x9a\x89\x44\xe2\x34\x63\xec\xff\x00\xf0\x1a\x56\ \xb8\x3b\xb8\x6c\x26\xc9\xde\xfc\x6a\x21\xc4\x7f\x4f\x44\xbf\xd7\ \xde\xde\x5e\xf5\x85\x2f\x7c\x01\x87\x0e\x1d\x5a\x93\x35\x38\xe7\ \x1c\xd1\x68\x14\x33\x33\x33\x88\xc7\xe3\x48\x26\x93\x88\xc7\xe3\ \x32\x01\x13\xd1\x68\x14\xa9\x54\x0a\x8c\x31\x28\x8a\x02\x55\x55\ \xa1\x28\x4a\xee\x77\x4d\xd3\xe0\x76\xbb\xe1\x76\xbb\xe1\x74\x3a\ \x61\xb7\xdb\x61\xb3\xd9\x60\xb3\xd9\x72\xbf\xcb\x7c\xab\x42\x04\ \xcb\x39\xc7\xab\xaf\xbe\x8a\x9f\xfd\xec\x67\x78\xec\xb1\xc7\xf0\ \xf4\xd3\x4f\xaf\x98\x88\xf3\x89\x8b\x73\x8e\x64\x32\x89\x99\x99\ \x19\x4c\x4e\x4e\x62\x70\x70\x10\x83\x83\x83\x98\x9a\x9a\x42\x28\ \x14\xe2\x89\x44\x22\xc2\x39\x1f\xe7\x9c\x8f\x09\x21\x06\x84\x10\ \x3d\x44\xd4\xc3\x18\xeb\x27\xa2\x31\x64\x1c\xf5\x61\x00\x26\xb2\ \x89\xd3\xf7\x1b\x89\xe5\x11\x12\x43\x66\xe9\xe6\x07\x50\xcd\x39\ \x6f\x14\x42\x74\x08\x21\x76\x12\x51\x27\x63\xac\x99\x31\x56\xaf\ \x69\x5a\xb5\xc7\xe3\xd1\xab\xaa\xaa\xd0\xd8\xd8\x88\xd6\xd6\x56\ \x34\x34\x34\xa0\xaa\xaa\x0a\x2e\x97\x0b\x8a\xa2\x2c\x9b\x98\x0a\ \x41\x08\x81\x5f\xff\xfa\xd7\x78\xf3\xcd\x37\xf1\xf5\xaf\x7f\x1d\ \x4f\x3c\xf1\x44\xc1\x5d\x40\xf9\x7d\x52\x4f\x2d\x99\x4c\xe6\x34\ \xfb\xf3\xc7\x7d\x34\x1a\x45\x3a\x9d\x86\x69\x9a\xb0\x2c\x0b\x96\ \x65\xe5\x7e\xe7\x9c\xc3\x66\xb3\xc1\xed\x76\xc3\xe5\x72\xcd\x1a\ \xf7\x4e\xa7\x13\x81\x40\x00\x6e\xb7\x7b\x4d\x76\x21\x53\xa9\x14\ \xce\x9d\x3b\x87\x5f\xfd\xea\x57\xe8\xeb\xeb\x9b\x11\x42\xfc\x25\ \x11\xfd\x6f\x00\xa6\x96\x3b\x26\x97\x35\xd3\xa4\x25\x25\x84\xf8\ \x5f\xed\x76\xfb\x9f\x7e\xfa\xd3\x9f\x66\x4f\x3f\xfd\x74\xce\xa9\ \xbc\x52\xc8\xb0\xfe\xe9\xe9\x69\x4c\x4c\x4c\xa0\xbf\xbf\x1f\xfd\ \xfd\xfd\x98\x98\x98\x40\x30\x18\xcc\xe9\x4b\x69\x9a\x36\xeb\x95\ \xef\x27\xc8\x17\x1a\xcb\x97\x74\x91\xd5\x3f\xf2\xa5\x34\xe4\x4f\ \x87\xc3\x91\xd3\xf5\x91\x3f\x3d\x1e\x0f\x5c\x2e\x17\x86\x86\x86\ \xf0\xfc\xf3\xcf\x63\xcf\x9e\x3d\xf8\xca\x57\xbe\x02\xa7\xd3\xb9\ \x2a\x83\x77\x2e\xf2\x95\x1e\x4c\xd3\x44\x24\x12\x41\x28\x14\x42\ \x38\x1c\xc6\xe4\xe4\x24\x26\x26\x26\x30\x3d\x3d\x2d\xb5\xb6\x44\ \x34\x1a\x8d\xa5\xd3\xe9\x71\xce\xf9\x24\xe7\x7c\x06\x19\x29\x9a\ \x11\x22\x1a\xce\xfe\x9c\x24\xa2\x20\x32\x61\x12\x21\x64\xac\x31\ \x59\x9b\x70\x53\x10\xda\x9c\x25\x1a\x21\x13\x4c\xe9\x46\x86\x88\ \xfc\x42\x88\x80\x10\xa2\x0e\x19\x9f\x52\x33\x80\x66\x22\xaa\x65\ \x8c\x05\x18\x63\xd5\x76\xbb\xbd\xc6\xed\x76\xdb\xdc\x6e\x37\xf9\ \xfd\x7e\xd4\xd4\xd4\xa0\xb6\xb6\x16\x55\x55\x55\xf0\xf9\x7c\xf0\ \xfb\xfd\xb3\xc4\x13\x57\x8b\x98\xe6\x82\x88\x10\x8f\xc7\xf1\xfc\ \xf3\xcf\xe3\xca\x95\x2b\xf8\xca\x57\xbe\x82\xe6\xe6\x66\xc4\x62\ \x31\x44\x22\x91\x9c\x7e\x9a\xfc\x99\x48\x24\x72\xd2\x43\xf9\x12\ \x44\x8c\x31\xe8\xba\x3e\x4b\xfa\x25\x5f\x08\x52\xfe\x6e\x9a\x26\ \xd2\xe9\xf4\xac\x17\x90\xd1\xaf\xf2\xfb\xfd\xa8\xad\xad\x45\x6b\ \x6b\x2b\x5a\x5b\x5b\x73\xfd\xb1\x9a\xe9\x6a\x13\x13\x13\xf8\xf5\ \xaf\x7f\x8d\xd7\x5f\x7f\x9d\x27\x93\xc9\x3f\x23\xa2\x7f\x8a\x65\ \x5a\x56\xcb\x26\x2a\x21\xc4\x23\x44\xf4\xc2\x53\x4f\x3d\x55\xf7\ \xcd\x6f\x7e\x73\xc5\x65\xa9\x38\xe7\x98\x9a\x9a\xc2\xed\xdb\xb7\ \xf1\xc9\x27\x9f\xa0\xaf\xaf\x0f\xc1\x60\x10\xa9\x54\x0a\x6e\xb7\ \x1b\x3e\x9f\x0f\x0d\x0d\x0d\x68\x6e\x6e\x46\x20\x10\xc8\xdd\x28\ \x5d\xd7\x73\xa4\x23\x89\x2a\x5f\x58\x4c\xfe\xb4\x2c\x2b\x47\x54\ \xa9\x54\x0a\xf1\x78\x3c\x67\x89\xc9\x9f\xf1\x78\x3c\x37\x20\xe4\ \x71\xe9\x74\x1a\x96\x65\x41\x51\x14\x74\x75\x75\xe1\xb7\x7e\xeb\ \xb7\xe0\xf3\xf9\xd6\x64\x20\x17\xbc\x41\x79\x16\x9e\x9c\x40\x96\ \x65\xe5\xae\x3f\x12\x89\x60\x7a\x7a\x1a\x93\x93\x93\x98\x9c\x9c\ \x44\x30\x18\x44\x2c\x16\x93\x4f\x60\x9e\x4a\xa5\x12\x9c\xf3\x90\ \x10\x22\x24\x84\x08\xe5\xff\x0e\x20\x44\x44\x21\x00\x41\x22\x0a\ \x65\x5f\x31\x00\x09\x64\x64\x3f\x12\xc8\xf8\xc8\xac\x12\x5e\x1c\ \xf3\x25\x70\x08\x19\xeb\x46\x99\xf3\x52\x0b\xbc\xa7\x01\x70\x20\ \xb3\xbb\xe6\x10\x42\xb8\x85\x10\x7e\x00\x3e\x21\x84\x5f\xfe\x4e\ \x44\x7e\x22\xf2\x32\xc6\x3c\xd9\xdf\xfd\x8c\x31\x9f\x2d\x03\x72\ \x38\x1c\xf0\x78\x3c\x08\x04\x02\xa8\xad\xad\x45\x6d\x6d\x6d\x4e\ \x32\xc5\xed\x76\xc3\x66\xb3\xe5\x26\x74\x7e\x9f\xae\x17\x88\x08\ \xa1\x50\x08\x2f\xbe\xf8\x22\x2e\x5f\xbe\x9c\x1b\x5b\x52\xa5\x53\ \x8e\x69\x9b\xcd\x06\xa7\xd3\x39\xcb\x22\x72\xb9\x5c\x70\x3a\x9d\ \xb3\x8e\x93\x52\x46\xf9\x24\x25\x7f\x9a\xa6\x99\x23\x37\x39\xa6\ \xa5\xfe\xda\xd0\xd0\x10\x46\x47\x47\x11\x0a\x85\x10\x8d\x46\x61\ \xb3\xd9\xe0\xf7\xfb\xd1\xde\xde\x8e\x7d\xfb\xf6\x61\xeb\xd6\xad\ \xa8\xae\xae\x5e\xb1\xc5\x95\x4e\xa7\xf1\xe3\x1f\xff\x18\x2f\xbf\ \xfc\xf2\xb8\x10\xe2\x59\x22\x7a\x6f\x5d\x88\x2a\xaf\x12\xf1\xff\ \x5a\x53\x53\xf3\x3f\xfe\xe9\x9f\xfe\x29\x56\x52\xe4\x33\x1a\x8d\ \xe2\xe6\xcd\x9b\xf8\xe0\x83\x0f\x70\xfd\xfa\x75\x84\xc3\x61\x04\ \x02\x01\xb4\xb6\xb6\xa2\xad\xad\x0d\xf5\xf5\xf5\x39\x8d\x1e\x4d\ \xd3\xe6\x75\x5c\x21\x8d\xa9\x85\x9e\x08\x73\xdf\xcf\xd7\xa4\xca\ \xb6\x69\xd6\x4d\x95\xa4\x95\x4c\x26\xa1\x69\x1a\x9a\x9b\x9b\xe1\ \x70\x38\xd6\x75\x60\x2f\x84\xb9\x4b\xd4\x7c\x5d\x2d\x49\xb8\xf2\ \x25\x89\xb8\x10\x29\xe7\x2d\x2d\x44\x2a\x95\x12\x96\x65\x19\x00\ \x12\x42\x88\x04\x80\xa4\x10\xc2\x40\xa6\xb2\xaf\x95\xf7\x93\x23\ \x4b\x50\xf2\xfd\xec\x2b\x2d\x84\x48\x67\xaf\x4f\x43\x86\x7c\x54\ \x00\x8c\x88\x66\x11\x93\xfc\x7f\xde\x4f\x15\x80\x83\x88\x1c\x00\ \x1c\x8a\xa2\xe8\x36\x9b\x8d\xb2\xaf\xdc\xf2\x7c\xee\xe4\xf5\x78\ \x3c\xb9\xc9\x2b\xad\x62\xa7\xd3\x99\xf3\x27\xcd\x25\xf9\x72\x00\ \x11\x21\x91\x48\x60\x68\x68\x08\xe9\x74\x1a\x76\xbb\x7d\x96\x75\ \x2f\x1f\xbe\x72\xac\x17\xd2\xa2\x92\x6d\x2a\x84\x42\xf3\x60\xee\ \x67\xe5\x58\x0f\x87\xc3\x08\x06\x83\x18\x1b\x1b\xc3\x9d\x3b\x77\ \xd0\xdf\xdf\x8f\x99\x99\x19\x78\xbd\x5e\xec\xdc\xb9\x13\x0f\x3d\ \xf4\x10\x3a\x3b\x3b\x57\xb4\x29\xd6\xd7\xd7\x87\x3f\xfb\xb3\x3f\ \xc3\xe4\xe4\xe4\xbf\x62\x8c\xfd\x53\x60\xe9\x56\xfc\x72\xbd\x79\ \x2e\x21\xc4\xbe\x86\x86\x06\x34\x36\x36\x2e\xf9\xc3\x42\x08\x4c\ \x4c\x4c\xe0\xdc\xb9\x73\xf8\xe0\x83\x0f\x30\x34\x34\x04\xbf\xdf\ \x8f\xae\xae\x2e\xec\xdc\xb9\x13\x4d\x4d\x4d\xf0\x7a\xbd\x05\x9f\ \x7a\xa5\x38\xaf\x8b\xdd\xc0\x85\x20\xf5\xd3\xed\x76\x3b\x80\xc2\ \x03\xa3\x5c\x06\x7b\xa1\x6b\x21\xa2\xdc\xf5\x17\x23\x65\x69\x61\ \x4a\xb2\x32\x0c\x83\x52\xa9\x14\xa5\x52\x29\xbb\x61\x18\x76\xc3\ \x30\x02\x73\x9f\xc6\x72\xf9\x90\xaf\x90\x9a\xbf\xb4\x96\xff\x97\ \xd7\x52\x48\x91\x52\xbe\x2f\x97\xeb\xf9\x16\xb1\xfc\x29\x27\xed\ \xdc\x97\xb4\x20\xf2\xef\xcd\x5c\xb2\x9e\xfb\xb3\x5c\xee\xd7\xdc\ \x7b\xe1\x70\x38\xb0\x7d\xfb\xf6\x45\xef\x51\xb1\xf7\x4b\xf9\x9e\ \x42\xbf\x4b\x68\x9a\x96\x5b\x06\x6f\xdf\xbe\x1d\x47\x8f\x1e\x45\ \x38\x1c\xc6\xf0\xf0\x30\xae\x5f\xbf\x8e\xab\x57\xaf\xe2\xec\xd9\ \xb3\x68\x6e\x6e\xc6\x43\x0f\x3d\x84\x43\x87\x0e\xa1\xb6\xb6\x76\ \xc9\x4b\xc3\xc6\xc6\x46\x34\x34\x34\x60\x62\x62\x62\x3f\x00\x17\ \xb2\xb5\x31\x97\x82\xe5\x12\x55\x80\x88\x3a\xaa\xab\xab\x97\xb4\ \x73\x21\x84\xc0\xe8\xe8\x28\xce\x9c\x39\x83\x77\xdf\x7d\x17\xe1\ \x70\x18\x5b\xb7\x6e\xc5\xd7\xbf\xfe\x75\x74\x76\x76\xc2\xe7\xf3\ \xcd\xda\xf2\x5d\xad\x4a\xb2\x4b\xc5\x72\x07\x46\xb9\xa0\x94\x09\ \xaa\x28\x0a\x9c\x4e\x27\x9c\x4e\x27\x80\xc2\x56\xe8\x42\x13\x66\ \xb1\xef\xcd\x47\xb1\x01\x3d\xf7\xef\xc5\xae\x61\x21\x85\xd6\xcd\ \x88\x72\x21\xd1\xb9\xd7\x21\x7d\x76\xbb\x76\xed\xc2\xa7\x3e\xf5\ \x29\xdc\xbc\x79\x13\xe7\xcf\x9f\xc7\x8b\x2f\xbe\x88\x37\xde\x78\ \x03\x47\x8f\x1e\xc5\x91\x23\x47\xd0\xd0\xd0\x50\x32\x61\xa9\xaa\ \x8a\xea\xea\x6a\x10\xd1\x36\x00\x55\x58\x47\xa2\x72\x02\x08\x54\ \x57\x57\x97\x1c\x69\x3e\x35\x35\x85\xb7\xdf\x7e\x1b\x6f\xbd\xf5\ \x16\x12\x89\x04\xf6\xec\xd9\x83\x87\x1f\x7e\x18\x6d\x6d\x6d\xd0\ \x75\x7d\xd9\xe4\x34\xf7\x69\x3e\xd7\x91\x3e\xf7\x55\xa8\x12\x4d\ \xbe\x23\x52\xee\x1a\x6e\xd6\x9c\xac\xa5\xa0\xd8\x13\x77\xa9\x58\ \xea\x93\x76\xa9\x44\x78\xaf\x63\x21\xeb\x34\x9f\x4c\xf2\xfb\x68\ \xae\x03\x3d\xff\xbd\xb9\xaf\xa5\x5c\x83\xfc\x0e\xbf\xdf\x8f\xc3\ \x87\x0f\x63\xff\xfe\xfd\xb8\x73\xe7\x0e\xde\x7f\xff\x7d\x9c\x3a\ \x75\x0a\x6f\xbf\xfd\x36\x4e\x9c\x38\x81\xe3\xc7\x8f\x97\x24\xfc\ \xa7\x28\x8a\x3c\xae\x0a\x19\x3f\xe4\x92\xb1\x5c\xa2\x22\x00\xaa\ \x5c\x22\x2d\x86\x58\x2c\x86\xb3\x67\xcf\xe2\xd4\xa9\x53\x98\x9a\ \x9a\xc2\xfe\xfd\xfb\xf1\xc8\x23\x8f\xa0\xa5\xa5\x05\xaa\xaa\xe6\ \x6e\xca\x52\x6e\xa0\xdc\x8a\x95\xdb\xb0\x73\x6f\xec\x72\x91\x7f\ \xe3\x55\x55\x9d\xe5\xb0\xac\xa0\x82\xb5\x82\x2c\x89\x95\x4a\xa5\ \x72\x63\x7a\xa9\x16\xd7\x5c\xa2\x92\xbf\xcb\x10\x1d\xf9\x00\x9e\ \xeb\x7c\x5f\x0c\xf2\x1a\x54\x55\xc5\xf6\xed\xdb\xb1\x75\xeb\x56\ \x0c\x0e\x0e\xe2\xbd\xf7\xde\xc3\x4b\x2f\xbd\x84\x0f\x3e\xf8\x00\ \x4f\x3e\xf9\x24\x0e\x1f\x3e\x0c\x97\xcb\xb5\xe8\xb9\xb2\x5c\xa1\ \x60\x99\xb5\x44\x97\x44\x54\x79\xdb\xc4\x1d\x00\x6c\xe1\x70\x38\ \x67\xa5\x14\x6a\xe4\xcd\x9b\x37\xf1\xc2\x0b\x2f\xe0\xfa\xf5\xeb\ \xe8\xec\xec\xc4\x33\xcf\x3c\x83\x6d\xdb\xb6\x41\xd3\xb4\x45\x09\ \x2a\x9f\x8c\xe4\x16\x6b\x3e\x21\xad\x15\xf2\x2d\x32\xd3\x34\x91\ \x4c\x26\xa1\x28\x4a\xce\xef\xb3\x96\xba\xd6\x15\xdc\x7f\x90\x04\ \x95\x48\x24\x72\xa1\x03\xcb\xc5\x42\x4b\x61\xd3\x34\x67\xfd\x3f\ \x9f\xa4\x0a\xc5\x1c\xe6\x5b\x67\x73\xaf\x95\x31\x86\xf6\xf6\x76\ \x34\x37\x37\xe3\xe0\xc1\x83\xf8\xcd\x6f\x7e\x83\x1f\xfd\xe8\x47\ \x38\x7b\xf6\x2c\x9e\x7d\xf6\x59\x74\x76\x76\x2e\xc8\x05\xe1\x70\ \x18\x00\x3c\x00\x8e\x28\x8a\x72\x6d\xa9\xf5\x06\x97\x64\x2a\x74\ \x77\x77\x03\x40\x37\x80\x7f\x2b\x84\x68\xaf\xad\xad\xc5\x83\x0f\ \x3e\x38\x8f\x99\xe3\xf1\x38\x5e\x7b\xed\x35\xfc\xe8\x47\x3f\x42\ \x2a\x95\xc2\x97\xbe\xf4\x25\x3c\xf9\xe4\x93\xb9\x75\x6d\x21\x93\ \x5f\xee\x58\x25\x12\x09\xc4\xe3\x71\x24\x12\x09\x24\x93\xc9\x5c\ \x78\xc0\x6a\x58\x4c\xcb\x81\x10\x02\xe9\x74\x1a\xa9\x54\x0a\xa6\ \x69\xce\x72\x0a\x57\x50\xc1\x72\x20\x84\x80\x61\x18\xb9\x58\x29\ \xcb\xb2\xd6\xf5\xbb\xf3\x43\x76\xe4\xd8\xce\x0f\xcb\x31\x4d\x33\ \x67\x10\x14\xda\x5d\x66\x8c\xa1\xb6\xb6\x16\x5d\x5d\x5d\xa8\xa9\ \xa9\xc1\xc5\x8b\x17\xf1\xce\x3b\xef\x80\x88\xd0\xdc\xdc\x3c\x2f\ \x54\xc9\xb2\x2c\xbc\xfd\xf6\xdb\x18\x1a\x1a\x52\x89\xe8\x00\xe7\ \xfc\x23\x00\x77\xba\xbb\xbb\x71\xe9\xd2\xa5\x92\xae\xbb\x64\xa2\ \xca\x5a\x53\x3e\xce\xf9\xbf\xa9\xad\xad\x7d\xa2\xb6\xb6\x16\xa9\ \x54\x0a\x8f\x3c\xf2\xc8\xac\x0b\xeb\xeb\xeb\xc3\x8f\x7e\xf4\x23\ \xbc\xf9\xe6\x9b\xe8\xea\xea\xc2\xd7\xbe\xf6\x35\xec\xd8\xb1\x23\ \x17\xe3\x34\xb7\x01\xf9\x31\x4d\x92\x98\x36\x8a\x94\x8a\xdd\x60\ \x19\x29\x6c\x59\x56\x85\xb0\x2a\x58\x32\xe4\x43\x4f\x86\x87\xac\ \x27\x41\x95\x82\xb9\xe4\x95\x1f\x20\x0d\xcc\x8f\xe9\x93\x21\x3b\ \x3b\x77\xee\x44\x28\x14\xc2\x1b\x6f\xbc\x81\xfe\xfe\x7e\x34\x36\ \x36\xce\x52\x31\x4d\x26\x93\x38\x75\xea\x14\xaa\xaa\xaa\xe0\x70\ \x38\xfc\xa1\x50\xa8\x99\x88\x4e\x01\x88\xad\x2a\x51\x65\x03\x3c\ \x01\xe0\x0f\x74\x5d\xff\xee\xe7\x3f\xff\x79\x75\xcb\x96\x2d\xb8\ \x78\xf1\x22\xba\xba\xba\x50\x5d\x5d\x8d\x64\x32\x89\x37\xdf\x7c\ \x13\x7f\xf5\x57\x7f\x85\x70\x38\x8c\x2f\x7d\xe9\x4b\xf8\xcc\x67\ \x3e\x03\xaf\xd7\x3b\x8b\x74\xa4\xb9\x9b\x4f\x4e\xb2\x0a\xec\x66\ \x81\x0c\xa4\xab\x58\x58\x15\x94\x8a\x74\x3a\x8d\x58\x2c\x86\x58\ \x2c\x36\x6f\x39\x56\xae\x90\xc1\xc5\xf9\x61\x2c\x92\x5c\xf3\xc7\ \xbc\xdb\xed\xc6\xae\x5d\xbb\x10\x08\x04\x70\xfe\xfc\x79\x9c\x39\ \x73\x06\x9a\xa6\xa1\xa9\xa9\x09\xaa\xaa\xa2\xaf\xaf\x0f\xaf\xbf\ \xfe\x3a\x8e\x1f\x3f\x8e\x1d\x3b\x76\xe0\xda\xb5\x6b\xed\xa6\x69\ \x4e\x3e\xf7\xdc\x73\xef\xde\xb8\x71\xa3\x24\xab\xaa\x24\xa2\xea\ \xee\xee\x06\x11\x6d\x01\xf0\x6f\x0e\x1c\x38\xd0\xf2\xb9\xcf\x7d\ \x0e\x6e\xb7\x1b\x1f\x7e\xf8\x21\x38\xe7\xf0\xfb\xfd\xf8\xe9\x4f\ \x7f\x8a\x57\x5e\x79\x05\x9d\x9d\x9d\xf8\xfa\xd7\xbf\x8e\xdd\xbb\ \x77\x43\x51\x94\x1c\x01\x99\xa6\x99\x2b\x59\x2d\x2d\xa7\xcd\x44\ \x4e\x73\x21\x2d\x2c\xc3\x30\x60\x59\xd6\xbc\xdd\x97\x0a\x2a\x00\ \x32\x04\x25\x73\xf3\x36\xfb\x98\x97\x41\xa2\xd2\xda\x92\xe3\x9e\ \x88\xa0\xaa\x2a\x5a\x5a\x5a\xb0\x7d\xfb\x76\x4c\x4e\x4e\xe2\x8d\ \x37\xde\xc0\xc8\xc8\x08\xea\xeb\xeb\x71\xfa\xf4\x69\x8c\x8c\x8c\ \xe0\xe9\xa7\x9f\xc6\xd6\xad\x5b\x31\x39\x39\xc9\x86\x86\x86\x1a\ \x9e\x7f\xfe\xf9\x97\x00\x04\x57\x85\xa8\xf2\x22\xd1\xbf\xe5\xf1\ \x78\xbe\xfd\xec\xb3\xcf\xb2\x86\x86\x06\x38\x1c\x0e\xa4\x52\x29\ \xbc\xf7\xde\x7b\x38\x7b\xf6\x2c\x26\x27\x27\xf1\xf4\xd3\x4f\xe3\ \xa9\xa7\x9e\x42\x55\x55\x55\xee\x86\xc8\x1b\x25\xd3\x3a\x36\x2a\ \x36\x6a\xad\x50\x21\xac\x0a\x0a\x21\x9f\xa0\x0c\xc3\xd8\xd4\x04\ \x55\x08\xf9\xa4\x25\x2d\x44\xc6\x18\x7c\x3e\x1f\x76\xed\xda\x05\ \xb7\xdb\x9d\xd3\x59\xbf\x73\xe7\x0e\x8e\x1e\x3d\x8a\x7d\xfb\xf6\ \x41\xd3\x34\xd8\xed\x76\x5c\xba\x74\xa9\x26\x95\x4a\xdd\x22\xa2\ \x0f\x4a\xf1\x55\x95\xba\xeb\xe7\x10\x42\x3c\xd1\xde\xde\xae\xb6\ \xb6\xb6\xe6\x76\x00\x1e\x7f\xfc\x71\x74\x76\x76\x62\x64\x64\x04\ \xed\xed\xed\x39\x89\x61\xb9\x6b\x26\x1d\xe2\xf7\x1a\x39\x15\x02\ \xe7\x3c\x97\x44\x2a\x77\x09\x65\x1a\x47\x05\xf7\x0f\xd2\xe9\x34\ \x92\xc9\xe4\x7d\x35\xee\xa5\xba\x83\xae\xeb\x70\x38\x1c\xb0\xd9\ \x6c\x38\x7e\xfc\x38\xda\xda\xda\xd0\xd7\xd7\x87\xc6\xc6\x46\x6c\ \xd9\xb2\x25\x17\xcc\xdd\xd2\xd2\x82\xfa\xfa\x7a\x25\x12\x89\x7c\ \x1a\xc0\x5f\x20\x5b\x4e\x7e\x31\x94\x44\x54\x42\x88\x46\xc6\xd8\ \x81\x6d\xdb\xb6\xc1\x6e\xb7\xe7\x76\x0e\xec\x76\x3b\x76\xec\xd8\ \x81\x1d\x3b\x76\xcc\x4a\x98\x4d\x26\x93\x48\x24\x12\x9b\x66\x2d\ \xbe\x9a\xc8\x27\x2c\x5d\xd7\x73\x79\x5c\x15\xc2\xba\x77\x91\xbf\ \x33\x9c\xef\xc7\xb9\x9f\x20\x84\xc8\x2d\x09\x65\x4e\xa6\xcc\xd7\ \x95\x7f\x97\x56\xa5\xd3\xe9\xc4\x8e\x1d\x3b\x70\xeb\xd6\xad\xfd\ \x00\x1a\x01\xf4\x16\x3b\x7f\xa9\x44\xb5\xc7\xe9\x74\x36\xb4\xb4\ \xb4\xcc\x0a\x2f\x98\x1b\x94\x66\x18\x06\x62\xb1\x18\x0c\xc3\xd8\ \xe8\x7e\xdb\x70\xe4\x3f\x69\xa4\xb9\x5b\x09\x1e\xbd\xb7\x90\x1f\ \xa8\x29\x77\xab\xef\x77\x08\x21\x90\x4c\x26\x61\x18\x46\x2e\x41\ \x7c\x6e\xf8\x12\x63\x0c\xdb\xb6\x6d\x83\xc3\xe1\x68\x88\xc7\xe3\ \x7b\x19\x63\x45\x89\x6a\xd1\x28\x51\xe9\x9f\x12\x42\x1c\xf6\x7a\ \xbd\xce\xc6\xc6\xc6\x82\x6b\x6d\x21\x04\xe2\xf1\x38\x42\xa1\x50\ \x85\xa4\xe6\x40\xc6\xcc\xc8\x2c\xf5\x7b\xc1\xa9\x7a\x3f\x23\x3f\ \xc4\x60\x66\x66\x06\xe1\x70\xf8\x9e\xf4\xbd\xae\x14\x9c\x73\xc4\ \x62\x31\x84\xc3\xe1\x79\x2b\x2b\x21\x04\x1a\x1b\x1b\xe1\xf5\x7a\ \x9d\x42\x88\xc3\xc0\x3c\x15\xd6\x79\x28\xc5\xa2\x72\x03\x78\xa0\ \xa1\xa1\xa1\xa0\x3e\xb8\x65\x59\x39\x75\xcd\xca\xe4\x5b\x1c\xa6\ \x69\xe6\x7c\x77\x72\x59\x58\x48\xba\xa6\x82\xf2\x83\x74\x1e\x4b\ \x6b\xa1\x42\x4c\xa5\x41\x2e\x85\xa5\x16\x18\x90\x21\x2a\xb7\xdb\ \x8d\x86\x86\x06\x8c\x8c\x8c\x1c\x40\x26\x62\x3d\xb2\xd8\x79\x4a\ \x99\x21\xf5\x8c\xb1\xbd\xad\xad\xad\xf3\x2a\xc9\x48\xdd\xef\x64\ \x32\x59\x21\xa9\x25\x40\x2e\x0b\x43\xa1\x50\xc5\xca\x2a\x63\xc8\ \x6c\x89\x68\x34\x8a\x60\x30\x88\x50\x28\x74\xdf\x38\xc9\x57\x13\ \x92\x27\x52\xa9\x54\xee\x3d\x5d\xd7\xd1\xda\xda\x0a\xc6\xd8\x5e\ \x00\xf5\xc5\xce\x51\xd4\xa2\xe2\x9c\x77\x39\x1c\x8e\xfa\xb9\xfe\ \xa9\x74\x3a\x8d\x48\x24\xb2\xe2\x1c\xa5\xfb\x19\x72\x19\x91\x4e\ \xa7\x91\x48\x24\xa0\xaa\x2a\x6c\x36\x5b\x4e\x56\xb9\xe2\x80\x5f\ \x7f\xc8\x1d\xeb\xfc\xad\xf7\xca\x03\x64\xe5\xe0\x9c\x23\x12\x89\ \xe4\xb4\xc8\x88\x08\x2d\x2d\x2d\xb0\xdb\xed\x75\x89\x44\x62\x2f\ \x63\xec\xe6\x62\x9f\x5f\xd0\xa2\x5a\xcc\x3f\x25\x95\x01\x2b\x24\ \xb5\x7a\x90\x4f\xef\x48\x24\x82\x60\x30\x98\xb3\xb4\x2a\xcb\x8c\ \xb5\x45\xfe\x4e\xf5\xdc\xbe\xaf\x58\xb9\xab\x0b\xcb\xb2\x10\x89\ \x44\x60\x59\x56\xce\x4f\xe5\xf1\x78\x1c\xa5\xf8\xa9\x8a\x59\x54\ \x39\xff\x94\xc7\xe3\x99\xf5\x65\xf7\x63\xe8\xc1\x7a\x21\xbf\x10\ \x45\x3c\x1e\x87\xaa\xaa\xb9\x4a\x3a\xf2\xf7\x8a\xb5\xb5\x3c\xcc\ \x4d\xc8\x95\x55\x5c\xca\x31\xbf\x74\xf5\x40\x79\x2f\xa9\x1a\x2d\ \x6b\x64\x10\x0a\xcb\xdd\xaf\x0d\xe4\xea\x41\xca\x48\x37\x36\x36\ \x62\x6c\x6c\xec\x00\x8a\xf8\xa9\x8a\x11\x55\x03\x11\xe5\xfc\x53\ \xb2\x64\x55\xc5\x92\x5a\x3f\xcc\x5d\x1e\x4a\x69\x8e\x7c\xd2\x92\ \x65\x9d\x2a\xe4\x35\x1f\xd2\x62\x92\x92\x41\xf9\xb2\x41\xf7\x2e\ \x31\x49\x10\x00\x01\x26\x42\xd0\xf8\x2d\x68\xd6\x4d\x28\x62\x1a\ \x4c\x84\x21\xc8\x06\x4e\x7e\x98\xac\x05\x06\xdb\x09\x8b\xd5\x41\ \x40\x47\xb6\x5c\xe4\x9a\x22\x99\x4c\xe6\xc2\x75\x5a\x5b\x5b\xf1\ \xf1\xc7\x1f\xef\x05\xd0\x80\xe5\x12\x15\xe7\x7c\xaf\xc3\xe1\xa8\ \x95\xfe\x29\x59\x4f\xaf\x82\x8d\x83\xd4\xe4\x92\x0f\x0b\x99\x14\ \x2d\x49\x4b\x12\x57\x7e\xd9\xa4\xfb\x01\xf9\x9a\xfa\xf9\xa4\x24\ \xad\xa5\xfb\x83\x98\xf2\x41\x50\xc4\x38\x9c\xe9\xd7\xe1\x34\x5f\ \x87\xca\x07\xc0\x44\x18\x73\x2d\x27\x01\x3b\x2c\x56\x8b\x94\x72\ \x10\x31\xed\xf3\x48\x29\xbb\x91\xa1\x85\xb5\xeb\x2b\xb9\xd4\xd6\ \x75\x1d\x2d\x2d\x2d\x70\x38\x1c\xb5\x59\x3f\x55\xcf\x42\x9f\x29\ \x48\x54\x79\xfe\xa9\x07\x3d\x1e\x8f\xb3\xb1\xb1\x31\x27\xc9\x52\ \x41\x79\x41\x4e\x42\xb9\x14\xcf\x57\x29\x95\x62\x68\xf9\xaf\xb9\ \xb2\xb5\x9b\x09\xf9\x81\xc6\x92\x90\x16\x52\x7c\xbd\xbf\x48\x29\ \x1f\x99\xe5\x9d\xc3\x7c\x07\x3e\xbc\x01\x9b\x3a\x09\x52\x18\x40\ \x5b\x21\xcc\x10\x78\x6a\x00\xb2\xa4\x23\x29\x3e\x28\xb6\x56\xa8\ \x10\xb0\x51\x1f\x5c\xe2\xaf\x11\x49\xef\x42\x58\x7d\x16\x9c\xaa\ \xb1\x96\xd6\x95\xcc\x8d\x95\x7e\xaa\x78\x3c\xfe\x20\x80\x9f\x2f\ \x24\xa8\xb7\x98\x45\xe5\x04\xd0\x55\x5f\x5f\x0f\x8f\xc7\x93\x1b\ \x08\x15\x94\x37\xe6\xaa\x94\x4a\xcc\xd5\x85\x5f\xe8\x35\x57\x67\ \x7b\xb1\x92\x4b\xab\x71\xad\x73\x7f\xcf\xd7\xb7\xcf\x57\x75\x2d\ \xf4\x2a\x97\x02\x09\xe5\x03\x02\x21\x05\xb7\xf1\x02\xbc\xc6\x5f\ \x43\xb5\xf9\xa1\x38\x1f\x05\xa0\x00\x04\x08\x33\x04\x61\xce\x40\ \x58\x61\x00\x0c\xcc\xb1\x1d\xcc\xb1\x07\x80\x00\x88\x40\xa9\x3b\ \xf0\x84\x7f\x04\xd5\xbc\x89\xa0\xed\x8f\x61\xb2\x56\xac\x15\x59\ \x49\x3e\xf1\x78\x3c\xa8\xaf\xaf\xc7\xd8\xd8\xd8\x1e\x64\x38\xa7\ \x60\xde\xdf\x62\x44\x55\x45\x44\xbb\x5b\x5b\x5b\x61\xb3\xd9\x10\ \x8f\xc7\x2b\xbb\x4f\x9b\x18\xc5\x8a\x67\xcc\x25\xa7\x85\x8a\x5f\ \x2c\x46\x60\xc5\x4a\x74\xcd\x7d\x6f\xb1\x42\x1c\xf9\xc7\x54\x50\ \x2a\x38\x5c\xc6\x2f\xe1\x4b\xfd\x39\x08\x71\x70\xc3\x00\x33\xa7\ \x41\x6a\x0d\x20\x04\x48\x71\x83\xf4\x26\x88\x44\x28\xfb\x7b\x33\ \x72\x05\xb3\xb9\x09\x9e\xbc\x03\x08\x03\x0e\xf3\x4d\x10\xd2\x98\ \xb6\xff\x13\x58\x54\x8b\xb5\x58\x06\x4a\xf7\x85\xcc\x09\xbc\x78\ \xf1\xe2\x1e\x64\x8a\x3f\x2c\x8d\xa8\x38\xe7\x5b\xed\x76\x7b\x63\ \x73\x73\x33\x88\xa8\xe2\x40\xbf\xc7\x51\x21\x85\xcd\x0e\x06\xbb\ \xf9\x2e\xbc\xc6\x5f\x81\x90\x00\xc0\x00\x1e\x07\x4f\x0d\x40\x51\ \xab\x73\xc7\x30\x5b\x2b\x78\xf2\x36\x48\x6f\x06\x29\x6e\x64\x48\ \x88\x20\xcc\x19\xf0\xf4\x18\xe4\xee\xa0\xdd\x3c\x03\x6f\xea\xaf\ \x11\xb4\xff\x43\x08\xd8\xb1\x16\x64\x95\x4e\xa7\x73\xf2\xc5\x76\ \xbb\xbd\x21\x99\x4c\x6e\x63\x8c\x0d\x16\x6e\xdd\x02\x10\x42\xec\ \x73\x3a\x9d\xee\xfa\xfa\xfa\x9c\x73\xb2\x82\x0a\x2a\x28\x47\x10\ \x98\x08\xc2\x63\xfc\x14\x8a\x98\x40\x7e\x01\x74\x91\x1a\x84\xb0\ \xa2\x90\x3b\x80\xa4\x56\x81\xd9\xdb\xc0\x6c\xad\xb8\x3b\xfd\x05\ \xb8\xd1\x0f\xf0\x44\xde\x39\x05\x5c\xe6\xcb\xb0\x9b\x1f\x62\x19\ \x05\xd5\x4b\x82\x69\x9a\xb0\x2c\x0b\xf5\xf5\xf5\x70\x3a\x9d\x6e\ \x21\xc4\x3e\xa0\x70\x3c\xd5\x3c\xa2\xca\x1e\xc4\x00\xec\xf5\xfb\ \xfd\x8a\xcf\xe7\xab\xf8\xa7\x2a\xa8\xa0\xac\x41\x70\x98\xa7\x61\ \xb3\x3e\xc1\x6c\x2d\x4c\x82\xb0\xc2\x10\xc6\x70\xde\x5b\x2a\x98\ \xb3\x0b\xa4\x56\x21\x67\x4d\x59\x11\x88\xd4\xd0\xbc\x73\x92\x88\ \xc2\x95\xfe\x5b\x90\x90\x44\xb7\xba\x90\xbc\x92\x2d\x7a\xaa\x00\ \xd8\x8b\x05\x8c\xa7\x85\x2c\x2a\x3f\x80\xae\x86\x86\x06\xe8\xba\ \x5e\x91\xb0\xa8\xa0\x82\xb2\x05\x81\x10\x87\xc3\x7c\x1b\x84\x42\ \xa1\x43\x1c\x3c\x75\x07\x10\x77\x77\xec\x89\xb9\x01\xba\x4b\x68\ \xc2\x18\x86\xb0\x22\x98\x4f\x46\x04\x9b\xf5\x09\x74\x7e\x0b\x6b\ \x41\x54\xd2\x4f\xa5\xeb\x3a\x1a\x1a\x1a\x00\xa0\x0b\x19\xee\x99\ \x87\x82\x44\x25\x84\xa8\x63\x8c\x75\x34\x34\x34\x40\xd3\xb4\x8a\ \x7f\xaa\x82\x0a\xca\x16\x04\x95\x8f\x42\xb7\x6e\xa0\xf0\x74\x26\ \x08\x73\x3a\xcf\xff\x04\xcc\xf2\x37\xf1\x24\x78\xaa\x1f\x85\x77\ \xf7\x08\x4c\x44\xa0\x5b\x9f\x60\xad\xe2\xaa\xd2\xe9\x34\x34\x4d\ \x43\x43\x43\x03\x18\x63\x1d\x42\x88\x82\x09\xca\x0b\x11\xd5\x1e\ \xbb\xdd\x1e\xa8\xaf\xaf\x9f\xb7\xcd\x5d\x41\x05\x15\x94\x17\x32\ \xc1\x9c\x41\x2c\x68\xf5\x88\x34\x44\xf2\x0e\x20\xe6\xce\x63\x02\ \x4f\x8f\x43\x98\x53\x0b\x7f\x16\x16\x74\xeb\x3a\xd6\x2a\x4c\x41\ \x06\xe4\xd6\xd7\xd7\xc3\x6e\xb7\xfb\x85\x10\x5d\x85\x8e\x9b\x45\ \x54\x79\x4e\xac\x6e\xa7\xd3\xe9\xa8\xaf\xaf\xcf\x39\xbc\x2a\xa8\ \xa0\x82\xf2\x84\x22\xa6\x41\x45\x88\x84\xa7\xc7\x20\xcc\x19\xcc\ \x22\x24\x61\x42\xa4\xfa\x0a\x10\xd8\xdc\xf3\x87\x40\x22\x89\xb5\ \xf2\x53\x99\xa6\x29\x1d\xea\x0e\x00\x7b\x80\xf9\x0e\xf5\x42\x16\ \x95\x4d\x08\xb1\xa3\xaa\xaa\x0a\x1e\x8f\xa7\xe2\x9f\xaa\xa0\x82\ \x32\x07\x89\x18\x16\xb7\x78\x08\xe0\x49\x88\xf4\x28\xee\x2e\xe1\ \xb2\x4e\xf4\xf4\x44\xb1\xb3\x83\x90\x04\x61\x6d\x94\x7b\xa5\x9f\ \xca\xe3\xf1\xc8\xea\x55\xdb\x01\xe8\x73\x8f\x2b\x44\x54\x5e\x00\ \xdb\xf3\x1d\xe9\x15\x54\x50\x41\xf9\x42\x90\x0b\xc5\x35\x30\x05\ \x84\x98\x43\x36\xc2\x84\x10\x52\x49\x61\x91\xcf\xc1\x9e\x4d\x58\ \x5e\x1b\xcc\x71\xa8\x6f\x47\x86\x83\x66\x61\x5e\xeb\x84\x10\x35\ \x8a\xa2\x6c\xc9\x3a\xb7\x2a\xfe\xa9\x0a\x2a\x28\x73\x58\x54\x05\ \x51\x92\x58\xef\x5c\x94\xb6\x94\xb3\xc8\x0b\x41\x6b\x13\xf4\x09\ \x20\x57\x71\xbc\xa1\xa1\x01\x8a\xa2\xb4\x0a\x21\x6a\xe6\x1e\x53\ \x88\xa8\xb6\x3b\x1c\x0e\x8f\x74\xa4\x97\x8b\x7f\x6a\xa1\x5c\xb5\ \xcd\x96\x58\x5b\x41\x05\xab\x0d\x93\xb5\x80\x93\x0f\x6b\x43\x24\ \x0a\xd2\xca\x0e\x94\xa6\x5a\xbe\x3c\xc8\x64\xf2\xfa\xfa\x7a\x38\ \x1c\x0e\xaf\x10\xa2\x73\xee\x31\xb9\x14\x9a\x3c\xc5\x84\x9d\x0e\ \x87\xc3\x55\x57\x57\xb7\x61\x32\xac\xf9\x65\xa2\xf3\x65\x4b\xe6\ \x12\x53\x7e\xbe\x58\xbe\xe6\x90\x54\x10\xac\xa0\x82\x7b\x1f\x02\ \x26\x35\xc2\x50\x76\xc0\x61\x8e\xa1\x84\xe2\xe7\x4b\x3a\x37\x27\ \x0f\x52\xca\x7e\xc8\xc8\xf6\x35\x69\x41\xb6\xda\x78\x5d\x5d\x1d\ \x1c\x0e\x87\x2b\x1a\x8d\xee\x02\xf0\xcb\x7c\x25\x85\xb9\xb9\x7e\ \x0a\x80\xed\x55\x55\x55\x70\xb9\x5c\xeb\x2e\xc5\xaa\x28\x0a\x74\ \x5d\x87\xae\xeb\xb3\x04\xe1\x96\xd2\x60\xd9\xe8\x8a\xe6\x75\x05\ \xf7\x07\x04\x04\x39\x91\x50\x8f\xc1\x6e\x7e\x00\xc2\x6a\xba\x6a\ \x04\x52\x4a\x37\xd2\x6c\x1b\xd6\x52\x9f\x4a\x8a\x43\xba\x5c\x2e\ \x54\x55\x55\x61\x62\x62\x62\x3b\x32\x5c\x94\x5b\xce\xcd\xb5\xe7\ \xbc\x00\xb6\xd7\xd6\xd6\x42\xd3\xb4\x75\xf1\x4f\x11\x11\x34\x4d\ \x83\xc7\xe3\x41\x20\x10\x80\xd7\xeb\x85\xdd\x6e\x5f\x96\xdc\xae\ \x5c\x1a\xea\xba\x0e\x97\xcb\x05\xbf\xdf\x0f\xbf\xdf\x0f\x87\xc3\ \x51\x29\x49\x55\xc1\x3d\x0c\x81\x84\x7a\x1c\x86\xd2\x8d\xd5\x8b\ \x77\x12\x10\xe4\x46\x4c\x7b\x06\x9c\x3c\x58\x6b\xa9\x62\xd3\x34\ \xa1\x69\x1a\x6a\x6b\x6b\x81\x8c\x43\xdd\x93\xff\xf7\xb9\x16\x95\ \x9f\x88\xb6\x55\x57\x57\x43\x51\x94\x35\xf7\x4f\x69\x9a\x96\xab\ \x55\xbf\x16\x44\x22\x49\x4b\x7e\x8f\x2c\xb5\x5e\x09\xb7\x58\x5d\ \x10\x11\x68\x8e\x63\x56\x40\x14\x7c\xaf\x62\xdd\xae\x05\x04\x38\ \x05\x10\xd1\x7f\x07\x6a\xf2\x36\x14\x31\x27\x5e\x6a\x59\x20\xc4\ \xd4\x27\x90\x54\x0f\x61\x3d\xf4\xd4\x2d\xcb\x82\xa2\x28\xa8\xae\ \xae\x06\x11\x6d\x03\x10\x00\x10\x94\x7f\x9f\x45\x54\x9c\xf3\x76\ \x5d\xd7\x7d\xd5\xd5\xd5\x6b\xea\x48\x67\x8c\xc1\xe9\x74\xae\x9b\ \xa5\x23\xad\x36\x59\x8e\x2a\x1e\x8f\x57\x2a\x3a\xaf\x10\x84\x8c\ \x1f\xd1\x14\x26\xc2\x89\x19\x8c\x87\x86\x30\x16\x1d\x44\x32\x95\ \x80\x69\x58\xe0\x26\xc0\x34\x40\xd5\x55\x38\xed\x4e\x34\x7a\xda\ \x50\xe3\x69\x80\xd7\xe6\x07\x23\x25\xb3\x4c\x5f\xa7\x82\x02\xf7\ \x07\x38\x12\xea\x11\xa8\xfa\xdf\x83\x2f\xf5\xfd\x6c\xde\xdf\x72\ \xc9\x8a\x23\xa9\x3e\x8c\xb0\xed\xef\xaf\x99\xc4\xcb\x5c\x48\x87\ \x7a\x75\x75\x35\x74\x5d\x0f\x18\x86\xd1\xce\x18\xbb\x2d\xff\x3e\ \xd7\xa2\xda\x6a\xb3\xd9\x9c\xd5\xd5\xd5\x6b\xe6\x9f\x92\xcb\xb2\ \xb9\xc5\x4c\xd7\x03\x44\x94\xab\x9b\x17\x8f\xc7\x11\x8f\xc7\x2b\ \x4f\xf8\x25\x82\x40\x00\x11\x22\xa9\x19\xf4\x8c\x5d\xc2\x9d\xb1\ \x5e\x0c\x4c\xde\x46\x24\x12\x46\xda\x92\x45\x13\x20\x13\xf3\x41\ \x04\x30\xa6\x40\x53\x35\xf8\x7d\x01\xb4\xd6\x6c\x45\x7b\xc3\x76\ \x74\xd4\xec\x81\x4b\xf7\xdc\xd7\x84\x45\xd9\xfe\x29\x44\x27\x42\ \x00\x7c\xc9\xdd\xa2\x20\xaa\x3f\x03\xc0\x84\xd7\xf8\x9b\x6c\x5a\ \xcd\x5d\x43\x80\x72\x95\x68\xb0\xc0\x17\x0b\x00\x0c\x09\xf5\x18\ \x42\xb6\x7f\x08\x8b\xea\x51\x74\x29\x29\x1b\x31\xef\x64\x22\xd3\ \x88\x12\xe7\x97\xf4\x53\x55\x57\x57\xc3\x66\xb3\x39\x0c\xc3\xe8\ \x00\xf0\x86\xfc\xbb\x0a\xcc\xda\xf1\x6b\xb7\xdb\xed\x9a\xdf\xef\ \x5f\x13\x27\xb4\xc3\xe1\x80\xcb\xe5\x82\xa2\xac\xe6\xce\xc4\xd2\ \xc1\x18\x83\xdb\xed\x86\xaa\xaa\x88\x46\xa3\x65\x13\x82\x51\xee\ \x20\x62\x48\xa4\xa3\xb8\x36\xf2\x31\xce\xf5\xbc\x83\x91\x89\x41\ \x98\xa6\x09\x82\xdc\x8d\x25\xb0\xac\xec\xed\xac\x71\xcb\x81\xb4\ \x91\xc6\xf8\xf8\x18\xc6\xc6\x47\xf0\xf1\xcd\x73\xd8\xd2\xd0\x8e\ \xc3\x9d\xc7\xd0\x59\xdf\x05\x5d\x71\x40\x88\xfb\x67\x39\xce\x28\ \x43\x09\xc1\x18\xc7\xc0\x84\x85\xa1\x49\x0b\xd3\x11\x0e\xd3\x02\ \x7c\x2e\x86\xfa\x00\x43\x5b\x9d\x82\x3a\x9f\x02\x4d\x05\x38\x2f\ \xd5\xa6\xc9\x04\x67\x46\xf4\xdf\x81\xc9\x1a\xe1\x35\xfe\x26\x9b\ \xac\x9c\x09\xea\xe4\xe9\x49\x88\xf8\x25\x00\x19\xd2\x12\x3c\x96\ \xfd\x5b\xa6\xef\x2d\xaa\x46\x5c\x7b\x12\x11\xfd\x24\x2c\xaa\xc1\ \xa2\x24\xc5\x18\x60\x59\x60\xa1\x29\xb0\xd1\x7e\xb0\xe9\x31\x50\ \x34\x08\x80\x81\x7b\xfd\xe0\xd5\x8d\xe0\xf5\x2d\x10\x9e\x40\xe6\ \xd8\x22\xee\x16\xb9\x09\xe6\xf7\xfb\x61\xb7\xdb\xb5\x48\x24\xd2\ \x06\x64\xb8\xe9\xb9\xe7\x9e\x9b\x65\x51\x69\x00\x5a\xb3\x07\xae\ \xea\xd2\x88\x88\xe0\x74\x3a\xe1\x72\xb9\x96\x15\xf7\x54\xca\x67\ \x96\x43\xaa\x76\xbb\x1d\x8c\xb1\x4a\x9d\xc2\x12\x40\x44\xb8\x3d\ \x7d\x15\xa7\xaf\xbc\x82\xbe\xa1\x5b\x30\xd3\x69\x10\x31\x30\x2a\ \xfd\xa1\x93\xf1\x65\x29\x30\xd3\x16\x7a\xfb\x7b\x30\x38\xd6\x8f\ \xed\xad\x3b\x71\x7c\xcf\xd3\x68\xf4\xb4\xde\xf3\xd6\x2d\x51\xc6\ \xc0\xe8\x1d\x31\xf1\xd2\xb9\x24\xce\x5c\x33\x70\x73\xd8\x44\x22\ \x05\x58\x5c\x40\x08\x40\x61\x80\xaa\x10\x9a\x6b\x14\x1c\xe8\xd0\ \xf0\xb9\x43\x76\x1c\xec\xd4\x60\xd7\xa8\x44\x0b\x4b\x5a\x45\x8f\ \xc3\x60\x7b\xe0\x34\x5f\x85\xd3\x7c\x03\x2a\x1f\x04\x4b\x8f\x65\ \xd3\x68\xf2\x8f\xd6\x61\xb1\x66\xa4\x94\xfd\x88\x69\x5f\x80\xa1\ \x74\x41\x40\xc3\x82\x24\x45\x0c\xb0\xd2\x50\x6f\x5e\x84\x76\xe6\ \x14\xd4\x1b\x1f\x81\x8d\x0d\x00\x69\x03\xc4\x33\x0f\x7c\xc1\x14\ \x40\xb7\xc3\x6a\x6a\x87\xb9\xfb\x10\xd2\x47\x9e\x84\xd5\xd2\x99\ \x21\xac\x45\xee\xb1\x69\x9a\xb0\xdb\xed\xf0\xfb\xfd\x18\x1f\x1f\ \x6f\x45\x26\x95\xc6\x00\x66\x2f\xfd\xdc\x00\xda\x6a\x6a\x6a\xa0\ \x28\xca\xaa\x4d\x5c\x22\x82\xcb\xe5\x82\xd3\xe9\x5c\x12\x49\xe5\ \x1f\x9b\x4c\x26\x91\x4c\x26\x91\x4e\xa7\x73\xbf\xab\xaa\x0a\x87\ \xc3\x91\x73\x96\x3b\x9d\xce\x9c\xa5\xb6\x94\x01\xaf\xeb\x3a\xbc\ \x5e\x6f\xa5\x3c\xfd\x02\x20\x10\x2c\x58\xb8\x34\x78\x16\xaf\x5e\ \x7a\x01\xe3\x74\x1b\x36\xe6\x07\x5b\xa1\xef\x82\x41\x41\x92\x85\ \xf1\x61\xf0\x35\x4c\xbc\x3f\x82\x27\xba\xbf\x8c\x1d\x75\xdd\x1b\ \xdd\xdc\x35\x03\x23\x20\x14\x17\xf8\xd5\x07\x29\x9c\xbe\x6a\xa1\ \x7f\x9c\xc3\xe2\x0a\xfc\x1e\x05\x49\xc3\x80\x65\x89\x5c\x2d\xd0\ \x1a\xbf\x06\x0b\x0a\xce\xdd\x14\xb8\x3d\x6e\xe0\x60\x87\x85\x67\ \x1e\xd6\xd0\xd9\xa8\x2e\x61\x39\x28\x60\xb1\x7a\x44\xf4\x6f\x22\ \xa6\x7d\x1e\xba\xd5\x0b\x8d\xdf\x84\x22\x26\xc1\x44\x04\x02\x36\ \x58\x2c\x00\x93\x5a\x60\x28\x3b\x61\xb1\xc6\xbc\xba\x7e\x0b\x7c\ \x09\x63\x60\x13\x43\xb0\xbd\xfc\x1c\xf4\x33\xa7\xc0\x8c\x04\x94\ \x40\x2d\x50\x5d\x87\x59\xaa\xa2\x96\x09\x11\x8f\x80\xf5\x5d\x83\ \xda\xf3\x09\xf4\x33\x2f\xc3\x38\xf6\x45\xa4\x3e\xf3\x75\x08\x7f\ \xf5\x82\xd6\x95\x69\x9a\x70\x38\x1c\xa8\xa9\xa9\xc1\x8d\x1b\x37\ \xda\x00\xb8\x50\x88\xa8\x88\x68\x8b\x24\xaa\xd5\xd8\x19\x93\x96\ \xd4\x52\x48\x8a\x88\x20\x84\x40\x34\x1a\xc5\xe4\xe4\x24\x06\x07\ \x07\x31\x3a\x3a\x8a\x48\x24\x82\x54\x2a\x95\x73\xba\xc9\x50\x04\ \xb9\xa3\x57\x53\x53\x83\xe6\xe6\x66\x34\x36\x36\xc2\xe7\xf3\x41\ \xd3\xb4\x92\x09\x4b\x86\x47\x84\xc3\xe1\x8a\x65\x35\x0b\x84\x34\ \x37\x70\xa6\xf7\x35\x9c\xbe\xf8\x1a\x92\x89\x14\xa8\x89\x23\xbc\ \xfb\x1a\x9c\xfd\xad\xd0\x67\x02\x4b\x3f\xa5\x20\x80\x71\xa4\x6a\ \x27\x90\x68\x1e\x82\x63\x60\x0b\xc6\x47\x27\xf1\x8b\xd8\x8f\xf1\ \xe9\x03\x5f\xc0\x03\xad\x47\x41\x6b\x18\x05\xbd\x11\x60\x04\x8c\ \x4c\x73\xfc\xdb\x17\xa3\x78\xfd\x13\x03\xc7\xf7\xfb\x71\x62\xbf\ \x9e\x09\x56\x16\xc0\xfb\x57\xc2\xb8\x7e\x27\x0e\x08\xc0\xeb\x56\ \xf1\x68\xb7\x0f\x6e\x67\xa6\xb6\x5e\x3a\x2d\xf0\xd2\xb9\x20\xde\ \xbd\x1c\xc7\x9f\x7e\xd5\x83\x87\x77\xea\x4b\x78\x3c\x64\x6b\x1d\ \x52\x00\x49\xf5\x21\x24\x71\x18\x80\x05\x82\x95\x4d\xb9\x51\x90\ \xf1\x61\x49\x72\x5a\x64\xce\x13\x41\xe9\xbd\x0c\xc7\x4f\xff\x2d\ \xd4\x2b\x67\x01\xc1\xa1\xb4\xed\x80\x7e\xe0\x91\x02\xbc\x26\x20\ \x4c\x13\x3c\x34\x0d\xb3\xf7\x0a\x30\x3e\x04\xfb\x8b\x7f\x0e\x65\ \xe0\x26\x12\xbf\xfd\x8f\xc0\x1b\xdb\x81\x02\x4b\x7d\xce\x39\x14\ \x45\x41\x4d\x4d\x0d\x88\x68\x0b\x32\xc6\xd3\x0c\x90\x47\x54\x9c\ \xf3\x46\x5d\xd7\x03\x55\x55\x55\xab\x16\xd9\x2d\x7d\x52\xa5\x90\ \x94\x3c\x26\x18\x0c\xe2\xda\xb5\x6b\xe8\xed\xed\x45\x30\x18\x9c\ \xb5\x04\x2d\x74\x9e\x54\x2a\x85\x68\x34\x8a\x89\x89\x09\xdc\xb8\ \x71\x03\x4e\xa7\x13\x4d\x4d\x4d\xd8\xb3\x67\x0f\x5a\x5a\x5a\xa0\ \xaa\x6a\x49\x6d\x91\x64\x15\x0a\x85\x2a\xe1\x0b\x39\x08\x7c\xd8\ \x77\x1a\x6f\x5e\x78\x05\x69\x23\x23\xc4\x6f\x1b\xaf\x43\xaa\x7a\ \x0a\xa1\xee\x8b\x70\x0e\x6c\x81\x63\xa8\x19\x2c\x65\x03\xa8\x84\ \xf1\x22\x08\x96\x23\x81\x78\x6b\x3f\x92\x8d\x23\xb0\x0f\x37\xc1\ \x36\x5d\x05\x10\x21\x1a\x89\xe1\x95\x0f\x7f\x01\x5d\xb5\xa1\xbb\ \xf9\xa1\x7b\x66\x19\xc8\x08\x98\x0c\x73\xfc\xef\xff\x31\x8c\x57\ \xce\xa7\x00\x01\x0c\x4f\xa4\x50\x1f\xd0\x41\x44\x50\x08\xd8\xda\ \x68\xc7\xed\x91\x24\x0c\x83\xa3\xb5\xde\x0e\xaf\x2b\x33\x2d\x89\ \x08\xe3\xd1\x34\x26\x66\xd2\x18\x1c\xe5\xf8\x17\x3f\x0a\xe3\x7f\ \xf9\x2f\xbc\x38\xbc\x43\x5f\xa2\xa3\x5d\xe0\x6e\xec\x24\x41\xe4\ \xa6\x7d\xfe\xfb\x8b\x80\x18\x94\xfe\xeb\x70\xfe\xe5\xbf\x82\x72\ \xfb\x6a\x66\x09\x07\x96\x75\xa4\x2b\x99\x7b\x3f\x67\x6e\x92\xa2\ \x42\xa9\x6b\x02\xf3\x06\x60\x5c\x3e\x07\x6b\xa0\x17\xda\xb9\xd7\ \x41\x89\x08\xe2\x7f\xf0\x3f\x81\xd7\xb5\xcc\xb3\xac\x64\x55\xeb\ \xaa\xaa\x2a\xe8\xba\xee\x37\x0c\xa3\x91\x31\x36\x00\x64\xe3\xed\ \xbb\xbb\xbb\x21\x84\x78\xd4\xe9\x74\x7e\xfd\xd8\xb1\x63\x9a\xcb\ \xe5\x5a\x71\xb1\x51\x5d\xd7\xe1\xf1\x78\x4a\x0a\x3f\x20\x22\x44\ \xa3\x51\x5c\xbc\x78\x11\xef\xbc\xf3\x0e\x7a\x7a\x7a\x10\x8b\xc5\ \x72\x96\x53\x7e\x29\x27\xcb\xb2\x10\x8d\x46\x21\x84\xc8\x05\x85\ \xca\x97\x10\x02\xa9\x54\x0a\x53\x53\x53\xe8\xeb\xeb\xc3\xcc\xcc\ \x0c\x1c\x0e\x07\xdc\x6e\x77\x49\xd7\x21\x23\xe1\x2b\x4b\xc0\xcc\ \x3d\xb9\x3a\xfa\x11\x4e\x9d\x7f\x11\xa9\x44\xea\x6e\x49\x2c\xae\ \x40\x4d\x38\x91\xaa\x9d\x40\xaa\x7e\x02\xa6\x3b\x02\x25\x65\x87\ \x92\x74\x2c\x7c\x32\x41\x00\x13\x48\xd5\x4e\x20\xb2\xf3\x06\x52\ \x0d\xe3\x50\xa3\x1e\x78\x7a\xb6\x83\xa5\xf5\xec\xee\x20\x21\x9d\ \x36\x31\x12\x1a\x40\x43\x4d\x33\x02\xce\x9a\x12\xaf\xb4\x7c\x41\ \x00\x92\x69\x81\x7f\xf7\xcb\x18\x5e\x7c\x37\x99\x33\x3c\x0c\x53\ \x60\x4b\xbd\x0d\x36\x8d\x41\x08\xc0\xae\x2b\x98\x98\x31\x60\x98\ \x02\x07\x77\x7a\xe0\x76\x48\x17\x06\x70\xf9\x76\x0c\xa3\x53\x06\ \xc0\x80\x50\x44\xe0\xd6\x98\x85\x43\x3b\x74\x04\xdc\x6c\x7d\xf6\ \x4a\x89\xc0\x82\x93\x70\xfe\xf5\xbf\x86\x7a\xfd\x7c\x96\xa4\x32\ \x60\xbe\x6a\x28\x8d\xad\x00\xe7\x30\x07\x6f\xc1\x1a\x1b\x02\x9f\ \x1e\x87\x98\x99\x84\x48\xa7\xc1\xec\x0e\x90\x6e\x03\x73\xfb\xc0\ \xa7\x46\x21\x52\x49\xb0\xc9\x11\x50\x2c\x0c\x73\xf7\x61\x40\xb7\ \xcd\xfb\x3a\x4d\xd3\x60\x59\x16\x3e\xfe\xf8\x63\x18\x86\xf1\x1b\ \x22\xba\x7c\xe9\xd2\x25\x28\x72\xc7\x8f\x73\xfe\x79\xaf\xd7\xfb\ \xf9\xc7\x1e\x7b\x2c\x13\x1f\xb3\x82\x25\x90\xa2\x28\xf0\x7a\xbd\ \x50\x55\xb5\xe8\xb1\x44\x84\x91\x91\x11\xbc\xf1\xc6\x1b\xb8\x7c\ \xf9\x32\x62\xb1\xd8\xa2\xa5\xc8\xa7\xa7\xa7\x31\x36\x36\x86\x44\ \x22\x01\xb7\xdb\x3d\x6f\x07\x51\x7e\xd6\xb2\x2c\x4c\x4c\x4c\xa0\ \xaf\xaf\x0f\x44\x84\xda\xda\xda\x92\x76\x1b\x55\x55\xbd\xef\x55\ \x4d\x89\x18\x46\x23\x03\xf8\xe5\xd9\xff\x88\x50\x30\x08\xa2\x3c\ \x92\x27\x80\x19\x3a\x20\x08\xe9\xaa\x69\x58\xee\x38\x8c\xaa\x69\ \x40\xe1\x50\xe3\x2e\x90\xa9\xce\xde\xf1\xcb\x5a\x51\xb1\x6d\xb7\ \x11\xeb\xb8\x0d\xcb\x15\x07\xa5\x55\xb8\x7b\xb6\x43\x0f\xfa\x67\ \x59\x62\x44\x84\x44\x22\x8e\xe9\xf8\x38\xb6\x35\xec\x84\x43\x75\ \x6e\x74\x57\xac\x08\x8c\x01\x6f\x5d\x34\xf0\xff\x7b\x31\x8a\x54\ \x1a\xb9\xdd\xd0\x54\x5a\xc0\xef\x56\x51\xe3\xd3\x00\x64\x9c\xe7\ \x9c\x03\x0a\x23\xec\x68\x75\x64\xc7\x30\x10\x8a\x9a\xb8\xd0\x13\ \x41\x2a\x2d\x72\x9f\x1d\x9b\xe6\x20\x02\x8e\xec\xb2\x61\xbd\x92\ \x2d\x6c\xaf\xfc\x14\xfa\x1b\x2f\xcc\xb3\x9a\xee\x12\x95\x05\xe3\ \x93\x0f\x60\x0d\xdc\x04\x9f\x1c\x85\x35\x31\x0c\x3e\x3a\x00\xb2\ \x3b\xc0\xfc\x35\x20\xdd\x06\x1e\x8f\x82\x4f\x67\xb4\xaf\x94\x91\ \x3b\xe0\x35\x4d\xb0\xda\x77\x63\xee\xba\x51\xa6\xd1\x7d\xf8\xe1\ \x87\x5a\x2c\x16\x3b\xcb\x18\x7b\xb7\xbb\xbb\x3b\xe7\x0c\x20\x00\ \x6d\x3e\x9f\x0f\x76\xbb\x7d\xc5\xdb\xf5\x0e\x87\x03\x9a\xa6\x15\ \x3d\x4e\x08\x81\x9e\x9e\x1e\x9c\x3a\x75\x0a\x03\x03\x03\x10\x42\ \x14\x5d\x26\x2e\xa5\x1c\x39\x11\x21\x16\x8b\xe1\xdd\x77\xdf\xc5\ \xe9\xd3\xa7\x73\x24\x58\xec\x33\xf9\x8e\xf9\xfb\x11\x16\x4f\xe3\ \x6c\xef\xdb\x98\x98\x1a\x9f\x4d\x52\x79\x70\x8c\x36\x40\x9f\xcc\ \x58\x3d\xdc\x96\x42\x74\xdb\x2d\x84\xf6\x5e\xca\x90\x16\x90\xb1\ \xa2\x48\x20\x55\x37\x8e\x50\xf7\x45\xc4\x5b\x07\xc0\xd5\x34\x20\ \x32\x9f\xb5\x4d\xd6\x14\x5c\x2e\x12\x31\x0c\x8c\xf4\xe1\x42\xff\ \x7b\x9b\x3a\xbe\x8a\x08\x08\xc5\x04\xfe\xe3\xdb\x09\x44\xe3\x62\ \x16\x79\x73\x4b\xe0\xf6\x48\x32\x43\x40\xc8\x58\x4e\x5b\xea\x6d\ \xe8\xee\x70\x41\x61\x77\x0f\xec\x1f\x4f\x21\x92\xb0\xe6\x85\x28\ \xfd\xfa\x5c\x12\x97\xfa\xd2\x6b\x4f\x54\xc4\xc0\x46\xfa\xa0\x9f\ \xfe\x25\x20\x16\xe1\x04\x91\xfb\xe7\xee\x5b\x46\x0a\x7c\x6a\x3c\ \xd3\x38\x62\x60\x1e\x7f\x86\xb9\x89\x00\x23\x05\xdb\x6f\x7e\x0e\ \x36\x3d\x36\x8f\xfc\x2c\xcb\x82\xdd\x6e\x87\xcf\xe7\x03\x80\x36\ \x64\x5b\x2f\x9b\xea\x00\xd0\xe8\xf3\xf9\x56\x9c\x3a\x23\x9d\xdb\ \xc5\x20\x84\xc0\xc5\x8b\x17\xf1\xfa\xeb\xaf\x63\x7a\x7a\xba\x64\ \x67\xbb\xdf\xef\x47\x4b\x4b\x0b\x64\xe1\x89\xa2\x7d\x9d\xb5\xae\ \x3e\xfe\xf8\x63\xbc\xf6\xda\x6b\x08\x87\xc3\x45\xbf\x4b\x55\x55\ \x38\x9d\x9b\xfb\x69\xbe\x5c\x10\x31\x0c\xcc\xdc\xc2\xd5\xbe\x8f\ \x41\x62\xe1\x7e\xa2\xb4\x06\x57\x5f\x3b\x94\x84\x3d\xfb\xb4\x17\ \x30\xaa\xa7\x11\xda\x7b\x09\xb1\xad\xb7\x61\x7a\xc3\x88\x6c\xef\ \x41\xb8\xeb\x32\xd2\xfe\x10\x32\x65\xc3\x01\x35\xe2\x81\xb3\xbf\ \x15\x64\x2d\xfc\x20\x10\x1c\xf8\xf8\xe6\x59\x4c\x44\x87\x37\xad\ \x8c\x0f\x23\xe0\x62\x5f\x1a\xe7\x6f\x1a\x85\x8a\xbb\x60\x7c\xc6\ \xc0\xc4\x8c\x91\x9b\xa7\x76\x9d\xc1\xef\x56\xe5\x9f\x11\x4f\x72\ \xdc\x19\x49\xce\xf7\x39\x13\x30\x19\xe4\x78\xf5\x42\x12\x6b\x1f\ \xfe\x27\xa0\x7d\xfc\x2e\xd8\x68\x7f\x26\x2c\x61\x21\xd0\xc2\x9f\ \x97\x04\x46\x8a\x7a\xf7\x40\xc6\xa0\xf4\xdf\x80\x7a\xf5\xec\xbc\ \xf3\xca\x54\x9a\x2c\x51\x35\x23\x53\xe6\x3d\x47\x54\x76\x00\x0d\ \x5e\xaf\x37\xe7\xeb\x59\x0e\xa4\x35\x52\xcc\x1f\x44\x44\xb8\x79\ \xf3\x26\xde\x7b\xef\x3d\xc4\xe3\xf1\x25\x0d\x46\x45\x51\xe0\xf1\ \x78\x60\xb7\xdb\x97\x7c\x7d\xb7\x6e\xdd\xc2\xbb\xef\xbe\x8b\x64\ \x32\x59\xf4\x3b\xed\x76\x7b\x49\x44\x78\xaf\xc1\xe4\x06\x3e\xbc\ \x75\x1a\xd1\x68\x11\xeb\x93\x04\xb4\xb0\x17\xce\x81\x2d\x00\xcf\ \x1e\x27\xa4\x75\x75\x1b\x33\x0f\x7c\x94\xb5\xa2\xcc\xdc\xc3\x96\ \x4c\x05\xae\x3b\x6d\x50\xe2\xce\x45\x9d\xef\x44\x84\xe9\xe0\x14\ \x3e\xba\xf3\x1e\xf8\x26\x0d\x04\xb5\x38\xf0\x61\x8f\x31\xcf\x9a\ \x92\x48\xa7\x33\x56\x95\x65\x15\xe8\x07\x02\x46\xa6\x52\x98\x0a\ \xa7\x17\x24\x81\x73\x37\xd2\x08\xc5\x38\xd6\x92\xc7\x29\x95\xcc\ \x90\x09\x2f\xc2\x88\x92\x8f\x64\x24\xba\x10\x80\xaa\x82\xf9\xab\ \xb3\x44\x24\xc0\x63\xe1\xd9\xe7\x31\x92\x50\xaf\x9e\x07\xcc\xd9\ \xf1\x9a\x72\x55\xe5\xf5\x7a\x01\xa0\x01\x19\x6e\xba\x6b\x51\x11\ \x51\x83\xc7\xe3\xc9\x1d\xbc\x1c\x68\x9a\x56\x34\x35\x46\xfa\xa4\ \xde\x7d\xf7\x5d\x24\x12\x89\x65\x3d\x31\x57\xb2\x23\x74\xe3\xc6\ \x0d\x9c\x3f\x7f\xbe\xa8\x0f\x8a\x31\x56\x92\x65\x78\x2f\x81\x88\ \x30\x15\x1b\x45\xdf\x48\xef\xbc\x84\xe2\x85\x60\x1f\x6e\x82\x6d\ \xaa\x7a\xf6\x84\x22\x0e\xae\x1b\x98\xbb\x1c\xb0\x8f\xd5\xc3\x36\ \x51\x5b\xda\xc5\x08\xe0\xe6\xd0\x35\xc4\x8c\x70\xc9\xd7\x52\x2e\ \x20\x00\xf1\x94\xc0\xe5\x3e\x73\xd1\x50\xb3\xa1\x89\x14\x82\x51\ \x73\x1e\xd9\xa4\xcd\x45\x48\x2c\xfb\x05\xc3\x53\x16\xfa\x27\xac\ \xb5\x23\x2a\x62\xa0\x99\x71\x28\x23\x77\x50\xf4\x4b\x18\x83\xba\ \x65\x1b\xd4\xed\x7b\xa1\x6e\xdf\x0b\x6d\xc7\x3e\xd8\x1e\x78\x14\ \xca\x96\x8c\xfe\x9d\x48\xc4\x61\x8d\xcd\xad\xd4\x4e\x50\xfa\x6f\ \x80\xa2\xa1\x59\xe7\x97\x73\xdb\xe3\xf1\x80\x88\xea\x91\x59\xed\ \x65\xf6\x29\x39\xe7\xd5\xaa\xaa\x7a\xbc\x5e\x6f\x36\x57\x6b\x79\ \x44\x20\x23\xbd\x17\x6c\x3b\x11\x22\x91\x08\x4e\x9f\x3e\x8d\x99\ \x99\x99\x0d\x31\xeb\x2d\xcb\xc2\x85\x0b\x17\x10\x08\x04\xb0\x7b\ \xf7\xee\x45\xdb\x2a\xf3\x02\xef\x97\x5d\x40\x02\x61\x60\xaa\x0f\ \x91\x58\xf1\xe5\xb1\x04\x33\x74\x38\xef\xb4\x21\xed\x89\x80\xdb\ \x52\x0b\x9d\x18\x6a\xd4\x95\x59\xf2\x99\x6a\x49\xa1\x0c\x44\x0c\ \x33\xe1\x29\x0c\x05\xfb\xb0\xbb\xfe\x81\xcd\x15\xae\x40\x19\xb2\ \x19\x0f\x59\x8b\x1e\x13\x4b\x5a\xb8\x33\x9a\x44\x95\xf7\xae\xe5\ \x4e\x04\x4c\x86\xd2\x18\x9d\x36\xb0\x18\x3f\xc7\x53\x02\xd3\x11\ \xbe\x76\x14\x4e\x04\x8a\x86\x40\xf1\x42\x85\x49\xf3\x21\x32\x44\ \xb5\x6d\xf7\xbc\xcf\x43\x00\x48\x1b\x30\x6f\x5d\x01\x0f\x4e\xcd\ \x26\x3c\x22\x50\x64\x06\x94\x4a\x42\xc8\x90\x7d\x20\x27\x84\x99\ \xdd\x8c\xf3\x58\x96\x55\x43\x44\x83\x92\x55\x1a\x35\x4d\xb3\x7b\ \x3c\x9e\x65\xef\x76\xa9\xaa\x5a\xd4\x9a\x12\x42\xe0\xda\xb5\x6b\ \x18\x1e\xde\x38\xdf\x03\x11\x21\x95\x4a\xe1\xc2\x85\x0b\x88\x44\ \x22\x8b\x5e\x87\x94\x89\xb9\x5f\x90\xe6\x06\x6e\x8d\x5d\x03\xb7\ \x96\x40\x0a\x24\xa0\x07\xfd\x70\x0e\xb6\x64\x1c\xe8\x85\x0e\xb1\ \x18\x9c\xfd\xad\x50\xa3\xee\xd2\xe2\xad\xb2\x30\x8c\x34\xfa\x27\ \x7a\x61\x89\xcd\x97\x8b\x99\x34\x04\x62\x49\x51\x74\x8e\x0f\x4e\ \xa4\x90\x32\xf2\x08\x47\x64\x2c\xad\x54\x6a\xb1\xe0\xcb\x4c\x88\ \x43\x34\x29\xd6\xd0\xa2\x02\x28\x19\x07\x92\x89\xe2\x16\x55\xc1\ \xb6\x09\x40\x70\xa4\x6f\x5f\x47\xfa\xd6\xb5\x82\xa9\x33\x94\x8c\ \x83\x8c\xc4\xbc\xf7\x4d\xd3\x84\xc7\xe3\x81\xa6\x69\x36\x21\x44\ \x23\x70\x37\xe0\xb3\x41\xd3\x34\x9b\xdb\xed\x5e\x36\x51\xe9\xba\ \xbe\xe8\x4e\x19\x11\x61\x7a\x7a\x1a\x57\xae\x5c\xc9\xc5\x47\x6d\ \x14\x88\x08\xe3\xe3\xe3\xb8\x71\xe3\x06\x0e\x1e\x3c\xb8\xe8\xb1\ \x36\x9b\x0d\x89\x44\xa2\x2c\x82\x40\x19\x63\xb0\xd9\x6c\x39\x05\ \xd4\xb9\x7d\x28\x03\xe6\x0c\xc3\x80\x61\x18\x4b\xbe\x97\x69\xd3\ \xc0\xe4\x74\xb1\xf2\x49\x05\x20\x08\x8e\xa1\x66\x18\x55\xd3\x30\ \xaa\x66\x66\x2f\x77\x08\xb0\x4d\xd4\xc2\x3e\xda\xb0\x8c\xf3\x02\ \xfd\x53\xb7\x60\x5a\x06\x34\xc5\x56\xd2\x47\xd6\xba\x8f\x4a\x85\ \xaa\x12\x54\x85\x72\x2a\x12\x0b\xc1\xeb\x52\xa1\xaa\x74\xb7\xcb\ \x28\xf3\x1e\x53\x08\x7c\x91\xa8\x4e\x85\x11\x74\x75\x0d\x05\x58\ \x04\x00\x55\x03\x54\x15\x30\x92\xc5\xc9\x6a\x81\xbf\x2b\xb5\x8d\ \xb0\x46\x07\xc0\xa7\xc7\xe7\x1f\xa3\xaa\x10\xca\x7c\x3f\xb0\x69\ \x9a\x70\xbb\xdd\xd0\x34\xcd\x9e\x48\x24\x1a\x80\xbb\x44\xd5\xa8\ \x69\x9a\xee\x72\xb9\x96\xb5\xe3\x47\x44\x45\x2d\x0f\xce\x39\xae\ \x5e\xbd\xba\x61\x4b\xbe\x42\xd7\x73\xf9\xf2\x65\x74\x74\x74\xc0\ \xef\xf7\x2f\xb8\xb4\x90\xba\xed\x1b\xad\x5f\x65\xb3\xd9\xe0\xf7\ \xfb\x4b\x4a\x47\x12\x42\xc0\x30\x0c\x84\x42\x21\xc4\x62\xb1\x92\ \x96\x4d\x44\x84\xa8\x11\x42\x2a\x9d\x5c\x96\x4f\x88\x2c\x25\x13\ \x5f\x55\x00\x2c\x65\x03\xf1\xe5\xed\xa5\x9b\x49\x13\xbc\xc4\x65\ \x9f\xcd\x66\x43\x20\x10\x80\xc3\xe1\x28\xb9\x8f\x82\xc1\xe0\x9a\ \xc8\xfd\xd8\x54\x42\xc0\x4d\xe8\x5b\xe4\x18\x55\x25\x6c\x6d\xb4\ \x43\x55\x68\x96\xc1\xd1\x5c\xa3\x23\xe0\x51\x31\x15\x5c\xc0\x99\ \x2e\x00\xbb\x9e\x51\x5a\x58\x4b\xa6\x12\x4e\x37\x84\xc3\x05\x8a\ \x47\x8b\x1c\x2a\xc0\x23\x41\xc0\xcc\x06\x8b\x11\x81\xec\xce\x4c\ \x1c\x55\xa0\x06\x5a\xd7\x83\x30\xce\xbd\x05\x91\x88\xe5\x91\x95\ \x00\x77\x7a\x01\xdd\x3e\xaf\x0d\x96\x65\xc1\xe5\x72\x41\xcb\xec\ \x66\x35\x02\x59\x67\xba\x10\xa2\x21\xfb\x87\x65\xdd\x30\xc6\xd8\ \xa2\xc1\x9d\x32\xf2\xbc\xb7\xb7\xb7\x6c\x7c\x0d\x44\x84\x99\x99\ \x19\xf4\xf5\xf5\x15\x3d\x6e\xa3\x77\xff\x6c\x36\x1b\x6a\x6b\x6b\ \x97\x94\x8e\x64\xb3\xd9\x50\x53\x53\x03\xb7\xdb\x5d\x5a\x7f\x80\ \x10\x36\x66\x90\x32\x13\x25\x1d\x3f\x0b\x82\x32\x91\xea\x35\x93\ \xf3\x27\x8e\x00\x92\x0d\xa3\x30\x02\x33\x0b\x2e\x0d\x17\xbb\x26\ \x23\x6d\x20\x9e\x8e\x14\x25\x4f\x9b\xcd\x86\xba\xba\xba\x92\xf3\ \x4a\x65\x1f\xd5\xd6\xd6\x96\xdc\x47\x25\x77\x87\x00\xec\x3a\x61\ \x5b\xe3\x22\x01\xcf\x02\xa8\xf5\x6b\xa8\xaf\xd2\x67\x91\x94\x10\ \x80\xd3\xae\xa0\xad\xde\xbe\xa8\x25\xe6\x77\x31\x34\x55\x2b\xcb\ \xd0\xac\x2a\xbd\x11\xdc\x5f\x0b\xe1\xaf\x2d\x98\x97\x97\xd7\x93\ \x99\x80\xcf\x8b\x1f\x20\xf9\xee\x2b\x48\xbe\xf7\x0a\x52\x67\x5e\ \x45\xea\x83\x37\x60\x4d\x8c\x00\x00\x94\x40\x2d\x94\xfa\xe6\xf9\ \xe7\xaf\x6b\x81\x70\xba\x31\x2f\x06\x4b\x08\x68\x9a\x06\x97\xcb\ \x05\x21\x44\x03\xb2\x7b\x87\x4e\x64\x43\x13\x18\x63\xcb\x22\x12\ \x55\x55\x8b\x86\x24\x4c\x4c\x4c\x20\x14\x0a\x95\x85\x35\x25\x61\ \x59\x16\x86\x86\x86\x8a\x3a\xcb\x97\xa3\xdf\xbe\x5a\x60\x8c\xc1\ \xef\xf7\x2f\x6a\xb1\x0a\x21\x10\x8b\xc5\xe6\x59\x7d\x8c\xb1\x5c\ \x82\x76\x71\x10\x12\x46\x1c\x86\x65\x2c\xad\xad\x82\x60\x39\xe3\ \x88\xb7\xf5\x43\xa8\x85\xad\x71\x6e\x33\x10\x6b\xbb\x93\xdd\x09\ \x5c\x1a\x12\xe9\x38\x22\xc6\x4c\x51\x5f\xa2\xdf\xef\x9f\xd7\x4e\ \xce\x39\xa2\xd1\xe8\xa2\xcb\xbb\x85\x3e\xbb\x52\xd8\x34\xe0\xc1\ \x4e\x0d\x0b\x9d\x96\x31\xa0\xbd\xd1\x01\xbb\x3e\x7f\xde\x10\x01\ \x6d\x0d\xf6\x4c\x2a\x4d\xa1\xe9\x28\x80\xae\x36\x0d\xf5\x7e\x56\ \xaa\x2e\xdd\xd2\x21\x04\x84\xc7\x0f\xb3\x73\x1f\x8a\x2a\x85\x0a\ \x64\xac\x29\xd3\x00\xcc\x74\x26\xd8\x73\x7a\x1c\xd6\x70\x5f\x86\ \x79\x99\x02\x16\xa8\x9d\xbd\xf4\x63\x0a\xcc\xed\xfb\x33\x44\x25\ \xe6\x13\x15\x63\x4c\x86\x28\xd4\x03\x70\x30\x64\xe2\x14\x6a\x57\ \x4a\x54\x8b\x0d\x24\x21\x04\x06\x07\x07\xcb\x2e\x2d\x85\x88\x30\ \x36\x36\x86\x68\x34\xba\xe8\xf5\x6f\x24\x51\x15\x0b\xa0\x4d\xa7\ \xd3\x98\x98\x98\xc0\xe8\xe8\x28\x0c\x63\x3e\xc9\xe8\xba\xbe\xb6\ \xc1\xab\x8c\x23\xbe\x65\x10\x69\x4f\x78\x9e\x6f\x2a\x07\x01\x18\ \x55\xd3\x48\x34\x0d\xaf\x6b\x1f\x09\x21\x30\x33\x33\x83\x91\x91\ \x91\x45\x97\xc0\xa5\x06\x29\x2f\x05\x42\x00\x07\x3b\x75\xb4\xd6\ \xaa\xf3\x45\x09\x44\xc6\x0f\xd5\x52\x7b\xd7\xef\xc6\x45\x66\xa7\ \x50\x7e\xd6\xe7\x56\xd1\x5c\x5b\xd8\x2f\xa7\xeb\x84\x13\xdd\x36\ \xd8\xb5\x35\x1e\x93\x8c\x21\xbd\xff\x28\x84\xcb\xb3\xb8\x52\x27\ \xcd\xfb\x05\x20\x40\x98\xe6\xdd\xcf\x29\xea\xdd\x3c\x41\x21\xc0\ \xfd\x35\x30\xf7\x3e\xb4\x40\xdf\xcd\x22\xaa\x6a\x00\x36\x86\x8c\ \x38\x55\x20\x1b\xb7\xb0\xac\xf6\x14\x73\xa2\x27\x12\x09\x8c\x8e\ \x8e\x2e\xe1\x8c\xeb\x03\x99\x62\x33\x36\x36\xb6\xe8\x71\xb2\xa6\ \xe0\x46\x40\xd3\xb4\x82\xdf\xcd\x39\x47\x38\x1c\xc6\xf0\xf0\x30\ \x82\xc1\xe0\xa2\xbe\xc5\xd2\x76\x2e\x05\x1c\xba\x13\xba\xa2\x97\ \xfe\xb0\x12\x84\x54\xd5\x34\x92\x8d\x79\x04\x44\x00\x33\x6c\xb0\ \x8d\xd7\x66\x42\x11\x72\x9d\x28\x90\xd8\x32\x88\xb4\x37\xbc\xa4\ \x25\xa0\x43\x75\xc2\xa3\x07\x16\xbd\xa6\x85\xfa\x08\xc8\x0c\xfa\ \x78\x3c\x8e\x91\x91\x11\x4c\x4c\x4c\x2c\xe8\x6b\x5c\xed\xdd\x5d\ \x2e\x80\x2d\xb5\x0a\xbe\x78\xc4\x0e\x36\x77\x7a\x10\xd0\x5a\x6f\ \x87\xc7\xa9\x64\x32\x4c\xb2\x91\xea\x3d\x83\xf1\x1c\xd7\x2b\x2c\ \xa3\xaa\xa0\xcf\xb5\xb8\x38\x70\xb0\x53\xc3\x89\xbd\x4b\x91\x7b\ \x59\x6e\x23\x38\xac\x1d\x07\x60\xee\x3b\xba\xf8\xf2\x2f\x17\xec\ \xc9\x67\xc9\x0f\x33\xbb\x33\x4b\x4e\x02\x22\x1e\x45\x7e\x28\x7d\ \xfa\xf0\x67\x60\xb5\xee\x5c\x50\x9b\x8a\x88\x90\x8d\xeb\x0c\x00\ \xb0\x31\x21\x84\x9d\x31\xe6\x77\xb9\x5c\xcb\x6a\x8b\xd4\x85\x5a\ \x0c\x89\x44\x02\xd1\x68\xb4\xc4\x33\xae\x2f\x4c\xd3\x44\x30\x18\ \x5c\x94\xa4\x4b\x69\xe3\x5a\xa1\x90\xef\xcf\x34\x4d\x8c\x8f\x8f\ \x63\x6c\x6c\xac\xa8\xca\x05\x11\x95\x54\x1f\x51\x40\xc0\xab\x07\ \x60\x53\x4b\xb7\x2c\xb8\x2d\x85\x78\x7b\x1f\xb8\x9e\x5d\x3a\x13\ \xa0\x24\xec\xf0\x5c\xdf\x01\xdf\xa5\xbd\x70\xf7\x76\xe4\xd4\x11\ \x20\x90\x91\x78\x69\xbb\x03\xa1\x96\x66\x59\x0b\x88\x8c\x45\xa8\ \x79\x16\xcd\xfb\x2b\x96\xfc\x4e\x44\xe0\x9c\x23\x18\x0c\x62\x78\ \x78\x78\xde\x58\x94\xc5\x6e\x57\x1b\x8c\x80\x67\x1e\xb6\x63\xff\ \x36\x6d\x96\x55\xe5\xb0\x31\xb4\x37\xd8\x73\x2b\x21\xce\x81\xdb\ \xc3\x09\x5c\xef\x8f\x23\x9e\xb0\x72\x4a\xa0\xb5\x7e\x1d\xf5\x01\ \xed\xae\xa5\x2a\x00\xbf\x87\xe1\x77\x3f\xed\x44\x95\x67\x0d\x97\ \x7d\xf9\xf7\xc0\xee\x44\xea\x89\xdf\x06\xaf\x6e\x5c\x98\xac\x88\ \xc0\xbc\x01\xb0\xaa\x3a\xb0\x40\x2d\x58\x55\x1d\xd4\xf6\x9d\x50\ \xda\xb2\x01\x9f\x69\x23\xb3\xeb\x97\x6d\xac\xd5\xd2\x01\xe3\xf1\ \xaf\x00\x45\x96\xdb\x2e\x97\x0b\x8c\x31\xbf\x10\xc2\xc6\x84\x10\ \x3e\x45\x51\x1c\xcb\x4d\x46\x2e\x36\x89\xa5\x6c\x4a\x2a\x95\x2a\ \x2b\xff\x94\x84\x10\x02\x89\x44\xa2\xa8\x15\xb1\x51\x44\x55\x68\ \xb9\x2c\x77\x59\x4b\x49\x9c\x96\xdb\xf1\xc5\xda\x27\x84\x80\x5b\ \xf7\xc1\xa6\xd9\x4b\x4e\x06\x4e\x34\x0f\xc1\xf0\x07\x73\x5b\xf0\ \x6a\xc4\x0d\xef\x95\x3d\xb0\x8f\xd5\x83\x2c\x05\xce\xc1\x16\x78\ \xae\xef\xb8\x9b\x0f\x28\x80\x54\xed\x04\x92\x0d\xa5\x5b\xd7\xaa\ \x4d\x05\x2b\x32\x6e\x4a\x1d\xb7\xb2\xdf\xe6\x92\x92\xec\xa3\xd5\ \x06\x17\x40\x53\xb5\x82\xff\xe6\x59\x37\x5a\xea\x94\x9c\x3e\x5d\ \x53\x8d\x0d\x01\xaf\x9a\xb3\xa6\xc2\x31\x13\x83\xd9\x28\xf5\xc1\ \x89\xbb\x0f\x1e\x5d\x23\x6c\x6d\x74\x80\x65\xc3\x1c\x74\x15\xf8\ \xbd\x27\x9d\x38\xd1\x6d\x5b\x3b\x27\xfa\xbc\x46\x70\x98\x3b\x0e\ \x20\xf9\xe5\x3f\x84\xb0\xbb\x0a\x2c\x01\x05\xa0\x28\xd0\xf6\x1e\ \x86\xed\xc8\x13\xb0\x1d\xf9\x0c\x6c\x47\x3e\x03\x7d\xdf\x91\x4c\ \x22\xb2\x10\xb0\x06\x6f\xc3\x9a\x1c\xc9\xf8\xbd\xfc\xd5\x48\x7e\ \xed\x8f\x61\xb5\x74\x2c\xaa\xa3\x2e\x93\x93\x15\x45\x71\x08\x21\ \xbc\x0c\x40\x8d\xa2\x28\x9a\xcd\x66\x5b\xb3\x58\xa1\x64\x32\x99\ \x1b\x08\x96\x65\x61\x72\x72\x12\xd3\xd3\xd3\x1b\x12\x9b\x14\x8f\ \xc7\x31\x36\x36\x86\x58\x2c\x36\xeb\xfa\x16\xf3\x9f\x2d\x26\x3b\ \xb3\xd6\x48\xa7\xd3\xf3\xfa\x49\x51\x14\x54\x55\x55\xa1\xa9\xa9\ \x09\xa5\x2c\xd9\x4b\x0d\xad\xd0\x54\x1d\x35\x55\x25\xa4\xb8\x08\ \x42\xda\x1f\x44\xa2\x65\x10\x60\x99\x81\xab\x05\x7d\xf0\x5e\xd9\ \x03\x7d\xaa\x7a\xd6\x71\xf6\xd1\x06\x78\xaf\xee\x86\x1a\x75\x65\ \xfc\x16\x0a\x47\xbc\x75\x00\xa6\x2b\x56\xd2\x12\x70\x4b\xcd\x36\ \xa8\xca\xe2\xcb\x32\xc3\x30\x16\x1d\x4b\x42\x88\xdc\xae\x60\x43\ \x43\x43\xc1\x3c\xd1\xb5\x0a\x3f\xe1\x02\x38\xb4\x43\xc7\x3f\xfe\ \x9a\x07\x5b\xea\x15\xa8\x0a\xa1\xa3\xc9\x01\x5d\x65\x60\x59\x1d\ \xae\xfe\xf1\x14\xa2\x71\x0b\x82\x03\x7d\x23\x49\x18\x69\x01\xc6\ \x32\x63\xae\xa5\xce\x86\x2a\xb7\x0a\x87\x8d\xf0\xf7\x3f\xeb\xc2\ \x37\x1f\x77\x42\x5d\x77\x61\x0f\x82\xf1\xe8\x17\x90\x7c\xf6\x0f\ \x21\x5c\xde\xbb\x04\x43\xc8\x2a\x22\x30\x90\xcd\x0e\xb2\x3b\x32\ \x2f\xdd\x0e\x10\x83\x48\x1b\x30\xfb\xae\x23\x7d\xe3\x63\x20\x6d\ \x80\x57\xd5\x21\xf1\xf5\x7f\x84\xf4\x03\x27\x8a\x56\xa7\xe1\x9c\ \xc3\x66\xb3\x41\x51\x14\x1d\x40\x8d\x0a\xa0\x5a\x51\x14\x7d\xb9\ \x44\x55\x6c\x12\x0b\x21\x90\x4c\x26\x73\x4f\x74\xa9\xc6\x29\x9f\ \x6e\x1e\x8f\x67\xdd\x42\x16\x38\xe7\x98\x9c\x9c\xcc\xc9\x1a\xcb\ \x78\x1b\x29\x71\x5c\x8e\xd2\x2e\xe9\x74\x1a\x89\x44\x02\x85\x96\ \xe6\x76\xbb\x1d\xf5\xf5\xf5\x70\xb9\x5c\x08\x06\x83\x8b\x7e\xbe\ \x14\x68\x4c\xc7\xb6\xfa\x9d\xb8\x72\xeb\x93\x45\x55\x69\x85\x96\ \x46\xac\xed\x0e\x2c\x7b\x46\xb1\xd2\x36\x59\x03\x77\xcf\xf6\x05\ \x23\xcf\xf5\xa9\x6a\x78\xaf\xec\x41\x64\xc7\x0d\xa4\x7d\x21\x98\ \xae\x28\xe2\xad\xfd\xf0\x5c\xdf\xb9\x68\x7c\x95\x6e\xd3\xd0\x56\ \xdb\x01\x85\x54\xf0\x45\xa2\xd3\x17\xeb\x23\x45\x51\x10\x08\x04\ \x16\xdd\x39\x5d\x4a\x1f\x2d\x17\x9f\x7d\xc0\x86\x2a\x0f\xc3\x0f\ \x5f\x4d\x20\x6d\x71\xdc\x1a\x49\x80\x11\xc1\xb4\x04\x6e\x0d\x25\ \x32\xf3\x96\x80\xf1\xa0\x81\xeb\xfd\x71\xf8\xdd\x6a\x36\x7e\x8c\ \xb0\x73\x8b\x8e\xcf\x1c\xb0\xe3\xcb\x47\x1d\xb0\x69\xb4\x2e\x4b\ \xbe\xd9\x10\x80\xa6\x23\xf5\xf4\x37\x21\xaa\xea\x61\x7b\xf1\xcf\ \xa1\x0c\xdd\x82\x88\x45\x60\x8d\xf4\xcf\x3f\xdc\x32\xc1\xa3\x61\ \xf0\xe9\x71\xf0\x89\x91\x8c\xc5\xda\xb9\x0f\x89\x2f\xff\x11\xcc\ \xee\x23\xb9\x44\xe5\xc5\x90\x47\x54\x1a\x80\x6a\x15\x59\x8b\x4a\ \xd7\x97\xe0\x44\xcd\x6f\x42\x09\x9f\xc9\x37\xb5\x75\x5d\xcf\x55\ \x46\x5e\x6e\xdc\xd6\x72\x41\x44\x70\x38\x1c\xb3\x48\x4a\x08\x01\ \x45\x51\xca\xb6\xe4\xbb\xf4\xad\xc8\x22\x16\x73\x21\x77\x47\xf2\ \xdb\x33\xf7\xb3\xa5\x5a\x0b\x02\x02\x2d\xd5\x5b\xe1\x71\x79\x17\ \x95\xc3\x49\x34\x8e\x20\x55\x33\x05\xf0\x8c\xc5\xe4\xb9\xd9\x09\ \x96\xb4\x2f\x9a\x1e\xa3\x05\xfd\xf0\x5e\xd9\x83\xe8\xf6\x1e\xa4\ \x6a\x26\x91\xac\x1f\x83\x3e\x55\x0d\xfb\x58\x7d\xc1\xcf\x09\xc1\ \x11\xf0\xd4\xa1\xd9\xdf\x5e\xb4\x94\xd6\x42\x7d\xc4\x18\x43\x6d\ \x6d\x2d\x34\x4d\x5b\xb0\x2d\x4b\xed\xa3\xe5\x42\x00\x38\xb4\x5d\ \x43\x5b\x9d\x82\x97\x3f\x4c\xe2\xc5\x33\x49\xdc\x1c\x36\x91\x4c\ \x89\xcc\x43\x21\xbb\x34\x4e\xa7\x04\x3e\xb8\x1c\x86\xa2\x02\x0d\ \x55\x0a\x3e\xbd\xdf\x86\xaf\x7c\xde\x81\x1d\xcd\x6a\xe6\x90\x65\ \x4c\x17\x06\x06\x10\x60\x09\x0b\x42\x70\x58\x82\x83\x11\x81\x88\ \x41\x81\x92\x1b\x37\x8b\x2e\xf9\xb3\x61\x06\xc6\x23\x4f\xc1\x6c\ \xdf\x05\xfd\xf4\x2f\xa1\x9f\x7d\x0d\xd6\xb9\xb7\x32\xa1\x09\x42\ \x36\x42\xb6\x96\x20\x34\x1d\xbc\xb9\x03\xe9\x47\x9e\x82\xf1\xc8\ \xd3\xe0\x35\x8d\xb8\x5b\xf4\xb1\x48\x7f\x09\x21\xdd\x1b\xb3\x2d\ \xaa\x95\x90\xc6\x62\x9f\x93\xe4\xc0\x18\x03\xe7\x1c\x0e\x87\x03\ \x5b\xb6\x6c\x01\x80\x75\x0f\xa4\x24\x22\x54\x57\x57\xc3\xeb\xf5\ \xe6\x06\xaf\x10\x42\xae\x85\x17\x6d\xdf\x46\x06\xaa\xa6\x52\x29\ \x4c\x4c\x4c\xc0\xef\xf7\x2f\x18\x75\x9d\xff\xa0\x91\xc5\x1c\x83\ \xc1\xe0\xac\x25\x6e\x31\x08\x21\x50\xe3\x6a\x40\x5b\x43\x07\x3e\ \x09\x9f\x9f\x1f\x64\x29\x08\xa6\x27\x82\xf8\x96\x01\x00\x80\x73\ \x60\x0b\x5c\xb7\xb7\x66\x22\xd2\x8b\xe5\xf0\x91\x80\x1a\x75\xc3\ \x73\x6d\x17\xa8\xf3\x26\x92\x0d\xa3\x88\xb7\xdf\x81\x16\xf6\x42\ \x49\x16\x90\xec\x21\xa0\xb3\x65\x17\x5c\xba\xb7\x24\x9f\x59\xa1\ \x3e\x92\x41\x9d\x85\xee\xdd\x72\xfb\x68\x25\xe0\x02\xa8\xf1\x31\ \x7c\xeb\xd3\x4e\x7c\xf6\xa0\x1d\xd7\x06\xd2\x38\xd7\x93\xc6\xed\ \x51\x13\xe1\xb8\x80\xc5\x05\xdc\x76\x86\xba\x00\xc3\xc1\x0e\x1d\ \xdd\x5b\x55\xb4\xd5\xa9\x4b\xac\xed\x77\x17\x8c\x18\xd2\x3c\x8d\ \xa1\xd4\x00\x6e\x45\x6f\xa0\x37\x76\x1d\x53\xc6\x24\xe2\x56\x14\ \x1a\xd3\xe1\x53\xfd\x68\x71\xb4\x61\xbb\x7b\x37\xb6\x38\xdb\xe1\ \x56\xbc\xc8\x3c\xae\x16\x27\x2c\xde\xd8\x8e\xe4\x57\xff\x18\xc6\ \x89\x67\xa0\xdc\xbe\x02\xf5\xfa\x05\xb0\xa9\x11\x50\x3c\x13\x79\ \x2e\x9c\x6e\xf0\xba\x16\x98\x3b\x1f\x80\xd5\xbe\x0b\xbc\xba\x21\ \x63\x45\x2d\x41\xb2\x47\x06\x7d\x66\x2d\xaa\x1a\x15\x40\x95\xa2\ \x28\x6c\x25\x16\xd5\x62\x9f\x93\xcc\xa8\x69\x5a\xce\x0f\xb4\x91\ \x91\xde\x32\x17\x2c\x1f\x0e\x87\xa3\x68\xe5\x9d\x8d\x8e\xa8\x4f\ \x26\x93\x18\x1f\x1f\xcf\xe5\xb1\x2d\xd4\x87\x32\x8f\x2d\x95\x4a\ \x2d\x2b\x6e\x4d\x65\x3a\x0e\x75\x3c\x8a\xde\xa1\xeb\x88\xc7\x66\ \x6b\x85\x09\xd5\xcc\x04\x6e\xda\x52\x70\xdf\xda\x7a\x57\x00\xaf\ \xd4\x44\x63\x12\x50\x12\x0e\x78\xae\xef\x04\x4b\x6b\x48\x34\x0f\ \x21\xde\x32\x08\x4f\x6f\xc7\x2c\x7f\x95\x10\x02\x55\x81\x6a\x3c\ \xd0\xf6\x08\x18\x95\x1e\xdb\x97\x4c\x26\x31\x31\x31\x91\x53\xbd\ \x58\xab\x3e\x5a\x09\x64\x53\xea\xfc\x0c\x0d\x01\x1b\x4e\x74\xdb\ \x60\x71\x20\x91\x12\xb0\x38\xe0\xb4\x65\xa4\x89\xa5\x81\xcf\x79\ \xd1\xda\x9d\xf3\xbb\x19\x04\x0e\x8e\xde\xd8\x0d\xfc\x66\xe2\x65\ \x5c\x08\x9d\xc5\x94\x31\x01\x2e\x38\xea\x9c\x0d\x70\x68\x0e\x70\ \xc1\x71\x3d\x78\x09\x6f\x4d\xbd\x0a\xb7\xe2\xc1\x56\xd7\x76\x7c\ \xaa\xf6\x49\x3c\xe0\x7b\x08\x4e\xc5\x55\x84\xac\x38\x40\x04\x5e\ \xdf\x0a\xde\xd0\x8a\xf4\xc3\x4f\x02\x96\x05\x4a\x65\x12\x98\x85\ \xcd\x9e\x89\x9b\x22\x96\x17\xb6\xb0\xb4\x46\xe4\x59\x54\x0a\x80\ \x80\x0a\xc0\x2d\xe3\x50\x96\x4b\x54\xc5\x7c\x5b\xba\xae\xc3\xe1\ \x70\x2c\x59\x24\x6f\x3d\xa0\x28\x0a\x8a\x85\x66\x94\xd2\xc6\xf5\ \x00\xe7\x1c\x89\x44\x62\x4d\xfd\x29\x42\x70\x6c\x09\x74\x60\x4f\ \xfb\x3e\x9c\xbd\xf2\xde\x2c\xab\x2a\x55\x37\x8e\xb4\x3f\x08\x77\ \xcf\x76\x38\x86\x9a\x17\x55\x00\x5d\x10\x24\xc0\xd2\x1a\xdc\x37\ \x3b\x33\x64\xd5\x38\x02\xdb\x4c\x20\x23\x6b\x2c\x09\x8f\x01\xfb\ \x3b\x0e\xa3\xd6\xdd\xb4\xe4\x31\x69\x59\x16\xe2\xf1\xf8\x9a\xf5\ \xcf\x6a\x41\x08\x40\x8a\x54\x30\x02\xdc\xf6\x4c\x89\x75\xd9\xdc\ \xe5\x0e\x37\x02\x21\xc5\x93\x78\x6d\xe2\xef\xf0\x77\xa3\x3f\xc7\ \xa4\x31\x0e\xb9\x14\x73\xaa\x2e\x74\xd7\xee\x87\x57\xf7\x43\x40\ \xe0\xa3\xb1\xb3\xe8\x0b\xdf\x42\xd4\x8a\xe0\x93\xd0\x87\xb8\x11\ \xbd\x8c\x83\xfe\x87\xf1\xb5\xe6\xbf\x87\x66\x7b\x6b\x71\x4b\x56\ \xe4\x99\x79\x8a\x92\x09\x0c\x95\x8d\x13\x62\x71\xf9\xe2\xa2\xfd\ \x23\x72\xee\x21\x00\x6e\x26\x84\x70\xd9\xed\xf6\x15\x11\xc8\x62\ \x5b\xbb\x42\x08\xb8\x5c\x2e\x54\x55\x55\x2d\xfb\xfc\x6b\x09\x5d\ \xd7\x51\x57\x57\x57\xd4\x2a\x2c\x07\xa2\x5a\x2f\x28\x4c\xc3\xe1\ \x8e\x13\xa8\xad\xaa\xcd\xf4\x4b\x36\x4d\x26\x59\x3b\x01\x77\x6f\ \x07\x9c\x83\x2d\xcb\x23\xa9\x3c\x90\xa5\xc0\x75\x3b\x63\x95\x25\ \x1a\x47\x72\x5a\x56\x42\x70\x6c\x69\x68\xc3\x81\xb6\x23\x9b\x4e\ \x30\x6f\x25\x90\x31\x93\x2b\x01\x81\x10\xb3\xa2\xf8\xc9\xe0\x5f\ \xe2\x27\x83\x3f\xc4\x84\x31\x06\x02\xe5\xea\x24\xba\x35\x37\x1c\ \x6a\xc6\x5a\x22\x10\x02\xf6\x6a\x30\xb0\xcc\x11\xc4\x90\xe2\x29\ \xbc\x37\xfd\x26\xfe\xfd\xad\x3f\xc3\x8d\xe8\x95\xa5\xf7\x7f\x5e\ \xb0\xe7\x6a\x80\x88\x60\xb7\xdb\x21\x84\x70\x31\x00\x4e\xe9\xdc\ \x5e\x2e\x8a\xc5\xa0\xa8\xaa\x8a\x96\x96\x96\xb2\x73\x58\x0b\x21\ \x50\x55\x55\x85\x40\x60\xf1\x42\x9a\xb2\xe8\xe9\xfd\x02\x21\x38\ \x1a\xbc\x5b\xf0\xe9\x03\x5f\x84\xd3\xe5\x00\x67\x26\x0c\x7f\x10\ \xce\xc1\x96\xe5\xc9\xb5\x2c\xf8\x45\x04\xe7\xc0\x16\xd8\xc7\xeb\ \x60\x04\x66\x20\xc0\xe1\xf7\x07\xf0\xc4\xfe\x2f\xc1\xef\xa8\xd9\ \xd4\xc5\x1d\x36\x02\x69\x61\xe0\x6f\x47\x7e\x86\x53\xe3\x7f\x0b\ \x83\xa7\x32\x4e\xf4\x3c\xf8\xed\x55\x50\xd9\xdd\x8d\x2d\x9f\xcd\ \x0f\x2d\x4f\x66\x45\x92\x5a\x4f\xf4\x1a\xfe\x43\xff\xbf\xc7\x60\ \xb2\x7f\x43\x1f\x16\x79\x6e\x1a\x17\x03\xb0\x62\x8b\xaa\x50\xac\ \xcf\x5c\x34\x36\x36\xc2\xe1\x70\x6c\xb8\xaf\x67\x2e\x9a\x9a\x9a\ \x8a\x5e\x97\x69\x9a\x65\x77\xdd\x6b\x0d\x21\x04\xf6\x34\x1c\xc4\ \x89\x7d\x4f\x41\x75\x12\xb4\x69\x3f\xf4\xe9\xb5\xb1\x8a\x6d\xe3\ \x75\x50\xc2\x6e\xd8\x3c\x2a\x3e\x73\xe0\x8b\x68\xaf\xde\x79\xdf\ \xf5\xf7\x4a\x41\x20\xbc\x37\xfd\x16\x5e\x1e\xff\x05\x2c\x61\xcd\ \x23\x18\x85\x14\x04\xec\x55\xb9\xf7\x05\x04\x9c\x9a\x0b\x2e\xcd\ \x3d\xef\x81\xc0\x88\xa1\x37\x76\x1d\x3f\x1b\xfc\x2b\xc4\xac\xe8\ \x86\x91\x95\xb4\xa8\x90\x25\x2a\xa7\xcd\x66\x5b\x11\x51\x71\xce\ \x8b\x2e\xff\x02\x81\x00\x1a\x1a\x56\xf1\x69\xbc\x0a\xb0\xdb\xed\ \x68\x6d\x6d\x2d\x1a\x07\x76\xbf\x48\x11\xcf\x07\xe1\x50\xfb\x71\ \x7c\x6a\xf7\xe7\xe1\x84\x7f\xcd\xc8\x43\x08\x01\x1f\xab\xc1\x67\ \xf7\x7d\x19\x7b\x9b\x0f\x57\x48\x6a\x89\x20\x10\xa6\x8c\x09\xbc\ \x3c\xf6\x22\xe2\x66\x6c\x1e\xb1\x08\x08\xd8\x15\x3b\x3c\xba\x17\ \x00\x72\x05\x33\x6c\x8a\x0d\x5e\xdd\xb7\xc0\x39\x19\x3e\x0a\xbe\ \x8f\x0f\x83\x67\x36\x94\xa8\x66\x59\x54\x2b\xcd\x73\xe2\x9c\x17\ \x9d\xcc\xba\xae\xa3\xab\xab\x6b\xde\x8e\xdb\x46\x41\x08\x81\xf6\ \xf6\x76\x34\x35\x2d\xee\xb0\x2d\xa5\x6d\xf7\x2e\x04\x54\xa6\xe3\ \xd1\x1d\x4f\xe1\xf3\x0f\x7d\x15\x3e\xbf\x6f\xd5\xab\xc2\x70\xc1\ \x51\x57\x53\x87\x67\x1e\x39\x89\x43\x6d\x27\xee\x2b\xbf\xd4\xea\ \x81\x70\x66\xfa\x6d\xdc\x8e\xf5\x82\x2d\x50\xd6\xca\xa5\xb9\xe1\ \x54\x9d\x10\x10\x08\xa5\x82\xb0\xb8\x99\xf3\x53\x11\x0a\x7f\x26\ \xc5\x53\xf8\xcd\xc4\xcb\x08\x99\xc1\x0d\xbb\x2f\x59\x6e\xca\x58\ \x54\x2b\x29\x91\x95\x6b\x54\x2a\x55\xd4\x21\xdd\xda\xda\x8a\xb6\ \xb6\xb6\x0d\x7f\x62\x0a\x21\xe0\x74\x3a\xd1\xdd\xdd\x5d\x34\x54\ \xc2\x30\x8c\x35\xc9\x03\xdb\x3c\x10\x60\x60\x38\xb0\xe5\x11\x7c\ \xf9\x91\xdf\x45\x67\xdb\x0e\x28\x2a\x2b\x1a\x84\x59\x0c\x5c\x70\ \x68\xba\x8a\xae\xce\x7d\xf8\xca\xd1\xbf\x8f\x5d\xf5\x07\x36\xba\ \xa1\x9b\x12\x04\x42\xdc\x8a\xe2\x42\xe8\x2c\x2c\xb1\xf0\x03\xd5\ \x6f\xaf\x82\x92\xf5\x4f\x05\x53\x33\x48\x5a\x99\xdc\x5b\x9f\xcd\ \x0f\x5d\x29\x3c\x07\x18\x31\xdc\x8e\xf5\xe0\x4e\xfc\xd6\x86\xec\ \xd6\xe7\x15\x24\x76\xa9\x00\x5c\x32\xbb\x7e\x25\x04\x62\x9a\x26\ \xd2\xe9\xf4\xa2\x72\x19\x9a\xa6\x61\xdf\xbe\x7d\x18\x1c\x1c\xdc\ \xf0\x50\x85\xce\xce\x4e\x34\x36\x36\x16\x25\xd7\x8d\x96\x20\x2e\ \x17\x08\x21\xb0\xb5\x7a\x37\x1a\x8e\xb4\xe0\xea\xc8\xc7\xf8\xb0\ \xe7\x1d\x8c\x4c\x0c\xc1\x34\x4d\x10\x58\x49\xf7\x52\x46\x3f\x6b\ \xba\x86\xad\x0d\x1d\x38\xb4\xfd\x18\xb6\xd7\x75\x41\x57\x1c\x2b\ \x26\xbe\xfb\x15\x44\x84\xb1\xd4\x08\xfa\x13\xb7\x17\xac\x6a\x9d\ \xf3\x4f\x11\xc1\xe2\x1c\xa1\x54\x10\x3e\x9b\x0f\x6e\xb8\x73\x7e\ \xaa\x94\x35\x55\xd0\x6a\x4a\xf0\x04\xae\x45\x2e\xa2\xdb\xfb\xc0\ \x86\xb4\x2d\x1b\x88\xed\x52\x01\xd8\x57\x63\x37\x8e\x73\x8e\x54\ \x2a\x55\x54\x89\xb2\xb9\xb9\x19\x07\x0f\x1e\xc4\x99\x33\x67\x36\ \xc4\x52\x11\x42\xa0\xa9\xa9\x09\x0f\x3e\xf8\x20\x14\x45\x29\xea\ \x44\xaf\x10\xd5\x5d\x08\xc1\xe1\x50\xdd\x38\xd8\x7a\x0c\xdb\xeb\ \xbb\x70\x73\xfc\x32\x6e\x8f\xf6\x60\x70\xf2\x0e\xc2\x91\x50\x76\ \xd3\x81\x67\x09\x29\x5b\x40\x39\xab\xae\xa1\xaa\x2a\x02\xbe\x6a\ \xb4\xd4\xb4\x61\x5b\xc3\x4e\x6c\xab\xdd\x0d\x97\xe6\xc9\x06\x0c\ \x57\x48\x6a\x25\x18\x4b\x0e\x23\x6e\x16\x76\x7a\xcf\xf5\x4f\x99\ \x3c\x8d\xa8\x11\x46\xca\xcc\x84\x83\x48\x3f\xd5\x74\x72\xaa\xe0\ \xb9\xb9\xe0\x18\x48\xf4\xc1\x82\x35\x6f\x17\x71\x3d\x90\xe5\x26\ \xbb\x0a\x80\xad\x96\x3a\x80\xcc\xa1\x5b\xcc\xe7\xc5\x18\xc3\xfe\ \xfd\xfb\x11\x0a\x85\x70\xe9\xd2\xa5\x75\x6d\xb4\x10\x02\x7e\xbf\ \x1f\xc7\x8e\x1d\x5b\xb4\xa0\x83\x44\xb9\x54\x9f\x29\x27\x08\x64\ \x62\x65\x3c\xba\x1f\x07\xb7\x1c\xc3\xfe\x96\x23\x08\x25\xa6\x31\ \x11\x19\xc5\x68\x74\x00\xb1\x64\x04\x46\x32\x0d\x61\x02\x4c\x03\ \x74\xbb\x0e\x8f\xdd\x87\x46\x4f\x2b\xaa\x3d\xf5\xf0\xda\x02\xb9\ \x68\xf3\xcd\x5a\x05\xb9\xdc\x10\x32\x83\xe0\x8b\x64\x91\xbb\x74\ \x0f\x9c\xaa\x2b\x93\x4b\xc8\x0d\xa4\xac\x14\x92\x56\x12\x10\x99\ \xa5\x63\x95\xbd\x1a\x77\xc2\x7d\x28\x94\xa4\x43\x00\xa2\x66\x04\ \x29\x2b\x59\x3c\x62\x7d\x95\x91\xc7\x4b\xa4\x66\xfe\xbf\x3a\x4b\ \x30\xcb\xb2\x90\x48\x24\xa4\x32\x5f\x41\xc8\xd0\xf8\x23\x47\x8e\ \x20\x16\x8b\xe1\xd6\xad\xa5\xaf\x7f\x65\xb9\xad\xa5\x7c\x4e\x06\ \x9e\x1e\x3d\x7a\x14\xcd\xcd\xcd\x45\x49\x4a\x6a\x68\x55\x50\x18\ \x02\x99\xd4\x29\x02\x43\xc0\x59\x8b\x2a\x67\x1d\x76\xd4\xef\x43\ \xe1\x8c\x34\xca\xe6\xdc\x8a\x0a\x41\xad\x01\x52\x3c\xb9\xe8\x78\ \x0e\xd8\xaa\xa0\x30\x25\x23\x44\xc8\x74\xec\xaa\xea\x82\x3b\x9b\ \x43\x49\x20\x78\x6d\x7e\xe8\x8a\x0e\xc3\x2a\x34\xde\x09\x69\x91\ \x86\x29\x36\x46\x46\x3c\x9f\xa8\x56\xd5\x9e\x4b\x26\x93\xb9\x7c\ \xb4\x85\x20\x84\x80\xdb\xed\xc6\xa7\x3e\xf5\x29\xe8\xba\x8e\x9e\ \x9e\x1e\x58\x96\x55\x12\xf1\xc4\xe3\x71\x4c\x4e\x4e\xc2\x6e\xb7\ \xa3\xa6\xa6\xa6\xa4\x20\x52\x19\x1e\x71\xf4\xe8\x51\x74\x76\x76\ \x96\x24\x22\x17\x8f\xc7\x2b\xd6\x54\x89\x28\x9a\x79\x5f\x09\xdd\ \x5c\x53\xb8\x14\x0f\x18\xb1\x82\x85\x5a\x15\x52\xe0\xb7\x07\x72\ \x3e\x68\x4d\xd1\xd1\xe2\x69\x05\x20\xd3\x8f\x05\x5c\x9a\x0b\x2e\ \xcd\x85\x94\x95\x2c\x1c\xda\xc0\x1c\xb0\x31\xdb\x46\xde\x45\xc6\ \xb0\x8a\x16\x15\x90\xb1\x76\x4a\x99\xe4\x42\x08\xf8\x7c\x3e\x3c\ \xfe\xf8\xe3\x78\xf0\xc1\x07\x17\xcc\x72\x9f\x8b\x48\x24\x82\x48\ \x24\x82\x50\x28\x54\x34\xa1\x54\x9e\xaf\xa5\xa5\x05\x4f\x3e\xf9\ \x24\x76\xec\xd8\x51\x12\x19\x26\x93\xc9\x8a\x35\x55\xc1\xa6\x41\ \x40\xab\x02\xa3\xf9\xea\x1f\x02\x02\x76\xd5\x91\xf1\x4f\xc9\x1c\ \x42\xc1\x61\xf2\xd9\x16\x92\xbe\x68\x3c\x15\xe0\xd3\xfc\xd0\xd9\ \xc6\x54\x0c\x9f\xb5\xf4\x5b\xed\x93\xa7\x52\x29\xc4\xe3\xf1\xa2\ \xf5\xd2\xa4\xc4\xca\xc3\x0f\x3f\x8c\xaa\xaa\x2a\x5c\xb8\x70\x01\ \xe3\xe3\xe3\x8b\x56\x52\xf6\x78\x3c\x30\x0c\x03\x76\xbb\x7d\x41\ \x5f\x98\x24\x28\x97\xcb\x85\x1d\x3b\x76\xe0\x81\x07\x1e\x80\xcf\ \xe7\x2b\x89\x08\xd3\xe9\x74\xc9\x45\x3b\x57\x03\x72\x09\x2b\xdb\ \x9b\xd3\x06\xca\x53\xa5\xd8\xe8\x70\x8e\x7b\x11\xf9\xfd\x9d\xdf\ \xff\x9b\xb1\xef\x1b\xed\x2d\x08\x68\x55\x18\x4b\x8d\xcc\xb3\x88\ \x32\xf1\x53\x77\x7d\x4b\xb7\x43\xbd\x18\x89\x0e\xc2\xa9\xb9\xb0\ \xa7\xba\x1b\x76\xd5\x91\xf5\x53\xd5\x14\xf4\x53\x29\xa4\xa2\xd3\ \xb5\x13\x04\x05\x02\x1b\xb6\xc2\x20\x95\x88\x68\x2d\x72\xf0\x12\ \x89\x04\x34\x4d\x2b\x1a\xe0\x29\x85\xeb\x76\xef\xde\x8d\x96\x96\ \x16\xdc\xb8\x71\x03\x57\xae\x5c\xc1\xf4\xf4\x74\x6e\x39\x98\x4f\ \x5a\x4e\xa7\x13\x32\xe5\xa7\x50\xb9\x6e\x20\x23\xdb\xb2\x75\xeb\ \x56\xec\xdd\xbb\x17\x0d\x0d\x0d\x45\x77\xf7\x24\x38\xe7\x88\xc5\ \x62\x6b\xb6\x1b\x99\xbf\x03\xa6\xaa\x2a\x14\x45\xc9\x89\xf6\x15\ \x22\x66\xce\x79\x2e\xea\xdf\x34\xcd\xdc\x6b\x33\x4c\x9e\x72\x83\ \xdc\xea\x2e\xd4\xf7\x73\x21\x89\xca\xb2\xac\x59\x7d\x5f\x8a\xf6\ \xfc\x7a\x83\x0b\x8e\x1a\x5b\x2d\x3a\x5c\x3b\x30\x9a\x1c\x02\xcd\ \xb1\xac\xa4\x7f\x4a\xb6\x6b\x32\x31\x8e\xb1\xf8\x28\x1c\xaa\x13\ \x5b\x7d\x9d\x70\xa8\x99\x52\x6a\x5e\x9b\x6f\x9e\x9f\x4a\x40\xc0\ \xa7\xf9\xb1\xc3\xd3\x95\x2b\x38\xb1\xde\xc8\xce\x0d\xa6\x12\x11\ \x5b\x8b\x78\x26\x59\xfc\x31\x4f\xaa\x61\x51\x08\x21\xe0\xf1\x78\ \x70\xf0\xe0\x41\x74\x74\x74\xe0\xce\x9d\x3b\x18\x1a\x1a\xca\xd5\ \xdd\xcb\x4f\x0c\xce\xb7\x3a\xe4\xe4\xb7\xd9\x6c\xa8\xae\xae\x46\ \x63\x63\x23\xda\xda\xda\xd0\xd0\xd0\x90\x53\x10\x2d\x65\x70\x09\ \x21\x10\x8d\x46\xd7\x64\xc9\xa7\x28\x0a\x74\x5d\xcf\xe9\x48\x2d\ \x44\x4c\x85\x3e\x37\xb7\x4f\xa5\x96\x92\x61\x18\x48\xa7\xd3\x65\ \x37\x71\xca\x09\xb2\xba\x8c\xec\xfb\x52\x0a\xe5\xe6\x43\x8e\x5b\ \xa9\x9e\x21\xc3\x55\x0c\xc3\x28\xab\x1a\x95\x3a\xb3\xe1\xe1\xaa\ \xe3\x38\x1f\xfc\x00\x29\x9e\x80\x5c\x24\xcd\xf5\x4f\xa5\x79\x1a\ \x29\x33\x93\xac\x6c\xf2\x34\x52\x56\x2a\x2b\x2d\x53\xd8\x4f\x25\ \x84\xc0\x5e\xef\x03\x68\xb6\xb7\x6e\xd8\x06\x48\xd6\x20\x21\x55\ \x08\x41\x6b\xe5\x34\x36\x4d\x13\x91\x48\x04\x5e\xaf\xb7\xa4\x72\ \x44\x72\xd2\xf9\xfd\x7e\xf8\xfd\x7e\x74\x75\x75\x21\x12\x89\x60\ \x7c\x7c\x1c\xc1\x60\x10\xc9\x64\x12\xc9\x64\x12\x86\x61\x40\x51\ \x14\xd8\x6c\x36\xd8\xed\x76\xb8\x5c\x2e\xd4\xd5\xd5\x21\x10\x08\ \xe4\x0a\x49\x2e\x45\x95\x53\x56\x1a\x5e\x6d\x9d\x27\x55\x55\x61\ \xb7\xdb\x8b\x2a\x88\x96\x0a\x59\x5f\x50\x16\xcc\x4c\xa7\xd3\xb9\ \xfe\xa8\x38\xfe\xef\x42\xea\xf1\xdb\xed\x76\xe8\xba\xbe\x62\xd5\ \x0e\x69\x8d\xc9\x31\x27\x1f\x16\x89\x44\xa2\x2c\x2c\x5c\x21\x04\ \xf6\xf9\x1e\xc4\x3e\xdf\x41\xbc\x3f\x7d\x1a\x8c\x68\x9e\x7f\x8a\ \x40\x48\x73\x23\x63\x31\x51\xc6\x12\x4b\x98\xf1\xdc\x4a\x2f\xe3\ \xa7\xf2\xe7\xe2\xa9\x04\x04\xfc\x5a\x00\x9f\xae\xfd\x1c\xec\x8a\ \x7d\xc3\x88\x8a\x73\x0e\x21\x04\xa9\x6b\x55\x2a\x48\x22\x9d\x4e\ \x23\x1c\x0e\xc3\xe3\xf1\x94\xac\xec\x29\x6f\xbc\x14\xe6\x0f\x04\ \xee\x3e\x15\xa4\x55\x21\x07\x8f\x1c\x84\xcb\xf5\x29\x48\x92\x5a\ \x4d\xb1\x35\x45\x51\xe0\x74\x3a\xa5\x38\xfd\x9a\xf4\xab\xb4\x22\ \x75\x5d\x47\x3a\x9d\x46\x3c\x1e\x87\x61\x18\x1b\x3e\x69\x36\x1a\ \xb2\x32\xb4\xae\xeb\x6b\x96\xf9\xa0\x28\x0a\x1c\x0e\x07\x6c\x36\ \x5b\xce\x1f\xbb\x91\x16\x96\x80\x80\x53\x71\xe1\x8b\x0d\x5f\x43\ \x7f\xfc\x36\x46\x52\x43\x20\xd0\x2c\xff\x14\x11\xc1\xb0\x8c\x9c\ \xc5\x24\x20\x10\x4f\xc7\x72\xbe\xab\xbb\xf1\x54\xb7\x00\x08\x28\ \xa4\xe2\x89\xba\x2f\x62\x87\x7b\xcf\x86\x86\x93\xc8\xe5\x76\xae\ \x1c\xc4\x5a\x0e\x70\x49\x56\xcb\x59\x56\x49\xcb\x28\xcb\xac\x39\ \x73\x5e\x12\x80\xf4\xe3\x2c\x47\xd7\x9c\x73\x8e\x48\x24\xb2\x6a\ \xce\x73\xa9\x0f\xef\xf7\xfb\xe1\x74\x3a\x8b\x92\x94\xf4\xb3\x49\ \x4b\x29\xdf\x6f\x22\x97\x87\xc5\x26\x9b\xb4\x1e\x7c\x3e\x1f\x3c\ \x1e\xcf\x9a\x14\xd2\xdc\x0c\x50\x14\x05\x1e\x8f\x07\x3e\x9f\x0f\ \x2b\x55\x03\x29\x15\x8c\xb1\xdc\xfd\xce\x16\xcb\xdc\xb0\xf6\x73\ \xc1\xb1\xc3\xbd\x07\xbf\xdd\xf2\xf7\xe1\x53\x33\x95\xa5\xab\xec\ \xd5\x50\x15\x15\x44\x0c\x04\x86\x94\x95\x9c\x15\xc2\x10\x4f\x67\ \xb4\xe2\x89\x18\x88\x18\x7c\x76\x3f\x74\xc5\x06\x80\xf0\x68\xd5\ \xe3\xf8\x7c\xc3\x97\xa1\xd2\xc6\x8d\xa7\xbc\x39\x29\xd6\xed\x2a\ \x4c\xd3\x44\x38\x1c\x86\xcb\xe5\x5a\xb0\x40\xc1\x7a\x22\x9d\x4e\ \x23\x1a\x8d\xae\x5a\x8a\x8c\x94\x34\x2e\xa6\xed\x25\xc9\x47\xca\ \x0a\xc7\x62\x31\x04\x83\xc1\x1c\x61\xca\xc2\x8b\x6e\xb7\x1b\x7e\ \xbf\x1f\x1e\x8f\x07\x4e\xa7\xb3\xa8\xbf\x4d\x92\xa4\xa6\x69\x88\ \xc5\x62\x48\x26\x93\x1b\xda\xbf\xeb\x09\x5d\xd7\xe1\x76\xbb\x37\ \x4c\x8b\x5f\x51\x94\xdc\xf7\x47\xa3\xd1\x0d\xb3\xae\x04\x04\x8e\ \x54\x1d\x87\x00\xf0\xb3\xc1\xff\x80\xb8\x19\x47\x5f\xe8\x16\x80\ \x8c\xd7\x6a\x32\x31\x31\xcb\x3a\x0a\x19\x41\xf4\x85\x7a\x73\x39\ \x82\x29\x2b\x09\x1b\xb3\xe3\x44\xd5\x13\xf8\x6a\xf3\xb7\xe0\x52\ \xdc\x65\x13\x01\xa7\x12\x91\x58\xaf\x27\x81\x74\xb0\x9b\xa6\x09\ \xa7\xd3\xb9\x21\x4f\x7f\x59\x67\x70\x35\x77\xf7\x4a\x99\x28\x92\ \x9c\x62\xb1\x18\xc6\xc7\xc7\x71\xed\xda\xb5\xdc\xee\x66\x2a\x95\ \xca\x39\x68\x39\xe7\x50\x55\x15\x9a\xa6\x41\xd7\x75\xb8\x5c\x2e\ \xb4\xb7\xb7\xa3\xbb\xbb\x1b\xad\xad\xad\xf0\x7a\xbd\xb9\x60\xda\ \x42\xa4\xa5\xaa\x2a\xbc\x5e\x2f\x14\x45\x41\x3c\x1e\xbf\xa7\x97\ \x82\x92\x9c\x37\xda\x9a\x91\x90\x4b\xfd\xb5\xda\x94\x29\xa9\x4f\ \xc0\xf0\x68\xd5\xa7\x50\xab\xd7\xe1\x97\xa3\xff\x09\x17\x27\x3f\ \x42\xc2\x8a\xcd\x93\x72\x21\x10\xa2\x46\x04\x17\xc6\x3f\x84\x80\ \x00\x23\x86\x16\x7b\x2b\xbe\xda\xf4\x2d\x3c\x56\xf3\x59\xd8\x99\ \xa3\x2c\x48\x2a\xbb\xb2\x10\xea\x7a\x57\x01\x96\x25\xd4\x0d\xc3\ \xc8\x85\x1a\xac\xc7\x20\x93\x02\x78\xab\xed\xcb\xb1\xd9\x6c\xf0\ \x78\x3c\x0b\x2e\xf3\x24\x41\x8d\x8d\x8d\xe1\xda\xb5\x6b\xb8\x73\ \xe7\x0e\x7a\x7b\x7b\x31\x3e\x3e\x3e\x2f\x1a\x5f\xfe\x2e\x95\x28\ \xe2\xf1\x38\x66\x66\x66\x30\x38\x38\x88\x8f\x3e\xfa\x08\x5b\xb7\ \x6e\x45\x7b\x7b\x3b\x3a\x3b\x3b\xb1\x6d\xdb\xb6\x05\x95\x49\x89\ \x08\x6e\xb7\x1b\x8c\x31\xc4\x62\xb1\x7b\xd2\xd1\x4e\x44\x70\x3a\ \x9d\x70\xb9\x5c\xcb\x1a\xbf\xf9\x71\x54\x73\x91\xdf\xa7\x4b\x1d\ \x27\xf2\x41\x11\x8d\x46\xd7\xbc\xa8\xe9\x42\x10\x10\xd8\xe9\xe9\ \x42\x8b\xa3\x0d\x17\xc3\xe7\xf1\xfe\xf4\x69\xdc\x8c\x5d\x43\x28\ \x1d\x84\x29\xd2\x39\x05\x50\x95\x34\x38\x14\x07\x9a\x1d\xad\xd8\ \xe7\x7b\x10\x8f\x04\x4e\xa0\xde\xde\x94\xf3\x61\x95\x03\x24\x3f\ \xa9\x42\x08\xb1\x11\x03\xd9\xb2\x2c\x44\x22\x11\x24\x93\x49\xd8\ \xed\xf6\x35\x73\x3c\x4b\x82\x92\xe4\xb8\x9a\x6d\x5d\x8c\xa4\x24\ \x41\x4d\x4d\x4d\xe1\xca\x95\x2b\xb8\x71\xe3\x06\x22\x91\x08\xa6\ \xa6\xa6\x30\x31\x31\x01\x00\x8b\x12\xf4\xdc\x89\x14\x8f\xc7\xd1\ \xdb\xdb\x8b\x64\x32\x89\xfe\xfe\x7e\x5c\xbb\x76\x0d\xdd\xdd\xdd\ \x68\x6b\x6b\x5b\x30\xaa\xdf\xe9\x74\x82\x88\x10\x8d\x46\xef\x29\ \xb2\x22\x22\xb8\x5c\xae\x5c\xfb\x96\xf2\x39\x22\x82\x69\x9a\x88\ \xc7\xe3\x88\x44\x22\x48\x24\x12\xb9\xdd\x64\x29\x7d\xeb\x70\x38\ \xe0\x70\x38\xe0\xf1\x78\x72\xa5\xd4\x96\xe2\x03\x65\x8c\xe5\x82\ \x9d\x37\x8a\xac\xb8\xe0\x70\x2a\x2e\x1c\xa9\x3a\x81\x07\x7c\x0f\ \x61\xca\x98\xc4\x60\xf2\x0e\x66\x8c\x29\xc4\xcc\x28\x74\xa6\xc3\ \xab\xf9\xd1\x68\x6f\x46\x83\xad\x19\x2e\xd5\x93\x25\x28\x5e\x36\ \x24\x05\xe4\x76\xfd\x84\x2a\x84\x10\x1b\x29\x0c\x97\x4e\xa7\x73\ \x44\x22\x77\xb1\x96\x1a\xef\x32\x17\xd2\xf9\x2e\x6b\xb7\x95\xa2\ \xe9\xbe\x54\xc8\x72\xf4\x0b\x91\x54\x32\x99\xc4\x27\x9f\x7c\x82\ \xcb\x97\x2f\x23\x14\x0a\xe5\x02\x08\x23\x91\xc8\xb2\xbe\x4f\x96\ \x9e\x97\xfd\xd4\xdf\xdf\x8f\xd1\xd1\x51\xb4\xb6\xb6\xe2\xd0\xa1\ \x43\x0b\x6a\x6b\x49\xab\x2b\x1a\x8d\xde\x33\xcb\x40\xa7\xd3\xb9\ \x24\x92\x22\x22\x58\x96\x85\x60\x30\x88\x91\x91\x11\x0c\x0f\x0f\ \x63\x74\x74\x14\xf1\x78\x3c\x17\xd4\x29\xe7\x80\x0c\x0a\x95\xce\ \xf9\xc6\xc6\x46\x34\x37\x37\xa3\xbe\xbe\x1e\x5e\xaf\xb7\x64\xdd\ \x36\x49\x56\xd2\xd5\xb0\x11\x90\x49\xe0\x3a\xb3\xa1\xd1\xde\x82\ \x26\x47\xcb\xac\xc8\x75\x21\x8f\x12\x22\x97\xf7\x57\x6e\xc8\xee\ \xfa\x71\x15\x40\xc2\xb2\x2c\xd7\x46\x0f\x62\x19\xfd\x9b\x48\x24\ \xa0\x28\x4a\xae\x80\xa4\xdc\x09\x2b\xb4\x44\xca\x0f\x49\x98\x1b\ \xc1\x9d\x4e\xa7\xd7\x2c\xec\x42\x55\xd5\x45\x49\x2a\x14\x0a\xe1\ \xbd\xf7\xde\xc3\x8d\x1b\x37\x72\xcb\x3b\xc6\x58\xce\xaa\x5b\x2e\ \x64\xb2\xb4\xdf\xef\x07\x11\x21\x9d\x4e\xe3\xe6\xcd\x9b\x98\x9e\ \x9e\xc6\xd1\xa3\x47\xd1\xd1\xd1\x51\x70\xf2\x3a\x1c\x8e\x9c\x7f\ \x6c\xb3\x43\xfa\xa4\x4a\x21\x29\x49\x2a\x13\x13\x13\xb8\x7c\xf9\ \x32\x7a\x7b\x7b\x11\x8b\xc5\x32\x62\x7f\x73\x2c\x56\xf9\x53\x3e\ \xe0\x64\x5f\x8f\x8d\x8d\xe1\xd2\xa5\x4b\xf0\xf9\x7c\xd8\xb5\x6b\ \x17\x76\xee\xdc\x09\x9f\xcf\x97\xbb\x1f\x8b\x41\x92\x95\x3c\xe7\ \x46\x21\x43\x40\x62\x43\x22\xcb\x57\x74\xdd\x77\x43\xa7\x92\x2a\ \x80\x78\x39\x04\xad\x49\xc8\x70\x83\x74\x3a\x3d\x2b\x0f\x4b\x92\ \x55\xa1\xbc\x2c\x19\xb5\xbe\x1e\xa5\xd7\xe5\xe0\x2b\xb4\x11\x40\ \x44\x18\x19\x19\xc1\x3b\xef\xbc\x83\xc1\xc1\xc1\xdc\x7b\x12\xab\ \x11\x49\x2e\xcf\x91\x3f\xc1\xa6\xa7\xa7\xf1\xfa\xeb\xaf\x23\x1c\ \x0e\x63\xdf\xbe\x7d\xb9\x1d\xc2\xfc\xeb\x72\x3a\x9d\x30\x4d\x73\ \x53\x27\x5b\x6b\x9a\xb6\x24\x92\x0a\x87\xc3\xb8\x7c\xf9\x32\xae\ \x5e\xbd\x8a\x50\x28\x94\x7b\x7f\xae\xb5\x6e\x59\x16\x42\xa1\x50\ \xce\x8a\x9a\x9b\x39\x60\x59\x16\xa6\xa6\xa6\xf0\xde\x7b\xef\xa1\ \xa7\xa7\x07\x5d\x5d\x5d\xd8\xb9\x73\x67\x49\x55\x95\xe4\x8e\x60\ \x28\x14\xba\xcf\x25\xad\x97\x0e\x21\x84\xdc\x41\x8d\xab\x00\x62\ \xd2\x77\x53\x0e\x3b\x27\x73\x2f\x54\x0e\x84\x72\xb9\xc9\x32\xd0\ \x6f\x2e\x88\x08\x83\x83\x83\x78\xfd\xf5\xd7\x31\x35\x35\x55\x30\ \x0f\x71\x35\x96\x9f\xf2\x3c\xf9\xd6\x1c\x11\x21\x1e\x8f\xe3\xdd\ \x77\xdf\x45\x32\x99\xc4\x43\x0f\x3d\x34\x8f\x48\x25\xc1\xca\x9c\ \xb5\xcd\x06\x79\xfd\xa5\xfa\x31\x87\x87\x87\x71\xfa\xf4\x69\x0c\ \x0f\x0f\xcf\x22\xf6\x42\x88\x46\xa3\x18\x1b\x1b\x03\x63\x2c\x17\ \x30\x3a\x97\x80\xa4\x75\x36\x3e\x3e\x8e\xa9\xa9\x29\x0c\x0d\x0d\ \xe1\xe8\xd1\xa3\x08\x04\x02\x45\xc9\x4a\x12\x6c\x24\x12\x29\x1b\ \x83\x60\x33\x20\xcf\x12\x8d\x33\x22\x8a\xa7\x52\xa9\x7b\xca\xd9\ \xba\x56\xd0\x34\x0d\x4e\xa7\x73\xde\xfb\xd2\xaa\x39\x7d\xfa\x74\ \x41\x92\x92\x90\x56\xdf\x72\x91\x9f\xe3\x58\xe8\x6f\xa6\x69\xe2\ \xa3\x8f\x3e\xc2\xe5\xcb\x97\x0b\x7e\x5e\x55\xd5\x82\xd7\xbf\x19\ \xe0\x70\x38\x16\xd5\x38\x93\x10\x42\xe0\xc6\x8d\x1b\x38\x75\xea\ \x14\x86\x86\x86\x72\x7d\xb3\x18\xf2\xc3\x41\x18\x63\x8b\xde\x23\ \xb9\x49\x22\xbf\x43\x5a\xce\xc5\x20\xd3\x79\x2a\x28\x1d\x52\xde\ \x9c\x88\xe2\x0c\x40\x7c\x2d\x9c\xcd\xf7\x1a\xe4\x4e\xd3\x5c\xab\ \x33\xdf\x9a\x19\x19\x19\x59\x70\x52\xc8\x01\xbe\x52\x2c\x46\x76\ \xd2\x6f\xf5\xc1\x07\x1f\x2c\xa8\x9c\xba\x19\x27\x8c\xcc\x6d\x2c\ \x06\x21\x04\x2e\x5d\xba\x84\x37\xde\x78\x03\x33\x33\x33\x25\x3b\ \xdb\x9d\x4e\x27\x5a\x5b\x5b\xd1\xd2\xd2\x52\x72\x39\x37\x22\xc2\ \xf0\xf0\x30\x5e\x79\xe5\x15\xdc\xb9\x73\xa7\xa4\x0c\x82\x72\x89\ \xf7\xda\x2c\xc8\x2b\x55\x17\x67\x00\x62\x73\xfd\x1e\x15\xcc\xc7\ \x42\xaa\xa5\xa6\x69\xe2\xdc\xb9\x73\xe8\xed\xed\x2d\x5a\xc8\x74\ \x35\x7c\x81\xc5\x8a\xbd\x12\x11\x62\xb1\x18\xde\x79\xe7\x1d\x8c\ \x8f\x8f\xcf\xbb\x26\xc6\xd8\x92\xb7\xf5\x37\x1a\x32\x44\x60\x31\ \x10\x11\x6e\xdf\xbe\x8d\x33\x67\xce\x20\x91\x48\x2c\x39\x6c\x41\ \x2a\x5b\x2c\x05\x44\x84\x60\x30\x88\xd3\xa7\x4f\x17\xec\xeb\xb9\ \xd0\x34\x4d\x56\xfe\xad\xa0\x08\x72\x8a\x0f\x79\x44\x15\x96\x11\ \xd1\x15\x14\x86\x8c\xaf\x99\x3b\x10\xa5\x5f\xea\xca\x95\x2b\x45\ \xfb\x6f\xb5\x0a\x99\x5a\x96\x95\xdb\x68\x58\xec\x7a\xa7\xa6\xa6\ \xf0\xd1\x47\x1f\x15\x4c\xe7\x90\xb2\x27\x9b\x01\xa5\x68\x9a\x11\ \x11\xc6\xc6\xc6\xf0\xce\x3b\xef\x20\x16\x8b\xad\x2b\x09\x13\x11\ \x26\x26\x26\x70\xfa\xf4\x69\x44\x22\x91\xa2\xdf\xbd\x5e\x01\xce\ \xf7\x02\xa4\xb4\x0e\x80\x69\x06\x60\xb2\x92\x75\xbf\x38\xa4\xff\ \x62\x2e\x52\xa9\x14\x2e\x5e\xbc\x58\xf4\x09\x2e\x97\x87\x32\xa8\ \x70\x25\x10\x42\x20\x12\x89\x14\x25\x46\x22\xc2\xad\x5b\xb7\x30\ \x38\x38\x58\x90\x60\x8b\xe5\x24\x96\x0b\x6c\x36\x5b\xd1\xc0\xd8\ \x44\x22\x81\xf7\xde\x7b\x6f\x51\xff\xe0\x5a\x82\x88\xd0\xdf\xdf\ \x8f\x73\xe7\xce\x15\xcd\xf3\x53\x55\xb5\x6c\xaa\x85\x97\x3b\xf2\ \xea\x6a\x4e\x32\x00\x13\xa9\x54\x8a\x57\xea\xd7\x2d\x8c\x42\xd9\ \xf8\x44\x84\x3b\x77\xee\xa0\xbf\xbf\x7f\x51\xbf\x14\x90\x89\x4e\ \x9e\x9a\x9a\x5a\xb5\xdd\xb6\x48\x24\x82\x99\x99\x99\xa2\xd5\x78\ \x92\xc9\x24\x2e\x5e\xbc\x58\x30\x24\x41\xd7\xf5\x35\x93\xa0\x59\ \x2d\x48\x29\x9b\x62\xb8\x79\xf3\xe6\xa2\xf7\x61\x3d\x20\x84\xc0\ \xf5\xeb\xd7\x31\x3c\x3c\x5c\xf4\xa1\xb5\x5e\xea\x0e\x9b\x1d\xd9\ \x80\x6d\x0e\x60\x52\x05\x30\x61\x9a\xa6\x11\x8b\xc5\xec\x81\x40\ \x60\xa3\xaf\xad\xec\x20\xd5\x39\xf3\x21\x23\xcf\x2f\x5d\xba\x94\ \x0b\xe4\x93\xba\x39\xf9\xc1\xa7\xb2\xe4\x56\x24\x12\x59\x95\x65\ \x9f\x04\xe7\x1c\xe3\xe3\xe3\x88\xc5\x62\x70\xb9\x5c\xd0\x34\x2d\ \x17\xcd\x9f\x1f\x77\xc6\x18\x43\x7f\x7f\x3f\xfa\xfb\xfb\xb1\x7d\ \xfb\xf6\x59\x56\xb3\xdc\x8a\x2f\x27\xa5\xca\xb9\x90\x01\xbf\x0b\ \x81\x88\x10\x89\x44\x70\xe9\xd2\xa5\x92\xab\x18\xad\x15\xa4\x65\ \x77\xf1\xe2\xc5\x9c\xba\x6c\xb1\x76\x95\x73\xdf\x97\x03\xb2\xc1\ \xb9\x06\xf2\x88\x2a\x1d\x8b\xc5\xec\x2b\x2d\xeb\x7e\x2f\x62\xa1\ \xc9\x32\x31\x31\x81\xe1\xe1\x61\x84\xc3\x61\xc4\x62\x31\xa4\x52\ \xa9\x59\x72\xc9\x73\x8b\x04\xac\x36\x64\x5a\x8c\x94\x7b\x06\x66\ \xeb\x5b\xc9\x50\x0a\xb7\xdb\x8d\x5b\xb7\x6e\x15\x8c\x5a\xd7\x75\ \x1d\x89\x44\xa2\x6c\xef\x79\x29\x96\xc7\x8d\x1b\x37\x4a\x72\x64\ \xaf\x07\xa4\x95\x3d\x30\x30\x80\x8e\x8e\x8e\x05\xfb\x75\x33\x3c\ \x24\x36\x1a\x72\x53\xc8\x34\xcd\x34\x80\x09\x95\x88\x26\xd2\xe9\ \xb4\x11\x8d\x46\x37\xfa\xda\xca\x12\xaa\xaa\x16\x9c\x04\x03\x03\ \x03\x18\x18\x18\x40\x28\x14\x5a\xb4\x6a\xce\x7a\xa0\x90\xbf\x2a\ \x95\x4a\x21\x16\x8b\x21\x14\x0a\xc1\xef\xf7\x23\x1a\x8d\xc2\xeb\ \xf5\xce\x9a\x3c\xd2\x0a\x2b\xc7\x00\x50\x59\x04\x63\x21\x48\x0b\ \xa6\xb7\xb7\x77\xc3\xfb\x3f\x1f\xc9\x64\x12\xb7\x6e\xdd\x42\x7b\ \x7b\xfb\xa2\xbe\x35\x39\xae\xca\xf5\x21\x51\x0e\x88\x46\xa3\x48\ \xa7\xd3\x06\x11\x4d\x32\x22\x1a\xb5\x2c\x2b\x51\x21\xaa\xf9\x20\ \xa2\x79\x26\xbc\x4c\x0e\xbe\x74\xe9\x12\x66\x66\x66\xca\x36\xac\ \x43\x5e\x53\x2a\x95\x42\x4f\x4f\x4f\x41\xdf\x49\x31\x32\xd8\x48\ \xc8\x1c\xcf\xc5\x30\x33\x33\x83\xe9\xe9\xe9\xb2\xea\x7f\x22\xca\ \x25\x3c\x2f\x76\x5d\x9a\xa6\x95\xd5\x75\x97\x23\xb2\x45\x5d\x12\ \x44\x34\xc2\x00\xcc\x00\x18\x97\x95\x5e\x2a\xb8\x0b\x29\x0f\x3c\ \x17\x13\x13\x13\xe8\xed\xed\xdd\xe8\xcb\x2b\x09\xf9\x7e\x9c\x42\ \x69\x21\xe5\x4c\x54\xc5\x26\xf2\xf0\xf0\x70\xd9\x29\x99\xca\x1c\ \x43\x29\xe5\xb3\x10\x16\x1a\x5b\x15\x64\x60\x59\x16\xb2\xc6\xd3\ \x38\x80\x19\x06\x20\x06\x60\x70\x23\x25\x54\xcb\x15\x85\xca\x5a\ \x11\x11\xfa\xfa\xfa\x4a\x8a\x99\x29\x17\x08\x21\x30\x38\x38\x58\ \x30\x8c\xa2\x5c\x27\x4b\x31\xa2\x32\x4d\x13\xc3\xc3\xc3\x65\x19\ \xff\x67\x18\x06\x46\x46\x46\x16\x3d\xa6\x50\x72\x74\x05\x77\x61\ \x9a\xa6\x24\xaa\x41\x00\x31\x49\x54\x03\x92\xa8\x36\xcb\xe4\x5b\ \x0f\x2c\x44\x54\x91\x48\x64\x53\x91\xba\x8c\xa0\x2e\x24\xf3\x52\ \x6a\x8d\xc1\xf5\x46\xb1\xdd\x3e\xe9\x83\x2b\xc7\x6b\x97\xb1\x6e\ \xc5\x32\x08\xca\xf5\x21\xb1\xd1\x90\x79\xab\x73\x89\x8a\x03\x18\ \x8c\xc7\xe3\xab\xba\x85\x7e\x2f\xa0\xd0\x24\x96\x42\x68\xe5\xf8\ \x24\x5f\x0c\xf1\x78\x5c\x26\x78\xce\x7a\xbf\x1c\x27\x7a\x29\xd7\ \x25\x43\x3f\x24\xd6\x43\xe2\x67\x31\xcc\xfd\xee\x64\x32\x59\xf4\ \x61\x56\xae\x7d\x5f\x0e\x90\x52\xdc\xc8\x10\x15\x97\xb6\xe7\x60\ \x2a\x95\x4a\x85\xc3\xe1\x8d\xbe\xbe\xb2\x42\xa1\x81\x94\x4e\xa7\ \x11\x0c\x06\x37\xd5\x20\x23\xa2\x5c\x65\xe5\x42\x7f\x2b\xb7\xb6\ \x94\x72\x4d\xe9\x74\x1a\x86\x61\xe4\xd4\x3b\xc7\xc7\xc7\x31\x32\ \x32\xb2\x21\x7a\x5b\xf1\x78\x1c\x43\x43\x43\x98\x9e\x9e\xce\x6d\ \xae\x24\x93\xc9\xa2\xb1\x5d\xe5\xd6\xef\xe5\x84\x6c\x79\xbd\x14\ \x80\x01\x00\x99\xd2\x14\x44\x74\x2b\x95\x4a\xc5\x27\x27\x27\x2b\ \x9d\xb7\x08\xa4\x3a\xc1\x66\xdc\x21\xbd\x97\xf2\x39\xe5\xd2\x40\ \x12\x6f\x2a\x95\xc2\xcc\xcc\x0c\x82\xc1\xe0\xaa\x16\x92\x2d\x05\ \x42\x08\x84\xc3\x61\x84\x42\x21\xcc\xcc\xcc\xe4\xac\x28\xc3\x30\ \x8a\x6e\x4e\x55\xe6\x5a\x61\x10\x11\x26\x27\x27\x91\x4a\xa5\xe2\ \x44\x74\x0b\x00\xd4\xec\x1f\xee\x98\xa6\x39\x31\x31\x31\x11\xb8\ \x57\x06\xf3\x5a\x40\x08\xb1\x69\x35\x9d\xf2\xab\x4a\x6f\x76\x08\ \x21\x72\xda\xe6\xe9\x74\x1a\xba\xae\xc3\xeb\xf5\xc2\x34\xcd\x92\ \xe4\x60\x56\x13\x52\xbe\x25\x99\x4c\xce\x2a\x3a\xab\x69\x5a\xd1\ \xfe\xae\xc4\x50\x15\x06\xe7\x1c\x13\x13\x13\x30\x4d\x73\x9c\x31\ \x76\x07\xc8\x12\x15\x80\x10\x80\xeb\x13\x13\x13\x3b\x0c\xc3\xd8\ \x34\x99\xf5\x6b\x8d\x42\x03\x49\xd7\x75\xf8\xfd\xfe\x4d\x35\xc8\ \x84\x10\xb0\xd9\x6c\x05\xd3\x3a\x36\xda\xb7\xb3\xd0\xf5\x96\xa2\ \x9a\x69\xb3\xd9\x10\x8f\xc7\xa1\xaa\x6a\xae\xb8\xc5\x46\x90\xb1\ \xc7\xe3\xc9\x49\x24\xcb\x20\x4e\xbb\xdd\x5e\xb6\xa1\x1f\xe5\x0e\ \xc3\x30\x64\x78\xc7\x75\x00\x41\x00\xb9\xaa\x84\x51\x00\xd7\x66\ \x66\x66\x96\xac\xe5\x73\x2f\xa3\xd0\x84\x91\x45\x2f\x37\x9b\x75\ \x22\x15\x32\xe7\xb6\xa7\xdc\x48\xaa\xd4\xeb\x9a\xab\x68\xb1\xd1\ \xdb\xfd\xf9\x1b\x2f\x92\xa8\x64\x99\xad\x85\x50\x59\xbd\xcc\x87\ \xcc\x38\x98\x99\x99\x01\x80\x6b\xc8\x44\x25\x80\x3d\xf7\xdc\x73\ \xf2\x98\xab\x89\x44\x22\x5d\x6e\x91\xbe\x1b\x09\x99\x68\x9c\x0f\ \x21\x04\x5c\x2e\xd7\xa6\xda\x5a\x16\x42\xc0\xeb\xf5\xc2\xe5\x72\ \xcd\xfb\xdb\x4a\xe5\x91\xd7\x0a\x8b\xf9\x77\xa4\x85\x58\x48\xdb\ \xbc\x1c\x20\x97\x83\x8b\x59\x54\xab\xa5\xa1\x7f\xaf\x41\xca\x7a\ \x27\x12\x09\x03\xc0\x55\x00\x78\xee\xb9\xe7\xee\xd6\x79\x26\xa2\ \x2b\xa9\x54\x2a\x32\x39\x39\xb9\xd1\xd7\x5a\x36\x58\x68\x12\xb7\ \xb5\xb5\xe5\x6a\xb6\x6d\x06\x10\x11\x9a\x9b\x9b\x0b\x56\x4d\x29\ \xd7\x6c\x84\x62\xd7\xa5\x69\x1a\x1a\x1a\x1a\xca\xd2\xb2\xd5\x34\ \x0d\x8d\x8d\x8d\x8b\x1e\x93\x57\x0a\xaa\x82\x39\xc8\x3a\xd2\xa3\ \x44\x74\x45\xbe\x97\x4f\x54\x7d\x96\x65\xf5\x4f\x4e\x4e\x6e\xaa\ \x60\xc6\xb5\x44\x21\xd9\x5f\x21\x04\xea\xeb\xeb\xd1\xde\xde\xbe\ \xd1\x97\x57\x12\x84\x10\x70\x3a\x9d\xe8\xea\xea\x9a\x37\xa9\xf3\ \xca\x11\x95\x1d\xf2\x95\x28\x16\x42\x4b\x4b\x4b\xd9\xf9\x53\x85\ \x10\x70\xbb\xdd\xa8\xab\xab\x5b\xf4\xb8\x62\x92\xd2\xf7\x2b\x4c\ \xd3\xc4\xe4\xe4\x24\x2c\xcb\xba\x43\x44\x77\xe4\xfb\xf9\x23\x77\ \x0a\xc0\xb9\xf1\xf1\xf1\x5c\x7c\xca\xfd\x8e\x42\x13\x59\x08\x01\ \x87\xc3\x81\xbd\x7b\xf7\xc2\xeb\xf5\xe6\xde\x2b\x57\x68\x9a\x86\ \x8e\x8e\x0e\x6c\xd9\xb2\x65\xde\x75\x96\xf3\x64\xc9\xaf\x5e\xbc\ \x10\xaa\xaa\xaa\x50\x55\x55\x55\x56\xfd\x2f\x84\x40\x43\x43\x03\ \x5c\x2e\xd7\xa2\xd7\x55\x4e\xb5\x34\xcb\x05\x32\xde\x6f\x7c\x7c\ \x1c\x00\x3e\x44\x86\x93\x00\xcc\x26\x2a\x13\xc0\xfb\xd3\xd3\xd3\ \xe9\xe9\xe9\xe9\x8d\xbe\xe6\xb2\xc1\x42\x45\x43\xdb\xda\xda\xd0\ \xda\xda\x8a\xfa\xfa\x7a\xb8\xdd\xee\x9c\x6e\xd5\x46\xa5\xa4\x48\ \x67\xb2\xdc\xb6\xb7\xdb\xed\x08\x04\x02\x68\x6a\x6a\x42\x47\x47\ \x07\x3c\x1e\x4f\xc1\x65\x5f\xb9\x12\x55\x9e\x5e\x76\x41\xc8\x07\ \x46\x7b\x7b\x7b\x59\x3d\x54\x75\x5d\xc7\xd6\xad\x5b\x8b\xee\xf8\ \xad\x46\x31\xda\x7b\x11\xd3\xd3\xd3\x98\x9e\x9e\x36\x01\xbc\x8f\ \x0c\x27\x01\xc8\x86\x27\x3c\xf7\xdc\x73\x38\x79\xf2\x24\x88\xe8\ \x6c\x2c\x16\x9b\xee\xef\xef\xaf\x6f\x6e\x6e\xde\xe8\x6b\x2e\x0b\ \xc8\x52\x62\x73\x9d\xe7\x75\x75\x75\x68\x68\x68\x80\x65\x59\xf0\ \xfb\xfd\xb9\xc2\x9e\xd2\x49\x2a\x8b\x39\x24\x93\x49\xc4\x62\xb1\ \x55\x27\x04\xa9\x7b\xee\x74\x3a\xa1\xeb\x7a\x4e\xdf\x48\x12\xa5\ \xaa\xaa\x50\x14\x05\x9a\xa6\x61\xeb\xd6\xad\x05\x77\xa0\xca\x5d\ \x2b\xdf\x30\x8c\x45\xb5\xdd\x89\x08\xbb\x76\xed\x42\x4f\x4f\x0f\ \xca\x21\x58\x59\x08\x81\x96\x96\x16\xb4\xb5\xb5\x2d\x7a\xdc\x6a\ \x15\xfa\xb8\x17\xd1\xdf\xdf\x8f\x58\x2c\x36\x45\x44\xe7\x80\x0c\ \x37\x01\x77\xe3\xa8\x00\x64\x02\x3f\x39\xe7\x57\xfa\xfa\xfa\xea\ \x1f\x7c\xf0\xc1\x25\x97\x0f\xba\x17\x61\x59\x16\x0c\xc3\x98\x15\ \x48\x98\xef\xf7\x19\x1b\x1b\x83\x65\x59\x39\x5f\x49\xfe\x64\x91\ \xe1\x0d\xf1\x78\x1c\xe3\xe3\xe3\xab\x26\x49\x42\x44\xa8\xae\xae\ \x46\x20\x10\x28\x28\xec\x27\xc9\x47\x08\x81\xa6\xa6\xa6\x82\xfe\ \xb4\xbc\x2a\xb4\x65\x8b\x74\x3a\x0d\xcb\xb2\x16\xb4\x4e\x84\x10\ \xf0\xfb\xfd\xd8\xb3\x67\x0f\x4e\x9f\x3e\xbd\xe1\xa4\x6b\xb3\xd9\ \xb0\x6f\xdf\x3e\xd8\xed\xf6\x45\xaf\x25\x9d\x4e\x97\xad\x6f\x70\ \x23\x61\x18\x06\xfa\xfa\xfa\xc0\x39\xbf\x2a\x03\x3d\x25\xe6\x6e\ \x99\x04\x01\x9c\x19\x1b\x1b\x5b\x52\x01\xc7\x7b\x1d\xa9\x54\xaa\ \xe0\xc0\xdb\xb6\x6d\x1b\x9a\x9b\x9b\x67\xfd\x6d\xae\x04\x31\x11\ \xc1\xed\x76\xa3\xba\xba\x7a\xd5\x76\xa8\xe4\xf9\xe4\x04\xce\xff\ \xce\xfc\x6b\xd1\x75\x1d\xdd\xdd\xdd\x05\x77\xfb\x36\xc3\x64\x91\ \x0f\x89\x62\xd8\xb9\x73\x67\x2e\xe0\x73\xa3\x20\x84\x58\xd0\x17\ \x38\x17\xe5\x6e\xc9\x6e\x04\x88\x08\x33\x33\x33\x18\x1b\x1b\x03\ \x32\xcb\xbe\x99\xfc\xbf\xe7\x66\x8e\x34\xb1\x88\xe8\xb5\x68\x34\ \x1a\xda\xe8\xaa\x1e\xe5\x84\x74\x3a\x3d\xcf\x54\x97\x3e\x92\xee\ \xee\xee\xa2\x3b\x4f\x32\xf6\xaa\xd8\x93\xb6\x14\x10\x11\xbc\x5e\ \x6f\xd1\x38\x2e\x21\x04\xda\xda\xda\xd0\xd6\xd6\x56\x30\x16\xac\ \x9c\xb5\xd2\xf3\x51\x4c\xa9\x42\xee\xb2\x3d\xf2\xc8\x23\xf3\xa4\ \x96\xd7\x0b\x42\x08\x34\x36\x36\xe2\xa1\x87\x1e\x2a\xba\x0a\x31\ \x4d\x73\x43\x12\xa7\xcb\x1d\xb2\xe4\x58\x34\x1a\x0d\x13\xd1\x6b\ \xc0\x5d\x4e\x02\xe6\x5b\x54\x20\xa2\x0b\x96\x65\x5d\xec\xeb\xeb\ \x2b\xfb\xa5\xc1\x7a\x81\x73\x8e\x64\x32\x59\x70\xc2\xb7\xb7\xb7\ \x63\xe7\xce\x9d\x45\xcf\x51\xa8\x9a\xcd\x72\x50\xca\x79\x64\x80\ \xe7\x03\x0f\x3c\x50\xf0\x58\xa9\x3c\xb0\x19\x60\x9a\x66\xd1\x6b\ \x95\xbe\xa1\x47\x1e\x79\x04\x36\x9b\x6d\x5d\xc9\x4a\x08\x01\x9f\ \xcf\x87\x63\xc7\x8e\x21\x10\x08\x14\xfd\x6e\xa9\xaa\x50\xc1\x6c\ \xc8\x65\x9f\x65\x59\x17\x89\xe8\xfc\xdc\xbf\x17\x5a\x8b\x4c\x01\ \x78\x6d\x64\x64\x04\xa1\x50\xa8\x62\x55\x65\x91\x4a\xa5\x0a\x4e\ \x18\x4d\xd3\xf0\xd0\x43\x0f\x15\x35\xf9\xa5\x83\x7b\xa5\xfd\x29\ \x77\xf6\x16\xfa\x2e\x19\xb5\xfd\xc8\x23\x8f\xa0\xa9\xa9\x69\x53\ \x5b\x53\xf9\xd7\x5b\x4a\x14\xf7\xce\x9d\x3b\x71\xe8\xd0\x21\x68\ \x9a\xb6\xe4\xf6\xc9\xcd\x90\xa5\x5e\x9b\xcb\xe5\xc2\xa3\x8f\x3e\ \x3a\xcf\x05\x50\x08\x72\x73\xa5\x82\xd9\x20\x22\x84\x42\x21\xa9\ \x8a\xfa\x2a\xf2\xc2\x12\x24\x66\x11\x55\xde\xf2\xef\xd5\x48\x24\ \x32\x3d\x30\x30\x50\x21\xaa\x2c\x38\xe7\x88\xc7\xe3\xf3\x26\x8c\ \xb4\x5e\x8e\x1d\x3b\x86\xea\xea\xea\x45\x09\x64\x35\x7c\x54\xc5\ \xc2\x1f\x14\x45\xc1\xc1\x83\x07\x17\xb4\xf2\x92\xc9\xe4\xa6\x5b\ \x7a\x18\x86\x81\x44\x22\x51\x52\xdf\x1c\x3c\x78\x10\xc7\x8e\x1d\ \x2b\x1a\xc7\x94\x8f\x78\x3c\x8e\x81\x81\x01\x0c\x0d\x0d\x95\xbc\ \x1b\x27\x84\x40\x75\x75\x35\x3e\xf3\x99\xcf\x60\xfb\xf6\xed\x25\ \x1d\x9f\x48\x24\x2a\xd6\x54\x01\x10\x11\x06\x06\x06\x10\x89\x44\ \xa6\x89\xe8\x15\x60\xf6\xb2\x0f\x28\x6c\x51\x81\x88\x2e\x9a\xa6\ \x79\xfe\xc6\x8d\x1b\x9b\x6e\x50\xaf\x25\x0c\xc3\x28\xf8\x44\x94\ \xd1\xea\xc7\x8e\x1d\x2b\x18\xaf\x24\xb1\x52\xa2\x92\xa2\x6c\x8b\ \x6d\xd7\xef\xd9\xb3\x07\x0f\x3c\xf0\x40\x41\x1f\x96\x65\x59\x88\ \xc7\xe3\x2b\xb2\xa6\xe4\xf7\xcf\x7d\x31\xc6\x0a\xbe\x16\x3a\x7e\ \xa9\x48\x24\x12\x25\x91\x88\xa2\x28\xd8\xbf\x7f\x3f\x9e\x78\xe2\ \x09\xd4\xd4\xd4\x94\xa4\xc4\x20\x89\x50\xaa\xdc\x2e\x76\x7d\xf2\ \x5c\xad\xad\xad\x78\xea\xa9\xa7\x0a\xd6\x4b\x2c\x84\x54\x2a\x55\ \xb1\xa6\x16\x40\x2a\x95\xc2\x8d\x1b\x37\x60\x9a\xe6\x87\x44\x74\ \xa9\xd0\x31\x0b\x45\xa5\x85\x00\xfc\xe7\x81\x81\x81\xc7\x46\x46\ \x46\xb4\xf6\xf6\xf6\x4a\x02\x65\x16\x52\x56\x64\xae\xef\x47\x08\ \x81\xad\x5b\xb7\xe2\x89\x27\x9e\xc0\xe9\xd3\xa7\x31\x31\x31\x31\ \x6b\x00\xe7\xc7\x38\xad\x94\x28\x0a\xa5\xc2\xe8\xba\x8e\xfd\xfb\ \xf7\xe3\xd0\xa1\x43\x05\xfd\x34\x42\x08\x59\xd0\x31\x77\x5d\x85\ \xc2\x1a\x16\x7a\xc9\xbc\x47\x19\xcd\x2e\x63\xc5\x2c\xcb\xca\x2d\ \x9b\xe4\xef\x00\x72\x71\x5c\x32\x00\x55\x06\xc3\xca\xa5\xab\xec\ \x8b\xc5\xc8\x6c\x6e\xa8\x47\x3c\x1e\x87\xd7\xeb\x2d\x89\x18\xb6\ \x6d\xdb\x06\xaf\xd7\x8b\x0b\x17\x2e\xa0\xb7\xb7\x77\xd1\xf2\x55\ \x2e\x97\x0b\x35\x35\x35\x50\x14\x65\xc1\x0d\x0f\xf9\x9e\xcf\xe7\ \xc3\xae\x5d\xbb\xd0\xdd\xdd\xbd\xe8\x43\x29\x1f\xa6\x69\x22\x16\ \x8b\x6d\x9a\xe5\xf6\x7a\x82\x31\x86\x91\x91\x11\x0c\x0c\x0c\x98\ \x00\x7e\x8e\x0c\xf7\xcc\x43\xc1\x3b\x77\xf2\xe4\x49\x00\x68\x13\ \x42\xfc\xe2\xa1\x87\x1e\xda\xf7\xe4\x93\x4f\x56\x96\x80\x79\xd0\ \x34\x0d\x3e\x9f\xaf\xa0\xd5\x42\x44\x98\x98\x98\xc0\x3b\xef\xbc\ \x83\xbe\xbe\xbe\x59\x56\x50\x34\x1a\xc5\xe0\xe0\xe0\xb2\x49\x5f\ \x3a\x6e\xf3\x83\x71\xe5\xae\xd7\xc3\x0f\x3f\x8c\x3d\x7b\xf6\x40\ \x55\xd5\x82\x13\x22\x1a\x8d\x22\x1c\x0e\xe7\x1c\xe9\xd2\x82\x90\ \x24\x63\x18\x06\xe2\xf1\x38\x22\x91\x08\x42\xa1\x50\x2e\x24\x23\ \xfb\x12\x59\xa2\x12\x9c\x73\x91\x25\x29\x91\x25\x2c\x61\x59\x16\ \xb7\x2c\x8b\x67\xcf\x25\x00\x88\x2c\x39\x31\xf9\x62\x8c\x51\x96\ \xa0\x28\x4b\x58\x44\x44\x94\x25\x5d\x92\x84\x65\xb3\xd9\xe0\xf3\ \xf9\xe0\xf1\x78\x72\xc1\xac\x92\xec\x9c\x4e\x27\x6a\x6b\x6b\x51\ \x5f\x5f\x5f\x92\x75\x2a\x65\x8a\x87\x87\x87\x71\xf1\xe2\x45\xdc\ \xb9\x73\x67\x56\xa8\x49\xb1\x31\x9d\x7f\x9c\xcb\xe5\x42\x67\x67\ \x27\xf6\xee\xdd\x8b\x9a\x9a\x9a\x92\x1f\x38\x9c\x73\x29\xab\xbb\ \x5a\xc3\xef\x9e\x82\x10\x02\xa7\x4e\x9d\xc2\x07\x1f\x7c\x70\x91\ \x88\xbe\x04\xe0\xce\xdc\x65\x1f\xb0\xb0\x45\x05\x45\x51\xee\xa4\ \xd3\xe9\x17\x6e\xde\xbc\xb9\xef\xd0\xa1\x43\x39\x33\xba\x02\xe4\ \xe4\x88\x3d\x1e\x4f\x41\xeb\xa6\xb6\xb6\x16\x4f\x3c\xf1\x04\x3e\ \xfc\xf0\x43\x5c\xbb\x76\x2d\x27\x8f\xab\xeb\x3a\x34\x4d\x5b\xf6\ \xa0\x25\xa2\x9c\xba\xa8\x54\xb9\x6c\x68\x68\xc0\x43\x0f\x3d\x94\ \x8b\x86\x2e\x74\x8f\x3e\xfe\xf8\x63\xbc\xf5\xd6\x5b\x72\xc7\x49\ \x18\x86\xc1\x53\xa9\x94\x99\x48\x24\xa2\xa6\x69\x46\x00\x44\x84\ \x10\x31\x00\x71\x21\x44\x94\x73\x1e\x16\x42\x84\x01\x44\x90\xd1\ \x2a\x8b\x01\x48\x08\x21\x12\x00\x92\xd9\x97\x41\x44\x26\x00\x8b\ \x88\x2c\x22\x12\x44\x24\x00\x08\x20\x97\xcb\x46\x42\x08\x26\x84\ \x60\x00\x14\x00\xba\x10\xc2\x06\xc0\x06\xc0\x46\x44\x76\x00\x4e\ \x00\xee\xec\xcb\x43\x44\x1e\xc6\x98\x8f\x88\x5c\x00\x5c\x44\xe4\ \x06\xe0\x52\x55\xd5\x63\xb7\xdb\xdd\x4e\xa7\x53\x3f\x7e\xfc\x38\ \x1d\x3f\x7e\xbc\x24\x05\x4d\xc6\x18\xb6\x6c\xd9\x82\x86\x86\x06\ \x8c\x8f\x8f\x63\x68\x68\x08\x43\x43\x43\x98\x9c\x9c\xcc\x6d\x2a\ \xcc\x8d\x7b\x93\x96\x9e\xdb\xed\x46\x6d\x6d\x2d\x5a\x5a\x5a\xd0\ \xd4\xd4\x84\xea\xea\xea\xdc\x46\x46\x29\x73\x41\x5a\xb1\x15\x92\ \x2a\x0c\x22\xc2\xd4\xd4\x14\x6e\xde\xbc\x09\x21\xc4\x0b\x8a\xa2\ \xdc\x59\xe8\x21\xbe\xe0\x23\xe5\xe4\xc9\x93\x10\x42\x1c\x20\xa2\ \x5f\x9c\x38\x71\x62\xcb\x89\x13\x27\x36\xba\x5d\x65\x07\x87\xc3\ \x01\xb7\xdb\x5d\x70\xc2\xc8\xa7\xf9\xc8\xc8\x08\x2e\x5e\xbc\x88\ \xbe\xbe\x3e\x24\x12\x09\x4c\x4e\x4e\x62\x6a\x6a\x6a\xc9\xdf\x25\ \x77\xf3\x5a\x5a\x5a\x60\xb7\xdb\x51\x53\x53\x83\xae\xae\x2e\x6c\ \xdf\xbe\x7d\x51\xc7\xf1\x27\x9f\x7c\x82\x9f\xfd\xec\x67\x7c\x72\ \x72\xf2\x2d\x00\xa7\x01\x8c\x02\x18\x27\xa2\x29\xc6\x58\x98\x88\ \xa2\x00\xe2\x79\xaf\x14\x80\x9c\xc7\xb7\xd0\xd3\x6d\x2d\x90\xb5\ \xe2\x25\x14\x00\x92\xc4\x1c\x00\x5c\x42\x08\x17\xe7\xdc\x03\xe0\ \x77\xdc\x6e\xf7\xef\x3f\xfb\xec\xb3\xda\x23\x8f\x3c\xb2\x24\x4b\ \x5f\x1e\x6b\x18\x06\x42\xa1\x10\x22\x91\x08\xe2\xf1\x38\xe2\xf1\ \x38\x12\x89\x04\x18\x63\x70\x38\x1c\x70\x3a\x9d\x70\x3a\x9d\xf0\ \x7a\xbd\xf0\x7a\xbd\xb3\x02\x6b\x97\x72\xbf\x62\xb1\x58\xc1\x12\ \x65\x15\xdc\xc5\x5b\x6f\xbd\x85\xb7\xde\x7a\x6b\x40\x08\xf1\x25\ \x22\xfa\x78\xa1\xf1\xb6\x68\xe6\x24\x11\x5d\xe6\x9c\xff\xdd\xe5\ \xcb\x97\xff\x68\xef\xde\xbd\x8b\xee\x6a\xdd\x8f\x90\x4f\xe4\x85\ \x2c\x2b\xc6\x18\x5a\x5a\x5a\x50\x5f\x5f\x8f\xc1\xc1\x41\x5c\xbd\ \x7a\x15\x03\x03\x03\x30\x4d\x13\xc1\x60\x10\x40\x69\xcb\x8f\x7c\ \x92\x6a\x6b\x6b\x43\x47\x47\x07\x76\xee\xdc\xb9\xa8\x7a\x83\x10\ \x02\xe7\xcf\x9f\xc7\x8b\x2f\xbe\x88\xe9\xe9\xe9\xbf\x55\x55\xf5\ \xff\x03\x60\x60\xbd\x88\x67\xa9\x98\x73\x5d\x16\x32\x56\xdc\xac\ \x59\x9e\x25\xb3\x0b\xb1\x58\x8c\xfd\xe2\x17\xbf\xf8\x7d\xd3\x34\ \x95\x47\x1f\x7d\x74\xc1\xe5\x6e\xa1\x3e\x01\x32\x4b\xf7\xda\xda\ \x5a\xd4\xd5\xd5\xcd\x4a\x37\x02\x30\xcb\x7f\x57\x28\xda\xbf\x14\ \x08\x21\x10\x8d\x46\x4b\xda\xa9\xbc\x5f\x21\xad\xa9\xcb\x97\x2f\ \x83\x73\xfe\x2b\xc6\xd8\x95\xc5\x8e\x5f\x30\xbc\xf9\xd2\xa5\x4b\ \xe8\xee\xee\xe6\x00\x26\x13\x89\xc4\xe7\x9c\x4e\xa7\xb7\xb5\xb5\ \x75\xa3\xdb\x57\x76\x90\x3e\x9e\xc5\xc4\xfc\x19\x63\x08\x04\x02\ \xd8\xba\x75\x2b\x3a\x3a\x3a\xb0\x6d\xdb\x36\xb8\x5c\xae\x59\x95\ \x54\x80\xbb\xa4\x24\x1d\xce\x9a\xa6\xc1\xe3\xf1\x60\xe7\xce\x9d\ \xf8\xd4\xa7\x3e\x85\x4f\x7d\xea\x53\x38\x70\xe0\x00\xda\xda\xda\ \x16\x74\xfa\xca\x4a\x39\xef\xbc\xf3\x0e\x7e\xf1\x8b\x5f\xf0\x60\ \x30\xf8\x02\x63\xec\x4f\x00\xf4\x97\x2b\x49\x95\x8a\xec\x98\x4c\ \x12\xd1\x99\x54\x2a\xe5\xbb\x75\xeb\x56\xb7\x10\x42\x6d\x6e\x6e\ \x5e\x56\x30\xed\x62\x04\xb4\xdc\x07\x32\xe7\xbc\x42\x52\x25\xe2\ \xdc\xb9\x73\xb8\x7a\xf5\xea\x20\x80\xff\x81\x88\x16\x1d\x9f\x45\ \xd5\xe7\x19\x63\xe7\x2c\xcb\xfa\xc9\xc5\x8b\x17\xff\xdb\x5d\xbb\ \x76\xcd\x7a\x0a\x55\x90\x41\x2a\x95\x02\xe7\x1c\x2e\x97\x0b\x36\ \x9b\xad\xe0\x31\xd2\xa7\x54\x5d\x5d\x9d\x5b\xb6\xcd\xcc\xcc\xe4\ \x1c\xad\x59\x79\x0b\xa4\xd3\x69\x78\xbd\x5e\x54\x57\x57\xc3\xed\ \x76\xc3\xe1\x70\xa0\xba\xba\x1a\x76\xbb\x7d\xd6\xb9\x0a\xdd\x03\ \xc6\x18\xa6\xa7\xa7\x71\xea\xd4\x29\xbc\xff\xfe\xfb\xc9\x64\x32\ \xf9\x97\x8c\xb1\x7f\x09\x60\x74\xb3\x93\x94\x44\x56\xe9\x63\x82\ \x31\xf6\xdf\x25\x12\x89\xb1\x97\x5f\x7e\xf9\x4f\xc6\xc6\xc6\xbc\ \x4f\x3f\xfd\xf4\x86\xe7\xfb\x49\xdf\xe5\x66\x89\xfa\xdf\x28\x10\ \x11\xc6\xc7\xc7\x71\xf1\xe2\x45\x70\xce\x7f\xaa\x28\xca\x87\xc5\ \xee\x5b\xd1\x05\x7e\xd6\xdc\xde\x23\x84\xf8\xf9\xa1\x43\x87\x76\ \x3c\xf9\xe4\x93\x9b\x4a\x2f\x7c\x3d\x21\x7d\x1c\x0e\x87\xa3\xa4\ \x3e\x2a\xb4\x05\x9f\xff\x37\x89\x62\xbb\x84\xd2\x8a\xba\x7e\xfd\ \x3a\x5e\x79\xe5\x15\xf4\xf6\xf6\x8e\x0a\x21\xfe\x2f\x22\xfa\x77\ \x00\xa2\xf7\x0a\x49\xe5\x23\x2b\x4b\x64\xe3\x9c\x7f\x0b\xc0\xff\ \xd0\xdc\xdc\xdc\xf1\xd9\xcf\x7e\x36\xa7\x5e\xb0\x9e\xe1\x34\x32\ \xc5\x2a\x1e\x8f\x57\x02\x3a\x4b\x80\x65\x59\x38\x75\xea\x14\xce\ \x9d\x3b\xd7\x43\x44\x5f\x06\x70\xb9\xd8\x18\x2d\x3a\x9b\xba\xbb\ \xbb\xa1\x28\xca\xa4\x65\x59\x9e\x50\x28\xf4\x78\x63\x63\x23\x55\ \x55\x55\x6d\x74\x5b\xcb\x12\x42\x88\x5c\x02\xb3\x4c\x99\x29\x65\ \x67\xaa\x90\x85\x54\x8a\x7f\x84\x31\x06\xcb\xb2\x30\x34\x34\x84\ \x97\x5e\x7a\x09\xbf\xfe\xf5\xaf\xad\xd1\xd1\xd1\xdf\x00\xf8\x6f\ \x18\x63\xcf\x01\x48\xdd\x8b\x24\x05\x64\x96\x81\x7b\xf7\xee\xb5\ \x18\x63\x17\x00\x9c\x0e\x85\x42\x75\xd7\xae\x5d\xdb\x36\x36\x36\ \xa6\xe6\x3b\xc1\xd7\xc2\xc2\x92\x0f\x18\xd3\x34\x73\xce\x78\x69\ \x55\x57\xb0\x38\x88\x08\xb7\x6f\xdf\xc6\xdb\x6f\xbf\xcd\x0d\xc3\ \xf8\x9e\xa2\x28\xcf\x0b\x21\x70\xe9\xd2\xa5\xc5\x3f\x57\xca\xc9\ \xb3\x56\x55\x0b\xe7\xfc\xa7\x9d\x9d\x9d\x47\x9f\x7d\xf6\xd9\x25\ \xa5\x28\xdc\x4f\x90\xe4\x91\x4a\xa5\x30\x39\x39\x09\x55\x55\xb1\ \x75\xeb\x56\x78\xbd\x5e\x30\xc6\x56\x5c\x47\x4f\x4e\x92\x54\x2a\ \x85\xa1\xa1\x21\x9c\x3d\x7b\x16\x17\x2f\x5e\x14\xd3\xd3\xd3\x37\ \x84\x10\x3f\x64\x8c\xfd\x07\x00\x23\xf7\x2a\x41\x15\x42\x76\x7c\ \x06\x84\x10\xbf\x23\x84\xf8\x8e\xcf\xe7\xdb\xd7\xd5\xd5\xa5\x1c\ \x3e\x7c\x18\xed\xed\xed\xb9\xe5\xf8\x4a\xc7\xab\xbc\x7f\xb1\x58\ \x0c\x3d\x3d\x3d\x38\x7b\xf6\x2c\x66\x66\x66\xd0\xda\xda\x8a\xd6\ \xd6\x56\x34\x36\x36\xe6\x4a\xa9\x55\x48\x6b\x3e\x88\x08\xb1\x58\ \x0c\x2f\xbc\xf0\x02\x6e\xde\xbc\xf9\x0e\x63\xec\x1b\x00\x06\x4b\ \x19\xab\x4b\x21\x2a\x08\x21\xbe\xa8\x28\xca\x5f\x9e\x38\x71\xa2\ \xe6\xd1\x47\x1f\xad\x04\x81\x66\x21\xfb\x21\x1e\x8f\x63\x68\x68\ \x08\xb7\x6f\xdf\xc6\x9d\x3b\x77\xf8\xf4\xf4\x74\x94\x73\xce\x1a\ \x1b\x1b\xdd\xbb\x77\xef\xc6\xae\x5d\xbb\xd0\xd4\xd4\x04\x87\xc3\ \x31\x6f\xcb\xbb\x50\xfd\xc0\xfc\x9f\x52\x15\x72\x7a\x7a\x1a\xb7\ \x6e\xdd\xc2\xa5\x4b\x97\x70\xfb\xf6\x6d\x2b\x1c\x0e\xdf\x16\x42\ \xfc\x2c\x4b\x50\x3d\x00\xf8\xfd\x44\x52\x12\xd9\xa5\x20\x84\x10\ \x6d\xd9\xe5\xe0\x49\xb7\xdb\xbd\xb3\xad\xad\x4d\xeb\xea\xea\x42\ \x67\x67\x27\x6a\x6b\x6b\xa1\xeb\x7a\xce\xca\x2d\xb5\xef\x2d\xcb\ \x42\x32\x99\xc4\xe8\xe8\x28\x6e\xdc\xb8\x81\x2b\x57\xae\x60\x70\ \x70\x30\x9e\x48\x24\xce\x00\xb8\x48\x44\xfb\x1c\x0e\xc7\xfe\x40\ \x20\x10\x68\x6b\x6b\xa3\xad\x5b\xb7\xa2\xb9\xb9\x79\x56\xcc\x5b\ \x05\x99\x7e\x78\xe7\x9d\x77\xf0\xd6\x5b\x6f\x4d\x5a\x96\xf5\x6d\ \x22\xfa\x15\x50\x5a\x08\x4c\xc9\x4c\x93\x1d\x08\x9a\x65\x59\xff\ \xca\xe3\xf1\xfc\xe9\xb3\xcf\x3e\x4b\xdb\xb6\x6d\xbb\x6f\x6f\x82\ \x1c\xc4\xe9\x74\x1a\xe3\xe3\xe3\xb8\x75\xeb\x16\x7a\x7a\x7a\xc4\ \xc4\xc4\x44\x38\x99\x4c\x7e\x24\x84\x78\x8d\x88\xde\x20\x22\x0f\ \xe7\xfc\x2b\x8c\xb1\x4f\xbb\x5c\xae\x2d\xd5\xd5\xd5\x7a\x4b\x4b\ \x0b\x5a\x5b\x5b\x51\x5d\x5d\x0d\x8f\xc7\x03\xb7\xdb\x9d\x93\x13\ \x06\xee\xea\x85\x27\x12\x09\x84\xc3\xe1\x5c\x66\xf9\x9d\x3b\x77\ \x30\x36\x36\xc6\x83\xc1\x60\x24\x9d\x4e\x9f\x27\xa2\x17\x19\x63\ \x2f\x01\xe8\x05\x60\xdd\x8f\x04\x35\x17\xd9\x87\x2a\x43\x66\x05\ \xf0\x59\x21\xc4\x57\x54\x55\x3d\xec\xf3\xf9\xaa\x6a\x6b\x6b\x95\ \xb6\xb6\x36\x34\x37\x37\xc3\xe7\xf3\xc1\xeb\xf5\xc2\xe9\x74\xce\ \xda\xb1\x95\x51\xfa\xb1\x58\x0c\xe1\x70\x18\xc1\x60\x10\xfd\xfd\ \xfd\x18\x18\x18\xc0\xe4\xe4\x64\x3a\x12\x89\x0c\x71\xce\xcf\x10\ \xd1\x7f\x62\x8c\xbd\x01\x60\x1a\x40\x80\x73\xbe\x4b\x08\xf1\x04\ \x11\x7d\xc6\x6e\xb7\xef\xaf\xad\xad\xf5\x6d\xdf\xbe\x9d\xb6\x6d\ \xdb\x86\xba\xba\xba\x9c\x4e\xd5\xfd\x3c\x5f\x6e\xdd\xba\x85\x17\ \x5e\x78\x41\x44\x22\x91\x7f\xa3\x28\xca\x3f\x15\x42\xa4\x4b\x1d\ \xb3\x4b\x32\x89\xb2\x83\x60\x0b\xe7\xfc\xc7\xed\xed\xed\xc7\x9e\ \x7d\xf6\x59\xf8\x7c\xbe\xfb\xaa\xf3\xe5\xd2\x2e\x18\x0c\xa2\xaf\ \xaf\x0f\xd7\xaf\x5f\xc7\xc8\xc8\x48\x3c\x1a\x8d\x5e\xe6\x9c\xbf\ \x46\x44\xbf\x66\x8c\x7d\x82\xd9\x0a\x85\x1a\x80\x36\xce\xf9\x41\ \x21\xc4\x09\x22\x3a\xc8\x18\x6b\xb3\xd9\x6c\x01\x87\xc3\xa1\xdb\ \x6c\x36\x45\x55\xd5\x9c\x0c\x8c\xcc\x99\x4b\xa7\xd3\x22\x91\x48\ \xa4\x13\x89\x44\xdc\x34\xcd\x61\x21\xc4\x35\x00\xef\x31\xc6\xde\ \x25\xa2\xab\xf2\x3b\x2a\x04\x55\x18\xd9\xf1\xea\x11\x42\x6c\xe7\ \x9c\x1f\x01\x70\x8c\x88\xba\x14\x45\x69\x71\x38\x1c\x6e\x87\xc3\ \xa1\xea\xba\xce\x64\x8a\x8e\xac\x3a\x94\x5d\xba\x5b\x89\x44\x22\ \x9d\x4c\x26\xa7\x39\xe7\xfd\x42\x88\xab\x44\xf4\x06\x63\xec\x7d\ \x00\xfd\x00\x92\xf9\xfd\x9e\x17\xb0\x1a\xe0\x9c\x77\x0b\x21\x9e\ \x62\x8c\x3d\xe1\x76\xbb\xf7\x36\x36\x36\x3a\x77\xee\xdc\x89\xf6\ \xf6\x76\xf8\xfd\x7e\x28\x8a\x72\x5f\x2d\x0d\xa5\x8c\xcb\x0b\x2f\ \xbc\x80\xbe\xbe\xbe\xb7\x19\x63\xdf\x44\x89\x4b\xbe\xdc\x39\x96\ \xf2\x85\x79\x37\xe3\x29\x00\x7f\x71\xe0\xc0\x81\xa6\x27\x9f\x7c\ \x72\xdd\xc5\xca\xd6\x1b\xd2\x7a\x92\x7e\xa1\x2b\x57\xae\xa0\xaf\ \xaf\xcf\x0a\x06\x83\xfd\xa6\x69\xbe\x0e\xe0\x17\x8a\xa2\xbc\x4f\ \x44\xe3\x42\x08\xb1\xd0\x0d\xc8\x7b\xda\x57\x03\xa8\xe1\x9c\x37\ \x0b\x21\x3a\x01\xd4\x09\x21\x3c\xd9\x74\x11\x4d\x08\x11\x23\xa2\ \x08\x80\x20\x11\xf5\x11\xd1\x6d\x22\x9a\x00\x30\x8e\x4c\xfa\x4a\ \x85\x9c\x96\x80\xbc\x71\xab\x23\xd3\xd7\xb5\x42\x88\x76\x21\xc4\ \x56\x00\xfe\xbc\xbe\xe7\x42\x88\x70\xb6\xef\xa7\x89\xa8\x97\x88\ \xee\x64\xfb\x7e\x06\x80\x59\x4a\xbf\x67\x57\x1f\x24\x84\xa8\xb3\ \x2c\xeb\x61\x00\xcf\xa8\xaa\xfa\x69\xbf\xdf\xdf\xda\xde\xde\xae\ \xec\xd9\xb3\x07\xcd\xcd\xcd\xab\xe6\x3b\x2b\x67\x48\x7f\xea\xa9\ \x53\xa7\x70\xe1\xc2\x85\x61\x00\xbf\x07\xe0\x14\xb0\xb4\x31\xbc\ \x64\x27\x53\xf6\x26\x30\xce\xf9\x1f\xaa\xaa\xfa\xaf\x8f\x1f\x3f\ \xee\x3d\x7a\xf4\x68\x59\x56\xac\x5d\x29\x24\x41\x45\x22\x11\xdc\ \xba\x75\x0b\x97\x2f\x5f\xc6\xe0\xe0\x60\x34\x91\x48\x9c\x13\x42\ \xbc\xc8\x18\xfb\x35\x11\xf5\x02\x28\xd9\x84\xad\xe0\xfe\x42\x96\ \x24\x35\x21\x44\x07\xe7\xfc\x29\x22\xfa\x2d\x87\xc3\x71\xa8\xa5\ \xa5\xc5\xd3\xd5\xd5\x85\x6d\xdb\xb6\xc1\xe3\xf1\x00\xb8\x37\x09\ \x8b\x73\x8e\x77\xdf\x7d\x17\x6f\xbf\xfd\x76\xc4\x34\xcd\x7f\xc2\ \x18\xfb\xbe\x10\x62\xc9\x7e\xd4\x65\x79\xc3\x65\x0c\x8b\x65\x59\ \xff\xcc\xe5\x72\xfd\xe3\x27\x9f\x7c\x52\xeb\xee\xee\xde\xe8\x3e\ \x59\x35\x10\x11\x38\xe7\x98\x9c\x9c\xc4\xf5\xeb\xd7\x71\xf5\xea\ \x55\x3e\x31\x31\x31\x92\x4e\xa7\x5f\x21\xa2\x9f\x31\xc6\xce\x10\ \xd1\xb4\x10\xa2\x62\xd9\x54\x50\x12\xf2\x9c\xfd\x01\xce\xf9\x23\ \x42\x88\xaf\x69\x9a\xf6\x64\x6d\x6d\x6d\xe3\xee\xdd\xbb\xd9\xce\ \x9d\x3b\x51\x53\x53\x93\xdb\x59\xbc\x57\x70\xf1\xe2\x45\x9c\x3a\ \x75\x2a\x1d\x8b\xc5\xfe\x4c\x51\x94\xff\x59\x08\xb1\xac\x90\x99\ \x65\x6f\xdb\x65\x9f\x14\x55\x9c\xf3\x7f\xeb\xf3\xf9\xbe\xf9\xd4\ \x53\x4f\xd1\xae\x5d\xbb\x36\xba\x5f\x56\x04\xe9\x1f\x1a\x1b\x1b\ \xc3\xc7\x1f\x7f\x8c\x9e\x9e\x1e\x33\x18\x0c\x5e\xe7\x9c\x3f\xcf\ \x18\x7b\x3e\xeb\x17\xba\x67\x63\x93\x2a\x58\x1f\xe4\x05\xab\xee\ \xe2\x9c\x7f\x95\x31\xf6\x65\xbf\xdf\xbf\x6b\xfb\xf6\xed\xea\xfe\ \xfd\xfb\x51\x5f\x5f\xbf\xa8\xdc\xf4\x66\xc1\xb5\x6b\xd7\xf0\xf2\ \xcb\x2f\x23\x14\x0a\xfd\x0d\x63\xec\xbf\x06\x30\xbd\xdc\xb9\xb3\ \xa2\xf8\x02\xa9\x5b\xc5\x39\xff\xbf\x03\x81\xc0\x17\x3e\xf7\xb9\ \xcf\x51\x67\x67\xe7\x46\xf7\xcf\xd2\x3b\x21\x4b\x50\xa3\xa3\xa3\ \xf8\xf8\xe3\x8f\x71\xfd\xfa\xf5\x54\x38\x1c\xfe\x10\xc0\x4f\x19\ \x63\xbf\x20\xa2\x3b\x8b\xf9\x9e\x2a\xa8\x60\x39\xc8\xf3\x65\xb5\ \x71\xce\x9f\x01\xf0\x3b\x5e\xaf\xf7\xc1\x9d\x3b\x77\xda\xf6\xef\ \xdf\x8f\x86\x86\x86\x4d\x4b\x58\x37\x6f\xde\xc4\x4b\x2f\xbd\x24\ \x66\x66\x66\x5e\x62\x8c\xfd\x57\x00\xfa\x56\x32\x7f\x56\x1c\x08\ \x95\x25\xab\x76\xce\xf9\xff\xb7\xaa\xaa\xea\x99\x27\x9f\x7c\x92\ \x76\xec\xd8\xb1\xd1\xfd\x54\x5a\xe3\xf3\xa4\x58\x3e\xfe\xf8\x63\ \xdc\xb8\x71\x23\x1e\x0e\x87\xdf\x05\xf0\xd7\x8c\xb1\x97\x19\x63\ \x63\x9c\xf3\xca\xf2\xae\x82\x35\xc5\xc9\x93\x27\x65\x90\x68\x1d\ \xe7\xfc\x69\x00\x7f\xcf\xeb\xf5\x1e\xdd\xb1\x63\x87\x73\xff\xfe\ \xfd\x68\x6c\x6c\xdc\x54\x84\x75\xe3\xc6\x0d\x9c\x3a\x75\x4a\x4c\ \x4f\x4f\xff\x92\x31\xf6\x5d\x00\xb7\x57\x3a\x87\x56\x25\x62\x33\ \x4b\x56\xad\x9c\xf3\xff\xd3\xeb\xf5\x7e\xf9\xf1\xc7\x1f\x67\xd9\ \xd4\x9b\xb2\xec\xdc\x02\x04\x15\x0b\x87\xc3\x6f\x0b\x21\xfe\x52\ \x51\x94\x57\x4c\xd3\x9c\x51\x55\xb5\x42\x50\x15\xac\x2b\x4e\x9e\ \x3c\x09\xd3\x34\xa1\xaa\x6a\xc0\xb2\xac\xcf\x12\xd1\xb7\xbd\x5e\ \xef\x89\x1d\x3b\x76\xb8\xca\x9d\xb0\xe4\x9c\xba\x78\xf1\x22\xde\ \x78\xe3\x0d\x1e\x0e\x87\x5f\xcc\xaa\x76\xdc\x59\x8d\x79\xb4\x6a\ \xa1\xe5\x79\x69\x36\xff\xda\xe9\x74\x7e\xfd\xd1\x47\x1f\x55\x1f\ \x7c\xf0\xc1\xb2\x0a\x5d\xc8\x97\xa6\x95\x16\x54\x24\x12\x79\x4b\ \x08\xf1\x17\x8a\xa2\x9c\xe2\x9c\x87\x18\x63\x15\x82\xaa\x60\x43\ \x91\x15\xad\x04\x11\xf9\xb2\x84\xf5\xfb\x1e\x8f\xe7\x31\x69\x61\ \x35\x35\x35\x95\x15\x61\xc9\x10\x84\x0f\x3f\xfc\x10\xef\xbc\xf3\ \x8e\x19\x8f\xc7\xff\x33\x63\xec\x1f\x63\x15\xf5\xcf\x56\x35\x07\ \x26\x4b\x56\xb5\x42\x88\xff\x56\xd3\xb4\x3f\xee\xea\xea\xf2\x1e\ \x3b\x76\x0c\x55\x55\x55\x1b\xda\xa9\x72\x17\x6f\x78\x78\x18\x1f\ \x7d\xf4\x11\x7a\x7a\x7a\x92\x91\x48\xe4\x34\x80\x3f\x67\x8c\xbd\ \x2c\x84\x08\x12\x51\x85\xa0\x2a\x28\x2b\xe4\x11\x96\x9f\x73\xfe\ \x14\x80\x7f\xe0\xf1\x78\x8e\x6d\xdf\xbe\xdd\xfe\xc0\x03\x0f\xa0\ \xa9\xa9\x69\xc3\x77\x09\x89\x08\xd3\xd3\xd3\x38\x7d\xfa\x34\x2e\ \x5f\xbe\x1c\x4e\xa7\xd3\xff\x0f\x11\xfd\x19\x80\x89\xd5\x9c\x4f\ \xab\x9e\xac\x97\xb7\xa3\x71\x12\xc0\x3f\x6b\x69\x69\xd9\xfa\xd8\ \x63\x8f\x61\xeb\xd6\xad\xeb\xde\xa9\x52\xa5\x71\x7c\x7c\x1c\x1f\ \x7d\xf4\x11\xae\x5e\xbd\x6a\x84\xc3\xe1\xb3\x00\xfe\xff\x8c\xb1\ \x5f\x72\xce\xa7\x2a\x16\x54\x05\xe5\x8e\x93\x27\x4f\x82\x73\x0e\ \xc6\x58\x15\xe7\xfc\x4b\x00\xfe\xd0\xeb\xf5\x1e\xde\xbd\x7b\xb7\ \xfe\xc0\x03\x0f\xa0\xae\xae\x6e\xc5\xd5\x8d\x96\x0a\xf9\xf0\xbf\ \x7d\xfb\x36\xde\x7c\xf3\x4d\x0c\x0e\x0e\xf6\x01\xf8\x97\x8c\xb1\ \x1f\x2f\x37\x04\x61\xd1\xef\x5b\x8b\x46\xc8\xa0\x50\x21\xc4\x51\ \xce\xf9\xff\xe2\xf1\x78\x8e\x1d\x38\x70\x40\x7d\xf0\xc1\x07\xd7\ \x25\xe5\x46\x06\x6a\x4e\x4f\x4f\xe3\xe3\x8f\x3f\xc6\xc5\x8b\x17\ \xcd\x60\x30\x78\x59\x08\xf1\x03\xc6\xd8\xcf\x9c\x4e\xe7\x68\x3c\ \x1e\xaf\x10\x54\x05\x9b\x0a\x27\x4f\x9e\x84\xa6\x69\x48\xa7\xd3\ \x0d\x9c\xf3\xaf\x12\xd1\x1f\xf8\xfd\xfe\xee\xee\xee\x6e\x75\xff\ \xfe\xfd\x90\xf2\x4b\xeb\x31\xbf\x42\xa1\x10\x3e\xfc\xf0\x43\x5c\ \xb8\x70\xc1\x8c\x44\x22\xef\x30\xc6\xfe\x19\x11\x9d\x5e\x4e\x30\ \x67\x49\xdf\xb9\x56\x8d\xc9\x4b\x5b\x68\xe2\x9c\xff\x03\xc6\xd8\ \x1f\x36\x35\x35\xb5\x1c\x39\x72\x04\xdb\xb7\x6f\x87\xae\xeb\xab\ \xde\xa1\x92\xa0\xc2\xe1\x30\x2e\x5d\xba\x84\x0b\x17\x2e\xf0\xa9\ \xa9\xa9\x9b\x9c\xf3\xbf\x62\x8c\xfd\x4d\x25\xcc\xa0\x82\x7b\x01\ \x32\xac\x81\x73\xde\x2a\x84\x38\xc9\x18\xfb\x76\x75\x75\xf5\xf6\ \x03\x07\x0e\xb0\xbd\x7b\xf7\x2e\xaa\xa5\xbf\x12\x10\x11\x0c\xc3\ \x40\x4f\x4f\x0f\xce\x9c\x39\x83\xe1\xe1\xe1\x41\xce\xf9\xf7\x19\ \x63\x3f\x00\x30\x0c\xac\x5d\x6a\xd7\x9a\xeb\xb4\x64\x3b\x55\xe1\ \x9c\x1f\x16\x42\xfc\x89\xcd\x66\xfb\xe2\xb6\x6d\xdb\x9c\x07\x0f\ \x1e\x44\x5b\x5b\x1b\x74\x5d\x5f\x71\x82\xa6\x24\xa8\x58\x2c\x86\ \x6b\xd7\xae\xe1\xfc\xf9\xf3\x62\x6c\x6c\x6c\xd0\xb2\xac\x1f\x13\ \xd1\x0f\x19\x63\x37\xd6\x8a\xe9\x2b\xa8\x60\xa3\x90\x97\xce\xb6\ \x43\x08\xf1\x6d\x45\x51\x4e\xd6\xd7\xd7\x6f\x39\x78\xf0\x20\xed\ \xda\xb5\x0b\x2e\x97\x0b\xc0\xea\xe8\x70\x19\x86\x81\x3b\x77\xee\ \xe0\xfc\xf9\xf3\xb8\x75\xeb\x56\x3c\x95\x4a\xfd\x8a\x88\xfe\x4f\ \xc6\xd8\x59\x21\xc4\x9a\x2b\x77\xac\x9b\xa0\x54\xd6\xc2\xf2\x0a\ \x21\x7e\x4b\x08\xf1\x87\x0e\x87\xe3\x50\x47\x47\x87\xe3\xc0\x81\ \x03\x68\x6e\x6e\x86\xc3\xe1\x58\xb2\xa8\x5c\x3e\x41\xf5\xf4\xf4\ \xe0\xc2\x85\x0b\x18\x1a\x1a\x1a\x33\x4d\xf3\xe7\x44\xf4\xe7\x8c\ \xb1\x0b\xeb\xd1\x89\x15\x54\xb0\x91\xc8\x33\x06\xf6\x0b\x21\xfe\ \x50\x55\xd5\x2f\x37\x37\x37\xd7\x1f\x38\x70\x20\x57\x4e\x0d\x58\ \x1a\x61\x49\x81\xc6\x44\x22\x81\xa1\xa1\x21\x59\x71\x3a\x99\x48\ \x24\xce\x11\xd1\x9f\x13\xd1\xcf\x01\x84\xd7\x6b\x6e\xad\xab\xf2\ \x5d\xde\x72\xb0\x96\x73\xfe\x24\x80\xdf\x75\x38\x1c\x8f\x36\x35\ \x35\x79\x76\xed\xda\x85\xce\xce\x4e\x78\xbd\xde\x45\x8b\x3c\x4a\ \x72\x12\x42\x20\x12\x89\xa0\xa7\xa7\x07\x9f\x7c\xf2\x09\x46\x46\ \x46\x26\x0d\xc3\xf8\x15\x63\xec\xcf\x19\x63\x1f\x08\x21\x8c\x0a\ \x41\x55\x70\x3f\x21\x4b\x58\x3a\xe7\xfc\x21\xce\xf9\x1f\xe8\xba\ \xfe\xc5\xc6\xc6\xc6\x9a\x7d\xfb\xf6\x61\xfb\xf6\xed\xf0\x78\x3c\ \xb3\xe6\xcf\x5c\x48\x72\xb2\x2c\x0b\xe1\x70\x18\x37\x6f\xde\xc4\ \xb5\x6b\xd7\x30\x3c\x3c\x1c\x4d\x24\x12\xb9\x40\x68\x00\x13\xc0\ \xfa\x2a\x78\x6c\x98\x44\xe7\x37\xbe\xf1\x0d\x10\x91\x8f\x73\xfe\ \x29\x21\xc4\x49\x4d\xd3\x8e\x07\x02\x81\xfa\xad\x5b\xb7\x2a\xad\ \xad\xad\x68\x69\x69\x81\xcb\xe5\x82\xa6\x69\xb9\x1d\x0d\xa9\xb4\ \x38\x39\x39\x89\x1b\x37\x6e\xe0\xe6\xcd\x9b\x62\x6a\x6a\x6a\xcc\ \x34\xcd\x5f\x13\xd1\x7f\x20\xa2\xf7\x01\x24\x2a\x04\x55\xc1\xfd\ \x8c\xac\x41\x60\x17\x42\x3c\x2c\x84\xf8\x2f\x54\x55\xfd\x5c\x75\ \x75\x75\x43\x67\x67\x27\xed\xd8\xb1\x03\x35\x35\x35\xb0\xdb\xed\ \x50\x14\x25\x37\xb7\x4c\xd3\x44\x34\x1a\xc5\xe0\xe0\x20\xfa\xfb\ \xfb\x71\xfb\xf6\x6d\x6b\x66\x66\x66\x2c\x9d\x4e\x9f\x26\xa2\xe7\ \x18\x63\xbf\x11\x42\x04\x7f\xf2\x93\x9f\x6c\x48\x9b\x36\x5c\x4b\ \x38\xdb\xa9\x4e\x21\x44\x87\x10\xe2\x71\x21\xc4\x13\x36\x9b\xed\ \x90\xc7\xe3\xa9\xdb\xb2\x65\x8b\x12\x08\x04\x72\xc7\xc6\x62\x31\ \x0c\x0d\x0d\x21\x18\x0c\xc6\x62\xb1\x58\x2f\x80\x97\x88\xe8\x79\ \x22\xfa\x04\x73\x84\xcc\x2a\xa8\xe0\x7e\x47\x76\x6e\xd9\x84\x10\ \xfb\x84\x10\x5f\x01\xf0\x79\x97\xcb\xd5\xe1\xf7\xfb\x5d\xcd\xcd\ \xcd\xb9\x25\x21\x00\xcc\xcc\xcc\x60\x60\x60\xc0\x8a\x44\x22\xe3\ \xa9\x54\xea\x1c\x80\x57\x19\x63\x6f\x64\x65\x8c\xe2\x1b\x3d\xb7\ \x36\x9c\xa8\x24\xf2\x96\x85\x1e\xce\xf9\x5e\x00\x9f\x13\x42\x3c\ \x0e\xa0\x0b\x80\x1f\x99\xaa\xb9\x7d\x44\x74\x1e\xc0\x6b\x8c\xb1\ \x37\x01\x0c\xa2\x22\xc1\x5b\x41\x05\x8b\x22\x3b\xb7\x14\x64\x32\ \x47\x1e\x03\xf0\x69\x21\xc4\x83\x00\xda\x01\x38\x01\x84\x00\x5c\ \x26\xa2\x37\x00\xbc\xc4\x18\xbb\x04\x20\x02\x94\x8f\x40\xe3\xff\ \x0b\x60\xf4\xa1\xce\x93\x01\x7a\x93\x00\x00\x00\x25\x74\x45\x58\ \x74\x64\x61\x74\x65\x3a\x63\x72\x65\x61\x74\x65\x00\x32\x30\x31\ \x31\x2d\x30\x38\x2d\x32\x31\x54\x31\x30\x3a\x35\x37\x3a\x35\x36\ \x2d\x30\x37\x3a\x30\x30\x70\x9e\x91\x6b\x00\x00\x00\x25\x74\x45\ \x58\x74\x64\x61\x74\x65\x3a\x6d\x6f\x64\x69\x66\x79\x00\x32\x30\ \x31\x31\x2d\x30\x38\x2d\x32\x31\x54\x31\x30\x3a\x35\x37\x3a\x35\ \x36\x2d\x30\x37\x3a\x30\x30\x01\xc3\x29\xd7\x00\x00\x00\x19\x74\ \x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x77\x77\x77\x2e\ \x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\x67\x9b\xee\x3c\x1a\ \x00\x00\x00\x15\x74\x45\x58\x74\x54\x69\x74\x6c\x65\x00\x58\x62\ \x6f\x78\x20\x43\x6f\x6e\x74\x72\x6f\x6c\x6c\x65\x72\xea\x5b\xfa\ \x15\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x80\x0f\ \x00\ \x00\x01\x00\x09\x00\x20\x20\x10\x00\x01\x00\x04\x00\xe8\x02\x00\ \x00\x96\x00\x00\x00\x10\x10\x10\x00\x01\x00\x04\x00\x28\x01\x00\ \x00\x7e\x03\x00\x00\x30\x30\x00\x00\x01\x00\x08\x00\xa8\x0e\x00\ \x00\xa6\x04\x00\x00\x20\x20\x00\x00\x01\x00\x08\x00\xa8\x08\x00\ \x00\x4e\x13\x00\x00\x10\x10\x00\x00\x01\x00\x08\x00\x68\x05\x00\ \x00\xf6\x1b\x00\x00\x00\x00\x00\x00\x01\x00\x20\x00\xf9\x23\x00\ \x00\x5e\x21\x00\x00\x30\x30\x00\x00\x01\x00\x20\x00\xa8\x25\x00\ \x00\x57\x45\x00\x00\x20\x20\x00\x00\x01\x00\x20\x00\xa8\x10\x00\ \x00\xff\x6a\x00\x00\x10\x10\x00\x00\x01\x00\x20\x00\x68\x04\x00\ \x00\xa7\x7b\x00\x00\x28\x00\x00\x00\x20\x00\x00\x00\x40\x00\x00\ \x00\x01\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x80\x00\x00\x80\x00\x00\x00\x80\x80\x00\x80\x00\x00\ \x00\x80\x00\x80\x00\x80\x80\x00\x00\x80\x80\x80\x00\xc0\xc0\xc0\ \x00\x00\x00\xff\x00\x00\xff\x00\x00\x00\xff\xff\x00\xff\x00\x00\ \x00\xff\x00\xff\x00\xff\xff\x00\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x81\x19\x11\x70\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x71\x97\x91\x99\x99\x10\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x71\x99\x91\x99\x91\x91\x91\x10\x00\x00\x00\x00\x00\x00\x00\ \x01\x79\x79\x97\x91\x99\x91\x99\x19\x70\x00\x00\x00\x00\x00\x07\ \x99\x99\x99\x91\x91\x91\x99\x91\x99\x11\x00\x00\x00\x00\x00\x71\ \x97\x99\x97\x99\x99\x99\x19\x91\x99\x97\x97\x00\x00\x00\x07\x99\ \x91\x91\x99\x99\x79\x19\x99\x91\x91\x91\x91\x00\x00\x00\x09\x79\ \x99\x99\x99\x19\x99\x99\x99\x99\x99\x99\x19\x70\x00\x00\x79\x91\ \x97\x88\x77\x99\x88\x88\x78\x88\x88\x89\x99\x70\x00\x00\x71\x91\ \x99\xff\xff\x19\xff\xff\xff\xff\xff\xf8\x99\x10\x00\x00\x79\x99\ \x98\xff\xff\x99\xff\xff\xff\xff\xff\xf7\x99\x10\x00\x00\x79\x79\ \x97\xff\xff\x79\xff\xff\xff\xff\xff\xf9\x79\x10\x00\x00\x79\x91\ \x98\xff\xf8\x99\xff\xff\xf9\x97\x98\x99\x99\x10\x00\x00\x17\x99\ \x99\xff\xff\x19\xff\xff\xff\x99\x99\x71\x97\x90\x00\x00\x19\x99\ \x77\xff\xff\x99\x7f\xff\xff\xf9\x99\x99\x99\x10\x00\x00\x97\x99\ \x97\xff\xff\x79\x99\xff\xff\xff\x89\x99\x79\x10\x00\x00\x79\x99\ \x98\xff\xff\x99\x97\x7f\xff\xff\xf9\x99\x99\x10\x00\x00\x79\x99\ \x99\xff\xff\x89\x89\x89\xff\xff\xff\x78\x99\x90\x00\x00\x19\x79\ \x88\xff\xff\x98\x98\x98\x7f\xff\xff\xf9\x99\x70\x00\x00\x89\x89\ \x98\xff\xf8\x89\x89\x97\x98\xff\xff\xf8\x89\x70\x00\x00\x79\x79\ \x88\xff\xff\x89\x89\x88\x77\x9f\xff\xf8\x98\x90\x00\x00\x78\x97\ \x98\xff\xff\x99\x79\x99\x98\x9f\xff\xff\x98\x90\x00\x00\x79\x78\ \xff\xff\xff\x77\x88\x88\x88\x8f\xff\xf8\x79\x70\x00\x00\x78\x9f\ \xff\xff\xff\x99\x8f\xff\xff\xff\xff\xf8\x98\x90\x00\x00\x79\x7f\ \xff\xff\xff\x98\x8f\xff\xff\xff\xff\xf9\x89\x70\x00\x00\x78\x98\ \xff\xff\xff\x97\x88\xff\xff\xff\xff\x89\x89\x70\x00\x00\x79\x89\ \x89\x88\x87\x98\x98\x88\x78\x78\x77\x98\x98\x90\x00\x00\x77\x97\ \x79\x89\x89\x89\x77\x98\x98\x98\x97\x79\x89\x70\x00\x00\x79\x87\ \x98\x79\x87\x98\x79\x87\x98\x79\x87\x98\x77\x90\x00\x00\x79\x97\ \x99\x79\x97\x99\x79\x97\x99\x79\x97\x99\x97\x90\x00\x00\x07\x77\ \x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x70\x00\xff\xfe\xff\ \xff\xff\xf0\x1f\xff\xff\xc0\x07\xff\xff\x00\x01\xff\xfe\x00\x00\ \x7f\xf8\x00\x00\x3f\xf0\x00\x00\x0f\xe0\x00\x00\x0f\xe0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xe0\x00\x00\x07\x28\x00\x00\ \x00\x10\x00\x00\x00\x20\x00\x00\x00\x01\x00\x04\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x80\x00\ \x00\x00\x80\x80\x00\x80\x00\x00\x00\x80\x00\x80\x00\x80\x80\x00\ \x00\x80\x80\x80\x00\xc0\xc0\xc0\x00\x00\x00\xff\x00\x00\xff\x00\ \x00\x00\xff\xff\x00\xff\x00\x00\x00\xff\x00\xff\x00\xff\xff\x00\ \x00\xff\xff\xff\x00\x00\x00\x00\x07\x70\x00\x00\x00\x00\x00\x09\ \x19\x99\x70\x00\x00\x00\x09\x79\x97\x99\x79\x70\x00\x00\x99\x99\ \x99\x99\x99\x97\x00\x07\x79\x98\x99\x79\x79\x99\x00\x01\x97\xff\ \x9f\xff\xff\x89\x70\x09\x79\xff\x9f\xff\x88\x79\x70\x09\x19\xff\ \x9f\xff\x99\x99\x70\x07\x99\xff\x99\xff\xf7\x99\x70\x09\x98\xff\ \x98\x9f\xff\x89\x80\x08\x97\xf8\x89\x79\xff\xf9\x80\x07\x98\xff\ \x89\x88\x8f\xf9\xf0\x09\x8f\xff\x98\xff\xff\xf9\x80\x07\x88\x88\ \x78\x88\x88\x79\x80\x09\x89\x89\x89\x89\x89\x89\x80\x07\x79\x77\ \x97\x79\x77\x97\x80\xfe\x7f\x00\x07\xf8\x1f\x00\x07\xe0\x07\x00\ \x07\xc0\x03\x00\x07\x80\x03\x00\x07\x80\x01\x00\x07\x80\x01\x00\ \x07\x80\x01\x00\x07\x80\x01\x00\x07\x80\x01\x00\x07\x80\x01\x00\ \x07\x80\x01\x00\x07\x80\x01\x00\x07\x80\x01\x00\x07\x80\x01\x00\ \x07\x80\x01\x00\x07\x28\x00\x00\x00\x30\x00\x00\x00\x60\x00\x00\ \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x0f\x0f\x7e\x00\x10\x10\x7f\x00\x11\x11\x81\x00\x15\x15\x81\ \x00\x10\x10\x84\x00\x18\x18\x83\x00\x19\x19\x84\x00\x1e\x1e\x86\ \x00\x10\x10\x89\x00\x10\x10\x8d\x00\x11\x11\x91\x00\x11\x11\x96\ \x00\x11\x11\x99\x00\x26\x26\x8a\x00\x28\x28\x8b\x00\x2a\x2a\x8d\ \x00\x2e\x2e\x8e\x00\x25\x25\x96\x00\x28\x28\x9f\x00\x31\x31\x90\ \x00\x36\x36\x92\x00\x38\x38\x94\x00\x3d\x3d\x96\x00\x11\x11\xa0\ \x00\x12\x12\xa4\x00\x12\x12\xa9\x00\x12\x12\xad\x00\x12\x12\xb0\ \x00\x13\x13\xb4\x00\x13\x13\xbb\x00\x13\x13\xbd\x00\x2f\x2f\xa4\ \x00\x31\x31\xa5\x00\x36\x36\xa6\x00\x35\x35\xb8\x00\x3c\x3c\xb9\ \x00\x44\x44\x9a\x00\x49\x49\x9d\x00\x4c\x4c\x9e\x00\x4f\x4f\xa0\ \x00\x51\x51\xa1\x00\x56\x56\xa4\x00\x5f\x5f\xa9\x00\x41\x41\xbb\ \x00\x42\x42\xbc\x00\x44\x44\xbd\x00\x61\x61\xaa\x00\x65\x65\xac\ \x00\x6e\x6e\xb1\x00\x73\x73\xb4\x00\x75\x75\xb4\x00\x7f\x7f\xba\ \x00\x13\x13\xc0\x00\x14\x14\xc1\x00\x14\x14\xc5\x00\x14\x14\xc9\ \x00\x14\x14\xce\x00\x14\x14\xd2\x00\x18\x18\xd3\x00\x1a\x1a\xd4\ \x00\x29\x29\xcd\x00\x21\x21\xd5\x00\x28\x28\xd5\x00\x2c\x2c\xd7\ \x00\x32\x32\xd5\x00\x3c\x3c\xd1\x00\x3b\x3b\xd6\x00\x31\x31\xd8\ \x00\x3a\x3a\xd9\x00\x44\x44\xd3\x00\x4a\x4a\xd5\x00\x4c\x4c\xd5\ \x00\x4a\x4a\xdc\x00\x4c\x4c\xdd\x00\x51\x51\xdd\x00\x56\x56\xde\ \x00\x5a\x5a\xdf\x00\x5c\x5c\xdf\x00\x60\x60\xdf\x00\x6f\x6f\xdf\ \x00\x74\x74\xdd\x00\x7d\x7d\xde\x00\x5b\x5b\xe0\x00\x5c\x5c\xe0\ \x00\x60\x60\xe0\x00\x67\x67\xe0\x00\x6a\x6a\xe0\x00\x6f\x6f\xe0\ \x00\x71\x71\xe1\x00\x76\x76\xe4\x00\x7b\x7b\xe1\x00\x80\x80\xbb\ \x00\x83\x83\xbc\x00\x82\x82\xe1\x00\x86\x86\xe2\x00\x80\x80\xe4\ \x00\x86\x86\xe7\x00\x88\x88\xe2\x00\x8e\x8e\xe1\x00\x87\x87\xe8\ \x00\x89\x89\xe8\x00\x8c\x8c\xe8\x00\x90\x90\xe3\x00\x94\x94\xe3\ \x00\x94\x94\xe5\x00\x92\x92\xe9\x00\x98\x98\xeb\x00\xa3\xa3\xe4\ \x00\xa5\xa5\xee\x00\xa9\xa9\xe9\x00\xa8\xa8\xec\x00\xac\xac\xef\ \x00\xb5\xb5\xea\x00\xbe\xbe\xed\x00\xb3\xb3\xf0\x00\xba\xba\xf1\ \x00\xc1\xc1\xec\x00\xc4\xc4\xee\x00\xc2\xc2\xf1\x00\xc4\xc4\xf3\ \x00\xcd\xcd\xf1\x00\xce\xce\xf5\x00\xd3\xd3\xf2\x00\xd3\xd3\xf6\ \x00\xd8\xd8\xf7\x00\xdc\xdc\xf8\x00\xe6\xe6\xf3\x00\xeb\xeb\xf3\ \x00\xe8\xe8\xf7\x00\xee\xee\xf6\x00\xe0\xe0\xf9\x00\xe4\xe4\xf9\ \x00\xe8\xe8\xfa\x00\xf3\xf3\xf7\x00\xf5\xf5\xf8\x00\xf2\xf2\xfc\ \x00\xf9\xf9\xfa\x00\xfe\xfe\xfe\x00\xff\xe4\x71\x00\xff\xea\x91\ \x00\xff\xf0\xb1\x00\xff\xf6\xd1\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2f\x14\x00\x00\x50\x22\x00\x00\x70\x30\x00\x00\x90\x3e\x00\ \x00\xb0\x4d\x00\x00\xcf\x5b\x00\x00\xf0\x69\x00\x00\xff\x79\x11\ \x00\xff\x8a\x31\x00\xff\x9d\x51\x00\xff\xaf\x71\x00\xff\xc1\x91\ \x00\xff\xd2\xb1\x00\xff\xe5\xd1\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2f\x03\x00\x00\x50\x04\x00\x00\x70\x06\x00\x00\x90\x09\x00\ \x00\xb0\x0a\x00\x00\xcf\x0c\x00\x00\xf0\x0e\x00\x00\xff\x20\x12\ \x00\xff\x3e\x31\x00\xff\x5c\x51\x00\xff\x7a\x71\x00\xff\x97\x91\ \x00\xff\xb6\xb1\x00\xff\xd4\xd1\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2f\x00\x0e\x00\x50\x00\x17\x00\x70\x00\x21\x00\x90\x00\x2b\ \x00\xb0\x00\x36\x00\xcf\x00\x40\x00\xf0\x00\x49\x00\xff\x11\x5a\ \x00\xff\x31\x70\x00\xff\x51\x86\x00\xff\x71\x9c\x00\xff\x91\xb2\ \x00\xff\xb1\xc8\x00\xff\xd1\xdf\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2f\x00\x20\x00\x50\x00\x36\x00\x70\x00\x4c\x00\x90\x00\x62\ \x00\xb0\x00\x78\x00\xcf\x00\x8e\x00\xf0\x00\xa4\x00\xff\x11\xb3\ \x00\xff\x31\xbe\x00\xff\x51\xc7\x00\xff\x71\xd1\x00\xff\x91\xdc\ \x00\xff\xb1\xe5\x00\xff\xd1\xf0\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2c\x00\x2f\x00\x4b\x00\x50\x00\x69\x00\x70\x00\x87\x00\x90\ \x00\xa5\x00\xb0\x00\xc4\x00\xcf\x00\xe1\x00\xf0\x00\xf0\x11\xff\ \x00\xf2\x31\xff\x00\xf4\x51\xff\x00\xf6\x71\xff\x00\xf7\x91\xff\ \x00\xf9\xb1\xff\x00\xfb\xd1\xff\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x1b\x00\x2f\x00\x2d\x00\x50\x00\x3f\x00\x70\x00\x52\x00\x90\ \x00\x63\x00\xb0\x00\x76\x00\xcf\x00\x88\x00\xf0\x00\x99\x11\xff\ \x00\xa6\x31\xff\x00\xb4\x51\xff\x00\xc2\x71\xff\x00\xcf\x91\xff\ \x00\xdc\xb1\xff\x00\xeb\xd1\xff\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x08\x00\x2f\x00\x0e\x00\x50\x00\x15\x00\x70\x00\x1b\x00\x90\ \x00\x21\x00\xb0\x00\x26\x00\xcf\x00\x2c\x00\xf0\x00\x3e\x11\xff\ \x00\x58\x31\xff\x00\x71\x51\xff\x00\x8c\x71\xff\x00\xa6\x91\xff\ \x00\xbf\xb1\xff\x00\xda\xd1\xff\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x17\x03\x0b\x09\x0f\x31\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x29\ \x04\x0c\x1d\x38\x3a\x39\x1f\x18\x05\x15\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x09\x1a\ \x38\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x39\x1d\x0b\x07\x32\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0a\x1d\x39\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x35\x0d\x07\x32\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x16\x09\x1d\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x36\x0c\x08\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x30\x05\x1a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x1e\ \x0a\x16\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x0f\x0d\x38\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x39\x1a\x04\x5c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x5d\x03\x1c\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x36\x09\x27\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x2f\x09\x36\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x39\x0d\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x30\x0a\x39\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x18\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x05\x38\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x0c\x30\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x25\x1b\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x37\x04\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x03\x38\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3b\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x0c\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x0b\x3a\x3a\x3a\x3a\x3a\x3a\x50\x7a\x7a\x7a\x7a\x7a\x70\x3a\ \x3a\x41\x77\x78\x78\x78\x78\x78\x78\x78\x78\x78\x78\x78\x78\x78\ \x78\x78\x73\x3b\x3a\x3a\x3a\x1a\x2f\x00\x00\x00\x00\x00\x00\x00\ \x00\x0d\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8a\x8a\x8a\x8a\x8a\x7c\x3a\ \x3a\x43\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\ \x8a\x8a\x85\x3b\x3a\x3a\x3a\x1d\x16\x00\x00\x00\x00\x00\x00\x00\ \x31\x19\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8a\x8a\x8a\x8a\x8f\x7c\x3a\ \x3a\x43\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\ \x8a\x8a\x85\x3b\x3a\x3a\x3a\x35\x0e\x00\x00\x00\x00\x00\x00\x00\ \x30\x1a\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8a\x8a\x8a\x8a\x8a\x7c\x3a\ \x3a\x43\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\ \x8a\x8a\x85\x3b\x3a\x3a\x3a\x37\x06\x00\x00\x00\x00\x00\x00\x00\ \x29\x1b\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8a\x8a\x8a\x8a\x8f\x7c\x3a\ \x3a\x43\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\ \x8a\x8a\x85\x3b\x3a\x3a\x3a\x38\x02\x00\x00\x00\x00\x00\x00\x00\ \x27\x1c\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8a\x8a\x8a\x8a\x8a\x7c\x3a\ \x3a\x43\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x79\x76\x76\x76\x76\x76\x76\ \x76\x76\x71\x3b\x3a\x3a\x3a\x38\x01\x00\x00\x00\x00\x00\x00\x00\ \x26\x1c\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8a\x8a\x8a\x8a\x8f\x7c\x3a\ \x3a\x43\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x65\x3b\x3a\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x38\x01\x00\x00\x00\x00\x00\x00\x00\ \x26\x1c\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8a\x8a\x8a\x8a\x8a\x7c\x3a\ \x3a\x3f\x87\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x6b\x3b\x3a\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x39\x01\x00\x00\x00\x00\x00\x00\x00\ \x27\x1c\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8a\x8a\x8a\x8a\x8f\x7c\x3a\ \x3a\x3a\x63\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x6d\x3c\x3a\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x38\x01\x00\x00\x00\x00\x00\x00\x00\ \x27\x1c\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8a\x8a\x8a\x8a\x8a\x7c\x3a\ \x3a\x3a\x3c\x6c\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x74\x3e\x3a\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x38\x01\x00\x00\x00\x00\x00\x00\x00\ \x28\x1c\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8a\x8a\x8a\x8a\x8f\x7c\x3a\ \x3a\x3a\x3a\x3b\x52\x89\x8a\x8a\x8a\x8a\x8f\x8a\x8a\x7a\x3f\x3a\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x38\x02\x00\x00\x00\x00\x00\x00\x00\ \x29\x1c\x3a\x3a\x3a\x3a\x3a\x3a\x5f\x8f\x8f\x8f\x8f\x8f\x7c\x3a\ \x3a\x3b\x3b\x3b\x3c\x51\x89\x8a\x8a\x8a\x8a\x8a\x8f\x8a\x7d\x44\ \x3a\x3a\x3a\x3a\x3a\x3a\x3a\x38\x02\x00\x00\x00\x00\x00\x00\x00\ \x29\x1c\x3b\x3a\x3b\x3a\x3b\x3a\x5f\x8f\x8f\x8f\x8f\x8f\x7e\x4a\ \x4b\x4c\x4d\x4d\x4d\x4d\x68\x89\x8a\x8a\x8f\x8a\x8a\x8a\x8a\x83\ \x45\x3a\x3a\x3a\x3a\x3a\x3a\x38\x03\x00\x00\x00\x00\x00\x00\x00\ \x2a\x1c\x3b\x3a\x3a\x3a\x3b\x3e\x69\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x54\x54\x4e\x53\x53\x67\x89\x8a\x8a\x8a\x8f\x8a\x8a\x8a\ \x85\x4b\x3e\x3b\x3a\x3a\x3a\x38\x03\x00\x00\x00\x00\x00\x00\x00\ \x2a\x1b\x3a\x3b\x3e\x45\x4b\x53\x6e\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x54\x54\x53\x53\x53\x53\x63\x87\x8f\x8a\x8a\x8a\x8a\x8a\ \x8a\x85\x57\x4c\x45\x3e\x3b\x38\x03\x00\x00\x00\x00\x00\x00\x00\ \x2a\x1c\x40\x4a\x53\x54\x54\x54\x6e\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x54\x54\x4e\x53\x53\x53\x4e\x5f\x86\x8f\x8f\x8a\x8a\x8a\ \x8a\x8a\x77\x53\x53\x4e\x4a\x3d\x03\x00\x00\x00\x00\x00\x00\x00\ \x30\x24\x4d\x54\x54\x54\x54\x54\x6e\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x54\x54\x53\x53\x53\x53\x53\x4e\x5e\x86\x8a\x8a\x8a\x8a\ \x8a\x8a\x88\x55\x53\x4e\x53\x48\x11\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2d\x4c\x53\x54\x54\x54\x54\x6e\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x54\x54\x4e\x53\x53\x53\x53\x53\x53\x62\x89\x8a\x8a\x8a\ \x8a\x8a\x8a\x5a\x53\x4e\x4d\x48\x15\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2d\x4c\x54\x54\x54\x54\x54\x6e\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x54\x54\x53\x53\x53\x53\x53\x53\x53\x4e\x75\x8a\x8a\x8a\ \x8a\x8f\x8a\x66\x53\x4e\x4e\x48\x14\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2d\x4c\x53\x54\x54\x54\x54\x6e\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x54\x54\x4e\x53\x53\x53\x53\x53\x53\x53\x72\x8f\x8a\x8a\ \x8a\x8a\x8a\x66\x53\x53\x4d\x48\x14\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2d\x4c\x54\x56\x61\x64\x64\x77\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x54\x54\x53\x53\x53\x53\x53\x53\x53\x55\x81\x8a\x8a\x8a\ \x8a\x8f\x8a\x66\x53\x4e\x53\x48\x14\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2d\x4c\x53\x62\x8f\x8f\x8f\x8f\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x57\x7a\x7a\x7a\x7a\x7a\x7a\x7a\x7a\x7e\x8a\x8a\x8a\x8a\ \x8a\x8a\x8a\x65\x53\x53\x4d\x48\x14\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2d\x4d\x4e\x62\x8a\x8a\x8a\x8a\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x59\x89\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\ \x8a\x8f\x8a\x59\x53\x53\x53\x48\x14\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2d\x4c\x53\x65\x8f\x8a\x8a\x8a\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x58\x89\x8f\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\ \x8a\x8a\x84\x54\x53\x53\x4d\x48\x14\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2d\x4c\x54\x62\x8a\x8a\x8a\x8a\x8f\x8f\x8f\x8f\x8f\x83\x53\ \x54\x53\x57\x89\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\ \x8a\x8a\x6a\x53\x53\x53\x4d\x47\x14\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2d\x4c\x53\x5b\x7f\x8a\x8a\x8a\x8f\x8f\x8f\x8f\x8f\x83\x54\ \x54\x54\x57\x89\x8f\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\x8a\ \x8a\x6f\x53\x53\x53\x53\x4d\x47\x11\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2d\x4c\x53\x53\x55\x5f\x71\x7f\x82\x82\x82\x82\x82\x7b\x54\ \x54\x53\x57\x80\x82\x82\x82\x82\x82\x82\x82\x82\x82\x82\x82\x79\ \x60\x53\x53\x53\x53\x53\x4d\x47\x11\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2e\x4d\x53\x53\x53\x53\x53\x54\x55\x55\x55\x55\x55\x55\x53\ \x53\x53\x54\x55\x4f\x55\x4f\x4f\x4f\x4f\x4f\x4f\x4f\x4f\x4f\x53\ \x53\x53\x53\x53\x53\x53\x4d\x48\x14\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2e\x4d\x53\x53\x53\x53\x53\x53\x54\x54\x54\x54\x54\x54\x54\ \x54\x54\x54\x54\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\ \x53\x53\x53\x53\x53\x53\x53\x48\x14\x00\x00\x00\x00\x00\x00\x00\ \x5d\x2c\x4c\x53\x54\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\ \x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\x53\ \x53\x4d\x4d\x4d\x4d\x4d\x4d\x47\x11\x00\x00\x00\x00\x00\x00\x00\ \x5c\x24\x4b\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\ \x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\x4d\ \x4d\x4d\x4c\x4c\x4c\x4c\x4b\x46\x10\x00\x00\x00\x00\x00\x00\x00\ \x34\x23\x4a\x4b\x4b\x4c\x4c\x4b\x4b\x4b\x4b\x4b\x4b\x4b\x4b\x4b\ \x4b\x4b\x4b\x4b\x4b\x4b\x4b\x4b\x4b\x4b\x4b\x4b\x4b\x4c\x4b\x4b\ \x4b\x4b\x4a\x4a\x4a\x4a\x49\x42\x0e\x00\x00\x00\x00\x00\x00\x00\ \x33\x12\x21\x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\ \x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\x22\ \x22\x22\x22\x21\x21\x21\x20\x13\x08\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\ \xff\xff\xff\x77\x97\xff\xff\xf8\x1f\xff\xff\x77\x97\xff\xff\xc0\ \x07\xff\xff\x77\x97\xff\xff\x00\x00\xff\xff\x77\x97\xff\xfc\x00\ \x00\x3f\xff\x77\x97\xff\xf0\x00\x00\x1f\xff\x77\x97\xff\xc0\x00\ \x00\x07\xff\x77\x97\xff\x80\x00\x00\x01\xff\x77\x97\xfe\x00\x00\ \x00\x00\xff\x77\x97\xfc\x00\x00\x00\x00\x7f\x77\x97\xf8\x00\x00\ \x00\x00\x3f\x77\x97\xf8\x00\x00\x00\x00\x1f\x77\x97\xf0\x00\x00\ \x00\x00\x1f\x77\x97\xf0\x00\x00\x00\x00\x1f\x77\x97\xf0\x00\x00\ \x00\x00\x0f\x77\x97\xf0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\x00\ \x00\x00\x0f\x77\x97\xff\xff\xff\xff\xff\xff\x77\x97\x28\x00\x00\ \x00\x20\x00\x00\x00\x40\x00\x00\x00\x01\x00\x08\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x1a\x1a\x93\x00\x11\x11\x98\ \x00\x11\x11\x9e\x00\x23\x23\x93\x00\x25\x25\x94\x00\x33\x33\x97\ \x00\x38\x38\x97\x00\x37\x37\x98\x00\x3a\x3a\x98\x00\x3d\x3d\x99\ \x00\x12\x12\xa3\x00\x12\x12\xa5\x00\x12\x12\xa9\x00\x12\x12\xad\ \x00\x12\x12\xb0\x00\x13\x13\xb5\x00\x1c\x1c\xb2\x00\x13\x13\xbd\ \x00\x33\x33\xb4\x00\x3f\x3f\xbd\x00\x41\x41\x9c\x00\x47\x47\x9e\ \x00\x49\x49\x9e\x00\x52\x52\xa3\x00\x5a\x5a\xa6\x00\x5d\x5d\xa9\ \x00\x43\x43\xbe\x00\x45\x45\xbf\x00\x61\x61\xaa\x00\x65\x65\xae\ \x00\x69\x69\xb1\x00\x6d\x6d\xb1\x00\x70\x70\xb2\x00\x79\x79\xb7\ \x00\x7c\x7c\xb9\x00\x13\x13\xc0\x00\x14\x14\xc2\x00\x14\x14\xc6\ \x00\x14\x14\xcb\x00\x14\x14\xcc\x00\x14\x14\xd2\x00\x1d\x1d\xd3\ \x00\x1f\x1f\xd5\x00\x20\x20\xd4\x00\x2a\x2a\xd6\x00\x2e\x2e\xd5\ \x00\x3c\x3c\xd7\x00\x33\x33\xd8\x00\x35\x35\xd9\x00\x3a\x3a\xd9\ \x00\x3e\x3e\xd9\x00\x42\x42\xd3\x00\x46\x46\xd3\x00\x49\x49\xd4\ \x00\x4e\x4e\xd5\x00\x40\x40\xdb\x00\x44\x44\xd9\x00\x46\x46\xdc\ \x00\x4a\x4a\xd9\x00\x4b\x4b\xdd\x00\x4e\x4e\xdd\x00\x50\x50\xd6\ \x00\x56\x56\xda\x00\x53\x53\xde\x00\x55\x55\xde\x00\x59\x59\xdf\ \x00\x5d\x5d\xdf\x00\x60\x60\xdd\x00\x6a\x6a\xdf\x00\x5b\x5b\xe0\ \x00\x5c\x5c\xe0\x00\x60\x60\xe0\x00\x66\x66\xe1\x00\x6d\x6d\xe0\ \x00\x73\x73\xe1\x00\x79\x79\xe1\x00\x7c\x7c\xe2\x00\x7b\x7b\xe4\ \x00\x7e\x7e\xe5\x00\x81\x81\xbb\x00\x84\x84\xbd\x00\x81\x81\xe7\ \x00\x84\x84\xe4\x00\x8a\x8a\xe4\x00\x8f\x8f\xe6\x00\x89\x89\xe8\ \x00\x99\x99\xe7\x00\x91\x91\xea\x00\x9a\x9a\xeb\x00\x9e\x9e\xe8\ \x00\xa9\xa9\xe9\x00\xa8\xa8\xee\x00\xae\xae\xef\x00\xb0\xb0\xef\ \x00\xb2\xb2\xf0\x00\xcc\xcc\xf4\x00\xd0\xd0\xf2\x00\xd1\xd1\xf6\ \x00\xdc\xdc\xf8\x00\xe6\xe6\xf5\x00\xe9\xe9\xf6\x00\xe1\xe1\xf9\ \x00\xe5\xe5\xfa\x00\xe9\xe9\xfa\x00\xed\xed\xfb\x00\xf1\xf1\xfb\ \x00\xf5\xf5\xfa\x00\xf0\xf0\xfc\x00\xf4\xf4\xfd\x00\xfe\xfe\xfe\ \x00\xff\xff\xff\x00\x00\x00\x00\x00\x26\x2f\x00\x00\x40\x50\x00\ \x00\x5a\x70\x00\x00\x74\x90\x00\x00\x8e\xb0\x00\x00\xa9\xcf\x00\ \x00\xc2\xf0\x00\x00\xd1\xff\x11\x00\xd8\xff\x31\x00\xde\xff\x51\ \x00\xe3\xff\x71\x00\xe9\xff\x91\x00\xef\xff\xb1\x00\xf6\xff\xd1\ \x00\xff\xff\xff\x00\x00\x00\x00\x00\x2f\x26\x00\x00\x50\x41\x00\ \x00\x70\x5b\x00\x00\x90\x74\x00\x00\xb0\x8e\x00\x00\xcf\xa9\x00\ \x00\xf0\xc3\x00\x00\xff\xd2\x11\x00\xff\xd8\x31\x00\xff\xdd\x51\ \x00\xff\xe4\x71\x00\xff\xea\x91\x00\xff\xf0\xb1\x00\xff\xf6\xd1\ \x00\xff\xff\xff\x00\x00\x00\x00\x00\x2f\x14\x00\x00\x50\x22\x00\ \x00\x70\x30\x00\x00\x90\x3e\x00\x00\xb0\x4d\x00\x00\xcf\x5b\x00\ \x00\xf0\x69\x00\x00\xff\x79\x11\x00\xff\x8a\x31\x00\xff\x9d\x51\ \x00\xff\xaf\x71\x00\xff\xc1\x91\x00\xff\xd2\xb1\x00\xff\xe5\xd1\ \x00\xff\xff\xff\x00\x00\x00\x00\x00\x2f\x03\x00\x00\x50\x04\x00\ \x00\x70\x06\x00\x00\x90\x09\x00\x00\xb0\x0a\x00\x00\xcf\x0c\x00\ \x00\xf0\x0e\x00\x00\xff\x20\x12\x00\xff\x3e\x31\x00\xff\x5c\x51\ \x00\xff\x7a\x71\x00\xff\x97\x91\x00\xff\xb6\xb1\x00\xff\xd4\xd1\ \x00\xff\xff\xff\x00\x00\x00\x00\x00\x2f\x00\x0e\x00\x50\x00\x17\ \x00\x70\x00\x21\x00\x90\x00\x2b\x00\xb0\x00\x36\x00\xcf\x00\x40\ \x00\xf0\x00\x49\x00\xff\x11\x5a\x00\xff\x31\x70\x00\xff\x51\x86\ \x00\xff\x71\x9c\x00\xff\x91\xb2\x00\xff\xb1\xc8\x00\xff\xd1\xdf\ \x00\xff\xff\xff\x00\x00\x00\x00\x00\x2f\x00\x20\x00\x50\x00\x36\ \x00\x70\x00\x4c\x00\x90\x00\x62\x00\xb0\x00\x78\x00\xcf\x00\x8e\ \x00\xf0\x00\xa4\x00\xff\x11\xb3\x00\xff\x31\xbe\x00\xff\x51\xc7\ \x00\xff\x71\xd1\x00\xff\x91\xdc\x00\xff\xb1\xe5\x00\xff\xd1\xf0\ \x00\xff\xff\xff\x00\x00\x00\x00\x00\x2c\x00\x2f\x00\x4b\x00\x50\ \x00\x69\x00\x70\x00\x87\x00\x90\x00\xa5\x00\xb0\x00\xc4\x00\xcf\ \x00\xe1\x00\xf0\x00\xf0\x11\xff\x00\xf2\x31\xff\x00\xf4\x51\xff\ \x00\xf6\x71\xff\x00\xf7\x91\xff\x00\xf9\xb1\xff\x00\xfb\xd1\xff\ \x00\xff\xff\xff\x00\x00\x00\x00\x00\x1b\x00\x2f\x00\x2d\x00\x50\ \x00\x3f\x00\x70\x00\x52\x00\x90\x00\x63\x00\xb0\x00\x76\x00\xcf\ \x00\x88\x00\xf0\x00\x99\x11\xff\x00\xa6\x31\xff\x00\xb4\x51\xff\ \x00\xc2\x71\xff\x00\xcf\x91\xff\x00\xdc\xb1\xff\x00\xeb\xd1\xff\ \x00\xff\xff\xff\x00\x00\x00\x00\x00\x08\x00\x2f\x00\x0e\x00\x50\ \x00\x15\x00\x70\x00\x1b\x00\x90\x00\x21\x00\xb0\x00\x26\x00\xcf\ \x00\x2c\x00\xf0\x00\x3e\x11\xff\x00\x58\x31\xff\x00\x71\x51\xff\ \x00\x8c\x71\xff\x00\xa6\x91\xff\x00\xbf\xb1\xff\x00\xda\xd1\xff\ \x00\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x22\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x23\x05\x0e\x26\x12\x03\x17\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1a\ \x03\x26\x29\x29\x2a\x29\x29\x29\x0f\x05\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1e\x03\x27\ \x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x12\x05\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x26\x29\x29\ \x2a\x29\x29\x2a\x29\x29\x2a\x29\x2a\x29\x29\x29\x0e\x16\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x0e\x29\x29\x2a\x29\ \x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x28\x01\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x25\x29\x29\x29\x29\x29\ \x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x2a\x29\x29\x29\x29\x0b\ \x51\x00\x00\x00\x00\x00\x00\x00\x16\x25\x29\x29\x29\x29\x29\x29\ \x29\x2a\x29\x29\x2a\x29\x29\x2a\x29\x29\x29\x29\x29\x29\x2a\x29\ \x0b\x00\x00\x00\x00\x00\x00\x00\x0c\x29\x29\x29\x29\x29\x29\x29\ \x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\x29\ \x28\x15\x00\x00\x00\x00\x00\x50\x12\x29\x29\x2a\x33\x58\x58\x58\ \x52\x29\x2c\x56\x56\x56\x56\x56\x56\x56\x56\x56\x55\x56\x31\x29\ \x29\x03\x00\x00\x00\x00\x00\x1a\x29\x29\x29\x29\x44\x6f\x6f\x6f\ \x67\x29\x2e\x6e\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x42\x29\ \x29\x0c\x00\x00\x00\x00\x00\x17\x29\x29\x29\x29\x48\x6f\x6f\x6f\ \x66\x29\x2e\x6e\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x41\x29\ \x29\x0f\x00\x00\x00\x00\x00\x15\x29\x29\x29\x29\x44\x6f\x6f\x6f\ \x67\x29\x2e\x6e\x6f\x6f\x6f\x6e\x6e\x6e\x6f\x6f\x6e\x6f\x42\x29\ \x29\x0f\x00\x00\x00\x00\x00\x08\x29\x29\x29\x29\x49\x6f\x6f\x6f\ \x66\x29\x2e\x6e\x6f\x6f\x6f\x68\x3b\x2f\x2f\x33\x33\x33\x2c\x29\ \x2a\x10\x00\x00\x00\x00\x00\x09\x29\x29\x29\x29\x44\x6f\x6f\x6f\ \x67\x29\x2a\x69\x6f\x6f\x6f\x6f\x62\x2d\x29\x29\x29\x29\x29\x29\ \x29\x0f\x00\x00\x00\x00\x00\x07\x29\x29\x29\x29\x48\x6f\x6f\x6f\ \x66\x29\x29\x42\x6b\x6f\x6f\x6f\x6f\x63\x30\x29\x29\x29\x29\x29\ \x29\x10\x00\x00\x00\x00\x00\x09\x29\x2a\x29\x29\x44\x6f\x6f\x6f\ \x67\x29\x29\x29\x39\x65\x6f\x6f\x6f\x6f\x68\x38\x29\x29\x2a\x29\ \x29\x0f\x00\x00\x00\x00\x00\x0a\x29\x29\x29\x29\x48\x6f\x6f\x6f\ \x67\x32\x38\x3a\x3a\x45\x65\x6f\x6f\x6f\x6f\x6c\x3c\x29\x29\x29\ \x29\x10\x00\x00\x00\x00\x00\x0a\x29\x29\x29\x2d\x4c\x6f\x6f\x6f\ \x68\x47\x47\x47\x47\x47\x4b\x65\x6f\x6f\x6f\x6f\x6d\x49\x2d\x29\ \x29\x0f\x00\x00\x00\x00\x00\x15\x2b\x38\x42\x47\x55\x6f\x6f\x6f\ \x68\x47\x47\x47\x47\x47\x47\x4a\x64\x6f\x6f\x6f\x6f\x6a\x49\x42\ \x38\x11\x00\x00\x00\x00\x00\x1a\x40\x46\x47\x47\x55\x6f\x6f\x6f\ \x68\x47\x47\x47\x47\x47\x47\x47\x4a\x64\x6f\x6f\x6f\x6f\x58\x47\ \x46\x1c\x00\x00\x00\x00\x00\x20\x40\x46\x47\x47\x55\x6f\x6f\x6f\ \x68\x47\x47\x47\x47\x47\x47\x47\x47\x4c\x6e\x6f\x6f\x6f\x5d\x47\ \x46\x1c\x00\x00\x00\x00\x00\x20\x40\x46\x47\x47\x55\x6f\x6f\x6f\ \x68\x47\x47\x47\x47\x47\x47\x47\x47\x4a\x6e\x6f\x6f\x6f\x5f\x47\ \x46\x1c\x00\x00\x00\x00\x00\x20\x40\x46\x61\x67\x69\x6f\x6f\x6f\ \x69\x47\x47\x4e\x5c\x5c\x5c\x5c\x5c\x60\x6f\x6f\x6f\x6f\x5e\x47\ \x46\x1c\x00\x00\x00\x00\x00\x20\x40\x46\x64\x6f\x6f\x6f\x6f\x6f\ \x69\x47\x47\x5a\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x59\x43\ \x42\x1c\x00\x00\x00\x00\x00\x20\x40\x46\x64\x6f\x6f\x6f\x6f\x6f\ \x68\x47\x47\x57\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6a\x49\x47\ \x46\x1c\x00\x00\x00\x00\x00\x20\x40\x46\x5b\x65\x6e\x6f\x6f\x6f\ \x68\x47\x47\x57\x6f\x6f\x6f\x6f\x6f\x6f\x6f\x6e\x68\x4f\x43\x43\ \x42\x1b\x00\x00\x00\x00\x00\x20\x40\x46\x43\x43\x4d\x54\x54\x54\ \x53\x47\x47\x4a\x54\x54\x54\x54\x54\x54\x54\x53\x48\x47\x47\x47\ \x42\x1c\x00\x00\x00\x00\x00\x20\x40\x46\x46\x46\x46\x46\x46\x46\ \x46\x46\x46\x46\x46\x46\x46\x46\x46\x46\x46\x46\x46\x46\x46\x46\ \x42\x1c\x00\x00\x00\x00\x00\x1f\x3d\x42\x42\x42\x42\x42\x42\x42\ \x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x41\x41\ \x40\x14\x00\x00\x00\x00\x00\x1e\x34\x3e\x3e\x3e\x3e\x3e\x3e\x3e\ \x3e\x3e\x3e\x3e\x3e\x3e\x3e\x3e\x3e\x3e\x3e\x3e\x37\x37\x36\x36\ \x35\x13\x00\x00\x00\x00\x00\x00\x20\x21\x21\x21\x21\x21\x21\x21\ \x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\ \x21\x20\x00\x00\x00\xff\xfe\xff\xff\xff\xf0\x1f\xff\xff\xc0\x07\ \xff\xff\x00\x01\xff\xfe\x00\x00\x7f\xf8\x00\x00\x3f\xf0\x00\x00\ \x0f\xe0\x00\x00\x0f\xe0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\ \x07\xe0\x00\x00\x07\x28\x00\x00\x00\x10\x00\x00\x00\x20\x00\x00\ \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x1b\x1b\xb9\x00\x25\x25\xb4\x00\x2e\x2e\xb2\x00\x2b\x2b\xb5\ \x00\x32\x32\xb7\x00\x36\x36\xb5\x00\x51\x51\xb7\x00\x57\x57\xbd\ \x00\x5b\x5b\xbe\x00\x5c\x5c\xbf\x00\x6b\x6b\xbd\x00\x14\x14\xc8\ \x00\x14\x14\xcd\x00\x15\x15\xd2\x00\x18\x18\xd3\x00\x1f\x1f\xd4\ \x00\x21\x21\xd4\x00\x29\x29\xd6\x00\x30\x30\xd8\x00\x39\x39\xd8\ \x00\x5b\x5b\xc2\x00\x5e\x5e\xc2\x00\x5e\x5e\xc4\x00\x4f\x4f\xdd\ \x00\x53\x53\xde\x00\x5a\x5a\xdf\x00\x66\x66\xc0\x00\x64\x64\xdf\ \x00\x5b\x5b\xe0\x00\x5c\x5c\xe0\x00\x60\x60\xe0\x00\x64\x64\xe1\ \x00\x6d\x6d\xe2\x00\x75\x75\xe3\x00\x76\x76\xe4\x00\x79\x79\xe4\ \x00\x9c\x9c\xd7\x00\xa3\xa3\xd4\x00\xa0\xa0\xd9\x00\x82\x82\xe7\ \x00\x9d\x9d\xea\x00\xa1\xa1\xeb\x00\xa4\xa4\xeb\x00\xaa\xaa\xef\ \x00\xaf\xaf\xee\x00\xb1\xb1\xee\x00\xbd\xbd\xf1\x00\xc4\xc4\xf1\ \x00\xce\xce\xf2\x00\xcd\xcd\xf4\x00\xd7\xd7\xf4\x00\xd8\xd8\xf7\ \x00\xf0\xf0\xfc\x00\xf4\xf4\xfd\x00\xf9\xf9\xfd\x00\xfe\xfe\xfe\ \x00\x31\xff\xbe\x00\x51\xff\xc8\x00\x71\xff\xd3\x00\x91\xff\xdc\ \x00\xb1\xff\xe5\x00\xd1\xff\xf0\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x00\x2f\x0e\x00\x00\x50\x18\x00\x00\x70\x22\x00\x00\x90\x2c\ \x00\x00\xb0\x36\x00\x00\xcf\x40\x00\x00\xf0\x4a\x00\x11\xff\x5b\ \x00\x31\xff\x71\x00\x51\xff\x87\x00\x71\xff\x9d\x00\x91\xff\xb2\ \x00\xb1\xff\xc9\x00\xd1\xff\xdf\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x02\x2f\x00\x00\x04\x50\x00\x00\x06\x70\x00\x00\x08\x90\x00\ \x00\x0a\xb0\x00\x00\x0b\xcf\x00\x00\x0e\xf0\x00\x00\x20\xff\x12\ \x00\x3d\xff\x31\x00\x5b\xff\x51\x00\x79\xff\x71\x00\x98\xff\x91\ \x00\xb5\xff\xb1\x00\xd4\xff\xd1\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x14\x2f\x00\x00\x22\x50\x00\x00\x30\x70\x00\x00\x3d\x90\x00\ \x00\x4c\xb0\x00\x00\x59\xcf\x00\x00\x67\xf0\x00\x00\x78\xff\x11\ \x00\x8a\xff\x31\x00\x9c\xff\x51\x00\xae\xff\x71\x00\xc0\xff\x91\ \x00\xd2\xff\xb1\x00\xe4\xff\xd1\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x26\x2f\x00\x00\x40\x50\x00\x00\x5a\x70\x00\x00\x74\x90\x00\ \x00\x8e\xb0\x00\x00\xa9\xcf\x00\x00\xc2\xf0\x00\x00\xd1\xff\x11\ \x00\xd8\xff\x31\x00\xde\xff\x51\x00\xe3\xff\x71\x00\xe9\xff\x91\ \x00\xef\xff\xb1\x00\xf6\xff\xd1\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2f\x26\x00\x00\x50\x41\x00\x00\x70\x5b\x00\x00\x90\x74\x00\ \x00\xb0\x8e\x00\x00\xcf\xa9\x00\x00\xf0\xc3\x00\x00\xff\xd2\x11\ \x00\xff\xd8\x31\x00\xff\xdd\x51\x00\xff\xe4\x71\x00\xff\xea\x91\ \x00\xff\xf0\xb1\x00\xff\xf6\xd1\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2f\x14\x00\x00\x50\x22\x00\x00\x70\x30\x00\x00\x90\x3e\x00\ \x00\xb0\x4d\x00\x00\xcf\x5b\x00\x00\xf0\x69\x00\x00\xff\x79\x11\ \x00\xff\x8a\x31\x00\xff\x9d\x51\x00\xff\xaf\x71\x00\xff\xc1\x91\ \x00\xff\xd2\xb1\x00\xff\xe5\xd1\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2f\x03\x00\x00\x50\x04\x00\x00\x70\x06\x00\x00\x90\x09\x00\ \x00\xb0\x0a\x00\x00\xcf\x0c\x00\x00\xf0\x0e\x00\x00\xff\x20\x12\ \x00\xff\x3e\x31\x00\xff\x5c\x51\x00\xff\x7a\x71\x00\xff\x97\x91\ \x00\xff\xb6\xb1\x00\xff\xd4\xd1\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2f\x00\x0e\x00\x50\x00\x17\x00\x70\x00\x21\x00\x90\x00\x2b\ \x00\xb0\x00\x36\x00\xcf\x00\x40\x00\xf0\x00\x49\x00\xff\x11\x5a\ \x00\xff\x31\x70\x00\xff\x51\x86\x00\xff\x71\x9c\x00\xff\x91\xb2\ \x00\xff\xb1\xc8\x00\xff\xd1\xdf\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2f\x00\x20\x00\x50\x00\x36\x00\x70\x00\x4c\x00\x90\x00\x62\ \x00\xb0\x00\x78\x00\xcf\x00\x8e\x00\xf0\x00\xa4\x00\xff\x11\xb3\ \x00\xff\x31\xbe\x00\xff\x51\xc7\x00\xff\x71\xd1\x00\xff\x91\xdc\ \x00\xff\xb1\xe5\x00\xff\xd1\xf0\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x2c\x00\x2f\x00\x4b\x00\x50\x00\x69\x00\x70\x00\x87\x00\x90\ \x00\xa5\x00\xb0\x00\xc4\x00\xcf\x00\xe1\x00\xf0\x00\xf0\x11\xff\ \x00\xf2\x31\xff\x00\xf4\x51\xff\x00\xf6\x71\xff\x00\xf7\x91\xff\ \x00\xf9\xb1\xff\x00\xfb\xd1\xff\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x1b\x00\x2f\x00\x2d\x00\x50\x00\x3f\x00\x70\x00\x52\x00\x90\ \x00\x63\x00\xb0\x00\x76\x00\xcf\x00\x88\x00\xf0\x00\x99\x11\xff\ \x00\xa6\x31\xff\x00\xb4\x51\xff\x00\xc2\x71\xff\x00\xcf\x91\xff\ \x00\xdc\xb1\xff\x00\xeb\xd1\xff\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x08\x00\x2f\x00\x0e\x00\x50\x00\x15\x00\x70\x00\x1b\x00\x90\ \x00\x21\x00\xb0\x00\x26\x00\xcf\x00\x2c\x00\xf0\x00\x3e\x11\xff\ \x00\x58\x31\xff\x00\x71\x51\xff\x00\x8c\x71\xff\x00\xa6\x91\xff\ \x00\xbf\xb1\xff\x00\xda\xd1\xff\x00\xff\xff\xff\x00\x00\x00\x00\ \x00\x00\x00\x00\x08\x1b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x02\x0e\x0e\x0e\x0d\x06\x00\x00\x00\x00\x00\x00\x00\x00\ \x06\x0e\x0f\x0e\x0e\x0e\x0e\x0e\x0d\x07\x00\x00\x00\x00\x00\x01\ \x0e\x0e\x0e\x0e\x0e\x0e\x0f\x0e\x0e\x0e\x03\x00\x00\x00\x15\x0e\ \x10\x19\x18\x0f\x18\x18\x18\x18\x18\x14\x0e\x00\x00\x00\x05\x0e\ \x14\x3f\x35\x11\x3f\x3f\x3f\x3f\x3f\x2c\x0e\x1b\x00\x00\x02\x0e\ \x14\x3f\x35\x11\x3f\x3f\x32\x29\x29\x21\x0e\x0a\x00\x00\x02\x0e\ \x14\x3f\x35\x0f\x32\x3f\x36\x19\x0e\x0e\x0e\x15\x00\x00\x04\x0e\ \x14\x3f\x36\x12\x14\x31\x3f\x37\x20\x0e\x0e\x0a\x00\x00\x04\x13\ \x1c\x3f\x36\x1e\x1e\x20\x31\x3f\x38\x24\x13\x16\x00\x00\x15\x1e\ \x23\x3f\x36\x1e\x1e\x1e\x1f\x33\x3f\x31\x1d\x25\x00\x00\x17\x24\ \x2e\x3f\x36\x1e\x23\x28\x28\x32\x3f\x34\x1d\x27\x00\x00\x17\x2a\ \x3f\x3f\x36\x1e\x32\x3f\x3f\x3f\x3f\x2f\x1d\x27\x00\x00\x17\x21\ \x2e\x30\x2f\x1e\x2b\x30\x30\x30\x2e\x20\x1e\x27\x00\x00\x17\x1d\ \x1d\x1d\x1d\x1d\x1d\x1d\x1d\x1a\x1a\x1a\x1a\x27\x00\x00\x0b\x16\ \x16\x16\x16\x16\x16\x16\x16\x16\x16\x16\x15\x26\x00\xfe\x7f\x00\ \x00\xf8\x1f\x00\x00\xe0\x07\x00\x00\xc0\x03\x00\x00\x80\x03\x00\ \x00\x80\x01\x00\x00\x80\x01\x00\x00\x80\x01\x00\x00\x80\x01\x00\ \x00\x80\x01\x00\x00\x80\x01\x00\x00\x80\x01\x00\x00\x80\x01\x00\ \x00\x80\x01\x00\x00\x80\x01\x00\x00\x80\x01\x00\x00\x89\x50\x4e\ \x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x01\ \x00\x00\x00\x01\x00\x08\x06\x00\x00\x00\x5c\x72\xa8\x66\x00\x00\ \x23\xc0\x49\x44\x41\x54\x78\xda\xed\x9d\x09\x94\x14\xd5\xb9\xc7\ \xef\x4c\xcf\xc6\x30\xcc\x0c\xc3\x26\xa2\x08\x1a\x15\x04\x15\x82\ \x8a\x86\x68\x14\x12\xa3\xf1\xb9\x41\xe4\xc5\x93\x63\x7c\x2a\xe0\ \xae\x0f\x8d\x31\x2f\x6e\x18\x51\x31\x3e\xa3\xc6\x98\x18\x4d\x62\ \x12\x3d\xc6\xf7\x7c\xd9\xd4\xbc\x44\xe3\x23\xae\x31\xa2\x48\xe2\ \x8a\x0b\x8b\x6c\x23\xcb\xc0\xc0\xc0\xec\xf4\xbc\xef\xab\xae\x6a\ \xaa\x6b\xaa\xba\xab\xba\x6f\x2d\xb7\xea\xff\x3b\xa7\xce\x9d\xa9\ \xee\xa9\xaa\xee\xa9\xef\x57\x77\xbf\x65\x02\x00\x90\x58\xca\xc2\ \xbe\x00\x00\x40\x78\x40\x00\x00\x24\x18\xa9\x02\xb8\xa9\xb1\xf1\ \x87\x94\x9c\x43\x5b\x7d\xd8\x1f\x0c\x80\x18\xb0\x83\xb6\x57\x69\ \x9b\x7b\x73\x6b\xeb\x5a\x3f\x4e\x20\x4d\x00\x14\xfc\x8f\x51\x72\ \x76\x40\x5f\x0c\x00\x49\xa2\x97\xb6\xfd\xfd\x90\x80\x4c\x01\xf4\ \x05\xfa\x95\x00\x90\x2c\x9e\x21\x01\x9c\x24\xfb\xa0\x52\x04\x40\ \xc1\x7f\x09\x25\xf7\x07\xfe\x95\x00\x90\x1c\x36\x91\x00\x46\xc8\ \x3e\xa8\x27\x01\xf4\xf5\xf5\x95\x53\x62\xdd\x2a\xee\x9d\x3c\x79\ \x5e\xfb\x96\x2d\x77\x96\x57\x54\x88\xb2\x54\x4a\x94\xd3\x56\x56\ \x5e\x2e\xf8\x77\xfe\xd9\x9c\x96\xe9\xaf\x65\xb7\xb2\xb2\xcc\x46\ \x3f\xd3\x0f\xe6\x93\x39\x5c\xb1\x8b\x4b\xee\x43\x66\x24\xe9\xf4\ \x15\xba\x07\x4c\xaf\x3b\xbd\x37\xbb\xdf\xf2\xba\xdd\xfe\x7c\xe7\ \x2b\xd3\xef\x59\xed\x3d\xb4\xf5\xa5\xd3\xda\xcf\x5a\x6a\xda\xd2\ \xbb\x77\x8b\x74\x6f\xaf\xb6\x19\xbf\xf7\xf1\x3e\xda\x28\x7e\xb6\ \x5c\xbb\x6a\xd5\xc1\x74\x98\x6e\x91\x29\x12\xa4\xf5\xcd\x20\x6d\ \x73\xde\xb4\x28\x00\x04\x00\x62\x09\x04\x10\x01\x01\x0c\xad\xac\ \x14\xc7\x54\x55\xd1\x3b\x68\xbf\xfe\x9a\xd0\x5f\x13\xfa\xa6\x7d\ \x39\xbc\x41\x00\x40\x26\x1e\x04\xe0\x18\xe0\x4e\xc7\xb2\x13\x43\ \xbe\xf3\x19\xf7\x2c\x07\x3d\xbf\x8f\x82\x5b\xe8\xa9\xf1\x3b\x07\ \xba\xa0\x6d\x23\x05\xff\x92\xce\x4e\x08\x00\x02\x00\x25\x01\x01\ \x04\x26\x80\xaa\xfb\x8e\x3c\x72\xde\xce\x8d\x1b\xef\xc8\x66\xf5\ \x39\xc8\x69\x63\x01\x1c\x4d\x02\x28\xa3\x54\x0b\x7e\xb3\x04\x4c\ \x81\x9f\x15\x02\x04\x00\x64\xe1\x52\x00\x7d\x4e\x41\x5c\x20\xc8\ \x1d\xb3\xfc\xd6\xfd\xd6\xfb\xd5\x08\x78\x96\x80\xbe\x19\x3f\x73\ \xb0\x6f\xea\xee\x16\x4b\xba\xba\x72\x8b\x01\x94\x52\x8c\x6c\xb9\ \x76\xe5\x4a\x16\x40\xaf\x69\x0b\x55\x00\x15\x46\x7a\xff\xd4\xa9\ \xf3\xda\x3e\xfd\x34\x23\x00\x53\x79\xbf\x89\xb6\x63\xaa\xab\x33\ \x81\xcf\x12\xa0\x54\x0b\x78\x96\x80\x39\xf0\xf9\x67\xe3\xcb\xe2\ \xcd\xee\xcb\x37\x7f\x91\xf9\x24\xe0\xd6\xca\x20\x31\xe4\xbd\x0b\ \xf2\x05\x7a\xa1\xe0\x2f\x94\x53\x30\x30\xdf\xaf\x46\xc0\x5b\x44\ \xd0\x47\x01\xcf\xe9\x46\x12\xc0\x1b\xba\x00\xd2\xfa\xd3\x9f\xc5\ \xc0\x02\xf8\xd6\x8a\x15\xe3\x45\x6e\x0e\xa0\xd7\x72\xa6\x74\xee\ \x69\x83\x11\x40\x15\x09\x60\x4e\x9b\x29\x07\x90\xd2\x9f\xf8\x43\ \xe9\xe9\x3f\x95\x73\x00\xba\x00\x8c\x1c\x80\x21\x00\xe3\xa9\x5f\ \x66\x57\x04\xb0\xfb\x42\xad\xaf\xe7\xcb\x31\xb8\xfd\xe7\x00\x75\ \x70\x93\xfb\x63\xdc\xfe\xaf\xed\x2a\xf3\x0a\xbc\xee\xe6\x67\x43\ \x10\x46\xe5\x9f\xf9\xba\x73\x9e\xfc\x96\xec\xbf\x91\x03\x60\x01\ \xec\xee\xe9\xc9\x66\xff\x8d\x22\xc0\x35\x1f\x7d\x34\x41\x64\x04\ \xc0\x5b\x5a\x14\x28\x06\xf8\x29\x80\x0a\x53\x5a\xf1\xa3\xcf\x7d\ \x6e\xee\x8e\x0d\x1b\x16\x71\xe0\x6b\x4f\x7f\x4e\x29\xd8\x87\xd0\ \x36\xb5\xa6\x26\x2b\x80\x6c\xf6\xdf\x24\x80\x9c\xe0\xd7\x65\xd0\ \x57\x28\x07\xb0\xe7\x03\xf6\xfb\xd2\x6d\xff\xc1\x20\xd9\xb8\xcd\ \xae\x5b\x02\xba\x2f\xdf\xdf\xe4\xcb\x69\x1a\xbf\x5b\x05\x60\x6a\ \x05\xe8\x97\xfd\xe7\x1c\x00\x0b\x80\x02\xff\xf5\xce\xce\x6c\x6b\ \x80\x39\x07\x10\x69\x01\xb4\x35\x37\x2f\xca\x16\x01\xf4\x2d\x2b\ \x00\x0e\x7e\x1b\x01\xe4\x54\x00\x1a\xbf\xef\x39\x97\xf3\x45\xe7\ \x79\x12\xb8\x2e\x9b\x01\xf5\x90\x99\x03\x70\x13\xc0\x4e\x39\x03\ \xb7\x7f\x6f\x93\x03\xe8\x17\xf8\xa6\xf2\xbf\xa0\x80\x67\x01\xbc\ \x41\x02\xc8\xc9\x01\xd0\x7e\x8a\x99\x96\x6b\x3e\xfc\x90\x05\xd0\ \x25\x22\x2b\x00\x0a\xf2\x94\x8d\x00\x84\x49\x00\x86\x04\xb2\xe5\ \x7e\xe3\xe9\xef\xb7\x00\x40\xb2\x28\xa1\x18\xd0\xef\x77\x6b\x2b\ \x41\xa1\x73\x99\x05\x60\xbd\x57\x2d\x81\x9f\xfd\x99\x9f\xf4\x26\ \x01\xa4\x29\x35\xd7\x03\x50\x0e\xc0\x2c\x00\x73\x25\x60\xe8\x02\ \xa8\x7a\xe0\xd8\x63\xe7\x6e\x5f\xb7\xee\xb6\x1c\x01\xd0\xcf\xe6\ \x1c\x80\xb5\x29\x30\x5b\xf6\x37\x15\x01\xac\x81\x6d\x17\xcc\x65\ \x2e\x9e\x02\x90\x00\x28\x88\x9b\x27\xb8\xcb\xdf\xf3\xdd\x6d\xd6\ \xbb\x55\x7b\x2f\x3f\xed\xb9\x28\xc0\xa9\x8d\x00\x96\xea\x45\x80\ \xdd\xba\x04\xf4\x56\x80\x96\x6f\x7e\xf0\x01\x0b\xa0\x47\xe4\x56\ \x04\x0a\x9b\x34\x73\xee\x40\x05\xb0\x7e\xfd\x6d\x29\xbd\xec\x6f\ \xa4\x43\x28\x3d\xca\x28\x02\xe8\x02\x10\x76\xd9\x7f\xa3\x27\x60\ \xe6\xaa\xed\xff\x39\x6e\xb3\x7f\xf9\xfe\x71\x00\xe8\xb8\x2a\x2a\ \xba\xad\x57\xe2\x7d\xd6\xfb\x96\x71\xaa\x03\x30\xfa\x02\x98\x83\ \x9f\x53\x16\x40\x77\xb7\x26\x00\x23\xf8\xb5\x9c\x80\x9e\x03\x20\ \x01\x1c\x2a\xf6\x14\x01\x42\x17\x40\x76\xfb\xc9\xf1\xc7\xcf\x6b\ \x5d\xb3\xe6\x56\x0e\x7c\x2d\xf8\xf5\x94\x9b\x01\x35\x01\x18\x2d\ \x01\xba\x00\xca\x4c\x95\x7e\xd9\xe0\xb7\x66\x97\x0a\x05\xaf\x9d\ \x10\x10\xf0\x20\x1f\xf9\xee\x8f\x42\x9d\x81\xdc\x1c\xa7\x90\x00\ \x18\x4b\x0b\x40\xbf\x56\x80\xae\x2e\xf1\x26\x0b\xc0\x08\x7e\xce\ \x09\xd0\x56\x4e\x02\xb8\x7a\xf9\xf2\xc3\xe9\x08\x1d\x62\x4f\x1d\ \x80\xd1\x0c\x18\xaa\x00\xaa\x48\x00\x73\xb6\xaf\x5d\x7b\xab\xf6\ \xf4\xa7\x60\xcf\xe6\x00\xe8\x67\x16\x40\xb6\x1f\x00\x6f\xe6\x4e\ \x3f\x76\x4d\x80\x76\x26\x95\x01\xe4\x10\x0f\xfc\xee\x08\xe6\xb1\ \xf9\xb8\x50\x71\xd3\xb6\x58\x6b\x95\x80\x1e\xfc\x5c\x04\xd8\xcc\ \x39\x80\x8e\x8e\x3d\x45\x00\x53\x0e\xe0\xea\xf7\xdf\x67\x01\x58\ \x73\x00\xe6\x7a\x80\x40\x04\x90\x53\x01\x28\x4c\x02\xc8\x3e\xfd\ \x59\x02\xdc\x11\x48\x17\x80\xf6\xf4\x37\xba\x04\x5b\xdb\xff\xcd\ \x45\x01\x37\xff\x10\x43\x10\x4e\x39\x00\xbf\x04\x02\xe2\x89\x9b\ \x1e\x83\x85\xee\xa9\x42\x1d\x80\xf2\x35\x03\x1a\x7d\x01\xb8\xac\ \xaf\x0b\xe0\x4d\x12\x80\x91\x03\x30\x8a\x02\x91\x16\xc0\x43\x5f\ \xfc\xe2\x9c\x6d\xab\x57\xe7\x16\x01\x38\x07\x50\x5d\x2d\x8e\x34\ \xf7\x03\xd0\x7b\x02\x6a\xf5\x00\x7c\x72\x4b\x51\xc0\xd5\x97\x8b\ \xae\xc0\xc0\x4f\x8a\xb9\x77\xbc\x74\x5b\x37\x04\x60\xd7\x13\xd0\ \x21\x07\xc0\x69\xd4\x04\x90\x53\x09\x68\x15\x00\xe7\x00\x8c\x22\ \xc0\x91\x36\xfd\x00\x72\x2a\x01\x21\x00\x10\x55\x64\xdd\x47\xe6\ \x1c\x00\x63\x6d\x06\xe4\xfd\xd6\x1c\x80\xf1\xf4\x37\xe5\x00\xae\ \x7a\xef\xbd\xc9\x62\x4f\x1d\x40\x44\x05\xa0\xd7\x01\x68\x95\x80\ \x86\x00\xf4\x22\x80\x6d\x13\xa0\x57\x01\x58\xbf\x54\x3f\xfe\x61\ \x00\x14\x43\x81\x9e\xab\x59\xf2\x09\xc0\xa8\x04\x24\x11\x98\x73\ \x01\x91\x17\x40\xeb\x27\x9f\xf4\xab\x03\xe0\x22\xc0\x11\x36\x02\ \x28\xb3\x06\x7d\x3e\x01\x00\xe0\x07\x7e\x3f\x2c\x0a\x08\xa0\x5f\ \x6f\x40\xa3\x12\x90\x04\xb0\x4c\x17\x80\x39\x17\x40\x39\xea\x96\ \xf9\xef\xbc\xc3\x02\xe0\x22\x40\xa7\x88\xaa\x00\xb4\xec\xbf\x9e\ \x03\xd0\x04\x40\x9b\x96\xfd\x37\x04\x60\x8c\x02\x44\xf0\x83\xa4\ \x62\x1d\x12\xac\xf7\x03\xe8\xa3\x40\xe7\x22\xc0\x32\x2e\x02\xb0\ \x00\x4c\x15\x81\xe5\xa9\x54\x24\x05\x50\x45\x5b\xe5\xcf\x4e\x3c\ \x71\xee\xd6\x55\xab\x6e\xd1\x04\x40\x01\x6f\x2e\x02\xb0\x00\xca\ \xb9\x05\xc0\xdc\x15\xd8\xdc\xe9\xc7\x9c\x02\x90\x04\x4c\x93\x82\ \x64\x7b\x03\xea\x39\x80\x2d\x46\x1d\x80\x51\x04\xd0\x73\x02\xba\ \x00\xa6\x88\x4c\x11\x20\xa2\x02\xe0\xac\xbf\xa9\x0e\x20\x27\x07\ \x60\x1a\x0e\xdc\x2f\xf0\x21\x00\x90\x24\xf4\xe6\x40\x6b\x4f\x40\ \xce\x01\xd8\x09\xc0\xa8\x04\x34\x09\xc0\x69\x44\x60\x44\x05\xa0\ \xf7\x04\xcc\x11\x80\xdb\x09\x3e\x00\x88\x1b\x2e\x04\x60\x64\xfd\ \xcd\x95\x80\xea\xe6\x00\x0c\x01\x18\x3d\x01\x21\x00\x90\x64\xcc\ \xc1\xcf\x3f\xc7\x52\x00\x94\x72\x3f\x80\x23\x4c\xfd\x00\xb2\x3d\ \x01\x21\x00\x90\x64\x1c\xe6\x05\xb4\x2d\x02\x40\x00\x00\xc4\x0c\ \x3b\x01\xc4\xae\x12\x10\x02\x00\xc0\x1e\x37\xcd\x80\xc6\x48\x40\ \x08\x00\x80\x98\xe1\x52\x00\xe6\xb1\x00\xea\x09\x00\xad\x00\x00\ \xd8\x63\x69\x01\x30\x17\x01\x62\xd5\x11\xc8\x56\x00\xc6\x70\xe0\ \xcc\x15\xe6\xa6\x00\x24\x01\x53\xcd\x7f\x4e\x53\xa0\x9e\x03\x70\ \x6a\x05\xd0\xc7\x02\xa8\x23\x80\x26\xd3\x68\x40\x61\x4c\x0b\x16\ \xb2\x00\xfa\x1a\x1b\x45\xdf\xe4\xc9\x99\x05\x49\x03\x3b\xab\x03\ \x8b\x17\xc7\xfb\xf3\x85\xc5\xfb\xef\x0b\xd1\xdc\x1c\xf6\x55\x38\ \x93\x4f\x00\x8a\x0d\x06\xea\x2f\x00\xbd\x18\x50\x6e\x0c\x06\xb2\ \xeb\x0a\x1c\xf0\x40\x20\x0e\x0a\x31\x7e\xbc\x10\x9f\xfd\xac\x48\ \x8d\x1a\x45\x97\x52\x49\x99\x91\x0a\x9e\x66\xc9\xd7\xf3\x16\xa2\ \xed\xca\x2b\xe5\x7f\xd6\x31\x63\x44\x6a\xde\x3c\x51\x43\xe2\x4d\ \xe9\xf3\x2e\x24\x0d\x1e\x5d\xd7\xb3\x79\xb3\xe8\x7e\xfe\x79\xd1\ \xb7\x74\x29\x3d\x2f\x3b\xc3\xbe\xa4\x5c\xec\x06\x03\xf1\x68\x40\ \x53\x0e\x60\xb7\x69\x32\x90\x28\x0b\xc0\x76\x30\x90\x79\x3e\x80\ \x6c\x25\x60\xc0\x83\x81\xec\x82\x9e\xb7\x2a\xba\x0e\x4e\xa3\x10\ \x1c\x1b\xce\x3f\x5f\xfe\xe7\x26\x01\xd4\x5c\x7a\xa9\xa8\xaf\xaf\ \xd7\x3e\x67\x52\xd9\x4d\x4f\xd4\x5e\x0a\x9e\x2e\x7a\xa2\x76\xbe\ \xfa\xaa\xe8\x7d\xf6\x59\x21\xb6\x6d\x0b\xfb\xb2\x32\xd8\x4d\x08\ \x6a\xcd\x01\xd8\x54\x02\x2a\x23\x80\xec\x68\x40\x4b\x2b\x40\xce\ \xea\xc0\x3e\x08\xc0\x4d\xd0\xf3\x16\xf6\x93\xdf\xe0\x93\x73\xce\ \x91\x7e\x4c\x16\x40\xed\xe5\x97\x8b\x86\x86\x06\x51\xcd\xeb\x32\ \x26\x98\x34\x05\x96\x59\x04\xbb\x5e\x7e\x39\x1a\x22\x70\x98\x11\ \xd8\xc8\x01\xd8\xcd\x08\x04\x01\x38\x5d\x93\x62\x41\x6f\x06\x02\ \x08\x06\x2e\x12\xb0\x08\x7a\x28\x90\x34\x11\x3c\xf5\x94\xe8\x7d\ \xf1\xc5\xf0\x8a\x06\x71\x16\x80\xeb\x09\x41\xcc\x15\x81\x5e\x05\ \x40\xc7\x4c\x4f\x9a\x24\xca\xa6\x4c\x51\x2e\xe8\xcd\x40\x00\xc1\ \x62\x16\xc1\xae\xf5\xeb\x45\xfb\x23\x8f\x88\xbe\x95\x2b\x83\xbf\ \x10\x17\x02\x30\x07\x3f\xcb\x00\x02\xe0\xa0\x1f\x37\x4e\x94\x1d\ \x72\x88\x28\x9f\x30\x21\x1b\xf0\xaa\x05\xbd\x19\x08\x20\x1c\x58\ \x04\x46\xb1\x60\xc7\xef\x7f\x2f\x7a\x9e\x79\x26\xd8\x0b\x88\xb3\ \x00\xb2\x45\x80\x7c\x02\xf0\x58\x04\x48\x9f\x7d\xb6\x48\x4d\x9c\ \xd8\xef\x49\xcf\x35\xf9\xaa\x05\xbd\x19\x08\x20\x5c\xb8\x8e\xa0\ \x9b\x02\x6e\xc7\x6b\xaf\x89\x8e\x47\x1f\x0d\xae\x48\xe0\x56\x00\ \x96\x8e\x40\x6a\x09\xc0\x5c\x07\x50\xa2\x00\xc4\xc2\x85\x62\xd0\ \xa0\x41\x62\xc0\x80\x01\x39\x4f\x7a\x37\xeb\x04\x46\x19\x08\x20\ \x7c\xb4\x26\x43\x0a\xb0\x9d\x1f\x7f\x2c\xda\xee\xb9\x87\xc2\xab\ \xc3\xff\x93\xc6\xb9\x0e\xc0\x8f\x4a\xc0\xd4\xed\xb7\x8b\xa6\xa6\ \x26\x4d\x00\xaa\x07\xbd\x19\x08\x20\x1a\x18\x75\x03\x3b\x3f\xfa\ \x48\x6c\xbf\xfb\x6e\xff\x25\x00\x01\x78\x13\x40\xc5\xa2\x45\x59\ \x01\xc4\x09\x08\x20\x5a\x70\xbd\x40\x20\x12\x80\x00\x20\x00\x06\ \x02\x88\x1e\x2c\x81\xd6\xc5\x8b\xc5\xae\x47\x1e\xf1\xef\x24\x4e\ \x02\x30\xaf\x0b\x80\x8e\x40\x7b\x80\x00\xdc\x03\x01\x94\x0e\xd7\ \x09\xb4\x90\x00\xba\xfe\xfa\x57\x7f\x4e\x60\x15\x80\xb1\x30\x88\ \x43\x57\x60\x1e\x17\x00\x01\x40\x00\xae\x80\x00\x4a\x87\x03\xb2\ \x6b\xfb\x76\xb1\xf9\xa6\x9b\x44\x7a\xeb\x56\xf9\x27\x88\xfb\x58\ \x00\x08\xc0\x1d\x10\x40\x74\xe1\x26\xc2\xb6\xb7\xde\x12\xad\x77\ \xdd\xe5\xc7\xc1\x5d\x09\x40\x85\xd1\x80\x10\x40\x09\x40\x00\xd1\ \x86\x5b\x06\x36\x7e\xff\xfb\xa2\x87\x44\x20\x15\x27\x01\xb8\x5b\ \x1b\x30\x52\xf3\x01\x40\x00\x25\x00\x01\x44\x1b\x2e\x0a\x74\x34\ \x37\x8b\xcd\xd7\x5e\x2b\xf7\xc0\x4e\x6b\x03\x9a\x73\x00\x10\xc0\ \x1e\x20\x00\xf7\x40\x00\x72\xe1\xa2\x00\xe7\x02\xba\xff\xf9\x4f\ \x99\x07\xcd\x2c\x0b\x66\x37\x1c\xd8\x41\x00\x6a\x2e\x0e\x0a\x01\ \xe4\xc5\x17\x01\x9c\x70\x82\x18\x78\xea\xa9\x9a\x00\xb8\xcb\x34\ \x28\x9d\x9d\x6f\xbf\x2d\x5a\xbe\xf7\x3d\x79\x07\x74\x12\x80\x75\ \x75\x60\x63\x69\x30\x08\x00\x02\x70\x4b\xdf\xf4\xe9\x62\xd0\x69\ \xa7\x25\x7e\x42\x10\x99\x70\x5d\xc0\x86\xab\xaf\x16\xe9\x96\x16\ \x39\x07\xcc\x27\x00\xcb\xa4\xa0\x10\x80\x80\x00\x3c\xc1\x02\x38\ \xfd\x74\x6d\xec\x04\x04\x20\x07\xae\x0b\xd8\xf2\xab\x5f\x89\xf6\ \xe7\x9e\x93\x73\x40\x8b\x00\x54\x9e\x15\x18\x02\x28\x01\x08\x40\ \x1d\xda\x57\xae\xd4\xfa\x05\x48\x01\x02\x80\x00\x18\x08\x40\x1d\ \xb8\x32\x70\xdd\x45\x17\x89\x3e\x19\x63\x04\x8a\x17\x40\xe4\x16\ \x06\x81\x00\x4a\x00\x02\x50\x8b\xe6\x85\x0b\x45\xf7\x07\x1f\x94\ \x7e\x20\x08\x00\x02\x60\x20\x00\xb5\x68\x79\xe2\x09\xb1\xf3\xc9\ \x27\x4b\x3f\x90\x59\x00\x4e\x4b\x83\x41\x00\x7b\x80\x00\x3c\x00\ \x01\xf8\x46\xdb\x92\x25\x62\xeb\x7d\xf7\x95\x7e\x20\x37\x02\x50\ \x64\x6d\x40\x08\xa0\x04\x20\x00\xb5\x68\x7f\xf7\x5d\xb1\x99\xee\ \xc5\x92\x81\x00\x20\x00\x06\x02\x50\x0b\xae\x08\x5c\x7b\xee\xb9\ \x32\x0e\x04\x01\x40\x00\x10\x80\x6a\x70\x7f\x80\x35\xdf\xf8\x46\ \xe9\x07\x2a\x24\x00\xf3\x60\x20\xae\x0b\x80\x00\x20\x00\xd7\x40\ \x00\xbe\xb2\xe6\xc2\x0b\x45\x5f\x7b\x7b\x69\x07\x81\x00\x20\x00\ \xc6\x17\x01\x4c\x9e\x2c\x06\x4c\x9b\x26\x6a\x6b\x6b\x23\xb1\xfe\ \xa1\x5b\x52\x43\x87\x8a\xca\x61\xc3\x22\x3f\xe9\xab\x94\xa6\x40\ \x9e\x01\xc8\x34\x1a\x10\x02\x80\x00\x00\x31\x60\xc6\x0c\x31\xf8\ \xeb\x5f\xd7\xd6\x7b\x88\xaa\x08\x20\x00\x08\x40\x1a\x10\x40\x7f\ \xaa\x4f\x3e\x59\x0c\x9e\x35\x4b\x1b\xc9\x18\x45\x09\xf8\x22\x00\ \x53\x47\xa0\x2d\xd6\xe1\xc0\x10\x00\x9d\x68\xde\x3c\x31\xa8\xae\ \x4e\xda\xf8\xf6\xca\xfd\xf6\x13\x29\xca\x22\x87\x7d\x83\x41\x00\ \xf6\xd4\x2d\x58\x20\xea\x47\x8f\x8e\x64\x1d\x06\x04\x10\xb1\xd5\ \x81\x8b\xa1\xe1\xaa\xab\xc4\xc0\x89\x13\x43\xcf\x6a\x42\x00\xf6\ \x94\x4f\x99\x22\x06\xcf\x99\xa3\xd5\x63\x44\x6d\xd9\x37\x08\x20\ \x06\x02\xa8\xbc\xf8\x62\xd1\x70\xf8\xe1\x5a\x91\x22\xcc\x1b\x0c\ \x02\x70\xa6\xf6\xf6\xdb\x45\xc3\xf0\xe1\x91\x9b\xd4\x04\x02\x88\ \x81\x00\xca\xe7\xce\x15\x8d\x93\x27\x8b\x81\x03\x07\x42\x00\x11\ \x25\x35\x7b\xb6\x68\x9a\x31\x23\x72\xcb\xc1\xf9\x26\x00\xbd\x12\ \x10\x02\x08\x00\x08\x40\x01\x0e\x39\x44\x34\x50\x4e\x8d\xfb\x33\ \x44\xa9\x39\x33\x70\x01\x70\x4f\x40\x7d\x61\x10\x08\x40\x12\x10\ \x80\x02\xd0\x7d\x53\x7b\xdb\x6d\x91\x9b\xdb\x10\x02\x80\x00\xa4\ \x01\x01\xe4\xa7\x72\xfe\x7c\x31\x78\xfc\xf8\x48\x35\xff\x42\x00\ \x10\x80\x34\x20\x80\xfc\x94\x9f\x75\x96\x18\x3c\x7d\x7a\xa4\x5a\ \x03\x20\x00\x08\x40\x1a\x10\x40\x7e\xca\x66\xcc\x10\x0d\x67\x9e\ \x29\xea\xea\xea\x22\x53\x0f\x00\x01\x40\x00\xd2\x80\x00\x0a\x40\ \x4f\xff\xfa\x33\xce\xd0\x2a\x02\xb9\xcf\x46\x14\x80\x00\x20\x00\ \x69\x40\x00\x05\x88\xe0\xc8\x46\x08\x00\x02\x90\x06\x04\x50\x00\ \x08\x00\x02\xf0\x03\x08\x40\x11\x66\xcd\x12\xf5\x5f\xf8\x42\x22\ \x8b\x00\xc6\x4c\x40\xe6\xc5\x41\x21\x00\x49\x40\x00\x0a\xc0\xf7\ \xcd\x35\xd7\x88\x86\x11\x23\x12\x59\x09\x08\x01\xf8\x08\x04\x10\ \x7d\xd2\x27\x9f\x2c\x6a\x4e\x38\x41\xeb\x08\x14\xa5\xee\xc0\x1b\ \xbe\xf3\x1d\xd1\xb3\x76\x6d\x69\x07\x81\x00\x20\x00\x06\x02\xb0\ \xa7\x6f\xdc\x38\x51\x4e\xdf\x0d\x67\xfd\xa3\x94\xfd\x67\xa4\xfc\ \xcf\x20\x00\x08\x80\x81\x00\xfa\xd3\xd7\xd8\x28\xc4\xa5\x97\x8a\ \x81\x43\x86\x68\x2b\x1c\x47\x69\x62\x90\xee\x35\x6b\x44\xf3\x75\ \xd7\x49\xf8\x90\x10\x00\x04\x20\x20\x80\x7e\xd0\xbd\x92\x3e\xff\ \x7c\x31\x60\xec\x58\x2d\xf8\x6b\xe8\xf7\xa8\xf4\x00\x64\xda\x5e\ \x7c\x51\x6c\x7d\xe8\xa1\xd2\x0f\x14\x80\x00\xdc\x04\xbf\xf6\x3e\ \x6f\xd7\x0d\x01\xc8\x04\x02\xc8\x25\x7d\xf1\xc5\xa2\x7a\xcc\x18\ \x2d\xdb\x1f\xc5\x49\x4d\x5b\x1e\x79\x44\xec\x7c\xf6\xd9\xd2\x0f\ \xe4\xb3\x00\xdc\x06\xbf\xf6\x5e\xef\xd7\xae\x49\x80\x87\x67\x19\ \x22\x80\x00\x8a\x04\x02\xd8\xc3\xee\x33\xce\x10\xd5\x47\x1f\x9d\ \x0d\xfe\x28\x95\xfb\x0d\x3e\xbd\xf5\x56\xd1\xb5\x7c\x79\xe9\x07\ \xf2\x49\x00\x14\xf8\xbd\x5e\x2f\xa5\xe8\xc8\x23\x11\xf0\x7f\xa8\ \x96\xb6\x1a\x08\xa0\x38\x20\x80\x0c\x1c\xfc\x55\x53\xa7\x6a\xcd\ \x7d\xfc\x3f\x89\x4a\xa7\x1f\x2b\xd2\xfe\x5f\xf2\x05\xd0\xeb\xe5\ \xa9\x6f\xa6\xe4\xc8\x23\x11\xd4\x91\x00\xae\x80\x00\xbc\x03\x01\ \xe4\x06\x3f\x3f\xf9\x39\xf8\xa3\x52\xe9\x67\x46\x5a\x05\x20\x23\ \x4f\x00\xdd\xc5\x3c\xf5\xcd\x48\xf9\xa6\x6f\x19\x31\xe2\x72\x0a\ \xf8\x1f\x54\xf3\xec\x2d\x10\x80\x6b\x92\x2e\x00\x55\x82\x9f\x91\ \x56\x01\xc8\x94\x2e\x80\x9d\xb4\x75\x16\xfb\xd4\x37\x23\xe5\xdb\ \xbe\xa9\xb1\xf1\x12\x4a\xee\x2f\xa7\x72\xdb\x80\xc1\x83\x45\x4d\ \x43\x03\x04\xe0\x82\x24\x0b\x20\x3d\x69\x92\xa8\x98\x3d\x3b\x27\ \xdb\x1f\xd5\xe0\x67\x36\xff\xe4\x27\xa2\xfd\xe5\x97\xe5\x1c\xac\ \x78\x01\x4c\xa0\xbf\x6e\x29\xf5\xa9\x6f\x46\xaa\x00\x8c\xdf\x2b\ \xaa\xab\x45\xdd\xf0\xe1\x62\x64\x53\x13\x04\x90\x87\xa4\x0a\x80\ \x83\x3f\x75\xd6\x59\xda\xf7\xcf\x02\x88\x52\x5b\xbf\x13\xeb\xe6\ \xcf\x17\xbb\xb7\x6c\x91\x73\x30\x8f\x02\xe8\x69\x6f\x17\x5d\x6d\ \x6d\x9b\x6f\xd8\xb8\x71\xb8\xec\xcf\xe5\x8b\x00\x0c\x46\xd2\x3f\ \xf8\x84\x51\xa3\x44\x05\xc9\x00\x02\xe8\x4f\x12\x05\x90\x3e\xe9\ \x24\x91\x3a\xf6\x58\xed\xbb\xe7\x8d\x17\x7b\x89\x7a\xf0\xf7\x52\ \xe0\xaf\x27\x01\x48\xc3\xa5\x00\x3a\xb7\x6f\x17\xed\x5b\xb7\x8a\ \xde\xae\x2e\xfe\xab\x4d\x37\xb7\xb6\x8e\x90\xfd\xd9\x7c\x15\xc0\ \x50\xfa\xc7\x1e\xcf\x8b\x6f\xd0\x3f\xb9\x92\x44\xc0\x9b\x26\x02\ \x08\x40\x23\x69\x02\x30\xca\xfc\xfc\xbd\x73\x99\x5f\x85\x27\x3f\ \xb3\xf3\xa5\x97\x44\xcb\x83\x0f\xca\x3b\x60\x1e\x01\x6c\xa6\x60\ \xff\xdb\x86\x0d\x62\x17\x49\x47\x0f\x7c\x03\x75\x05\x90\x3d\x19\ \x05\x7f\xe5\xde\x7b\x8b\xaa\xd1\xa3\x45\x19\x15\x0d\x32\x3b\x21\ \x80\x24\xa0\x52\x85\x9f\x95\x8d\x77\xdf\x2d\x3a\xdf\x7c\x53\xde\ \x01\x6d\x04\x90\xa6\x60\xef\x59\xbf\x5e\xac\x6d\x6e\x16\x2f\x77\ \x76\xda\xfd\x95\xfa\x02\xc8\x42\x41\x57\xb9\xd7\x5e\x9a\x08\xca\ \xeb\xeb\x21\x80\x98\xa3\x72\xf0\xa7\xa9\xfc\xbd\xf6\xc2\x0b\xe5\ \x1e\xd4\x24\x80\xf4\xae\x5d\xda\xe8\xc2\x9e\x4f\x3f\xd5\xf6\x35\ \xd3\x6b\xaf\xf4\xda\xd6\xf1\xc5\x48\x00\x26\x52\x4d\x4d\xa2\x7a\ \xec\x58\x6d\x7d\xf8\xa0\x80\x00\x82\x43\xe5\xe0\x67\x5a\x7f\xfb\ \x5b\xb1\xfd\x77\xbf\x93\x7b\x50\x0a\xf2\xdd\x54\xb6\xef\x5e\xbd\ \x5a\xab\x5f\x30\x93\x38\x01\x18\x94\x73\x6d\xf0\x7e\xfb\x69\x45\ \x04\xe1\x73\x50\x42\x00\xc1\xa0\x7a\xf0\xfb\x51\xf6\xef\xa5\x27\ \x3d\x07\xfe\xee\x1d\x3b\x6c\xdf\x92\x58\x01\x64\x2f\x88\x6e\x92\ \x8a\x11\x23\x44\xe5\xc8\x91\x5a\xee\xc0\x0f\x20\x00\x9f\xe1\x51\ \x7d\x67\x9f\x2d\xaa\x0e\x3e\x38\x5b\xe1\xa7\x5a\xf0\x73\xd6\x7f\ \xc3\x75\xd7\x49\x69\xfa\x4b\x6f\xdf\x2e\x7a\x36\x6c\xd0\xb2\xf9\ \x7d\xdd\xdd\x79\xdf\x9b\x78\x01\x98\x29\xa7\x1b\x89\x5b\x0e\x2a\ \x28\x57\x50\x5e\x5b\x2b\xed\x43\x43\x00\x3e\xc2\xc1\x7f\xde\x79\ \xda\xa8\x3e\x7e\xf2\xf3\x6c\x3e\x61\x2f\xc3\x5e\x0c\x5b\x1f\x7d\ \x54\xb4\x3d\xf3\x4c\xd1\x7f\xdf\xd7\xd9\xa9\x55\xea\xf5\x34\x37\ \x6b\xe5\x7c\xb7\x40\x00\x0e\xa4\x1a\x1a\xb4\x5c\x41\x05\x6d\x65\ \x25\xae\x15\x07\x01\xf8\x84\x29\xf8\x79\x54\x1f\x07\x3f\x0f\xe9\ \x55\x2d\xf8\x8b\xcd\xfa\x73\x33\x5e\xef\xc6\x8d\xda\xd3\x7e\xf7\ \xb6\x6d\x45\x9d\x1b\x02\x28\x78\xc5\x65\xa2\x62\xd8\x30\xad\xae\ \x80\xd3\x62\xea\x0b\x20\x00\xf9\xf4\xed\xb5\x97\xe8\x9b\x39\x53\ \xd4\x58\x9e\xfc\xaa\xe1\x79\xd0\x0f\x97\xeb\x37\x6f\xd6\x82\x9e\ \x53\xad\x59\xaf\x04\x20\x00\x2f\x17\x6f\xd4\x17\xd0\xcd\x97\x1a\ \x32\xc4\xf5\xdf\x41\x00\x72\xe1\xe0\x17\x17\x5c\x20\x6a\x1a\x1b\ \xb5\xe0\xe7\x99\x7c\x54\x0d\xfe\x8d\xb7\xde\xaa\x95\xff\x0b\xb1\ \xbb\xb5\x55\xf4\x52\xf6\xde\x4d\xb9\xde\x0b\x10\x40\xb1\x1f\x84\ \x47\x20\x36\x35\x65\x64\x40\x69\xbe\x62\x02\x04\x20\x0f\x23\xf8\ \x79\x10\x98\x11\xfc\x51\x9b\xc9\xc7\x0d\xdc\x1c\xc7\x4f\x7e\xa7\ \xe0\xe7\xec\x3d\x37\xdd\xf5\x6e\xda\xa4\xbd\x57\x66\xd0\x9b\x81\ \x00\x24\x91\xa2\xa7\x51\xc5\xd0\xa1\xda\x56\xde\xd0\x90\xf3\x1a\ \x04\x20\x07\x73\xf0\x73\x99\x3f\x6a\x73\xf8\xb9\x85\x83\x9e\x67\ \xfb\xe9\xa1\x1c\x40\xce\xfe\x9d\x3b\x33\x01\xdf\xd2\xa2\x05\x7f\ \x10\x40\x00\x3e\xc0\xb9\x01\x4d\x06\xc3\x87\x6b\xb9\x83\xd4\x25\ \x97\x40\x00\x25\x12\xcb\xe0\xa7\xc0\xeb\xe5\xa7\x3c\x95\xe5\x79\ \xeb\xcb\xed\x8b\x1f\x08\xaa\x0a\xe0\x7a\x4a\x6e\xb1\xee\xdf\x8b\ \x04\xf0\xf9\x08\x08\xc0\x4a\xdd\xc3\x0f\x8b\x21\xc7\x1d\x07\x01\ \x14\x49\x9c\x82\xbf\xf9\x86\x1b\x44\xfb\x92\x25\x5a\x7b\x3f\x07\ \xbf\xd6\x4d\x37\x44\x54\x15\xc0\x02\x4e\xac\xfb\x47\x92\x00\xa6\ \x45\x50\x00\x03\x1f\x7c\x50\x0c\x9d\x31\x03\x02\x28\x82\xd8\x04\ \x3f\x65\xef\x57\xcd\x9a\x25\x3a\x96\x2d\x0b\xfb\x52\x72\x80\x00\ \x02\x00\x02\x28\x8e\xb8\x04\x3f\x77\xc3\x5d\x75\xc6\x19\xa2\xf3\ \x9d\x77\xc2\xbe\x94\x7e\x40\x00\x01\x00\x01\x78\x07\xc1\x1f\x0c\ \x10\x40\x00\x40\x00\xde\x40\xf0\x07\x07\x04\x10\x00\x10\x80\x7b\ \xe2\x12\xfc\x9d\xef\xbe\x2b\x56\x9d\x7e\xba\xe3\x28\xbc\xa8\x00\ \x01\x04\x40\x54\x04\xc0\x37\x24\x77\x6d\x2e\xa7\xc0\x8a\x22\x3c\ \x79\x67\xf9\x57\xbf\xaa\x75\xeb\x35\x3a\xf9\x20\xf8\xfd\x05\x02\ \x08\x80\xa8\x08\xe0\x9d\xe1\xb9\x93\xbc\xb2\x08\x78\xe0\x4c\x39\ \x5d\x17\x4f\x9e\x5a\x4e\x81\xa7\xcd\xa1\x58\x5d\xad\x8d\x8c\xd4\ \xf6\xf1\x6b\x01\x60\xcc\xdc\xcb\x43\x79\x8d\xc9\x3b\x11\xfc\xfe\ \x03\x01\x04\x40\x54\x05\xe0\x1a\xfa\x5e\x53\xe6\x5c\x43\x9e\x5c\ \x44\x19\x7d\xff\x4e\x43\xa9\x79\x5e\x46\x16\x4e\xba\xa3\x23\xf7\ \x85\x69\xd3\x44\xd5\x85\x17\x6a\xc1\xcf\x4f\x7e\x15\x66\xee\xb5\ \x43\xb5\xe0\x67\x36\x91\x00\x5e\xb4\x17\xc0\x36\x12\x80\xf4\x09\ \x32\x20\x00\x15\x05\xe0\x23\xa9\x53\x4e\x11\x03\x6f\xbe\x59\xf9\ \xe0\xdf\xf6\xf8\xe3\xa2\xf9\xfa\xeb\x45\x5a\xa1\xe0\x67\xb6\x90\ \x00\x9e\xb7\x17\xc0\x0e\x12\x40\x83\xd7\xe3\x15\x42\x96\x00\xee\ \xa1\xe4\x4a\xeb\xfe\x7d\x29\xb8\xa6\x46\x70\x60\x08\x04\x60\x4f\ \x9c\x82\x7f\xfd\x15\x57\x84\x7d\x19\x45\xa1\xaa\x00\x7e\x48\xc9\ \xa5\xd6\xfd\xa3\x29\xb8\x8e\x82\x00\x1c\x89\x92\x00\x10\xfc\xd1\ \x00\x02\x08\x00\x08\x20\x97\xb8\x04\x3f\x67\xf9\xa5\x4e\xe2\x19\ \x02\x10\x40\x00\x40\x00\x7b\x88\x4b\xf0\xaf\xa3\xa7\x7e\x2b\x3d\ \xfd\x55\x07\x02\x08\x00\x08\x20\x03\x82\x3f\x7a\x40\x00\x01\x00\ \x01\x08\x51\x39\x67\x8e\x18\x70\xd1\x45\x4a\x2d\xd2\x69\x45\x85\ \xae\xbd\x5e\x81\x00\x02\x20\xc9\x02\x28\xe3\x27\xfd\x9d\x77\x8a\ \x9a\xa9\x53\xb3\x9d\x7c\x54\x59\xa4\xd3\x4c\x1c\x83\x9f\x81\x00\ \x02\x20\xa9\x02\x28\x3f\xf0\x40\x51\xf3\xc0\x03\x62\xc0\xd0\xa1\ \xda\x67\xe7\xae\xbd\xaa\x2d\xd8\xc1\x70\x07\x9f\x75\x97\x5d\xa6\ \xa5\x71\x03\x02\x08\x80\x24\x0a\x80\xcb\xfb\xb5\x0b\x16\x68\xfd\ \xfa\x8d\x2c\xbf\x8a\x73\xf6\xab\xd8\xbb\xcf\x0b\x10\x40\x00\x24\ \x4d\x00\x55\x37\xdc\x20\x06\x50\x76\x99\xb3\xfc\xbc\xa9\xda\xaf\ \x7f\xe7\x2b\xaf\x88\xb5\xe7\x9e\x1b\xdb\xe0\x67\x54\x15\xc0\x2f\ \x28\x39\xd7\xba\x7f\x2c\xdd\x64\x53\x20\x00\x47\xfc\x16\x00\x97\ \xf7\x2b\xe7\xcf\x17\xb5\x67\x9e\x99\x5d\xa3\x4f\xc5\xf2\x3e\xa3\ \x7a\x07\x1f\xb7\xa8\x2a\x80\x5f\x53\xf2\x35\xeb\xfe\x03\x28\xb8\ \x26\x43\x00\x8e\xf8\x29\x00\xad\xb2\xef\xc7\x3f\x16\x03\x26\x4e\ \x54\x76\x81\x4e\x83\xa4\x04\x3f\xd3\x4a\x02\x78\xce\x5e\x00\x1d\ \x24\x00\x79\x0b\x64\xea\x40\x00\x31\x14\x80\x11\xfc\xb5\x87\x1e\ \xaa\xf4\x02\x9d\x4c\x9c\xda\xf8\xdd\xb0\x9d\x04\xf0\x17\x7b\x01\ \x74\x92\x00\x06\xc8\x3e\x1f\x04\x10\x33\x01\x98\x83\xdf\x58\xa0\ \x53\xc5\x65\xba\x98\xa4\x05\x3f\x03\x01\x04\x40\x9c\x05\x50\xc3\ \xc1\x7f\xcc\x31\x4a\x07\x7f\x5c\xdb\xf8\xdd\x00\x01\x04\x40\x5c\ \x05\xc0\xb5\xfd\x03\x67\xce\xd4\x82\x9f\xcb\xfc\x08\x7e\xf5\x80\ \x00\x02\x20\x8e\x02\xe0\x76\xfe\xba\xef\x7e\x57\x2b\xf3\xf3\xa6\ \x62\x99\x3f\xee\x6d\xfc\x6e\x80\x00\x02\x20\x6e\x02\xe0\x1e\x7e\ \xb5\xf4\x99\xea\x46\x8c\xd0\x9e\xfe\x2a\x36\xf5\x21\xf8\x33\x40\ \x00\x01\x10\x37\x01\x70\xb9\xbf\x6e\xda\x34\x51\x5f\x5f\xaf\xe4\ \xcc\xbd\x08\xfe\x3d\x40\x00\x01\x10\x27\x01\x70\xd6\x7f\xd0\x2d\ \xb7\x68\xc1\xcf\x9f\x27\x15\xc1\xef\x3b\x1f\x49\x6a\xe3\x77\x83\ \xaa\x02\x78\x9a\x92\x53\xac\xfb\x0f\xa6\xe0\x3a\x34\x82\x37\x64\ \x9c\x04\x30\xf0\x0f\x7f\x10\x83\xa8\x08\xc0\x02\x50\xad\xa3\x0f\ \x82\xbf\x3f\xaa\x0a\xe0\xcf\x94\x7c\xd9\xba\x7f\x1c\x05\xd7\x44\ \x08\xc0\x91\x52\x05\x90\x3a\xee\x38\x31\xe8\x9e\x7b\x44\x63\x63\ \xa3\x56\xeb\xaf\x52\xd6\x1f\xc1\x6f\x4f\x3b\x09\xe0\x7f\xed\x05\ \xd0\x4b\x02\xa8\x94\x7d\x3e\x08\x40\x61\x01\x54\xdf\x78\xa3\x68\ \x98\x3d\x5b\x34\x34\x34\x68\x03\x7c\x54\x61\xd3\x9d\x77\x6a\x1b\ \xe8\x0f\x04\x10\x00\x71\x11\xc0\xc0\xc7\x1e\x13\x83\x8f\x38\x22\ \xdb\xec\xa7\x02\x49\xec\xdd\xe7\x05\x08\x20\x00\xe2\x22\x80\x86\ \xa5\x4b\xc5\xe0\xc1\x83\x95\xc9\xfe\x23\xf8\x0b\x03\x01\x04\x40\ \x5c\x04\x30\x78\xd9\xb2\xac\x00\xa2\x0e\x82\xdf\x1d\x10\x40\x00\ \xc4\x49\x00\x4d\x4d\x4d\x5a\x9f\xff\xa8\x92\xf4\xae\xbd\x5e\x81\ \x00\x02\x00\x02\x08\x06\x04\xbf\x77\x76\x92\x00\xfe\x6c\x2f\x80\ \x1e\x12\x40\x95\xec\xf3\xc9\x12\xc0\x7f\x53\x72\x96\x75\xff\x67\ \x28\xb8\x26\x41\x00\x8e\xc4\x59\x00\x08\xfe\xe2\x50\xb5\x1f\x00\ \x7a\x02\x16\x41\x5c\x05\xd0\xb3\x6e\x9d\xf8\xe4\x9c\x73\x62\x39\ \x6b\xaf\xdf\x40\x00\x01\x00\x01\xf8\x4b\x07\x3d\xf5\x57\x4c\x9f\ \x1e\xf6\x65\x28\x09\x04\x10\x00\x10\x80\xbf\xf4\xd1\x4d\xdc\xf2\ \xe4\x93\xa2\x8d\xae\xaf\xd7\xfe\x66\x56\x8e\x9e\xa7\x9e\x12\xe9\ \xe6\x66\xdf\xcf\x03\x01\x04\x00\x04\xe0\x3f\x3d\x3d\x3d\xa2\xab\ \xab\x4b\x4b\x59\x08\xaa\xb3\x85\x8a\x34\xdd\xaf\xbf\xee\xfb\x79\ \x20\x80\x00\x80\x00\xfc\x87\x83\x3e\x9d\x4e\x6b\x69\x1c\x04\xb0\ \x66\xd6\x2c\xd1\xf1\xf7\xbf\xfb\x7e\x1e\x55\x67\x05\xfe\x29\x25\ \x17\x58\xf7\x8f\xa1\xe0\x3a\x02\x02\x70\x24\xce\x02\x88\x1b\x2b\ \x4e\x3f\x5d\x74\xbc\xfa\xaa\xef\xe7\x51\x75\x5d\x00\xac\x0c\x54\ \x04\x10\x80\x3a\x40\x00\x79\x80\x00\x8a\x03\x02\x50\x07\x08\x20\ \x0f\x24\x80\x45\x94\x5c\x6b\xdd\x3f\x8a\x82\xeb\x18\x08\xc0\x11\ \x08\x40\x1d\x82\x12\xc0\xa7\x24\x80\x97\xed\x05\xb0\x85\x04\x30\ \x4c\xf6\xf9\x64\x09\x60\x01\x27\xd6\xfd\x23\xcb\xca\xc4\xb4\x08\ \x0e\x53\x85\x00\x80\x57\x82\x12\x40\x33\x09\xe0\x15\x7b\x01\x6c\ \x22\x01\x8c\x90\x7d\x3e\x59\x02\xe0\xa9\x5d\xee\xb5\xee\x1f\x46\ \x02\xf8\x02\x04\xe0\x08\x04\xa0\x0e\x41\x09\x60\x6d\x3a\x2d\x5e\ \xdb\xbd\xdb\xee\xa5\x35\x24\x80\xfd\x64\x9f\x4f\x96\x00\x2e\xa1\ \xe4\x7e\xeb\xfe\xa1\x24\x80\xe3\x21\x00\x47\x20\x00\x75\x08\x4a\ \x00\x6b\x48\x00\x4b\xec\x05\xb0\x9a\x04\x30\x56\xf6\xf9\x64\x09\ \x60\x26\x25\xbf\xb1\xee\x6f\x20\x01\x7c\x09\x02\x70\x04\x02\x50\ \x87\xa0\x04\xb0\x82\x04\xb0\xcc\x5e\x00\xef\x92\x00\x26\xca\x3e\ \x9f\x2c\x01\x1c\x47\xc9\x0b\xd6\xfd\x03\x49\x00\x27\x43\x00\x8e\ \x40\x00\xea\x10\x94\x00\x3e\x20\x01\xbc\x6d\x2f\x80\x25\x24\x80\ \xa9\xb2\xcf\x27\x4b\x00\xe3\x28\x79\xdf\xba\x9f\xa7\xa9\x3c\xb5\ \x52\xfa\x1c\x06\x25\x03\x01\x00\xaf\x04\x25\x80\xf7\x28\xf8\xdf\ \x23\x09\xd8\xf0\x57\x12\x80\xf4\x11\x56\xb2\x04\xd0\x44\x49\x8b\ \x75\x3f\x37\x00\x9e\x09\x01\x38\x02\x01\xa8\x43\x50\x02\x78\x8b\ \x04\xf0\xa1\xbd\x00\x9e\x24\x01\x9c\x2e\xfb\x7c\xd2\x56\x91\x20\ \x09\xd8\x76\xf8\x9e\x49\x02\x88\xda\x74\x95\x10\x00\xf0\x4a\x50\ \x02\x58\x4a\x02\x58\x65\x2f\x80\x5f\x92\x00\xfe\x4d\xf6\xf9\x64\ \x0a\x80\x0b\x2e\xfd\xa2\xe9\x5f\x48\x00\x35\xb2\xaf\xba\x44\x20\ \x00\xe0\x95\xa0\x04\xf0\x2a\x09\x60\xbd\xbd\x00\xee\x20\x01\x7c\ \x5b\xf6\xf9\x64\x0a\xa0\x53\x64\x8a\xfd\x39\x9c\x58\x51\x21\xea\ \x23\xb6\x5c\x15\x04\x00\xbc\x12\x94\x00\x5e\xe8\xed\x15\x9b\xed\ \x47\x4f\x5e\x49\x02\xf8\x81\xec\xf3\xc9\x14\xc0\x36\x4a\x1a\xad\ \xfb\xb9\x23\xd0\x30\x08\xc0\x16\x08\x40\x1d\x82\x12\xc0\xb3\x24\ \x80\x1d\xf6\x02\x38\x8d\x04\xf0\x94\xec\xf3\xc9\x14\xc0\x7a\x4a\ \xf6\xb6\xee\xe7\xb1\x00\xa3\x22\xb6\x68\x05\x04\x00\xbc\x12\x94\ \x00\x9e\xee\xe9\x11\x9d\xf6\x2f\x1d\x4e\x02\x78\x4b\xf6\xf9\x64\ \x0a\x80\xa7\x7f\x9d\x60\xdd\xcf\x13\x82\x1c\x00\x01\xd8\x02\x01\ \xa8\x43\x10\x02\xe0\xe7\xfe\x6f\x48\x00\x0e\x54\x93\x00\xba\x65\ \x9f\x53\xa6\x00\x16\x53\x72\x82\x75\xff\x21\x14\x60\x87\x44\x6c\ \x44\x20\x04\x00\xbc\x12\x84\x00\x82\x5e\x14\x84\x91\x29\x00\x65\ \x66\x05\x82\x00\x80\x57\x82\x10\xc0\x56\x12\xc0\x62\x7b\x01\xec\ \x22\x01\xd4\xf9\x71\x4e\x99\x02\xe0\xf9\x00\x16\x59\xf7\x8f\x28\ \x2b\x13\xc7\x46\xac\x3b\x30\x04\x00\xbc\x12\x84\x00\xb8\xf9\xef\ \x55\xfb\x6e\xc0\x1b\x48\x00\xa3\xfc\x38\xa7\x4c\x01\x28\x33\x1e\ \x00\x02\x00\x5e\x09\x42\x00\x41\x8f\x03\x60\x64\x0a\x80\xd7\x2d\ \xeb\xb2\x7b\x2d\x6a\xbd\x01\x21\x00\xe0\x95\x20\x04\xf0\x26\x05\ \xff\x4a\xfb\x4e\x40\x8f\x92\x00\xce\xf1\xe3\x9c\x52\x1b\xe8\x49\ \x02\x5c\x4b\xd9\xaf\xb2\xe2\x24\xca\x01\xd4\x45\xa8\x2f\x00\x04\ \x00\xbc\x12\x84\x00\x82\xee\x04\xc4\xc8\x16\xc0\x46\x4a\xfa\xdd\ \xd5\x3c\x2d\xd8\x48\x08\xa0\x1f\x10\x80\x3a\x04\x21\x80\x3f\x92\ \x00\x3a\xec\x05\x70\x04\x09\x60\xa9\x1f\xe7\x94\x2d\x80\x97\x29\ \x99\x66\xdd\x3f\x21\x95\x12\xe3\x23\xd4\x17\x00\x02\x00\x5e\xf1\ \x5b\x00\x5c\x76\x7e\xca\xbe\x0f\x40\x9a\x82\xdf\xb7\x66\x34\xd9\ \x02\xf8\x4f\x4a\xae\xb6\xee\xdf\x87\x82\xec\xe8\x08\x35\x05\x42\ \x00\xc0\x2b\x7e\x0b\x60\x13\x3d\xf9\x5f\xb4\x6f\x02\xdc\x46\x02\ \x68\xf2\xeb\xbc\xb2\x05\x30\x83\x92\xe7\xac\xfb\xb9\xfc\x7f\x52\ \x84\x5a\x02\x20\x00\xe0\x15\xbf\x05\xc0\x73\x00\xbc\x65\xdf\x02\ \xb0\x94\x04\x70\x84\x5f\xe7\x95\x2d\x00\xc7\x96\x80\xd3\x2a\x2b\ \x45\x95\x5f\x9f\xc2\x23\xa9\x83\x0e\x12\x15\x8d\x8d\x99\xe0\x0f\ \xb1\x6e\x22\x88\xbe\xe5\x40\x0d\xfe\x4e\xc1\xbf\xce\xbe\x05\xe0\ \x5e\x12\xc0\xbf\xfb\x75\x5e\xe9\x77\x3f\x49\x60\x07\x25\x83\xac\ \xfb\xa3\x38\x28\x08\x80\xa8\xc0\xe5\xff\x2e\xfb\x97\x7c\xab\x00\ \x64\xfc\x10\xc0\xd3\x94\x9c\x62\xdd\x1f\xd5\x95\x82\x01\x08\x9b\ \x3c\x4b\x82\xf7\x50\xf0\xfb\x9a\x71\xf6\x43\x00\xe7\x51\xf2\x73\ \xeb\xfe\x5a\xca\x6a\x7f\x25\x42\xf5\x00\x00\x44\x85\xe5\x94\xf5\ \x7f\xc7\xbe\xfc\xff\x21\x09\xe0\x60\x3f\xcf\xed\x4b\x01\x98\x24\ \x90\xb6\x3b\x36\xaf\x11\xd0\x10\xa1\xfe\x00\x00\x44\x81\xff\xa3\ \xa7\xff\x36\xfb\xf6\xff\xfb\x49\x00\x97\xf9\x79\x6e\xbf\x04\xb0\ \x8a\x92\x31\xd6\xfd\x3c\x2c\xf8\x10\xd4\x03\x00\x90\x85\x3b\xfe\ \xfc\xd1\x3e\xfb\xcf\x8c\x26\x01\xac\xf5\xf3\xfc\x7e\x09\xc0\x76\ \xb9\xf0\x28\x0e\x0c\x02\x20\x4c\xf2\x64\xff\xdb\x29\xf8\x07\xfa\ \x7d\x7e\xbf\x04\x60\xbb\x4e\x00\x73\x1c\x09\x60\x38\x8a\x01\x00\ \x68\xfc\x89\x9e\xfe\xbb\xec\xb3\xff\x4f\x90\x00\x66\xfb\x7d\x7e\ \xdf\x22\xd1\xa9\x39\x70\x08\x05\xff\x09\xc8\x05\x00\x20\x36\x52\ \xe0\xbf\x14\x62\xf6\x9f\xf1\x53\x00\xb6\x13\x84\x30\xa8\x0c\x04\ \x20\x6f\xe5\x5f\x1b\x05\x7f\x7d\x10\xd7\xe0\x6b\x14\x92\x04\x58\ \x6f\xfd\x1a\xff\xd1\x27\x00\x24\x9d\x2d\x14\xf8\xcf\x3b\x3f\xfd\ \xbf\x4d\x02\xb8\x23\x88\xeb\xf0\x5b\x00\xbf\xa6\xe4\x6b\x76\xaf\ \x4d\xa7\x5c\x40\x13\x72\x01\x20\xa1\xf0\xdc\x7f\x5b\xed\x9f\xfe\ \xdd\x14\xfc\xd5\x5e\x8f\x57\x2c\xbe\x47\xa0\x53\x9f\x00\x0e\xfe\ \xe9\xa8\x0b\x00\x09\x64\x43\x3a\x2d\xfe\x66\x5f\xf3\xcf\xf8\xda\ \xf7\xdf\x4a\x10\x02\xf8\x03\x25\xa7\xd9\xbd\xf6\x39\x2a\x06\xec\ \x8d\x7e\x01\x20\x41\xf0\x88\x7f\xee\xf6\xdb\x6e\xff\xf4\xf7\x6d\ \xfa\x6f\x27\x82\x10\x00\x37\x09\x6e\x16\x36\x0b\x87\x72\x2d\xc0\ \x74\x54\x08\x82\x04\xb1\x8c\x9e\xfc\x2b\xec\x47\xfd\x31\x77\x91\ \x00\xbe\x19\xe4\xf5\x04\x12\x79\x4e\x13\x85\x30\x68\x16\x04\x49\ \x21\xcf\xb4\xdf\x4c\x07\x05\x7f\x6d\xd0\xd7\x14\xd8\xa3\x97\x24\ \xd0\x4e\x89\xed\xcc\x15\x51\x5c\x3d\x08\x00\x99\xf0\x64\x9f\x2f\ \x38\xd7\xfa\x33\xbe\x4d\xfc\x99\x8f\x20\x05\x30\x87\x92\x87\x9c\ \x5e\xe7\xd5\x83\xc6\xa0\x3e\x00\xc4\x90\x56\xbd\xc3\x4f\x97\xf3\ \x5b\xfe\x44\xc1\xff\x95\x30\xae\x2d\xd0\xc2\x37\x49\x80\x87\x09\ \x9f\xe7\xf4\xfa\x54\x92\xc0\xbe\x90\x00\x88\x11\x3c\xd6\x9f\x67\ \xfb\x69\xb3\xaf\xf4\x63\x42\xc9\xfa\x1b\x04\x5e\xfb\x46\x12\xf8\ \x84\x92\xd1\x4e\xaf\x43\x02\x20\x2e\xb8\x08\x7e\x66\x2e\x09\xe0\ \xa7\x61\x5d\x63\x18\x02\xe0\x45\x0e\x79\xa0\x90\xe3\x4c\x27\x28\ \x0e\x00\xd5\xe1\x2e\xbe\xaf\x51\xf0\xef\xcc\x1f\xfc\x8b\x28\xf8\ \xff\x23\xcc\xeb\x0c\xa5\xfd\x8d\x24\x70\x2e\x25\xbf\xc8\xf7\x1e\ \x54\x0c\x02\x55\xe1\x29\xbe\x5f\xa1\x32\xff\xee\xfc\x6f\xfb\x2d\ \x05\xff\xac\xb0\xaf\x35\xb4\x06\x78\x92\xc0\x7c\x4a\xbe\x9f\xef\ \x3d\xa3\x49\x02\x47\x41\x02\x40\x21\xd6\xa6\xd3\xda\x93\xbf\x00\ \x2f\x50\xf0\x1f\x1f\xf6\xb5\x32\xa1\xf6\xc0\x71\x23\x81\xc1\x65\ \x65\x62\x0a\x49\xa0\x11\x9d\x85\x40\xc4\xc9\x33\xb7\xbf\x99\xc8\ \x04\x3f\x13\x7a\x54\xb9\x91\x00\x57\x16\x7c\x1e\x83\x87\x40\x84\ \xf9\x07\x05\xfe\xc7\xce\x3d\xfc\x0c\x16\x53\xf0\xcf\x08\xfb\x5a\ \xcd\x44\x22\xa2\xf4\x3a\x81\x07\x85\xc8\xbf\x76\x08\x4b\x60\x2f\ \x48\x00\x44\x08\xee\xda\xf3\x1a\x95\xf7\x9b\xf3\x57\xf6\x31\x0f\ \x53\xf0\x9f\x1f\xf6\xf5\x5a\x89\x4c\x34\xe9\xad\x03\x1f\xd3\x36\ \x22\xdf\xfb\x26\x51\x71\xe0\x33\x68\x21\x00\x11\xa0\x85\x82\x7e\ \x09\x3d\xf9\x77\x15\x0e\xfe\x05\x14\xfc\x37\x87\x7d\xbd\x76\x44\ \x46\x00\x06\x24\x82\xd7\x29\xc9\xbb\x16\x1a\x8f\x1f\xf8\x2c\x89\ \x00\x83\x88\x40\x58\xac\xa6\xec\xfe\x1b\x85\xcb\xfb\xfc\x86\x8b\ \xc2\x6c\xe7\x2f\x44\x24\x23\x88\x24\xf0\x5f\x94\xe4\x9d\x10\x91\ \x67\x4c\x98\x8a\x09\x46\x41\xc0\x70\x96\x9f\xcb\xfb\xab\x0b\x97\ \xf7\xdb\x68\xbb\x80\x82\xff\x89\xb0\xaf\x39\x1f\x91\x8d\x1e\x92\ \xc0\x7d\x94\x14\x5c\x14\xe1\x70\xca\x09\x1c\x88\x22\x01\x08\x00\ \x0f\x59\xfe\xd5\x14\xf8\x63\xc3\xbe\x5e\x37\x44\x56\x00\x0c\x49\ \xe0\x5b\x94\xdc\x2e\x6c\xe6\x12\x30\x83\x22\x01\xf0\x9b\x55\xf4\ \xc4\x5f\x5a\x38\xcb\xcf\xfc\x85\x82\xff\xc4\xb0\xaf\xd7\x2d\x91\ \x8f\x18\x92\xc0\x59\x94\xfc\x4c\xd8\x4c\x31\x6e\x86\x8b\x04\x47\ \x51\x91\x60\x04\x24\x00\x24\xe2\x21\xcb\xcf\x2c\xa4\xe0\xbf\x21\ \xec\x6b\xf6\x82\x32\xd1\x42\x22\xf8\x0d\x25\x33\x0b\xbd\xef\x30\ \xca\x09\x1c\x84\x22\x01\x90\x00\xcf\xdb\xff\xa6\xbb\x2c\xff\x2e\ \xda\xe6\x51\xf0\x3f\x16\xf6\x35\x7b\x45\x19\x01\x30\x6e\x8b\x04\ \x5c\x14\xe0\xe6\xc2\x61\xc8\x0d\x80\x22\xe0\x8c\xfe\x72\x0a\xfc\ \xf7\xdd\x3d\xf5\x95\xca\xf2\x5b\x51\x2e\x42\x48\x02\xe3\x28\xf9\ \x0b\x6d\xfb\x14\x7a\xef\xa1\x24\x81\x83\x91\x1b\x00\x1e\xf8\x94\ \x9e\xf6\xff\x28\x3c\x8a\x8f\xe1\x37\xdc\xaa\x5a\x96\xdf\x8a\x72\ \x02\x30\x70\x5b\x24\xe0\xdc\x00\xb7\x14\xa0\xb9\x10\xe4\x83\x9f\ \xfa\xef\x53\xe0\x2f\x77\xf7\xd4\x57\x36\xcb\x6f\x45\xe9\xa8\x20\ \x09\xf0\x44\xa3\xbc\x82\x4a\xc1\x21\x83\x13\x48\x02\xe3\x91\x1b\ \x00\x36\x34\xeb\x4f\x7d\x17\x65\x7d\x46\xe9\x2c\xbf\x15\xa5\x05\ \xc0\x90\x04\x0e\xa0\xe4\x71\x51\xa0\xf7\x20\x53\xaf\xe7\x06\xd0\ \x52\x00\x98\x6e\xda\x3e\x74\xff\xd4\xe7\xb7\xdf\x18\xd4\x92\x5d\ \x41\x11\x9b\x48\x20\x11\x2c\xa0\xe4\x3a\xda\x0a\xce\x31\x3e\x41\ \xef\x3c\x84\xc9\xc8\x93\x4b\xb3\x5e\xc3\xdf\xe1\xee\xa9\xbf\x98\ \xb6\x93\x29\xf8\xbb\xc3\xbe\x6e\xd9\xc4\x46\x00\x0c\x49\x60\x5f\ \x4a\xb8\x1b\xf1\x31\x85\xde\x5b\x23\x32\x03\x8b\xf6\x41\xb1\x20\ \x51\xb4\xea\x81\xbf\xd5\x5d\xe0\xf3\x44\xbe\x37\xc5\xed\xa9\x6f\ \x26\x56\x02\x30\xd0\x73\x03\xdf\xa1\xad\xe0\x32\x4b\x3c\xd1\xc8\ \x61\xa8\x24\x8c\x3d\xdc\xa1\x87\x57\xe4\x79\xdb\x5d\x6f\x3e\x26\ \x72\x63\xf7\xfd\x20\xb6\x77\xbd\xbe\x24\xd9\xd3\xc2\x45\x6e\x80\ \xe1\xe6\xc2\xfd\x69\x1b\x08\x11\xc4\x8e\x75\x14\xf8\x5c\xc9\xd7\ \xe9\xee\xed\xfc\xb6\x6b\xc3\x58\xa4\x23\x0c\x62\x7f\xb7\x93\x08\ \xae\xa7\xe4\x46\xe1\x22\x37\xc0\x75\x02\x93\x30\x23\x71\x6c\xe0\ \xc9\x39\x79\x8a\xae\x56\x77\xd9\x7d\xe6\x69\x0a\xfc\x53\xc3\xbe\ \xee\x20\x89\xbd\x00\x18\x3d\x37\xc0\x2d\x05\x5f\x72\xf3\x7e\x6e\ \x2d\xe0\x4e\x44\x23\x91\x1b\x50\x12\x6e\xce\x5b\x49\x4f\xfd\x0f\ \xdc\xd5\xee\x33\x89\x7a\xea\x9b\x49\xd4\x1d\x4e\x22\xe0\x55\x89\ \x78\x98\xf1\x40\x37\xef\xe7\x51\x86\x93\x31\x21\xa9\x52\x7c\x42\ \x41\xcf\x2b\xf0\xf6\xba\x7b\x3b\x67\x0d\xee\xa5\xc0\x9f\x1f\xf6\ \x75\x87\x45\x22\xef\x6c\x12\xc1\x42\x4a\x78\x5c\x81\xab\xb5\xd8\ \xc7\xe9\xf5\x03\xb5\x10\x41\x64\xe1\x95\x77\xdf\xa6\xcd\x45\x17\ \x5e\x83\xe7\x44\x66\xb6\x9e\x15\x61\x5f\x7b\x98\x24\xfa\x8e\x26\ \x11\xfc\x9a\x92\xaf\xb9\x79\x2f\xd7\x0a\x70\xff\x81\x03\xd0\x7f\ \x20\x52\x70\x7b\xfe\x3b\xf4\xc4\xdf\xee\x3e\xf0\xb9\x1b\xef\xe5\ \x14\xf8\x0f\x87\x7d\xed\x51\x20\xd1\x02\x60\x48\x02\x5c\xe9\xc3\ \x39\x82\xc3\xdc\xbc\x9f\xa7\x2d\x3e\x0c\x15\x85\xa1\xb3\x59\xaf\ \xe0\xdb\xe6\x3e\xf0\x7b\x68\xfb\x1e\x05\xfe\xf5\x61\x5f\x7b\x94\ \x48\xbc\x00\x0c\xf4\xd6\x02\xee\x49\x58\xe3\xe6\xfd\x03\xa8\x38\ \x30\x91\x24\xb0\x1f\x44\x10\x28\x2d\x7a\xe0\xb7\xb8\x0f\x7c\xe6\ \x71\x0a\xfc\xb3\xc3\xbe\xf6\x28\x02\x01\x58\x20\x11\xdc\x43\xc9\ \x15\xc2\xe5\x77\x03\x11\x04\x03\x07\xfc\x3f\xdd\xf7\xe0\x33\x78\ \x8b\xb6\xeb\x29\xf8\x9f\x0a\xfb\xfa\xa3\x0a\x04\x60\x83\x3e\xc0\ \xe8\x01\xda\xbe\xe8\xf6\x6f\x58\x04\x13\x48\x02\x28\x1a\xc8\x65\ \x8b\xfe\xc4\xf7\x18\xf8\xed\x22\x33\x70\xe7\xae\xb0\xaf\x3f\xea\ \x40\x00\x79\x20\x11\x70\x57\x50\xee\x07\x3e\xc5\xed\xdf\xb0\x08\ \xb8\xd5\xe0\x00\x88\xa0\x24\x36\xe9\x95\x7b\x1e\x03\x9f\xdb\xf3\ \xef\xa0\xc0\x5f\x10\xf6\xf5\xab\x02\x04\xe0\x02\x12\xc1\xbf\x72\ \x42\xdb\x78\xb7\x7f\xc3\x13\x14\x1c\xac\xb7\x1a\x54\x87\xfd\x01\ \x14\x62\x43\x3a\x2d\xde\xa5\xcd\x43\xad\x3e\xc3\xcd\xfe\x77\x51\ \xe0\x7f\x3b\xec\xeb\x57\x0d\x08\xc0\x03\x24\x82\xb9\x94\x70\xb6\ \x72\x90\x97\xbf\x3b\x50\xef\x47\x30\x08\xfd\x08\x1c\xe1\x0e\x3c\ \x3c\x2e\xbf\xcd\x5b\xe0\xf3\xc8\x9e\x9f\x52\xe0\x5f\x14\xf6\xf5\ \xab\x0a\xee\xc8\x22\x28\x56\x04\xa3\x75\x11\x0c\x85\x08\x34\x78\ \x70\x3d\x8f\xd0\x5b\xe1\x7e\xa0\x8e\x01\x02\x5f\x12\xb8\x13\x4b\ \xa0\x58\x11\xd4\xeb\xf5\x04\xa3\x13\x5a\x4f\xd0\xaa\xf7\xd5\x5f\ \xe9\xbe\xaf\xbe\x01\x67\xf5\x7f\x86\xc0\x97\x07\x04\x20\x01\x5d\ \x04\x5c\xfe\xdc\xdf\xcb\xdf\x71\xa7\x22\x5e\xe9\x78\xff\x54\xca\ \x5d\xe7\x03\xc5\xe1\xee\xba\x3c\xd5\xb6\x87\xd1\x79\x06\xdc\x89\ \xe7\xe7\x08\x7c\xf9\x40\x00\x12\x21\x11\x9c\x24\x32\xeb\x16\x4c\ \xf2\xfa\xb7\xfb\xe8\x7d\x09\xe2\x36\x02\x91\x47\xe6\xf1\xaa\x3a\ \xab\x29\x75\x39\xfd\x96\x19\x2e\x19\xdc\x8b\xca\x3d\xff\x88\xd7\ \xdd\x16\x11\x48\x04\xdc\x6c\x78\x2f\x6d\xd3\xbc\xfe\x2d\xb7\x18\ \xec\xaf\xcb\xa0\x4e\x61\x19\x70\xa5\xde\xc7\xb4\x79\xe8\xaa\x6b\ \x86\xdb\xf1\xbf\x1b\xe7\xa9\xb8\xa2\x82\xba\x77\x98\x02\x90\x08\ \x38\x97\xff\x28\x6d\x67\x0a\x17\x93\x95\x5a\xe1\x61\xc8\xdc\x8c\ \x38\x56\x91\xba\x02\x6e\xb3\xe7\x45\x34\xf9\x89\x5f\x54\xd8\x0b\ \xf1\x31\x6d\xb7\x61\xa0\x4e\x70\x40\x00\x01\xa1\x0f\x41\xbe\x8a\ \xb6\x01\xc5\xfc\xfd\x58\x3d\x57\x10\xb5\x16\x04\xae\xc9\x37\x82\ \xde\x63\x13\x9e\x01\xff\xd1\x4b\x22\x33\x42\xef\xad\xb0\x3f\x4f\ \xd2\x88\xd6\xdd\x94\x00\x8a\xe9\x54\x64\x86\x8b\x05\x63\xf4\xe6\ \xc4\xaa\x10\x3f\x07\x0f\xc3\x5d\xee\x7d\x50\x8e\x19\x2e\xdf\x73\ \x8d\xfe\x65\x21\x7e\x8c\xc4\x03\x01\x84\x84\x3e\x4d\x19\x67\x75\ \x4f\x16\x2e\x27\x26\xb1\x32\x44\x2f\x22\xec\x1d\xd0\x1c\x05\xdc\ \x2f\xbf\x59\x7f\xda\x77\x15\x7f\x98\x95\xb4\x2d\xa2\xc0\x7f\x28\ \x80\x4b\x06\x05\x80\x00\x22\x00\xc9\xe0\x12\x4a\xae\xa4\xed\xa0\ \x62\x8f\xc1\x32\xe0\x7e\x05\xfb\x48\xee\x7a\xcc\x4b\x64\x73\xf7\ \xdc\x0d\xc5\xd5\xe2\x1b\xf0\xd3\xfe\x7f\x68\xbb\x20\x8e\x8b\x6b\ \xa8\x0c\x04\x10\x21\xf4\x4a\xc3\x07\x69\x9b\x2d\x8a\xac\x2b\x60\ \xb8\xf2\x70\x5f\x12\xc1\x28\x4a\xbd\xb6\x24\x70\x88\xf3\x53\x7e\ \x9d\xfe\xb4\xef\x29\xfe\xe3\x70\x2f\x9f\x37\x68\x5b\x88\xe1\xb8\ \xd1\x05\x02\x88\x28\xfa\x48\x44\xae\x38\x3c\x4a\x64\x66\x24\x2b\ \x0a\xee\x75\xc8\xb9\x82\xbd\x29\x75\x9a\xdc\x94\x83\xdc\x78\xca\ \xaf\xf7\xde\x3b\xcf\x4a\x1b\x6d\x3f\x42\xdb\xbd\x1a\x40\x00\x0a\ \xa0\xaf\x74\x74\x01\x6d\xfb\x94\x72\x1c\x5e\xf4\x84\x73\x05\x23\ \xf5\x81\x49\x6b\x29\xd8\x79\xf3\x38\xe4\xd6\x0e\x76\xc8\xb3\xb4\ \x5d\x99\xf4\x49\x36\x55\x03\x02\x50\x08\x7d\xed\xc3\x1f\x8b\xcc\ \xfa\x06\x61\x36\x02\x18\x7c\x28\x32\x3d\xf5\x7e\x14\xf6\x85\x80\ \xe2\x80\x00\x14\x85\x64\x30\x93\x92\x8b\x69\xfb\xbc\x70\x39\x8f\ \xa1\x04\x38\xab\xb0\x8a\xb6\x47\x30\xe9\x46\x3c\x80\x00\x62\x00\ \xc9\xe0\x68\x4a\xfe\x43\x64\xa6\x30\xab\x95\x7c\x78\x1e\x81\xf7\ \x01\x6d\x0f\x63\x8a\xad\xf8\x01\x01\xc4\x0c\x7d\x3e\xc3\x1b\x68\ \xfb\x32\x6d\x7b\x15\x79\x18\x6e\xaa\x7b\x9d\xb6\x5f\xa2\xbd\x3e\ \xde\x40\x00\x31\x46\xef\x6c\xc4\x0b\xa3\xf2\x58\x84\xd1\x05\xde\ \xce\x6d\xf5\x2f\xd0\x76\x3f\x9a\xed\x92\x03\x04\x90\x20\xf4\xb5\ \x0f\xce\xa1\x6d\x8c\xc8\xf4\x3e\x6c\x11\x99\x7e\xf8\x0b\xd0\x0f\ \x3f\x99\x40\x00\x00\x24\x18\x08\x00\x80\x04\x03\x01\x00\x90\x60\ \xfe\x1f\x5a\x6f\x6b\xff\xd1\xd4\x9b\x94\x00\x00\x00\x00\x49\x45\ \x4e\x44\xae\x42\x60\x82\x28\x00\x00\x00\x30\x00\x00\x00\x60\x00\ \x00\x00\x01\x00\x20\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x0f\x0f\x7e\x01\x0f\x0f\x7e\x22\x0f\x0f\x7e\x66\x0f\x0f\ \x7e\x3b\x0f\x0f\x7e\x05\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\x20\x0f\x0f\ \x7e\x7b\x0f\x0f\x7e\xce\x10\x10\x81\xfd\x11\x11\x91\xff\x10\x10\ \x85\xff\x0f\x0f\x7e\xe5\x0f\x0f\x7e\x98\x0f\x0f\x7e\x3c\x0f\x0f\ \x7e\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\ \x7e\x03\x0f\x0f\x7e\x51\x0f\x0f\x7e\xb8\x10\x10\x7f\xfa\x11\x11\ \x95\xff\x13\x13\xb3\xff\x14\x14\xcb\xff\x14\x14\xd2\xff\x14\x14\ \xd0\xff\x13\x13\xbc\xff\x11\x11\xa0\xff\x10\x10\x83\xfe\x0f\x0f\ \x7e\xd7\x0f\x0f\x7e\x75\x0f\x0f\x7e\x11\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\x0b\x0f\x0f\x7e\x6d\x0f\x0f\ \x7e\xdd\x10\x10\x88\xff\x12\x12\xa9\xff\x14\x14\xc9\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xcf\xff\x13\x13\ \xb4\xff\x11\x11\x92\xff\x10\x10\x7f\xf5\x0f\x0f\x7e\x93\x0f\x0f\ \x7e\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\ \x7e\x06\x0f\x0f\x7e\x69\x0f\x0f\x7e\xe4\x10\x10\x8d\xff\x13\x13\ \xb4\xff\x14\x14\xd0\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x13\x13\xc0\xff\x11\x11\x99\xff\x10\x10\ \x7f\xf6\x0f\x0f\x7e\x94\x0f\x0f\x7e\x1a\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\x43\x0f\x0f\ \x7e\xd3\x10\x10\x8a\xff\x13\x13\xb5\xff\x14\x14\xd1\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xc2\xff\x11\x11\x97\xff\x0f\x0f\x7f\xee\x0f\x0f\x7e\x75\x0f\x0f\ \x7e\x05\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x0f\x0f\x7e\x15\x0f\x0f\x7e\xa4\x10\x10\x83\xfe\x12\x12\ \xab\xff\x14\x14\xd0\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x13\x13\xbb\xff\x10\x10\x8c\xff\x0f\x0f\ \x7e\xd4\x0f\x0f\x7e\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\ \x7e\x49\x10\x10\x7f\xe6\x11\x11\x97\xff\x14\x14\xc8\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd0\xff\x12\x12\ \xa8\xff\x10\x10\x81\xf9\x0f\x0f\x7e\x86\x0f\x0f\x7e\x04\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\x02\x0f\x0f\x7e\x85\x10\x10\ \x81\xfb\x12\x12\xb0\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xc1\xff\x10\x10\x8b\xff\x0f\x0f\x7e\xc0\x0f\x0f\ \x7e\x17\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x0f\x0f\x7e\x08\x0f\x0f\x7e\xaa\x10\x10\x88\xff\x14\x14\ \xc2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xce\xff\x11\x11\x99\xff\x0f\x0f\ \x7e\xde\x0f\x0f\x7e\x27\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\ \x7e\x02\x0f\x0f\x7e\xa4\x10\x10\x8e\xff\x14\x14\xca\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd1\xff\x12\x12\ \xa0\xff\x0f\x0f\x7f\xe2\x0f\x0f\x7e\x16\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\ \x7e\x4e\x10\x10\x84\xfe\x14\x14\xc9\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd1\xff\x11\x11\x97\xff\x0f\x0f\x7e\xa2\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\x01\x0f\x0f\ \x7e\xc6\x12\x12\xac\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xc6\xff\x10\x10\x7f\xfa\x0f\x0f\x7e\x20\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\x1e\x10\x10\ \x80\xfd\x14\x14\xcb\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x11\x11\x94\xff\x0f\x0f\x7e\x6d\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\x56\x10\x10\ \x8e\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x6f\x6f\xdf\xff\xcf\xcf\ \xf5\xff\xcf\xcf\xf5\xff\xcf\xcf\xf5\xff\xcf\xcf\xf5\xff\xcf\xcf\ \xf5\xff\xac\xac\xef\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x32\x32\ \xd5\xff\xc3\xc3\xf2\xff\xc4\xc4\xf3\xff\xc4\xc4\xf3\xff\xc4\xc4\ \xf3\xff\xc4\xc4\xf3\xff\xc4\xc4\xf3\xff\xc4\xc4\xf3\xff\xc4\xc4\ \xf3\xff\xc4\xc4\xf3\xff\xc4\xc4\xf3\xff\xc4\xc4\xf3\xff\xc4\xc4\ \xf3\xff\xc4\xc4\xf3\xff\xc4\xc4\xf3\xff\xc4\xc4\xf3\xff\xc4\xc4\ \xf3\xff\xb3\xb3\xf0\xff\x17\x17\xd3\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x12\x12\xa9\xff\x0f\x0f\x7e\xa8\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\x7e\x11\x11\ \x9b\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x86\x86\xe2\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd3\xd3\xf6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x3b\x3b\ \xd6\xff\xfd\xfd\xfd\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xe8\xe8\xfa\xff\x18\x18\xd3\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x13\x13\xb6\xff\x0f\x0f\x7e\xd4\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\x9b\x12\x12\ \xa4\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x86\x86\xe2\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd3\xd3\xf6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x3b\x3b\ \xd6\xff\xfd\xfd\xfd\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xe8\xe8\xfa\xff\x18\x18\xd3\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x13\x13\xbf\xff\x0f\x0f\x7e\xe7\x0f\x0f\ \x7e\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\xa6\x12\x12\ \xaa\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x86\x86\xe2\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd3\xd3\xf6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x3b\x3b\ \xd6\xff\xfd\xfd\xfd\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xe8\xe8\xfa\xff\x18\x18\xd3\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xc5\xff\x0f\x0f\x7e\xf6\x0f\x0f\ \x7e\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\xb7\x12\x12\ \xad\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x86\x86\xe2\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd3\xd3\xf6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x3b\x3b\ \xd6\xff\xfd\xfd\xfd\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xe8\xe8\xfa\xff\x18\x18\xd3\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xc9\xff\x0f\x0f\x7e\xfc\x0f\x0f\ \x7e\x0e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\xbe\x12\x12\ \xaf\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x86\x86\xe2\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd3\xd3\xf6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x3b\x3b\ \xd6\xff\xfd\xfd\xfd\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xce\xce\ \xf1\xff\xc4\xc4\xee\xff\xc4\xc4\xee\xff\xc4\xc4\xee\xff\xc4\xc4\ \xee\xff\xc4\xc4\xee\xff\xc4\xc4\xee\xff\xc4\xc4\xee\xff\xc4\xc4\ \xee\xff\xb4\xb4\xeb\xff\x17\x17\xd3\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xca\xff\x0f\x0f\x7e\xfe\x0f\x0f\ \x7e\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\xc1\x12\x12\ \xb0\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x86\x86\xe2\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd3\xd3\xf6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x3b\x3b\ \xd6\xff\xfd\xfd\xfd\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\x8a\x8a\ \xe8\xff\x16\x16\xd3\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xcb\xff\x0f\x0f\x7e\xfe\x0f\x0f\ \x7e\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\xc2\x12\x12\ \xb0\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x86\x86\xe2\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd3\xd3\xf6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x28\x28\ \xd4\xff\xf5\xf5\xf8\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\x98\x98\xeb\xff\x16\x16\xd3\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xcb\xff\x0f\x0f\x7e\xfe\x0f\x0f\ \x7e\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\xbf\x12\x12\ \xaf\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x86\x86\xe2\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd3\xd3\xf6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x15\x15\ \xd2\xff\x8e\x8e\xe1\xff\xfd\xfd\xfd\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xa5\xa5\xee\xff\x1a\x1a\xd4\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xca\xff\x0f\x0f\x7e\xfe\x0f\x0f\ \x7e\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\xbe\x12\x12\ \xaf\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x86\x86\xe2\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd3\xd3\xf6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x1a\x1a\xd3\xff\xa3\xa3\xe4\xff\xfd\xfd\xfd\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xba\xba\xf1\xff\x20\x20\ \xd5\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xca\xff\x0f\x0f\x7e\xfe\x0f\x0f\ \x7e\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f\x7e\xbb\x12\x12\ \xae\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x86\x86\xe2\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd3\xd3\xf6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x16\x16\xd3\xff\x7d\x7d\xde\xff\xf9\xf9\ \xfa\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xcd\xcd\ \xf5\xff\x28\x28\xd6\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xc9\xff\x0f\x0f\x7e\xfd\x0f\x0f\ \x7e\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x7f\xba\x12\x12\ \xae\xff\x15\x15\xd3\xff\x15\x15\xd2\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd2\xff\x15\x15\xd3\xff\x86\x86\xe2\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xd3\xd3\xf6\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x17\x17\xd3\xff\x19\x19\xd3\xff\x1a\x1a\xd4\xff\x74\x74\ \xdd\xff\xf8\xf8\xfa\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xd8\xd8\xf7\xff\x31\x31\xd8\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xc9\xff\x0f\x0f\x7e\xfd\x0f\x0f\ \x7e\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x7f\xb7\x12\x12\ \xad\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x86\x86\xe2\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xdc\xdc\xf8\xff\x4b\x4b\xdc\xff\x51\x51\xde\xff\x57\x57\ \xdf\xff\x58\x58\xdf\xff\x59\x59\xdf\xff\x5a\x5a\xdf\xff\x5a\x5a\ \xdf\xff\x94\x94\xe3\xff\xf8\xf8\xf9\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xe0\xe0\xf9\xff\x38\x38\xd9\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xc9\xff\x0f\x0f\x7e\xfc\x0f\x0f\ \x7e\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x7f\xb5\x12\x12\ \xad\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x16\x16\xd3\xff\x22\x22\xd5\xff\x94\x94\xe5\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x90\x90\xe3\xff\xf8\xf8\xf9\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xe8\xe8\xfa\xff\x50\x50\ \xdd\xff\x22\x22\xd5\xff\x16\x16\xd3\xff\x14\x14\xd2\xff\x14\x14\ \xd2\xff\x14\x14\xd2\xff\x14\x14\xc9\xff\x0f\x0f\x7e\xfc\x0f\x0f\ \x7e\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x7f\xb3\x12\x12\ \xac\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x22\x22\xd5\xff\x3b\x3b\ \xda\xff\x53\x53\xde\xff\x5b\x5b\xdf\xff\xa9\xa9\xe9\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x8e\x8e\xe2\xff\xf5\xf5\ \xf8\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xe9\xe9\ \xfa\xff\x6b\x6b\xe2\xff\x53\x53\xde\xff\x3b\x3b\xda\xff\x22\x22\ \xd5\xff\x15\x15\xd3\xff\x14\x14\xc9\xff\x0f\x0f\x7e\xfc\x0f\x0f\ \x7e\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x7f\xb3\x13\x13\ \xac\xff\x2c\x2c\xd7\xff\x4c\x4c\xdd\xff\x5b\x5b\xdf\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\xa9\xa9\xe9\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5c\x5c\xdf\xff\x86\x86\ \xe2\xff\xf3\xf3\xf7\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xc2\xc2\xf3\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x4c\x4c\xdd\xff\x29\x29\xcd\xff\x10\x10\x7f\xfc\x0f\x0f\ \x7e\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x29\x29\x8c\xb5\x3d\x3d\ \xb9\xff\x57\x57\xdf\xff\x5b\x5b\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\xa9\xa9\xe9\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x82\x82\xe1\xff\xf3\xf3\xf7\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xf2\xf2\xfc\xff\x60\x60\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5a\x5a\xdf\xff\x4d\x4d\xd5\xff\x2e\x2e\x8f\xfd\xcf\xcf\ \xe5\x16\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xff\xff\xff\x08\x56\x56\xa5\xba\x42\x42\ \xbc\xff\x57\x57\xdf\xff\x5b\x5b\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\xa9\xa9\xe9\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x8a\x8a\xe2\xff\xf8\xf8\xfa\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\x76\x76\xe4\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5a\x5a\xdf\xff\x4d\x4d\xd5\xff\x31\x31\x91\xfd\xf1\xf1\ \xf7\x1f\xfe\xfe\xfe\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xff\xff\xff\x09\x56\x56\xa5\xba\x42\x42\ \xbc\xff\x57\x57\xdf\xff\x5b\x5b\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\xa9\xa9\xe9\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5c\x5c\xdf\xff\xc1\xc1\xec\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\x8b\x8b\xe8\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5a\x5a\xdf\xff\x4d\x4d\xd5\xff\x31\x31\x91\xfd\xf1\xf1\ \xf7\x1f\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xff\xff\xff\x09\x56\x56\xa5\xba\x42\x42\ \xbc\xff\x57\x57\xdf\xff\x5b\x5b\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\xa9\xa9\xe9\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\xbe\xbe\xed\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\x8c\x8c\xe8\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5a\x5a\xdf\xff\x4d\x4d\xd5\xff\x30\x30\x90\xfd\xf1\xf1\ \xf7\x1f\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xff\xff\xff\x09\x56\x56\xa5\xba\x42\x42\ \xbc\xff\x57\x57\xdf\xff\x5b\x5b\xe0\xff\x67\x67\xe0\xff\x86\x86\ \xe7\xff\x87\x87\xe8\xff\x87\x87\xe8\xff\xc1\xc1\xf0\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x61\x61\xe0\xff\xe8\xe8\xf7\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\x8c\x8c\xe8\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5a\x5a\xdf\xff\x4d\x4d\xd5\xff\x30\x30\x90\xfd\xf1\xf1\ \xf7\x1f\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xff\xff\xff\x09\x56\x56\xa5\xba\x42\x42\ \xbc\xff\x57\x57\xdf\xff\x5b\x5b\xe0\xff\x88\x88\xe3\xff\xfe\xfe\ \xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x6b\x6b\xe0\xff\xcc\xcc\xf3\xff\xce\xce\xf5\xff\xce\xce\ \xf5\xff\xce\xce\xf5\xff\xce\xce\xf5\xff\xce\xce\xf5\xff\xce\xce\ \xf5\xff\xce\xce\xf5\xff\xdd\xdd\xf8\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\x88\x88\xe8\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5a\x5a\xdf\xff\x4d\x4d\xd5\xff\x30\x30\x90\xfd\xf1\xf1\ \xf7\x1f\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xfe\xfe\xfe\x09\x56\x56\xa5\xba\x42\x42\ \xbc\xff\x57\x57\xdf\xff\x5b\x5b\xdf\xff\x88\x88\xe3\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x71\x71\xe0\xff\xfb\xfb\xfb\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\x72\x72\xe3\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5a\x5a\xdf\xff\x4c\x4c\xd5\xff\x30\x30\x90\xfd\xf1\xf1\ \xf7\x1f\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xfe\xfe\xfe\x09\x56\x56\xa5\xba\x42\x42\ \xbc\xff\x57\x57\xdf\xff\x5b\x5b\xdf\xff\x88\x88\xe3\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x6f\x6f\xe0\xff\xfb\xfb\xfb\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xe4\xe4\xf9\xff\x5e\x5e\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5a\x5a\xdf\xff\x4c\x4c\xd5\xff\x2f\x2f\x90\xfd\xf1\xf1\ \xf7\x1e\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xfe\xfe\xfe\x09\x56\x56\xa5\xba\x42\x42\ \xbc\xff\x57\x57\xdf\xff\x5b\x5b\xdf\xff\x88\x88\xe3\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5b\x5b\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\ \xe0\xff\x6a\x6a\xe0\xff\xfa\xfa\xfa\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfd\xfd\ \xfe\xff\x92\x92\xe9\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x59\x59\xdf\xff\x4b\x4b\xd5\xff\x2e\x2e\x8f\xfd\xf1\xf1\ \xf7\x1e\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xfe\xfe\xfe\x09\x56\x56\xa5\xba\x42\x42\ \xbc\xff\x57\x57\xdf\xff\x5b\x5b\xdf\xff\x7b\x7b\xe1\xff\xe7\xe7\ \xf3\xff\xfc\xfc\xfc\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe0\xe0\xf9\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x6a\x6a\xe0\xff\xfa\xfa\xfa\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfc\xfc\xfd\xff\xa8\xa8\ \xec\xff\x5c\x5c\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x59\x59\xdf\xff\x4a\x4a\xd5\xff\x2e\x2e\x8f\xfd\xf1\xf1\ \xf7\x1e\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xfe\xfe\xfe\x09\x57\x57\xa5\xbb\x42\x42\ \xbc\xff\x57\x57\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x60\x60\ \xdf\xff\x83\x83\xe1\xff\xb7\xb7\xea\xff\xe6\xe6\xf3\xff\xee\xee\ \xf6\xff\xee\xee\xf6\xff\xee\xee\xf6\xff\xee\xee\xf6\xff\xee\xee\ \xf6\xff\xd3\xd3\xf2\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x69\x69\xe0\xff\xeb\xeb\xf3\xff\xee\xee\xf6\xff\xee\xee\ \xf6\xff\xee\xee\xf6\xff\xee\xee\xf6\xff\xee\xee\xf6\xff\xee\xee\ \xf6\xff\xee\xee\xf6\xff\xee\xee\xf6\xff\xee\xee\xf6\xff\xee\xee\ \xf6\xff\xee\xee\xf6\xff\xcd\xcd\xf1\xff\x80\x80\xe4\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x59\x59\xdf\xff\x4b\x4b\xd5\xff\x2e\x2e\x8f\xfd\xf1\xf1\ \xf7\x1e\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xfe\xfe\xfe\x09\x57\x57\xa5\xbb\x44\x44\ \xbd\xff\x58\x58\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5e\x5e\xdf\xff\x60\x60\ \xe0\xff\x60\x60\xe0\xff\x60\x60\xe0\xff\x60\x60\xe0\xff\x60\x60\ \xe0\xff\x5f\x5f\xe0\xff\x5b\x5b\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\ \xe0\xff\x5c\x5c\xdf\xff\x60\x60\xdf\xff\x60\x60\xdf\xff\x60\x60\ \xdf\xff\x60\x60\xdf\xff\x60\x60\xdf\xff\x60\x60\xdf\xff\x60\x60\ \xdf\xff\x60\x60\xdf\xff\x60\x60\xdf\xff\x60\x60\xdf\xff\x60\x60\ \xdf\xff\x5f\x5f\xdf\xff\x5c\x5c\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5a\x5a\xdf\xff\x4c\x4c\xd5\xff\x30\x30\x90\xfd\xf1\xf1\ \xf7\x1e\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xfe\xfe\xfe\x09\x57\x57\xa5\xbb\x43\x43\ \xbc\xff\x58\x58\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5a\x5a\xdf\xff\x4d\x4d\xd5\xff\x31\x31\x91\xfd\xf1\xf1\ \xf7\x1f\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xff\xff\xff\x09\x56\x56\xa4\xba\x41\x41\ \xbb\xff\x56\x56\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xe0\xff\x5b\x5b\ \xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\ \xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\ \xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\ \xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\ \xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5b\x5b\xdf\xff\x5a\x5a\ \xdf\xff\x5a\x5a\xdf\xff\x5a\x5a\xdf\xff\x5a\x5a\xdf\xff\x5a\x5a\ \xdf\xff\x58\x58\xdf\xff\x4b\x4b\xd5\xff\x2e\x2e\x8f\xfd\xf1\xf1\ \xf7\x1e\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xfe\xfe\xfe\x07\x53\x53\xa3\xba\x3c\x3c\ \xba\xff\x51\x51\xde\xff\x58\x58\xdf\xff\x59\x59\xdf\xff\x59\x59\ \xdf\xff\x59\x59\xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\ \xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\ \xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\ \xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\ \xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\ \xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\ \xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x58\x58\xdf\xff\x57\x57\ \xdf\xff\x55\x55\xdf\xff\x54\x54\xdf\xff\x54\x54\xde\xff\x54\x54\ \xde\xff\x51\x51\xde\xff\x44\x44\xd3\xff\x2a\x2a\x8d\xfd\xf1\xf1\ \xf7\x1c\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xfe\xfe\xfe\x06\x4f\x4f\xa1\xb9\x35\x35\ \xb8\xff\x4a\x4a\xdc\xff\x52\x52\xde\xff\x53\x53\xde\xff\x54\x54\ \xde\xff\x54\x54\xde\xff\x53\x53\xde\xff\x52\x52\xde\xff\x52\x52\ \xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x52\x52\ \xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x52\x52\ \xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x52\x52\ \xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x52\x52\ \xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x53\x53\ \xde\xff\x53\x53\xde\xff\x52\x52\xde\xff\x52\x52\xde\xff\x50\x50\ \xde\xff\x4e\x4e\xdd\xff\x4d\x4d\xdd\xff\x4b\x4b\xdd\xff\x4b\x4b\ \xdd\xff\x48\x48\xdc\xff\x3c\x3c\xd1\xff\x25\x25\x8a\xfd\xf1\xf1\ \xf7\x1a\xfe\xfe\xfe\x03\xfe\xfe\xfe\x01\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\xfe\xfe\xfe\x04\x3d\x3d\x97\xb4\x25\x25\ \x96\xff\x31\x31\xa5\xff\x36\x36\xa7\xff\x37\x37\xa7\xff\x37\x37\ \xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\ \xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\ \xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\ \xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\ \xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\ \xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\xa7\xff\x37\x37\ \xa7\xff\x37\x37\xa7\xff\x36\x36\xa7\xff\x36\x36\xa7\xff\x35\x35\ \xa6\xff\x34\x34\xa6\xff\x33\x33\xa5\xff\x31\x31\xa5\xff\x31\x31\ \xa5\xff\x2f\x2f\xa4\xff\x28\x28\x9f\xff\x1c\x1c\x85\xfc\xe1\xe1\ \xee\x14\xfe\xfe\xfe\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x7f\x35\x10\x10\ \x7f\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\ \x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x10\x10\ \x7f\x70\x10\x10\x7f\x70\x10\x10\x7f\x70\x10\x10\x7f\x70\x10\x10\ \x7f\x70\x10\x10\x7f\x70\x10\x10\x7f\x70\x10\x10\x7f\x70\x10\x10\ \x7f\x70\x10\x10\x7f\x70\x10\x10\x7f\x70\x0f\x0f\x7e\x70\x0f\x0f\ \x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\ \x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\ \x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\ \x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\ \x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x70\x0f\x0f\x7e\x59\x0f\x0f\ \x7e\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\ \xf8\x3f\xff\xff\x77\x97\xff\xff\xe0\x07\xff\xff\x77\x97\xff\xff\ \x00\x01\xff\xff\x77\x97\xff\xfc\x00\x00\x7f\xff\x77\x97\xff\xf0\ \x00\x00\x1f\xff\x77\x97\xff\xe0\x00\x00\x07\xff\x77\x97\xff\x80\ \x00\x00\x03\xff\x77\x97\xff\x00\x00\x00\x00\xff\x77\x97\xfc\x00\ \x00\x00\x00\x7f\x77\x97\xf8\x00\x00\x00\x00\x3f\x77\x97\xf0\x00\ \x00\x00\x00\x1f\x77\x97\xf0\x00\x00\x00\x00\x1f\x77\x97\xe0\x00\ \x00\x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\ \x00\x00\x00\x0f\x77\x97\xe0\x00\x00\x00\x00\x0f\x77\x97\xe0\x00\ \x00\x00\x00\x07\x77\x97\xe0\x00\x00\x00\x00\x07\x77\x97\xe0\x00\ \x00\x00\x00\x07\x77\x97\xe0\x00\x00\x00\x00\x07\x77\x97\xe0\x00\ \x00\x00\x00\x07\x77\x97\xe0\x00\x00\x00\x00\x07\x77\x97\xe0\x00\ \x00\x00\x00\x07\x77\x97\xe0\x00\x00\x00\x00\x07\x77\x97\xe0\x00\ \x00\x00\x00\x07\x77\x97\xe0\x00\x00\x00\x00\x07\x77\x97\xe0\x00\ \x00\x00\x00\x07\x77\x97\xe0\x00\x00\x00\x00\x07\x77\x97\xe0\x00\ \x00\x00\x00\x07\x77\x97\xe0\x00\x00\x00\x00\x07\x77\x97\xe0\x00\ \x00\x00\x00\x07\x77\x97\xc0\x00\x00\x00\x00\x03\x77\x97\xc0\x00\ \x00\x00\x00\x01\x77\x97\xc0\x00\x00\x00\x00\x01\x77\x97\xc0\x00\ \x00\x00\x00\x01\x77\x97\xc0\x00\x00\x00\x00\x01\x77\x97\xc0\x00\ \x00\x00\x00\x01\x77\x97\xc0\x00\x00\x00\x00\x01\x77\x97\xc0\x00\ \x00\x00\x00\x01\x77\x97\xc0\x00\x00\x00\x00\x01\x77\x97\xc0\x00\ \x00\x00\x00\x01\x77\x97\xc0\x00\x00\x00\x00\x01\x77\x97\xc0\x00\ \x00\x00\x00\x01\x77\x97\xc0\x00\x00\x00\x00\x01\x77\x97\xc0\x00\ \x00\x00\x00\x01\x77\x97\xc0\x00\x00\x00\x00\x01\x77\x97\xc0\x00\ \x00\x00\x00\x03\x77\x97\xe0\x00\x00\x00\x00\x07\x77\x97\x28\x00\ \x00\x00\x20\x00\x00\x00\x40\x00\x00\x00\x01\x00\x20\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x7f\x04\x10\x10\ \x7f\x42\x10\x10\x7f\x8e\x10\x10\x7f\x70\x10\x10\x7f\x1e\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x10\x10\x7f\x26\x10\x10\x7f\x8b\x10\x10\x8a\xe8\x12\x12\ \xa6\xff\x13\x13\xbf\xff\x13\x13\xb5\xff\x11\x11\x99\xfe\x10\x10\ \x81\xc1\x10\x10\x7f\x5f\x10\x10\x7f\x08\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x7f\x35\x10\x10\ \x7f\xb0\x11\x11\x99\xfe\x13\x13\xbc\xff\x14\x14\xd2\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x14\x14\ \xcc\xff\x12\x12\xad\xff\x10\x10\x8a\xea\x10\x10\x7f\x79\x10\x10\ \x7f\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x10\x10\x7f\x1e\x10\x10\x7f\xa8\x11\x11\x9c\xfe\x14\x14\ \xc6\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x14\x14\xd1\xff\x13\x13\xb3\xff\x10\x10\ \x8a\xea\x10\x10\x7f\x66\x10\x10\x7f\x02\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x7f\x02\x10\x10\ \x7f\x6e\x11\x11\x8f\xf4\x13\x13\xc0\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x14\x14\ \xd0\xff\x12\x12\xaa\xff\x10\x10\x82\xc8\x10\x10\x7f\x29\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x10\x10\x7f\x13\x10\x10\x80\xb8\x12\x12\ \xa9\xff\x14\x14\xd1\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x14\x14\xc6\xff\x11\x11\x90\xf6\x10\x10\ \x7f\x61\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x10\x10\x7f\x1d\x10\x10\x85\xd9\x13\x13\xbc\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x14\x14\xd0\xff\x11\x11\ \x9f\xff\x10\x10\x7f\x83\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x10\x10\x82\xc4\x14\x14\xc2\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x14\x14\ \xd2\xff\x11\x11\x9f\xff\x10\x10\x7f\x52\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x7f\x3e\x12\x12\xa3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x14\x14\xcd\xff\x10\x10\x83\xcb\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x7f\x86\x13\x13\xbd\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x3d\x3d\xd8\xff\x91\x91\xea\xff\x91\x91\xea\xff\x91\x91\ \xea\xff\x81\x81\xe7\xff\x15\x15\xd3\xff\x21\x21\xd4\xff\x89\x89\ \xe8\xff\x8a\x8a\xe9\xff\x8a\x8a\xe9\xff\x8a\x8a\xe9\xff\x8a\x8a\ \xe9\xff\x8a\x8a\xe9\xff\x8a\x8a\xe9\xff\x8a\x8a\xe9\xff\x8a\x8a\ \xe9\xff\x8a\x8a\xe9\xff\x8a\x8a\xe9\xff\x35\x35\xd9\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x11\x11\x98\xfe\x10\x10\x7f\x13\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x7f\xaf\x14\x14\xcb\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x60\x60\xdd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe1\xe1\xf9\xff\x15\x15\xd3\xff\x2e\x2e\xd5\xff\xfd\xfd\ \xfd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x56\x56\xdf\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x12\x12\xa5\xff\x10\x10\x7f\x3b\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x7f\xc2\x14\x14\xd2\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x60\x60\xdd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe1\xe1\xf9\xff\x15\x15\xd3\xff\x2e\x2e\xd5\xff\xfd\xfd\ \xfd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x56\x56\xdf\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x12\x12\xad\xff\x10\x10\x7f\x53\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x82\xd0\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x60\x60\xdd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe1\xe1\xf9\xff\x15\x15\xd3\xff\x2e\x2e\xd5\xff\xfd\xfd\ \xfd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\ \xfe\xff\xfe\xfe\xfe\xff\xfe\xfe\xfe\xff\x56\x56\xde\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x12\x12\xb0\xff\x10\x10\x7f\x5d\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x84\xd5\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x60\x60\xdd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe1\xe1\xf9\xff\x15\x15\xd3\xff\x2e\x2e\xd5\xff\xfd\xfd\ \xfd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xe9\xe9\ \xfa\xff\x4a\x4a\xd9\xff\x3c\x3c\xd7\xff\x3c\x3c\xd7\xff\x3c\x3c\ \xd7\xff\x3c\x3c\xd7\xff\x3c\x3c\xd7\xff\x20\x20\xd4\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x13\x13\xb1\xff\x10\x10\x7f\x5f\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x84\xd5\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x60\x60\xdd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe1\xe1\xf9\xff\x15\x15\xd3\xff\x1d\x1d\xd3\xff\xeb\xeb\ \xf6\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xd1\xd1\xf6\xff\x28\x28\xd6\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x13\x13\xb1\xff\x10\x10\x7f\x5f\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x83\xd4\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x60\x60\xdd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe1\xe1\xf9\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x56\x56\ \xda\xff\xf5\xf5\xfa\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xdc\xdc\xf8\xff\x33\x33\xd8\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x13\x13\xb1\xff\x10\x10\x7f\x5e\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x83\xd2\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x60\x60\xdd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe1\xe1\xf9\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x44\x44\xd8\xff\xe8\xe8\xf6\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xe8\xe8\xfa\xff\x40\x40\ \xdb\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x13\x13\xb1\xff\x10\x10\x7f\x5e\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x82\xd0\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x60\x60\xdd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xe5\xe5\xfa\xff\x3a\x3a\xd9\xff\x40\x40\xdb\xff\x44\x44\ \xdb\xff\x46\x46\xdc\xff\x6a\x6a\xdf\xff\xeb\xeb\xf7\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xf0\xf0\ \xfc\xff\x4b\x4b\xdd\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x13\x13\xb0\xff\x10\x10\x7f\x5d\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x82\xcd\x15\x15\xd3\xff\x15\x15\xd3\xff\x17\x17\xd3\xff\x2b\x2b\ \xd7\xff\x7a\x7a\xe2\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xea\xea\xfb\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x73\x73\xe1\xff\xea\xea\ \xf6\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xf4\xf4\xfd\xff\x66\x66\xe2\xff\x2b\x2b\xd7\xff\x17\x17\ \xd3\xff\x15\x15\xd3\xff\x13\x13\xb0\xff\x10\x10\x7f\x5d\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\ \x81\xcc\x1f\x1f\xd5\xff\x3f\x3f\xda\xff\x57\x57\xdf\xff\x5c\x5c\ \xe0\xff\x8f\x8f\xe6\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xea\xea\xfb\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x6f\x6f\ \xe1\xff\xe6\xe6\xf5\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xf1\xf1\xfc\xff\x67\x67\xe2\xff\x57\x57\ \xdf\xff\x3f\x3f\xda\xff\x1c\x1c\xb2\xff\x10\x10\x7f\x5d\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x02\x38\x38\ \x96\xcf\x53\x53\xde\xff\x5b\x5b\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x8f\x8f\xe6\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xea\xea\xfb\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x6d\x6d\xe0\xff\xe6\xe6\xf5\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x92\x92\xea\xff\x5c\x5c\ \xe0\xff\x5a\x5a\xdf\xff\x46\x46\xbf\xff\x97\x97\xc7\x64\xff\xff\ \xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x06\x4d\x4d\ \xa1\xd1\x53\x53\xde\xff\x5b\x5b\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x8f\x8f\xe6\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xea\xea\xfb\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x79\x79\xe1\xff\xfd\xfd\xfd\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xae\xae\xef\xff\x5c\x5c\ \xe0\xff\x5a\x5a\xdf\xff\x46\x46\xbf\xff\xaf\xaf\xd4\x68\xff\xff\ \xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x06\x4d\x4d\ \xa1\xd1\x53\x53\xde\xff\x5b\x5b\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x8f\x8f\xe6\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xea\xea\xfb\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5c\x5c\xe0\xff\x6e\x6e\xe1\xff\xfd\xfd\xfd\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xb2\xb2\xf0\xff\x5c\x5c\ \xe0\xff\x5a\x5a\xdf\xff\x46\x46\xbf\xff\xaf\xaf\xd4\x68\xff\xff\ \xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x06\x4d\x4d\ \xa1\xd1\x53\x53\xde\xff\x5b\x5b\xe0\xff\xd0\xd0\xf2\xff\xe5\xe5\ \xfa\xff\xed\xed\xfb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xea\xea\xfb\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x7b\x7b\ \xe4\xff\xa8\xa8\xee\xff\xa8\xa8\xee\xff\xa8\xa8\xee\xff\xa8\xa8\ \xee\xff\xa8\xa8\xee\xff\xcc\xcc\xf4\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xb0\xb0\xef\xff\x5c\x5c\ \xe0\xff\x5a\x5a\xdf\xff\x45\x45\xbf\xff\xaf\xaf\xd4\x68\xff\xff\ \xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x06\x4d\x4d\ \xa1\xd1\x53\x53\xde\xff\x5b\x5b\xe0\xff\xe6\xe6\xf6\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xea\xea\xfb\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x9e\x9e\ \xe8\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x9a\x9a\xeb\xff\x5c\x5c\ \xe0\xff\x5a\x5a\xdf\xff\x45\x45\xbf\xff\xaf\xaf\xd4\x68\xff\xff\ \xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x06\x4d\x4d\ \xa1\xd1\x53\x53\xde\xff\x5b\x5b\xe0\xff\xe6\xe6\xf6\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xea\xea\xfb\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x9a\x9a\ \xe7\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xf1\xf1\xfb\xff\x66\x66\xe1\xff\x5c\x5c\ \xe0\xff\x5a\x5a\xdf\xff\x44\x44\xbf\xff\xae\xae\xd4\x68\xff\xff\ \xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x06\x4d\x4d\ \xa1\xd1\x53\x53\xde\xff\x5b\x5b\xe0\xff\xa9\xa9\xe9\xff\xe9\xe9\ \xf6\xff\xfe\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xea\xea\xfb\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x99\x99\ \xe7\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xfe\ \xfe\xff\xe9\xe9\xf9\xff\x7e\x7e\xe5\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5a\x5a\xdf\xff\x43\x43\xbe\xff\xae\xae\xd4\x67\xff\xff\ \xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x06\x4e\x4e\ \xa2\xd2\x54\x54\xdf\xff\x5b\x5b\xe0\xff\x5c\x5c\xe0\xff\x5d\x5d\ \xdf\xff\x7c\x7c\xe2\xff\x8a\x8a\xe4\xff\x8a\x8a\xe4\xff\x8a\x8a\ \xe4\xff\x84\x84\xe4\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x6d\x6d\ \xe1\xff\x8a\x8a\xe4\xff\x8a\x8a\xe4\xff\x8a\x8a\xe4\xff\x8a\x8a\ \xe4\xff\x8a\x8a\xe4\xff\x8a\x8a\xe4\xff\x8a\x8a\xe4\xff\x85\x85\ \xe4\xff\x60\x60\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x5a\x5a\xdf\xff\x44\x44\xbf\xff\xaf\xaf\xd4\x68\xff\xff\ \xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x06\x4d\x4d\ \xa2\xd1\x54\x54\xde\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\ \xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\ \xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\ \xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\ \xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\ \xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\xe0\xff\x5b\x5b\ \xe0\xff\x5a\x5a\xdf\xff\x45\x45\xbf\xff\xaf\xaf\xd4\x68\xff\xff\ \xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x05\x49\x49\ \xa0\xd1\x4e\x4e\xdd\xff\x59\x59\xdf\xff\x59\x59\xdf\xff\x5a\x5a\ \xdf\xff\x59\x59\xdf\xff\x59\x59\xdf\xff\x59\x59\xdf\xff\x59\x59\ \xdf\xff\x59\x59\xdf\xff\x59\x59\xdf\xff\x59\x59\xdf\xff\x59\x59\ \xdf\xff\x59\x59\xdf\xff\x59\x59\xdf\xff\x59\x59\xdf\xff\x59\x59\ \xdf\xff\x59\x59\xdf\xff\x59\x59\xdf\xff\x59\x59\xdf\xff\x59\x59\ \xdf\xff\x59\x59\xdf\xff\x58\x58\xdf\xff\x56\x56\xdf\xff\x55\x55\ \xdf\xff\x54\x54\xde\xff\x3f\x3f\xbd\xff\xad\xad\xd3\x66\xff\xff\ \xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x04\x43\x43\ \x9c\xd0\x42\x42\xd3\xff\x4f\x4f\xd6\xff\x50\x50\xd6\xff\x50\x50\ \xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\ \xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\ \xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\ \xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\xd6\xff\x4f\x4f\ \xd6\xff\x4e\x4e\xd5\xff\x4c\x4c\xd5\xff\x4a\x4a\xd4\xff\x48\x48\ \xd4\xff\x46\x46\xd3\xff\x33\x33\xb4\xff\xab\xab\xd2\x64\xff\xff\ \xff\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1c\x1c\ \x85\x74\x18\x18\x83\x9f\x1a\x1a\x84\x9f\x1b\x1b\x85\x9f\x1b\x1b\ \x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\ \x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\ \x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\ \x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\x85\x9f\x1b\x1b\x85\x9f\x1a\x1a\ \x84\x9f\x1a\x1a\x84\x9f\x1a\x1a\x84\x9f\x19\x19\x84\x9f\x19\x19\ \x84\x9f\x19\x19\x83\x9f\x15\x15\x82\x9f\x51\x51\xa2\x2f\x00\x00\ \x00\x00\x00\x00\x00\x00\xff\xf8\x3f\xff\xff\xe0\x07\xff\xff\x80\ \x01\xff\xfe\x00\x00\x7f\xf8\x00\x00\x3f\xf0\x00\x00\x1f\xe0\x00\ \x00\x0f\xe0\x00\x00\x07\xc0\x00\x00\x07\xc0\x00\x00\x03\xc0\x00\ \x00\x03\xc0\x00\x00\x03\xc0\x00\x00\x03\xc0\x00\x00\x03\xc0\x00\ \x00\x03\xc0\x00\x00\x03\xc0\x00\x00\x03\xc0\x00\x00\x03\xc0\x00\ \x00\x03\xc0\x00\x00\x03\x80\x00\x00\x01\x80\x00\x00\x01\x80\x00\ \x00\x01\x80\x00\x00\x01\x80\x00\x00\x01\x80\x00\x00\x01\x80\x00\ \x00\x01\x80\x00\x00\x01\x80\x00\x00\x01\x80\x00\x00\x01\x80\x00\ \x00\x01\xc0\x00\x00\x03\x28\x00\x00\x00\x10\x00\x00\x00\x20\x00\ \x00\x00\x01\x00\x20\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x10\x10\x7f\x09\x10\x10\x85\x5e\x12\x12\xa2\xb4\x11\x11\ \x9d\xa3\x10\x10\x80\x48\x10\x10\x7f\x02\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x7f\x07\x10\x10\ \x8d\x77\x12\x12\xaf\xeb\x14\x14\xcd\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x14\x14\xc8\xff\x12\x12\xa9\xd8\x10\x10\x86\x57\x10\x10\ \x7f\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x10\x10\x80\x33\x12\x12\xa7\xd8\x14\x14\ \xce\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x14\x14\xc8\xff\x11\x11\ \x9d\xba\x10\x10\x7f\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x10\x10\x81\x38\x13\x13\xb7\xf6\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x15\x15\xd3\xff\x14\x14\ \xd2\xff\x12\x12\xa8\xe0\x10\x10\x7f\x14\x00\x00\x00\x00\x00\x00\ \x00\x00\x12\x12\xa1\xb0\x15\x15\xd3\xff\x1f\x1f\xd4\xff\x53\x53\ \xde\xff\x4f\x4f\xdd\xff\x18\x18\xd3\xff\x4f\x4f\xdd\xff\x4f\x4f\ \xde\xff\x4f\x4f\xde\xff\x4f\x4f\xde\xff\x4f\x4f\xde\xff\x3a\x3a\ \xda\xff\x14\x14\xd1\xff\x10\x10\x8d\x77\x00\x00\x00\x00\x00\x00\ \x00\x00\x12\x12\xac\xdc\x15\x15\xd3\xff\x3a\x3a\xd8\xff\xff\xff\ \xff\xff\xf0\xf0\xfc\xff\x21\x21\xd4\xff\xfe\xfe\xfe\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xaa\xaa\ \xef\xff\x15\x15\xd3\xff\x11\x11\x9f\xa3\x00\x00\x00\x00\x00\x00\ \x00\x00\x12\x12\xad\xe9\x15\x15\xd3\xff\x3a\x3a\xd8\xff\xff\xff\ \xff\xff\xf0\xf0\xfc\xff\x21\x21\xd4\xff\xfe\xfe\xfe\xff\xff\xff\ \xff\xff\xcc\xcc\xf4\xff\x9d\x9d\xea\xff\x9d\x9d\xea\xff\x6c\x6c\ \xe2\xff\x15\x15\xd3\xff\x12\x12\xa3\xae\x00\x00\x00\x00\x00\x00\ \x00\x00\x12\x12\xae\xea\x15\x15\xd3\xff\x3a\x3a\xd8\xff\xff\xff\ \xff\xff\xf0\xf0\xfc\xff\x17\x17\xd3\xff\xcd\xcd\xf2\xff\xff\xff\ \xff\xff\xf3\xf3\xfc\xff\x53\x53\xde\xff\x15\x15\xd3\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x12\x12\xa3\xaf\x00\x00\x00\x00\x00\x00\ \x00\x00\x12\x12\xad\xe8\x15\x15\xd3\xff\x3a\x3a\xd8\xff\xff\xff\ \xff\xff\xf1\xf1\xfc\xff\x29\x29\xd6\xff\x39\x39\xd8\xff\xcf\xcf\ \xf3\xff\xff\xff\xff\xff\xf9\xf9\xfd\xff\x64\x64\xe1\xff\x15\x15\ \xd3\xff\x15\x15\xd3\xff\x12\x12\xa3\xae\x00\x00\x00\x00\x00\x00\ \x00\x00\x15\x15\xad\xe6\x30\x30\xd8\xff\x64\x64\xdf\xff\xff\xff\ \xff\xff\xf4\xf4\xfd\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x61\x61\ \xe0\xff\xcf\xcf\xf3\xff\xff\xff\xff\xff\xfc\xfc\xfe\xff\x7a\x7a\ \xe5\xff\x30\x30\xd8\xff\x15\x15\xa3\xae\x00\x00\x00\x00\xff\xff\ \xff\x02\x4b\x4b\xbe\xe8\x5b\x5b\xe0\xff\x75\x75\xe3\xff\xff\xff\ \xff\xff\xf4\xf4\xfd\xff\x5c\x5c\xe0\xff\x5c\x5c\xe0\xff\x5c\x5c\ \xe0\xff\x60\x60\xe0\xff\xd7\xd7\xf4\xff\xff\xff\xff\xff\xcf\xcf\ \xf5\xff\x5b\x5b\xdf\xff\x72\x72\xc7\xb2\xff\xff\xff\x01\xff\xff\ \xff\x03\x50\x50\xc0\xe8\x79\x79\xe4\xff\xaf\xaf\xee\xff\xff\xff\ \xff\xff\xf4\xf4\xfd\xff\x5c\x5c\xe0\xff\x76\x76\xe4\xff\x82\x82\ \xe7\xff\x82\x82\xe7\xff\xcd\xcd\xf4\xff\xff\xff\xff\xff\xd8\xd8\ \xf7\xff\x5b\x5b\xdf\xff\x7a\x7a\xca\xb3\xff\xff\xff\x01\xff\xff\ \xff\x03\x50\x50\xc0\xe8\xa1\xa1\xeb\xff\xff\xff\xff\xff\xff\xff\ \xff\xff\xf4\xf4\xfd\xff\x5c\x5c\xe0\xff\xcd\xcd\xf3\xff\xff\xff\ \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xbc\xbc\ \xf2\xff\x5b\x5b\xdf\xff\x79\x79\xc9\xb3\xff\xff\xff\x01\xff\xff\ \xff\x03\x50\x50\xc0\xe8\x6f\x6f\xe2\xff\xb0\xb0\xed\xff\xc4\xc4\ \xf1\xff\xbe\xbe\xf0\xff\x5c\x5c\xe0\xff\xa4\xa4\xeb\xff\xc4\xc4\ \xf1\xff\xc4\xc4\xf1\xff\xc4\xc4\xf1\xff\xb3\xb3\xef\xff\x64\x64\ \xe1\xff\x5b\x5b\xdf\xff\x79\x79\xc9\xb3\xff\xff\xff\x01\xff\xff\ \xff\x03\x4e\x4e\xbf\xe8\x5a\x5a\xdf\xff\x5a\x5a\xdf\xff\x5a\x5a\ \xdf\xff\x5a\x5a\xdf\xff\x5a\x5a\xdf\xff\x5a\x5a\xdf\xff\x5a\x5a\ \xdf\xff\x5a\x5a\xdf\xff\x5a\x5a\xdf\xff\x5a\x5a\xdf\xff\x59\x59\ \xdf\xff\x58\x58\xdf\xff\x78\x78\xc9\xb3\xff\xff\xff\x01\xff\xff\ \xff\x01\x34\x34\xa5\xb9\x3b\x3b\xb6\xcf\x3b\x3b\xb6\xcf\x3b\x3b\ \xb6\xcf\x3b\x3b\xb6\xcf\x3b\x3b\xb6\xcf\x3b\x3b\xb6\xcf\x3b\x3b\ \xb6\xcf\x3b\x3b\xb6\xcf\x3b\x3b\xb6\xcf\x3b\x3b\xb6\xcf\x38\x38\ \xb6\xcf\x35\x35\xb5\xcf\x59\x59\xb2\x8c\xff\xff\xff\x01\xf8\x1f\ \xac\x41\xe0\x07\xac\x41\xc0\x03\xac\x41\x80\x01\xac\x41\x80\x01\ \xac\x41\x80\x01\xac\x41\x80\x01\xac\x41\x80\x01\xac\x41\x80\x01\ \xac\x41\x80\x01\xac\x41\x00\x00\xac\x41\x00\x00\xac\x41\x00\x00\ \xac\x41\x00\x00\xac\x41\x00\x00\xac\x41\x00\x00\xac\x41\ " qt_resource_name = "\ \x00\x03\ \x00\x00\x70\x37\ \x00\x69\ \x00\x6d\x00\x67\ \x00\x0a\ \x08\x6b\xc8\xc7\ \x00\x66\ \x00\x69\x00\x66\x00\x61\x00\x70\x00\x63\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x16\ \x0e\x97\xd2\x47\ \x00\x78\ \x00\x62\x00\x6f\x00\x78\x00\x2d\x00\x63\x00\x6f\x00\x6e\x00\x74\x00\x72\x00\x6f\x00\x6c\x00\x6c\x00\x65\x00\x72\x00\x2d\x00\x6d\ \x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x0a\ \x08\x6b\xd0\x1f\ \x00\x66\ \x00\x69\x00\x66\x00\x61\x00\x70\x00\x63\x00\x2e\x00\x69\x00\x63\x00\x6f\ " qt_resource_struct = "\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x03\ \x00\x00\x00\x0c\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ \x00\x00\x00\x58\x00\x00\x00\x00\x00\x01\x00\x00\x75\x37\ \x00\x00\x00\x26\x00\x00\x00\x00\x00\x01\x00\x00\x07\x55\ " def qInitResources(): QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) def qCleanupResources(): QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) qInitResources()
Python
# -*- coding: utf-8 -*- ''' @author: lowzoom ''' from __future__ import division, print_function, unicode_literals from _boot_dialog import Ui_Dialog from boot import rna_handler, movie_handler, hosts_handler import PyQt4.QtCore as qtc import PyQt4.QtGui as qt class BootDialog(qt.QDialog): ''' 启动选项对话诓 ''' def __init__(self, parent): qt.QWidget.__init__(self, parent) self.ui = Ui_Dialog() self.ui.setupUi(self) self.connect(self.ui.buttonBox, qtc.SIGNAL('accepted()'), self.take_effect) def exec_(self): rna_handler.load() self.ui.windowed_cbox.setChecked(rna_handler.is_windowed()) self.ui.skip_lang_cbox.setChecked(rna_handler.is_skip_language_select()) self.ui.skip_movie_cbox.setChecked(movie_handler.is_skip()) self.ui.skip_connect_cbox.setChecked(hosts_handler.is_skip_connect()) return super(BootDialog, self).exec_() def take_effect(self): rna_handler.set_windowed(self.ui.windowed_cbox.isChecked()) rna_handler.set_skip_language_select(self.ui.skip_lang_cbox.isChecked()) movie_handler.set_skip(self.ui.skip_movie_cbox.isChecked()) hosts_handler.set_skip_connect(self.ui.skip_connect_cbox.isChecked()) rna_handler.save() qt.QMessageBox.information(self, '提示', '设置成功!')
Python
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui/_main_window.ui' # # Created: Tue Nov 01 23:15:34 2011 # by: PyQt4 UI code generator 4.8.5 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: _fromUtf8 = lambda s: s class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.resize(607, 376) MainWindow.setMinimumSize(QtCore.QSize(600, 376)) MainWindow.setMaximumSize(QtCore.QSize(16777215, 376)) MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "FIFA 12 键位设置", None, QtGui.QApplication.UnicodeUTF8)) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/img/img/fifapc.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) MainWindow.setWindowIcon(icon) self.centralwidget = QtGui.QWidget(MainWindow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth()) self.centralwidget.setSizePolicy(sizePolicy) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.gridLayout_3 = QtGui.QGridLayout(self.centralwidget) self.gridLayout_3.setContentsMargins(12, 9, 12, -1) self.gridLayout_3.setHorizontalSpacing(10) self.gridLayout_3.setVerticalSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setHorizontalSpacing(5) self.gridLayout.setVerticalSpacing(6) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lt_edit = QtGui.QLineEdit(self.centralwidget) self.lt_edit.setAlignment(QtCore.Qt.AlignCenter) self.lt_edit.setReadOnly(False) self.lt_edit.setObjectName(_fromUtf8("lt_edit")) self.gridLayout.addWidget(self.lt_edit, 0, 1, 1, 1) self.lb_edit = QtGui.QLineEdit(self.centralwidget) self.lb_edit.setAlignment(QtCore.Qt.AlignCenter) self.lb_edit.setObjectName(_fromUtf8("lb_edit")) self.gridLayout.addWidget(self.lb_edit, 1, 1, 1, 1) self.ls_up_edit = QtGui.QLineEdit(self.centralwidget) self.ls_up_edit.setAlignment(QtCore.Qt.AlignCenter) self.ls_up_edit.setObjectName(_fromUtf8("ls_up_edit")) self.gridLayout.addWidget(self.ls_up_edit, 3, 1, 1, 1) self.ls_left_edit = QtGui.QLineEdit(self.centralwidget) self.ls_left_edit.setAlignment(QtCore.Qt.AlignCenter) self.ls_left_edit.setObjectName(_fromUtf8("ls_left_edit")) self.gridLayout.addWidget(self.ls_left_edit, 4, 1, 1, 1) self.ls_down_edit = QtGui.QLineEdit(self.centralwidget) self.ls_down_edit.setAlignment(QtCore.Qt.AlignCenter) self.ls_down_edit.setObjectName(_fromUtf8("ls_down_edit")) self.gridLayout.addWidget(self.ls_down_edit, 5, 1, 1, 1) self.ls_right_edit = QtGui.QLineEdit(self.centralwidget) self.ls_right_edit.setAlignment(QtCore.Qt.AlignCenter) self.ls_right_edit.setObjectName(_fromUtf8("ls_right_edit")) self.gridLayout.addWidget(self.ls_right_edit, 6, 1, 1, 1) self.ldpad_up_edit = QtGui.QLineEdit(self.centralwidget) self.ldpad_up_edit.setAlignment(QtCore.Qt.AlignCenter) self.ldpad_up_edit.setObjectName(_fromUtf8("ldpad_up_edit")) self.gridLayout.addWidget(self.ldpad_up_edit, 7, 1, 1, 1) self.ldpad_left_edit = QtGui.QLineEdit(self.centralwidget) self.ldpad_left_edit.setAlignment(QtCore.Qt.AlignCenter) self.ldpad_left_edit.setObjectName(_fromUtf8("ldpad_left_edit")) self.gridLayout.addWidget(self.ldpad_left_edit, 8, 1, 1, 1) self.ldpad_down_edit = QtGui.QLineEdit(self.centralwidget) self.ldpad_down_edit.setAlignment(QtCore.Qt.AlignCenter) self.ldpad_down_edit.setObjectName(_fromUtf8("ldpad_down_edit")) self.gridLayout.addWidget(self.ldpad_down_edit, 9, 1, 1, 1) self.ldpad_right_edit = QtGui.QLineEdit(self.centralwidget) self.ldpad_right_edit.setAlignment(QtCore.Qt.AlignCenter) self.ldpad_right_edit.setObjectName(_fromUtf8("ldpad_right_edit")) self.gridLayout.addWidget(self.ldpad_right_edit, 10, 1, 1, 1) self.label = QtGui.QLabel(self.centralwidget) self.label.setText(QtGui.QApplication.translate("MainWindow", "LT", None, QtGui.QApplication.UnicodeUTF8)) self.label.setTextFormat(QtCore.Qt.AutoText) self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 0, 0, 1, 1) self.label_2 = QtGui.QLabel(self.centralwidget) self.label_2.setText(QtGui.QApplication.translate("MainWindow", "LB", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.label_3 = QtGui.QLabel(self.centralwidget) self.label_3.setText(QtGui.QApplication.translate("MainWindow", "LS-上", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1) self.label_4 = QtGui.QLabel(self.centralwidget) self.label_4.setText(QtGui.QApplication.translate("MainWindow", "LS-左", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1) self.label_5 = QtGui.QLabel(self.centralwidget) self.label_5.setText(QtGui.QApplication.translate("MainWindow", "LS-下", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_5.setObjectName(_fromUtf8("label_5")) self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1) self.label_6 = QtGui.QLabel(self.centralwidget) self.label_6.setText(QtGui.QApplication.translate("MainWindow", "LS-右", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_6.setObjectName(_fromUtf8("label_6")) self.gridLayout.addWidget(self.label_6, 6, 0, 1, 1) self.label_18 = QtGui.QLabel(self.centralwidget) self.label_18.setText(QtGui.QApplication.translate("MainWindow", "BACK", None, QtGui.QApplication.UnicodeUTF8)) self.label_18.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_18.setObjectName(_fromUtf8("label_18")) self.gridLayout.addWidget(self.label_18, 2, 0, 1, 1) self.back_edit = QtGui.QLineEdit(self.centralwidget) self.back_edit.setAlignment(QtCore.Qt.AlignCenter) self.back_edit.setObjectName(_fromUtf8("back_edit")) self.gridLayout.addWidget(self.back_edit, 2, 1, 1, 1) self.label_19 = QtGui.QLabel(self.centralwidget) self.label_19.setText(QtGui.QApplication.translate("MainWindow", "D-上", None, QtGui.QApplication.UnicodeUTF8)) self.label_19.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_19.setObjectName(_fromUtf8("label_19")) self.gridLayout.addWidget(self.label_19, 7, 0, 1, 1) self.label_20 = QtGui.QLabel(self.centralwidget) self.label_20.setText(QtGui.QApplication.translate("MainWindow", "D-左", None, QtGui.QApplication.UnicodeUTF8)) self.label_20.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_20.setObjectName(_fromUtf8("label_20")) self.gridLayout.addWidget(self.label_20, 8, 0, 1, 1) self.label_21 = QtGui.QLabel(self.centralwidget) self.label_21.setText(QtGui.QApplication.translate("MainWindow", "D-下", None, QtGui.QApplication.UnicodeUTF8)) self.label_21.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_21.setObjectName(_fromUtf8("label_21")) self.gridLayout.addWidget(self.label_21, 9, 0, 1, 1) self.label_22 = QtGui.QLabel(self.centralwidget) self.label_22.setText(QtGui.QApplication.translate("MainWindow", "D-右", None, QtGui.QApplication.UnicodeUTF8)) self.label_22.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_22.setObjectName(_fromUtf8("label_22")) self.gridLayout.addWidget(self.label_22, 10, 0, 1, 1) self.l3_edit = QtGui.QLineEdit(self.centralwidget) self.l3_edit.setAlignment(QtCore.Qt.AlignCenter) self.l3_edit.setObjectName(_fromUtf8("l3_edit")) self.gridLayout.addWidget(self.l3_edit, 11, 1, 1, 1) self.label_23 = QtGui.QLabel(self.centralwidget) self.label_23.setText(QtGui.QApplication.translate("MainWindow", "L3", None, QtGui.QApplication.UnicodeUTF8)) self.label_23.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_23.setObjectName(_fromUtf8("label_23")) self.gridLayout.addWidget(self.label_23, 11, 0, 1, 1) self.gridLayout_3.addLayout(self.gridLayout, 0, 0, 4, 1) self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setHorizontalSpacing(5) self.gridLayout_2.setVerticalSpacing(6) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.rt_edit = QtGui.QLineEdit(self.centralwidget) self.rt_edit.setAlignment(QtCore.Qt.AlignCenter) self.rt_edit.setObjectName(_fromUtf8("rt_edit")) self.gridLayout_2.addWidget(self.rt_edit, 0, 0, 1, 1) self.rb_edit = QtGui.QLineEdit(self.centralwidget) self.rb_edit.setAlignment(QtCore.Qt.AlignCenter) self.rb_edit.setObjectName(_fromUtf8("rb_edit")) self.gridLayout_2.addWidget(self.rb_edit, 1, 0, 1, 1) self.y_edit = QtGui.QLineEdit(self.centralwidget) self.y_edit.setAlignment(QtCore.Qt.AlignCenter) self.y_edit.setObjectName(_fromUtf8("y_edit")) self.gridLayout_2.addWidget(self.y_edit, 3, 0, 1, 1) self.b_edit = QtGui.QLineEdit(self.centralwidget) self.b_edit.setAlignment(QtCore.Qt.AlignCenter) self.b_edit.setObjectName(_fromUtf8("b_edit")) self.gridLayout_2.addWidget(self.b_edit, 4, 0, 1, 1) self.a_edit = QtGui.QLineEdit(self.centralwidget) self.a_edit.setAlignment(QtCore.Qt.AlignCenter) self.a_edit.setObjectName(_fromUtf8("a_edit")) self.gridLayout_2.addWidget(self.a_edit, 5, 0, 1, 1) self.x_edit = QtGui.QLineEdit(self.centralwidget) self.x_edit.setAlignment(QtCore.Qt.AlignCenter) self.x_edit.setObjectName(_fromUtf8("x_edit")) self.gridLayout_2.addWidget(self.x_edit, 6, 0, 1, 1) self.rs_up_edit = QtGui.QLineEdit(self.centralwidget) self.rs_up_edit.setAlignment(QtCore.Qt.AlignCenter) self.rs_up_edit.setObjectName(_fromUtf8("rs_up_edit")) self.gridLayout_2.addWidget(self.rs_up_edit, 7, 0, 1, 1) self.rs_right_edit = QtGui.QLineEdit(self.centralwidget) self.rs_right_edit.setAlignment(QtCore.Qt.AlignCenter) self.rs_right_edit.setObjectName(_fromUtf8("rs_right_edit")) self.gridLayout_2.addWidget(self.rs_right_edit, 8, 0, 1, 1) self.rs_down_edit = QtGui.QLineEdit(self.centralwidget) self.rs_down_edit.setAlignment(QtCore.Qt.AlignCenter) self.rs_down_edit.setObjectName(_fromUtf8("rs_down_edit")) self.gridLayout_2.addWidget(self.rs_down_edit, 9, 0, 1, 1) self.rs_left_edit = QtGui.QLineEdit(self.centralwidget) self.rs_left_edit.setAlignment(QtCore.Qt.AlignCenter) self.rs_left_edit.setObjectName(_fromUtf8("rs_left_edit")) self.gridLayout_2.addWidget(self.rs_left_edit, 10, 0, 1, 1) self.label_7 = QtGui.QLabel(self.centralwidget) self.label_7.setText(QtGui.QApplication.translate("MainWindow", "RT", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setObjectName(_fromUtf8("label_7")) self.gridLayout_2.addWidget(self.label_7, 0, 1, 1, 1) self.label_8 = QtGui.QLabel(self.centralwidget) self.label_8.setText(QtGui.QApplication.translate("MainWindow", "RB", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout_2.addWidget(self.label_8, 1, 1, 1, 1) self.label_9 = QtGui.QLabel(self.centralwidget) self.label_9.setText(QtGui.QApplication.translate("MainWindow", "Y", None, QtGui.QApplication.UnicodeUTF8)) self.label_9.setObjectName(_fromUtf8("label_9")) self.gridLayout_2.addWidget(self.label_9, 3, 1, 1, 1) self.label_10 = QtGui.QLabel(self.centralwidget) self.label_10.setText(QtGui.QApplication.translate("MainWindow", "B", None, QtGui.QApplication.UnicodeUTF8)) self.label_10.setObjectName(_fromUtf8("label_10")) self.gridLayout_2.addWidget(self.label_10, 4, 1, 1, 1) self.label_11 = QtGui.QLabel(self.centralwidget) self.label_11.setText(QtGui.QApplication.translate("MainWindow", "A", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setObjectName(_fromUtf8("label_11")) self.gridLayout_2.addWidget(self.label_11, 5, 1, 1, 1) self.label_12 = QtGui.QLabel(self.centralwidget) self.label_12.setText(QtGui.QApplication.translate("MainWindow", "X", None, QtGui.QApplication.UnicodeUTF8)) self.label_12.setObjectName(_fromUtf8("label_12")) self.gridLayout_2.addWidget(self.label_12, 6, 1, 1, 1) self.label_13 = QtGui.QLabel(self.centralwidget) self.label_13.setText(QtGui.QApplication.translate("MainWindow", "RS-上", None, QtGui.QApplication.UnicodeUTF8)) self.label_13.setObjectName(_fromUtf8("label_13")) self.gridLayout_2.addWidget(self.label_13, 7, 1, 1, 1) self.label_14 = QtGui.QLabel(self.centralwidget) self.label_14.setText(QtGui.QApplication.translate("MainWindow", "RS-右", None, QtGui.QApplication.UnicodeUTF8)) self.label_14.setObjectName(_fromUtf8("label_14")) self.gridLayout_2.addWidget(self.label_14, 8, 1, 1, 1) self.label_15 = QtGui.QLabel(self.centralwidget) self.label_15.setText(QtGui.QApplication.translate("MainWindow", "RS-下", None, QtGui.QApplication.UnicodeUTF8)) self.label_15.setObjectName(_fromUtf8("label_15")) self.gridLayout_2.addWidget(self.label_15, 9, 1, 1, 1) self.label_16 = QtGui.QLabel(self.centralwidget) self.label_16.setText(QtGui.QApplication.translate("MainWindow", "RS-左", None, QtGui.QApplication.UnicodeUTF8)) self.label_16.setObjectName(_fromUtf8("label_16")) self.gridLayout_2.addWidget(self.label_16, 10, 1, 1, 1) self.start_edit = QtGui.QLineEdit(self.centralwidget) self.start_edit.setAlignment(QtCore.Qt.AlignCenter) self.start_edit.setObjectName(_fromUtf8("start_edit")) self.gridLayout_2.addWidget(self.start_edit, 2, 0, 1, 1) self.label_17 = QtGui.QLabel(self.centralwidget) self.label_17.setText(QtGui.QApplication.translate("MainWindow", "START", None, QtGui.QApplication.UnicodeUTF8)) self.label_17.setObjectName(_fromUtf8("label_17")) self.gridLayout_2.addWidget(self.label_17, 2, 1, 1, 1) self.label_24 = QtGui.QLabel(self.centralwidget) self.label_24.setText(QtGui.QApplication.translate("MainWindow", "R3", None, QtGui.QApplication.UnicodeUTF8)) self.label_24.setObjectName(_fromUtf8("label_24")) self.gridLayout_2.addWidget(self.label_24, 11, 1, 1, 1) self.r3_edit = QtGui.QLineEdit(self.centralwidget) self.r3_edit.setAlignment(QtCore.Qt.AlignCenter) self.r3_edit.setObjectName(_fromUtf8("r3_edit")) self.gridLayout_2.addWidget(self.r3_edit, 11, 0, 1, 1) self.gridLayout_3.addLayout(self.gridLayout_2, 0, 4, 4, 1) self.controller_label = QtGui.QLabel(self.centralwidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.controller_label.sizePolicy().hasHeightForWidth()) self.controller_label.setSizePolicy(sizePolicy) self.controller_label.setText(_fromUtf8("")) self.controller_label.setPixmap(QtGui.QPixmap(_fromUtf8(":/img/img/xbox-controller-md.png"))) self.controller_label.setAlignment(QtCore.Qt.AlignCenter) self.controller_label.setObjectName(_fromUtf8("controller_label")) self.gridLayout_3.addWidget(self.controller_label, 2, 1, 1, 3) self.buttonBox = QtGui.QDialogButtonBox(self.centralwidget) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Reset|QtGui.QDialogButtonBox.Save) self.buttonBox.setCenterButtons(False) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout_3.addWidget(self.buttonBox, 5, 0, 1, 5) self.continuous_set_cbox = QtGui.QCheckBox(self.centralwidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.continuous_set_cbox.sizePolicy().hasHeightForWidth()) self.continuous_set_cbox.setSizePolicy(sizePolicy) self.continuous_set_cbox.setFocusPolicy(QtCore.Qt.TabFocus) self.continuous_set_cbox.setText(QtGui.QApplication.translate("MainWindow", "连续设置", None, QtGui.QApplication.UnicodeUTF8)) self.continuous_set_cbox.setChecked(True) self.continuous_set_cbox.setObjectName(_fromUtf8("continuous_set_cbox")) self.gridLayout_3.addWidget(self.continuous_set_cbox, 3, 2, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem, 3, 1, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem1, 3, 3, 1, 1) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 607, 23)) self.menubar.setObjectName(_fromUtf8("menubar")) self.menu = QtGui.QMenu(self.menubar) self.menu.setTitle(QtGui.QApplication.translate("MainWindow", "帮助", None, QtGui.QApplication.UnicodeUTF8)) self.menu.setObjectName(_fromUtf8("menu")) self.menu_2 = QtGui.QMenu(self.menubar) self.menu_2.setTitle(QtGui.QApplication.translate("MainWindow", "文件", None, QtGui.QApplication.UnicodeUTF8)) self.menu_2.setObjectName(_fromUtf8("menu_2")) self.menu_3 = QtGui.QMenu(self.menubar) self.menu_3.setTitle(QtGui.QApplication.translate("MainWindow", "游戏", None, QtGui.QApplication.UnicodeUTF8)) self.menu_3.setObjectName(_fromUtf8("menu_3")) MainWindow.setMenuBar(self.menubar) self.about_action = QtGui.QAction(MainWindow) self.about_action.setText(QtGui.QApplication.translate("MainWindow", "关于...", None, QtGui.QApplication.UnicodeUTF8)) self.about_action.setToolTip(QtGui.QApplication.translate("MainWindow", "关于本程序的信息", None, QtGui.QApplication.UnicodeUTF8)) self.about_action.setShortcutContext(QtCore.Qt.WindowShortcut) self.about_action.setObjectName(_fromUtf8("about_action")) self.open_action = QtGui.QAction(MainWindow) self.open_action.setText(QtGui.QApplication.translate("MainWindow", "打开...", None, QtGui.QApplication.UnicodeUTF8)) self.open_action.setToolTip(QtGui.QApplication.translate("MainWindow", "打开键位配置文件", None, QtGui.QApplication.UnicodeUTF8)) self.open_action.setObjectName(_fromUtf8("open_action")) self.exit_action = QtGui.QAction(MainWindow) self.exit_action.setText(QtGui.QApplication.translate("MainWindow", "退出", None, QtGui.QApplication.UnicodeUTF8)) self.exit_action.setToolTip(QtGui.QApplication.translate("MainWindow", "退出程序", None, QtGui.QApplication.UnicodeUTF8)) self.exit_action.setObjectName(_fromUtf8("exit_action")) self.boot_action = QtGui.QAction(MainWindow) self.boot_action.setText(QtGui.QApplication.translate("MainWindow", "启动设置...", None, QtGui.QApplication.UnicodeUTF8)) self.boot_action.setObjectName(_fromUtf8("boot_action")) self.menu.addAction(self.about_action) self.menu_2.addAction(self.open_action) self.menu_2.addSeparator() self.menu_2.addAction(self.exit_action) self.menu_3.addAction(self.boot_action) self.menubar.addAction(self.menu_2.menuAction()) self.menubar.addAction(self.menu_3.menuAction()) self.menubar.addAction(self.menu.menuAction()) self.label.setBuddy(self.lt_edit) self.label_2.setBuddy(self.lb_edit) self.label_3.setBuddy(self.ls_up_edit) self.label_4.setBuddy(self.ls_left_edit) self.label_5.setBuddy(self.ls_down_edit) self.label_6.setBuddy(self.ls_right_edit) self.label_18.setBuddy(self.back_edit) self.label_19.setBuddy(self.ldpad_up_edit) self.label_20.setBuddy(self.ldpad_left_edit) self.label_21.setBuddy(self.ldpad_down_edit) self.label_22.setBuddy(self.ldpad_right_edit) self.label_23.setBuddy(self.l3_edit) self.label_7.setBuddy(self.rt_edit) self.label_8.setBuddy(self.rb_edit) self.label_9.setBuddy(self.y_edit) self.label_10.setBuddy(self.b_edit) self.label_11.setBuddy(self.a_edit) self.label_12.setBuddy(self.x_edit) self.label_13.setBuddy(self.rs_up_edit) self.label_14.setBuddy(self.rs_right_edit) self.label_15.setBuddy(self.rs_down_edit) self.label_16.setBuddy(self.rs_left_edit) self.label_17.setBuddy(self.start_edit) self.label_24.setBuddy(self.r3_edit) self.retranslateUi(MainWindow) QtCore.QObject.connect(self.exit_action, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.close) QtCore.QMetaObject.connectSlotsByName(MainWindow) MainWindow.setTabOrder(self.lt_edit, self.lb_edit) MainWindow.setTabOrder(self.lb_edit, self.back_edit) MainWindow.setTabOrder(self.back_edit, self.ls_up_edit) MainWindow.setTabOrder(self.ls_up_edit, self.ls_left_edit) MainWindow.setTabOrder(self.ls_left_edit, self.ls_down_edit) MainWindow.setTabOrder(self.ls_down_edit, self.ls_right_edit) MainWindow.setTabOrder(self.ls_right_edit, self.ldpad_up_edit) MainWindow.setTabOrder(self.ldpad_up_edit, self.ldpad_left_edit) MainWindow.setTabOrder(self.ldpad_left_edit, self.ldpad_down_edit) MainWindow.setTabOrder(self.ldpad_down_edit, self.ldpad_right_edit) MainWindow.setTabOrder(self.ldpad_right_edit, self.l3_edit) MainWindow.setTabOrder(self.l3_edit, self.rt_edit) MainWindow.setTabOrder(self.rt_edit, self.rb_edit) MainWindow.setTabOrder(self.rb_edit, self.start_edit) MainWindow.setTabOrder(self.start_edit, self.y_edit) MainWindow.setTabOrder(self.y_edit, self.b_edit) MainWindow.setTabOrder(self.b_edit, self.a_edit) MainWindow.setTabOrder(self.a_edit, self.x_edit) MainWindow.setTabOrder(self.x_edit, self.rs_up_edit) MainWindow.setTabOrder(self.rs_up_edit, self.rs_right_edit) MainWindow.setTabOrder(self.rs_right_edit, self.rs_down_edit) MainWindow.setTabOrder(self.rs_down_edit, self.rs_left_edit) MainWindow.setTabOrder(self.rs_left_edit, self.r3_edit) MainWindow.setTabOrder(self.r3_edit, self.buttonBox) MainWindow.setTabOrder(self.buttonBox, self.continuous_set_cbox) def retranslateUi(self, MainWindow): pass import _fifakey_rc
Python
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui/_boot_dialog.ui' # # Created: Tue Nov 01 23:15:34 2011 # by: PyQt4 UI code generator 4.8.5 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: _fromUtf8 = lambda s: s class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(174, 198) Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "启动", None, QtGui.QApplication.UnicodeUTF8)) self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.groupBox = QtGui.QGroupBox(Dialog) self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "启动选项", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.windowed_cbox = QtGui.QCheckBox(self.groupBox) self.windowed_cbox.setToolTip(QtGui.QApplication.translate("Dialog", "即非全屏", None, QtGui.QApplication.UnicodeUTF8)) self.windowed_cbox.setText(QtGui.QApplication.translate("Dialog", "窗口化", None, QtGui.QApplication.UnicodeUTF8)) self.windowed_cbox.setObjectName(_fromUtf8("windowed_cbox")) self.verticalLayout.addWidget(self.windowed_cbox) self.skip_lang_cbox = QtGui.QCheckBox(self.groupBox) self.skip_lang_cbox.setToolTip(QtGui.QApplication.translate("Dialog", "默认选择英语", None, QtGui.QApplication.UnicodeUTF8)) self.skip_lang_cbox.setText(QtGui.QApplication.translate("Dialog", "跳过语言选择", None, QtGui.QApplication.UnicodeUTF8)) self.skip_lang_cbox.setObjectName(_fromUtf8("skip_lang_cbox")) self.verticalLayout.addWidget(self.skip_lang_cbox) self.skip_movie_cbox = QtGui.QCheckBox(self.groupBox) self.skip_movie_cbox.setToolTip(QtGui.QApplication.translate("Dialog", "再也不需要看撸尼打飞机了", None, QtGui.QApplication.UnicodeUTF8)) self.skip_movie_cbox.setText(QtGui.QApplication.translate("Dialog", "跳过开场动画", None, QtGui.QApplication.UnicodeUTF8)) self.skip_movie_cbox.setObjectName(_fromUtf8("skip_movie_cbox")) self.verticalLayout.addWidget(self.skip_movie_cbox) self.skip_connect_cbox = QtGui.QCheckBox(self.groupBox) self.skip_connect_cbox.setToolTip(QtGui.QApplication.translate("Dialog", "不登录EA的服务器, 正版玩家应取消此选项", None, QtGui.QApplication.UnicodeUTF8)) self.skip_connect_cbox.setText(QtGui.QApplication.translate("Dialog", "跳过服务器连接", None, QtGui.QApplication.UnicodeUTF8)) self.skip_connect_cbox.setObjectName(_fromUtf8("skip_connect_cbox")) self.verticalLayout.addWidget(self.skip_connect_cbox) self.verticalLayout_2.addWidget(self.groupBox) self.buttonBox = QtGui.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.verticalLayout_2.addWidget(self.buttonBox) self.retranslateUi(Dialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): pass
Python
# -*- coding: utf-8 -*- ''' @author: lowzoom ''' import ctypes from ctypes.wintypes import MAX_PATH import win32con import win32gui # 我的文档 CSIDL_PERSONAL = 0x0005 # System32 CSIDL_SYSTEM = 0x0025 def get_system32(): return get_folder(CSIDL_SYSTEM) def get_my_documents(): return get_folder(CSIDL_PERSONAL) def get_folder(csid): ''' 返回指定特殊文件夹的路径 @param csid: 特殊文件夹ID ''' _buf = ctypes.create_unicode_buffer(MAX_PATH + 1) ctypes.windll.shell32.SHGetSpecialFolderPathW(None, _buf, csid, False) return _buf.value def activate_window(hwnd): # 将窗口从最小化还原 win32gui.ShowWindow(hwnd, win32con.SW_RESTORE) # 将窗口上升到最前端 win32gui.SetForegroundWindow(hwnd) # 刷新窗口内容 win32gui.RedrawWindow(hwnd, None, None, win32con.RDW_INVALIDATE) if __name__ == "__main__": print(get_system32())
Python
# -*- coding: utf-8 -*- ''' 按键码对应的按键名 @author: lowzoom ''' name = { 0x01:'SC_ESCAPE', 0x02:'SC_1', 0x03:'SC_2', 0x04:'SC_3', 0x05:'SC_4', 0x06:'SC_5', 0x07:'SC_6', 0x08:'SC_7', 0x09:'SC_8', 0x0A:'SC_9', 0x0B:'SC_0', 0x0C:'SC_MINUS', # - on main keyboard 0x0D:'SC_EQUALS', 0x0E:'SC_BACK', # backspace 0x0F:'SC_TAB', 0x10:'SC_Q', 0x11:'SC_W', 0x12:'SC_E', 0x13:'SC_R', 0x14:'SC_T', 0x15:'SC_Y', 0x16:'SC_U', 0x17:'SC_I', 0x18:'SC_O', 0x19:'SC_P', 0x1A:'SC_LBRACKET', 0x1B:'SC_RBRACKET', 0x1C:'SC_RETURN', # Enter on main keyboard 0x1D:'SC_LCONTROL', 0x1E:'SC_A', 0x1F:'SC_S', 0x20:'SC_D', 0x21:'SC_F', 0x22:'SC_G', 0x23:'SC_H', 0x24:'SC_J', 0x25:'SC_K', 0x26:'SC_L', 0x27:'SC_SEMICOLON', 0x28:'SC_APOSTROPHE', 0x29:'SC_GRAVE', # accent 0x2A:'SC_LSHIFT', 0x2B:'SC_BACKSLASH', 0x2C:'SC_Z', 0x2D:'SC_X', 0x2E:'SC_C', 0x2F:'SC_V', 0x30:'SC_B', 0x31:'SC_N', 0x32:'SC_M', 0x33:'SC_COMMA', 0x34:'SC_PERIOD', # . on main keyboard 0x35:'SC_SLASH', # / on main keyboard 0x36:'SC_RSHIFT', 0x37:'SC_MULTIPLY', # * on numeric keypad 0x38:'SC_LMENU', # left Alt 0x39:'SC_SPACE', 0x3A:'SC_CAPITAL', 0x3B:'SC_F1', 0x3C:'SC_F2', 0x3D:'SC_F3', 0x3E:'SC_F4', 0x3F:'SC_F5', 0x40:'SC_F6', 0x41:'SC_F7', 0x42:'SC_F8', 0x43:'SC_F9', 0x44:'SC_F10', 0x45:'SC_PAUSE', # Pause 0x46:'SC_SCROLL', # Scroll Lock 0x47:'SC_NUMPAD7', 0x48:'SC_NUMPAD8', 0x49:'SC_NUMPAD9', 0x4A:'SC_SUBTRACT', # - on numeric keypad 0x4B:'SC_NUMPAD4', 0x4C:'SC_NUMPAD5', 0x4D:'SC_NUMPAD6', 0x4E:'SC_ADD', # + on numeric keypad 0x4F:'SC_NUMPAD1', 0x50:'SC_NUMPAD2', 0x51:'SC_NUMPAD3', 0x52:'SC_NUMPAD0', 0x53:'SC_DECIMAL', # . on numeric keypad 0x56:'SC_OEM_102', # < > | on UK/Germany keyboards 0x57:'SC_F11', 0x58:'SC_F12', 0x64:'SC_F13', # (NEC PC98) 0x65:'SC_F14', # (NEC PC98) 0x66:'SC_F15', # (NEC PC98) 0x70:'SC_KANA', # (Japanese keyboard) 0x73:'SC_ABNT_C1', # / ? on Portugese (Brazilian) keyboards 0x79:'SC_CONVERT', # (Japanese keyboard) 0x7B:'SC_NOCONVERT', # (Japanese keyboard) 0x7D:'SC_YEN', # (Japanese keyboard) 0x7E:'SC_ABNT_C2', # Numpad . on Portugese (Brazilian) keyboards 0x8D:'SC_NUMPADEQUALS', #:'on numeric keypad (NEC PC98) 0x90:'SC_PREVTRACK', # Previous Track (SC_CIRCUMFLEX on Japanese keyboard) 0x91:'SC_AT', # (NEC PC98) 0x92:'SC_COLON', # (NEC PC98) 0x93:'SC_UNDERLINE', # (NEC PC98) 0x94:'SC_KANJI', # (Japanese keyboard) 0x95:'SC_STOP', # (NEC PC98) 0x96:'SC_AX', # (Japan AX) 0x97:'SC_UNLABELED', # (J3100) 0x99:'SC_NEXTTRACK', # Next Track # 0x9C:'SC_NUMPADENTER', # Enter on numeric keypad # 0x9D:'SC_RCONTROL', 0xA0:'SC_MUTE', # Mute 0xA1:'SC_CALCULATOR', # Calculator 0xA2:'SC_PLAYPAUSE', # Play / Pause 0xA4:'SC_MEDIASTOP', # Media Stop 0xAE:'SC_VOLUMEDOWN', # Volume - 0xB0:'SC_VOLUMEUP', # Volume + 0xB2:'SC_WEBHOME', # Web home 0xB3:'SC_NUMPADCOMMA', # ', on numeric keypad (NEC PC98) # 0xB5:'SC_DIVIDE', # / on numeric keypad 0xB7:'SC_SYSRQ', # 0xB8:'SC_RMENU', # right Alt # 0xC5:'SC_NUMLOCK', # 0xC7:'SC_HOME', # Home on arrow keypad # 0xC8:'SC_UP', # UpArrow on arrow keypad # 0xC9:'SC_PRIOR', # PgUp on arrow keypad # 0xCB:'SC_LEFT', # LeftArrow on arrow keypad # 0xCD:'SC_RIGHT', # RightArrow on arrow keypad # 0xCF:'SC_END', # End on arrow keypad # 0xD0:'SC_DOWN', # DownArrow on arrow keypad # 0xD1:'SC_NEXT', # PgDn on arrow keypad # 0xD2:'SC_INSERT', # Insert on arrow keypad # 0xD3:'SC_DELETE', # Delete on arrow keypad 0xDB:'SC_LWIN', # Left Windows key 0xDC:'SC_RWIN', # Right Windows key # 0xDD:'SC_APPS', # AppMenu key 0xDE:'SC_POWER', # System Power 0xDF:'SC_SLEEP', # System Sleep 0xE3:'SC_WAKE', # System Wake 0xE5:'SC_WEBSEARCH', # Web Search 0xE6:'SC_WEBFAVORITES', # Web Favorites 0xE7:'SC_WEBREFRESH', # Web Refresh 0xE8:'SC_WEBSTOP', # Web Stop 0xE9:'SC_WEBFORWARD', # Web Forward 0xEA:'SC_WEBBACK', # Web Back 0xEB:'SC_MYCOMPUTER', # My Computer 0xEC:'SC_MAIL', # Mail 0xED:'SC_MEDIASELECT', # Media Select 0x11C:'SC_NUMPADENTER', # Enter on numeric keypad 0x11D:'SC_RCONTROL', 0x135:'SC_DIVIDE', # / on numeric keypad 0x138:'SC_RMENU', # right Alt 0x145:'SC_NUMLOCK', 0x147:'SC_HOME', # Home on arrow keypad 0x148:'SC_UP', # UpArrow on arrow keypad 0x149:'SC_PRIOR', # PgUp on arrow keypad 0x14B:'SC_LEFT', # LeftArrow on arrow keypad 0x14D:'SC_RIGHT', # RightArrow on arrow keypad 0x14F:'SC_END', # End on arrow keypad 0x150:'SC_DOWN', # DownArrow on arrow keypad 0x151:'SC_NEXT', # PgDn on arrow keypad 0x152:'SC_INSERT', # Insert on arrow keypad 0x153:'SC_DELETE', # Delete on arrow keypad 0x15D:'SC_APPS', # AppMenu key }
Python
# -*- coding: utf-8 -*- ''' @author: lowzoom ''' import os from collections import OrderedDict import shutil import main import win32_util # "我的文档"路径 MY_DOCUMENTS_PATH = win32_util.get_my_documents() # 配置文件相关路径 fifa_path = os.path.join(MY_DOCUMENTS_PATH, 'FIFA 12') file_name = 'buttonDataSetup.ini' path = os.path.join(fifa_path, file_name) # 按键对应设置 key_map = OrderedDict() # 配置文件中的其他内容 lines_before = [] lines_after = [] def load(): ''' 读取键位配置文件 ''' if not os.path.isfile(path): if not os.path.isdir(fifa_path): os.makedirs(fifa_path) shutil.copy(os.path.join(main.base_path, 'data', file_name), fifa_path) key_map.clear() del lines_before[:] del lines_after[:] with open(path, 'r') as button_data_file: # 跳到键盘的设置 while True: line = button_data_file.readline() lines_before.append(line) if line.startswith('AddController "Keyboard"'): break # 将键盘的键位设置读进内存 while True: line = button_data_file.readline() if line == '' or line.startswith('AddController'): lines_after.append(line) break parts = line.split() key_map[parts[-1]] = parts[-2] # 将剩下部分读进内存方便保存写入 while True: line = button_data_file.readline() if line == '': break lines_after.append(line) def save(): with open(path, 'w') as button_data_file: button_data_file.writelines(lines_before) button_data_file.writelines( ['\tAddMap {key} {button}\n'.format(key=key, button=btn) for btn, key in key_map.iteritems()]) button_data_file.writelines(lines_after) def set_key(btn_names, key_name): for btn in btn_names: key_map[btn] = key_name
Python
# -*- coding: utf-8 -*- ''' 程序入口 @author: lowzoom ''' import PyQt4.QtCore as qtc import PyQt4.QtGui as qt import PyQt4.QtNetwork as qtn import cfg import logging import os import subprocess import sys import win32_util # 程序信息 __author__ = 'lowZoom' __version__ = '2.1' # 程序所在目录 base_path = os.path.dirname(sys.argv[0]) def init_logging(): ''' 初始化日志参数 ''' # 日志输出格式 logging_formats = { 'normal':'%(message)s |<%(asctime)s><%(levelname)s><%(pathname)s:%(lineno)d>|', # 普通输出格式 'clickable':'%(message)s |<%(asctime)s><%(levelname)s>|\n File "%(pathname)s", line %(lineno)d' # 可以点击链接到日志输出处 } logging.basicConfig( level=logging.DEBUG, format=logging_formats['normal'], datefmt='%H:%M') def single_instance(func): ''' 只允许一个实例 @param func: ''' def wrapper_func(*args): def send_hwnd(): ''' 向重复的实例发送已运行实例的窗口ID ''' hwnd = int(main_window.winId()) sk = localServer.nextPendingConnection() sk.writeData(str(hwnd)) sk.flush() socket = qtn.QLocalSocket() socket.connectToServer(app.applicationName()) # 连接上表示已有运行的实例 if socket.waitForConnected(500) \ and socket.waitForReadyRead(500): hwnd = int(socket.readAll()) win32_util.activate_window(hwnd) app.exit(1) return # 没有实例运行,创建服务器 localServer = qtn.QLocalServer() qtc.QObject.connect(localServer, qtc.SIGNAL('newConnection()'), send_hwnd) localServer.listen(app.applicationName()) try: return func(*args) finally: localServer.close() return wrapper_func @single_instance def run(): global main_window init_logging() cfg.load() main_window = MainWindow() main_window.show() sys.exit(app.exec_()) if __name__ == "__main__": subprocess.call('pyuic4 ui/_boot_dialog.ui > ui/_boot_dialog.py'.split(), shell=True) subprocess.call('pyrcc4 -o ui/_fifakey_rc.py ui/_fifakey.qrc'.split(), shell=True) subprocess.call('pyuic4 ui/_main_window.ui > ui/_main_window.py'.split(), shell=True) from ui.main_window import MainWindow app = qt.QApplication(sys.argv) app.setApplicationName('FIFA 12 Button Config') run()
Python
# -*- coding: utf-8 -*- ''' 配置模块 @author: lowzoom ''' from boot import rna_handler import main import os import pickle # 用户偏好设置 pref = {} # 配置文件的路径 CONFIG_PATH = os.path.join(main.base_path, 'data', 'cfg') # 设置的键值 GAME_PATH = 'game.path' # 游戏安装路径 RNA_PATH = 'game.rna.path' # 游戏配置文件路径 MOVIE_PATH = 'game.mov.path' # 开头动画文件夹路径 WINDOW_STATE = 'window.state' # 窗口状态 def load(): ''' 读取配置文件 ''' if os.path.isfile(CONFIG_PATH): with open(CONFIG_PATH, 'r') as cfg_file: pref.update(pickle.load(cfg_file)) else: # 配置文件不存在时创建默认配置 pref[GAME_PATH] = None save() def save(): ''' 保存配置到文件 ''' with open(CONFIG_PATH, 'w') as cfg_file: pickle.dump(pref, cfg_file) def set_game_path(game_path): pref[GAME_PATH] = game_path pref[RNA_PATH] = os.path.join(game_path, rna_handler.RNA_FILENAME) pref[MOVIE_PATH] = os.path.join(game_path, 'data', 'movies')
Python
# -*- coding: utf-8 -*- ''' @author: lowzoom ''' import os import cfg import main import shutil # 开场动画文件名 BOOTFLOW_IN_FILENAME = 'bootflowintro_MARKER.vp6' BOOTFLOW_OUT_FILENAME = 'bootflowoutro.vp6' # 超过这个大小表示还没优化 SIZE_LIMIT = 50000 def is_skip(): return (os.path.getsize(os.path.join( cfg.pref[cfg.MOVIE_PATH], BOOTFLOW_IN_FILENAME))) < SIZE_LIMIT and \ (os.path.getsize(os.path.join( cfg.pref[cfg.MOVIE_PATH], BOOTFLOW_OUT_FILENAME))) < SIZE_LIMIT def set_skip(skip): if is_skip() == skip: return bootflow_in_path = os.path.join(cfg.pref[cfg.MOVIE_PATH], BOOTFLOW_IN_FILENAME) bootflow_out_path = os.path.join(cfg.pref[cfg.MOVIE_PATH], BOOTFLOW_OUT_FILENAME) bootflow_in_bak_path = '.'.join((bootflow_in_path, main.__author__)) bootflow_out_bak_path = '.'.join((bootflow_out_path, main.__author__)) if skip: os.rename(bootflow_in_path, bootflow_in_bak_path) os.rename(bootflow_out_path, bootflow_out_bak_path) stub_movie_path = os.path.join(main.base_path, 'data', 'stub_mov') shutil.copyfile(stub_movie_path, bootflow_in_path) shutil.copyfile(stub_movie_path, bootflow_out_path) else: os.remove(bootflow_in_path) os.remove(bootflow_out_path) os.rename(bootflow_in_bak_path, bootflow_in_path) os.rename(bootflow_out_bak_path, bootflow_out_path) if __name__ == '__main__': main.base_path = os.path.dirname(main.base_path) # cfg.set_game_path(r'E:\Game\FIFA.12\FIFA.12.RUS_EPIDEMZ.NET\Game') cfg.set_game_path(r'C:\Users\lowzoom\Desktop\fuck\1\game') skip = is_skip() print(skip) set_skip(skip)
Python
# -*- coding: utf-8 -*- ''' @author: lowzoom ''' from __future__ import print_function import win32_util import os # hosts文件路径 HOSTS_PATH = os.path.join(win32_util.get_system32(), 'drivers', 'etc', 'hosts') # EA的登录服务器 EA_HOST = 'gosredirector.ea.com' # localhost LOCAL_IP = '127.0.0.1' def get_ea_ip(line): ''' 判断是否为EA的服务器地址,如果是返回其IP,否则返回None @param line: hosts文件中的一行 ''' line = line.strip() if line.startswith('#'): return None line = line.replace('#', ' #') parts = line.split() if len(parts) >= 2 and parts[1] == EA_HOST: return parts[0] return None def is_skip_connect(): ''' 是否跳过与EA服务器的连接 ''' with open(HOSTS_PATH, 'r') as hosts_file: for line in hosts_file: if get_ea_ip(line) == LOCAL_IP: return True return False def set_skip_connect(skip): ''' 设置是否跳过与EA服务器的连接 @param skip: ''' new_hosts = [] with open(HOSTS_PATH, 'r') as hosts_file: while True: line = hosts_file.readline() ea_ip = get_ea_ip(line) if line == '' or ea_ip: break new_hosts.append(line) # 读完里面都没EA的地址,但想跳过就直接在最后添加EA地址 if line == '' and skip: new_hosts.append('{br}\n{ip} {ea}\n'.format( ip=LOCAL_IP, ea=EA_HOST, br='' if new_hosts[-1].endswith('\n') and \ new_hosts[-1] != '\n' else '\n')) # 如果已经屏蔽了EA的服务器,但想恢复,就删除此行 elif ea_ip == LOCAL_IP and not skip: pass # 其他情况保持原样即可,无需修改文件 else: return while line: line = hosts_file.readline() if line: new_hosts.append(line) with open(HOSTS_PATH, 'w') as hosts_file: hosts_file.write(''.join(new_hosts).strip()) if __name__ == '__main__': skiped = is_skip_connect() print('skiped: %s' % skiped) set_skip_connect(not skiped)
Python
# -*- coding: utf-8 -*- ''' @author: lowzoom ''' from __future__ import print_function from collections import OrderedDict import cfg import main import os import re import shutil rna_cfg = OrderedDict() # 配置文件名 RNA_FILENAME = 'rna.ini' # 键 GENERAL = '' FULL_SCREEN = 'FULLSCREEN' LOCALE = 'LOCALE' USE_LANGUAGE_SELECT = 'USE_LANGUAGE_SELECT' DEFAULT_LANGUAGE = 'DEFAULT_LANGUAGE' # 匹配无用内容的正则 comment_ptn = re.compile(r'(^[;#].*\r?\n)|' # 整行注释 r'(^//.*\r?\n)|' r'(\s+[;#].*$)|' # 行中注释 r'(\s+//.*$)|' r'(^\s*\r?\n)') # 空行 # 提取键值的正则 section_ptn = re.compile(r'^\[(.*)\]$') separator_ptn = re.compile(r'\s*[:=]\s*') def load(): ''' 读取 rna.ini 文件 ''' assert os.path.exists(cfg.pref[cfg.GAME_PATH]) if not os.path.isfile(cfg.pref[cfg.RNA_PATH]): shutil.copy(os.path.join(main.base_path, 'data', RNA_FILENAME), cfg.pref[cfg.GAME_PATH]) with open(cfg.pref[cfg.RNA_PATH], 'r') as rna_file: # 先去注释, 再去空行 和 两边空白 rna_content = [line.strip() for line in [comment_ptn.sub('', line) for line in rna_file] if line] # 将配置读进内存 rna_cfg.clear() current_section = rna_cfg.setdefault(GENERAL, OrderedDict()) for line in rna_content: matcher = section_ptn.match(line) if matcher: current_section = rna_cfg.setdefault(matcher.group(1), OrderedDict()) else: pair = separator_ptn.split(line) assert len(pair) == 2 current_section[pair[0]] = pair[1] def save(): ''' 保存 rna.ini 文件 ''' # 备份原配置 rna_bak_path = '.'.join((cfg.pref[cfg.RNA_PATH], main.__author__)) if os.path.isfile(cfg.pref[cfg.RNA_PATH]) and not os.path.isfile(rna_bak_path): shutil.copyfile(cfg.pref[cfg.RNA_PATH], rna_bak_path) with open(cfg.pref[cfg.RNA_PATH], 'w') as rna_file: for sctn, pair in rna_cfg.iteritems(): if pair: rna_file.write('[{s}]\n'.format(s=sctn)) for key, val in pair.iteritems(): rna_file.write('{k} = {v}\n'.format(k=key, v=val)) def is_windowed(): return int(rna_cfg[GENERAL][FULL_SCREEN]) < 0 def set_windowed(windowed): rna_cfg[GENERAL][FULL_SCREEN] = '-1' if windowed else '1' def is_skip_language_select(): return rna_cfg[LOCALE][USE_LANGUAGE_SELECT] == '0' def set_skip_language_select(skip, default_lang='eng,us'): rna_cfg[LOCALE][USE_LANGUAGE_SELECT] = '0' if skip else '1' rna_cfg[LOCALE][DEFAULT_LANGUAGE] = default_lang if __name__ == '__main__': main.base_path = os.path.dirname(main.base_path) cfg.set_game_path(r'E:\Game\FIFA.12\FIFA.12.RUS_EPIDEMZ.NET\Game') # cfg.set_game_path(r'C:\Users\lowzoom\Desktop\fuck\1') load() print('\n'.join(( 'windowed: {w}', 'skip_lang: {s}')).format( w=is_windowed(), s=is_skip_language_select())) set_windowed(not is_windowed()) set_skip_language_select(not is_skip_language_select()) save()
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic, nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** #!/usr/bin/env python sprops = \ """ IBoolProperty IUcharProperty ICharProperty IUInt16Property IInt16Property IUInt32Property IInt32Property IUInt64Property IInt64Property IHalfProperty IFloatProperty IDoubleProperty IStringProperty IWstringProperty IV2sProperty IV2iProperty IV2fProperty IV2dProperty IV3sProperty IV3iProperty IV3fProperty IV3dProperty IBox2sProperty IBox2iProperty IBox2fProperty IBox2dProperty IBox3sProperty IBox3iProperty IBox3fProperty IBox3dProperty IM33fProperty IM33dProperty IM44fProperty IM44dProperty IQuatfProperty IQuatdProperty IC3hProperty IC3fProperty IC3cProperty IC4hProperty IC4fProperty IC4cProperty IN3fProperty IN3dProperty """ def printdefs( p ): s = " //%s\n //\n" #s += 'bool\n( Abc::%s::*matchesMetaData )( const AbcA::MetaData&,\nAbc::SchemaInterpMatching ) = \\\n' #s += '&Abc::%s::matches;\n\n' #s += 'bool\n( Abc::%s::*matchesHeader )( const AbcA::PropertyHeader&,\nAbc::SchemaInterpMatching ) = \\\n' #s += '&Abc::%s::matches;\n\n' s += 'class_<Abc::%s>( "%s",\ninit<Abc::ICompoundProperty,\nconst std::string&>() )\n' s += '.def( init<>() )\n' s += '.def( "getName", &Abc::%s::getName,\nreturn_value_policy<copy_const_reference>() )\n' s += '.def( "getHeader", &Abc::%s::getHeader,\nreturn_internal_reference<1>() )\n' s += '.def( "isScalar", &Abc::%s::isScalar )\n' s += '.def( "isArray", &Abc::%s::isArray )\n' s += '.def( "isCompound", &Abc::%s::isCompound )\n' s += '.def( "isSimple", &Abc::%s::isSimple )\n' s += '.def( "getMetaData", &Abc::%s::getMetaData,\nreturn_internal_reference<1>() )\n' s += '.def( "getDataType", &Abc::%s::getDataType,\nreturn_internal_reference<1>() )\n' s += '.def( "getTimeSamplingType", &Abc::%s::getTimeSamplingType )\n' s += '.def( "getInterpretation", &Abc::%s::getInterpretation,\nreturn_value_policy<copy_const_reference>() )\n' #s += '.def( "matches", matchesMetaData )\n' #s += '.def( "matches", matchesHeader )\n' s += '.def( "getNumSamples", &Abc::%s::getNumSamples )\n' #s += '.def( "getValue", &Abc::%s::getValue, %s_overloads() )\n' s += '.def( "getObject", &Abc::%s::getObject,\nwith_custodian_and_ward_postcall<0,1>() )\n' s += '.def( "reset", &Abc::%s::reset )\n' s += '.def( "valid", &Abc::%s::valid )\n' s += '.def( "__str__", &Abc::%s::getName,\nreturn_value_policy<copy_const_reference>() )\n' s += '.def( "__nonzero__", &Abc::%s::valid )\n' s += ';' print s % eval( "%s" % ( 'p,' * s.count( r'%s' ) ) ) print return for i in sprops.split(): if i == "": pass else: printdefs( i )
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import os import unittest import util def getObjFromName(nodeName): selectionList = OpenMaya.MSelectionList() selectionList.add(nodeName) obj = OpenMaya.MObject() selectionList.getDependNode(0, obj) return obj class PolyNormalsTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testSet_noNormals_Attr(self): MayaCmds.polyCube(name='polyCube') # add the necessary props MayaCmds.select('polyCubeShape') MayaCmds.addAttr(longName='SubDivisionMesh', attributeType='bool', defaultValue=False) MayaCmds.addAttr(longName='interpolateBoundary', attributeType='bool', defaultValue=True) MayaCmds.addAttr(longName='noNormals', attributeType='bool', defaultValue=False) MayaCmds.addAttr(longName='flipNormals', attributeType='bool', defaultValue=False) MayaCmds.addAttr(longName='faceVaryingInterpolateBoundary', attributeType='bool', defaultValue=False) MayaCmds.polySphere(name='polySphere') # add the necessary props MayaCmds.select('polySphereShape') MayaCmds.addAttr(longName='SubDivisionMesh', attributeType='bool', defaultValue=False) MayaCmds.addAttr(longName='interpolateBoundary', attributeType='bool', defaultValue=True) MayaCmds.addAttr(longName='noNormals', attributeType='bool', defaultValue=True) MayaCmds.addAttr(longName='flipNormals', attributeType='bool', defaultValue=False) MayaCmds.addAttr(longName='faceVaryingInterpolateBoundary', attributeType='bool', defaultValue=False) #ignore facevaryingType, subdPaintLev MayaCmds.group('polyCube', 'polySphere', name='polygons') self.__files.append(util.expandFileName('staticPoly_noNormals_AttrTest.abc')) MayaCmds.AbcExport(j='-root polygons -f ' + self.__files[-1]) # reading test MayaCmds.AbcImport(self.__files[-1], mode='open', debug=False) # make sure the noNormal attribute is set correctly when the file is loaded self.failIf(MayaCmds.listAttr('polyCubeShape').count('noNormals') != 0) self.failUnless(MayaCmds.getAttr('polySphereShape.noNormals')) def testStaticMeshPolyNormals(self): # create a polygon cube polyName = 'polyCube' polyShapeName = 'polyCubeShape' MayaCmds.polyCube( sx=1, sy=1, sz=1, name=polyName, constructionHistory=False) # add the necessary props MayaCmds.select(polyShapeName) MayaCmds.addAttr(longName='SubDivisionMesh', attributeType='bool', defaultValue=False) MayaCmds.addAttr(longName='noNormals', attributeType='bool', defaultValue=False) MayaCmds.addAttr(longName='flipNormals', attributeType='bool', defaultValue=False) # tweek some normals MayaCmds.select(polyName+'.vtxFace[2][1]', replace=True) MayaCmds.polyNormalPerVertex(xyz=(0.707107, 0.707107, 0)) MayaCmds.select(polyName+'.vtxFace[7][4]', replace=True) MayaCmds.polyNormalPerVertex(xyz=(-0.707107, 0.707107, 0)) # write to file self.__files.append(util.expandFileName('staticPolyNormalsTest.abc')) MayaCmds.AbcExport(j='-root %s -f %s' % (polyName, self.__files[-1])) # read back from file MayaCmds.AbcImport(self.__files[-1], mode='import') self.failIf(MayaCmds.listAttr('polyCube1|polyCubeShape').count('noNormals') != 0) # make sure the normals are the same shapeObj = getObjFromName('polyCube1|polyCubeShape') fnMesh = OpenMaya.MFnMesh(shapeObj) numFaces = fnMesh.numPolygons() for faceIndex in range(0, numFaces): vertexList = OpenMaya.MIntArray() fnMesh.getPolygonVertices(faceIndex, vertexList) numVertices = vertexList.length() for v in range(0, numVertices): vertexIndex = vertexList[v] normal = OpenMaya.MVector() fnMesh.getFaceVertexNormal(faceIndex, vertexIndex, normal) vtxFaceAttrName = '.vtxFace[%d][%d]' % (vertexIndex, faceIndex) MayaCmds.select(polyName+vtxFaceAttrName, replace=True) oNormal = MayaCmds.polyNormalPerVertex( query=True, xyz=True) self.failUnlessAlmostEqual(normal[0], oNormal[0], 4) self.failUnlessAlmostEqual(normal[1], oNormal[1], 4) self.failUnlessAlmostEqual(normal[2], oNormal[2], 4) def testAnimatedMeshPolyNormals(self): # create a polygon cube polyName = 'polyCube' polyShapeName = 'polyCubeShape' MayaCmds.polyCube(sx=1, sy=1, sz=1, name=polyName, constructionHistory=False) # add the necessary props MayaCmds.select(polyShapeName) MayaCmds.addAttr(longName='SubDivisionMesh', attributeType='bool', defaultValue=False) MayaCmds.addAttr(longName='noNormals', attributeType='bool', defaultValue=False) MayaCmds.addAttr(longName='flipNormals', attributeType='bool', defaultValue=False) # tweek some normals MayaCmds.select(polyName+'.vtxFace[2][1]', replace=True) MayaCmds.polyNormalPerVertex(xyz=(0.707107, 0.707107, 0)) MayaCmds.select(polyName+'.vtxFace[7][4]', replace=True) MayaCmds.polyNormalPerVertex(xyz=(-0.707107, 0.707107, 0)) # set keyframes to make sure normals are written out as animated MayaCmds.setKeyframe(polyShapeName+'.vtx[0:7]', time=[1, 4]) MayaCmds.currentTime(2, update=True) MayaCmds.select(polyShapeName+'.vtx[0:3]') MayaCmds.move(0, 0.5, 1, relative=True) MayaCmds.setKeyframe(polyShapeName+'.vtx[0:7]', time=[2]) # write to file self.__files.append(util.expandFileName('animPolyNormalsTest.abc')) MayaCmds.AbcExport(j='-fr 1 4 -root %s -f %s' % (polyName, self.__files[-1])) # read back from file MayaCmds.AbcImport(self.__files[-1], mode='import') # make sure the noNormal attribute is set correctly when the file is # loaded self.failIf(MayaCmds.listAttr('polyCube1|polyCubeShape').count('noNormals') != 0) # make sure the normals are the same for time in range(1, 5): MayaCmds.currentTime(time, update=True) shapeObj = getObjFromName('polyCube1|polyCubeShape') fnMesh = OpenMaya.MFnMesh(shapeObj) numFaces = fnMesh.numPolygons() for faceIndex in range(0, numFaces): vertexList = OpenMaya.MIntArray() fnMesh.getPolygonVertices(faceIndex, vertexList) numVertices = vertexList.length() for v in range(0, numVertices): vertexIndex = vertexList[v] normal = OpenMaya.MVector() fnMesh.getFaceVertexNormal(faceIndex, vertexIndex, normal) vtxFaceAttrName = '.vtxFace[%d][%d]' % (vertexIndex, faceIndex) MayaCmds.select(polyName+vtxFaceAttrName, replace=True) oNormal = MayaCmds.polyNormalPerVertex(query=True, xyz=True) self.failUnlessAlmostEqual(normal[0], oNormal[0], 4) self.failUnlessAlmostEqual(normal[1], oNormal[1], 4) self.failUnlessAlmostEqual(normal[2], oNormal[2], 4)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util class staticPropTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def setProps(self, nodeName): MayaCmds.select(nodeName) MayaCmds.addAttr(longName='SPT_int8', defaultValue=8, attributeType='byte', keyable=True) MayaCmds.addAttr(longName='SPT_int16', defaultValue=16, attributeType='short', keyable=True) MayaCmds.addAttr(longName='SPT_int32', defaultValue=32, attributeType='long', keyable=True) MayaCmds.addAttr(longName='SPT_float', defaultValue=3.2654, attributeType='float', keyable=True) MayaCmds.addAttr(longName='SPT_double', defaultValue=0.15724757, attributeType='double', keyable=True) MayaCmds.addAttr(longName='SPT_double_AbcGeomScope', dataType="string") MayaCmds.setAttr(nodeName+'.SPT_double_AbcGeomScope', "vtx", type="string") MayaCmds.addAttr(longName='SPT_string', dataType="string") MayaCmds.setAttr(nodeName+'.SPT_string', "empty", type="string") MayaCmds.addAttr(longName='SPT_string_AbcGeomScope', dataType="string") MayaCmds.setAttr(nodeName+'.SPT_string_AbcGeomScope', "potato", type="string") MayaCmds.addAttr(longName='SPT_int32_array', dataType='Int32Array') MayaCmds.setAttr(nodeName+'.SPT_int32_array', [6, 7, 8, 9, 10], type='Int32Array') MayaCmds.addAttr(longName='SPT_vector_array', dataType='vectorArray') MayaCmds.setAttr(nodeName+'.SPT_vector_array', 3, (1,1,1), (2,2,2), (3,3,3), type='vectorArray') MayaCmds.addAttr(longName='SPT_vector_array_AbcType', dataType="string") MayaCmds.setAttr(nodeName+'.SPT_vector_array_AbcType', "normal2", type="string") MayaCmds.addAttr(longName='SPT_point_array', dataType='pointArray') MayaCmds.setAttr(nodeName+'.SPT_point_array', 2, (2,4,6,8), (20,40,60,80), type='pointArray') MayaCmds.addAttr(longName='SPT_double_array', dataType='doubleArray') MayaCmds.addAttr(longName='SPT_double_array_AbcGeomScope', dataType="string") MayaCmds.setAttr(nodeName+'.SPT_double_array', [1.1, 2.2, 3.3, 4.4, 5.5], type='doubleArray') MayaCmds.setAttr(nodeName+'.SPT_double_array_AbcGeomScope', "vtx", type="string") MayaCmds.addAttr(longName='SPT_string_array', dataType='stringArray') MayaCmds.setAttr(nodeName+'.SPT_string_array', 3, "string1", "string2", "string3", type='stringArray') def verifyProps(self, nodeName, fileName): MayaCmds.AbcImport(fileName, mode='open') self.failUnlessEqual(8, MayaCmds.getAttr(nodeName+'.SPT_int8')) self.failUnlessEqual(16, MayaCmds.getAttr(nodeName+'.SPT_int16')) self.failUnlessEqual(32, MayaCmds.getAttr(nodeName+'.SPT_int32')) self.failUnlessAlmostEqual(3.2654, MayaCmds.getAttr(nodeName+'.SPT_float'), 4) self.failUnlessAlmostEqual(0.15724757, MayaCmds.getAttr(nodeName+'.SPT_double'), 7) self.failUnlessEqual('vtx', MayaCmds.getAttr(nodeName+'.SPT_double_AbcGeomScope')) self.failUnlessEqual('empty', MayaCmds.getAttr(nodeName+'.SPT_string')) self.failUnlessEqual(0, MayaCmds.attributeQuery( 'SPT_string_AbcGeomScope', node=nodeName, exists=True)) self.failUnlessEqual([6, 7, 8, 9, 10], MayaCmds.getAttr(nodeName+'.SPT_int32_array')) self.failUnlessEqual(["string1", "string2", "string3"], MayaCmds.getAttr(nodeName+'.SPT_string_array')) self.failUnlessEqual([1.1, 2.2, 3.3, 4.4, 5.5], MayaCmds.getAttr(nodeName+'.SPT_double_array')) self.failUnlessEqual([(1.0, 1.0, 0.0), (2.0, 2.0, 0.0), (3.0, 3.0, 0.0)], MayaCmds.getAttr(nodeName+'.SPT_vector_array')) self.failUnlessEqual('normal2', MayaCmds.getAttr(nodeName+'.SPT_vector_array_AbcType')) self.failUnlessEqual([(2.0, 4.0, 6.0, 1.0), (20.0, 40.0, 60.0, 1.0)], MayaCmds.getAttr(nodeName+'.SPT_point_array')) def testStaticTransformPropReadWrite(self): nodeName = MayaCmds.createNode('transform') self.setProps(nodeName) self.__files.append(util.expandFileName('staticPropTransform.abc')) MayaCmds.AbcExport(j='-atp SPT_ -root %s -file %s' % (nodeName, self.__files[-1])) self.verifyProps(nodeName, self.__files[-1]) def testStaticCameraPropReadWrite(self): root = MayaCmds.camera() nodeName = root[0] shapeName = root[1] self.setProps(shapeName) self.__files.append(util.expandFileName('staticPropCamera.abc')) MayaCmds.AbcExport(j='-atp SPT_ -root %s -f %s' % (nodeName, self.__files[-1])) self.verifyProps(shapeName, self.__files[-1]) def testStaticParticlePropReadWrite(self): root = MayaCmds.particle(p=[(0, 0, 0), (1, 1, 1)]) nodeName = root[0] shapeName = root[1] self.setProps(shapeName) self.__files.append(util.expandFileName('staticPropParticles.abc')) MayaCmds.AbcExport(j='-atp -root %s -f %s' % (nodeName, self.__files[-1])) self.verifyProps(shapeName, self.__files[-1]) def testStaticMeshPropReadWrite(self): nodeName = 'polyCube' shapeName = 'polyCubeShape' MayaCmds.polyCube(name=nodeName) self.setProps(shapeName) self.__files.append(util.expandFileName('staticPropMesh.abc')) MayaCmds.AbcExport(j='-atp SPT_ -root %s -f %s' % (nodeName, self.__files[-1])) self.verifyProps(shapeName, self.__files[-1]) def testStaticNurbsCurvePropReadWrite(self): nodeName = 'nCurve' shapeName = 'curveShape1' MayaCmds.curve(p=[(0, 0, 0), (3, 5, 6), (5, 6, 7), (9, 9, 9)], name=nodeName) self.setProps(shapeName) self.__files.append(util.expandFileName('staticPropCurve.abc')) MayaCmds.AbcExport(j='-atp SPT_ -root %s -f %s' % (nodeName, self.__files[-1])) self.verifyProps(shapeName, self.__files[-1]) def testStaticNurbsSurfacePropReadWrite(self): nodeName = 'nSphere' shapeName = 'nSphereShape' MayaCmds.sphere(name=nodeName) self.setProps(shapeName) self.__files.append(util.expandFileName('staticPropNurbs.abc')) MayaCmds.AbcExport(j='-atp SPT_ -root %s -file %s' % (nodeName, self.__files[-1])) self.verifyProps(shapeName, self.__files[-1])
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util class emptyMeshTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testEmptyMeshFlag(self): MayaCmds.createNode('mesh', name='mesh') MayaCmds.rename('|polySurface1', 'trans') self.__files.append(util.expandFileName('emptyMeshTest.abc')) MayaCmds.AbcExport(j='-root trans -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], m='open') self.failUnless(MayaCmds.objExists("trans")) self.failIf(MayaCmds.objExists("head"))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import os import subprocess import unittest import util class AnimMeshTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__abcStitcher = [os.environ['AbcStitcher']] self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def testAnimSPT_HwColor_ReadWrite(self): numFaces = 6 numVertices = 8 numFaceConnects = 24 vtx_1 = OpenMaya.MFloatPoint(-0.5, -0.5, -0.5) vtx_2 = OpenMaya.MFloatPoint( 0.5, -0.5, -0.5) vtx_3 = OpenMaya.MFloatPoint( 0.5, -0.5, 0.5) vtx_4 = OpenMaya.MFloatPoint(-0.5, -0.5, 0.5) vtx_5 = OpenMaya.MFloatPoint(-0.5, 0.5, -0.5) vtx_6 = OpenMaya.MFloatPoint(-0.5, 0.5, 0.5) vtx_7 = OpenMaya.MFloatPoint( 0.5, 0.5, 0.5) vtx_8 = OpenMaya.MFloatPoint( 0.5, 0.5, -0.5) points = OpenMaya.MFloatPointArray() points.setLength(8) points.set(vtx_1, 0) points.set(vtx_2, 1) points.set(vtx_3, 2) points.set(vtx_4, 3) points.set(vtx_5, 4) points.set(vtx_6, 5) points.set(vtx_7, 6) points.set(vtx_8, 7) faceConnects = OpenMaya.MIntArray() faceConnects.setLength(numFaceConnects) faceConnects.set(0, 0) faceConnects.set(1, 1) faceConnects.set(2, 2) faceConnects.set(3, 3) faceConnects.set(4, 4) faceConnects.set(5, 5) faceConnects.set(6, 6) faceConnects.set(7, 7) faceConnects.set(3, 8) faceConnects.set(2, 9) faceConnects.set(6, 10) faceConnects.set(5, 11) faceConnects.set(0, 12) faceConnects.set(3, 13) faceConnects.set(5, 14) faceConnects.set(4, 15) faceConnects.set(0, 16) faceConnects.set(4, 17) faceConnects.set(7, 18) faceConnects.set(1, 19) faceConnects.set(1, 20) faceConnects.set(7, 21) faceConnects.set(6, 22) faceConnects.set(2, 23) faceCounts = OpenMaya.MIntArray() faceCounts.setLength(6) faceCounts.set(4, 0) faceCounts.set(4, 1) faceCounts.set(4, 2) faceCounts.set(4, 3) faceCounts.set(4, 4) faceCounts.set(4, 5) transFn = OpenMaya.MFnTransform() parent = transFn.create() transFn.setName('poly') meshFn = OpenMaya.MFnMesh() meshFn.create(numVertices, numFaces, points, faceCounts, faceConnects, parent) shapeName = 'polyShape' meshFn.setName(shapeName) # add SPT_HwColor attributes MayaCmds.select( shapeName ) MayaCmds.addAttr(longName='SPT_HwColor', usedAsColor=True, attributeType='float3') MayaCmds.addAttr(longName='SPT_HwColorR', attributeType='float', parent='SPT_HwColor') MayaCmds.addAttr(longName='SPT_HwColorG', attributeType='float', parent='SPT_HwColor') MayaCmds.addAttr(longName='SPT_HwColorB', attributeType='float', parent='SPT_HwColor') # set colors MayaCmds.setAttr(shapeName+'.SPT_HwColor', 0.50, 0.15, 0.75, type='float3') MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe('polyShape.vtx[0:7]') # colors MayaCmds.setKeyframe( shapeName+'.SPT_HwColor') MayaCmds.currentTime(24, update=True) MayaCmds.setKeyframe('polyShape.vtx[0:7]') # colors MayaCmds.setKeyframe( shapeName+'.SPT_HwColor') MayaCmds.currentTime(12, update=True) vtx_11 = OpenMaya.MFloatPoint(-1.0, -1.0, -1.0) vtx_22 = OpenMaya.MFloatPoint( 1.0, -1.0, -1.0) vtx_33 = OpenMaya.MFloatPoint( 1.0, -1.0, 1.0) vtx_44 = OpenMaya.MFloatPoint(-1.0, -1.0, 1.0) vtx_55 = OpenMaya.MFloatPoint(-1.0, 1.0, -1.0) vtx_66 = OpenMaya.MFloatPoint(-1.0, 1.0, 1.0) vtx_77 = OpenMaya.MFloatPoint( 1.0, 1.0, 1.0) vtx_88 = OpenMaya.MFloatPoint( 1.0, 1.0, -1.0) points.set(vtx_11, 0) points.set(vtx_22, 1) points.set(vtx_33, 2) points.set(vtx_44, 3) points.set(vtx_55, 4) points.set(vtx_66, 5) points.set(vtx_77, 6) points.set(vtx_88, 7) meshFn.setPoints(points) MayaCmds.setAttr( shapeName+'.SPT_HwColor', 0.15, 0.5, 0.15, type='float3') MayaCmds.setKeyframe('polyShape.vtx[0:7]') # colors MayaCmds.setKeyframe( shapeName+'.SPT_HwColor') self.__files.append(util.expandFileName('animSPT_HwColor.abc')) self.__files.append(util.expandFileName('animSPT_HwColor_01_14.abc')) self.__files.append(util.expandFileName('animSPT_HwColor_15_24.abc')) MayaCmds.AbcExport(j='-atp SPT_ -fr 1 14 -root poly -file ' + self.__files[-2]) MayaCmds.AbcExport(j='-atp SPT_ -fr 15 24 -root poly -file ' + self.__files[-1]) subprocess.call(self.__abcStitcher + self.__files[-3:]) # reading test MayaCmds.AbcImport(self.__files[-3], mode='open') places = 7 # check colors MayaCmds.currentTime(1, update=True) colorVec_1 = MayaCmds.getAttr(shapeName+'.SPT_HwColor')[0] self.failUnlessAlmostEqual(colorVec_1[0], 0.50, places) self.failUnlessAlmostEqual(colorVec_1[1], 0.15, places) self.failUnlessAlmostEqual(colorVec_1[2], 0.75, places) MayaCmds.currentTime(2, update=True) # only needed for interpolation test on frame 1.422 colorVec_2 = MayaCmds.getAttr(shapeName+'.SPT_HwColor')[0] setTime = MayaCmds.currentTime(1.422, update=True) alpha = (setTime - 1) / (2 - 1) colorVec = MayaCmds.getAttr(shapeName+'.SPT_HwColor')[0] self.failUnlessAlmostEqual(colorVec[0], (1-alpha)*colorVec_1[0]+alpha*colorVec_2[0], places) self.failUnlessAlmostEqual(colorVec[1], (1-alpha)*colorVec_1[1]+alpha*colorVec_2[1], places) self.failUnlessAlmostEqual(colorVec[2], (1-alpha)*colorVec_1[2]+alpha*colorVec_2[2], places) MayaCmds.currentTime(12, update=True) colorVec = MayaCmds.getAttr( shapeName+'.SPT_HwColor' )[0] self.failUnlessAlmostEqual( colorVec[0], 0.15, places) self.failUnlessAlmostEqual( colorVec[1], 0.50, places) self.failUnlessAlmostEqual( colorVec[2], 0.15, places) MayaCmds.currentTime(24, update=True) colorVec = MayaCmds.getAttr(shapeName+'.SPT_HwColor')[0] self.failUnlessAlmostEqual(colorVec[0], 0.50, places) self.failUnlessAlmostEqual(colorVec[1], 0.15, places) self.failUnlessAlmostEqual(colorVec[2], 0.75, places)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util def checkEqualRotate(test, nodeName1, nodeName2, precision): test.failUnlessAlmostEqual(MayaCmds.getAttr(nodeName1 + '.rotateX'), MayaCmds.getAttr(nodeName2 + '.rotateX'), precision) test.failUnlessAlmostEqual(MayaCmds.getAttr(nodeName1 + '.rotateY'), MayaCmds.getAttr(nodeName2 + '.rotateY'), precision) test.failUnlessAlmostEqual(MayaCmds.getAttr(nodeName1 + '.rotateZ'), MayaCmds.getAttr(nodeName2 + '.rotateZ'), precision) def checkEqualTranslate(test, nodeName1, nodeName2, precision): test.failUnlessAlmostEqual(MayaCmds.getAttr(nodeName1 + '.translateX'), MayaCmds.getAttr(nodeName2 + '.translateX'), precision) test.failUnlessAlmostEqual(MayaCmds.getAttr(nodeName1 + '.translateY'), MayaCmds.getAttr(nodeName2 + '.translateY'), precision) test.failUnlessAlmostEqual(MayaCmds.getAttr(nodeName1+'.translateZ'), MayaCmds.getAttr(nodeName2 + '.translateZ'), precision) def createStaticSolarSystem(): MayaCmds.file(new=True, force=True) moon = MayaCmds.polySphere( radius=0.5, name="moon" )[0] MayaCmds.move( -5, 0.0, 0.0, r=1 ) earth = MayaCmds.polySphere( radius=2, name="earth" )[0] MayaCmds.select( moon, earth ) MayaCmds.group(name='group1') MayaCmds.polySphere( radius=5, name="sun" )[0] MayaCmds.move( 25, 0.0, 0.0, r=1 ) MayaCmds.group(name='group2') def createAnimatedSolarSystem(): MayaCmds.file(new=True, force=True) moon = MayaCmds.polySphere(radius=0.5, name="moon")[0] MayaCmds.move(-5, 0.0, 0.0, r=1) earth = MayaCmds.polySphere(radius=2, name="earth")[0] MayaCmds.select(moon, earth) MayaCmds.group(name='group1') MayaCmds.polySphere(radius=5, name="sun")[0] MayaCmds.move(25, 0.0, 0.0, r=1) MayaCmds.group(name='group2') # the sun's simplified self-rotation MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe('sun', at='rotateY', v=0) MayaCmds.currentTime(240, update=True) MayaCmds.setKeyframe('sun', at='rotateY', v=360) # the earth rotate around the sun MayaCmds.expression( s='$angle = (frame-91)/180*3.1415;\n\ earth.translateX = 25+25*sin($angle)') MayaCmds.expression( s='$angle = (frame-91)/180*3.1415;\n\ earth.translateZ = 25*cos($angle)') # the moon rotate around the earth MayaCmds.expression( s='$angle = (frame-91)/180*3.1415+frame;\n\ moon.translateX = earth.translateX+5*sin($angle)') MayaCmds.expression( s='$angle = (frame-91)/180*3.1415+frame;\n\ moon.translateZ = earth.translateZ+5*cos($angle)') class AbcImportSwapTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] # write out an animated Alembic file createAnimatedSolarSystem() self.__files.append(util.expandFileName('testAnimatedSolarSystem.abc')) MayaCmds.AbcExport(j='-fr 1 24 -root group1 -root group2 -file ' + self.__files[-1]) # write out a static Alembic file that's different than the static scene # created by createStaticSolarSystem() MayaCmds.currentTime(12, update=True) self.__files.append(util.expandFileName('testStaticSolarSystem.abc')) MayaCmds.AbcExport(j='-fr 12 12 -root group1 -root group2 -file ' + self.__files[-1]) # write out an animated mesh with animated parent transform node MayaCmds.polyPlane(sx=2, sy=2, w=1, h=1, ch=0, n='polyMesh') MayaCmds.createNode('transform', n='group') MayaCmds.parent('polyMesh', 'group') # key the transform node MayaCmds.setKeyframe('group', attribute='translate', t=[1, 4]) MayaCmds.move(0.36, 0.72, 0.36) MayaCmds.setKeyframe('group', attribute='translate', t=2) #key the mesh node MayaCmds.select('polyMesh.vtx[0:8]') MayaCmds.setKeyframe(t=[1, 4]) MayaCmds.scale(0.1, 0.1, 0.1, r=True) MayaCmds.setKeyframe(t=2) self.__files.append(util.expandFileName('testAnimatedMesh.abc')) MayaCmds.AbcExport(j='-fr 1 4 -root group -file ' + self.__files[-1]) MayaCmds.file(new=True, force=True) def tearDown(self): for f in self.__files : os.remove(f) def testStaticSceneSwapInStaticAlembicTransform(self): createStaticSolarSystem() MayaCmds.AbcImport(self.__files[1], connect='/', debug=False ) # check the swapped scene is the same as frame #12 # tranform node moon self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateX'), -4.1942, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateZ'), 2.9429, 4) # transform node earth self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateX'), 0.4595, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateZ'), 4.7712, 4) # transform node sun self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateX'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateY'), 16.569, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateZ'), 0.0000, 4) def testStaticSceneSwapInAnimatedAbcTransform(self): createStaticSolarSystem() # swap in the animated hierarchy MayaCmds.AbcImport(self.__files[0], connect='/', debug=False) # this is loaded in for value comparison purpose only MayaCmds.AbcImport(self.__files[0], mode='import') # check the swapped scene at every frame for frame in range(1, 25): MayaCmds.currentTime(frame, update=True) # tranform node moon checkEqualTranslate(self, 'group1|moon', 'group3|moon', 4) # transform node earth checkEqualTranslate(self, 'group1|earth', 'group3|earth', 4) # transform node sun checkEqualRotate(self, 'group2|sun', 'group4|sun', 4) def testAnimatedSceneSwapInStaticAbcTransform(self): createAnimatedSolarSystem() MayaCmds.AbcImport(self.__files[1], connect='/') # check the swapped scene is the same as frame #12 # tranform node moon self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateX'), -4.1942, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateZ'), 2.9429, 4) # transform node earth self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateX'), 0.4595, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateZ'), 4.7712, 4) # transform node sun self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateX'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateY'), 16.569, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateZ'), 0.0000, 4) def testRemoveIfNoUpdate(self): createStaticSolarSystem() # add a few nodes that don't exist in the Alembic file MayaCmds.createNode('transform', name='saturn') MayaCmds.parent('saturn', 'group1') MayaCmds.createNode('transform', name='venus') MayaCmds.parent('venus', 'group2') MayaCmds.AbcImport(self.__files[1], connect='/', removeIfNoUpdate=True) # check if venus and saturn is deleted self.failUnlessEqual(MayaCmds.objExists('venus'), False) self.failUnlessEqual(MayaCmds.objExists('saturn'), False) # check the swapped scene is the same as frame #12 # tranform node moon self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateX'), -4.1942, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateZ'), 2.9429, 4) # transform node earth self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateX'), 0.4595, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateZ'), 4.7712, 4) # transform node sun self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateX'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateY'), 16.569, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateZ'), 0.0000, 4) def testCreateIfNotFound(self): createStaticSolarSystem() # delete some nodes MayaCmds.delete( 'sunShape' ) MayaCmds.delete( 'moon' ) MayaCmds.AbcImport(self.__files[1], connect='/', createIfNotFound=True) # check the swapped scene is the same as frame #12 # tranform node moon self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateX'), -4.1942, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateZ'), 2.9429, 4) # transform node earth self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateX'), 0.4595, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateZ'), 4.7712, 4) # transform node sun self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateX'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateY'), 16.569, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateZ'), 0.0000, 4) def testPartialSwap(self): createStaticSolarSystem() MayaCmds.AbcImport(self.__files[1], connect='group1', createIfNotFound=True) # check the swapped scene is the same as frame #12 # tranform node moon self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateX'), -4.1942, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('moon.translateZ'), 2.9429, 4) # transform node earth self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateX'), 0.4595, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('earth.translateZ'), 4.7712, 4) # transform node sun self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateX'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateY'), 0.0000, 4) self.failUnlessAlmostEqual( MayaCmds.getAttr('sun.rotateZ'), 0.0000, 4) def testAnimatedMeshSwap(self): MayaCmds.polyPlane( sx=2, sy=2, w=1, h=1, ch=0, n='polyMesh') MayaCmds.createNode('transform', n='group') MayaCmds.parent('polyMesh', 'group') MayaCmds.AbcImport(self.__files[2], connect='group') # this is loaded in for value comparison purpose only MayaCmds.AbcImport(self.__files[2], mode='import') # check the swapped scene at every frame for frame in range(1, 4): MayaCmds.currentTime(frame, update=True) # tranform node group checkEqualTranslate(self, 'group', 'group1', 4) # tranform node group checkEqualTranslate(self, 'group|polyMesh', 'group1|polyMesh', 4) # mesh node polyMesh for index in range(0, 9): string1 = 'group|polyMesh.vt[%d]' % index string2 = 'group1|polyMesh.vt[%d]' % index self.failUnlessAlmostEqual( MayaCmds.getAttr(string1)[0][0], MayaCmds.getAttr(string2)[0][0], 4, '%s.x != %s.x' % (string1, string2)) self.failUnlessAlmostEqual( MayaCmds.getAttr(string1)[0][1], MayaCmds.getAttr(string2)[0][1], 4, '%s.y != %s.y' % (string1, string2)) self.failUnlessAlmostEqual( MayaCmds.getAttr(string1)[0][2], MayaCmds.getAttr(string2)[0][2], 4, '%s.z != %s.z' % (string1, string2)) def testMeshTopoChange(self): MayaCmds.polySphere( sx=10, sy=15, r=0, n='polyMesh') MayaCmds.createNode('transform', n='group') MayaCmds.parent('polyMesh', 'group') MayaCmds.AbcImport(self.__files[2], connect='group') # this is loaded in for value comparison purpose only MayaCmds.AbcImport(self.__files[2], mode='import') # check the swapped scene at every frame for frame in range(1, 4): MayaCmds.currentTime(frame, update=True) # tranform node group checkEqualTranslate(self, 'group', 'group1', 4) # tranform node group checkEqualTranslate(self, 'group|polyMesh', 'group1|polyMesh', 4) # mesh node polyMesh for index in range(0, 9): string1 = 'group|polyMesh.vt[%d]' % index string2 = 'group1|polyMesh.vt[%d]' % index self.failUnlessAlmostEqual( MayaCmds.getAttr(string1)[0][0], MayaCmds.getAttr(string2)[0][0], 4, '%s.x != %s.x' % (string1, string2)) self.failUnlessAlmostEqual( MayaCmds.getAttr(string1)[0][1], MayaCmds.getAttr(string2)[0][1], 4, '%s.y != %s.y' % (string1, string2)) self.failUnlessAlmostEqual( MayaCmds.getAttr(string1)[0][2], MayaCmds.getAttr(string2)[0][2], 4, '%s.z != %s.z' % (string1, string2))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util class VisibilityTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def testStaticVisibility(self): poly1 = MayaCmds.polyPlane(sx=2, sy=2, w=1, h=1, ch=0)[0] group1 = MayaCmds.group() group2 = MayaCmds.createNode("transform") MayaCmds.select(group1, group2) group3 = MayaCmds.group() group4 = (MayaCmds.duplicate(group1, rr=1))[0] group5 = MayaCmds.group() MayaCmds.select(group3, group5) root = MayaCmds.group(name='root') MayaCmds.setAttr(group1 + '.visibility', 0) MayaCmds.setAttr(group2 + '.visibility', 0) MayaCmds.setAttr(group5 + '.visibility', 0) self.__files.append(util.expandFileName('staticVisibilityTest.abc')) MayaCmds.AbcExport(j='-wv -root %s -file %s' % (root, self.__files[-1])) MayaCmds.AbcImport(self.__files[-1], m='open') self.failIf(MayaCmds.getAttr(group1+'.visibility')) self.failIf(MayaCmds.getAttr(group2+'.visibility')) self.failIf(MayaCmds.getAttr(group5+'.visibility')) self.failUnless(MayaCmds.getAttr(group1+'|'+poly1+'.visibility')) self.failUnless(MayaCmds.getAttr(group4+'|'+poly1+'.visibility')) self.failUnless(MayaCmds.getAttr(group3+'.visibility')) self.failUnless(MayaCmds.getAttr(group4+'.visibility')) self.failUnless(MayaCmds.getAttr(root+'.visibility')) def testAnimVisibility(self): poly1 = MayaCmds.polyPlane( sx=2, sy=2, w=1, h=1, ch=0)[0] group1 = MayaCmds.group() group2 = MayaCmds.createNode("transform") MayaCmds.select(group1, group2) group3 = MayaCmds.group() group4 = (MayaCmds.duplicate(group1, rr=1))[0] group5 = MayaCmds.group() MayaCmds.select(group3, group5) root = MayaCmds.group(name='root') MayaCmds.setKeyframe(group1 + '.visibility', v=0, t=[1, 4]) MayaCmds.setKeyframe(group2 + '.visibility', v=0, t=[1, 4]) MayaCmds.setKeyframe(group5 + '.visibility', v=0, t=[1, 4]) MayaCmds.setKeyframe(group1 + '.visibility', v=1, t=2) MayaCmds.setKeyframe(group2 + '.visibility', v=1, t=2) MayaCmds.setKeyframe(group5 + '.visibility', v=1, t=2) self.__files.append(util.expandFileName('animVisibilityTest.abc')) MayaCmds.AbcExport(j='-wv -fr 1 4 -root %s -file %s' % (root, self.__files[-1])) MayaCmds.AbcImport(self.__files[-1], mode='open') MayaCmds.currentTime(1, update = True) self.failIf(MayaCmds.getAttr(group1 + '.visibility')) self.failIf(MayaCmds.getAttr(group2 + '.visibility')) self.failIf(MayaCmds.getAttr(group5 + '.visibility')) self.failUnless(MayaCmds.getAttr(group1 + '|' + poly1 + '.visibility')) self.failUnless(MayaCmds.getAttr(group4 + '|' + poly1 + '.visibility')) self.failUnless(MayaCmds.getAttr(group3 + '.visibility')) self.failUnless(MayaCmds.getAttr(group4 + '.visibility')) self.failUnless(MayaCmds.getAttr(root+'.visibility')) MayaCmds.currentTime(2, update = True) self.failUnless(MayaCmds.getAttr(group1 + '.visibility')) self.failUnless(MayaCmds.getAttr(group2 + '.visibility')) self.failUnless(MayaCmds.getAttr(group5 + '.visibility')) self.failUnless(MayaCmds.getAttr(group1 + '|' + poly1 + '.visibility')) self.failUnless(MayaCmds.getAttr(group4 + '|' + poly1 + '.visibility')) self.failUnless(MayaCmds.getAttr(group3 + '.visibility')) self.failUnless(MayaCmds.getAttr(group4 + '.visibility')) self.failUnless(MayaCmds.getAttr(root + '.visibility')) MayaCmds.currentTime(4, update = True ) self.failIf(MayaCmds.getAttr(group1 + '.visibility')) self.failIf(MayaCmds.getAttr(group2 + '.visibility')) self.failIf(MayaCmds.getAttr(group5 + '.visibility')) self.failUnless(MayaCmds.getAttr(group1 + '|' + poly1 + '.visibility')) self.failUnless(MayaCmds.getAttr(group4 + '|' + poly1 + '.visibility')) self.failUnless(MayaCmds.getAttr(group3 + '.visibility')) self.failUnless(MayaCmds.getAttr(group4 + '.visibility')) self.failUnless(MayaCmds.getAttr(root+'.visibility'))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** import maya.cmds as MayaCmds import os import subprocess import unittest import util class AnimTransformTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__abcStitcher = [os.environ['AbcStitcher']] self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testAnimTransformReadWrite(self): nodeName = MayaCmds.createNode('transform', n='test') # shear MayaCmds.setKeyframe(nodeName, value=0, attribute='shearXY', t=[1, 24]) MayaCmds.setKeyframe(nodeName, value=0, attribute='shearYZ', t=[1, 24]) MayaCmds.setKeyframe(nodeName, value=0, attribute='shearXZ', t=[1, 24]) MayaCmds.setKeyframe(nodeName, value=1.5, attribute='shearXY', t=12) MayaCmds.setKeyframe(nodeName, value=5, attribute='shearYZ', t=12) MayaCmds.setKeyframe(nodeName, value=2.5, attribute='shearXZ', t=12) # translate MayaCmds.setKeyframe('test', value=0, attribute='translateX', t=[1, 24]) MayaCmds.setKeyframe('test', value=0, attribute='translateY', t=[1, 24]) MayaCmds.setKeyframe('test', value=0, attribute='translateZ', t=[1, 24]) MayaCmds.setKeyframe('test', value=1.5, attribute='translateX', t=12) MayaCmds.setKeyframe('test', value=5, attribute='translateY', t=12) MayaCmds.setKeyframe('test', value=2.5, attribute='translateZ', t=12) # rotate MayaCmds.setKeyframe('test', value=0, attribute='rotateX', t=[1, 24]) MayaCmds.setKeyframe('test', value=0, attribute='rotateY', t=[1, 24]) MayaCmds.setKeyframe('test', value=0, attribute='rotateZ', t=[1, 24]) MayaCmds.setKeyframe('test', value=24, attribute='rotateX', t=12) MayaCmds.setKeyframe('test', value=53, attribute='rotateY', t=12) MayaCmds.setKeyframe('test', value=90, attribute='rotateZ', t=12) # scale MayaCmds.setKeyframe('test', value=1, attribute='scaleX', t=[1, 24]) MayaCmds.setKeyframe('test', value=1, attribute='scaleY', t=[1, 24]) MayaCmds.setKeyframe('test', value=1, attribute='scaleZ', t=[1, 24]) MayaCmds.setKeyframe('test', value=1.2, attribute='scaleX', t=12) MayaCmds.setKeyframe('test', value=1.5, attribute='scaleY', t=12) MayaCmds.setKeyframe('test', value=1.5, attribute='scaleZ', t=12) # rotate pivot MayaCmds.setKeyframe('test', value=0.5, attribute='rotatePivotX', t=[1, 24]) MayaCmds.setKeyframe('test', value=-0.1, attribute='rotatePivotY', t=[1, 24]) MayaCmds.setKeyframe('test', value=1, attribute='rotatePivotZ', t=[1, 24]) MayaCmds.setKeyframe('test', value=0.8, attribute='rotatePivotX', t=12) MayaCmds.setKeyframe('test', value=1.5, attribute='rotatePivotY', t=12) MayaCmds.setKeyframe('test', value=-1, attribute='rotatePivotZ', t=12) # scale pivot MayaCmds.setKeyframe('test', value=1.2, attribute='scalePivotX', t=[1, 24]) MayaCmds.setKeyframe('test', value=1.0, attribute='scalePivotY', t=[1, 24]) MayaCmds.setKeyframe('test', value=1.2, attribute='scalePivotZ', t=[1, 24]) MayaCmds.setKeyframe('test', value=1.4, attribute='scalePivotX', t=12) MayaCmds.setKeyframe('test', value=1.5, attribute='scalePivotY', t=12) MayaCmds.setKeyframe('test', value=1.5, attribute='scalePivotZ', t=12) self.__files.append(util.expandFileName('testAnimTransformReadWrite.abc')) self.__files.append(util.expandFileName('testAnimTransformReadWrite01_14.abc')) self.__files.append(util.expandFileName('testAnimTransformReadWrite15_24.abc')) MayaCmds.AbcExport(j='-fr 1 14 -root test -file ' + self.__files[-2]) MayaCmds.AbcExport(j='-fr 15 24 -root test -file ' + self.__files[-1]) subprocess.call(self.__abcStitcher + self.__files[-3:]) MayaCmds.AbcImport(self.__files[-3], mode='open') # frame 1 MayaCmds.currentTime(1, update=True) self.failUnlessEqual(0, MayaCmds.getAttr('test.shearXY')) self.failUnlessEqual(0, MayaCmds.getAttr('test.shearYZ')) self.failUnlessEqual(0, MayaCmds.getAttr('test.shearXZ')) self.failUnlessEqual(0, MayaCmds.getAttr('test.translateX')) self.failUnlessEqual(0, MayaCmds.getAttr('test.translateY')) self.failUnlessEqual(0, MayaCmds.getAttr('test.translateZ')) self.failUnlessEqual(0, MayaCmds.getAttr('test.rotateX')) self.failUnlessEqual(0, MayaCmds.getAttr('test.rotateY')) self.failUnlessEqual(0, MayaCmds.getAttr('test.rotateZ')) self.failUnlessEqual(1, MayaCmds.getAttr('test.scaleX')) self.failUnlessEqual(1, MayaCmds.getAttr('test.scaleY')) self.failUnlessEqual(1, MayaCmds.getAttr('test.scaleZ')) self.failUnlessEqual(0.5, MayaCmds.getAttr('test.rotatePivotX')) self.failUnlessEqual(-0.1, MayaCmds.getAttr('test.rotatePivotY')) self.failUnlessEqual(1, MayaCmds.getAttr('test.rotatePivotZ')) self.failUnlessEqual(1.2, MayaCmds.getAttr('test.scalePivotX')) self.failUnlessEqual(1.0, MayaCmds.getAttr('test.scalePivotY')) self.failUnlessEqual(1.2, MayaCmds.getAttr('test.scalePivotZ')) # frame 12 MayaCmds.currentTime(12, update=True); abcNodeName = MayaCmds.ls(exactType='AlembicNode') MayaCmds.dgeval(abcNodeName, verbose=True) self.failUnlessEqual(1.5, MayaCmds.getAttr('test.shearXY')) self.failUnlessEqual(5, MayaCmds.getAttr('test.shearYZ')) self.failUnlessEqual(2.5, MayaCmds.getAttr('test.shearXZ')) self.failUnlessEqual(1.5, MayaCmds.getAttr('test.translateX')) self.failUnlessEqual(5, MayaCmds.getAttr('test.translateY')) self.failUnlessEqual(2.5, MayaCmds.getAttr('test.translateZ')) self.failUnlessAlmostEqual(24.0, MayaCmds.getAttr('test.rotateX'), 4) self.failUnlessAlmostEqual(53.0, MayaCmds.getAttr('test.rotateY'), 4) self.failUnlessAlmostEqual(90.0, MayaCmds.getAttr('test.rotateZ'), 4) self.failUnlessEqual(1.2, MayaCmds.getAttr('test.scaleX')) self.failUnlessEqual(1.5, MayaCmds.getAttr('test.scaleY')) self.failUnlessEqual(1.5, MayaCmds.getAttr('test.scaleZ')) self.failUnlessEqual(0.8, MayaCmds.getAttr('test.rotatePivotX')) self.failUnlessEqual(1.5, MayaCmds.getAttr('test.rotatePivotY')) self.failUnlessEqual(-1, MayaCmds.getAttr('test.rotatePivotZ')) self.failUnlessEqual(1.4, MayaCmds.getAttr('test.scalePivotX')) self.failUnlessEqual(1.5, MayaCmds.getAttr('test.scalePivotY')) self.failUnlessEqual(1.5, MayaCmds.getAttr('test.scalePivotZ')) # frame 24 MayaCmds.currentTime(24, update=True); abcNodeName = MayaCmds.ls(exactType='AlembicNode') MayaCmds.dgeval(abcNodeName, verbose=True) self.failUnlessEqual(0, MayaCmds.getAttr('test.shearXY')) self.failUnlessEqual(0, MayaCmds.getAttr('test.shearYZ')) self.failUnlessEqual(0, MayaCmds.getAttr('test.shearXZ')) self.failUnlessEqual(0, MayaCmds.getAttr('test.translateX')) self.failUnlessEqual(0, MayaCmds.getAttr('test.translateY')) self.failUnlessEqual(0, MayaCmds.getAttr('test.translateZ')) self.failUnlessEqual(0, MayaCmds.getAttr('test.rotateX')) self.failUnlessEqual(0, MayaCmds.getAttr('test.rotateY')) self.failUnlessEqual(0, MayaCmds.getAttr('test.rotateZ')) self.failUnlessEqual(1, MayaCmds.getAttr('test.scaleX')) self.failUnlessEqual(1, MayaCmds.getAttr('test.scaleY')) self.failUnlessEqual(1, MayaCmds.getAttr('test.scaleZ')) self.failUnlessEqual(0.5, MayaCmds.getAttr('test.rotatePivotX')) self.failUnlessEqual(-0.1, MayaCmds.getAttr('test.rotatePivotY')) self.failUnlessEqual(1, MayaCmds.getAttr('test.rotatePivotZ')) self.failUnlessEqual(1.2, MayaCmds.getAttr('test.scalePivotX')) self.failUnlessEqual(1.0, MayaCmds.getAttr('test.scalePivotY')) self.failUnlessEqual(1.2, MayaCmds.getAttr('test.scalePivotZ')) def testSampledConnectionDetectionRW(self): # connect to plugs at parent level and see if when loaded back # the sampled channels are recognized correctly driver = MayaCmds.createNode('transform', n='driverTrans') # shear MayaCmds.setKeyframe(driver, value=0, attribute='shearXY', t=[1, 24]) MayaCmds.setKeyframe(driver, value=0, attribute='shearYZ', t=[1, 24]) MayaCmds.setKeyframe(driver, value=0, attribute='shearXZ', t=[1, 24]) MayaCmds.setKeyframe(driver, value=1.5, attribute='shearXY', t=12) MayaCmds.setKeyframe(driver, value=5, attribute='shearYZ', t=12) MayaCmds.setKeyframe(driver, value=2.5, attribute='shearXZ', t=12) # translate MayaCmds.setKeyframe(driver, value=0, attribute='translateX', t=[1, 24]) MayaCmds.setKeyframe(driver, value=0, attribute='translateY', t=[1, 24]) MayaCmds.setKeyframe(driver, value=0, attribute='translateZ', t=[1, 24]) MayaCmds.setKeyframe(driver, value=1.5, attribute='translateX', t=12) MayaCmds.setKeyframe(driver, value=5, attribute='translateY', t=12) MayaCmds.setKeyframe(driver, value=2.5, attribute='translateZ', t=12) # rotate MayaCmds.setKeyframe(driver, value=0, attribute='rotateX', t=[1, 24]) MayaCmds.setKeyframe(driver, value=0, attribute='rotateY', t=[1, 24]) MayaCmds.setKeyframe(driver, value=0, attribute='rotateZ', t=[1, 24]) MayaCmds.setKeyframe(driver, value=24, attribute='rotateX', t=12) MayaCmds.setKeyframe(driver, value=53, attribute='rotateY', t=12) MayaCmds.setKeyframe(driver, value=90, attribute='rotateZ', t=12) # scale MayaCmds.setKeyframe(driver, value=1, attribute='scaleX', t=[1, 24]) MayaCmds.setKeyframe(driver, value=1, attribute='scaleY', t=[1, 24]) MayaCmds.setKeyframe(driver, value=1, attribute='scaleZ', t=[1, 24]) MayaCmds.setKeyframe(driver, value=1.2, attribute='scaleX', t=12) MayaCmds.setKeyframe(driver, value=1.5, attribute='scaleY', t=12) MayaCmds.setKeyframe(driver, value=1.5, attribute='scaleZ', t=12) # rotate pivot MayaCmds.setKeyframe(driver, value=0.5, attribute='rotatePivotX', t=[1, 24]) MayaCmds.setKeyframe(driver, value=-0.1, attribute='rotatePivotY', t=[1, 24]) MayaCmds.setKeyframe(driver, value=1, attribute='rotatePivotZ', t=[1, 24]) MayaCmds.setKeyframe(driver, value=0.8, attribute='rotatePivotX', t=12) MayaCmds.setKeyframe(driver, value=1.5, attribute='rotatePivotY', t=12) MayaCmds.setKeyframe(driver, value=-1, attribute='rotatePivotZ', t=12) # scale pivot MayaCmds.setKeyframe(driver, value=1.2, attribute='scalePivotX', t=[1, 24]) MayaCmds.setKeyframe(driver, value=1.0, attribute='scalePivotY', t=[1, 24]) MayaCmds.setKeyframe(driver, value=1.2, attribute='scalePivotZ', t=[1, 24]) MayaCmds.setKeyframe(driver, value=1.4, attribute='scalePivotX', t=12) MayaCmds.setKeyframe(driver, value=1.5, attribute='scalePivotY', t=12) MayaCmds.setKeyframe(driver, value=1.5, attribute='scalePivotZ', t=12) # create the transform node that's been driven by the connections driven = MayaCmds.createNode('transform', n = 'drivenTrans') MayaCmds.connectAttr(driver+'.translate', driven+'.translate') MayaCmds.connectAttr(driver+'.scale', driven+'.scale') MayaCmds.connectAttr(driver+'.rotate', driven+'.rotate') MayaCmds.connectAttr(driver+'.shear', driven+'.shear') MayaCmds.connectAttr(driver+'.rotatePivot', driven+'.rotatePivot') MayaCmds.connectAttr(driver+'.scalePivot', driven+'.scalePivot') self.__files.append(util.expandFileName('testSampledTransformDetection.abc')) MayaCmds.AbcExport(j='-fr 1 24 -root drivenTrans -file ' + self.__files[-1]) # reading test MayaCmds.AbcImport(self.__files[-1], mode='open') # frame 1 MayaCmds.currentTime(1, update=True) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.shearXY')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.shearYZ')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.shearXZ')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.translateX')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.translateY')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.translateZ')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.rotateX')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.rotateY')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.rotateZ')) self.failUnlessEqual(1, MayaCmds.getAttr(driven+'.scaleX')) self.failUnlessEqual(1, MayaCmds.getAttr(driven+'.scaleY')) self.failUnlessEqual(1, MayaCmds.getAttr(driven+'.scaleZ')) self.failUnlessEqual(0.5, MayaCmds.getAttr(driven+'.rotatePivotX')) self.failUnlessEqual(-0.1, MayaCmds.getAttr(driven+'.rotatePivotY')) self.failUnlessEqual(1, MayaCmds.getAttr(driven+'.rotatePivotZ')) self.failUnlessEqual(1.2, MayaCmds.getAttr(driven+'.scalePivotX')) self.failUnlessEqual(1.0, MayaCmds.getAttr(driven+'.scalePivotY')) self.failUnlessEqual(1.2, MayaCmds.getAttr(driven+'.scalePivotZ')) # frame 12 MayaCmds.currentTime(12, update=True); abcNodeName = MayaCmds.ls(exactType='AlembicNode') MayaCmds.dgeval(abcNodeName, verbose=True) self.failUnlessEqual(1.5, MayaCmds.getAttr(driven+'.shearXY')) self.failUnlessEqual(5, MayaCmds.getAttr(driven+'.shearYZ')) self.failUnlessEqual(2.5, MayaCmds.getAttr(driven+'.shearXZ')) self.failUnlessEqual(1.5, MayaCmds.getAttr(driven+'.translateX')) self.failUnlessEqual(5, MayaCmds.getAttr(driven+'.translateY')) self.failUnlessEqual(2.5, MayaCmds.getAttr(driven+'.translateZ')) self.failUnlessAlmostEqual(24.0, MayaCmds.getAttr(driven+'.rotateX'), 4) self.failUnlessAlmostEqual(53.0, MayaCmds.getAttr(driven+'.rotateY'), 4) self.failUnlessAlmostEqual(90.0, MayaCmds.getAttr(driven+'.rotateZ'), 4) self.failUnlessEqual(1.2, MayaCmds.getAttr(driven+'.scaleX')) self.failUnlessEqual(1.5, MayaCmds.getAttr(driven+'.scaleY')) self.failUnlessEqual(1.5, MayaCmds.getAttr(driven+'.scaleZ')) self.failUnlessEqual(0.8, MayaCmds.getAttr(driven+'.rotatePivotX')) self.failUnlessEqual(1.5, MayaCmds.getAttr(driven+'.rotatePivotY')) self.failUnlessEqual(-1, MayaCmds.getAttr(driven+'.rotatePivotZ')) self.failUnlessEqual(1.4, MayaCmds.getAttr(driven+'.scalePivotX')) self.failUnlessEqual(1.5, MayaCmds.getAttr(driven+'.scalePivotY')) self.failUnlessEqual(1.5, MayaCmds.getAttr(driven+'.scalePivotZ')) # frame 24 MayaCmds.currentTime(24, update=True); abcNodeName = MayaCmds.ls(exactType='AlembicNode') MayaCmds.dgeval(abcNodeName, verbose=True) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.shearXY')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.shearYZ')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.shearXZ')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.translateX')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.translateY')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.translateZ')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.rotateX')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.rotateY')) self.failUnlessEqual(0, MayaCmds.getAttr(driven+'.rotateZ')) self.failUnlessEqual(1, MayaCmds.getAttr(driven+'.scaleX')) self.failUnlessEqual(1, MayaCmds.getAttr(driven+'.scaleY')) self.failUnlessEqual(1, MayaCmds.getAttr(driven+'.scaleZ')) self.failUnlessEqual(0.5, MayaCmds.getAttr(driven+'.rotatePivotX')) self.failUnlessEqual(-0.1, MayaCmds.getAttr(driven+'.rotatePivotY')) self.failUnlessEqual(1, MayaCmds.getAttr(driven+'.rotatePivotZ')) self.failUnlessEqual(1.2, MayaCmds.getAttr(driven+'.scalePivotX')) self.failUnlessEqual(1.0, MayaCmds.getAttr(driven+'.scalePivotY')) self.failUnlessEqual(1.2, MayaCmds.getAttr(driven+'.scalePivotZ'))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util def makeRobot(): MayaCmds.polyCube(name="head") MayaCmds.move(0, 4, 0, r=1) MayaCmds.polyCube(name="chest") MayaCmds.scale(2, 2.5, 1) MayaCmds.move(0, 2, 0, r=1) MayaCmds.polyCube(name="leftArm") MayaCmds.move(0, 3, 0, r=1) MayaCmds.scale(2, 0.5, 1, r=1) MayaCmds.duplicate(name="rightArm") MayaCmds.select("leftArm") MayaCmds.move(1.25, 0, 0, r=1) MayaCmds.rotate(0, 0, 32, r=1, os=1) MayaCmds.select("rightArm") MayaCmds.move(-1.25, 0, 0, r=1) MayaCmds.rotate(0, 0, -32, r=1, os=1) MayaCmds.select("rightArm", "leftArm", "chest", r=1) MayaCmds.group(name="body") MayaCmds.polyCube(name="bottom") MayaCmds.scale(2, 0.5, 1) MayaCmds.move(0, 0.5, 0, r=1) MayaCmds.polyCube(name="leftLeg") MayaCmds.scale(0.65, 2.8, 1, r=1) MayaCmds.move(-0.5, -1, 0, r=1) MayaCmds.duplicate(name="rightLeg") MayaCmds.move(1, 0, 0, r=1) MayaCmds.select("rightLeg", "leftLeg", "bottom", r=1) MayaCmds.group(name="lower") MayaCmds.select("head", "body", "lower", r=1) MayaCmds.group(name="robot") class selectionTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testSelectionNamespace(self): nodes = MayaCmds.polyCube() MayaCmds.namespace(add="potato") MayaCmds.rename(nodes[0], "potato:" + nodes[0]) MayaCmds.select(MayaCmds.ls(type="mesh")) self.__files.append(util.expandFileName('selectionTest_namespace.abc')) MayaCmds.AbcExport(j='-sl -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], m='open') self.failUnless(MayaCmds.ls(type="mesh") != 1) def testSelectionFlag(self): makeRobot() MayaCmds.select('bottom', 'leftArm', 'head') self.__files.append(util.expandFileName('selectionTest_partial.abc')) MayaCmds.AbcExport(j='-sl -root head -root body -root lower -file ' + self.__files[-1]) self.__files.append(util.expandFileName('selectionTest.abc')) MayaCmds.AbcExport(j='-sl -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], m='open') self.failUnless(MayaCmds.objExists("robot|head")) self.failUnless(MayaCmds.objExists("robot|body|leftArm")) self.failUnless(MayaCmds.objExists("robot|lower|bottom")) self.failIf(MayaCmds.objExists("robot|body|rightArm")) self.failIf(MayaCmds.objExists("robot|body|chest")) self.failIf(MayaCmds.objExists("robot|lower|rightLeg")) self.failIf(MayaCmds.objExists("robot|lower|leftLeg")) MayaCmds.AbcImport(self.__files[-2], m='open') self.failUnless(MayaCmds.objExists("head")) self.failUnless(MayaCmds.objExists("body|leftArm")) self.failUnless(MayaCmds.objExists("lower|bottom")) # we didnt actually select any meshes so there shouldnt # be any in the scene self.failIf(MayaCmds.ls(type='mesh'))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds from maya.mel import eval as MelEval import os import maya.OpenMaya as OpenMaya import unittest import util class StaticMeshTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def testStaticMeshReadWrite(self): numFaces = 6 numVertices = 8 numFaceConnects = 24 vtx_1 = OpenMaya.MFloatPoint(-0.5, -0.5, -0.5) vtx_2 = OpenMaya.MFloatPoint( 0.5, -0.5, -0.5) vtx_3 = OpenMaya.MFloatPoint( 0.5, -0.5, 0.5) vtx_4 = OpenMaya.MFloatPoint(-0.5, -0.5, 0.5) vtx_5 = OpenMaya.MFloatPoint(-0.5, 0.5, -0.5) vtx_6 = OpenMaya.MFloatPoint(-0.5, 0.5, 0.5) vtx_7 = OpenMaya.MFloatPoint( 0.5, 0.5, 0.5) vtx_8 = OpenMaya.MFloatPoint( 0.5, 0.5, -0.5) points = OpenMaya.MFloatPointArray() points.setLength(8) points.set(vtx_1, 0) points.set(vtx_2, 1) points.set(vtx_3, 2) points.set(vtx_4, 3) points.set(vtx_5, 4) points.set(vtx_6, 5) points.set(vtx_7, 6) points.set(vtx_8, 7) faceConnects = OpenMaya.MIntArray() faceConnects.setLength(numFaceConnects) faceConnects.set(0, 0) faceConnects.set(1, 1) faceConnects.set(2, 2) faceConnects.set(3, 3) faceConnects.set(4, 4) faceConnects.set(5, 5) faceConnects.set(6, 6) faceConnects.set(7, 7) faceConnects.set(3, 8) faceConnects.set(2, 9) faceConnects.set(6, 10) faceConnects.set(5, 11) faceConnects.set(0, 12) faceConnects.set(3, 13) faceConnects.set(5, 14) faceConnects.set(4, 15) faceConnects.set(0, 16) faceConnects.set(4, 17) faceConnects.set(7, 18) faceConnects.set(1, 19) faceConnects.set(1, 20) faceConnects.set(7, 21) faceConnects.set(6, 22) faceConnects.set(2, 23) faceCounts = OpenMaya.MIntArray() faceCounts.setLength(6) faceCounts.set(4, 0) faceCounts.set(4, 1) faceCounts.set(4, 2) faceCounts.set(4, 3) faceCounts.set(4, 4) faceCounts.set(4, 5) transFn = OpenMaya.MFnTransform() parent = transFn.create() transFn.setName('mesh') meshFn = OpenMaya.MFnMesh() meshFn.create(numVertices, numFaces, points, faceCounts, faceConnects, parent) meshFn.setName("meshShape"); self.__files.append(util.expandFileName('testStaticMeshReadWrite.abc')) MayaCmds.AbcExport(j='-root mesh -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], mode='open') sList = OpenMaya.MSelectionList() sList.add('meshShape') meshObj = OpenMaya.MObject() sList.getDependNode(0, meshObj) meshFn = OpenMaya.MFnMesh(meshObj) # check the point list meshPoints = OpenMaya.MFloatPointArray() meshFn.getPoints(meshPoints); self.failUnlessEqual(vtx_1, meshPoints[0]) self.failUnlessEqual(vtx_2, meshPoints[1]) self.failUnlessEqual(vtx_3, meshPoints[2]) self.failUnlessEqual(vtx_4, meshPoints[3]) self.failUnlessEqual(vtx_5, meshPoints[4]) self.failUnlessEqual(vtx_6, meshPoints[5]) self.failUnlessEqual(vtx_7, meshPoints[6]) self.failUnlessEqual(vtx_8, meshPoints[7]) # check the polygonvertices list vertexList = OpenMaya.MIntArray() faceConnects = OpenMaya.MIntArray() faceConnects.setLength(4) faceConnects.set(0, 0) faceConnects.set(1, 1) faceConnects.set(2, 2) faceConnects.set(3, 3) meshFn.getPolygonVertices(0, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(4, 0) faceConnects.set(5, 1) faceConnects.set(6, 2) faceConnects.set(7, 3) meshFn.getPolygonVertices(1, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(3, 0) faceConnects.set(2, 1) faceConnects.set(6, 2) faceConnects.set(5, 3) meshFn.getPolygonVertices(2, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(0, 0) faceConnects.set(3, 1) faceConnects.set(5, 2) faceConnects.set(4, 3) meshFn.getPolygonVertices(3, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(0, 0) faceConnects.set(4, 1) faceConnects.set(7, 2) faceConnects.set(1, 3) meshFn.getPolygonVertices(4, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(1, 0) faceConnects.set(7, 1) faceConnects.set(6, 2) faceConnects.set(2, 3) meshFn.getPolygonVertices(5, vertexList) self.failUnlessEqual(faceConnects, vertexList)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util class LoadWorldSpaceTranslateJobTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def testStaticLoadWorldSpaceTranslateJobReadWrite(self): nodeName = MayaCmds.polyCube(n='cube') root = nodeName[0] MayaCmds.setAttr(root+'.rotateX', 45) MayaCmds.setAttr(root+'.scaleX', 1.5) MayaCmds.setAttr(root+'.translateY', -1.95443) nodeName = MayaCmds.group() MayaCmds.setAttr(nodeName+'.rotateY', 15) MayaCmds.setAttr(nodeName+'.translateY', -3.95443) nodeName = MayaCmds.group() MayaCmds.setAttr(nodeName+'.rotateZ',-90) MayaCmds.setAttr(nodeName+'.shearXZ',2.555) self.__files.append(util.expandFileName('testStaticLoadWorldSpaceTranslateJob.abc')) MayaCmds.AbcExport(j='-ws -root %s -file %s' % (root, self.__files[-1])) # reading test MayaCmds.AbcImport(self.__files[-1], mode='open') self.failUnlessAlmostEqual(0, MayaCmds.getAttr(root+'.translateX'), 3) self.failUnlessAlmostEqual(-5.909, MayaCmds.getAttr(root+'.translateY'), 3) self.failUnlessAlmostEqual(0, MayaCmds.getAttr(root+'.translateZ'), 3) self.failUnlessAlmostEqual(68.211, MayaCmds.getAttr(root+'.rotateX'), 3) self.failUnlessAlmostEqual(40.351, MayaCmds.getAttr(root+'.rotateY'), 3) self.failUnlessAlmostEqual(-90, MayaCmds.getAttr(root+'.rotateZ'), 3) self.failUnlessAlmostEqual(0.600, MayaCmds.getAttr(root+'.scaleX'), 3) self.failUnlessAlmostEqual(1.905, MayaCmds.getAttr(root+'.scaleY'), 3) self.failUnlessAlmostEqual(1.313, MayaCmds.getAttr(root+'.scaleZ'), 3) self.failUnlessAlmostEqual(0.539, MayaCmds.getAttr(root+'.shearXY'), 3) self.failUnlessAlmostEqual(0.782, MayaCmds.getAttr(root+'.shearXZ'), 3) self.failUnlessAlmostEqual(1.051, MayaCmds.getAttr(root+'.shearYZ'), 3) def testAnimLoadWorldSpaceTranslateJobReadWrite(self): nodeName = MayaCmds.polyCube(n='cube') root = nodeName[0] MayaCmds.setAttr(root+'.rotateX', 45) MayaCmds.setAttr(root+'.scaleX', 1.5) MayaCmds.setAttr(root+'.translateY', -1.95443) MayaCmds.setKeyframe(root, value=0, attribute='translateX', t=[1, 24]) MayaCmds.setKeyframe(root, value=1, attribute='translateX', t=12) nodeName = MayaCmds.group() MayaCmds.setAttr(nodeName+'.rotateY', 15) MayaCmds.setAttr(nodeName+'.translateY', -3.95443) nodeName = MayaCmds.group() MayaCmds.setAttr(nodeName+'.rotateZ',-90) MayaCmds.setAttr(nodeName+'.shearXZ',2.555) self.__files.append(util.expandFileName('testAnimLoadWorldSpaceTranslateJob.abc')) MayaCmds.AbcExport(j='-fr 1 24 -ws -root %s -file %s' % (root, self.__files[-1])) # reading test MayaCmds.AbcImport(self.__files[-1], mode='open') # frame 1 MayaCmds.currentTime(1, update=True) self.failUnlessAlmostEqual(0, MayaCmds.getAttr(root+'.translateX'), 3) self.failUnlessAlmostEqual(-5.909, MayaCmds.getAttr(root+'.translateY'), 3) self.failUnlessAlmostEqual(0, MayaCmds.getAttr(root+'.translateZ'), 3) self.failUnlessAlmostEqual(68.211, MayaCmds.getAttr(root+'.rotateX'), 3) self.failUnlessAlmostEqual(40.351, MayaCmds.getAttr(root+'.rotateY'), 3) self.failUnlessAlmostEqual(-90, MayaCmds.getAttr(root+'.rotateZ'), 3) self.failUnlessAlmostEqual(0.600, MayaCmds.getAttr(root+'.scaleX'), 3) self.failUnlessAlmostEqual(1.905, MayaCmds.getAttr(root+'.scaleY'), 3) self.failUnlessAlmostEqual(1.313, MayaCmds.getAttr(root+'.scaleZ'), 3) self.failUnlessAlmostEqual(0.539, MayaCmds.getAttr(root+'.shearXY'), 3) self.failUnlessAlmostEqual(0.782, MayaCmds.getAttr(root+'.shearXZ'), 3) self.failUnlessAlmostEqual(1.051, MayaCmds.getAttr(root+'.shearYZ'), 3) # frame 12 MayaCmds.currentTime(12, update=True) self.failUnlessAlmostEqual(0, MayaCmds.getAttr(root+'.translateX'), 3) self.failUnlessAlmostEqual(-6.2135, MayaCmds.getAttr(root+'.translateY'), 3) self.failUnlessAlmostEqual(-0.258819, MayaCmds.getAttr(root+'.translateZ'), 3) self.failUnlessAlmostEqual(68.211, MayaCmds.getAttr(root+'.rotateX'), 3) self.failUnlessAlmostEqual(40.351, MayaCmds.getAttr(root+'.rotateY'), 3) self.failUnlessAlmostEqual(-90, MayaCmds.getAttr(root+'.rotateZ'), 3) self.failUnlessAlmostEqual(0.600, MayaCmds.getAttr(root+'.scaleX'), 3) self.failUnlessAlmostEqual(1.905, MayaCmds.getAttr(root+'.scaleY'), 3) self.failUnlessAlmostEqual(1.313, MayaCmds.getAttr(root+'.scaleZ'), 3) self.failUnlessAlmostEqual(0.539, MayaCmds.getAttr(root+'.shearXY'), 3) self.failUnlessAlmostEqual(0.782, MayaCmds.getAttr(root+'.shearXZ'), 3) self.failUnlessAlmostEqual(1.051, MayaCmds.getAttr(root+'.shearYZ'), 3) # frame 24 MayaCmds.currentTime(24, update=True) self.failUnlessAlmostEqual(0, MayaCmds.getAttr(root+'.translateX'), 3) self.failUnlessAlmostEqual(-5.909, MayaCmds.getAttr(root+'.translateY'), 3) self.failUnlessAlmostEqual(0, MayaCmds.getAttr(root+'.translateZ'), 3) self.failUnlessAlmostEqual(68.211, MayaCmds.getAttr(root+'.rotateX'), 3) self.failUnlessAlmostEqual(40.351, MayaCmds.getAttr(root+'.rotateY'), 3) self.failUnlessAlmostEqual(-90, MayaCmds.getAttr(root+'.rotateZ'), 3) self.failUnlessAlmostEqual(0.600, MayaCmds.getAttr(root+'.scaleX'), 3) self.failUnlessAlmostEqual(1.905, MayaCmds.getAttr(root+'.scaleY'), 3) self.failUnlessAlmostEqual(1.313, MayaCmds.getAttr(root+'.scaleZ'), 3) self.failUnlessAlmostEqual(0.539, MayaCmds.getAttr(root+'.shearXY'), 3) self.failUnlessAlmostEqual(0.782, MayaCmds.getAttr(root+'.shearXZ'), 3) self.failUnlessAlmostEqual(1.051, MayaCmds.getAttr(root+'.shearYZ'), 3)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import os import unittest import util class MayaReloadTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) # this test makes sure that not just the vertex positions but the # connection info is all correct def testAnimMeshReload(self): MayaCmds.polyCube( name = 'mesh') MayaCmds.setKeyframe('meshShape.vtx[0:7]', time=[1, 24]) MayaCmds.setKeyframe('meshShape.vtx[0:7]') MayaCmds.currentTime(12, update=True) MayaCmds.select('meshShape.vtx[0:7]') MayaCmds.scale(5, 5, 5, r=True) MayaCmds.setKeyframe('meshShape.vtx[0:7]', time=[12]) self.__files.append(util.expandFileName('testAnimMeshReadWrite.abc')) MayaCmds.AbcExport(j='-fr 1 24 -root mesh -f ' + self.__files[-1]) # reading test MayaCmds.AbcImport(self.__files[-1], mode='open') # save as a maya file self.__files.append(util.expandFileName('test.mb')) MayaCmds.file(rename=self.__files[-1]) MayaCmds.file(save=True) # reload as a maya file MayaCmds.file(self.__files[-1], open=True) MayaCmds.AbcImport(self.__files[-2], mode='import') retVal = True mesh1 = '|mesh|meshShape' mesh2 = '|mesh1|meshShape' for t in range(1, 25): MayaCmds.currentTime(t, update=True) if not util.compareMesh( mesh1, mesh2 ): self.fail('%s and %s were not equal at frame %d' % (mesh1, mesh2, t)) #------------------------------------------------------------------------------- # The following tests each creates four animated nodes of the same data # type, writes out to Abc file, loads back the file and deletes one node. # Then the scene is saved as a Maya file, and load back to check if the # reload works as expected #------------------------------------------------------------------------------- def testAnimPolyDeleteReload(self): # create a poly cube and animate shapeName = 'pCube' MayaCmds.polyCube( name=shapeName ) MayaCmds.move(5, 0, 0, r=True) MayaCmds.setKeyframe( shapeName+'.vtx[2:5]', time=[1, 24] ) MayaCmds.currentTime( 12 ) MayaCmds.select( shapeName+'.vtx[2:5]',replace=True ) MayaCmds.move(0, 4, 0, r=True) MayaCmds.setKeyframe( shapeName+'.vtx[2:5]', time=[12] ) # create a poly sphere and animate shapeName = 'pSphere' MayaCmds.polySphere( name=shapeName ) MayaCmds.move(-5, 0, 0, r=True) MayaCmds.setKeyframe( shapeName+'.vtx[200:379]', shapeName+'.vtx[381]', time=[1, 24]) MayaCmds.currentTime(12) MayaCmds.select( shapeName+'.vtx[200:379]', shapeName+'.vtx[381]',replace=True) MayaCmds.scale(0.5, 0.5, 0.5, relative=True) MayaCmds.setKeyframe( shapeName+'.vtx[200:379]', shapeName+'.vtx[381]', time=[12]) MayaCmds.currentTime(1) # create a poly torus and animate shapeName = 'pTorus' MayaCmds.polyTorus(name=shapeName) MayaCmds.setKeyframe(shapeName+'.vtx[200:219]',time=[1, 24]) MayaCmds.currentTime(12) MayaCmds.select(shapeName+'.vtx[200:219]',replace=True) MayaCmds.scale(2, 1, 2, relative=True) MayaCmds.setKeyframe(shapeName+'.vtx[200:219]', time=[12]) # create a poly cone and animate shapeName = 'pCone' MayaCmds.polyCone(name=shapeName) MayaCmds.move(0, 0, -5, r=True) MayaCmds.setKeyframe(shapeName+'.vtx[20]', time=[1, 24]) MayaCmds.currentTime(12) MayaCmds.select(shapeName+'.vtx[20]',replace=True) MayaCmds.move(0, 4, 0, r=True) MayaCmds.setKeyframe(shapeName+'.vtx[20]', time=[12]) # write it out to Abc file and load back in self.__files.append(util.expandFileName('testPolyReload.abc')) MayaCmds.AbcExport(j='-fr 1 24 -root pCube -root pSphere -root pTorus -root pCone -file %s' % self.__files[-1]) # load back the Abc file, delete the sphere and save to a maya file MayaCmds.AbcImport( self.__files[-1], mode='open') MayaCmds.delete('pSphere') self.__files.append(util.expandFileName('test.mb')) MayaCmds.file(rename=self.__files[-1]) MayaCmds.file(save=True) # import the saved maya file to compare with the original scene MayaCmds.file(self.__files[-1], open=True) MayaCmds.select('pCube', 'pTorus', 'pCone', replace=True) MayaCmds.group(name='ReloadGrp') MayaCmds.AbcImport(self.__files[-2], mode='import') shapeList = MayaCmds.ls(type='mesh') self.failUnlessEqual(len(shapeList), 7) meshes = [('|pCube|pCubeShape', '|ReloadGrp|pCube|pCubeShape'), ('|pTorus|pTorusShape', '|ReloadGrp|pTorus|pTorusShape'), ('|pCone|pConeShape', '|ReloadGrp|pCone|pConeShape')] for m in meshes: for t in range(1, 25): MayaCmds.currentTime(t, update=True) if not util.compareMesh(m[0], m[1]): self.fail('%s and %s are not the same at frame %d' % (m[0], m[1], t)) def testAnimSubDDeleteReload(self): # create a subD cube and animate shapeName = 'cube' MayaCmds.polyCube( name=shapeName ) MayaCmds.select('cubeShape') MayaCmds.addAttr(longName='SubDivisionMesh', attributeType='bool', defaultValue=True) MayaCmds.move(5, 0, 0, r=True) MayaCmds.setKeyframe(shapeName+'.vtx[2:5]', time=[1, 24]) MayaCmds.currentTime(12) MayaCmds.select(shapeName+'.vtx[2:5]',replace=True) MayaCmds.move(0, 4, 0, r=True) MayaCmds.setKeyframe(shapeName+'.vtx[2:5]', time=[12]) # create a subD sphere and animate shapeName = 'sphere' MayaCmds.polySphere(name=shapeName) MayaCmds.select('sphereShape') MayaCmds.addAttr(longName='SubDivisionMesh', attributeType='bool', defaultValue=True) MayaCmds.move(-5, 0, 0, r=True) MayaCmds.setKeyframe(shapeName+'.vtx[200:379]', shapeName+'.vtx[381]', time=[1, 24]) MayaCmds.currentTime(12) MayaCmds.select(shapeName+'.vtx[200:379]', shapeName+'.vtx[381]', replace=True) MayaCmds.scale(0.5, 0.5, 0.5, relative=True) MayaCmds.setKeyframe(shapeName+'.vtx[200:379]', shapeName+'.vtx[381]', time=[12]) MayaCmds.currentTime(1) # create a subD torus and animate shapeName = 'torus' MayaCmds.polyTorus(name=shapeName) MayaCmds.select('torusShape') MayaCmds.addAttr(longName='SubDivisionMesh', attributeType='bool', defaultValue=True) MayaCmds.setKeyframe(shapeName+'.vtx[200:219]',time=[1, 24]) MayaCmds.currentTime(12) MayaCmds.select(shapeName+'.vtx[200:219]',replace=True) MayaCmds.scale(2, 1, 2, relative=True) MayaCmds.setKeyframe(shapeName+'.vtx[200:219]', time=[12]) # create a subD cone and animate shapeName = 'cone' MayaCmds.polyCone( name=shapeName ) MayaCmds.select('coneShape') MayaCmds.addAttr(longName='SubDivisionMesh', attributeType='bool', defaultValue=True) MayaCmds.move(0, 0, -5, r=True) MayaCmds.setKeyframe(shapeName+'.vtx[20]', time=[1, 24]) MayaCmds.currentTime(12) MayaCmds.select(shapeName+'.vtx[20]',replace=True) MayaCmds.move(0, 4, 0, r=True) MayaCmds.setKeyframe(shapeName+'.vtx[20]', time=[12]) self.__files.append(util.expandFileName('testSubDReload.abc')) # write it out to Abc file and load back in MayaCmds.AbcExport(j='-fr 1 24 -root cube -root sphere -root torus -root cone -file ' + self.__files[-1]) # load back the Abc file, delete the sphere and save to a maya file MayaCmds.AbcImport( self.__files[-1], mode='open' ) MayaCmds.delete('sphere') self.__files.append(util.expandFileName('test.mb')) MayaCmds.file(rename=self.__files[-1]) MayaCmds.file(save=True) # import the saved maya file to compare with the original scene MayaCmds.file(self.__files[-1], open=True) MayaCmds.select('cube', 'torus', 'cone', replace=True) MayaCmds.group(name='ReloadGrp') MayaCmds.AbcImport(self.__files[-2], mode='import') shapeList = MayaCmds.ls(type='mesh') self.failUnlessEqual(len(shapeList), 7) # test the equality of cubes meshes = [('|cube|cubeShape', '|ReloadGrp|cube|cubeShape'), ('|torus|torusShape', '|ReloadGrp|torus|torusShape'), ('|cone|coneShape', '|ReloadGrp|cone|coneShape')] for m in meshes: for t in range(1, 25): MayaCmds.currentTime(t, update=True) if not util.compareMesh(m[0], m[1]): self.fail('%s and %s are not the same at frame %d' % (m[0], m[1], t)) def testAnimNSurfaceDeleteReload(self): # create an animated Nurbs sphere MayaCmds.sphere(ch=False, name='nSphere') MayaCmds.move(5, 0, 0, relative=True) MayaCmds.select('nSphere.cv[0:1][0:7]', 'nSphere.cv[5:6][0:7]', replace=True) MayaCmds.setKeyframe(time=[1, 24]) MayaCmds.currentTime(12, update=True) MayaCmds.scale(1.5, 1, 1, relative=True) MayaCmds.setKeyframe(time=12) # create an animated Nurbs torus MayaCmds.torus(ch=False, name='nTorus') MayaCmds.move(-5, 0, 0, relative=True) MayaCmds.select('nTorus.cv[0][0:7]', 'nTorus.cv[2][0:7]', replace=True) MayaCmds.setKeyframe(time=[1, 24]) MayaCmds.currentTime(12, update=True) MayaCmds.scale(1, 2, 2, relative=True) MayaCmds.setKeyframe(time=12) # create an animated Nurbs plane # should add the trim curve test on this surface, will be easier # than the rest MayaCmds.nurbsPlane(ch=False, name='nPlane') MayaCmds.move(-5, 5, 0, relative=True) MayaCmds.select('nPlane.cv[0:3][0:3]', replace=True) MayaCmds.setKeyframe(time=1) MayaCmds.currentTime(12, update=True) MayaCmds.rotate(0, 0, 90, relative=True) MayaCmds.setKeyframe(time=12) MayaCmds.currentTime(24, update=True) MayaCmds.rotate(0, 0, 90, relative=True) MayaCmds.setKeyframe(time=24) # create an animated Nurbs cylinder MayaCmds.cylinder(ch=False, name='nCylinder') MayaCmds.select('nCylinder.cv[0][0:7]', replace=True) MayaCmds.setKeyframe(time=[1, 24]) MayaCmds.currentTime(12, update=True) MayaCmds.move(-3, 0, 0, relative=True) MayaCmds.setKeyframe(time=12) # write it out to Abc file and load back in self.__files.append(util.expandFileName('testNSurfaceReload.abc')) MayaCmds.AbcExport(j='-fr 1 24 -root nSphere -root nTorus -root nPlane -root nCylinder -file ' + self.__files[-1]) # load back the Abc file, delete the torus and save to a maya file MayaCmds.AbcImport(self.__files[-1], mode='open') MayaCmds.delete('nTorus') self.__files.append(util.expandFileName('test.mb')) MayaCmds.file(rename=self.__files[-1]) MayaCmds.file(save=True) # import the saved maya file to compare with the original scene MayaCmds.file(self.__files[-1], open=True) MayaCmds.select('nSphere', 'nPlane', 'nCylinder', replace=True) MayaCmds.group(name='ReloadGrp') MayaCmds.AbcImport(self.__files[-2], mode='import') surfaceList = MayaCmds.ls(type='nurbsSurface') self.failUnlessEqual(len(surfaceList), 7) surfaces = [('|nSphere|nSphereShape', '|ReloadGrp|nSphere|nSphereShape'), ('|nPlane|nPlaneShape', '|ReloadGrp|nPlane|nPlaneShape'), ('|nCylinder|nCylinderShape', '|ReloadGrp|nCylinder|nCylinderShape')] for s in surfaces: for t in range(1, 25): MayaCmds.currentTime(t, update=True) if not util.compareNurbsSurface(s[0], s[1]): self.fail('%s and %s are not the same at frame %d' % (s[0], s[1], t)) def testAnimNSurfaceAndPolyDeleteReload(self): # create a poly cube and animate shapeName = 'pCube' MayaCmds.polyCube(name=shapeName) MayaCmds.move(5, 0, 0, r=True) MayaCmds.setKeyframe(shapeName+'.vtx[2:5]', time=[1, 24]) MayaCmds.currentTime(12) MayaCmds.select(shapeName+'.vtx[2:5]',replace=True) MayaCmds.move(0, 4, 0, r=True) MayaCmds.setKeyframe(shapeName+'.vtx[2:5]', time=[12]) # create an animated Nurbs plane MayaCmds.nurbsPlane(ch=False, name='nPlane') MayaCmds.move(-5, 5, 0, relative=True) MayaCmds.select('nPlane.cv[0:3][0:3]', replace=True) MayaCmds.setKeyframe(time=1) MayaCmds.currentTime(12, update=True) MayaCmds.rotate(0, 0, 90, relative=True) MayaCmds.setKeyframe(time=12) MayaCmds.currentTime(24, update=True) MayaCmds.rotate(0, 0, 90, relative=True) MayaCmds.setKeyframe(time=24) # write it out to Abc file and load back in self.__files.append(util.expandFileName('testNSurfaceAndPolyReload.abc')) MayaCmds.AbcExport(j='-fr 1 24 -root pCube -root nPlane -file ' + self.__files[-1]) # load back the Abc file, delete the cube and save to a maya file MayaCmds.AbcImport(self.__files[-1], mode='open') MayaCmds.delete('pCube') self.__files.append(util.expandFileName('test.mb')) MayaCmds.file(rename=self.__files[-1]) MayaCmds.file(save=True) # import the saved maya file to compare with the original scene MayaCmds.file(self.__files[-1], open=True) MayaCmds.select('nPlane', replace=True) MayaCmds.group(name='ReloadGrp') MayaCmds.AbcImport(self.__files[-2], mode='import') shapeList = MayaCmds.ls(type='mesh') self.failUnlessEqual(len(shapeList), 1) surfaceList = MayaCmds.ls(type='nurbsSurface') self.failUnlessEqual(len(surfaceList), 2) # test the equality of plane surface1 = '|nPlane|nPlaneShape' surface2 = '|ReloadGrp|nPlane|nPlaneShape' for t in range(1, 25): MayaCmds.currentTime(t, update=True) if not util.compareNurbsSurface( surface1, surface2 ): self.fail('%s and %s are not the same at frame %d' % (surface1, surface2, t)) def testAnimCameraDeleteReload(self): # cam1 MayaCmds.camera(name='cam1') MayaCmds.setAttr('cam1Shape1.horizontalFilmAperture', 0.962) MayaCmds.setAttr('cam1Shape1.verticalFilmAperture', 0.731) MayaCmds.setAttr('cam1Shape1.focalLength', 50) MayaCmds.setAttr('cam1Shape1.focusDistance', 5) MayaCmds.setAttr('cam1Shape1.shutterAngle', 144) MayaCmds.setAttr('cam1Shape1.centerOfInterest', 1384.825) # cam2 MayaCmds.duplicate('cam1', returnRootsOnly=True) # cam3 MayaCmds.duplicate('cam1', returnRootsOnly=True) # cam4 MayaCmds.duplicate('cam1', returnRootsOnly=True) # animate each camera slightly different MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe('cam1Shape1', attribute='horizontalFilmAperture') MayaCmds.setKeyframe('cam2Shape', attribute='focalLength') MayaCmds.setKeyframe('cam3Shape', attribute='focusDistance') MayaCmds.setKeyframe('cam4Shape', attribute='shutterAngle') MayaCmds.setKeyframe('cam4Shape', attribute='centerOfInterest') MayaCmds.currentTime(24, update=True) MayaCmds.setKeyframe('cam1Shape1', attribute='horizontalFilmAperture', value=0.95) MayaCmds.setKeyframe('cam2Shape', attribute='focalLength', value=40) MayaCmds.setKeyframe('cam3Shape', attribute='focusDistance', value=5.4) MayaCmds.setKeyframe('cam4Shape', attribute='shutterAngle', value=174.94) MayaCmds.setKeyframe('cam4Shape', attribute='centerOfInterest', value=67.418) # write them out to an Abc file and load back in self.__files.append(util.expandFileName('testCamReload.abc')) MayaCmds.AbcExport(j='-fr 1 24 -root cam1 -root cam2 -root cam3 -root cam4 -file ' + self.__files[-1]) # load back the Abc file, delete the 2nd camera and save to a maya file MayaCmds.AbcImport(self.__files[-1], mode='open') MayaCmds.delete('cam2') self.__files.append(util.expandFileName('test.mb')) MayaCmds.file(rename=self.__files[-1]) MayaCmds.file(save=True) # import the saved maya file to compare with the original scene MayaCmds.file(self.__files[-1], open=True) MayaCmds.select('cam1', 'cam3', 'cam4', replace=True) MayaCmds.group(name='ReloadGrp') MayaCmds.AbcImport(self.__files[-2], mode='import') camList = MayaCmds.ls(type='camera') # should be 7, but this query will return the four standard cameras in # the scene too self.failUnlessEqual(len(camList), 11) # test the equality of cameras cameras = [('|cam1|cam1Shape1', '|ReloadGrp|cam1|cam1Shape1'), ('|cam3|cam3Shape', '|ReloadGrp|cam3|cam3Shape'), ('|cam4|cam4Shape', '|ReloadGrp|cam4|cam4Shape')] for c in cameras: for t in range(1, 25): MayaCmds.currentTime(t, update=True) if not util.compareCamera(c[0], c[1]): self.fail('%s and %s are not the same at frame %d' % (c[0], c[1], t)) def testAnimNCurvesDeleteReload(self): # create some animated curves MayaCmds.textCurves(ch=False, t='Maya', name='Curves', font='Courier') MayaCmds.currentTime(1, update=True) MayaCmds.select('curve1.cv[0:27]', 'curve2.cv[0:45]', 'curve3.cv[0:15]', 'curve4.cv[0:19]', 'curve5.cv[0:45]', 'curve6.cv[0:15]', replace=True) MayaCmds.setKeyframe() MayaCmds.currentTime(24, update=True) MayaCmds.select('curve1.cv[0:27]', replace=True) MayaCmds.move(-3, 3, 0, relative=True) MayaCmds.select('curve2.cv[0:45]', 'curve3.cv[0:15]', replace=True) MayaCmds.scale(1.5, 1.5, 1.5, relative=True) MayaCmds.select('curve4.cv[0:19]', replace=True) MayaCmds.move(1.5, 0, 0, relative=True) MayaCmds.rotate(0, 90, 0, relative=True) MayaCmds.select('curve5.cv[0:45]', 'curve6.cv[0:15]', replace=True) MayaCmds.move(3, 0, 0, relative=True) MayaCmds.select('curve1.cv[0:27]', 'curve2.cv[0:45]', 'curve3.cv[0:15]', 'curve4.cv[0:19]', 'curve5.cv[0:45]', 'curve6.cv[0:15]', replace=True) MayaCmds.setKeyframe() # write them out to an Abc file and load back in self.__files.append(util.expandFileName('testNCurvesReload.abc')) MayaCmds.AbcExport(j='-fr 1 24 -root CurvesShape -file ' + self.__files[-1]) # load back the Abc file, delete the 2nd letter and save to a maya file MayaCmds.AbcImport(self.__files[-1], mode='open') # delete letter "a" which has two curves MayaCmds.delete('Char_a_1') self.__files.append(util.expandFileName('test.mb')) MayaCmds.file(rename=self.__files[-1]) MayaCmds.file(save=True) # import the saved maya file to compare with the original scene MayaCmds.file(self.__files[-1], open=True) MayaCmds.select('CurvesShape', replace=True) MayaCmds.group(name='ReloadGrp') MayaCmds.AbcImport(self.__files[-2], mode='import') curveList = MayaCmds.ls(type='nurbsCurve') self.failUnlessEqual(len(curveList), 10) # test the equality of curves curves = [('|CurvesShape|Char_M_1|curve1|curveShape1', '|ReloadGrp|CurvesShape|Char_M_1|curve1|curveShape1'), ('|CurvesShape|Char_y_1|curve4|curveShape4', '|ReloadGrp|CurvesShape|Char_y_1|curve4|curveShape4'), ('|CurvesShape|Char_a_2|curve5|curveShape5', '|ReloadGrp|CurvesShape|Char_a_2|curve5|curveShape5'), ('|CurvesShape|Char_a_2|curve6|curveShape6', '|ReloadGrp|CurvesShape|Char_a_2|curve6|curveShape6')] for c in curves: for t in range(1, 25): MayaCmds.currentTime(t, update=True) if not util.compareNurbsCurve(c[0], c[1]): self.fail('%s and %s are not the same at frame %d' % (c[0], c[1], t)) #------------------------------------------------------------------------- def testAnimNCurveGrpDeleteReload(self): # create an animated curves group MayaCmds.textCurves(ch=False, t='haka', name='Curves', font='Courier') MayaCmds.addAttr(longName='riCurves', at='bool', dv=True) MayaCmds.currentTime(1, update=True) MayaCmds.select('curve1.cv[0:27]', 'curve2.cv[0:45]', 'curve3.cv[0:15]', 'curve4.cv[0:19]', 'curve5.cv[0:45]', 'curve6.cv[0:15]', replace=True) MayaCmds.setKeyframe() MayaCmds.currentTime(24, update=True) MayaCmds.select('curve1.cv[0:27]', replace=True) MayaCmds.move(-3, 3, 0, relative=True) MayaCmds.select('curve2.cv[0:45]', 'curve3.cv[0:15]', replace=True) MayaCmds.scale(1.5, 1.5, 1.5, relative=True) MayaCmds.select('curve4.cv[0:19]', replace=True) MayaCmds.move(1.5, 0, 0, relative=True) MayaCmds.rotate(0, 90, 0, relative=True) MayaCmds.select('curve5.cv[0:45]', 'curve6.cv[0:15]', replace=True) MayaCmds.move(3, 0, 0, relative=True) MayaCmds.select('curve1.cv[0:27]', 'curve2.cv[0:45]', 'curve3.cv[0:15]', 'curve4.cv[0:19]', 'curve5.cv[0:45]', 'curve6.cv[0:15]', replace=True) MayaCmds.setKeyframe() # write them out to an Abc file and load back in self.__files.append(util.expandFileName('testNCurveGrpReload.abc')) MayaCmds.AbcExport(j='-fr 1 24 -root CurvesShape -file ' + self.__files[-1]) # load back the Abc file, delete the 2nd letter and save to a maya file MayaCmds.AbcImport(self.__files[-1], mode='open') # delete letter "a" which has two curves, but as a curve group. # the curve shapes are renamed under the group node MayaCmds.delete('CurvesShape1') MayaCmds.delete('CurvesShape2') self.__files.append(util.expandFileName('testCurves.mb')) MayaCmds.file(rename=self.__files[-1]) MayaCmds.file(save=True) # import the saved maya file to compare with the original scene MayaCmds.file(self.__files[-1], open=True) MayaCmds.select('|CurvesShape', replace=True) MayaCmds.group(name='ReloadGrp') MayaCmds.AbcImport(self.__files[-2], mode='import') curveList = MayaCmds.ls(type='nurbsCurve') self.failUnlessEqual(len(curveList), 10) curves = [('|CurvesShape|CurvesShape', '|ReloadGrp|CurvesShape|CurvesShape'), ('|CurvesShape|CurvesShape8', '|ReloadGrp|CurvesShape|CurvesShape3'), ('|CurvesShape|CurvesShape9', '|ReloadGrp|CurvesShape|CurvesShape4'), ('|CurvesShape|CurvesShape10', '|ReloadGrp|CurvesShape|CurvesShape5')] for c in curves: for t in range(1, 25): MayaCmds.currentTime(t, update=True) if not util.compareNurbsCurve(c[0], c[1]): self.fail('%s and %s are not the same at frame %d' % (c[0], c[1], t)) def testAnimPropDeleteReload(self): # create some animated properties on a transform node ( could be any type ) nodeName = MayaCmds.polyPrism(ch=False, name = 'prism') MayaCmds.addAttr(longName='SPT_int8', defaultValue=0, attributeType='byte', keyable=True) MayaCmds.addAttr(longName='SPT_int16', defaultValue=100, attributeType='short', keyable=True) MayaCmds.addAttr(longName='SPT_int32', defaultValue=1000, attributeType='long', keyable=True) MayaCmds.addAttr(longName='SPT_float', defaultValue=0.57777777, attributeType='float', keyable=True) MayaCmds.addAttr(longName='SPT_double', defaultValue=5.0456435, attributeType='double', keyable=True) MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe(nodeName, attribute='SPT_int8') MayaCmds.setKeyframe(nodeName, attribute='SPT_int16') MayaCmds.setKeyframe(nodeName, attribute='SPT_int32') MayaCmds.setKeyframe(nodeName, attribute='SPT_float') MayaCmds.setKeyframe(nodeName, attribute='SPT_double') MayaCmds.currentTime(24, update=True) MayaCmds.setKeyframe(nodeName, attribute='SPT_int8', value=8) MayaCmds.setKeyframe(nodeName, attribute='SPT_int16', value=16) MayaCmds.setKeyframe(nodeName, attribute='SPT_int32', value=32) MayaCmds.setKeyframe(nodeName, attribute='SPT_float', value=5.24847) MayaCmds.setKeyframe(nodeName, attribute='SPT_double', value=3.14154) # create SPT_HWColor on the shape node MayaCmds.select('prismShape') MayaCmds.addAttr(longName='SPT_HwColorR', defaultValue=1.0, minValue=0.0, maxValue=1.0) MayaCmds.addAttr(longName='SPT_HwColorG', defaultValue=1.0, minValue=0.0, maxValue=1.0) MayaCmds.addAttr(longName='SPT_HwColorB', defaultValue=1.0, minValue=0.0, maxValue=1.0) MayaCmds.addAttr( longName='SPT_HwColor', usedAsColor=True, attributeType='float3') MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe(at='SPT_HwColorR') MayaCmds.setKeyframe(at='SPT_HwColorG') MayaCmds.setKeyframe(at='SPT_HwColorB') MayaCmds.currentTime(24, update=True) MayaCmds.setKeyframe(at='SPT_HwColorR', value=0.5) MayaCmds.setKeyframe(at='SPT_HwColorG', value=0.15) MayaCmds.setKeyframe(at='SPT_HwColorB', value=0.75) # write them out to an Abc file and load back in self.__files.append(util.expandFileName('testPropReload.abc')) MayaCmds.AbcExport(j='-atp SPT_ -fr 1 24 -root prism -file ' + self.__files[-1]) # load back the Abc file, delete the 2nd letter and save to a maya file abcNode = MayaCmds.AbcImport( self.__files[-1], mode='open' ) # delete connections to animated props prop = MayaCmds.listConnections('|prism.SPT_float', p=True)[0] MayaCmds.disconnectAttr(prop, '|prism.SPT_float') attr = '|prism|prismShape.SPT_HwColorG' prop = MayaCmds.listConnections(attr, p=True)[0] MayaCmds.disconnectAttr(prop, attr) self.__files.append(util.expandFileName('test.mb')) MayaCmds.file(rename=self.__files[-1]) MayaCmds.file(save=True) # import the saved maya file to compare with the original scene MayaCmds.file(self.__files[-1], open=True) MayaCmds.select('prism', replace=True) MayaCmds.group(name='ReloadGrp') MayaCmds.AbcImport(self.__files[-2], mode='import') # test the equality of props for t in range(1, 25): MayaCmds.currentTime(t, update=True) self.failUnlessEqual(MayaCmds.getAttr('|prism.SPT_int8'), MayaCmds.getAttr('|ReloadGrp|prism.SPT_int8'), 'prism.SPT_int8 not equal' ) self.failUnlessEqual(MayaCmds.getAttr('|prism.SPT_int16'), MayaCmds.getAttr('|ReloadGrp|prism.SPT_int16'), 'prism.SPT_int16 not equal') self.failUnlessEqual(MayaCmds.getAttr('|prism.SPT_int32'), MayaCmds.getAttr('|ReloadGrp|prism.SPT_int32'), 'prism.SPT_int32 not equal') self.failUnlessAlmostEqual(MayaCmds.getAttr('|prism.SPT_double'), MayaCmds.getAttr('|ReloadGrp|prism.SPT_double'), 4, 'prism.SPT_double not equal') self.failUnlessAlmostEqual( MayaCmds.getAttr('|prism|prismShape.SPT_HwColorR'), MayaCmds.getAttr('|ReloadGrp|prism|prismShape.SPT_HwColorR'), 4, 'prismShape.SPT_HwColorR not equal') self.failUnlessAlmostEqual( MayaCmds.getAttr('|prism|prismShape.SPT_HwColorB'), MayaCmds.getAttr('|ReloadGrp|prism|prismShape.SPT_HwColorB'), 4, 'prismShape.SPT_HwColorB not equal')
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util class TransformTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def testStaticTransformReadWrite(self): nodeName1 = MayaCmds.polyCube() nodeName2 = MayaCmds.duplicate() nodeName3 = MayaCmds.duplicate() self.__files.append(util.expandFileName('reparentflag.abc')) MayaCmds.AbcExport(j='-root %s -root %s -root %s -file %s' % (nodeName1[0], nodeName2[0], nodeName3[0], self.__files[-1])) # reading test MayaCmds.file(new=True, force=True) MayaCmds.createNode('transform', n='root') MayaCmds.AbcImport(self.__files[-1], mode='import', reparent='root') self.failUnlessEqual(MayaCmds.objExists('root|'+nodeName1[0]), 1) self.failUnlessEqual(MayaCmds.objExists('root|'+nodeName2[0]), 1) self.failUnlessEqual(MayaCmds.objExists('root|'+nodeName3[0]), 1)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import os import subprocess import unittest import util def createCamera(): name = MayaCmds.camera() MayaCmds.setAttr(name[1]+'.horizontalFilmAperture', 0.962) MayaCmds.setAttr(name[1]+'.verticalFilmAperture', 0.731) MayaCmds.setAttr(name[1]+'.focalLength', 50) MayaCmds.setAttr(name[1]+'.focusDistance', 5) MayaCmds.setAttr(name[1]+'.shutterAngle', 144) return name class cameraTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] self.__abcStitcher = [os.environ['AbcStitcher']] def tearDown(self): for f in self.__files: os.remove(f) def testStaticCameraReadWrite(self): name = createCamera() # write to file self.__files.append(util.expandFileName('testStaticCameraReadWrite.abc')) MayaCmds.AbcExport(j='-root %s -file %s' % (name[0], self.__files[-1])) # read from file MayaCmds.AbcImport(self.__files[-1], mode='import') camList = MayaCmds.ls(type='camera') self.failUnless(util.compareCamera(camList[0], camList[1])) def testAnimCameraReadWrite(self): name = createCamera() MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe(name[1], attribute='horizontalFilmAperture') MayaCmds.setKeyframe(name[1], attribute='focalLength') MayaCmds.setKeyframe(name[1], attribute='focusDistance') MayaCmds.setKeyframe(name[1], attribute='shutterAngle') MayaCmds.currentTime(24, update=True) MayaCmds.setKeyframe(name[1], attribute='horizontalFilmAperture', value=0.95) MayaCmds.setKeyframe(name[1], attribute='focalLength', value=40) MayaCmds.setKeyframe(name[1], attribute='focusDistance', value=5.4) MayaCmds.setKeyframe(name[1], attribute='shutterAngle', value=174.94) self.__files.append(util.expandFileName('testAnimCameraReadWrite.abc')) self.__files.append(util.expandFileName('testAnimCameraReadWrite01_14.abc')) self.__files.append(util.expandFileName('testAnimCameraReadWrite15-24.abc')) # write to files MayaCmds.AbcExport(j='-fr 1 14 -root %s -file %s' % (name[0], self.__files[-2])) MayaCmds.AbcExport(j='-fr 15 24 -root %s -file %s' % (name[0], self.__files[-1])) subprocess.call(self.__abcStitcher + self.__files[-3:]) # read from file MayaCmds.AbcImport(self.__files[-3], mode='import') camList = MayaCmds.ls(type='camera') for t in range(1, 25): MayaCmds.currentTime(t, update=True) if not util.compareCamera(camList[0], camList[1]): self.fail('%s and %s are not the same at frame %d' % (camList[0], camList[1], t))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import os import math # adds the current working directory so tools don't get confused about where we # are storing files def expandFileName(name): return os.getcwd() + os.path.sep + name # compare the two floating point values def floatDiff(val1, val2, tolerance): diff = math.fabs(val1 - val2) if diff < math.pow(10, -tolerance): return True return False # function that returns a node object given a name def getObjFromName(nodeName): selectionList = OpenMaya.MSelectionList() selectionList.add( nodeName ) obj = OpenMaya.MObject() selectionList.getDependNode(0, obj) return obj # function that finds a plug given a node object and plug name def getPlugFromName(attrName, nodeObj): fnDepNode = OpenMaya.MFnDependencyNode(nodeObj) attrObj = fnDepNode.attribute(attrName) plug = OpenMaya.MPlug(nodeObj, attrObj) return plug # meaning of return value: # 0 if array1 = array2 # 1 if array1 and array2 are of the same length, array1[i] == array2[i] for 0<=i<m<len, and array1[m] < array2[m] # -1 if array1 and array2 are of the same length, array1[i] == array2[i] for 0<=i<m<len, and array1[m] > array2[m] # 2 if array1.length() < array2.length() # -2 if array1.length() > array2.length() def compareArray(array1, array2): len1 = array1.length() len2 = array2.length() if len1 > len2 : return -2 if len1 < len2 : return 2 for i in range(0, len1): if array1[i] < array2[i] : return 1 if array1[i] > array2[i] : return -1 return 0 # return True if the two point arrays are exactly the same def comparePointArray(array1, array2): len1 = array1.length() len2 = array2.length() if len1 != len2 : return False for i in range(0, len1): if not array1[i].isEquivalent(array2[i], 1e-6): return False return True # return True if the two meshes are identical def compareMesh( nodeName1, nodeName2 ): # basic error checking obj1 = getObjFromName(nodeName1) if not obj1.hasFn(OpenMaya.MFn.kMesh): return False obj2 = getObjFromName(nodeName2) if not obj2.hasFn(OpenMaya.MFn.kMesh): return False polyIt1 = OpenMaya.MItMeshPolygon( obj1 ) polyIt2 = OpenMaya.MItMeshPolygon( obj2 ) if polyIt1.count() != polyIt2.count(): return False if polyIt1.polygonVertexCount() != polyIt2.polygonVertexCount(): return False vertices1 = OpenMaya.MIntArray() vertices2 = OpenMaya.MIntArray() pointArray1 = OpenMaya.MPointArray() pointArray2 = OpenMaya.MPointArray() while polyIt1.isDone()==False and polyIt2.isDone()==False : # compare vertex indices polyIt1.getVertices(vertices1) polyIt2.getVertices(vertices2) if compareArray(vertices1, vertices2) != 0: return False # compare vertex positions polyIt1.getPoints(pointArray1) polyIt2.getPoints(pointArray2) if not comparePointArray( pointArray1, pointArray2 ): return False polyIt1.next() polyIt2.next() if polyIt1.isDone() and polyIt2.isDone() : return True return False # return True if the two Nurbs Surfaces are identical def compareNurbsSurface(nodeName1, nodeName2): # basic error checking obj1 = getObjFromName(nodeName1) if not obj1.hasFn(OpenMaya.MFn.kNurbsSurface): return False obj2 = getObjFromName(nodeName2) if not obj2.hasFn(OpenMaya.MFn.kNurbsSurface): return False fn1 = OpenMaya.MFnNurbsSurface(obj1) fn2 = OpenMaya.MFnNurbsSurface(obj2) # degree if fn1.degreeU() != fn2.degreeU(): return False if fn1.degreeV() != fn2.degreeV(): return False # span if fn1.numSpansInU() != fn2.numSpansInU(): return False if fn1.numSpansInV() != fn2.numSpansInV(): return False # form if fn1.formInU() != fn2.formInU(): return False if fn1.formInV() != fn2.formInV(): return False # control points if fn1.numCVsInU() != fn2.numCVsInU(): return False if fn1.numCVsInV() != fn2.numCVsInV(): return False cv1 = OpenMaya.MPointArray() fn1.getCVs(cv1) cv2 = OpenMaya.MPointArray() fn2.getCVs(cv2) if not comparePointArray(cv1, cv2): return False # knots if fn1.numKnotsInU() != fn2.numKnotsInU(): return False if fn1.numKnotsInV() != fn2.numKnotsInV(): return False knotsU1 = OpenMaya.MDoubleArray() fn1.getKnotsInU(knotsU1) knotsV1 = OpenMaya.MDoubleArray() fn1.getKnotsInV(knotsV1) knotsU2 = OpenMaya.MDoubleArray() fn2.getKnotsInU(knotsU2) knotsV2 = OpenMaya.MDoubleArray() fn2.getKnotsInV(knotsV2) if compareArray( knotsU1, knotsU2 ) != 0: return False if compareArray( knotsV1, knotsV2 ) != 0: return False # trim curves if fn1.isTrimmedSurface() != fn2.isTrimmedSurface(): return False # may need to add more trim checks return True # return True if the two locators are idential def compareLocator(nodeName1, nodeName2): # basic error checking obj1 = getObjFromName(nodeName1) if not obj1.hasFn(OpenMaya.MFn.kLocator): return False obj2 = getObjFromName(nodeName2) if not obj2.hasFn(OpenMaya.MFn.kLocator): return False if not floatDiff(MayaCmds.getAttr(nodeName1+'.localPositionX'), MayaCmds.getAttr(nodeName2+'.localPositionX'), 4): return False if not floatDiff(MayaCmds.getAttr(nodeName1+'.localPositionY'), MayaCmds.getAttr(nodeName2+'.localPositionY'), 4): return False if not floatDiff(MayaCmds.getAttr(nodeName1+'.localPositionZ'), MayaCmds.getAttr(nodeName2+'.localPositionZ'), 4): return False if not floatDiff(MayaCmds.getAttr(nodeName1+'.localScaleX'), MayaCmds.getAttr(nodeName2+'.localScaleX'), 4): return False if not floatDiff(MayaCmds.getAttr(nodeName1+'.localScaleY'), MayaCmds.getAttr(nodeName2+'.localScaleY'), 4): return False if not floatDiff(MayaCmds.getAttr(nodeName1+'.localScaleZ'), MayaCmds.getAttr(nodeName2+'.localScaleZ'), 4): return False return True # return True if the two cameras are identical def compareCamera( nodeName1, nodeName2 ): # basic error checking obj1 = getObjFromName(nodeName1) if not obj1.hasFn(OpenMaya.MFn.kCamera): return False obj2 = getObjFromName(nodeName2) if not obj2.hasFn(OpenMaya.MFn.kCamera): return False fn1 = OpenMaya.MFnCamera( obj1 ) fn2 = OpenMaya.MFnCamera( obj2 ) if fn1.filmFit() != fn2.filmFit(): print "differ in filmFit" return False if not floatDiff(fn1.filmFitOffset(), fn2.filmFitOffset(), 4): print "differ in filmFitOffset" return False if fn1.isOrtho() != fn2.isOrtho(): print "differ in isOrtho" return False if not floatDiff(fn1.orthoWidth(), fn2.orthoWidth(), 4): print "differ in orthoWidth" return False if not floatDiff(fn1.focalLength(), fn2.focalLength(), 4): print "differ in focalLength" return False if not floatDiff(fn1.lensSqueezeRatio(), fn2.lensSqueezeRatio(), 4): print "differ in lensSqueezeRatio" return False if not floatDiff(fn1.cameraScale(), fn2.cameraScale(), 4): print "differ in cameraScale" return False if not floatDiff(fn1.horizontalFilmAperture(), fn2.horizontalFilmAperture(), 4): print "differ in horizontalFilmAperture" return False if not floatDiff(fn1.verticalFilmAperture(), fn2.verticalFilmAperture(), 4): print "differ in verticalFilmAperture" return False if not floatDiff(fn1.horizontalFilmOffset(), fn2.horizontalFilmOffset(), 4): print "differ in horizontalFilmOffset" return False if not floatDiff(fn1.verticalFilmOffset(), fn2.verticalFilmOffset(), 4): print "differ in verticalFilmOffset" return False if not floatDiff(fn1.overscan(), fn2.overscan(), 4): print "differ in overscan" return False if not floatDiff(fn1.nearClippingPlane(), fn2.nearClippingPlane(), 4): print "differ in nearClippingPlane" return False if not floatDiff(fn1.farClippingPlane(), fn2.farClippingPlane(), 4): print "differ in farClippingPlane" return False if not floatDiff(fn1.preScale(), fn2.preScale(), 4): print "differ in preScale" return False if not floatDiff(fn1.postScale(), fn2.postScale(), 4): print "differ in postScale" return False if not floatDiff(fn1.filmTranslateH(), fn2.filmTranslateH(), 4): print "differ in filmTranslateH" return False if not floatDiff(fn1.filmTranslateV(), fn2.filmTranslateV(), 4): print "differ in filmTranslateV" return False if not floatDiff(fn1.horizontalRollPivot(), fn2.horizontalRollPivot(), 4): print "differ in horizontalRollPivot" return False if not floatDiff(fn1.verticalRollPivot(), fn2.verticalRollPivot(), 4): print "differ in verticalRollPivot" return False if fn1.filmRollOrder() != fn2.filmRollOrder(): print "differ in filmRollOrder" return False if not floatDiff(fn1.filmRollValue(), fn2.filmRollValue(), 4): print "differ in filmRollValue" return False if not floatDiff(fn1.fStop(), fn2.fStop(), 4): print "differ in fStop" return False if not floatDiff(fn1.focusDistance(), fn2.focusDistance(), 4,): print "differ in focusDistance" return False if not floatDiff(fn1.shutterAngle(), fn2.shutterAngle(), 4): print "differ in shutterAngle" return False if fn1.usePivotAsLocalSpace() != fn2.usePivotAsLocalSpace(): print "differ in usePivotAsLocalSpace" return False if fn1.tumblePivot() != fn2.tumblePivot(): print "differ in tumblePivot" return False return True # return True if the two Nurbs curves are identical def compareNurbsCurve(nodeName1, nodeName2): # basic error checking obj1 = getObjFromName(nodeName1) if not obj1.hasFn(OpenMaya.MFn.kNurbsCurve): print nodeName1, "not a curve." return False obj2 = getObjFromName(nodeName2) if not obj2.hasFn(OpenMaya.MFn.kNurbsCurve): print nodeName2, "not a curve." return False fn1 = OpenMaya.MFnNurbsCurve(obj1) fn2 = OpenMaya.MFnNurbsCurve(obj2) if fn1.degree() != fn2.degree(): print nodeName1, nodeName2, "degrees differ." return False if fn1.numCVs() != fn2.numCVs(): print nodeName1, nodeName2, "numCVs differ." return False if fn1.numSpans() != fn2.numSpans(): print nodeName1, nodeName2, "spans differ." return False if fn1.numKnots() != fn2.numKnots(): print nodeName1, nodeName2, "numKnots differ." return False if fn1.form() != fn2.form(): print nodeName1, nodeName2, "form differ." return False cv1 = OpenMaya.MPointArray() fn1.getCVs(cv1) cv2 = OpenMaya.MPointArray() fn2.getCVs(cv2) if not comparePointArray(cv1, cv2): print nodeName1, nodeName2, "points differ." return False # we do not need to compare knots, since they aren't stored in Alembic # and are currently recreated as uniformly distributed between 0 and 1 return True
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest class AbcExport_dupRootsTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) def testStaticTransformReadWrite(self): MayaCmds.polyCube(n='cube') MayaCmds.group(n='group1') MayaCmds.duplicate() self.failUnlessRaises(RuntimeError, MayaCmds.AbcExport, j='-root group1|cube -root group2|cube -f dupRoots.abc') # the abc file shouldn't exist self.failUnless(not os.path.isfile('dupRoots.abc'))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import subprocess import unittest import util class AnimNurbsSurfaceTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__abcStitcher = [os.environ['AbcStitcher']] self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testAnimNurbsPlaneWrite(self): ret = MayaCmds.nurbsPlane(p=(0, 0, 0), ax=(0, 1, 0), w=1, lr=1, d=3, u=5, v=5, ch=0) name = ret[0] MayaCmds.lattice(name, dv=(4, 5, 4), oc=True) MayaCmds.select('ffd1Lattice.pt[1:2][0:4][1:2]', r=True) MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe() MayaCmds.currentTime(24, update=True) MayaCmds.setKeyframe() MayaCmds.currentTime(12, update=True) MayaCmds.move( 0, 0.18, 0, r=True) MayaCmds.scale( 2.5, 1.0, 2.5, r=True) MayaCmds.setKeyframe() MayaCmds.curveOnSurface(name, uv=((0.597523,0), (0.600359,0.271782), (0.538598,0.564218), (0.496932,0.779936), (0.672153,1)), k=(0,0,0,0.263463,0.530094,0.530094,0.530094)) curvename = MayaCmds.curveOnSurface(name, uv=((0.170718,0.565967), (0.0685088,0.393034), (0.141997,0.206296), (0.95,0.230359), (0.36264,0.441381), (0.251243,0.569889)), k=(0,0,0,0.200545,0.404853,0.598957,0.598957,0.598957)) MayaCmds.closeCurve(curvename, ch=1, ps=1, rpo=1, bb=0.5, bki=0, p=0.1, cos=1) MayaCmds.trim(name, lu=0.23, lv=0.39) degreeU = MayaCmds.getAttr(name+'.degreeU') degreeV = MayaCmds.getAttr(name+'.degreeV') spansU = MayaCmds.getAttr(name+'.spansU') spansV = MayaCmds.getAttr(name+'.spansV') formU = MayaCmds.getAttr(name+'.formU') formV = MayaCmds.getAttr(name+'.formV') minU = MayaCmds.getAttr(name+'.minValueU') maxU = MayaCmds.getAttr(name+'.maxValueU') minV = MayaCmds.getAttr(name+'.minValueV') maxV = MayaCmds.getAttr(name+'.maxValueV') MayaCmds.createNode('surfaceInfo') MayaCmds.connectAttr(name+'.worldSpace', 'surfaceInfo1.inputSurface', force=True) MayaCmds.currentTime(1, update=True) controlPoints = MayaCmds.getAttr('surfaceInfo1.controlPoints[*]') knotsU = MayaCmds.getAttr('surfaceInfo1.knotsU[*]') knotsV = MayaCmds.getAttr('surfaceInfo1.knotsV[*]') MayaCmds.currentTime(12, update=True) controlPoints2 = MayaCmds.getAttr('surfaceInfo1.controlPoints[*]') knotsU2 = MayaCmds.getAttr('surfaceInfo1.knotsU[*]') knotsV2 = MayaCmds.getAttr('surfaceInfo1.knotsV[*]') self.__files.append(util.expandFileName('testAnimNurbsPlane.abc')) self.__files.append(util.expandFileName('testAnimNurbsPlane01_14.abc')) self.__files.append(util.expandFileName('testAnimNurbsPlane15_24.abc')) MayaCmds.AbcExport(j='-fr 1 14 -root %s -file %s' % (name, self.__files[-2])) MayaCmds.AbcExport(j='-fr 15 24 -root %s -file %s' % (name, self.__files[-1])) # use AbcStitcher to combine two files into one subprocess.call(self.__abcStitcher + self.__files[-3:]) # reading test MayaCmds.AbcImport(self.__files[-3], mode='open') self.failUnlessEqual(degreeU, MayaCmds.getAttr(name+'.degreeU')) self.failUnlessEqual(degreeV, MayaCmds.getAttr(name+'.degreeV')) self.failUnlessEqual(spansU, MayaCmds.getAttr(name+'.spansU')) self.failUnlessEqual(spansV, MayaCmds.getAttr(name+'.spansV')) self.failUnlessEqual(formU, MayaCmds.getAttr(name+'.formU')) self.failUnlessEqual(formV, MayaCmds.getAttr(name+'.formV')) self.failUnlessEqual(minU, MayaCmds.getAttr(name+'.minValueU')) self.failUnlessEqual(maxU, MayaCmds.getAttr(name+'.maxValueU')) self.failUnlessEqual(minV, MayaCmds.getAttr(name+'.minValueV')) self.failUnlessEqual(maxV, MayaCmds.getAttr(name+'.maxValueV')) MayaCmds.createNode('surfaceInfo') MayaCmds.connectAttr(name+'.worldSpace', 'surfaceInfo1.inputSurface', force=True) MayaCmds.currentTime(1, update=True) errmsg = "At frame #1, Nurbs Plane's control point #%d.%s not equal" for i in range(0, len(controlPoints)): cp1 = controlPoints[i] cp2 = MayaCmds.getAttr('surfaceInfo1.controlPoints[%d]' % (i)) self.failUnlessAlmostEqual(cp1[0], cp2[0][0], 3, errmsg % (i, 'x')) self.failUnlessAlmostEqual(cp1[1], cp2[0][1], 3, errmsg % (i, 'y')) self.failUnlessAlmostEqual(cp1[2], cp2[0][2], 3, errmsg % (i, 'z')) errmsg = "At frame #1, Nurbs Plane's control knotsU #%d not equal" for i in range(0, len(knotsU)): ku1 = knotsU[i] ku2 = MayaCmds.getAttr('surfaceInfo1.knotsU[%d]' % (i)) self.failUnlessAlmostEqual(ku1, ku2, 3, errmsg % (i)) errmsg = "At frame #1, Nurbs Plane's control knotsV #%d not equal" for i in range(0, len(knotsV)): kv1 = knotsV[i] kv2 = MayaCmds.getAttr('surfaceInfo1.knotsV[%d]' % (i)) self.failUnlessAlmostEqual(kv1, kv2, 3, errmsg % (i)) MayaCmds.currentTime(12, update=True) errmsg = "At frame #12, Nurbs Plane's control point #%d.%s not equal" for i in range(0, len(controlPoints2)): cp1 = controlPoints2[i] cp2 = MayaCmds.getAttr('surfaceInfo1.controlPoints[%d]' % (i)) self.failUnlessAlmostEqual(cp1[0], cp2[0][0], 3, errmsg % (i, 'x')) self.failUnlessAlmostEqual(cp1[1], cp2[0][1], 3, errmsg % (i, 'y')) self.failUnlessAlmostEqual(cp1[2], cp2[0][2], 3, errmsg % (i, 'z')) errmsg = "At frame #12, Nurbs Plane's control knotsU #%d not equal" for i in range(0, len(knotsU2)): ku1 = knotsU2[i] ku2 = MayaCmds.getAttr('surfaceInfo1.knotsU[%d]' % (i)) self.failUnlessAlmostEqual(ku1, ku2, 3, errmsg % (i)) errmsg = "At frame #12, Nurbs Plane's control knotsV #%d not equal" for i in range(0, len(knotsV2)): kv1 = knotsV2[i] kv2 = MayaCmds.getAttr('surfaceInfo1.knotsV[%d]' % (i)) self.failUnlessAlmostEqual(kv1, kv2, 3, errmsg % (i)) MayaCmds.currentTime(24, update=True) errmsg = "At frame #24, Nurbs Plane's control point #%d.%s not equal" for i in range(0, len(controlPoints)): cp1 = controlPoints[i] cp2 = MayaCmds.getAttr('surfaceInfo1.controlPoints[%d]' % (i)) self.failUnlessAlmostEqual(cp1[0], cp2[0][0], 3, errmsg % (i, 'x')) self.failUnlessAlmostEqual(cp1[1], cp2[0][1], 3, errmsg % (i, 'y')) self.failUnlessAlmostEqual(cp1[2], cp2[0][2], 3, errmsg % (i, 'z')) errmsg = "At frame #24, Nurbs Plane's control knotsU #%d not equal" for i in range(0, len(knotsU)): ku1 = knotsU[i] ku2 = MayaCmds.getAttr('surfaceInfo1.knotsU[%d]' % (i)) self.failUnlessAlmostEqual(ku1, ku2, 3, errmsg % (i)) errmsg = "At frame #24, Nurbs Plane's control knotsV #%d not equal" for i in range(0, len(knotsV)): kv1 = knotsV[i] kv2 = MayaCmds.getAttr('surfaceInfo1.knotsV[%d]' % (i)) self.failUnlessAlmostEqual(kv1, kv2, 3, errmsg % (i))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util class renderableOnlyTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testRenderableOnly(self): MayaCmds.polyPlane(name='potato') MayaCmds.polyPlane(name='hidden') MayaCmds.setAttr("hidden.visibility", 0) self.__files.append(util.expandFileName('renderableOnlyTest.abc')) MayaCmds.AbcExport(j='-renderableOnly -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], m='open') self.failUnless(MayaCmds.objExists('potato')) self.failIf(MayaCmds.objExists('hidden'))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import os import unittest import util def getObjFromName( nodeName ): selectionList = OpenMaya.MSelectionList() selectionList.add( nodeName ) obj = OpenMaya.MObject() selectionList.getDependNode(0, obj) return obj class MeshUVsTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) # we only support writing out the most basic uv sets (and static only) def testPolyUVs(self): MayaCmds.polyCube(name = 'cube') cubeObj = getObjFromName('cubeShape') fnMesh = OpenMaya.MFnMesh(cubeObj) # get the name of the current UV set uvSetName = fnMesh.currentUVSetName() uArray = OpenMaya.MFloatArray() vArray = OpenMaya.MFloatArray() fnMesh.getUVs(uArray, vArray, uvSetName) newUArray = [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 2, 2, -1, -1] newVArray = [0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 0, 1 , 0, 1] for i in range(0, 14): uArray[i] = newUArray[i] vArray[i] = newVArray[i] fnMesh.setUVs(uArray, vArray, uvSetName) self.__files.append(util.expandFileName('polyUvsTest.abc')) MayaCmds.AbcExport(j='-uv -root cube -file ' + self.__files[-1]) # reading test MayaCmds.AbcImport(self.__files[-1], mode='open') MayaCmds.select('cube.map[0:13]', replace=True) uvs = MayaCmds.polyEditUV(query=True) for i in range(0, 14): self.failUnlessAlmostEqual(newUArray[i], uvs[2*i], 4, 'map[%d].u is not the same' % i) self.failUnlessAlmostEqual(newVArray[i], uvs[2*i+1], 4, 'map[%d].v is not the same' % i)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import os import unittest import util class AnimMeshTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] self.__abcStitcherExe = os.environ['AbcStitcher'] + ' ' def tearDown(self): for f in self.__files : os.remove(f) def testAnimPolyReadWrite(self): numFaces = 6 numVertices = 8 numFaceConnects = 24 vtx_1 = OpenMaya.MFloatPoint(-0.5, -0.5, -0.5) vtx_2 = OpenMaya.MFloatPoint( 0.5, -0.5, -0.5) vtx_3 = OpenMaya.MFloatPoint( 0.5, -0.5, 0.5) vtx_4 = OpenMaya.MFloatPoint(-0.5, -0.5, 0.5) vtx_5 = OpenMaya.MFloatPoint(-0.5, 0.5, -0.5) vtx_6 = OpenMaya.MFloatPoint(-0.5, 0.5, 0.5) vtx_7 = OpenMaya.MFloatPoint( 0.5, 0.5, 0.5) vtx_8 = OpenMaya.MFloatPoint( 0.5, 0.5, -0.5) points = OpenMaya.MFloatPointArray() points.setLength(8) points.set(vtx_1, 0) points.set(vtx_2, 1) points.set(vtx_3, 2) points.set(vtx_4, 3) points.set(vtx_5, 4) points.set(vtx_6, 5) points.set(vtx_7, 6) points.set(vtx_8, 7) faceConnects = OpenMaya.MIntArray() faceConnects.setLength(numFaceConnects) faceConnects.set(0, 0) faceConnects.set(1, 1) faceConnects.set(2, 2) faceConnects.set(3, 3) faceConnects.set(4, 4) faceConnects.set(5, 5) faceConnects.set(6, 6) faceConnects.set(7, 7) faceConnects.set(3, 8) faceConnects.set(2, 9) faceConnects.set(6, 10) faceConnects.set(5, 11) faceConnects.set(0, 12) faceConnects.set(3, 13) faceConnects.set(5, 14) faceConnects.set(4, 15) faceConnects.set(0, 16) faceConnects.set(4, 17) faceConnects.set(7, 18) faceConnects.set(1, 19) faceConnects.set(1, 20) faceConnects.set(7, 21) faceConnects.set(6, 22) faceConnects.set(2, 23) faceCounts = OpenMaya.MIntArray() faceCounts.setLength(6) faceCounts.set(4, 0) faceCounts.set(4, 1) faceCounts.set(4, 2) faceCounts.set(4, 3) faceCounts.set(4, 4) faceCounts.set(4, 5) transFn = OpenMaya.MFnTransform() parent = transFn.create() transFn.setName('poly') meshFn = OpenMaya.MFnMesh() meshFn.create(numVertices, numFaces, points, faceCounts, faceConnects, parent) meshFn.setName("polyShape"); MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe('polyShape.vtx[0:7]') MayaCmds.currentTime(24, update=True) MayaCmds.setKeyframe('polyShape.vtx[0:7]') MayaCmds.currentTime(12, update=True) vtx_11 = OpenMaya.MFloatPoint(-1, -1, -1) vtx_22 = OpenMaya.MFloatPoint( 1, -1, -1) vtx_33 = OpenMaya.MFloatPoint( 1, -1, 1) vtx_44 = OpenMaya.MFloatPoint(-1, -1, 1) vtx_55 = OpenMaya.MFloatPoint(-1, 1, -1) vtx_66 = OpenMaya.MFloatPoint(-1, 1, 1) vtx_77 = OpenMaya.MFloatPoint( 1, 1, 1) vtx_88 = OpenMaya.MFloatPoint( 1, 1, -1) points.set(vtx_11, 0) points.set(vtx_22, 1) points.set(vtx_33, 2) points.set(vtx_44, 3) points.set(vtx_55, 4) points.set(vtx_66, 5) points.set(vtx_77, 6) points.set(vtx_88, 7) meshFn.setPoints(points) MayaCmds.setKeyframe('polyShape.vtx[0:7]') self.__files.append(util.expandFileName('animPoly.abc')) self.__files.append(util.expandFileName('animPoly01_14.abc')) MayaCmds.AbcExport(j='-fr 1 14 -root poly -file ' + self.__files[-1]) self.__files.append(util.expandFileName('animPoly15_24.abc')) MayaCmds.AbcExport(j='-fr 15 24 -root poly -file ' + self.__files[-1]) # use AbcStitcher to combine two files into one os.system(self.__abcStitcherExe + ' '.join(self.__files[-3:])) # reading test MayaCmds.AbcImport(self.__files[-3], mode='open') MayaCmds.currentTime(1, update=True) sList = OpenMaya.MSelectionList(); sList.add('polyShape'); meshObj = OpenMaya.MObject(); sList.getDependNode(0, meshObj); meshFn = OpenMaya.MFnMesh(meshObj) # check the point list meshPoints = OpenMaya.MFloatPointArray() meshFn.getPoints(meshPoints) self.failUnlessEqual(vtx_1, meshPoints[0]) self.failUnlessEqual(vtx_2, meshPoints[1]) self.failUnlessEqual(vtx_3, meshPoints[2]) self.failUnlessEqual(vtx_4, meshPoints[3]) self.failUnlessEqual(vtx_5, meshPoints[4]) self.failUnlessEqual(vtx_6, meshPoints[5]) self.failUnlessEqual(vtx_7, meshPoints[6]) self.failUnlessEqual(vtx_8, meshPoints[7]) # check the polygonvertices list vertexList = OpenMaya.MIntArray() faceConnects = OpenMaya.MIntArray() faceConnects.setLength(4) faceConnects.set(0, 0) faceConnects.set(1, 1) faceConnects.set(2, 2) faceConnects.set(3, 3) meshFn.getPolygonVertices(0, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(4, 0) faceConnects.set(5, 1) faceConnects.set(6, 2) faceConnects.set(7, 3) meshFn.getPolygonVertices(1, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(3, 0) faceConnects.set(2, 1) faceConnects.set(6, 2) faceConnects.set(5, 3) meshFn.getPolygonVertices(2, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(0, 0) faceConnects.set(3, 1) faceConnects.set(5, 2) faceConnects.set(4, 3) meshFn.getPolygonVertices(3, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(0, 0) faceConnects.set(4, 1) faceConnects.set(7, 2) faceConnects.set(1, 3) meshFn.getPolygonVertices(4, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(1, 0) faceConnects.set(7, 1) faceConnects.set(6, 2) faceConnects.set(2, 3) meshFn.getPolygonVertices(5, vertexList) self.failUnlessEqual(faceConnects, vertexList) MayaCmds.currentTime(12, update=True) meshPoints = OpenMaya.MFloatPointArray() meshFn.getPoints(meshPoints) self.failUnlessEqual(vtx_11, meshPoints[0]) self.failUnlessEqual(vtx_22, meshPoints[1]) self.failUnlessEqual(vtx_33, meshPoints[2]) self.failUnlessEqual(vtx_44, meshPoints[3]) self.failUnlessEqual(vtx_55, meshPoints[4]) self.failUnlessEqual(vtx_66, meshPoints[5]) self.failUnlessEqual(vtx_77, meshPoints[6]) self.failUnlessEqual(vtx_88, meshPoints[7]) MayaCmds.currentTime(24, update=True) meshPoints = OpenMaya.MFloatPointArray() meshFn.getPoints(meshPoints) self.failUnlessEqual(vtx_1, meshPoints[0]) self.failUnlessEqual(vtx_2, meshPoints[1]) self.failUnlessEqual(vtx_3, meshPoints[2]) self.failUnlessEqual(vtx_4, meshPoints[3]) self.failUnlessEqual(vtx_5, meshPoints[4]) self.failUnlessEqual(vtx_6, meshPoints[5]) self.failUnlessEqual(vtx_7, meshPoints[6]) self.failUnlessEqual(vtx_8, meshPoints[7]) def testAnimSubDReadWrite(self): numFaces = 6 numVertices = 8 numFaceConnects = 24 vtx_1 = OpenMaya.MFloatPoint(-0.5, -0.5, -0.5) vtx_2 = OpenMaya.MFloatPoint( 0.5, -0.5, -0.5) vtx_3 = OpenMaya.MFloatPoint( 0.5, -0.5, 0.5) vtx_4 = OpenMaya.MFloatPoint(-0.5, -0.5, 0.5) vtx_5 = OpenMaya.MFloatPoint(-0.5, 0.5, -0.5) vtx_6 = OpenMaya.MFloatPoint(-0.5, 0.5, 0.5) vtx_7 = OpenMaya.MFloatPoint( 0.5, 0.5, 0.5) vtx_8 = OpenMaya.MFloatPoint( 0.5, 0.5, -0.5) points = OpenMaya.MFloatPointArray() points.setLength(8) points.set(vtx_1, 0) points.set(vtx_2, 1) points.set(vtx_3, 2) points.set(vtx_4, 3) points.set(vtx_5, 4) points.set(vtx_6, 5) points.set(vtx_7, 6) points.set(vtx_8, 7) faceConnects = OpenMaya.MIntArray() faceConnects.setLength(numFaceConnects) faceConnects.set(0, 0) faceConnects.set(1, 1) faceConnects.set(2, 2) faceConnects.set(3, 3) faceConnects.set(4, 4) faceConnects.set(5, 5) faceConnects.set(6, 6) faceConnects.set(7, 7) faceConnects.set(3, 8) faceConnects.set(2, 9) faceConnects.set(6, 10) faceConnects.set(5, 11) faceConnects.set(0, 12) faceConnects.set(3, 13) faceConnects.set(5, 14) faceConnects.set(4, 15) faceConnects.set(0, 16) faceConnects.set(4, 17) faceConnects.set(7, 18) faceConnects.set(1, 19) faceConnects.set(1, 20) faceConnects.set(7, 21) faceConnects.set(6, 22) faceConnects.set(2, 23) faceCounts = OpenMaya.MIntArray() faceCounts.setLength(6) faceCounts.set(4, 0) faceCounts.set(4, 1) faceCounts.set(4, 2) faceCounts.set(4, 3) faceCounts.set(4, 4) faceCounts.set(4, 5) transFn = OpenMaya.MFnTransform() parent = transFn.create() transFn.setName('subD') meshFn = OpenMaya.MFnMesh() meshFn.create(numVertices, numFaces, points, faceCounts, faceConnects, parent) meshFn.setName("subDShape"); MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe('subDShape.vtx[0:7]') MayaCmds.currentTime(24, update=True) MayaCmds.setKeyframe('subDShape.vtx[0:7]') MayaCmds.currentTime(12, update=True) vtx_11 = OpenMaya.MFloatPoint(-1, -1, -1) vtx_22 = OpenMaya.MFloatPoint( 1, -1, -1) vtx_33 = OpenMaya.MFloatPoint( 1, -1, 1) vtx_44 = OpenMaya.MFloatPoint(-1, -1, 1) vtx_55 = OpenMaya.MFloatPoint(-1, 1, -1) vtx_66 = OpenMaya.MFloatPoint(-1, 1, 1) vtx_77 = OpenMaya.MFloatPoint( 1, 1, 1) vtx_88 = OpenMaya.MFloatPoint( 1, 1, -1) points.set(vtx_11, 0) points.set(vtx_22, 1) points.set(vtx_33, 2) points.set(vtx_44, 3) points.set(vtx_55, 4) points.set(vtx_66, 5) points.set(vtx_77, 6) points.set(vtx_88, 7) meshFn.setPoints(points) MayaCmds.setKeyframe('subDShape.vtx[0:7]') # mark the mesh as a subD MayaCmds.select('subDShape') MayaCmds.addAttr(attributeType='bool', defaultValue=1, keyable=True, longName='SubDivisionMesh') self.__files.append(util.expandFileName('animSubD.abc')) self.__files.append(util.expandFileName('animSubD01_14.abc')) MayaCmds.AbcExport(j='-fr 1 14 -root subD -file ' + self.__files[-1]) self.__files.append(util.expandFileName('animSubD15_24.abc')) MayaCmds.AbcExport(j='-fr 15 24 -root subD -file ' + self.__files[-1]) # use AbcStitcher to combine two files into one os.system(self.__abcStitcherExe + ' '.join(self.__files[-3:])) # reading test MayaCmds.AbcImport(self.__files[-3], mode='open') MayaCmds.currentTime(1, update=True) sList = OpenMaya.MSelectionList() sList.add('subDShape') meshObj = OpenMaya.MObject() sList.getDependNode(0, meshObj) meshFn = OpenMaya.MFnMesh(meshObj) # check the point list meshPoints = OpenMaya.MFloatPointArray() meshFn.getPoints(meshPoints) self.failUnlessEqual(vtx_1, meshPoints[0]) self.failUnlessEqual(vtx_2, meshPoints[1]) self.failUnlessEqual(vtx_3, meshPoints[2]) self.failUnlessEqual(vtx_4, meshPoints[3]) self.failUnlessEqual(vtx_5, meshPoints[4]) self.failUnlessEqual(vtx_6, meshPoints[5]) self.failUnlessEqual(vtx_7, meshPoints[6]) self.failUnlessEqual(vtx_8, meshPoints[7]) # check the polygonvertices list vertexList = OpenMaya.MIntArray() faceConnects = OpenMaya.MIntArray() faceConnects.setLength(4) faceConnects.set(0, 0) faceConnects.set(1, 1) faceConnects.set(2, 2) faceConnects.set(3, 3) meshFn.getPolygonVertices(0, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(4, 0) faceConnects.set(5, 1) faceConnects.set(6, 2) faceConnects.set(7, 3) meshFn.getPolygonVertices(1, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(3, 0) faceConnects.set(2, 1) faceConnects.set(6, 2) faceConnects.set(5, 3) meshFn.getPolygonVertices(2, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(0, 0) faceConnects.set(3, 1) faceConnects.set(5, 2) faceConnects.set(4, 3) meshFn.getPolygonVertices(3, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(0, 0) faceConnects.set(4, 1) faceConnects.set(7, 2) faceConnects.set(1, 3) meshFn.getPolygonVertices(4, vertexList) self.failUnlessEqual(faceConnects, vertexList) faceConnects.set(1, 0) faceConnects.set(7, 1) faceConnects.set(6, 2) faceConnects.set(2, 3) meshFn.getPolygonVertices(5, vertexList) self.failUnlessEqual(faceConnects, vertexList) MayaCmds.currentTime(12, update=True) meshPoints = OpenMaya.MFloatPointArray() meshFn.getPoints(meshPoints) self.failUnlessEqual(vtx_11, meshPoints[0]) self.failUnlessEqual(vtx_22, meshPoints[1]) self.failUnlessEqual(vtx_33, meshPoints[2]) self.failUnlessEqual(vtx_44, meshPoints[3]) self.failUnlessEqual(vtx_55, meshPoints[4]) self.failUnlessEqual(vtx_66, meshPoints[5]) self.failUnlessEqual(vtx_77, meshPoints[6]) self.failUnlessEqual(vtx_88, meshPoints[7]) MayaCmds.currentTime(24, update=True) meshPoints = OpenMaya.MFloatPointArray() meshFn.getPoints(meshPoints) self.failUnlessEqual(vtx_1, meshPoints[0]) self.failUnlessEqual(vtx_2, meshPoints[1]) self.failUnlessEqual(vtx_3, meshPoints[2]) self.failUnlessEqual(vtx_4, meshPoints[3]) self.failUnlessEqual(vtx_5, meshPoints[4]) self.failUnlessEqual(vtx_6, meshPoints[5]) self.failUnlessEqual(vtx_7, meshPoints[6]) self.failUnlessEqual(vtx_8, meshPoints[7])
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util class StaticPointPrimitiveTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def testPointPrimitiveReadWrite(self): # Creates a particle object with four particles name = MayaCmds.particle( p=[(0, 0, 0), (3, 5, 6), (5, 6, 7), (9, 9, 9)]) posVec = [0, 0, 0, 3, 5, 6, 5, 6, 7, 9, 9, 9] self.__files.append(util.expandFileName('testPointPrimitiveReadWrite.abc')) MayaCmds.AbcExport(j='-root %s -f %s' % (name[0], self.__files[-1])) # reading test MayaCmds.AbcImport(self.__files[-1], mode='open') pos = MayaCmds.getAttr(name[1] + '.position') ids = MayaCmds.getAttr(name[1] + '.particleId') self.failUnlessEqual(len(ids), 4) for i in range(0, 4): index = 3*i self.failUnlessAlmostEqual(pos[i][0], posVec[index], 4) self.failUnlessAlmostEqual(pos[i][1], posVec[index+1], 4) self.failUnlessAlmostEqual(pos[i][2], posVec[index+2], 4)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import os import subprocess import unittest import util def createLocator(): shape = MayaCmds.createNode("locator") name = MayaCmds.pickWalk(shape, d="up") MayaCmds.setAttr(shape+'.localPositionX', 0.962) MayaCmds.setAttr(shape+'.localPositionY', 0.731) MayaCmds.setAttr(shape+'.localPositionZ', 5.114) MayaCmds.setAttr(shape+'.localScaleX', 5) MayaCmds.setAttr(shape+'.localScaleY', 1.44) MayaCmds.setAttr(shape+'.localScaleZ', 1.38) return name[0], shape class locatorTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] self.__abcStitcher = [os.environ['AbcStitcher']] def tearDown(self): for f in self.__files: os.remove(f) def testStaticLocatorRW(self): name = createLocator() # write to file self.__files.append(util.expandFileName('testStaticLocatorRW.abc')) MayaCmds.AbcExport(j='-root %s -file %s' % (name[0], self.__files[-1])) # read from file MayaCmds.AbcImport(self.__files[-1], mode='import') locatorList = MayaCmds.ls(type='locator') self.failUnless(util.compareLocator(locatorList[0], locatorList[1])) def testAnimLocatorRW(self): name = createLocator() MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe(name[1], attribute='localPositionX') MayaCmds.setKeyframe(name[1], attribute='localPositionY') MayaCmds.setKeyframe(name[1], attribute='localPositionZ') MayaCmds.setKeyframe(name[1], attribute='localScaleX') MayaCmds.setKeyframe(name[1], attribute='localScaleY') MayaCmds.setKeyframe(name[1], attribute='localScaleZ') MayaCmds.currentTime(24, update=True) MayaCmds.setKeyframe(name[1], attribute='localPositionX', value=0.0) MayaCmds.setKeyframe(name[1], attribute='localPositionY', value=0.0) MayaCmds.setKeyframe(name[1], attribute='localPositionZ', value=0.0) MayaCmds.setKeyframe(name[1], attribute='localScaleX', value=1.0) MayaCmds.setKeyframe(name[1], attribute='localScaleY', value=1.0) MayaCmds.setKeyframe(name[1], attribute='localScaleZ', value=1.0) self.__files.append(util.expandFileName('testAnimLocatorRW.abc')) self.__files.append(util.expandFileName('testAnimLocatorRW01_14.abc')) self.__files.append(util.expandFileName('testAnimLocatorRW15-24.abc')) # write to files MayaCmds.AbcExport(j='-fr 1 14 -root %s -file %s' % (name[0], self.__files[-2])) MayaCmds.AbcExport(j='-fr 15 24 -root %s -file %s' % (name[0], self.__files[-1])) subprocess.call(self.__abcStitcher + self.__files[-3:]) # read from file MayaCmds.AbcImport(self.__files[-3], mode='import') locatorList = MayaCmds.ls(type='locator') for t in range(1, 25): MayaCmds.currentTime(t, update=True) if not util.compareLocator(locatorList[0], locatorList[1]): self.fail('%s and %s are not the same at frame %d' % (locatorList[0], locatorList[1], t))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util def testStaticNurbsWithoutTrim(self, surfacetype, abcFileName): if (surfacetype == 0): ret = MayaCmds.nurbsPlane(p=(0, 0, 0), ax=(0, 1, 0), w=1, lr=1, d=3, u=5, v=5, ch=0) errmsg = 'Nurbs Plane' elif (surfacetype == 1): ret = MayaCmds.sphere(p=(0, 0, 0), ax=(0, 1, 0), ssw=0, esw=360, r=1, d=3, ut=0, tol=0.01, s=8, nsp=4, ch=0) errmsg = 'Nurbs Sphere' elif (surfacetype == 2): ret = MayaCmds.torus(p=(0, 0, 0), ax=(0, 1, 0), ssw=0, esw=360, msw=360, r=1, hr=0.5, ch=0) errmsg = 'Nurbs Torus' name = ret[0] degreeU = MayaCmds.getAttr(name+'.degreeU') degreeV = MayaCmds.getAttr(name+'.degreeV') spansU = MayaCmds.getAttr(name+'.spansU') spansV = MayaCmds.getAttr(name+'.spansV') minU = MayaCmds.getAttr(name+'.minValueU') maxU = MayaCmds.getAttr(name+'.maxValueU') minV = MayaCmds.getAttr(name+'.minValueV') maxV = MayaCmds.getAttr(name+'.maxValueV') surfaceInfoNode = MayaCmds.createNode('surfaceInfo') MayaCmds.connectAttr(name+'.worldSpace', surfaceInfoNode+'.inputSurface', force=True) controlPoints = MayaCmds.getAttr(surfaceInfoNode+'.controlPoints[*]') knotsU = MayaCmds.getAttr(surfaceInfoNode+'.knotsU[*]') knotsV = MayaCmds.getAttr(surfaceInfoNode+'.knotsV[*]') MayaCmds.AbcExport(j='-root %s -f %s' % (name, abcFileName)) # reading test MayaCmds.AbcImport(abcFileName, mode='open') self.failUnlessEqual(degreeU, MayaCmds.getAttr(name+'.degreeU')) self.failUnlessEqual(degreeV, MayaCmds.getAttr(name+'.degreeV')) self.failUnlessEqual(spansU, MayaCmds.getAttr(name+'.spansU')) self.failUnlessEqual(spansV, MayaCmds.getAttr(name+'.spansV')) self.failUnlessEqual(minU, MayaCmds.getAttr(name+'.minValueU')) self.failUnlessEqual(maxU, MayaCmds.getAttr(name+'.maxValueU')) self.failUnlessEqual(minV, MayaCmds.getAttr(name+'.minValueV')) self.failUnlessEqual(maxV, MayaCmds.getAttr(name+'.maxValueV')) if (surfacetype == 0): self.failUnlessEqual(0, MayaCmds.getAttr(name+'.formU')) self.failUnlessEqual(0, MayaCmds.getAttr(name+'.formV')) elif (surfacetype == 1): self.failUnlessEqual(0, MayaCmds.getAttr(name+'.formU')) self.failUnlessEqual(2, MayaCmds.getAttr(name+'.formV')) elif (surfacetype == 2): self.failUnlessEqual(2, MayaCmds.getAttr(name+'.formU')) self.failUnlessEqual(2, MayaCmds.getAttr(name+'.formV')) surfaceInfoNode = MayaCmds.createNode('surfaceInfo') MayaCmds.connectAttr(name+'.worldSpace', surfaceInfoNode+'.inputSurface', force=True) controlPoints2 = MayaCmds.getAttr(surfaceInfoNode + '.controlPoints[*]') self.failUnlessEqual(len(controlPoints), len(controlPoints2)) for i in range(0, len(controlPoints)): cp1 = controlPoints[i] cp2 = controlPoints2[i] self.failUnlessAlmostEqual(cp1[0], cp2[0], 3, 'cp[%d].x not equal' % i) self.failUnlessAlmostEqual(cp1[1], cp2[1], 3, 'cp[%d].y not equal' % i) self.failUnlessAlmostEqual(cp1[2], cp2[2], 3, 'cp[%d].z not equal' % i) for i in range(0, len(knotsU)): ku1 = knotsU[i] ku2 = MayaCmds.getAttr('surfaceInfo1.knotsU[%d]' % i) self.failUnlessAlmostEqual(ku1, ku2, 3, 'control knotsU # %d not equal' % i) for i in range(0, len(knotsV)): kv1 = knotsV[i] kv2 = MayaCmds.getAttr('surfaceInfo1.knotsV[%d]' % i) self.failUnlessAlmostEqual(kv1, kv2, 3, 'control knotsV # %d not equal' % i) def testStaticNurbsWithOneCloseCurveTrim(self, surfacetype, abcFileName, trimtype): if (surfacetype == 0): ret = MayaCmds.nurbsPlane(p=(0, 0, 0), ax=(0, 1, 0), w=1, lr=1, d=3, u=5, v=5, ch=0) elif (surfacetype == 1): ret = MayaCmds.sphere(p=(0, 0, 0), ax=(0, 1, 0), ssw=0, esw=360, r=1, d=3, ut=0, tol=0.01, s=8, nsp=4, ch=0) elif (surfacetype == 2): ret = MayaCmds.torus(p=(0, 0, 0), ax=(0, 1, 0), ssw=0, esw=360, msw=360, r=1, hr=0.5, ch=0) name = ret[0] MayaCmds.curveOnSurface(name, uv=((0.170718,0.565967), (0.0685088,0.393034), (0.141997,0.206296), (0.95,0.230359), (0.36264,0.441381), (0.251243,0.569889)), k=(0,0,0,0.200545,0.404853,0.598957,0.598957,0.598957)) MayaCmds.closeCurve(name+'->curve1', ch=1, ps=1, rpo=1, bb=0.5, bki=0, p=0.1, cos=1) if trimtype == 0 : MayaCmds.trim(name, lu=0.68, lv=0.39) elif 1 : MayaCmds.trim(name, lu=0.267062, lv=0.39475) degreeU = MayaCmds.getAttr(name+'.degreeU') degreeV = MayaCmds.getAttr(name+'.degreeV') spansU = MayaCmds.getAttr(name+'.spansU') spansV = MayaCmds.getAttr(name+'.spansV') formU = MayaCmds.getAttr(name+'.formU') formV = MayaCmds.getAttr(name+'.formV') minU = MayaCmds.getAttr(name+'.minValueU') maxU = MayaCmds.getAttr(name+'.maxValueU') minV = MayaCmds.getAttr(name+'.minValueV') maxV = MayaCmds.getAttr(name+'.maxValueV') surfaceInfoNode = MayaCmds.createNode('surfaceInfo') MayaCmds.connectAttr(name+'.worldSpace', surfaceInfoNode+'.inputSurface', force=True) controlPoints = MayaCmds.getAttr(surfaceInfoNode+'.controlPoints[*]') knotsU = MayaCmds.getAttr(surfaceInfoNode+'.knotsU[*]') knotsV = MayaCmds.getAttr(surfaceInfoNode+'.knotsV[*]') MayaCmds.AbcExport(j='-root %s -f %s' % (name, abcFileName)) MayaCmds.AbcImport(abcFileName, mode='open') self.failUnlessEqual(degreeU, MayaCmds.getAttr(name+'.degreeU')) self.failUnlessEqual(degreeV, MayaCmds.getAttr(name+'.degreeV')) self.failUnlessEqual(spansU, MayaCmds.getAttr(name+'.spansU')) self.failUnlessEqual(spansV, MayaCmds.getAttr(name+'.spansV')) self.failUnlessEqual(minU, MayaCmds.getAttr(name+'.minValueU')) self.failUnlessEqual(maxU, MayaCmds.getAttr(name+'.maxValueU')) self.failUnlessEqual(minV, MayaCmds.getAttr(name+'.minValueV')) self.failUnlessEqual(maxV, MayaCmds.getAttr(name+'.maxValueV')) surfaceInfoNode = MayaCmds.createNode('surfaceInfo') MayaCmds.connectAttr(name+'.worldSpace', surfaceInfoNode+'.inputSurface', force=True) controlPoints2 = MayaCmds.getAttr( surfaceInfoNode + '.controlPoints[*]') self.failUnlessEqual(len(controlPoints), len(controlPoints2)) for i in range(0, len(controlPoints)): cp1 = controlPoints[i] cp2 = controlPoints2[i] self.failUnlessAlmostEqual(cp1[0], cp2[0], 3, 'cp[%d].x not equal' % i) self.failUnlessAlmostEqual(cp1[1], cp2[1], 3, 'cp[%d].y not equal' % i) self.failUnlessAlmostEqual(cp1[2], cp2[2], 3, 'cp[%d].z not equal' % i) for i in range(0, len(knotsU)): ku1 = knotsU[i] ku2 = MayaCmds.getAttr('surfaceInfo1.knotsU[%d]' % i) self.failUnlessAlmostEqual(ku1, ku2, 3, 'control knotsU # %d not equal' % i) for i in range(0, len(knotsV)): kv1 = knotsV[i] kv2 = MayaCmds.getAttr('surfaceInfo1.knotsV[%d]' % i) self.failUnlessAlmostEqual(kv1, kv2, 3, 'control knotsV # %d not equal' % i) class StaticNurbsSurfaceTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def testStaticNurbsSurfaceWithoutTrimReadWrite(self): # open - open surface self.__files.append(util.expandFileName('testStaticNurbsPlaneWithoutTrim.abc')) testStaticNurbsWithoutTrim(self, 0, self.__files[-1]) # open - periodic surface self.__files.append(util.expandFileName('testStaticNurbsSphereWithoutTrim.abc')) testStaticNurbsWithoutTrim(self, 1, self.__files[-1]) # periodic - periodic surface self.__files.append(util.expandFileName('testStaticNurbsTorusWithoutTrim.abc')) testStaticNurbsWithoutTrim(self, 2 , self.__files[-1]) def testStaticNurbsSurfaceWithOneCloseCurveTrimInsideReadWrite(self): # open - open surface self.__files.append(util.expandFileName('testStaticNurbsPlaneWithOneCloseCurveTrimInside.abc')) testStaticNurbsWithOneCloseCurveTrim(self, 0 , self.__files[-1], 0) # open - periodic surface self.__files.append(util.expandFileName('testStaticNurbsSphereWithOneCloseCurveTrimInside.abc')) testStaticNurbsWithOneCloseCurveTrim(self, 1, self.__files[-1], 0) # periodic - periodic surface self.__files.append(util.expandFileName('testStaticNurbsTorusWithOneCloseCurveTrimInside.abc')) testStaticNurbsWithOneCloseCurveTrim(self, 2, self.__files[-1], 0) def testStaticNurbsSurfaceWithOneCloseCurveTrimOutsideReadWrite(self): # open - open surface self.__files.append(util.expandFileName('testStaticNurbsPlaneWithOneCloseCurveTrimOutside.abc')) testStaticNurbsWithOneCloseCurveTrim(self, 0, self.__files[-1], 1) # open - periodic surface self.__files.append(util.expandFileName('testStaticNurbsSphereWithOneCloseCurveTrimOutside.abc')) testStaticNurbsWithOneCloseCurveTrim(self, 1, self.__files[-1], 1) # periodic - periodic surface self.__files.append(util.expandFileName('testStaticNurbsTorusWithOneCloseCurveTrimOutside.abc')) testStaticNurbsWithOneCloseCurveTrim(self, 2, self.__files[-1], 1) def testStaticNurbsPlaneWithOneSegmentTrimReadWrite(self): ret = MayaCmds.nurbsPlane(p=(0, 0, 0), ax=(0, 1, 0), w=1, lr=1, d=3, u=5, v=5, ch=0) name = ret[0] MayaCmds.curveOnSurface(name, uv=((0.597523,0), (0.600359,0.271782), (0.538598,0.564218), (0.496932,0.779936), (0.672153,1)), k=(0,0,0,0.263463,0.530094,0.530094,0.530094)) MayaCmds.trim(name, lu=0.68, lv=0.39) degreeU = MayaCmds.getAttr(name+'.degreeU') degreeV = MayaCmds.getAttr(name+'.degreeV') spansU = MayaCmds.getAttr(name+'.spansU') spansV = MayaCmds.getAttr(name+'.spansV') minU = MayaCmds.getAttr(name+'.minValueU') maxU = MayaCmds.getAttr(name+'.maxValueU') minV = MayaCmds.getAttr(name+'.minValueV') maxV = MayaCmds.getAttr(name+'.maxValueV') MayaCmds.createNode('surfaceInfo') MayaCmds.connectAttr(name+'.worldSpace', 'surfaceInfo1.inputSurface', force=True) controlPoints = MayaCmds.getAttr('surfaceInfo1.controlPoints[*]') knotsU = MayaCmds.getAttr('surfaceInfo1.knotsU[*]') knotsV = MayaCmds.getAttr('surfaceInfo1.knotsV[*]') self.__files.append(util.expandFileName('testStaticNurbsPlaneWithOneSegmentTrim.abc')) MayaCmds.AbcExport(j='-root %s -f %s' % (name, self.__files[-1])) # reading test MayaCmds.AbcImport(self.__files[-1], mode='open') self.failUnlessEqual(degreeU, MayaCmds.getAttr(name+'.degreeU')) self.failUnlessEqual(degreeV, MayaCmds.getAttr(name+'.degreeV')) self.failUnlessEqual(spansU, MayaCmds.getAttr(name+'.spansU')) self.failUnlessEqual(spansV, MayaCmds.getAttr(name+'.spansV')) self.failUnlessEqual(0, MayaCmds.getAttr(name+'.formU')) self.failUnlessEqual(0, MayaCmds.getAttr(name+'.formV')) self.failUnlessEqual(minU, MayaCmds.getAttr(name+'.minValueU')) self.failUnlessEqual(maxU, MayaCmds.getAttr(name+'.maxValueU')) self.failUnlessEqual(minV, MayaCmds.getAttr(name+'.minValueV')) self.failUnlessEqual(maxV, MayaCmds.getAttr(name+'.maxValueV')) MayaCmds.createNode('surfaceInfo') MayaCmds.connectAttr(name+'.worldSpace', 'surfaceInfo1.inputSurface', force=True) for i in range(0, len(controlPoints)): cp1 = controlPoints[i] cp2 = MayaCmds.getAttr('surfaceInfo1.controlPoints[%d]' % i) self.failUnlessAlmostEqual(cp1[0], cp2[0][0], 3, 'control point [%d].x not equal' % i) self.failUnlessAlmostEqual(cp1[1], cp2[0][1], 3, 'control point [%d].y not equal' % i) self.failUnlessAlmostEqual(cp1[2], cp2[0][2], 3, 'control point [%d].z not equal' % i) for i in range(0, len(knotsU)): ku1 = knotsU[i] ku2 = MayaCmds.getAttr('surfaceInfo1.knotsU[%d]' % i) self.failUnlessAlmostEqual(ku1, ku2, 3, 'control knotsU # %d not equal' % i) for i in range(0, len(knotsV)): kv1 = knotsV[i] kv2 = MayaCmds.getAttr('surfaceInfo1.knotsV[%d]' % i) self.failUnlessAlmostEqual(kv1, kv2, 3, 'control knotsV # %d not equal' % i)
Python
# # Copyright (c) 2010 Sony Pictures Imageworks Inc. # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the # distribution. Neither the name of Sony Pictures Imageworks nor the # names of its contributors may be used to endorse or promote # products derived from this software without specific prior written # permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. from maya import cmds as MayaCmds from maya import mel as Mel import os import unittest import util def makeRobot(): MayaCmds.polyCube(name="head") MayaCmds.move(0, 4, 0, r=1) MayaCmds.polyCube(name="chest") MayaCmds.scale(2, 2.5, 1) MayaCmds.move(0, 2, 0, r=1) MayaCmds.polyCube(name="leftArm") MayaCmds.move(0, 3, 0, r=1) MayaCmds.scale(2, 0.5, 1, r=1) MayaCmds.duplicate(name="rightArm") MayaCmds.select("leftArm") MayaCmds.move(1.25, 0, 0, r=1) MayaCmds.rotate(0, 0, 32, r=1, os=1) MayaCmds.select("rightArm") MayaCmds.move(-1.25, 0, 0, r=1) MayaCmds.rotate(0, 0, -32, r=1, os=1) MayaCmds.select("rightArm", "leftArm", "chest", r=1) MayaCmds.group(name="body") MayaCmds.polyCube(name="bottom") MayaCmds.scale(2, 0.5, 1) MayaCmds.move(0, 0.5, 0, r=1) MayaCmds.polyCube(name="leftLeg") MayaCmds.scale(0.65, 2.8, 1, r=1) MayaCmds.move(-0.5, -1, 0, r=1) MayaCmds.duplicate(name="rightLeg") MayaCmds.move(1, 0, 0, r=1) MayaCmds.select("rightLeg", "leftLeg", "bottom", r=1) MayaCmds.group(name="lower") MayaCmds.select("head", "body", "lower", r=1) MayaCmds.group(name="robot") def makeRobotAnimated(): makeRobot() #change pivot point of arms and legs MayaCmds.move(0.65, -0.40, 0, 'rightArm.scalePivot', 'rightArm.rotatePivot', relative=True) MayaCmds.move(-0.65, -0.40, 0, 'leftArm.scalePivot', 'leftArm.rotatePivot', relative=True) MayaCmds.move(0, 1.12, 0, 'rightLeg.scalePivot', 'rightLeg.rotatePivot', relative=True) MayaCmds.move(0, 1.12, 0, 'leftLeg.scalePivot', 'leftLeg.rotatePivot', relative=True) MayaCmds.setKeyframe('leftLeg', at='rotateX', value=25, t=[1, 12]) MayaCmds.setKeyframe('leftLeg', at='rotateX', value=-40, t=[6]) MayaCmds.setKeyframe('rightLeg', at='scaleY', value=2.8, t=[1, 12]) MayaCmds.setKeyframe('rightLeg', at='scaleY', value=5.0, t=[6]) MayaCmds.setKeyframe('leftArm', at='rotateZ', value=55, t=[1, 12]) MayaCmds.setKeyframe('leftArm', at='rotateZ', value=-50, t=[6]) MayaCmds.setKeyframe('rightArm', at='scaleX', value=0.5, t=[1, 12]) MayaCmds.setKeyframe('rightArm', at='scaleX', value=3.6, t=[6]) class AbcNodeNameTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def testReturnAbcNodeName(self): makeRobotAnimated() self.__files.append(util.expandFileName('returnAlembicNodeNameTest.abc')) MayaCmds.AbcExport(j='-fr 1 12 -root robot -file ' + self.__files[-1]) ret = MayaCmds.AbcImport(self.__files[-1], mode='open') ret1 = MayaCmds.AbcImport(self.__files[-1], mode='import') self.failUnless(MayaCmds.objExists(ret)) self.failUnless(MayaCmds.objExists(ret1)) self.failIf(ret == ret1)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import os import unittest import util class ColorSetsTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def testStaticMeshStaticColor(self): red_array = OpenMaya.MColorArray() red_array.append(1.0, 0.0, 0.0) blue_array = OpenMaya.MColorArray() blue_array.append(0.0, 0.0, 1.0) single_indices = OpenMaya.MIntArray(4, 0) mixed_colors = [[1.0, 1.0, 0.0, 1.0], [0.0, 1.0, 1.0, 0.75], [1.0, 0.0, 1.0, 0.5], [1.0, 1.0, 1.0, 0.25]] mixed_array = OpenMaya.MColorArray() for x in mixed_colors: mixed_array.append(x[0], x[1], x[2], x[3]) mixed_indices = OpenMaya.MIntArray() for i in range(4): mixed_indices.append(i) MayaCmds.polyPlane(sx=1, sy=1, name='poly') MayaCmds.select('polyShape') sel = OpenMaya.MSelectionList() OpenMaya.MGlobal.getActiveSelectionList(sel) obj = OpenMaya.MObject() sel.getDependNode(0, obj) fn = OpenMaya.MFnMesh(obj) fn.createColorSetWithName('reds') fn.createColorSetWithName('mixed') fn.setColors(red_array, 'reds', OpenMaya.MFnMesh.kRGB) fn.assignColors(single_indices, 'reds') fn.setColors(mixed_array, 'mixed', OpenMaya.MFnMesh.kRGBA) fn.assignColors(mixed_indices, 'mixed') fn.setCurrentColorSetName('mixed') MayaCmds.polyPlane(sx=1, sy=1, name='subd') MayaCmds.select('subdShape') sel = OpenMaya.MSelectionList() OpenMaya.MGlobal.getActiveSelectionList(sel) obj = OpenMaya.MObject() sel.getDependNode(0, obj) fn = OpenMaya.MFnMesh(obj) fn.createColorSetWithName('blues') fn.createColorSetWithName('mixed') fn.setColors(blue_array, 'blues', OpenMaya.MFnMesh.kRGB) fn.assignColors(single_indices, 'blues') fn.setColors(mixed_array, 'mixed', OpenMaya.MFnMesh.kRGBA) fn.assignColors(mixed_indices, 'mixed') fn.setCurrentColorSetName('blues') MayaCmds.addAttr(longName='SubDivisionMesh', attributeType='bool', defaultValue=True) self.__files.append(util.expandFileName('staticColorSets.abc')) MayaCmds.AbcExport(j='-root poly -root subd -wcs -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], mode='open') MayaCmds.select('polyShape') sel = OpenMaya.MSelectionList() OpenMaya.MGlobal.getActiveSelectionList(sel) obj = OpenMaya.MObject() sel.getDependNode(0, obj) fn = OpenMaya.MFnMesh(obj) self.failUnless(fn.currentColorSetName() == 'mixed') setNames = [] fn.getColorSetNames(setNames) self.failUnless(len(setNames) == 2) self.failUnless(setNames.count('mixed') == 1) self.failUnless(setNames.count('reds') == 1) colArray = OpenMaya.MColorArray() fn.getFaceVertexColors(colArray, 'reds') self.failUnless(colArray.length() == 4) for x in range(colArray.length()): self.failUnless(colArray[x].r == 1) self.failUnless(colArray[x].g == 0) self.failUnless(colArray[x].b == 0) fn.getFaceVertexColors(colArray, 'mixed') self.failUnless(colArray.length() == 4) for x in range(colArray.length()): self.failUnless(colArray[x].r == mixed_colors[x][0]) self.failUnless(colArray[x].g == mixed_colors[x][1]) self.failUnless(colArray[x].b == mixed_colors[x][2]) self.failUnless(colArray[x].a == mixed_colors[x][3]) MayaCmds.select('subdShape') self.failUnless(MayaCmds.getAttr('subdShape.SubDivisionMesh') == 1) sel = OpenMaya.MSelectionList() OpenMaya.MGlobal.getActiveSelectionList(sel) obj = OpenMaya.MObject() sel.getDependNode(0, obj) fn = OpenMaya.MFnMesh(obj) self.failUnless(fn.currentColorSetName() == 'blues') setNames = [] fn.getColorSetNames(setNames) self.failUnless(len(setNames) == 2) self.failUnless(setNames.count('mixed') == 1) self.failUnless(setNames.count('blues') == 1) colArray = OpenMaya.MColorArray() fn.getFaceVertexColors(colArray, 'blues') self.failUnless(colArray.length() == 4) for x in range(colArray.length()): self.failUnless(colArray[x].r == 0) self.failUnless(colArray[x].g == 0) self.failUnless(colArray[x].b == 1) fn.getFaceVertexColors(colArray, 'mixed') self.failUnless(colArray.length() == 4) for x in range(colArray.length()): self.failUnless(colArray[x].r == mixed_colors[x][0]) self.failUnless(colArray[x].g == mixed_colors[x][1]) self.failUnless(colArray[x].b == mixed_colors[x][2]) self.failUnless(colArray[x].a == mixed_colors[x][3]) def testStaticMeshAnimColor(self): MayaCmds.currentTime(1) MayaCmds.polyPlane(sx=1, sy=1, name='poly') MayaCmds.polyColorPerVertex(r=0.0,g=1.0,b=0.0, cdo=True) MayaCmds.setKeyframe(["polyColorPerVertex1"]) MayaCmds.currentTime(10) MayaCmds.polyColorPerVertex(r=0.0,g=0.0,b=1.0, cdo=True) MayaCmds.setKeyframe(["polyColorPerVertex1"]) MayaCmds.currentTime(1) MayaCmds.polyPlane(sx=1, sy=1, name='subd') MayaCmds.select('subdShape') MayaCmds.addAttr(longName='SubDivisionMesh', attributeType='bool', defaultValue=True) MayaCmds.polyColorPerVertex(r=1.0,g=1.0,b=0.0, cdo=True) MayaCmds.setKeyframe(["polyColorPerVertex2"]) MayaCmds.currentTime(10) MayaCmds.polyColorPerVertex(r=1.0,g=0.0,b=0.0, cdo=True) MayaCmds.setKeyframe(["polyColorPerVertex2"]) self.__files.append(util.expandFileName('animColorSets.abc')) MayaCmds.AbcExport(j='-fr 1 10 -root poly -root subd -wcs -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], mode='open') MayaCmds.select('polyShape') sel = OpenMaya.MSelectionList() OpenMaya.MGlobal.getActiveSelectionList(sel) obj = OpenMaya.MObject() sel.getDependNode(0, obj) fn = OpenMaya.MFnMesh(obj) MayaCmds.currentTime(1) colArray = OpenMaya.MColorArray() fn.getFaceVertexColors(colArray) self.failUnless(colArray.length() == 4) for x in range(colArray.length()): self.failUnlessAlmostEqual(colArray[x].r, 0) self.failUnlessAlmostEqual(colArray[x].g, 1) self.failUnlessAlmostEqual(colArray[x].b, 0) MayaCmds.currentTime(5) colArray = OpenMaya.MColorArray() fn.getFaceVertexColors(colArray) self.failUnless(colArray.length() == 4) for x in range(colArray.length()): self.failUnless(colArray[x].r == 0) self.failUnlessAlmostEqual(colArray[x].g, 0.555555582047) self.failUnlessAlmostEqual(colArray[x].b, 0.444444447756) MayaCmds.currentTime(10) colArray = OpenMaya.MColorArray() fn.getFaceVertexColors(colArray) self.failUnless(colArray.length() == 4) for x in range(colArray.length()): self.failUnlessAlmostEqual(colArray[x].r, 0) self.failUnlessAlmostEqual(colArray[x].g, 0) self.failUnlessAlmostEqual(colArray[x].b, 1) self.failUnless(MayaCmds.getAttr('subdShape.SubDivisionMesh') == 1) MayaCmds.select('subdShape') sel = OpenMaya.MSelectionList() OpenMaya.MGlobal.getActiveSelectionList(sel) obj = OpenMaya.MObject() sel.getDependNode(0, obj) fn = OpenMaya.MFnMesh(obj) MayaCmds.currentTime(1) colArray = OpenMaya.MColorArray() fn.getFaceVertexColors(colArray) self.failUnless(colArray.length() == 4) for x in range(colArray.length()): self.failUnlessAlmostEqual(colArray[x].r, 1) self.failUnlessAlmostEqual(colArray[x].g, 1) self.failUnlessAlmostEqual(colArray[x].b, 0) MayaCmds.currentTime(5) colArray = OpenMaya.MColorArray() fn.getFaceVertexColors(colArray) self.failUnless(colArray.length() == 4) for x in range(colArray.length()): self.failUnlessAlmostEqual(colArray[x].r, 1) self.failUnlessAlmostEqual(colArray[x].g, 0.555555582047) self.failUnlessAlmostEqual(colArray[x].b, 0) MayaCmds.currentTime(10) colArray = OpenMaya.MColorArray() fn.getFaceVertexColors(colArray) self.failUnless(colArray.length() == 4) for x in range(colArray.length()): self.failUnlessAlmostEqual(colArray[x].r, 1) self.failUnlessAlmostEqual(colArray[x].g, 0) self.failUnlessAlmostEqual(colArray[x].b, 0)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util def makeRobot(): MayaCmds.polyCube(name="head") MayaCmds.move(0, 4, 0, r=1) MayaCmds.polyCube(name="chest") MayaCmds.scale(2, 2.5, 1) MayaCmds.move(0, 2, 0, r=1) MayaCmds.polyCube(name="leftArm") MayaCmds.move(0, 3, 0, r=1) MayaCmds.scale(2, 0.5, 1, r=1) MayaCmds.duplicate(name="rightArm") MayaCmds.select("leftArm") MayaCmds.move(1.25, 0, 0, r=1) MayaCmds.rotate(0, 0, 32, r=1, os=1) MayaCmds.select("rightArm") MayaCmds.move(-1.25, 0, 0, r=1) MayaCmds.rotate(0, 0, -32, r=1, os=1) MayaCmds.select("rightArm", "leftArm", "chest", r=1) MayaCmds.group(name="body") MayaCmds.polyCube(name="bottom") MayaCmds.scale(2, 0.5, 1) MayaCmds.move(0, 0.5, 0, r=1) MayaCmds.polyCube(name="leftLeg") MayaCmds.scale(0.65, 2.8, 1, r=1) MayaCmds.move(-0.5, -1, 0, r=1) MayaCmds.duplicate(name="rightLeg") MayaCmds.move(1, 0, 0, r=1) MayaCmds.select("rightLeg", "leftLeg", "bottom", r=1) MayaCmds.group(name="lower") MayaCmds.select("head", "body", "lower", r=1) MayaCmds.group(name="robot") class selectionTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testWriteMultipleRoots(self): makeRobot() MayaCmds.duplicate("robot", name="dupRobot") self.__files.append(util.expandFileName('writeMultipleRootsTest.abc')) MayaCmds.AbcExport(j='-root dupRobot -root head -root lower -root chest -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], m='open') self.failUnless(MayaCmds.objExists("dupRobot")) self.failUnless(MayaCmds.objExists("head")) self.failUnless(MayaCmds.objExists("lower")) self.failUnless(MayaCmds.objExists("chest")) self.failIf(MayaCmds.objExists("robot")) self.failIf(MayaCmds.objExists("robot|body"))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import unittest import util import os class interpolationTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testSubD(self): trans = MayaCmds.polyPlane(n='plane', sx=1, sy=1, ch=False)[0] shape = MayaCmds.pickWalk(d='down')[0] MayaCmds.addAttr(attributeType='bool', defaultValue=1, keyable=True, longName='SubDivisionMesh') MayaCmds.select(trans+'.vtx[0:3]', r=True) MayaCmds.move(0, 1, 0, r=True) MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe() MayaCmds.currentTime(2, update=True) MayaCmds.move(0, 5, 0, r=True) MayaCmds.setKeyframe() self.__files.append(util.expandFileName('testSubDInterpolation.abc')) MayaCmds.AbcExport(j='-fr 1 2 -root %s -file %s' % (trans, self.__files[-1])) MayaCmds.AbcImport(self.__files[-1], mode='open') MayaCmds.currentTime(1.004, update=True) ty = MayaCmds.getAttr(shape+'.vt[0]')[0][1] self.failUnlessAlmostEqual(1.02, ty) setTime = MayaCmds.currentTime(1.422, update=True) alpha = (setTime - 1) / (2 - 1) ty = MayaCmds.getAttr(shape+'.vt[0]')[0][1] self.failUnlessAlmostEqual(ty, (1-alpha)*1.0+alpha*6.0, 3) def testPoly(self): trans = MayaCmds.polyPlane(n='plane', sx=1, sy=1, ch=False)[0] shape = MayaCmds.pickWalk(d='down')[0] MayaCmds.select(trans+'.vtx[0:3]', r=True) MayaCmds.move(0, 1, 0, r=True) MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe() MayaCmds.currentTime(2, update=True) MayaCmds.move(0, 5, 0, r=True) MayaCmds.setKeyframe() self.__files.append(util.expandFileName('testPolyInterpolation.abc')) MayaCmds.AbcExport(j='-fr 1 2 -root %s -file %s' % (trans, self.__files[-1])) MayaCmds.AbcImport(self.__files[-1], mode='open') MayaCmds.currentTime(1.004, update=True) ty = MayaCmds.getAttr(shape+'.vt[0]')[0][1] self.failUnlessAlmostEqual(1.02, ty) setTime = MayaCmds.currentTime(1.422, update=True) alpha = (setTime - 1) / (2 - 1) ty = MayaCmds.getAttr(shape+'.vt[0]')[0][1] self.failUnlessAlmostEqual(ty, (1-alpha)*1.0+alpha*6.0, 3) def testTransOp(self): nodeName = MayaCmds.createNode('transform', n='test') # shear MayaCmds.setKeyframe(nodeName, value=0, attribute='shearXY', t=1) MayaCmds.setKeyframe(nodeName, value=0, attribute='shearYZ', t=1) MayaCmds.setKeyframe(nodeName, value=0, attribute='shearXZ', t=1) MayaCmds.setKeyframe(nodeName, value=1.5, attribute='shearXY', t=2) MayaCmds.setKeyframe(nodeName, value=5, attribute='shearYZ', t=2) MayaCmds.setKeyframe(nodeName, value=2.5, attribute='shearXZ', t=2) # translate MayaCmds.setKeyframe('test', value=0, attribute='translateX', t=1) MayaCmds.setKeyframe('test', value=0, attribute='translateY', t=1) MayaCmds.setKeyframe('test', value=0, attribute='translateZ', t=1) MayaCmds.setKeyframe('test', value=1.5, attribute='translateX', t=2) MayaCmds.setKeyframe('test', value=5, attribute='translateY', t=2) MayaCmds.setKeyframe('test', value=2.5, attribute='translateZ', t=2) # rotate MayaCmds.setKeyframe('test', value=0, attribute='rotateX', t=1) MayaCmds.setKeyframe('test', value=0, attribute='rotateY', t=1) MayaCmds.setKeyframe('test', value=0, attribute='rotateZ', t=1) MayaCmds.setKeyframe('test', value=24, attribute='rotateX', t=2) MayaCmds.setKeyframe('test', value=53, attribute='rotateY', t=2) MayaCmds.setKeyframe('test', value=90, attribute='rotateZ', t=2) # scale MayaCmds.setKeyframe('test', value=1, attribute='scaleX', t=1) MayaCmds.setKeyframe('test', value=1, attribute='scaleY', t=1) MayaCmds.setKeyframe('test', value=1, attribute='scaleZ', t=1) MayaCmds.setKeyframe('test', value=1.2, attribute='scaleX', t=2) MayaCmds.setKeyframe('test', value=1.5, attribute='scaleY', t=2) MayaCmds.setKeyframe('test', value=1.5, attribute='scaleZ', t=2) # rotate pivot MayaCmds.setKeyframe('test', value=0.5, attribute='rotatePivotX', t=1) MayaCmds.setKeyframe('test', value=-0.1, attribute='rotatePivotY', t=1) MayaCmds.setKeyframe('test', value=1, attribute='rotatePivotZ', t=1) MayaCmds.setKeyframe('test', value=0.8, attribute='rotatePivotX', t=2) MayaCmds.setKeyframe('test', value=1.5, attribute='rotatePivotY', t=2) MayaCmds.setKeyframe('test', value=-1, attribute='rotatePivotZ', t=2) # scale pivot MayaCmds.setKeyframe('test', value=1.2, attribute='scalePivotX', t=1) MayaCmds.setKeyframe('test', value=1.0, attribute='scalePivotY', t=1) MayaCmds.setKeyframe('test', value=1.2, attribute='scalePivotZ', t=1) MayaCmds.setKeyframe('test', value=1.4, attribute='scalePivotX', t=2) MayaCmds.setKeyframe('test', value=1.5, attribute='scalePivotY', t=2) MayaCmds.setKeyframe('test', value=1.5, attribute='scalePivotZ', t=2) self.__files.append(util.expandFileName('testTransOpInterpolation.abc')) MayaCmds.AbcExport(j='-fr 1 2 -root %s -f %s' % (nodeName, self.__files[-1])) MayaCmds.AbcImport(self.__files[-1], mode='open') MayaCmds.currentTime(1.004, update=True) # should read the content of frame #1 self.failUnlessAlmostEqual(0.006, MayaCmds.getAttr('test.shearXY')) self.failUnlessAlmostEqual(0.02, MayaCmds.getAttr('test.shearYZ')) self.failUnlessAlmostEqual(0.01, MayaCmds.getAttr('test.shearXZ')) self.failUnlessAlmostEqual(0.006, MayaCmds.getAttr('test.translateX')) self.failUnlessAlmostEqual(0.02, MayaCmds.getAttr('test.translateY')) self.failUnlessAlmostEqual(0.01, MayaCmds.getAttr('test.translateZ')) self.failUnlessAlmostEqual(0.096, MayaCmds.getAttr('test.rotateX')) self.failUnlessAlmostEqual(0.212, MayaCmds.getAttr('test.rotateY')) self.failUnlessAlmostEqual(0.36, MayaCmds.getAttr('test.rotateZ')) self.failUnlessAlmostEqual(1.0008, MayaCmds.getAttr('test.scaleX')) self.failUnlessAlmostEqual(1.002, MayaCmds.getAttr('test.scaleY')) self.failUnlessAlmostEqual(1.002, MayaCmds.getAttr('test.scaleZ')) self.failUnlessAlmostEqual(0.5012, MayaCmds.getAttr('test.rotatePivotX')) self.failUnlessAlmostEqual(-0.0936, MayaCmds.getAttr('test.rotatePivotY')) self.failUnlessAlmostEqual(0.992, MayaCmds.getAttr('test.rotatePivotZ')) self.failUnlessAlmostEqual(1.2008, MayaCmds.getAttr('test.scalePivotX')) self.failUnlessAlmostEqual(1.002, MayaCmds.getAttr('test.scalePivotY')) self.failUnlessAlmostEqual(1.2012, MayaCmds.getAttr('test.scalePivotZ')) setTime = MayaCmds.currentTime(1.422, update=True) alpha = (setTime - 1) / (2 - 1) # should interpolate the content of frame #3 and frame #4 self.failUnlessAlmostEqual(MayaCmds.getAttr('test.shearXY'), (1-alpha)*0+alpha*1.5) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.shearYZ'), (1-alpha)*0+alpha*5.0) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.shearXZ'), (1-alpha)*0+alpha*2.5) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.translateX'), (1-alpha)*0+alpha*1.5) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.translateY'), (1-alpha)*0+alpha*5.0) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.translateZ'), (1-alpha)*0+alpha*2.5) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.rotateX'), (1-alpha)*0+alpha*24) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.rotateY'), (1-alpha)*0+alpha*53) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.rotateZ'), (1-alpha)*0+alpha*90) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.scaleX'), (1-alpha)*1+alpha*1.2) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.scaleY'), (1-alpha)*1+alpha*1.5) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.scaleZ'), (1-alpha)*1+alpha*1.5) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.rotatePivotX'), (1-alpha)*0.5+alpha*0.8) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.rotatePivotY'), (1-alpha)*(-0.1)+alpha*1.5) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.rotatePivotZ'), (1-alpha)*1.0+alpha*(-1.0)) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.scalePivotX'), (1-alpha)*1.2+alpha*1.4) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.scalePivotY'), (1-alpha)*1.0+alpha*1.5) self.failUnlessAlmostEqual(MayaCmds.getAttr('test.scalePivotZ'), (1-alpha)*1.2+alpha*1.5) def testCamera(self): # create an animated camera and write out name = MayaCmds.camera() MayaCmds.setAttr(name[1]+'.horizontalFilmAperture', 0.962) MayaCmds.setAttr(name[1]+'.verticalFilmAperture', 0.731) MayaCmds.setAttr(name[1]+'.focalLength', 50) MayaCmds.setAttr(name[1]+'.focusDistance', 5) MayaCmds.setAttr(name[1]+'.shutterAngle', 144) # animate the camera MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe(name[1], attribute='horizontalFilmAperture') MayaCmds.setKeyframe(name[1], attribute='focalLength') MayaCmds.setKeyframe(name[1], attribute='focusDistance') MayaCmds.setKeyframe(name[1], attribute='shutterAngle') MayaCmds.currentTime(6, update=True) MayaCmds.setKeyframe(name[1], attribute='horizontalFilmAperture', value=0.95) MayaCmds.setKeyframe(name[1], attribute='focalLength', value=40) MayaCmds.setKeyframe(name[1], attribute='focusDistance', value=5.4) MayaCmds.setKeyframe(name[1], attribute='shutterAngle', value=174.94) self.__files.append(util.expandFileName('testCameraInterpolation.abc')) MayaCmds.AbcExport(j='-fr 1 6 -root %s -f %s' % (name[0], self.__files[-1])) MayaCmds.AbcImport(self.__files[-1], mode='import') camList = MayaCmds.ls(type='camera') t = 1.004 MayaCmds.currentTime(t, update=True) self.failUnlessAlmostEqual(MayaCmds.getAttr(camList[0]+'.horizontalFilmAperture'), 0.962, 3) setTime = MayaCmds.currentTime(1.422, update=True) alpha = (setTime - 1) / (2 - 1) if not util.compareCamera(camList[0], camList[1]): self.fail('%s and %s are not the same at frame %d' % (camList[0], camList[1], t)) def testProp(self): trans = MayaCmds.createNode("transform") # create animated props MayaCmds.select(trans) MayaCmds.addAttr(longName='SPT_int8', dv=0, attributeType='byte', keyable=True) MayaCmds.addAttr(longName='SPT_int16', dv=0, attributeType='short', keyable=True) MayaCmds.addAttr(longName='SPT_int32', dv=0, attributeType='long', keyable=True) MayaCmds.addAttr(longName='SPT_float', dv=0, attributeType='float', keyable=True) MayaCmds.addAttr(longName='SPT_double', dv=0, attributeType='double', keyable=True) MayaCmds.setKeyframe(trans, value=0, attribute='SPT_int8', t=1) MayaCmds.setKeyframe(trans, value=100, attribute='SPT_int16', t=1) MayaCmds.setKeyframe(trans, value=1000, attribute='SPT_int32', t=1) MayaCmds.setKeyframe(trans, value=0.57777777, attribute='SPT_float', t=1) MayaCmds.setKeyframe(trans, value=5.045643545457, attribute='SPT_double', t=1) MayaCmds.setKeyframe(trans, value=8, attribute='SPT_int8', t=2) MayaCmds.setKeyframe(trans, value=16, attribute='SPT_int16', t=2) MayaCmds.setKeyframe(trans, value=32, attribute='SPT_int32', t=2) MayaCmds.setKeyframe(trans, value=3.141592654, attribute='SPT_float', t=2) MayaCmds.setKeyframe(trans, value=3.141592654, attribute='SPT_double', t=2) self.__files.append(util.expandFileName('testPropInterpolation.abc')) MayaCmds.AbcExport(j='-fr 1 2 -atp SPT_ -root %s -f %s' % (trans, self.__files[-1])) MayaCmds.AbcImport(self.__files[-1], mode='open') t = 1.004 MayaCmds.currentTime(t, update=True) self.failUnlessEqual(MayaCmds.getAttr(trans+'.SPT_int8'), 0) self.failUnlessEqual(MayaCmds.getAttr(trans+'.SPT_int16'), 99) self.failUnlessEqual(MayaCmds.getAttr(trans+'.SPT_int32'), 996) self.failUnlessAlmostEqual(MayaCmds.getAttr(trans+'.SPT_float'), 0.5880330295359999, 7) self.failUnlessAlmostEqual(MayaCmds.getAttr(trans+'.SPT_double'), 5.038027341891171, 7) setTime = MayaCmds.currentTime(1.422, update=True) alpha = (setTime - 1) / (2 - 1) self.failUnlessAlmostEqual(MayaCmds.getAttr(trans+'.SPT_int8'), (1-alpha)*0+alpha*8, -1) self.failUnlessAlmostEqual(MayaCmds.getAttr(trans+'.SPT_int16'), (1-alpha)*100+alpha*16, -1) self.failUnlessAlmostEqual(MayaCmds.getAttr(trans+'.SPT_int32'), (1-alpha)*1000+alpha*32, -1) self.failUnlessAlmostEqual(MayaCmds.getAttr(trans+'.SPT_float'), (1-alpha)*0.57777777+alpha*3.141592654, 6) self.failUnlessAlmostEqual(MayaCmds.getAttr(trans+'.SPT_double'), (1-alpha)* 5.045643545457+alpha*3.141592654, 6)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import maya.OpenMaya as OpenMaya import os import subprocess import unittest import util def createJoints(): name = MayaCmds.joint(position=(0, 0, 0)) MayaCmds.rotate(33.694356, 4.000428, 61.426019, r=True, ws=True) MayaCmds.joint(position=(0, 4, 0), orientation=(0.0, 45.0, 90.0)) MayaCmds.rotate(62.153171, 0.0, 0.0, r=True, os=True) MayaCmds.joint(position=(0, 8, -1), orientation=(90.0, 0.0, 0.0)) MayaCmds.rotate(70.245162, -33.242019, 41.673097, r=True, os=True) MayaCmds.joint(position=(0, 12, 3)) MayaCmds.rotate(0.0, 0.0, -58.973851, r=True, os=True) return name class JointTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] self.__abcStitcher = [os.environ['AbcStitcher']] def tearDown(self): for f in self.__files: os.remove(f) def testStaticJointRW(self): name = createJoints() # write to file self.__files.append(util.expandFileName('testStaticJoints.abc')) MayaCmds.AbcExport(j='-root %s -file %s' % (name, self.__files[-1])) MayaCmds.select(name) MayaCmds.group(name='original') # read from file MayaCmds.AbcImport(self.__files[-1], mode='import') # make sure the translate and rotation are the same nodes1 = ["|original|joint1", "|original|joint1|joint2", "|original|joint1|joint2|joint3", "|original|joint1|joint2|joint3|joint4"] nodes2 = ["|joint1", "|joint1|joint2", "|joint1|joint2|joint3", "|joint1|joint2|joint3|joint4"] for i in range(0, 4): self.failUnlessAlmostEqual(MayaCmds.getAttr(nodes1[i]+'.tx'), MayaCmds.getAttr(nodes2[i]+'.tx'), 4) self.failUnlessAlmostEqual(MayaCmds.getAttr(nodes1[i]+'.ty'), MayaCmds.getAttr(nodes2[i]+'.ty'), 4) self.failUnlessAlmostEqual(MayaCmds.getAttr(nodes1[i]+'.tz'), MayaCmds.getAttr(nodes2[i]+'.tz'), 4) def testStaticIKRW(self): name = createJoints() MayaCmds.ikHandle(sj=name, ee='joint4') MayaCmds.move(-1.040057, -7.278225, 6.498725, r=True) # write to file self.__files.append(util.expandFileName('testStaticIK.abc')) MayaCmds.AbcExport(j='-root %s -f %s' % (name, self.__files[-1])) MayaCmds.select(name) MayaCmds.group(name='original') # read from file MayaCmds.AbcImport(self.__files[-1], mode='import') # make sure the translate and rotation are the same nodes1 = ["|original|joint1", "|original|joint1|joint2", "|original|joint1|joint2|joint3", "|original|joint1|joint2|joint3|joint4"] nodes2 = ["|joint1", "|joint1|joint2", "|joint1|joint2|joint3", "|joint1|joint2|joint3|joint4"] for i in range(0, 4): self.failUnlessAlmostEqual(MayaCmds.getAttr(nodes1[i]+'.tx'), MayaCmds.getAttr(nodes2[i]+'.tx'), 4) self.failUnlessAlmostEqual(MayaCmds.getAttr(nodes1[i]+'.ty'), MayaCmds.getAttr(nodes2[i]+'.ty'), 4) self.failUnlessAlmostEqual(MayaCmds.getAttr(nodes1[i]+'.tz'), MayaCmds.getAttr(nodes2[i]+'.tz'), 4) def testAnimIKRW(self): name = createJoints() handleName = MayaCmds.ikHandle(sj=name, ee='joint4')[0] MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe(handleName, breakdown=0, hierarchy='none', controlPoints=False, shape=False) MayaCmds.currentTime(16, update=True) MayaCmds.move(-1.040057, -7.278225, 6.498725, r=True) MayaCmds.setKeyframe(handleName, breakdown=0, hierarchy='none', controlPoints=False, shape=False) self.__files.append(util.expandFileName('testAnimIKRW.abc')) self.__files.append(util.expandFileName('testAnimIKRW01_08.abc')) self.__files.append(util.expandFileName('testAnimIKRW09-16.abc')) # write to files MayaCmds.AbcExport(j='-fr 1 8 -root %s -f %s' % (name, self.__files[-2])) MayaCmds.AbcExport(j='-fr 9 16 -root %s -f %s' % (name, self.__files[-1])) MayaCmds.select(name) MayaCmds.group(name='original') subprocess.call(self.__abcStitcher + self.__files[-3:]) # read from file MayaCmds.AbcImport(self.__files[-3], mode='import') # make sure the translate and rotation are the same nodes1 = ["|original|joint1", "|original|joint1|joint2", "|original|joint1|joint2|joint3", "|original|joint1|joint2|joint3|joint4"] nodes2 = ["|joint1", "|joint1|joint2", "|joint1|joint2|joint3", "|joint1|joint2|joint3|joint4"] for t in range(1, 25): MayaCmds.currentTime(t, update=True) for i in range(0, 4): self.failUnlessAlmostEqual(MayaCmds.getAttr(nodes1[i]+'.tx'), MayaCmds.getAttr(nodes2[i]+'.tx'), 4) self.failUnlessAlmostEqual(MayaCmds.getAttr(nodes1[i]+'.ty'), MayaCmds.getAttr(nodes2[i]+'.ty'), 4) self.failUnlessAlmostEqual(MayaCmds.getAttr(nodes1[i]+'.tz'), MayaCmds.getAttr(nodes2[i]+'.tz'), 4)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds from maya import mel as Mel import os import unittest import util def makeRobot(): MayaCmds.polyCube(name="head") MayaCmds.move(0, 4, 0, r=1) MayaCmds.polyCube(name="chest") MayaCmds.scale(2, 2.5, 1) MayaCmds.move(0, 2, 0, r=1) MayaCmds.polyCube(name="leftArm") MayaCmds.move(0, 3, 0, r=1) MayaCmds.scale(2, 0.5, 1, r=1) MayaCmds.duplicate(name="rightArm") MayaCmds.select("leftArm") MayaCmds.move(1.25, 0, 0, r=1) MayaCmds.rotate(0, 0, 32, r=1, os=1) MayaCmds.select("rightArm") MayaCmds.move(-1.25, 0, 0, r=1) MayaCmds.rotate(0, 0, -32, r=1, os=1) MayaCmds.select("rightArm", "leftArm", "chest", r=1) MayaCmds.group(name="body") MayaCmds.polyCube(name="bottom") MayaCmds.scale(2, 0.5, 1) MayaCmds.move(0, 0.5, 0, r=1) MayaCmds.polyCube(name="leftLeg") MayaCmds.scale(0.65, 2.8, 1, r=1) MayaCmds.move(-0.5, -1, 0, r=1) MayaCmds.duplicate(name="rightLeg") MayaCmds.move(1, 0, 0, r=1) MayaCmds.select("rightLeg", "leftLeg", "bottom", r=1) MayaCmds.group(name="lower") MayaCmds.select("head", "body", "lower", r=1) MayaCmds.group(name="robot") def makeRobotAnimated(): makeRobot() #change pivot point of arms and legs MayaCmds.move(0.65, -0.40, 0, 'rightArm.scalePivot', 'rightArm.rotatePivot', relative=True) MayaCmds.move(-0.65, -0.40, 0, 'leftArm.scalePivot', 'leftArm.rotatePivot', relative=True) MayaCmds.move(0, 1.12, 0, 'rightLeg.scalePivot', 'rightLeg.rotatePivot', relative=True) MayaCmds.move(0, 1.12, 0, 'leftLeg.scalePivot', 'leftLeg.rotatePivot', relative=True) MayaCmds.setKeyframe('leftLeg', at='rotateX', value=25, t=[1, 12]) MayaCmds.setKeyframe('leftLeg', at='rotateX', value=-40, t=[6]) MayaCmds.setKeyframe('rightLeg', at='scaleY', value=2.8, t=[1, 12]) MayaCmds.setKeyframe('rightLeg', at='scaleY', value=5.0, t=[6]) MayaCmds.setKeyframe('leftArm', at='rotateZ', value=55, t=[1, 12]) MayaCmds.setKeyframe('leftArm', at='rotateZ', value=-50, t=[6]) MayaCmds.setKeyframe('rightArm', at='scaleX', value=0.5, t=[1, 12]) MayaCmds.setKeyframe('rightArm', at='scaleX', value=3.6, t=[6]) def drawBBox(llx, lly, llz, urx, ury, urz): # delete the old bounding box if MayaCmds.objExists('bbox'): MayaCmds.delete('bbox') p0 = (llx, lly, urz) p1 = (urx, lly, urz) p2 = (urx, lly, llz) p3 = (llx, lly, llz) p4 = (llx, ury, urz) p5 = (urx, ury, urz) p6 = (urx, ury, llz) p7 = (llx, ury, llz) MayaCmds.curve(d=1, p=[p0, p1]) MayaCmds.curve(d=1, p=[p1, p2]) MayaCmds.curve(d=1, p=[p2, p3]) MayaCmds.curve(d=1, p=[p3, p0]) MayaCmds.curve(d=1, p=[p4, p5]) MayaCmds.curve(d=1, p=[p5, p6]) MayaCmds.curve(d=1, p=[p6, p7]) MayaCmds.curve(d=1, p=[p7, p4]) MayaCmds.curve(d=1, p=[p0, p4]) MayaCmds.curve(d=1, p=[p1, p5]) MayaCmds.curve(d=1, p=[p2, p6]) MayaCmds.curve(d=1, p=[p3, p7]) MayaCmds.select(MayaCmds.ls("curve?")) MayaCmds.select(MayaCmds.ls("curve??"), add=True) MayaCmds.group(name="bbox") class callbackTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testMelPerFrameCallbackFlag(self): makeRobotAnimated() # make a non-zero transform on top of it MayaCmds.select('robot') MayaCmds.group(n='parent') MayaCmds.setAttr('parent.tx', 5) MayaCmds.setAttr('parent.ty', 3.15) MayaCmds.setAttr('parent.tz', 0.8) MayaCmds.setAttr('parent.rx', 2) MayaCmds.setAttr('parent.ry', 90) MayaCmds.setAttr('parent.rz', 1) MayaCmds.setAttr('parent.sx', 0.9) MayaCmds.setAttr('parent.sy', 1.1) MayaCmds.setAttr('parent.sz', 0.5) # create a camera looking at the robot camNames = MayaCmds.camera() MayaCmds.move(50.107, 20.968, 5.802, r=True) MayaCmds.rotate(-22.635, 83.6, 0, r=True) MayaCmds.camera(camNames[1], e=True, centerOfInterest=55.336, focalLength=50, horizontalFilmAperture=0.962, verticalFilmAperture=0.731) MayaCmds.rename(camNames[0], "cam_master") MayaCmds.setKeyframe('cam_master', t=[1, 12]) __builtins__['bboxDict'] = {} self.__files.append(util.expandFileName('pyPerFrameTest.abc')) MayaCmds.AbcExport(j='-fr 1 12 -pfc bboxDict[#FRAME#]=#BOUNDSARRAY# -root robot -file ' + self.__files[-1]) # push the numbers into a flat list array = [] for i in range(1, 13): array.append(bboxDict[i][0]) array.append(bboxDict[i][1]) array.append(bboxDict[i][2]) array.append(bboxDict[i][3]) array.append(bboxDict[i][4]) array.append(bboxDict[i][5]) bboxList_worldSpaceOff = [ -1.10907, -2.4, -1.51815, 1.8204, 4.5, 0.571487, -1.64677, -2.85936, -0.926652, 2.24711, 4.5, 0.540761, -2.25864, -3.38208, -0.531301, 2.37391, 4.5, 0.813599, -2.83342, -3.87312, -0.570038, 2.3177, 4.5, 1.45821, -3.25988, -4.23744, -0.569848, 2.06639, 4.5, 1.86489, -3.42675, -4.38, -0.563003, 1.92087, 4.5, 2.00285, -3.30872, -4.27917, -0.568236, 2.02633, 4.5, 1.9066, -2.99755, -4.01333, -0.572918, 2.24279, 4.5, 1.62326, -2.55762, -3.6375, -0.556938, 2.3781, 4.5, 1.16026, -2.05331, -3.20667, -0.507072, 2.37727, 4.5, 0.564985, -1.549, -2.77583, -1.04022, 2.18975, 4.5, 0.549216, -1.10907, -2.4, -1.51815, 1.8204, 4.5, 0.571487] self.failUnlessEqual(len(array), len(bboxList_worldSpaceOff)) for i in range(0, len(array)): self.failUnlessAlmostEqual(array[i], bboxList_worldSpaceOff[i], 4, '%d element in bbox array does not match.' % i) # test the bounding box calculation when worldSpace flag is on __builtins__['bboxDict'] = {} self.__files.append(util.expandFileName('pyPerFrameWorldspaceTest.abc')) MayaCmds.AbcExport(j='-fr 1 12 -ws -pfc bboxDict[#FRAME#]=#BOUNDSARRAY# -root robot -file ' + self.__files[-1]) # push the numbers into a flat list array = [] for i in range(1, 13): array.append(bboxDict[i][0]) array.append(bboxDict[i][1]) array.append(bboxDict[i][2]) array.append(bboxDict[i][3]) array.append(bboxDict[i][4]) array.append(bboxDict[i][5]) bboxList_worldSpaceOn = [ 4.77569, 0.397085, -0.991594, 5.90849, 7.99465, 1.64493, 5.06518, -0.108135, -1.37563, 5.90849, 7.99465, 2.12886, 5.25725, -0.683039, -1.48975, 5.9344, 7.99465, 2.67954, 5.24782, -1.223100, -1.43916, 6.26283, 7.99465, 3.19685, 5.24083, -1.62379, -1.21298, 6.47282, 7.99465, 3.58066, 5.23809, -1.78058, -1.08202, 6.54482, 7.99465, 3.73084, 5.24003, -1.66968, -1.17693, 6.49454, 7.99465, 3.62461, 5.24513, -1.37731, -1.37175, 6.34772, 7.99465, 3.34456, 5.25234, -0.963958, -1.49352, 6.11048, 7.99465, 2.94862, 5.26062, -0.490114, -1.49277, 5.90849, 7.99465, 2.49475, 5.00931, -0.0162691, -1.32401, 5.90849, 7.99465, 2.04087, 4.77569, 0.397085, -0.991594, 5.90849, 7.99465, 1.64493] self.failUnlessEqual(len(array), len(bboxList_worldSpaceOn)) for i in range(0, len(array)): self.failUnlessAlmostEqual(array[i], bboxList_worldSpaceOn[i], 4, '%d element in bbox array does not match.' % i) # test the bounding box calculation for camera __builtins__['bboxDict'] = {} self.__files.append(util.expandFileName('camPyPerFrameTest.abc')) MayaCmds.AbcExport(j='-fr 1 12 -pfc bboxDict[#FRAME#]=#BOUNDSARRAY# -root cam_master -file ' + self.__files[-1]) # push the numbers into a flat list ( since each frame is the same ) array = [] array.append(bboxDict[1][0]) array.append(bboxDict[1][1]) array.append(bboxDict[1][2]) array.append(bboxDict[1][3]) array.append(bboxDict[1][4]) array.append(bboxDict[1][5]) # cameras aren't included in the bounds bboxList_CAM = [0, 0, 0, 0, 0, 0] for i in range(0, len(array)): self.failUnlessAlmostEqual(array[i], bboxList_CAM[i], 4, '%d element in camera bbox array does not match.' % i)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util class TransformTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files : os.remove(f) def testStaticTransformReadWrite(self): nodeName = MayaCmds.polyCube(n='cube') MayaCmds.setAttr('cube.translate', 2.456, -3.95443, 0, type="double3") MayaCmds.setAttr('cube.rotate', 45, 15, -90, type="double3") MayaCmds.setAttr('cube.rotateOrder', 4) MayaCmds.setAttr('cube.scale', 1.5, 5, 1, type="double3") MayaCmds.setAttr('cube.shearXY',1) MayaCmds.setAttr('cube.rotatePivot', 13.52, 0.0, 20.25, type="double3") MayaCmds.setAttr('cube.rotatePivotTranslate', 0.5, 0.0, 0.25, type="double3") MayaCmds.setAttr('cube.scalePivot', 10.7, 2.612, 0.2, type="double3") MayaCmds.setAttr('cube.scalePivotTranslate', 0.0, 0.0, 0.25, type="double3") MayaCmds.setAttr('cube.inheritsTransform', 0) self.__files.append(util.expandFileName('testStaticTransformReadWrite.abc')) MayaCmds.AbcExport(j='-root %s -file %s' % (nodeName[0], self.__files[-1])) # reading test MayaCmds.AbcImport(self.__files[-1], mode='open') self.failUnlessAlmostEqual(2.456, MayaCmds.getAttr('cube.translateX'), 4) self.failUnlessAlmostEqual(-3.95443, MayaCmds.getAttr('cube.translateY'), 4) self.failUnlessAlmostEqual(0.0, MayaCmds.getAttr('cube.translateZ'), 4) self.failUnlessAlmostEqual(45, MayaCmds.getAttr('cube.rotateX'), 4) self.failUnlessAlmostEqual(15, MayaCmds.getAttr('cube.rotateY'), 4) self.failUnlessAlmostEqual(-90, MayaCmds.getAttr('cube.rotateZ'), 4) self.failUnlessEqual(4, MayaCmds.getAttr('cube.rotateOrder')) self.failUnlessAlmostEqual(1.5, MayaCmds.getAttr('cube.scaleX'), 4) self.failUnlessAlmostEqual(5, MayaCmds.getAttr('cube.scaleY'), 4) self.failUnlessAlmostEqual(1, MayaCmds.getAttr('cube.scaleZ'), 4) self.failUnlessAlmostEqual(1, MayaCmds.getAttr('cube.shearXY'), 4) self.failUnlessAlmostEqual(13.52, MayaCmds.getAttr('cube.rotatePivotX'), 4) self.failUnlessAlmostEqual(0.0, MayaCmds.getAttr('cube.rotatePivotY'), 4) self.failUnlessAlmostEqual(20.25, MayaCmds.getAttr('cube.rotatePivotZ'), 4) self.failUnlessAlmostEqual(0.5, MayaCmds.getAttr('cube.rotatePivotTranslateX'), 4) self.failUnlessAlmostEqual(0.0, MayaCmds.getAttr('cube.rotatePivotTranslateY'), 4) self.failUnlessAlmostEqual(0.25, MayaCmds.getAttr('cube.rotatePivotTranslateZ'), 4) self.failUnlessAlmostEqual(10.7, MayaCmds.getAttr('cube.scalePivotX'), 4) self.failUnlessAlmostEqual(2.612, MayaCmds.getAttr('cube.scalePivotY'), 4) self.failUnlessAlmostEqual(0.2, MayaCmds.getAttr('cube.scalePivotZ'), 4) self.failUnlessAlmostEqual(0.0, MayaCmds.getAttr('cube.scalePivotTranslateX'), 4) self.failUnlessAlmostEqual(0.0, MayaCmds.getAttr('cube.scalePivotTranslateY'), 4) self.failUnlessAlmostEqual(0.25, MayaCmds.getAttr('cube.scalePivotTranslateZ'), 4) self.failUnlessEqual(0, MayaCmds.getAttr('cube.inheritsTransform')) def testStaticTransformRotateOrder(self): nodeName = MayaCmds.polyCube(n='cube') MayaCmds.setAttr('cube.rotate', 45, 1, -90, type="double3") MayaCmds.setAttr('cube.rotateOrder', 5) self.__files.append(util.expandFileName('testStaticTransformRotateOrder.abc')) MayaCmds.AbcExport(j='-root %s -file %s' % (nodeName[0], self.__files[-1])) MayaCmds.AbcImport(self.__files[-1], mode='open') self.failUnlessEqual(5, MayaCmds.getAttr('cube.rotateOrder')) self.failUnlessAlmostEqual(45, MayaCmds.getAttr('cube.rotateX'), 4) self.failUnlessAlmostEqual(1, MayaCmds.getAttr('cube.rotateY'), 4) self.failUnlessAlmostEqual(-90, MayaCmds.getAttr('cube.rotateZ'), 4) def testStaticTransformRotateOrder2(self): nodeName = MayaCmds.polyCube(n='cube') MayaCmds.setAttr('cube.rotate', 45, 0, -90, type="double3") MayaCmds.setAttr('cube.rotateOrder', 5) self.__files.append(util.expandFileName('testStaticTransformRotateOrder2.abc')) MayaCmds.AbcExport(j='-root %s -file %s' % (nodeName[0], self.__files[-1])) MayaCmds.AbcImport(self.__files[-1], mode='open') self.failUnlessEqual(5, MayaCmds.getAttr('cube.rotateOrder')) self.failUnlessAlmostEqual(45, MayaCmds.getAttr('cube.rotateX'), 4) self.failUnlessAlmostEqual(0, MayaCmds.getAttr('cube.rotateY'), 4) self.failUnlessAlmostEqual(-90, MayaCmds.getAttr('cube.rotateZ'), 4)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util def testNurbsCurveRW( self, isGroup, abcFileName, inText): MayaCmds.file(new=True, force=True) name = MayaCmds.textCurves( font='Courier', text=inText ) if isGroup == True : MayaCmds.addAttr(name[0], longName='riCurves', at='bool', dv=True) shapeNames = MayaCmds.ls(type='nurbsCurve') miscinfo=[] cv=[] knot=[] curveInfoNode = MayaCmds.createNode('curveInfo') for i in range(0, len(shapeNames)) : shapeName = shapeNames[i] MayaCmds.connectAttr(shapeName+'.worldSpace', curveInfoNode+'.inputCurve', force=True) controlPoints = MayaCmds.getAttr(curveInfoNode + '.controlPoints[*]') cv.append(controlPoints) numCV = len(controlPoints) spans = MayaCmds.getAttr(shapeName+'.spans') degree = MayaCmds.getAttr(shapeName+'.degree') form = MayaCmds.getAttr(shapeName+'.form') minVal = MayaCmds.getAttr(shapeName+'.minValue') maxVal = MayaCmds.getAttr(shapeName+'.maxValue') misc = [numCV, spans, degree, form, minVal, maxVal] miscinfo.append(misc) knots = MayaCmds.getAttr(curveInfoNode + '.knots[*]') knot.append(knots) MayaCmds.AbcExport(j='-root %s -f %s' % (name[0], abcFileName)) # reading test MayaCmds.AbcImport(abcFileName, mode='open') if isGroup == True: shapeNames = MayaCmds.ls(exactType='nurbsCurve') self.failUnless(MayaCmds.getAttr(name[0]+'.riCurves')) miscinfo2 = [] cv2 = [] knot2 = [] curveInfoNode = MayaCmds.createNode('curveInfo') for i in range(0, len(shapeNames)): name = shapeNames[i] MayaCmds.connectAttr(name+'.worldSpace', curveInfoNode+'.inputCurve', force=True) controlPoints = MayaCmds.getAttr(curveInfoNode + '.controlPoints[*]') cv2.append(controlPoints) numCV = len(controlPoints) spans = MayaCmds.getAttr(name+'.spans') degree = MayaCmds.getAttr(name+'.degree') form = MayaCmds.getAttr(name+'.form') minVal = MayaCmds.getAttr(name+'.minValue') maxVal = MayaCmds.getAttr(name+'.maxValue') misc = [numCV, spans, degree, form, minVal, maxVal] miscinfo2.append(misc) knots = MayaCmds.getAttr(curveInfoNode + '.knots[*]') knot2.append(knots) for i in range(0, len(shapeNames)) : name = shapeNames[i] self.failUnlessEqual(len(cv[i]), len(cv2[i])) for j in range(0, len(cv[i])) : cp1 = cv[i][j] cp2 = cv2[i][j] self.failUnlessAlmostEqual(cp1[0], cp2[0], 3, 'curve[%d].cp[%d].x not equal' % (i,j)) self.failUnlessAlmostEqual(cp1[1], cp2[1], 3, 'curve[%d].cp[%d].y not equal' % (i,j)) self.failUnlessAlmostEqual(cp1[2], cp2[2], 3, 'curve[%d].cp[%d].z not equal' % (i,j)) class StaticNurbsCurveTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testNurbsSingleCurveReadWrite(self): name = MayaCmds.curve(d=3, p=[(0, 0, 0), (3, 5, 6), (5, 6, 7), (9, 9, 9), (12, 10, 2)], k=[0,0,0,1,2,2,2]) self.__files.append(util.expandFileName('testStaticNurbsSingleCurve.abc')) MayaCmds.AbcExport(j='-root %s -f %s' % (name, self.__files[-1])) # reading test MayaCmds.AbcImport(self.__files[-1], mode='import') shapeNames = MayaCmds.ls(exactType='nurbsCurve') self.failUnless(util.compareNurbsCurve(shapeNames[0], shapeNames[1])) def testNurbsCurveGrpReadWrite(self): # test w/r of simple Nurbs Curve self.__files.append(util.expandFileName('testStaticNurbsCurves.abc')) testNurbsCurveRW(self, False, self.__files[-1], 'haka') self.__files.append(util.expandFileName('testStaticNurbsCurveGrp.abc')) testNurbsCurveRW(self, True, self.__files[-1], 'haka') # test if some curves have different degree or close states information MayaCmds.file(new=True, force=True) name = MayaCmds.textCurves(font='Courier', text='Maya') MayaCmds.addAttr(name[0], longName='riCurves', at='bool', dv=True) self.__files.append(util.expandFileName('testStaticNurbsCurveGrp2.abc')) MayaCmds.AbcExport(j='-root %s -f %s' % (name[0], self.__files[-1])) MayaCmds.AbcImport(self.__files[-1], mode='open') if 'riCurves' in MayaCmds.listAttr(name[0]): self.fail(name[0]+".riCurves shouldn't exist") def testNurbsSingleCurveWidthReadWrite(self): MayaCmds.file(new=True, force=True) # single curve with no width information MayaCmds.curve(d=3, p=[(0, 0, 0), (3, 5, 0), (5, 6, 0), (9, 9, 0), (12, 10, 0)], k=[0,0,0,1,2,2,2], name='curve1') # single curve with constant width information MayaCmds.curve(d=3, p=[(0, 0, 3), (3, 5, 3), (5, 6, 3), (9, 9, 3), (12, 10, 3)], k=[0,0,0,1,2,2,2], name='curve2') MayaCmds.select('curveShape2') MayaCmds.addAttr(longName='width', attributeType='double', dv=0.75) # single open curve with width information MayaCmds.curve(d=3, p=[(0, 0, 6), (3, 5, 6), (5, 6, 6), (9, 9, 6), (12, 10, 6)], k=[0,0,0,1,2,2,2], name='curve3') MayaCmds.select('curveShape3') MayaCmds.addAttr(longName='width', dataType='doubleArray') MayaCmds.setAttr('curveShape3.width', [0.2, 0.4, 0.6, 0.8, 1.0], type='doubleArray') # single open curve with wrong width information MayaCmds.curve(d=3, p=[(0, 0, 9), (3, 5, 9), (5, 6, 9), (9, 9, 9), (12, 10, 9)], k=[0,0,0,1,2,2,2], name='curve4') MayaCmds.select('curveShape4') MayaCmds.addAttr(longName='width', dataType='doubleArray') MayaCmds.setAttr('curveShape4.width', [0.12, 1.4, 0.37], type='doubleArray') # single curve circle with width information MayaCmds.circle(ch=False, name='curve5') MayaCmds.select('curve5Shape') MayaCmds.addAttr(longName='width', dataType='doubleArray') MayaCmds.setAttr('curve5Shape.width', [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1], type='doubleArray') # single curve circle with wrong width information MayaCmds.circle(ch=False, name='curve6') MayaCmds.select('curve6Shape') MayaCmds.addAttr(longName='width', dataType='doubleArray') MayaCmds.setAttr('curve6Shape.width', [0.12, 1.4, 0.37], type='doubleArray') self.__files.append(util.expandFileName('testStaticNurbsCurveWidthTest.abc')) MayaCmds.AbcExport(j='-root curve1 -root curve2 -root curve3 -root curve4 -root curve5 -root curve6 -f ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], mode='open') # check the width # curve 1 self.failUnless('width' in MayaCmds.listAttr('curveShape1')) self.failUnlessAlmostEqual( MayaCmds.getAttr('curveShape1.width'), 0.1, 4) # curve 2 self.failUnless('width' in MayaCmds.listAttr('curveShape2')) self.failUnlessAlmostEqual( MayaCmds.getAttr('curveShape2.width'), 0.75, 4) # curve 3 width = MayaCmds.getAttr('curveShape3.width') for i in range(5): self.failUnlessAlmostEqual(width[i], 0.2*i+0.2, 4) # curve 4 (bad width defaults to 0.1) self.failUnless('width' in MayaCmds.listAttr('curveShape4')) width = MayaCmds.getAttr('curveShape4.width') self.failUnlessAlmostEqual( MayaCmds.getAttr('curveShape4.width'), 0.1, 4) # curve 5 self.failUnlessEqual('width' in MayaCmds.listAttr('curve5Shape'), True) width = MayaCmds.getAttr('curve5Shape.width') for i in range(11): self.failUnlessAlmostEqual(width[i], 0.1*i+0.1, 4) # curve 6 (bad width defaults to 0.1) self.failUnless('width' in MayaCmds.listAttr('curve6Shape')) self.failUnlessAlmostEqual( MayaCmds.getAttr('curve6Shape.width'), 0.1, 4) def testNurbsCurveGrpWidthRW1(self): widthVecs = [[0.11, 0.12, 0.13, 0.14, 0.15], [0.1, 0.3, 0.5, 0.7, 0.9], [0.2, 0.3, 0.4, 0.5, 0.6]] MayaCmds.curve(d=3, p=[(0, 0, 0), (3, 5, 0), (5, 6, 0), (9, 9, 0), (12, 10, 0)], k=[0,0,0,1,2,2,2], name='curve1') MayaCmds.select('curveShape1') MayaCmds.addAttr(longName='width', dataType='doubleArray') MayaCmds.setAttr('curveShape1.width', widthVecs[0], type='doubleArray') MayaCmds.curve(d=3, p=[(0, 0, 3), (3, 5, 3), (5, 6, 3), (9, 9, 3), (12, 10, 3)], k=[0,0,0,1,2,2,2], name='curve2') MayaCmds.select('curveShape2') MayaCmds.addAttr(longName='width', dataType='doubleArray') MayaCmds.setAttr('curveShape2.width', widthVecs[1], type='doubleArray') MayaCmds.curve(d=3, p=[(0, 0, 6), (3, 5, 6), (5, 6, 6), (9, 9, 6), (12, 10, 6)], k=[0,0,0,1,2,2,2], name='curve3') MayaCmds.select('curveShape3') MayaCmds.addAttr(longName='width', dataType='doubleArray') MayaCmds.setAttr('curveShape3.width', widthVecs[2], type='doubleArray') MayaCmds.group('curve1', 'curve2', 'curve3', name='group') MayaCmds.addAttr('group', longName='riCurves', at='bool', dv=True) self.__files.append(util.expandFileName('testStaticNurbsCurveGrpWidthTest1.abc')) MayaCmds.AbcExport(j='-root group -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], mode='open') # width check for i in range(0,3): shapeName = '|group|group' if i > 0: shapeName = shapeName + str(i) self.failUnless('width' in MayaCmds.listAttr(shapeName)) width = MayaCmds.getAttr(shapeName + '.width') for j in range(len(widthVecs[i])): self.failUnlessAlmostEqual(width[j], widthVecs[i][j], 4) def testNurbsCurveGrpWidthRW2(self): MayaCmds.curve(d=3, p=[(0, 0, 0), (3, 5, 0), (5, 6, 0), (9, 9, 0), (12, 10, 0)], k=[0,0,0,1,2,2,2], name='curve1') MayaCmds.select('curveShape1') MayaCmds.curve(d=3, p=[(0, 0, 3), (3, 5, 3), (5, 6, 3), (9, 9, 3), (12, 10, 3)], k=[0,0,0,1,2,2,2], name='curve2') MayaCmds.curve(d=3, p=[(0, 0, 6), (3, 5, 6), (5, 6, 6), (9, 9, 6), (12, 10, 6)], k=[0,0,0,1,2,2,2], name='curve3') MayaCmds.select('curveShape3') MayaCmds.group('curve1', 'curve2', 'curve3', name='group') MayaCmds.addAttr('group', longName='riCurves', at='bool', dv=True) MayaCmds.addAttr('group', longName='width', attributeType='double', dv=0.75) self.__files.append(util.expandFileName('testStaticNurbsCurveGrpWidthTest2.abc')) MayaCmds.AbcExport(j='-root group -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], mode='open') # constant width check self.failUnless('width' in MayaCmds.listAttr('|group')) self.failUnlessAlmostEqual(MayaCmds.getAttr('|group.width'), 0.75, 4)
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import subprocess import unittest import util class subframesTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testRangeFlag(self): MayaCmds.createNode('transform', name='node') MayaCmds.setKeyframe('node.translateX', time=1.0, v=1.0) MayaCmds.setKeyframe('node.translateX', time=11.0, v=11.0) self.__files.append(util.expandFileName('rangeTest.abc')) MayaCmds.AbcExport(j='-fr 1 11 -step 0.25 -root node -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], m='open') abcNodeName = MayaCmds.ls(exactType='AlembicNode') MayaCmds.currentTime(0, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnlessEqual(MayaCmds.getAttr('node.translateX'), 1) MayaCmds.currentTime(1, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnlessEqual(MayaCmds.getAttr('node.translateX'), 1) MayaCmds.currentTime(1.0003, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnlessEqual(MayaCmds.getAttr('node.translateX'), 1) MayaCmds.currentTime(1.333333, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnlessAlmostEqual(MayaCmds.getAttr('node.translateX'), 1.333333333, 2) MayaCmds.currentTime(9.66667, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnlessAlmostEqual(MayaCmds.getAttr('node.translateX'), 9.6666666666, 2) MayaCmds.currentTime(11, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnlessEqual(MayaCmds.getAttr('node.translateX'), 11) MayaCmds.currentTime(12, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnlessEqual(MayaCmds.getAttr('node.translateX'), 11) def testPreRollStartFrameFlag(self): MayaCmds.createNode('transform', name='node') MayaCmds.setAttr('node.tx', 0.0) MayaCmds.expression( string="if(time==0)\n\tnode.tx=0;\n\nif (time*24 > 6 && node.tx > 0.8)\n\tnode.tx = 10;\n\nnode.tx = node.tx + time;\n", name="startAtExp", ae=1, uc=all) self.__files.append(util.expandFileName('startAtTest.abc')) MayaCmds.AbcExport(j='-fr 1 10 -root node -file ' + self.__files[-1], prs=0, duf=True) MayaCmds.AbcImport(self.__files[-1], m='open') abcNodeName = MayaCmds.ls(exactType='AlembicNode') # if the evaluation doesn't start at frame 0, node.tx < 10 MayaCmds.currentTime(10, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnless(MayaCmds.getAttr('node.translateX')-10 > 0) def testSkipFrames(self): MayaCmds.createNode('transform', name='node') MayaCmds.setKeyframe('node.translateX', time=1.0, v=1.0) MayaCmds.setKeyframe('node.translateX', time=10.0, v=10.0) MayaCmds.duplicate(name='dupNode') MayaCmds.setAttr('dupNode.tx', 0.0) MayaCmds.expression( string="if(time==11)\n\tdupNode.tx=-50;\n\ndupNode.tx = dupNode.tx + time;\n", name="startAtExp", ae=1, uc=all) self.__files.append(util.expandFileName('skipFrameTest1.abc')) self.__files.append(util.expandFileName('skipFrameTest2.abc')) MayaCmds.AbcExport(j=['-fr 1 10 -root node -file ' + self.__files[-2], '-fr 20 25 -root dupNode -file ' + self.__files[-1]]) MayaCmds.AbcImport(self.__files[-2], m='open') abcNodeName = MayaCmds.ls(exactType='AlembicNode') # make sure all the frames needed are written out and correctly for val in range(1, 11): MayaCmds.currentTime(val, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnlessAlmostEqual(MayaCmds.getAttr('node.tx'), val, 3) # also make sure nothing extra gets written out MayaCmds.currentTime(11, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnlessEqual(MayaCmds.getAttr('node.tx'), 10.0) MayaCmds.AbcImport(self.__files[-1], m='open') abcNodeName = MayaCmds.ls(exactType='AlembicNode') # if dontSkipFrames flag is not set maya would evaluate frame 11 and # set dupNode.tx to a big negative number MayaCmds.currentTime(20, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnless(MayaCmds.getAttr('dupNode.tx') > 0) def testWholeFrameGeoFlag(self): MayaCmds.polyCube(name='node') MayaCmds.setKeyframe('node.translateX', time=1.0, v=1.0) MayaCmds.setKeyframe('node.translateX', time=2.0, v=-3.0) MayaCmds.setKeyframe('node.translateX', time=5.0, v=9.0) MayaCmds.select('node.vtx[0:8]') MayaCmds.setKeyframe(time=1.0) MayaCmds.scale(1.5, 1.5, 1.8) MayaCmds.setKeyframe(time=5.0) self.__files.append(util.expandFileName('noSampleGeoTest.abc')) MayaCmds.AbcExport(j='-fr 1 5 -wfg -frs 0 -frs 0.9 -root node -file ' + self.__files[-1]) MayaCmds.AbcImport(self.__files[-1], m='open') abcNodeName = MayaCmds.ls(exactType='AlembicNode') setTime = MayaCmds.currentTime(1, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) val_1 = MayaCmds.getAttr('node.vt[0]')[0][0] MayaCmds.currentTime(2.0, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) MayaCmds.getAttr('node.vt[0]') val_2 = MayaCmds.getAttr('node.vt[0]')[0][0] self.failUnlessAlmostEqual(val_2, -0.5625, 3) setTime = MayaCmds.currentTime(1.9, update=True) MayaCmds.dgeval(abcNodeName, verbose=False) self.failUnlessAlmostEqual(MayaCmds.getAttr('node.tx'), -3.086, 3) # the vertex will get linearly interpolated alpha = (setTime - 1) / (2 - 1) self.failUnlessAlmostEqual(MayaCmds.getAttr('node.vt[0]')[0][0], (1-alpha)*val_1+alpha*val_2, 3) # convenience functions for the tests following def noFrameRangeExists(self, fileName): retVal = subprocess.call(['h5dump', '--attribute=1.time', fileName]) self.failUnless(retVal != 0) def isFrameRangeExists(self, fileName): retVal = subprocess.call(['h5dump', '--attribute=2.time', fileName]) self.failUnless(retVal != 0) retVal = subprocess.call(['h5dump', '--attribute=1.time', fileName]) self.failUnless(retVal == 0) def isFrameRangeTransAndFrameRangeShapeExists(self, fileName): retVal = subprocess.call(['h5dump', '--attribute=2.time', fileName]) self.failUnless(retVal == 0) retVal = subprocess.call(['h5dump', '--attribute=1.time', fileName]) self.failUnless(retVal == 0) def test_agat(self): # animated geometry, animated transform node nodename = 'agat_node' MayaCmds.polyCube(name=nodename) MayaCmds.setKeyframe(nodename+'.translateX', time=1.0, v=1.0) MayaCmds.setKeyframe(nodename+'.translateX', time=5.0, v=10.0) MayaCmds.select(nodename+'.vtx[0:8]') MayaCmds.setKeyframe(time=1.0) MayaCmds.scale(1.5, 1.5, 1.8) MayaCmds.setKeyframe(time=5.0) self.__files.append(util.expandFileName('agat_motionblur_noSampleGeo_Test.abc')) MayaCmds.AbcExport(j='-fr 1 5 -wfg -step 0.5 -root %s -file %s' % ( nodename, self.__files[-1])) # frameRangeShape: 1, 2, 3, 4, 5, 6 # frameRangeTrans: 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6 self.isFrameRangeTransAndFrameRangeShapeExists(self.__files[-1]) self.__files.append(util.expandFileName('agat_motionblur_Test.abc')) MayaCmds.AbcExport(j='-fr 1 5 -step 0.5 -root %s -file %s' % ( nodename, self.__files[-1])) # frameRange: 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6 self.isFrameRangeExists(self.__files[-1]) self.__files.append(util.expandFileName('agat_norange_Test.abc')) MayaCmds.AbcExport(j='-root %s -f %s' % (nodename,self.__files[-1])) # no frameRange self.noFrameRangeExists(self.__files[-1]) def test_agst(self): # animated geometry, static transform node nodename = 'agst_node' MayaCmds.polyCube(name=nodename) MayaCmds.select(nodename+'.vtx[0:8]') MayaCmds.setKeyframe(time=1.0) MayaCmds.scale(1.5, 1.5, 1.8) MayaCmds.setKeyframe(time=5.0) self.__files.append(util.expandFileName('agst_motionblur_noSampleGeo_Test.abc')) MayaCmds.AbcExport(j='-fr 1 5 -step 0.5 -wfg -root %s -file %s' % ( nodename, self.__files[-1])) # frameRange: 1, 2, 3, 4, 5, 6 self.isFrameRangeTransAndFrameRangeShapeExists(self.__files[-1]) self.__files.append(util.expandFileName('agst_motionblur_Test.abc')) MayaCmds.AbcExport(j='-fr 1 5 -step 0.5 -root %s -f %s' % ( nodename, self.__files[-1])) # frameRange: 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6 self.isFrameRangeExists(self.__files[-1]) self.__files.append(util.expandFileName('agst_noSampleGeo_Test.abc')) MayaCmds.AbcExport(j='-fr 1 5 -wfg -root %s -f %s' % (nodename, self.__files[-1])) # frameRange: 1, 2, 3, 4, 5 self.isFrameRangeExists(self.__files[-1]) def test_sgat(self): # static geometry, animated transform node nodename = 'sgat_node' MayaCmds.polyCube(name=nodename) MayaCmds.setKeyframe(nodename+'.translateX', time=1.0, v=1.0) MayaCmds.setKeyframe(nodename+'.translateX', time=5.0, v=10.0) self.__files.append(util.expandFileName('sgat_motionblur_noSampleGeo_Test.abc')) MayaCmds.AbcExport(j='-fr 1 5 -step 0.5 -wfg -root %s -f %s' % ( nodename, self.__files[-1])) # frameRange: 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6 self.isFrameRangeTransAndFrameRangeShapeExists(self.__files[-1]) self.__files.append(util.expandFileName('sgat_motionblur_Test.abc')) MayaCmds.AbcExport(j='-fr 1 5 -step 0.5 -root %s -f %s ' % ( nodename, self.__files[-1])) # frameRange: 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6 self.isFrameRangeExists(self.__files[-1]) def test_sgst(self): # static geometry, static transform node nodename = 'sgst_node' MayaCmds.polyCube(name=nodename) self.__files.append(util.expandFileName('sgst_motionblur_noSampleGeo_Test.abc')) MayaCmds.AbcExport(j='-fr 1 5 -step 0.5 -wfg -root %s -file %s ' % ( nodename, self.__files[-1])) self.failIf(MayaCmds.AbcImport(self.__files[-1]) != "") self.__files.append(util.expandFileName('sgst_moblur_noSampleGeo_norange_Test.abc')) MayaCmds.AbcExport(j='-step 0.5 -wfg -root %s -file %s' % ( nodename, self.__files[-1])) # frameRange: NA self.noFrameRangeExists(self.__files[-1])
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import subprocess import unittest import util class AnimNurbsCurveTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__abcStitcher = [os.environ['AbcStitcher']] self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) # a test for animated non-curve group Nurbs Curve def testAnimSimpleNurbsCurveRW(self): # create the Nurbs Curve name = MayaCmds.curve( d=3, p=[(0, 0, 0), (3, 5, 6), (5, 6, 7), (9, 9, 9), (12, 10, 2)], k=[0,0,0,1,2,2,2] ) MayaCmds.select(name+'.cv[0:4]') # frame 1 MayaCmds.currentTime(1, update=True) MayaCmds.setKeyframe() # frame 24 MayaCmds.currentTime(24, update=True) MayaCmds.setKeyframe() # frame 12 MayaCmds.currentTime(12, update=True) MayaCmds.move(3, 0, 0, r=True) MayaCmds.setKeyframe() self.__files.append(util.expandFileName('testAnimNurbsSingleCurve.abc')) self.__files.append(util.expandFileName('testAnimNurbsSingleCurve01_14.abc')) self.__files.append(util.expandFileName('testAnimNurbsSingleCurve15_24.abc')) MayaCmds.AbcExport(j='-fr 1 14 -root %s -file %s' % (name, self.__files[-2])) MayaCmds.AbcExport(j='-fr 15 24 -root %s -file %s' % (name, self.__files[-1])) # use AbcStitcher to combine two files into one subprocess.call(self.__abcStitcher + self.__files[-3:]) MayaCmds.AbcImport(self.__files[-3], mode='import') shapeNames = MayaCmds.ls(exactType='nurbsCurve') MayaCmds.currentTime(1, update=True) self.failUnless(util.compareNurbsCurve(shapeNames[0], shapeNames[1])) MayaCmds.currentTime(12, update=True) self.failUnless(util.compareNurbsCurve(shapeNames[0], shapeNames[1])) MayaCmds.currentTime(24, update=True) self.failUnless(util.compareNurbsCurve(shapeNames[0], shapeNames[1])) def testAnimNurbsCurveGrpRW(self): # create Nurbs Curve group knotVec = [0,0,0,1,2,2,2] curve1CV = [(0, 0, 0), (3, 5, 0), (5, 6, 0), (9, 9, 0), (12, 10, 0)] curve2CV = [(0, 0, 3), (3, 5, 3), (5, 6, 3), (9, 9, 3), (12, 10, 3)] curve3CV = [(0, 0, 6), (3, 5, 6), (5, 6, 6), (9, 9, 6), (12, 10, 6)] MayaCmds.curve(d=3, p=curve1CV, k=knotVec, name='curve1') MayaCmds.curve(d=3, p=curve2CV, k=knotVec, name='curve2') MayaCmds.curve(d=3, p=curve3CV, k=knotVec, name='curve3') MayaCmds.group('curve1', 'curve2', 'curve3', name='group') MayaCmds.addAttr('group', longName='riCurves', at='bool', dv=True) # frame 1 MayaCmds.currentTime(1, update=True) MayaCmds.select('curve1.cv[0:4]', 'curve2.cv[0:4]', 'curve3.cv[0:4]', replace=True) MayaCmds.setKeyframe() # frame 24 MayaCmds.currentTime(24, update=True) MayaCmds.select('curve1.cv[0:4]') MayaCmds.rotate(0.0, '90deg', 0.0, relative=True ) MayaCmds.select('curve2.cv[0:4]') MayaCmds.move(0.0, 0.5, 0.0, relative=True ) MayaCmds.select('curve3.cv[0:4]') MayaCmds.scale(1.0, 0.5, 1.0, relative=True ) MayaCmds.select('curve1.cv[0:4]', 'curve2.cv[0:4]', 'curve3.cv[0:4]', replace=True) MayaCmds.setKeyframe() self.__files.append(util.expandFileName('testAnimNCGrp.abc')) self.__files.append(util.expandFileName('testAnimNCGrp01_14.abc')) self.__files.append(util.expandFileName('testAnimNCGrp15_24.abc')) MayaCmds.AbcExport(j='-fr 1 14 -root %s -file %s' % ('group', self.__files[-2])) MayaCmds.AbcExport(j='-fr 15 24 -root %s -file %s' % ('group', self.__files[-1])) # use AbcStitcher to combine two files into one subprocess.call(self.__abcStitcher + self.__files[-3:]) # reading test MayaCmds.AbcImport(self.__files[-3], mode='import') shapeNames = MayaCmds.ls(exactType='nurbsCurve') MayaCmds.currentTime(1, update=True) for i in range(0, 3): self.failUnless( util.compareNurbsCurve(shapeNames[i], shapeNames[i+3])) MayaCmds.currentTime(12, update=True) for i in range(0, 3): self.failUnless( util.compareNurbsCurve(shapeNames[i], shapeNames[i+3])) MayaCmds.currentTime(24, update=True) for i in range(0, 3): self.failUnless( util.compareNurbsCurve(shapeNames[i], shapeNames[i+3]))
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from maya import cmds as MayaCmds import os import unittest import util class AnimPointPrimitiveTest(unittest.TestCase): def setUp(self): MayaCmds.file(new=True, force=True) self.__files = [] def tearDown(self): for f in self.__files: os.remove(f) def testAnimPointPrimitiveReadWrite(self): # Creates a point emitter. MayaCmds.emitter(dx=1, dy=0, dz=0, sp=0.33, pos=(1, 1, 1), n='myEmitter') MayaCmds.particle(n='emittedParticles') MayaCmds.setAttr('emittedParticles.lfm', 2) MayaCmds.setAttr('emittedParticles.lifespan', 50) MayaCmds.setAttr('emittedParticles.lifespanRandom', 2) MayaCmds.connectDynamic('emittedParticles', em='myEmitter') self.__files.append(util.expandFileName('testAnimParticleReadWrite.abc')) MayaCmds.AbcExport(j='-fr 1 24 -root emittedParticles -file ' + self.__files[-1]) # reading test MayaCmds.AbcImport(self.__files[-1], mode='open') # reading animated point clouds into Maya aren't fully supported # yet which is why we don't have any checks on the data here
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** import maya.cmds as MayaCmds import os import subprocess import unittest import util class animPropTest(unittest.TestCase): #------------------------------------------------------------------------- def setUp(self): MayaCmds.file(new=True, force=True) self.__abcStitcher = [os.environ['AbcStitcher']] self.__files = [util.expandFileName('animProp.abc'), util.expandFileName('animProp01_14.abc'), util.expandFileName('animProp15_24.abc')] #------------------------------------------------------------------------- def tearDown(self): for f in self.__files : os.remove(f) #------------------------------------------------------------------------- def setAndKeyProps( self, nodeName ): MayaCmds.select(nodeName) MayaCmds.addAttr(longName='SPT_int8', defaultValue=0, attributeType='byte', keyable=True) MayaCmds.addAttr(longName='SPT_int16', defaultValue=0, attributeType='short', keyable=True) MayaCmds.addAttr(longName='SPT_int32', defaultValue=0, attributeType='long', keyable=True) MayaCmds.addAttr(longName='SPT_float', defaultValue=0, attributeType='float', keyable=True) MayaCmds.addAttr(longName='SPT_double', defaultValue=0, attributeType='double', keyable=True) MayaCmds.setKeyframe(nodeName, value=0, attribute='SPT_int8', t=[1, 24]) MayaCmds.setKeyframe(nodeName, value=100, attribute='SPT_int16', t=[1, 24]) MayaCmds.setKeyframe(nodeName, value=1000, attribute='SPT_int32', t=[1, 24]) MayaCmds.setKeyframe(nodeName, value=0.57777777, attribute='SPT_float', t=[1, 24]) MayaCmds.setKeyframe(nodeName, value=5.045643545457, attribute='SPT_double', t=[1, 24]) MayaCmds.setKeyframe(nodeName, value=8, attribute='SPT_int8', t=12) MayaCmds.setKeyframe(nodeName, value=16, attribute='SPT_int16', t=12) MayaCmds.setKeyframe(nodeName, value=32, attribute='SPT_int32', t=12) MayaCmds.setKeyframe(nodeName, value=3.141592654, attribute='SPT_float', t=12) MayaCmds.setKeyframe(nodeName, value=3.141592654, attribute='SPT_double', t=12) def verifyProps( self, root, nodeName ): # write to files MayaCmds.AbcExport(j='-atp SPT_ -fr 1 14 -root %s -file %s' % (root, self.__files[1])) MayaCmds.AbcExport(j='-atp SPT_ -fr 15 24 -root %s -file %s' % (root, self.__files[2])) subprocess.call(self.__abcStitcher + self.__files) # read file and verify data MayaCmds.AbcImport(self.__files[0], mode='open') t = 1 # frame 1 MayaCmds.currentTime(t, update=True) self.failUnlessEqual(0, MayaCmds.getAttr(nodeName+'.SPT_int8'), '%s.SPT_int8 != 0 at frame %d' %( nodeName, t)) self.failUnlessEqual(100, MayaCmds.getAttr(nodeName+'.SPT_int16'), '%s.SPT_int16 != 100 at frame %d' %( nodeName, t)) self.failUnlessEqual(1000, MayaCmds.getAttr(nodeName+'.SPT_int32'), '%s.SPT_int32 != 1000 at frame %d' %( nodeName, t)) self.failUnlessAlmostEqual(0.57777777, MayaCmds.getAttr(nodeName+'.SPT_float'), 4, '%s.SPT_float != 0.57777777 at frame %d' %( nodeName, t)) self.failUnlessAlmostEqual(5.045643545457, MayaCmds.getAttr(nodeName+'.SPT_double'), 7, '%s.SPT_double != 5.045643545457 at frame %d' %( nodeName, t)) t = 12 # frame 12 MayaCmds.currentTime(t, update=True) self.failUnlessEqual(8, MayaCmds.getAttr(nodeName+'.SPT_int8'), '%s.SPT_int8 != 8 at frame %d' %( nodeName, t)) self.failUnlessEqual(16, MayaCmds.getAttr(nodeName+'.SPT_int16'), '%s.SPT_int16 != 16 at frame %d' %( nodeName, t)) self.failUnlessEqual(32, MayaCmds.getAttr(nodeName+'.SPT_int32'), '%s.SPT_int32 != 32 at frame %d' %( nodeName, t)) self.failUnlessAlmostEqual(3.141592654, MayaCmds.getAttr(nodeName+'.SPT_float'), 4, '%s.SPT_float != 3.141592654 at frame %d' %( nodeName, t)) self.failUnlessAlmostEqual(3.1415926547, MayaCmds.getAttr(nodeName+'.SPT_double'), 7, '%s.SPT_double != 3.141592654 at frame %d' %( nodeName, t)) t = 24 # frame 24 MayaCmds.currentTime(t, update=True) self.failUnlessEqual(0,MayaCmds.getAttr(nodeName+'.SPT_int8'), '%s.SPT_int8 != 0 at frame %d' % (nodeName, t)) self.failUnlessEqual(100, MayaCmds.getAttr(nodeName+'.SPT_int16'), '%s.SPT_int16 != 100 at frame %d' % (nodeName, t)) self.failUnlessEqual(1000, MayaCmds.getAttr(nodeName+'.SPT_int32'), '%s.SPT_int32 != 1000 at frame %d' % (nodeName, t)) self.failUnlessAlmostEqual(0.57777777, MayaCmds.getAttr(nodeName+'.SPT_float'), 4, '%s.SPT_float != 0.57777777 at frame %d' % (nodeName, t)) self.failUnlessAlmostEqual(5.045643545457, MayaCmds.getAttr(nodeName+'.SPT_double'), 7, '%s.SPT_double != 5.045643545457 at frame %d' % (nodeName, t)) def testAnimTransformProp(self): nodeName = MayaCmds.createNode('transform') self.setAndKeyProps(nodeName) self.verifyProps(nodeName, nodeName) def testAnimCameraProp(self): root = MayaCmds.camera() nodeName = root[0] shapeName = root[1] self.setAndKeyProps(shapeName) self.verifyProps(nodeName, shapeName) def testAnimMeshProp(self): nodeName = 'polyCube' shapeName = 'polyCubeShape' MayaCmds.polyCube(name=nodeName, ch=False) self.setAndKeyProps(shapeName) self.verifyProps(nodeName, shapeName) def testAnimNurbsCurvePropReadWrite(self): nodeName = 'nCurve' shapeName = 'curveShape1' MayaCmds.curve(p=[(0, 0, 0), (3, 5, 6), (5, 6, 7), (9, 9, 9)], name=nodeName) self.setAndKeyProps(shapeName) self.verifyProps(nodeName, shapeName) def testAnimNurbsSurfaceProp(self): nodeName = MayaCmds.sphere(ch=False)[0] nodeNameList = MayaCmds.pickWalk(d='down') shapeName = nodeNameList[0] self.setAndKeyProps(shapeName) self.verifyProps(nodeName, shapeName)
Python
#!/usr/bin/env mayapy ##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** # run this via mayapy # runs the test suite import glob import os import sys import time import unittest import maya.standalone maya.standalone.initialize(name='python') from maya import cmds as MayaCmds from maya.mel import eval as MelEval usage = """ Usage: mayapy RunTests.py AbcExport AbcImport AbcStitcher [tests.py] Where: AbcExport is the location of the AbcExport Maya plugin to load. AbcImport is the location of the AbcImport Maya plugin to load. AbcStitcher is the location of the AbcStitcher command to use. If no specific python tests are specified, all python files named *_test.py in the same directory as this file are used. """ if len(sys.argv) < 4: raise RuntimeError(usage) MayaCmds.loadPlugin(sys.argv[1]) print 'LOADED', sys.argv[1] MayaCmds.loadPlugin(sys.argv[2]) print 'LOADED', sys.argv[2] if not os.path.exists(sys.argv[3]): raise RuntimeError (sys.argv[3] + ' does not exist') else: os.environ['AbcStitcher'] = sys.argv[3] suite = unittest.TestSuite() main_dir = os.path.dirname(os.path.abspath(__file__)) os.chdir( main_dir ) MelEval('chdir "%s"' % main_dir ) # For now, hack the path (so the import below works) sys.path.append("..") # Load all the tests specified by the command line or *_test.py testFiles = sys.argv[4:] if not testFiles: testFiles = glob.glob('*_test.py') for file in testFiles: name = os.path.splitext(file)[0] __import__(name) test = unittest.defaultTestLoader.loadTestsFromName(name) suite.addTest(test) # Run the tests runner = unittest.TextTestRunner(verbosity=2) runner.run(suite)
Python
#!/usr/bin/env python2.5 #-*- mode: python -*- ##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Industrial Light & Magic nor the names of ## its contributors may be used to endorse or promote products derived ## from this software without specific prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** import os, sys class Path( object ): """The Path class simplifies filesystem path manipulation. If you wish to use a Path object as an argument to standard Python path functions such as os.path.*, open(), etc., you must first cast it to a string like "str( myPathObject )".""" def __init__( self, path=None ): if path != None: path = str( path ) self._isabs = os.path.isabs( path ) self._orig = path self._path = os.path.normpath( os.path.expanduser( path ) ) else: self._isabs = False self._path = '' self._orig = '' if self._isabs: self._root = os.sep else: if self._orig == '': self._root = None else: self._root = os.curdir self._plist = filter( lambda x: x and x != os.curdir, self._path.split( os.sep )) self._len = len( self._plist ) self._isempty = self._root == None and self._len == 0 self._maxindex = self._len - 1 self._maxsliceindex = self._len def __reinit__( self, new ): self._len = len( new._plist ) self._plist = new._plist[:] self._isempty = 0 == new._len self._maxindex = new._len - 1 self._maxsliceindex = new._len self._path = new._path self._orig = new._orig self._isabs = new._isabs self._root = new._root def __repr__( self ): return self._path def __str__( self ): return self.__repr__() def __contains__( self, other ): return other in self._plist def __len__( self ): return self._len def __add__( self, other ): return Path( os.path.join( str( self ), str( other ) ) ) def __radd__( self, other ): return Path( other ) + self def __iter__( self ): self._iterindex = 0 return self def __eq__( self, other ): return str( self ) == str( other ) def __ne__( self, other ): return str( self ) != str( other ) def __cmp__( self, other ): _, p1, p2 = self.common( other ) return len( p1 ) - len( p2 ) def __nonzero__( self ): if not self.isabs() and len( self ) == 0: return False else: return True def __hash__( self ): return hash( str( self )) def __getitem__( self, n ): if isinstance( n, slice ): path = None plist = self._plist[n.start:n.stop:n.step] returnabs = self._isabs and n.start < 1 if len( plist ) > 0: path = os.sep.join( plist ) else: path = os.curdir path = Path( path ) if returnabs: path = self.root() + path else: pass return path else: return self._plist[n] def __setitem__( self, key, value ): try: key = int( key ) except ValueError: raise ValueError, "You must use an integer to refer to a path element." if key > abs( self._maxindex ): raise IndexError, "Maximum index is +/- %s." % self._maxindex self._plist[key] = value self._path = str( self[:] ) def __delitem__( self, n ): try: n = int( n ) except ValueError: raise ValueError, "You must use an integer to refer to a path element." try: del( self._plist[n] ) t = Path( self[:] ) self.__reinit__( t ) except IndexError: raise IndexError, "Maximum index is +/- %s" & self._maxindex def rindex( self, val ): if val in self: return len( self._plist ) - \ list( reversed( self._plist ) ).index( val ) - 1 else: raise ValueError, "%s is not in path." % val def index( self, val ): if val in self: return self._plist.index( val ) else: raise ValueError, "%s is not in path." % val def common( self, other, cmn=None ): cmn = Path( cmn ) other = Path( str( other ) ) if self.isempty() or other.isempty(): return cmn, self, other elif (self[0] != other[0]) or (self.root() != other.root()): return cmn, self, other else: return self[1:].common( other[1:], self.root() + cmn + self[0] ) def relative( self, other ): cmn, p1, p2 = self.common( other ) relhead = Path() if len( p1 ) > 0: relhead = Path( (os.pardir + os.sep) * len( p1 )) return relhead + p2 def join( self, *others ): t = self[:] for o in others: t = t + o return t def split( self ): head = self[:-1] tail = None if not head.isempty(): tail = Path( self[-1] ) else: tail = self if not head.isabs() and head.isempty(): head = Path( None ) if head.isabs() and len( tail ) == 1: tail = tail[-1] return ( head, tail ) def splitext( self ): head, tail = os.path.splitext( self._path ) return Path( head ), tail def next( self ): if self._iterindex > self._maxindex: raise StopIteration else: i = self._iterindex self._iterindex += 1 return self[i] def subpaths( self ): sliceind = 0 while sliceind < self._maxsliceindex: sliceind += 1 yield self[:sliceind] def append( self, *others ): t = self[:] for o in others: t = t + o self.__reinit__( t ) def root( self ): return Path( self._root ) def elems( self ): return self._plist def path( self ): return self._path def exists( self ): return os.path.exists( self._path ) def isempty( self ): return self._isempty def isabs( self ): return self._isabs def islink( self ): return os.path.islink( self._path ) def isdir( self ): return os.path.isdir( self._path ) def isfile( self ): return os.path.isfile( self._path ) def readlink( self ): if self.islink(): return Path( os.readlink( self._orig ) ) else: return self def dirname( self ): return self[:-1] def basename( self ): return self.dirname() def startswith( self, other ): return self._path.startswith( other ) def makeabs( self ): t = self[:] t._root = os.sep t._isabs = True t._path = os.path.join( os.sep, self._path ) self.__reinit__( t ) def makerel( self ): t = self[:] t._root = os.curdir t._isabs = False t._path = os.sep.join( t._plist ) self.__reinit__( t ) def toabs( self ): return Path( os.path.abspath( self._path ) ) def torel( self ): t = self[:] t.makerel() return t ##-***************************************************************************** def mapFSTree( root, path, dirs=set(), links={} ): """Create a sparse map of the filesystem graph from the root node to the path node.""" root = Path( root ) path = Path( path ) for sp in path.subpaths(): if sp.isabs(): full = sp else: full = sp.toabs() head = full.dirname() if full.islink(): target = full.readlink() if target.isabs(): newpath = target else: newpath = head + target # make sure there are no cycles if full in links: continue links[full] = newpath _dirs, _links = mapFSTree( full, newpath, dirs, links ) dirs.update( _dirs ) links.update( _links ) elif full.isdir(): if full in dirs: continue else: dirs.add( full ) elif full.isfile(): break #pass else: print "QOI??? %s" % full return dirs, links ##-***************************************************************************** def main(): try: arg = Path( sys.argv[1] ) except IndexError: print "Please supply a directory to analyze." return 1 dirs, links = mapFSTree( Path( os.getcwd() ), arg ) print print "Directories traversed to get to %s\n" % arg for d in sorted( list( dirs ) ): print d print print "Symlinks in traversed directories for %s\n" % arg for k in links: print "%s: %s" % ( k, links[k] ) print return 0 ##-***************************************************************************** if __name__ == "__main__": sys.exit( main() )
Python
#!/usr/bin/env python2.6 #-*- mode: python -*- ##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Industrial Light & Magic nor the names of ## its contributors may be used to endorse or promote products derived ## from this software without specific prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from __future__ import with_statement import os, sys, re from Path import Path ##-***************************************************************************** COMMENT = re.compile( r"//|#" ) WS = re.compile( r"\s" ) ##-***************************************************************************** class CacheEntry( object ): def __init__( self, _line ): line = WS.sub( "", str( _line ) ) if not line: return None elif COMMENT.match( line ): return None else: # get rid of comments at the end of the line line = COMMENT.split( line, 1 )[0].strip() try: name_type, value = line.split( '=' ) self._value = value.strip() if self._value == '': self._value = None name, typ = name_type.split( ':' ) self._name = name.strip() self._type = typ.strip() except ValueError: sys.stderr.write( "Could not parse line '%s'\n" % _line ) self._value = None self._name = None self._type = None def __str__( self ): val = "" typ = "" if self._value != None: val = self._value if self._type != None: typ = self._type if self._name == None: return "" else: s = "%s:%s=%s" % ( self._name, typ, val ) return s.strip() def __eq__( self, other ): return str( self ) == str( other ) def __nonzero__( self ): try: return self._name != None and self._value != None except AttributeError: return False def name( self ): return self._name def value( self, newval = None ): if newval != None: self._value = newval else: return self._value def hint( self ): """Return the CMakeCache TYPE of the entry; used as a hint to CMake GUIs.""" return self._type ##-***************************************************************************** class CMakeCache( object ): """This class is used to read in and get programmatic access to the variables in a CMakeCache.txt file, manipulate them, and then write the cache back out.""" def __init__( self, path=None ): self._cachefile = Path( path ) _cachefile = str( self._cachefile ) self._entries = {} if self._cachefile.exists(): with open( _cachefile ) as c: entries = filter( None, map( lambda x: CacheEntry( x ), c.readlines() ) ) entries = filter( lambda x: x.value() != None, entries ) for i in entries: self._entries[i.name()] = i def __contains__( self, thingy ): try: return thingy in self.names() except TypeError: return thingy in self._entries.values() def __iter__( self ): return self._entries def __nonzero__( self ): return len( self._entries ) > 0 def __str__( self ): return os.linesep.join( map( lambda x: str( x ), self.entries() ) ) def add( self, entry ): e = CacheEntry( entry ) if e: if not e in self: self._entries[e.name()] = e else: sys.stderr.write( "Entry for '%s' is already in the cache.\n" % \ e.name() ) else: sys.stderr.write( "Could not create cache entry for '%s'\n" % e ) def update( self, entry ): e = CacheEntry( entry ) if e: self._entries[e.name()] = e else: sys.stderr.write( "Could not create cache entry for '%s'\n" % e ) def names( self ): return self._entries.keys() def entries( self ): return self._entries.values() def get( self, name ): return self._entries[name] def cachefile( self ): return self._cachefile def refresh( self ): self.__init__( self._cachefile ) def write( self, newfile = None ): if newfile == None: newfile = self._cachefile with open( newfile, 'w' ) as f: for e in self.entries(): f.write( str( e ) + os.linesep )
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above ## copyright notice, this list of conditions and the following disclaimer ## in the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Sony Pictures Imageworks, nor ## Industrial Light & Magic, nor the names of their contributors may be used ## to endorse or promote products derived from this software without specific ## prior written permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## ##-***************************************************************************** from Path import Path from CMakeCache import CMakeCache, CacheEntry
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os import sys import xml.dom.minidom from git_config import GitConfig from git_config import IsId from manifest import Manifest from project import RemoteSpec from project import Project from project import MetaProject from project import R_HEADS from project import HEAD from error import ManifestParseError MANIFEST_FILE_NAME = 'manifest.xml' LOCAL_MANIFEST_NAME = 'local_manifest.xml' R_M = 'refs/remotes/m/' class _Default(object): """Project defaults within the manifest.""" revisionExpr = None remote = None class _XmlRemote(object): def __init__(self, name, fetch=None, review=None): self.name = name self.fetchUrl = fetch self.reviewUrl = review def ToRemoteSpec(self, projectName): url = self.fetchUrl while url.endswith('/'): url = url[:-1] url += '/%s.git' % projectName return RemoteSpec(self.name, url, self.reviewUrl) class XmlManifest(Manifest): """manages the repo configuration file""" def __init__(self, repodir): Manifest.__init__(self, repodir) self._manifestFile = os.path.join(repodir, MANIFEST_FILE_NAME) self.manifestProject = MetaProject(self, 'manifests', gitdir = os.path.join(repodir, 'manifests.git'), worktree = os.path.join(repodir, 'manifests')) self._Unload() def Override(self, name): """Use a different manifest, just for the current instantiation. """ path = os.path.join(self.manifestProject.worktree, name) if not os.path.isfile(path): raise ManifestParseError('manifest %s not found' % name) old = self._manifestFile try: self._manifestFile = path self._Unload() self._Load() finally: self._manifestFile = old def Link(self, name): """Update the repo metadata to use a different manifest. """ self.Override(name) try: if os.path.exists(self._manifestFile): os.remove(self._manifestFile) os.symlink('manifests/%s' % name, self._manifestFile) except OSError, e: raise ManifestParseError('cannot link manifest %s' % name) def _RemoteToXml(self, r, doc, root): e = doc.createElement('remote') root.appendChild(e) e.setAttribute('name', r.name) e.setAttribute('fetch', r.fetchUrl) if r.reviewUrl is not None: e.setAttribute('review', r.reviewUrl) def Save(self, fd, peg_rev=False): """Write the current manifest out to the given file descriptor. """ doc = xml.dom.minidom.Document() root = doc.createElement('manifest') doc.appendChild(root) # Save out the notice. There's a little bit of work here to give it the # right whitespace, which assumes that the notice is automatically indented # by 4 by minidom. if self.notice: notice_element = root.appendChild(doc.createElement('notice')) notice_lines = self.notice.splitlines() indented_notice = ('\n'.join(" "*4 + line for line in notice_lines))[4:] notice_element.appendChild(doc.createTextNode(indented_notice)) d = self.default sort_remotes = list(self.remotes.keys()) sort_remotes.sort() for r in sort_remotes: self._RemoteToXml(self.remotes[r], doc, root) if self.remotes: root.appendChild(doc.createTextNode('')) have_default = False e = doc.createElement('default') if d.remote: have_default = True e.setAttribute('remote', d.remote.name) if d.revisionExpr: have_default = True e.setAttribute('revision', d.revisionExpr) if have_default: root.appendChild(e) root.appendChild(doc.createTextNode('')) if self._manifest_server: e = doc.createElement('manifest-server') e.setAttribute('url', self._manifest_server) root.appendChild(e) root.appendChild(doc.createTextNode('')) sort_projects = list(self.projects.keys()) sort_projects.sort() for p in sort_projects: p = self.projects[p] e = doc.createElement('project') root.appendChild(e) e.setAttribute('name', p.name) if p.relpath != p.name: e.setAttribute('path', p.relpath) if not d.remote or p.remote.name != d.remote.name: e.setAttribute('remote', p.remote.name) if peg_rev: if self.IsMirror: e.setAttribute('revision', p.bare_git.rev_parse(p.revisionExpr + '^0')) else: e.setAttribute('revision', p.work_git.rev_parse(HEAD + '^0')) elif not d.revisionExpr or p.revisionExpr != d.revisionExpr: e.setAttribute('revision', p.revisionExpr) for c in p.copyfiles: ce = doc.createElement('copyfile') ce.setAttribute('src', c.src) ce.setAttribute('dest', c.dest) e.appendChild(ce) doc.writexml(fd, '', ' ', '\n', 'UTF-8') @property def projects(self): self._Load() return self._projects @property def remotes(self): self._Load() return self._remotes @property def default(self): self._Load() return self._default @property def notice(self): self._Load() return self._notice @property def manifest_server(self): self._Load() return self._manifest_server def InitBranch(self): m = self.manifestProject if m.CurrentBranch is None: return m.StartBranch('default') return True def SetMRefs(self, project): if self.branch: project._InitAnyMRef(R_M + self.branch) def _Unload(self): self._loaded = False self._projects = {} self._remotes = {} self._default = None self._notice = None self.branch = None self._manifest_server = None def _Load(self): if not self._loaded: m = self.manifestProject b = m.GetBranch(m.CurrentBranch) if b.remote and b.remote.name: m.remote.name = b.remote.name b = b.merge if b is not None and b.startswith(R_HEADS): b = b[len(R_HEADS):] self.branch = b self._ParseManifest(True) local = os.path.join(self.repodir, LOCAL_MANIFEST_NAME) if os.path.exists(local): try: real = self._manifestFile self._manifestFile = local self._ParseManifest(False) finally: self._manifestFile = real if self.IsMirror: self._AddMetaProjectMirror(self.repoProject) self._AddMetaProjectMirror(self.manifestProject) self._loaded = True def _ParseManifest(self, is_root_file): root = xml.dom.minidom.parse(self._manifestFile) if not root or not root.childNodes: raise ManifestParseError, \ "no root node in %s" % \ self._manifestFile config = root.childNodes[0] if config.nodeName != 'manifest': raise ManifestParseError, \ "no <manifest> in %s" % \ self._manifestFile for node in config.childNodes: if node.nodeName == 'remove-project': name = self._reqatt(node, 'name') try: del self._projects[name] except KeyError: raise ManifestParseError, \ 'project %s not found' % \ (name) for node in config.childNodes: if node.nodeName == 'remote': remote = self._ParseRemote(node) if self._remotes.get(remote.name): raise ManifestParseError, \ 'duplicate remote %s in %s' % \ (remote.name, self._manifestFile) self._remotes[remote.name] = remote for node in config.childNodes: if node.nodeName == 'default': if self._default is not None: raise ManifestParseError, \ 'duplicate default in %s' % \ (self._manifestFile) self._default = self._ParseDefault(node) if self._default is None: self._default = _Default() for node in config.childNodes: if node.nodeName == 'notice': if self._notice is not None: raise ManifestParseError, \ 'duplicate notice in %s' % \ (self.manifestFile) self._notice = self._ParseNotice(node) for node in config.childNodes: if node.nodeName == 'manifest-server': url = self._reqatt(node, 'url') if self._manifest_server is not None: raise ManifestParseError, \ 'duplicate manifest-server in %s' % \ (self.manifestFile) self._manifest_server = url for node in config.childNodes: if node.nodeName == 'project': project = self._ParseProject(node) if self._projects.get(project.name): raise ManifestParseError, \ 'duplicate project %s in %s' % \ (project.name, self._manifestFile) self._projects[project.name] = project def _AddMetaProjectMirror(self, m): name = None m_url = m.GetRemote(m.remote.name).url if m_url.endswith('/.git'): raise ManifestParseError, 'refusing to mirror %s' % m_url if self._default and self._default.remote: url = self._default.remote.fetchUrl if not url.endswith('/'): url += '/' if m_url.startswith(url): remote = self._default.remote name = m_url[len(url):] if name is None: s = m_url.rindex('/') + 1 remote = _XmlRemote('origin', m_url[:s]) name = m_url[s:] if name.endswith('.git'): name = name[:-4] if name not in self._projects: m.PreSync() gitdir = os.path.join(self.topdir, '%s.git' % name) project = Project(manifest = self, name = name, remote = remote.ToRemoteSpec(name), gitdir = gitdir, worktree = None, relpath = None, revisionExpr = m.revisionExpr, revisionId = None) self._projects[project.name] = project def _ParseRemote(self, node): """ reads a <remote> element from the manifest file """ name = self._reqatt(node, 'name') fetch = self._reqatt(node, 'fetch') review = node.getAttribute('review') if review == '': review = None return _XmlRemote(name, fetch, review) def _ParseDefault(self, node): """ reads a <default> element from the manifest file """ d = _Default() d.remote = self._get_remote(node) d.revisionExpr = node.getAttribute('revision') if d.revisionExpr == '': d.revisionExpr = None return d def _ParseNotice(self, node): """ reads a <notice> element from the manifest file The <notice> element is distinct from other tags in the XML in that the data is conveyed between the start and end tag (it's not an empty-element tag). The white space (carriage returns, indentation) for the notice element is relevant and is parsed in a way that is based on how python docstrings work. In fact, the code is remarkably similar to here: http://www.python.org/dev/peps/pep-0257/ """ # Get the data out of the node... notice = node.childNodes[0].data # Figure out minimum indentation, skipping the first line (the same line # as the <notice> tag)... minIndent = sys.maxint lines = notice.splitlines() for line in lines[1:]: lstrippedLine = line.lstrip() if lstrippedLine: indent = len(line) - len(lstrippedLine) minIndent = min(indent, minIndent) # Strip leading / trailing blank lines and also indentation. cleanLines = [lines[0].strip()] for line in lines[1:]: cleanLines.append(line[minIndent:].rstrip()) # Clear completely blank lines from front and back... while cleanLines and not cleanLines[0]: del cleanLines[0] while cleanLines and not cleanLines[-1]: del cleanLines[-1] return '\n'.join(cleanLines) def _ParseProject(self, node): """ reads a <project> element from the manifest file """ name = self._reqatt(node, 'name') remote = self._get_remote(node) if remote is None: remote = self._default.remote if remote is None: raise ManifestParseError, \ "no remote for project %s within %s" % \ (name, self._manifestFile) revisionExpr = node.getAttribute('revision') if not revisionExpr: revisionExpr = self._default.revisionExpr if not revisionExpr: raise ManifestParseError, \ "no revision for project %s within %s" % \ (name, self._manifestFile) path = node.getAttribute('path') if not path: path = name if path.startswith('/'): raise ManifestParseError, \ "project %s path cannot be absolute in %s" % \ (name, self._manifestFile) if self.IsMirror: relpath = None worktree = None gitdir = os.path.join(self.topdir, '%s.git' % name) else: worktree = os.path.join(self.topdir, path).replace('\\', '/') gitdir = os.path.join(self.repodir, 'projects/%s.git' % path) project = Project(manifest = self, name = name, remote = remote.ToRemoteSpec(name), gitdir = gitdir, worktree = worktree, relpath = path, revisionExpr = revisionExpr, revisionId = None) for n in node.childNodes: if n.nodeName == 'copyfile': self._ParseCopyFile(project, n) return project def _ParseCopyFile(self, project, node): src = self._reqatt(node, 'src') dest = self._reqatt(node, 'dest') if not self.IsMirror: # src is project relative; # dest is relative to the top of the tree project.AddCopyFile(src, dest, os.path.join(self.topdir, dest)) def _get_remote(self, node): name = node.getAttribute('remote') if not name: return None v = self._remotes.get(name) if not v: raise ManifestParseError, \ "remote %s not defined in %s" % \ (name, self._manifestFile) return v def _reqatt(self, node, attname): """ reads a required attribute from the node. """ v = node.getAttribute(attname) if not v: raise ManifestParseError, \ "no %s in <%s> within %s" % \ (attname, node.nodeName, self._manifestFile) return v
Python
# # Copyright (C) 2009 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import sys import os import shutil from error import GitError from error import ManifestParseError from git_command import GitCommand from git_config import GitConfig from git_config import IsId from manifest import Manifest from progress import Progress from project import RemoteSpec from project import Project from project import MetaProject from project import R_HEADS from project import HEAD from project import _lwrite import manifest_xml GITLINK = '160000' def _rmdir(dir, top): while dir != top: try: os.rmdir(dir) except OSError: break dir = os.path.dirname(dir) def _rmref(gitdir, ref): os.remove(os.path.join(gitdir, ref)) log = os.path.join(gitdir, 'logs', ref) if os.path.exists(log): os.remove(log) _rmdir(os.path.dirname(log), gitdir) def _has_gitmodules(d): return os.path.exists(os.path.join(d, '.gitmodules')) class SubmoduleManifest(Manifest): """manifest from .gitmodules file""" @classmethod def Is(cls, repodir): return _has_gitmodules(os.path.dirname(repodir)) \ or _has_gitmodules(os.path.join(repodir, 'manifest')) \ or _has_gitmodules(os.path.join(repodir, 'manifests')) @classmethod def IsBare(cls, p): try: p.bare_git.cat_file('-e', '%s:.gitmodules' % p.GetRevisionId()) except GitError: return False return True def __init__(self, repodir): Manifest.__init__(self, repodir) gitdir = os.path.join(repodir, 'manifest.git') config = GitConfig.ForRepository(gitdir = gitdir) if config.GetBoolean('repo.mirror'): worktree = os.path.join(repodir, 'manifest') relpath = None else: worktree = self.topdir relpath = '.' self.manifestProject = MetaProject(self, '__manifest__', gitdir = gitdir, worktree = worktree, relpath = relpath) self._modules = GitConfig(os.path.join(worktree, '.gitmodules'), pickleFile = os.path.join( repodir, '.repopickle_gitmodules' )) self._review = GitConfig(os.path.join(worktree, '.review'), pickleFile = os.path.join( repodir, '.repopickle_review' )) self._Unload() @property def projects(self): self._Load() return self._projects @property def notice(self): return self._modules.GetString('repo.notice') def InitBranch(self): m = self.manifestProject if m.CurrentBranch is None: b = m.revisionExpr if b.startswith(R_HEADS): b = b[len(R_HEADS):] return m.StartBranch(b) return True def SetMRefs(self, project): if project.revisionId is None: # Special project, e.g. the manifest or repo executable. # return ref = 'refs/remotes/m' cur = project.bare_ref.get(ref) exp = project.revisionId if cur != exp: msg = 'manifest set to %s' % exp project.bare_git.UpdateRef(ref, exp, message = msg, detach = True) ref = 'refs/remotes/m-revision' cur = project.bare_ref.symref(ref) exp = project.revisionExpr if exp is None: if cur: _rmref(project.gitdir, ref) elif cur != exp: remote = project.GetRemote(project.remote.name) dst = remote.ToLocal(exp) msg = 'manifest set to %s (%s)' % (exp, dst) project.bare_git.symbolic_ref('-m', msg, ref, dst) def Upgrade_Local(self, old): if isinstance(old, manifest_xml.XmlManifest): self.FromXml_Local_1(old, checkout=True) self.FromXml_Local_2(old) else: raise ManifestParseError, 'cannot upgrade manifest' def FromXml_Local_1(self, old, checkout): os.rename(old.manifestProject.gitdir, os.path.join(old.repodir, 'manifest.git')) oldmp = old.manifestProject oldBranch = oldmp.CurrentBranch b = oldmp.GetBranch(oldBranch).merge if not b: raise ManifestParseError, 'cannot upgrade manifest' if b.startswith(R_HEADS): b = b[len(R_HEADS):] newmp = self.manifestProject self._CleanOldMRefs(newmp) if oldBranch != b: newmp.bare_git.branch('-m', oldBranch, b) newmp.config.ClearCache() old_remote = newmp.GetBranch(b).remote.name act_remote = self._GuessRemoteName(old) if old_remote != act_remote: newmp.bare_git.remote('rename', old_remote, act_remote) newmp.config.ClearCache() newmp.remote.name = act_remote print >>sys.stderr, "Assuming remote named '%s'" % act_remote if checkout: for p in old.projects.values(): for c in p.copyfiles: if os.path.exists(c.abs_dest): os.remove(c.abs_dest) newmp._InitWorkTree() else: newmp._LinkWorkTree() _lwrite(os.path.join(newmp.worktree,'.git',HEAD), 'ref: refs/heads/%s\n' % b) def _GuessRemoteName(self, old): used = {} for p in old.projects.values(): n = p.remote.name used[n] = used.get(n, 0) + 1 remote_name = 'origin' remote_used = 0 for n in used.keys(): if remote_used < used[n]: remote_used = used[n] remote_name = n return remote_name def FromXml_Local_2(self, old): shutil.rmtree(old.manifestProject.worktree) os.remove(old._manifestFile) my_remote = self._Remote().name new_base = os.path.join(self.repodir, 'projects') old_base = os.path.join(self.repodir, 'projects.old') os.rename(new_base, old_base) os.makedirs(new_base) info = [] pm = Progress('Converting projects', len(self.projects)) for p in self.projects.values(): pm.update() old_p = old.projects.get(p.name) old_gitdir = os.path.join(old_base, '%s.git' % p.relpath) if not os.path.isdir(old_gitdir): continue parent = os.path.dirname(p.gitdir) if not os.path.isdir(parent): os.makedirs(parent) os.rename(old_gitdir, p.gitdir) _rmdir(os.path.dirname(old_gitdir), self.repodir) if not os.path.isdir(p.worktree): os.makedirs(p.worktree) if os.path.isdir(os.path.join(p.worktree, '.git')): p._LinkWorkTree(relink=True) self._CleanOldMRefs(p) if old_p and old_p.remote.name != my_remote: info.append("%s/: renamed remote '%s' to '%s'" \ % (p.relpath, old_p.remote.name, my_remote)) p.bare_git.remote('rename', old_p.remote.name, my_remote) p.config.ClearCache() self.SetMRefs(p) pm.end() for i in info: print >>sys.stderr, i def _CleanOldMRefs(self, p): all_refs = p._allrefs for ref in all_refs.keys(): if ref.startswith(manifest_xml.R_M): if p.bare_ref.symref(ref) != '': _rmref(p.gitdir, ref) else: p.bare_git.DeleteRef(ref, all_refs[ref]) def FromXml_Definition(self, old): """Convert another manifest representation to this one. """ mp = self.manifestProject gm = self._modules gr = self._review fd = open(os.path.join(mp.worktree, '.gitignore'), 'ab') fd.write('/.repo\n') fd.close() sort_projects = list(old.projects.keys()) sort_projects.sort() b = mp.GetBranch(mp.CurrentBranch).merge if b.startswith(R_HEADS): b = b[len(R_HEADS):] if old.notice: gm.SetString('repo.notice', old.notice) info = [] pm = Progress('Converting manifest', len(sort_projects)) for p in sort_projects: pm.update() p = old.projects[p] gm.SetString('submodule.%s.path' % p.name, p.relpath) gm.SetString('submodule.%s.url' % p.name, p.remote.url) if gr.GetString('review.url') is None: gr.SetString('review.url', p.remote.review) elif gr.GetString('review.url') != p.remote.review: gr.SetString('review.%s.url' % p.name, p.remote.review) r = p.revisionExpr if r and not IsId(r): if r.startswith(R_HEADS): r = r[len(R_HEADS):] if r == b: r = '.' gm.SetString('submodule.%s.revision' % p.name, r) for c in p.copyfiles: info.append('Moved %s out of %s' % (c.src, p.relpath)) c._Copy() p.work_git.rm(c.src) mp.work_git.add(c.dest) self.SetRevisionId(p.relpath, p.GetRevisionId()) mp.work_git.add('.gitignore', '.gitmodules', '.review') pm.end() for i in info: print >>sys.stderr, i def _Unload(self): self._loaded = False self._projects = {} self._revisionIds = None self.branch = None def _Load(self): if not self._loaded: f = os.path.join(self.repodir, manifest_xml.LOCAL_MANIFEST_NAME) if os.path.exists(f): print >>sys.stderr, 'warning: ignoring %s' % f m = self.manifestProject b = m.CurrentBranch if not b: raise ManifestParseError, 'manifest cannot be on detached HEAD' b = m.GetBranch(b).merge if b.startswith(R_HEADS): b = b[len(R_HEADS):] self.branch = b m.remote.name = self._Remote().name self._ParseModules() if self.IsMirror: self._AddMetaProjectMirror(self.repoProject) self._AddMetaProjectMirror(self.manifestProject) self._loaded = True def _ParseModules(self): byPath = dict() for name in self._modules.GetSubSections('submodule'): p = self._ParseProject(name) if self._projects.get(p.name): raise ManifestParseError, 'duplicate project "%s"' % p.name if byPath.get(p.relpath): raise ManifestParseError, 'duplicate path "%s"' % p.relpath self._projects[p.name] = p byPath[p.relpath] = p for relpath in self._allRevisionIds.keys(): if relpath not in byPath: raise ManifestParseError, \ 'project "%s" not in .gitmodules' \ % relpath def _Remote(self): m = self.manifestProject b = m.GetBranch(m.CurrentBranch) return b.remote def _ResolveUrl(self, url): if url.startswith('./') or url.startswith('../'): base = self._Remote().url try: base = base[:base.rindex('/')+1] except ValueError: base = base[:base.rindex(':')+1] if url.startswith('./'): url = url[2:] while '/' in base and url.startswith('../'): base = base[:base.rindex('/')+1] url = url[3:] return base + url return url def _GetRevisionId(self, path): return self._allRevisionIds.get(path) @property def _allRevisionIds(self): if self._revisionIds is None: a = dict() p = GitCommand(self.manifestProject, ['ls-files','-z','--stage'], capture_stdout = True) for line in p.process.stdout.read().split('\0')[:-1]: l_info, l_path = line.split('\t', 2) l_mode, l_id, l_stage = l_info.split(' ', 2) if l_mode == GITLINK and l_stage == '0': a[l_path] = l_id p.Wait() self._revisionIds = a return self._revisionIds def SetRevisionId(self, path, id): self.manifestProject.work_git.update_index( '--add','--cacheinfo', GITLINK, id, path) def _ParseProject(self, name): gm = self._modules gr = self._review path = gm.GetString('submodule.%s.path' % name) if not path: path = name revId = self._GetRevisionId(path) if not revId: raise ManifestParseError( 'submodule "%s" has no revision at "%s"' \ % (name, path)) url = gm.GetString('submodule.%s.url' % name) if not url: url = name url = self._ResolveUrl(url) review = gr.GetString('review.%s.url' % name) if not review: review = gr.GetString('review.url') if not review: review = self._Remote().review remote = RemoteSpec(self._Remote().name, url, review) revExpr = gm.GetString('submodule.%s.revision' % name) if revExpr == '.': revExpr = self.branch if self.IsMirror: relpath = None worktree = None gitdir = os.path.join(self.topdir, '%s.git' % name) else: worktree = os.path.join(self.topdir, path) gitdir = os.path.join(self.repodir, 'projects/%s.git' % name) return Project(manifest = self, name = name, remote = remote, gitdir = gitdir, worktree = worktree, relpath = path, revisionExpr = revExpr, revisionId = revId) def _AddMetaProjectMirror(self, m): m_url = m.GetRemote(m.remote.name).url if m_url.endswith('/.git'): raise ManifestParseError, 'refusing to mirror %s' % m_url name = self._GuessMetaName(m_url) if name.endswith('.git'): name = name[:-4] if name not in self._projects: m.PreSync() gitdir = os.path.join(self.topdir, '%s.git' % name) project = Project(manifest = self, name = name, remote = RemoteSpec(self._Remote().name, m_url), gitdir = gitdir, worktree = None, relpath = None, revisionExpr = m.revisionExpr, revisionId = None) self._projects[project.name] = project def _GuessMetaName(self, m_url): parts = m_url.split('/') name = parts[-1] parts = parts[0:-1] s = len(parts) - 1 while s > 0: l = '/'.join(parts[0:s]) + '/' r = '/'.join(parts[s:]) + '/' for p in self._projects.values(): if p.name.startswith(r) and p.remote.url.startswith(l): return r + name s -= 1 return m_url[m_url.rindex('/') + 1:]
Python
# # Copyright (C) 2009 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os import sys from time import time from trace import IsTrace _NOT_TTY = not os.isatty(2) class Progress(object): def __init__(self, title, total=0): self._title = title self._total = total self._done = 0 self._lastp = -1 self._start = time() self._show = False def update(self, inc=1): self._done += inc if _NOT_TTY or IsTrace(): return if not self._show: if 0.5 <= time() - self._start: self._show = True else: return if self._total <= 0: sys.stderr.write('\r%s: %d, ' % ( self._title, self._done)) sys.stderr.flush() else: p = (100 * self._done) / self._total if self._lastp != p: self._lastp = p sys.stderr.write('\r%s: %3d%% (%d/%d) ' % ( self._title, p, self._done, self._total)) sys.stderr.flush() def end(self): if _NOT_TTY or IsTrace() or not self._show: return if self._total <= 0: sys.stderr.write('\r%s: %d, done. \n' % ( self._title, self._done)) sys.stderr.flush() else: p = (100 * self._done) / self._total sys.stderr.write('\r%s: %3d%% (%d/%d), done. \n' % ( self._title, p, self._done, self._total)) sys.stderr.flush()
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os import select import sys active = False def RunPager(globalConfig): global active if not os.isatty(0) or not os.isatty(1): return pager = _SelectPager(globalConfig) if pager == '' or pager == 'cat': return # This process turns into the pager; a child it forks will # do the real processing and output back to the pager. This # is necessary to keep the pager in control of the tty. # try: r, w = os.pipe() pid = os.fork() if not pid: os.dup2(w, 1) os.dup2(w, 2) os.close(r) os.close(w) active = True return os.dup2(r, 0) os.close(r) os.close(w) _BecomePager(pager) except Exception: print >>sys.stderr, "fatal: cannot start pager '%s'" % pager os.exit(255) def _SelectPager(globalConfig): try: return os.environ['GIT_PAGER'] except KeyError: pass pager = globalConfig.GetString('core.pager') if pager: return pager try: return os.environ['PAGER'] except KeyError: pass return 'less' def _BecomePager(pager): # Delaying execution of the pager until we have output # ready works around a long-standing bug in popularly # available versions of 'less', a better 'more'. # a, b, c = select.select([0], [], [0]) os.environ['LESS'] = 'FRSX' try: os.execvp(pager, [pager]) except OSError, e: os.execv('/bin/sh', ['sh', '-c', pager])
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os import sys import subprocess import tempfile from signal import SIGTERM from error import GitError from trace import REPO_TRACE, IsTrace, Trace GIT = 'git' MIN_GIT_VERSION = (1, 5, 4) GIT_DIR = 'GIT_DIR' LAST_GITDIR = None LAST_CWD = None _ssh_proxy_path = None _ssh_sock_path = None _ssh_clients = [] def ssh_sock(create=True): global _ssh_sock_path if _ssh_sock_path is None: if not create: return None dir = '/tmp' if not os.path.exists(dir): dir = tempfile.gettempdir() _ssh_sock_path = os.path.join( tempfile.mkdtemp('', 'ssh-', dir), 'master-%r@%h:%p') return _ssh_sock_path def _ssh_proxy(): global _ssh_proxy_path if _ssh_proxy_path is None: _ssh_proxy_path = os.path.join( os.path.dirname(__file__), 'git_ssh') return _ssh_proxy_path def _add_ssh_client(p): _ssh_clients.append(p) def _remove_ssh_client(p): try: _ssh_clients.remove(p) except ValueError: pass def terminate_ssh_clients(): global _ssh_clients for p in _ssh_clients: try: os.kill(p.pid, SIGTERM) p.wait() except OSError: pass _ssh_clients = [] class _GitCall(object): def version(self): p = GitCommand(None, ['--version'], capture_stdout=True) if p.Wait() == 0: return p.stdout return None def __getattr__(self, name): name = name.replace('_','-') def fun(*cmdv): command = [name] command.extend(cmdv) return GitCommand(None, command).Wait() == 0 return fun git = _GitCall() _git_version = None def git_require(min_version, fail=False): global _git_version if _git_version is None: ver_str = git.version() if ver_str.startswith('git version '): _git_version = tuple( map(lambda x: int(x), ver_str[len('git version '):].strip().split('.')[0:3] )) else: print >>sys.stderr, 'fatal: "%s" unsupported' % ver_str sys.exit(1) if min_version <= _git_version: return True if fail: need = '.'.join(map(lambda x: str(x), min_version)) print >>sys.stderr, 'fatal: git %s or later required' % need sys.exit(1) return False def _setenv(env, name, value): env[name] = value.encode() class GitCommand(object): def __init__(self, project, cmdv, bare = False, provide_stdin = False, capture_stdout = False, capture_stderr = False, disable_editor = False, ssh_proxy = False, cwd = None, gitdir = None): env = os.environ.copy() for e in [REPO_TRACE, GIT_DIR, 'GIT_ALTERNATE_OBJECT_DIRECTORIES', 'GIT_OBJECT_DIRECTORY', 'GIT_WORK_TREE', 'GIT_GRAFT_FILE', 'GIT_INDEX_FILE']: if e in env: del env[e] if disable_editor: _setenv(env, 'GIT_EDITOR', ':') if ssh_proxy: _setenv(env, 'REPO_SSH_SOCK', ssh_sock()) _setenv(env, 'GIT_SSH', _ssh_proxy()) if project: if not cwd: cwd = project.worktree if not gitdir: gitdir = project.gitdir command = [GIT] if bare: if gitdir: _setenv(env, GIT_DIR, gitdir) cwd = None command.extend(cmdv) if provide_stdin: stdin = subprocess.PIPE else: stdin = None if capture_stdout: stdout = subprocess.PIPE else: stdout = None if capture_stderr: stderr = subprocess.PIPE else: stderr = None if IsTrace(): global LAST_CWD global LAST_GITDIR dbg = '' if cwd and LAST_CWD != cwd: if LAST_GITDIR or LAST_CWD: dbg += '\n' dbg += ': cd %s\n' % cwd LAST_CWD = cwd if GIT_DIR in env and LAST_GITDIR != env[GIT_DIR]: if LAST_GITDIR or LAST_CWD: dbg += '\n' dbg += ': export GIT_DIR=%s\n' % env[GIT_DIR] LAST_GITDIR = env[GIT_DIR] dbg += ': ' dbg += ' '.join(command) if stdin == subprocess.PIPE: dbg += ' 0<|' if stdout == subprocess.PIPE: dbg += ' 1>|' if stderr == subprocess.PIPE: dbg += ' 2>|' Trace('%s', dbg) try: p = subprocess.Popen(command, cwd = cwd, env = env, stdin = stdin, stdout = stdout, stderr = stderr) except Exception, e: raise GitError('%s: %s' % (command[1], e)) if ssh_proxy: _add_ssh_client(p) self.process = p self.stdin = p.stdin def Wait(self): p = self.process if p.stdin: p.stdin.close() self.stdin = None if p.stdout: self.stdout = p.stdout.read() p.stdout.close() else: p.stdout = None if p.stderr: self.stderr = p.stderr.read() p.stderr.close() else: p.stderr = None try: rc = p.wait() finally: _remove_ssh_client(p) return rc
Python
# # Copyright (C) 2009 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os from error import ManifestParseError from editor import Editor from git_config import GitConfig from project import MetaProject class Manifest(object): """any manifest format""" def __init__(self, repodir): self.repodir = os.path.abspath(repodir) self.topdir = os.path.dirname(self.repodir) self.globalConfig = GitConfig.ForUser() Editor.globalConfig = self.globalConfig self.repoProject = MetaProject(self, 'repo', gitdir = os.path.join(repodir, 'repo/.git'), worktree = os.path.join(repodir, 'repo')) @property def IsMirror(self): return self.manifestProject.config.GetBoolean('repo.mirror') @property def projects(self): return {} @property def notice(self): return None @property def manifest_server(self): return None def InitBranch(self): pass def SetMRefs(self, project): pass def Upgrade_Local(self, old): raise ManifestParseError, 'unsupported upgrade path'
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import cPickle import os import re import subprocess import sys try: import threading as _threading except ImportError: import dummy_threading as _threading import time import urllib2 from signal import SIGTERM from urllib2 import urlopen, HTTPError from error import GitError, UploadError from trace import Trace from git_command import GitCommand from git_command import ssh_sock from git_command import terminate_ssh_clients R_HEADS = 'refs/heads/' R_TAGS = 'refs/tags/' ID_RE = re.compile('^[0-9a-f]{40}$') REVIEW_CACHE = dict() def IsId(rev): return ID_RE.match(rev) def _key(name): parts = name.split('.') if len(parts) < 2: return name.lower() parts[ 0] = parts[ 0].lower() parts[-1] = parts[-1].lower() return '.'.join(parts) class GitConfig(object): _ForUser = None @classmethod def ForUser(cls): if cls._ForUser is None: cls._ForUser = cls(file = os.path.expanduser('~/.gitconfig')) return cls._ForUser @classmethod def ForRepository(cls, gitdir, defaults=None): return cls(file = os.path.join(gitdir, 'config'), defaults = defaults) def __init__(self, file, defaults=None, pickleFile=None): self.file = file self.defaults = defaults self._cache_dict = None self._section_dict = None self._remotes = {} self._branches = {} if pickleFile is None: self._pickle = os.path.join( os.path.dirname(self.file), '.repopickle_' + os.path.basename(self.file)) else: self._pickle = pickleFile def ClearCache(self): if os.path.exists(self._pickle): os.remove(self._pickle) self._cache_dict = None self._section_dict = None self._remotes = {} self._branches = {} def Has(self, name, include_defaults = True): """Return true if this configuration file has the key. """ if _key(name) in self._cache: return True if include_defaults and self.defaults: return self.defaults.Has(name, include_defaults = True) return False def GetBoolean(self, name): """Returns a boolean from the configuration file. None : The value was not defined, or is not a boolean. True : The value was set to true or yes. False: The value was set to false or no. """ v = self.GetString(name) if v is None: return None v = v.lower() if v in ('true', 'yes'): return True if v in ('false', 'no'): return False return None def GetString(self, name, all=False): """Get the first value for a key, or None if it is not defined. This configuration file is used first, if the key is not defined or all = True then the defaults are also searched. """ try: v = self._cache[_key(name)] except KeyError: if self.defaults: return self.defaults.GetString(name, all = all) v = [] if not all: if v: return v[0] return None r = [] r.extend(v) if self.defaults: r.extend(self.defaults.GetString(name, all = True)) return r def SetString(self, name, value): """Set the value(s) for a key. Only this configuration file is modified. The supplied value should be either a string, or a list of strings (to store multiple values). """ key = _key(name) try: old = self._cache[key] except KeyError: old = [] if value is None: if old: del self._cache[key] self._do('--unset-all', name) elif isinstance(value, list): if len(value) == 0: self.SetString(name, None) elif len(value) == 1: self.SetString(name, value[0]) elif old != value: self._cache[key] = list(value) self._do('--replace-all', name, value[0]) for i in xrange(1, len(value)): self._do('--add', name, value[i]) elif len(old) != 1 or old[0] != value: self._cache[key] = [value] self._do('--replace-all', name, value) def GetRemote(self, name): """Get the remote.$name.* configuration values as an object. """ try: r = self._remotes[name] except KeyError: r = Remote(self, name) self._remotes[r.name] = r return r def GetBranch(self, name): """Get the branch.$name.* configuration values as an object. """ try: b = self._branches[name] except KeyError: b = Branch(self, name) self._branches[b.name] = b return b def GetSubSections(self, section): """List all subsection names matching $section.*.* """ return self._sections.get(section, set()) def HasSection(self, section, subsection = ''): """Does at least one key in section.subsection exist? """ try: return subsection in self._sections[section] except KeyError: return False @property def _sections(self): d = self._section_dict if d is None: d = {} for name in self._cache.keys(): p = name.split('.') if 2 == len(p): section = p[0] subsect = '' else: section = p[0] subsect = '.'.join(p[1:-1]) if section not in d: d[section] = set() d[section].add(subsect) self._section_dict = d return d @property def _cache(self): if self._cache_dict is None: self._cache_dict = self._Read() return self._cache_dict def _Read(self): d = self._ReadPickle() if d is None: d = self._ReadGit() self._SavePickle(d) return d def _ReadPickle(self): try: if os.path.getmtime(self._pickle) \ <= os.path.getmtime(self.file): os.remove(self._pickle) return None except OSError: return None try: Trace(': unpickle %s', self.file) fd = open(self._pickle, 'rb') try: return cPickle.load(fd) finally: fd.close() except EOFError: os.remove(self._pickle) return None except IOError: os.remove(self._pickle) return None except cPickle.PickleError: os.remove(self._pickle) return None def _SavePickle(self, cache): try: fd = open(self._pickle, 'wb') try: cPickle.dump(cache, fd, cPickle.HIGHEST_PROTOCOL) finally: fd.close() except IOError: if os.path.exists(self._pickle): os.remove(self._pickle) except cPickle.PickleError: if os.path.exists(self._pickle): os.remove(self._pickle) def _ReadGit(self): """ Read configuration data from git. This internal method populates the GitConfig cache. """ c = {} d = self._do('--null', '--list') if d is None: return c for line in d.rstrip('\0').split('\0'): if '\n' in line: key, val = line.split('\n', 1) else: key = line val = None if key in c: c[key].append(val) else: c[key] = [val] return c def _do(self, *args): command = ['config', '--file', self.file] command.extend(args) p = GitCommand(None, command, capture_stdout = True, capture_stderr = True) if p.Wait() == 0: return p.stdout else: GitError('git config %s: %s' % (str(args), p.stderr)) class RefSpec(object): """A Git refspec line, split into its components: forced: True if the line starts with '+' src: Left side of the line dst: Right side of the line """ @classmethod def FromString(cls, rs): lhs, rhs = rs.split(':', 2) if lhs.startswith('+'): lhs = lhs[1:] forced = True else: forced = False return cls(forced, lhs, rhs) def __init__(self, forced, lhs, rhs): self.forced = forced self.src = lhs self.dst = rhs def SourceMatches(self, rev): if self.src: if rev == self.src: return True if self.src.endswith('/*') and rev.startswith(self.src[:-1]): return True return False def DestMatches(self, ref): if self.dst: if ref == self.dst: return True if self.dst.endswith('/*') and ref.startswith(self.dst[:-1]): return True return False def MapSource(self, rev): if self.src.endswith('/*'): return self.dst[:-1] + rev[len(self.src) - 1:] return self.dst def __str__(self): s = '' if self.forced: s += '+' if self.src: s += self.src if self.dst: s += ':' s += self.dst return s _master_processes = [] _master_keys = set() _ssh_master = True _master_keys_lock = None def init_ssh(): """Should be called once at the start of repo to init ssh master handling. At the moment, all we do is to create our lock. """ global _master_keys_lock assert _master_keys_lock is None, "Should only call init_ssh once" _master_keys_lock = _threading.Lock() def _open_ssh(host, port=None): global _ssh_master # Acquire the lock. This is needed to prevent opening multiple masters for # the same host when we're running "repo sync -jN" (for N > 1) _and_ the # manifest <remote fetch="ssh://xyz"> specifies a different host from the # one that was passed to repo init. _master_keys_lock.acquire() try: # Check to see whether we already think that the master is running; if we # think it's already running, return right away. if port is not None: key = '%s:%s' % (host, port) else: key = host if key in _master_keys: return True if not _ssh_master \ or 'GIT_SSH' in os.environ \ or sys.platform in ('win32', 'cygwin'): # failed earlier, or cygwin ssh can't do this # return False # We will make two calls to ssh; this is the common part of both calls. command_base = ['ssh', '-o','ControlPath %s' % ssh_sock(), host] if port is not None: command_base[1:1] = ['-p',str(port)] # Since the key wasn't in _master_keys, we think that master isn't running. # ...but before actually starting a master, we'll double-check. This can # be important because we can't tell that that 'git@myhost.com' is the same # as 'myhost.com' where "User git" is setup in the user's ~/.ssh/config file. check_command = command_base + ['-O','check'] try: Trace(': %s', ' '.join(check_command)) check_process = subprocess.Popen(check_command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) check_process.communicate() # read output, but ignore it... isnt_running = check_process.wait() if not isnt_running: # Our double-check found that the master _was_ infact running. Add to # the list of keys. _master_keys.add(key) return True except Exception: # Ignore excpetions. We we will fall back to the normal command and print # to the log there. pass command = command_base[:1] + \ ['-M', '-N'] + \ command_base[1:] try: Trace(': %s', ' '.join(command)) p = subprocess.Popen(command) except Exception, e: _ssh_master = False print >>sys.stderr, \ '\nwarn: cannot enable ssh control master for %s:%s\n%s' \ % (host,port, str(e)) return False _master_processes.append(p) _master_keys.add(key) time.sleep(1) return True finally: _master_keys_lock.release() def close_ssh(): global _master_keys_lock terminate_ssh_clients() for p in _master_processes: try: os.kill(p.pid, SIGTERM) p.wait() except OSError: pass del _master_processes[:] _master_keys.clear() d = ssh_sock(create=False) if d: try: os.rmdir(os.path.dirname(d)) except OSError: pass # We're done with the lock, so we can delete it. _master_keys_lock = None URI_SCP = re.compile(r'^([^@:]*@?[^:/]{1,}):') URI_ALL = re.compile(r'^([a-z][a-z+]*)://([^@/]*@?[^/]*)/') def _preconnect(url): m = URI_ALL.match(url) if m: scheme = m.group(1) host = m.group(2) if ':' in host: host, port = host.split(':') else: port = None if scheme in ('ssh', 'git+ssh', 'ssh+git'): return _open_ssh(host, port) return False m = URI_SCP.match(url) if m: host = m.group(1) return _open_ssh(host) return False class Remote(object): """Configuration options related to a remote. """ def __init__(self, config, name): self._config = config self.name = name self.url = self._Get('url') self.review = self._Get('review') self.projectname = self._Get('projectname') self.fetch = map(lambda x: RefSpec.FromString(x), self._Get('fetch', all=True)) self._review_protocol = None def _InsteadOf(self): globCfg = GitConfig.ForUser() urlList = globCfg.GetSubSections('url') longest = "" longestUrl = "" for url in urlList: key = "url." + url + ".insteadOf" insteadOfList = globCfg.GetString(key, all=True) for insteadOf in insteadOfList: if self.url.startswith(insteadOf) \ and len(insteadOf) > len(longest): longest = insteadOf longestUrl = url if len(longest) == 0: return self.url return self.url.replace(longest, longestUrl, 1) def PreConnectFetch(self): connectionUrl = self._InsteadOf() return _preconnect(connectionUrl) @property def ReviewProtocol(self): if self._review_protocol is None: if self.review is None: return None u = self.review if not u.startswith('http:') and not u.startswith('https:'): u = 'http://%s' % u if u.endswith('/Gerrit'): u = u[:len(u) - len('/Gerrit')] if not u.endswith('/ssh_info'): if not u.endswith('/'): u += '/' u += 'ssh_info' if u in REVIEW_CACHE: info = REVIEW_CACHE[u] self._review_protocol = info[0] self._review_host = info[1] self._review_port = info[2] else: try: info = urlopen(u).read() if info == 'NOT_AVAILABLE': raise UploadError('%s: SSH disabled' % self.review) if '<' in info: # Assume the server gave us some sort of HTML # response back, like maybe a login page. # raise UploadError('%s: Cannot parse response' % u) self._review_protocol = 'ssh' self._review_host = info.split(" ")[0] self._review_port = info.split(" ")[1] except urllib2.URLError, e: raise UploadError('%s: %s' % (self.review, e.reason[1])) except HTTPError, e: if e.code == 404: self._review_protocol = 'http-post' self._review_host = None self._review_port = None else: raise UploadError('Upload over ssh unavailable') REVIEW_CACHE[u] = ( self._review_protocol, self._review_host, self._review_port) return self._review_protocol def SshReviewUrl(self, userEmail): if self.ReviewProtocol != 'ssh': return None username = self._config.GetString('review.%s.username' % self.review) if username is None: username = userEmail.split("@")[0] return 'ssh://%s@%s:%s/%s' % ( username, self._review_host, self._review_port, self.projectname) def ToLocal(self, rev): """Convert a remote revision string to something we have locally. """ if IsId(rev): return rev if rev.startswith(R_TAGS): return rev if not rev.startswith('refs/'): rev = R_HEADS + rev for spec in self.fetch: if spec.SourceMatches(rev): return spec.MapSource(rev) raise GitError('remote %s does not have %s' % (self.name, rev)) def WritesTo(self, ref): """True if the remote stores to the tracking ref. """ for spec in self.fetch: if spec.DestMatches(ref): return True return False def ResetFetch(self, mirror=False): """Set the fetch refspec to its default value. """ if mirror: dst = 'refs/heads/*' else: dst = 'refs/remotes/%s/*' % self.name self.fetch = [RefSpec(True, 'refs/heads/*', dst)] def Save(self): """Save this remote to the configuration. """ self._Set('url', self.url) self._Set('review', self.review) self._Set('projectname', self.projectname) self._Set('fetch', map(lambda x: str(x), self.fetch)) def _Set(self, key, value): key = 'remote.%s.%s' % (self.name, key) return self._config.SetString(key, value) def _Get(self, key, all=False): key = 'remote.%s.%s' % (self.name, key) return self._config.GetString(key, all = all) class Branch(object): """Configuration options related to a single branch. """ def __init__(self, config, name): self._config = config self.name = name self.merge = self._Get('merge') r = self._Get('remote') if r: self.remote = self._config.GetRemote(r) else: self.remote = None @property def LocalMerge(self): """Convert the merge spec to a local name. """ if self.remote and self.merge: return self.remote.ToLocal(self.merge) return None def Save(self): """Save this branch back into the configuration. """ if self._config.HasSection('branch', self.name): if self.remote: self._Set('remote', self.remote.name) else: self._Set('remote', None) self._Set('merge', self.merge) else: fd = open(self._config.file, 'ab') try: fd.write('[branch "%s"]\n' % self.name) if self.remote: fd.write('\tremote = %s\n' % self.remote.name) if self.merge: fd.write('\tmerge = %s\n' % self.merge) finally: fd.close() def _Set(self, key, value): key = 'branch.%s.%s' % (self.name, key) return self._config.SetString(key, value) def _Get(self, key, all=False): key = 'branch.%s.%s' % (self.name, key) return self._config.GetString(key, all = all)
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import copy import re import sys from command import InteractiveCommand from editor import Editor from error import UploadError UNUSUAL_COMMIT_THRESHOLD = 5 def _ConfirmManyUploads(multiple_branches=False): if multiple_branches: print "ATTENTION: One or more branches has an unusually high number of commits." else: print "ATTENTION: You are uploading an unusually high number of commits." print "YOU PROBABLY DO NOT MEAN TO DO THIS. (Did you rebase across branches?)" answer = raw_input("If you are sure you intend to do this, type 'yes': ").strip() return answer == "yes" def _die(fmt, *args): msg = fmt % args print >>sys.stderr, 'error: %s' % msg sys.exit(1) def _SplitEmails(values): result = [] for str in values: result.extend([s.strip() for s in str.split(',')]) return result class Upload(InteractiveCommand): common = True helpSummary = "Upload changes for code review" helpUsage=""" %prog [--re --cc] [<project>]... """ helpDescription = """ The '%prog' command is used to send changes to the Gerrit Code Review system. It searches for topic branches in local projects that have not yet been published for review. If multiple topic branches are found, '%prog' opens an editor to allow the user to select which branches to upload. '%prog' searches for uploadable changes in all projects listed at the command line. Projects can be specified either by name, or by a relative or absolute path to the project's local directory. If no projects are specified, '%prog' will search for uploadable changes in all projects listed in the manifest. If the --reviewers or --cc options are passed, those emails are added to the respective list of users, and emails are sent to any new users. Users passed as --reviewers must already be registered with the code review system, or the upload will fail. Configuration ------------- review.URL.autoupload: To disable the "Upload ... (y/n)?" prompt, you can set a per-project or global Git configuration option. If review.URL.autoupload is set to "true" then repo will assume you always answer "y" at the prompt, and will not prompt you further. If it is set to "false" then repo will assume you always answer "n", and will abort. review.URL.autocopy: To automatically copy a user or mailing list to all uploaded reviews, you can set a per-project or global Git option to do so. Specifically, review.URL.autocopy can be set to a comma separated list of reviewers who you always want copied on all uploads with a non-empty --re argument. review.URL.username: Override the username used to connect to Gerrit Code Review. By default the local part of the email address is used. The URL must match the review URL listed in the manifest XML file, or in the .git/config within the project. For example: [remote "origin"] url = git://git.example.com/project.git review = http://review.example.com/ [review "http://review.example.com/"] autoupload = true autocopy = johndoe@company.com,my-team-alias@company.com References ---------- Gerrit Code Review: http://code.google.com/p/gerrit/ """ def _Options(self, p): p.add_option('-t', dest='auto_topic', action='store_true', help='Send local branch name to Gerrit Code Review') p.add_option('--re', '--reviewers', type='string', action='append', dest='reviewers', help='Request reviews from these people.') p.add_option('--cc', type='string', action='append', dest='cc', help='Also send email to these email addresses.') def _SingleBranch(self, opt, branch, people): project = branch.project name = branch.name remote = project.GetBranch(name).remote key = 'review.%s.autoupload' % remote.review answer = project.config.GetBoolean(key) if answer is False: _die("upload blocked by %s = false" % key) if answer is None: date = branch.date list = branch.commits print 'Upload project %s/:' % project.relpath print ' branch %s (%2d commit%s, %s):' % ( name, len(list), len(list) != 1 and 's' or '', date) for commit in list: print ' %s' % commit sys.stdout.write('to %s (y/n)? ' % remote.review) answer = sys.stdin.readline().strip() answer = answer in ('y', 'Y', 'yes', '1', 'true', 't') if answer: if len(branch.commits) > UNUSUAL_COMMIT_THRESHOLD: answer = _ConfirmManyUploads() if answer: self._UploadAndReport(opt, [branch], people) else: _die("upload aborted by user") def _MultipleBranches(self, opt, pending, people): projects = {} branches = {} script = [] script.append('# Uncomment the branches to upload:') for project, avail in pending: script.append('#') script.append('# project %s/:' % project.relpath) b = {} for branch in avail: name = branch.name date = branch.date list = branch.commits if b: script.append('#') script.append('# branch %s (%2d commit%s, %s):' % ( name, len(list), len(list) != 1 and 's' or '', date)) for commit in list: script.append('# %s' % commit) b[name] = branch projects[project.relpath] = project branches[project.name] = b script.append('') script = Editor.EditString("\n".join(script)).split("\n") project_re = re.compile(r'^#?\s*project\s*([^\s]+)/:$') branch_re = re.compile(r'^\s*branch\s*([^\s(]+)\s*\(.*') project = None todo = [] for line in script: m = project_re.match(line) if m: name = m.group(1) project = projects.get(name) if not project: _die('project %s not available for upload', name) continue m = branch_re.match(line) if m: name = m.group(1) if not project: _die('project for branch %s not in script', name) branch = branches[project.name].get(name) if not branch: _die('branch %s not in %s', name, project.relpath) todo.append(branch) if not todo: _die("nothing uncommented for upload") many_commits = False for branch in todo: if len(branch.commits) > UNUSUAL_COMMIT_THRESHOLD: many_commits = True break if many_commits: if not _ConfirmManyUploads(multiple_branches=True): _die("upload aborted by user") self._UploadAndReport(opt, todo, people) def _AppendAutoCcList(self, branch, people): """ Appends the list of users in the CC list in the git project's config if a non-empty reviewer list was found. """ name = branch.name project = branch.project key = 'review.%s.autocopy' % project.GetBranch(name).remote.review raw_list = project.config.GetString(key) if not raw_list is None and len(people[0]) > 0: people[1].extend([entry.strip() for entry in raw_list.split(',')]) def _FindGerritChange(self, branch): last_pub = branch.project.WasPublished(branch.name) if last_pub is None: return "" refs = branch.GetPublishedRefs() try: # refs/changes/XYZ/N --> XYZ return refs.get(last_pub).split('/')[-2] except: return "" def _UploadAndReport(self, opt, todo, original_people): have_errors = False for branch in todo: try: people = copy.deepcopy(original_people) self._AppendAutoCcList(branch, people) # Check if there are local changes that may have been forgotten if branch.project.HasChanges(): key = 'review.%s.autoupload' % branch.project.remote.review answer = branch.project.config.GetBoolean(key) # if they want to auto upload, let's not ask because it could be automated if answer is None: sys.stdout.write('Uncommitted changes in ' + branch.project.name + ' (did you forget to amend?). Continue uploading? (y/n) ') a = sys.stdin.readline().strip().lower() if a not in ('y', 'yes', 't', 'true', 'on'): print >>sys.stderr, "skipping upload" branch.uploaded = False branch.error = 'User aborted' continue branch.UploadForReview(people, auto_topic=opt.auto_topic) branch.uploaded = True except UploadError, e: branch.error = e branch.uploaded = False have_errors = True print >>sys.stderr, '' print >>sys.stderr, '----------------------------------------------------------------------' if have_errors: for branch in todo: if not branch.uploaded: if len(str(branch.error)) <= 30: fmt = ' (%s)' else: fmt = '\n (%s)' print >>sys.stderr, ('[FAILED] %-15s %-15s' + fmt) % ( branch.project.relpath + '/', \ branch.name, \ str(branch.error)) print >>sys.stderr, '' for branch in todo: if branch.uploaded: print >>sys.stderr, '[OK ] %-15s %s' % ( branch.project.relpath + '/', branch.name) if have_errors: sys.exit(1) def Execute(self, opt, args): project_list = self.GetProjects(args) pending = [] reviewers = [] cc = [] if opt.reviewers: reviewers = _SplitEmails(opt.reviewers) if opt.cc: cc = _SplitEmails(opt.cc) people = (reviewers,cc) for project in project_list: avail = project.GetUploadableBranches() if avail: pending.append((project, avail)) if not pending: print >>sys.stdout, "no branches ready for upload" elif len(pending) == 1 and len(pending[0][1]) == 1: self._SingleBranch(opt, pending[0][1][0], people) else: self._MultipleBranches(opt, pending, people)
Python
# # Copyright (C) 2009 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import sys from command import Command from progress import Progress class Checkout(Command): common = True helpSummary = "Checkout a branch for development" helpUsage = """ %prog <branchname> [<project>...] """ helpDescription = """ The '%prog' command checks out an existing branch that was previously created by 'repo start'. The command is equivalent to: repo forall [<project>...] -c git checkout <branchname> """ def Execute(self, opt, args): if not args: self.Usage() nb = args[0] err = [] all = self.GetProjects(args[1:]) pm = Progress('Checkout %s' % nb, len(all)) for project in all: pm.update() if not project.CheckoutBranch(nb): err.append(project) pm.end() if err: if len(err) == len(all): print >>sys.stderr, 'error: no project has branch %s' % nb else: for p in err: print >>sys.stderr,\ "error: %s/: cannot checkout %s" \ % (p.relpath, nb) sys.exit(1)
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os import re import sys from command import Command CHANGE_RE = re.compile(r'^([1-9][0-9]*)(?:[/\.-]([1-9][0-9]*))?$') class Download(Command): common = True helpSummary = "Download and checkout a change" helpUsage = """ %prog {project change[/patchset]}... """ helpDescription = """ The '%prog' command downloads a change from the review system and makes it available in your project's local working directory. """ def _Options(self, p): pass def _ParseChangeIds(self, args): if not args: self.Usage() to_get = [] project = None for a in args: m = CHANGE_RE.match(a) if m: if not project: self.Usage() chg_id = int(m.group(1)) if m.group(2): ps_id = int(m.group(2)) else: ps_id = 1 to_get.append((project, chg_id, ps_id)) else: project = self.GetProjects([a])[0] return to_get def Execute(self, opt, args): for project, change_id, ps_id in self._ParseChangeIds(args): dl = project.DownloadPatchSet(change_id, ps_id) if not dl: print >>sys.stderr, \ '[%s] change %d/%d not found' \ % (project.name, change_id, ps_id) sys.exit(1) if not dl.commits: print >>sys.stderr, \ '[%s] change %d/%d has already been merged' \ % (project.name, change_id, ps_id) continue if len(dl.commits) > 1: print >>sys.stderr, \ '[%s] %d/%d depends on %d unmerged changes:' \ % (project.name, change_id, ps_id, len(dl.commits)) for c in dl.commits: print >>sys.stderr, ' %s' % (c) project._Checkout(dl.commit)
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import fcntl import re import os import select import sys import subprocess from color import Coloring from command import Command, MirrorSafeCommand _CAN_COLOR = [ 'branch', 'diff', 'grep', 'log', ] class ForallColoring(Coloring): def __init__(self, config): Coloring.__init__(self, config, 'forall') self.project = self.printer('project', attr='bold') class Forall(Command, MirrorSafeCommand): common = False helpSummary = "Run a shell command in each project" helpUsage = """ %prog [<project>...] -c <command> [<arg>...] """ helpDescription = """ Executes the same shell command in each project. Output Formatting ----------------- The -p option causes '%prog' to bind pipes to the command's stdin, stdout and stderr streams, and pipe all output into a continuous stream that is displayed in a single pager session. Project headings are inserted before the output of each command is displayed. If the command produces no output in a project, no heading is displayed. The formatting convention used by -p is very suitable for some types of searching, e.g. `repo forall -p -c git log -SFoo` will print all commits that add or remove references to Foo. The -v option causes '%prog' to display stderr messages if a command produces output only on stderr. Normally the -p option causes command output to be suppressed until the command produces at least one byte of output on stdout. Environment ----------- pwd is the project's working directory. If the current client is a mirror client, then pwd is the Git repository. REPO_PROJECT is set to the unique name of the project. REPO_PATH is the path relative the the root of the client. REPO_REMOTE is the name of the remote system from the manifest. REPO_LREV is the name of the revision from the manifest, translated to a local tracking branch. If you need to pass the manifest revision to a locally executed git command, use REPO_LREV. REPO_RREV is the name of the revision from the manifest, exactly as written in the manifest. shell positional arguments ($1, $2, .., $#) are set to any arguments following <command>. Unless -p is used, stdin, stdout, stderr are inherited from the terminal and are not redirected. """ def _Options(self, p): def cmd(option, opt_str, value, parser): setattr(parser.values, option.dest, list(parser.rargs)) while parser.rargs: del parser.rargs[0] p.add_option('-c', '--command', help='Command (and arguments) to execute', dest='command', action='callback', callback=cmd) g = p.add_option_group('Output') g.add_option('-p', dest='project_header', action='store_true', help='Show project headers before output') g.add_option('-v', '--verbose', dest='verbose', action='store_true', help='Show command error messages') def WantPager(self, opt): return opt.project_header def Execute(self, opt, args): if not opt.command: self.Usage() cmd = [opt.command[0]] shell = True if re.compile(r'^[a-z0-9A-Z_/\.-]+$').match(cmd[0]): shell = False if shell: cmd.append(cmd[0]) cmd.extend(opt.command[1:]) if opt.project_header \ and not shell \ and cmd[0] == 'git': # If this is a direct git command that can enable colorized # output and the user prefers coloring, add --color into the # command line because we are going to wrap the command into # a pipe and git won't know coloring should activate. # for cn in cmd[1:]: if not cn.startswith('-'): break if cn in _CAN_COLOR: class ColorCmd(Coloring): def __init__(self, config, cmd): Coloring.__init__(self, config, cmd) if ColorCmd(self.manifest.manifestProject.config, cn).is_on: cmd.insert(cmd.index(cn) + 1, '--color') mirror = self.manifest.IsMirror out = ForallColoring(self.manifest.manifestProject.config) out.redirect(sys.stdout) rc = 0 first = True for project in self.GetProjects(args): env = os.environ.copy() def setenv(name, val): if val is None: val = '' env[name] = val.encode() setenv('REPO_PROJECT', project.name) setenv('REPO_PATH', project.relpath) setenv('REPO_REMOTE', project.remote.name) setenv('REPO_LREV', project.GetRevisionId()) setenv('REPO_RREV', project.revisionExpr) if mirror: setenv('GIT_DIR', project.gitdir) cwd = project.gitdir else: cwd = project.worktree if not os.path.exists(cwd): if (opt.project_header and opt.verbose) \ or not opt.project_header: print >>sys.stderr, 'skipping %s/' % project.relpath continue if opt.project_header: stdin = subprocess.PIPE stdout = subprocess.PIPE stderr = subprocess.PIPE else: stdin = None stdout = None stderr = None p = subprocess.Popen(cmd, cwd = cwd, shell = shell, env = env, stdin = stdin, stdout = stdout, stderr = stderr) if opt.project_header: class sfd(object): def __init__(self, fd, dest): self.fd = fd self.dest = dest def fileno(self): return self.fd.fileno() empty = True didout = False errbuf = '' p.stdin.close() s_in = [sfd(p.stdout, sys.stdout), sfd(p.stderr, sys.stderr)] for s in s_in: flags = fcntl.fcntl(s.fd, fcntl.F_GETFL) fcntl.fcntl(s.fd, fcntl.F_SETFL, flags | os.O_NONBLOCK) while s_in: in_ready, out_ready, err_ready = select.select(s_in, [], []) for s in in_ready: buf = s.fd.read(4096) if not buf: s.fd.close() s_in.remove(s) continue if not opt.verbose: if s.fd == p.stdout: didout = True else: errbuf += buf continue if empty: if first: first = False else: out.nl() out.project('project %s/', project.relpath) out.nl() out.flush() if errbuf: sys.stderr.write(errbuf) sys.stderr.flush() errbuf = '' empty = False s.dest.write(buf) s.dest.flush() r = p.wait() if r != 0 and r != rc: rc = r if rc != 0: sys.exit(rc)
Python
# # Copyright (C) 2009 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os import sys from command import PagedCommand from manifest_submodule import SubmoduleManifest from manifest_xml import XmlManifest def _doc(name): r = os.path.dirname(__file__) r = os.path.dirname(r) fd = open(os.path.join(r, 'docs', name)) try: return fd.read() finally: fd.close() class Manifest(PagedCommand): common = False helpSummary = "Manifest inspection utility" helpUsage = """ %prog [options] """ _xmlHelp = """ With the -o option, exports the current manifest for inspection. The manifest and (if present) local_manifest.xml are combined together to produce a single manifest file. This file can be stored in a Git repository for use during future 'repo init' invocations. """ @property def helpDescription(self): help = '' if isinstance(self.manifest, XmlManifest): help += self._xmlHelp + '\n' + _doc('manifest_xml.txt') if isinstance(self.manifest, SubmoduleManifest): help += _doc('manifest_submodule.txt') return help def _Options(self, p): if isinstance(self.manifest, XmlManifest): p.add_option('--upgrade', dest='upgrade', action='store_true', help='Upgrade XML manifest to submodule') p.add_option('-r', '--revision-as-HEAD', dest='peg_rev', action='store_true', help='Save revisions as current HEAD') p.add_option('-o', '--output-file', dest='output_file', help='File to save the manifest to', metavar='-|NAME.xml') def WantPager(self, opt): if isinstance(self.manifest, XmlManifest) and opt.upgrade: return False return True def _Output(self, opt): if opt.output_file == '-': fd = sys.stdout else: fd = open(opt.output_file, 'w') self.manifest.Save(fd, peg_rev = opt.peg_rev) fd.close() if opt.output_file != '-': print >>sys.stderr, 'Saved manifest to %s' % opt.output_file def _Upgrade(self): old = self.manifest if isinstance(old, SubmoduleManifest): print >>sys.stderr, 'error: already upgraded' sys.exit(1) old._Load() for p in old.projects.values(): if not os.path.exists(p.gitdir) \ or not os.path.exists(p.worktree): print >>sys.stderr, 'fatal: project "%s" missing' % p.relpath sys.exit(1) new = SubmoduleManifest(old.repodir) new.FromXml_Local_1(old, checkout=False) new.FromXml_Definition(old) new.FromXml_Local_2(old) print >>sys.stderr, 'upgraded manifest; commit result manually' def Execute(self, opt, args): if args: self.Usage() if isinstance(self.manifest, XmlManifest): if opt.upgrade: self._Upgrade() return if opt.output_file is not None: self._Output(opt) return print >>sys.stderr, 'error: no operation to perform' print >>sys.stderr, 'error: see repo help manifest' sys.exit(1)
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import sys from command import Command from git_command import git from progress import Progress class Start(Command): common = True helpSummary = "Start a new branch for development" helpUsage = """ %prog <newbranchname> [--all | <project>...] """ helpDescription = """ '%prog' begins a new branch of development, starting from the revision specified in the manifest. """ def _Options(self, p): p.add_option('--all', dest='all', action='store_true', help='begin branch in all projects') def Execute(self, opt, args): if not args: self.Usage() nb = args[0] if not git.check_ref_format('heads/%s' % nb): print >>sys.stderr, "error: '%s' is not a valid name" % nb sys.exit(1) err = [] projects = [] if not opt.all: projects = args[1:] if len(projects) < 1: print >>sys.stderr, "error: at least one project must be specified" sys.exit(1) all = self.GetProjects(projects) pm = Progress('Starting %s' % nb, len(all)) for project in all: pm.update() if not project.StartBranch(nb): err.append(project) pm.end() if err: for p in err: print >>sys.stderr,\ "error: %s/: cannot start %s" \ % (p.relpath, nb) sys.exit(1)
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from optparse import SUPPRESS_HELP import os import re import shutil import socket import subprocess import sys import time import xmlrpclib try: import threading as _threading except ImportError: import dummy_threading as _threading from git_command import GIT from git_refs import R_HEADS from project import HEAD from project import Project from project import RemoteSpec from command import Command, MirrorSafeCommand from error import RepoChangedException, GitError from project import R_HEADS from project import SyncBuffer from progress import Progress class Sync(Command, MirrorSafeCommand): jobs = 1 common = True helpSummary = "Update working tree to the latest revision" helpUsage = """ %prog [<project>...] """ helpDescription = """ The '%prog' command synchronizes local project directories with the remote repositories specified in the manifest. If a local project does not yet exist, it will clone a new local directory from the remote repository and set up tracking branches as specified in the manifest. If the local project already exists, '%prog' will update the remote branches and rebase any new local changes on top of the new remote changes. '%prog' will synchronize all projects listed at the command line. Projects can be specified either by name, or by a relative or absolute path to the project's local directory. If no projects are specified, '%prog' will synchronize all projects listed in the manifest. The -d/--detach option can be used to switch specified projects back to the manifest revision. This option is especially helpful if the project is currently on a topic branch, but the manifest revision is temporarily needed. The -s/--smart-sync option can be used to sync to a known good build as specified by the manifest-server element in the current manifest. The -f/--force-broken option can be used to proceed with syncing other projects if a project sync fails. SSH Connections --------------- If at least one project remote URL uses an SSH connection (ssh://, git+ssh://, or user@host:path syntax) repo will automatically enable the SSH ControlMaster option when connecting to that host. This feature permits other projects in the same '%prog' session to reuse the same SSH tunnel, saving connection setup overheads. To disable this behavior on UNIX platforms, set the GIT_SSH environment variable to 'ssh'. For example: export GIT_SSH=ssh %prog Compatibility ~~~~~~~~~~~~~ This feature is automatically disabled on Windows, due to the lack of UNIX domain socket support. This feature is not compatible with url.insteadof rewrites in the user's ~/.gitconfig. '%prog' is currently not able to perform the rewrite early enough to establish the ControlMaster tunnel. If the remote SSH daemon is Gerrit Code Review, version 2.0.10 or later is required to fix a server side protocol bug. """ def _Options(self, p, show_smart=True): p.add_option('-f', '--force-broken', dest='force_broken', action='store_true', help="continue sync even if a project fails to sync") p.add_option('-l','--local-only', dest='local_only', action='store_true', help="only update working tree, don't fetch") p.add_option('-n','--network-only', dest='network_only', action='store_true', help="fetch only, don't update working tree") p.add_option('-d','--detach', dest='detach_head', action='store_true', help='detach projects back to manifest revision') p.add_option('-q','--quiet', dest='quiet', action='store_true', help='be more quiet') p.add_option('-j','--jobs', dest='jobs', action='store', type='int', help="number of projects to fetch simultaneously") if show_smart: p.add_option('-s', '--smart-sync', dest='smart_sync', action='store_true', help='smart sync using manifest from a known good build') g = p.add_option_group('repo Version options') g.add_option('--no-repo-verify', dest='no_repo_verify', action='store_true', help='do not verify repo source code') g.add_option('--repo-upgraded', dest='repo_upgraded', action='store_true', help=SUPPRESS_HELP) def _FetchHelper(self, opt, project, lock, fetched, pm, sem): if not project.Sync_NetworkHalf(quiet=opt.quiet): print >>sys.stderr, 'error: Cannot fetch %s' % project.name if opt.force_broken: print >>sys.stderr, 'warn: --force-broken, continuing to sync' else: sem.release() sys.exit(1) lock.acquire() fetched.add(project.gitdir) pm.update() lock.release() sem.release() def _Fetch(self, projects, opt): fetched = set() pm = Progress('Fetching projects', len(projects)) if self.jobs == 1: for project in projects: pm.update() if project.Sync_NetworkHalf(quiet=opt.quiet): fetched.add(project.gitdir) else: print >>sys.stderr, 'error: Cannot fetch %s' % project.name if opt.force_broken: print >>sys.stderr, 'warn: --force-broken, continuing to sync' else: sys.exit(1) else: threads = set() lock = _threading.Lock() sem = _threading.Semaphore(self.jobs) for project in projects: sem.acquire() t = _threading.Thread(target = self._FetchHelper, args = (opt, project, lock, fetched, pm, sem)) threads.add(t) t.start() for t in threads: t.join() pm.end() for project in projects: project.bare_git.gc('--auto') return fetched def UpdateProjectList(self): new_project_paths = [] for project in self.manifest.projects.values(): if project.relpath: new_project_paths.append(project.relpath) file_name = 'project.list' file_path = os.path.join(self.manifest.repodir, file_name) old_project_paths = [] if os.path.exists(file_path): fd = open(file_path, 'r') try: old_project_paths = fd.read().split('\n') finally: fd.close() for path in old_project_paths: if not path: continue if path not in new_project_paths: """If the path has already been deleted, we don't need to do it """ if os.path.exists(self.manifest.topdir + '/' + path): project = Project( manifest = self.manifest, name = path, remote = RemoteSpec('origin'), gitdir = os.path.join(self.manifest.topdir, path, '.git'), worktree = os.path.join(self.manifest.topdir, path), relpath = path, revisionExpr = 'HEAD', revisionId = None) if project.IsDirty(): print >>sys.stderr, 'error: Cannot remove project "%s": \ uncommitted changes are present' % project.relpath print >>sys.stderr, ' commit changes, then run sync again' return -1 else: print >>sys.stderr, 'Deleting obsolete path %s' % project.worktree shutil.rmtree(project.worktree) # Try deleting parent subdirs if they are empty dir = os.path.dirname(project.worktree) while dir != self.manifest.topdir: try: os.rmdir(dir) except OSError: break dir = os.path.dirname(dir) new_project_paths.sort() fd = open(file_path, 'w') try: fd.write('\n'.join(new_project_paths)) fd.write('\n') finally: fd.close() return 0 def Execute(self, opt, args): if opt.jobs: self.jobs = opt.jobs if opt.network_only and opt.detach_head: print >>sys.stderr, 'error: cannot combine -n and -d' sys.exit(1) if opt.network_only and opt.local_only: print >>sys.stderr, 'error: cannot combine -n and -l' sys.exit(1) if opt.smart_sync: if not self.manifest.manifest_server: print >>sys.stderr, \ 'error: cannot smart sync: no manifest server defined in manifest' sys.exit(1) try: server = xmlrpclib.Server(self.manifest.manifest_server) p = self.manifest.manifestProject b = p.GetBranch(p.CurrentBranch) branch = b.merge if branch.startswith(R_HEADS): branch = branch[len(R_HEADS):] env = os.environ.copy() if (env.has_key('TARGET_PRODUCT') and env.has_key('TARGET_BUILD_VARIANT')): target = '%s-%s' % (env['TARGET_PRODUCT'], env['TARGET_BUILD_VARIANT']) [success, manifest_str] = server.GetApprovedManifest(branch, target) else: [success, manifest_str] = server.GetApprovedManifest(branch) if success: manifest_name = "smart_sync_override.xml" manifest_path = os.path.join(self.manifest.manifestProject.worktree, manifest_name) try: f = open(manifest_path, 'w') try: f.write(manifest_str) finally: f.close() except IOError: print >>sys.stderr, 'error: cannot write manifest to %s' % \ manifest_path sys.exit(1) self.manifest.Override(manifest_name) else: print >>sys.stderr, 'error: %s' % manifest_str sys.exit(1) except socket.error: print >>sys.stderr, 'error: cannot connect to manifest server %s' % ( self.manifest.manifest_server) sys.exit(1) rp = self.manifest.repoProject rp.PreSync() mp = self.manifest.manifestProject mp.PreSync() if opt.repo_upgraded: _PostRepoUpgrade(self.manifest) if not opt.local_only: mp.Sync_NetworkHalf(quiet=opt.quiet) if mp.HasChanges: syncbuf = SyncBuffer(mp.config) mp.Sync_LocalHalf(syncbuf) if not syncbuf.Finish(): sys.exit(1) self.manifest._Unload() all = self.GetProjects(args, missing_ok=True) if not opt.local_only: to_fetch = [] now = time.time() if (24 * 60 * 60) <= (now - rp.LastFetch): to_fetch.append(rp) to_fetch.extend(all) fetched = self._Fetch(to_fetch, opt) _PostRepoFetch(rp, opt.no_repo_verify) if opt.network_only: # bail out now; the rest touches the working tree return if mp.HasChanges: syncbuf = SyncBuffer(mp.config) mp.Sync_LocalHalf(syncbuf) if not syncbuf.Finish(): sys.exit(1) _ReloadManifest(self) mp = self.manifest.manifestProject all = self.GetProjects(args, missing_ok=True) missing = [] for project in all: if project.gitdir not in fetched: missing.append(project) self._Fetch(missing, opt) if self.manifest.IsMirror: # bail out now, we have no working tree return if self.UpdateProjectList(): sys.exit(1) syncbuf = SyncBuffer(mp.config, detach_head = opt.detach_head) pm = Progress('Syncing work tree', len(all)) for project in all: pm.update() if project.worktree: project.Sync_LocalHalf(syncbuf) pm.end() print >>sys.stderr if not syncbuf.Finish(): sys.exit(1) def _ReloadManifest(cmd): old = cmd.manifest new = cmd.GetManifest(reparse=True) if old.__class__ != new.__class__: print >>sys.stderr, 'NOTICE: manifest format has changed ***' new.Upgrade_Local(old) else: if new.notice: print new.notice def _PostRepoUpgrade(manifest): for project in manifest.projects.values(): if project.Exists: project.PostRepoUpgrade() def _PostRepoFetch(rp, no_repo_verify=False, verbose=False): if rp.HasChanges: print >>sys.stderr, 'info: A new version of repo is available' print >>sys.stderr, '' if no_repo_verify or _VerifyTag(rp): syncbuf = SyncBuffer(rp.config) rp.Sync_LocalHalf(syncbuf) if not syncbuf.Finish(): sys.exit(1) print >>sys.stderr, 'info: Restarting repo with latest version' raise RepoChangedException(['--repo-upgraded']) else: print >>sys.stderr, 'warning: Skipped upgrade to unverified version' else: if verbose: print >>sys.stderr, 'repo version %s is current' % rp.work_git.describe(HEAD) def _VerifyTag(project): gpg_dir = os.path.expanduser('~/.repoconfig/gnupg') if not os.path.exists(gpg_dir): print >>sys.stderr,\ """warning: GnuPG was not available during last "repo init" warning: Cannot automatically authenticate repo.""" return True try: cur = project.bare_git.describe(project.GetRevisionId()) except GitError: cur = None if not cur \ or re.compile(r'^.*-[0-9]{1,}-g[0-9a-f]{1,}$').match(cur): rev = project.revisionExpr if rev.startswith(R_HEADS): rev = rev[len(R_HEADS):] print >>sys.stderr print >>sys.stderr,\ "warning: project '%s' branch '%s' is not signed" \ % (project.name, rev) return False env = os.environ.copy() env['GIT_DIR'] = project.gitdir.encode() env['GNUPGHOME'] = gpg_dir.encode() cmd = [GIT, 'tag', '-v', cur] proc = subprocess.Popen(cmd, stdout = subprocess.PIPE, stderr = subprocess.PIPE, env = env) out = proc.stdout.read() proc.stdout.close() err = proc.stderr.read() proc.stderr.close() if proc.wait() != 0: print >>sys.stderr print >>sys.stderr, out print >>sys.stderr, err print >>sys.stderr return False return True
Python
# # Copyright (C) 2009 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from optparse import SUPPRESS_HELP import sys from command import Command, MirrorSafeCommand from subcmds.sync import _PostRepoUpgrade from subcmds.sync import _PostRepoFetch class Selfupdate(Command, MirrorSafeCommand): common = False helpSummary = "Update repo to the latest version" helpUsage = """ %prog """ helpDescription = """ The '%prog' command upgrades repo to the latest version, if a newer version is available. Normally this is done automatically by 'repo sync' and does not need to be performed by an end-user. """ def _Options(self, p): g = p.add_option_group('repo Version options') g.add_option('--no-repo-verify', dest='no_repo_verify', action='store_true', help='do not verify repo source code') g.add_option('--repo-upgraded', dest='repo_upgraded', action='store_true', help=SUPPRESS_HELP) def Execute(self, opt, args): rp = self.manifest.repoProject rp.PreSync() if opt.repo_upgraded: _PostRepoUpgrade(self.manifest) else: if not rp.Sync_NetworkHalf(): print >>sys.stderr, "error: can't update repo" sys.exit(1) rp.bare_git.gc('--auto') _PostRepoFetch(rp, no_repo_verify = opt.no_repo_verify, verbose = True)
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import sys from color import Coloring from command import InteractiveCommand from git_command import GitCommand class _ProjectList(Coloring): def __init__(self, gc): Coloring.__init__(self, gc, 'interactive') self.prompt = self.printer('prompt', fg='blue', attr='bold') self.header = self.printer('header', attr='bold') self.help = self.printer('help', fg='red', attr='bold') class Stage(InteractiveCommand): common = True helpSummary = "Stage file(s) for commit" helpUsage = """ %prog -i [<project>...] """ helpDescription = """ The '%prog' command stages files to prepare the next commit. """ def _Options(self, p): p.add_option('-i', '--interactive', dest='interactive', action='store_true', help='use interactive staging') def Execute(self, opt, args): if opt.interactive: self._Interactive(opt, args) else: self.Usage() def _Interactive(self, opt, args): all = filter(lambda x: x.IsDirty(), self.GetProjects(args)) if not all: print >>sys.stderr,'no projects have uncommitted modifications' return out = _ProjectList(self.manifest.manifestProject.config) while True: out.header(' %s', 'project') out.nl() for i in xrange(0, len(all)): p = all[i] out.write('%3d: %s', i + 1, p.relpath + '/') out.nl() out.nl() out.write('%3d: (', 0) out.prompt('q') out.write('uit)') out.nl() out.prompt('project> ') try: a = sys.stdin.readline() except KeyboardInterrupt: out.nl() break if a == '': out.nl() break a = a.strip() if a.lower() in ('q', 'quit', 'exit'): break if not a: continue try: a_index = int(a) except ValueError: a_index = None if a_index is not None: if a_index == 0: break if 0 < a_index and a_index <= len(all): _AddI(all[a_index - 1]) continue p = filter(lambda x: x.name == a or x.relpath == a, all) if len(p) == 1: _AddI(p[0]) continue print 'Bye.' def _AddI(project): p = GitCommand(project, ['add', '--interactive'], bare=False) p.Wait()
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from command import PagedCommand class Diff(PagedCommand): common = True helpSummary = "Show changes between commit and working tree" helpUsage = """ %prog [<project>...] """ def Execute(self, opt, args): for project in self.GetProjects(args): project.PrintWorkTreeDiff()
Python
# # Copyright (C) 2009 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import sys from optparse import SUPPRESS_HELP from color import Coloring from command import PagedCommand from git_command import git_require, GitCommand class GrepColoring(Coloring): def __init__(self, config): Coloring.__init__(self, config, 'grep') self.project = self.printer('project', attr='bold') class Grep(PagedCommand): common = True helpSummary = "Print lines matching a pattern" helpUsage = """ %prog {pattern | -e pattern} [<project>...] """ helpDescription = """ Search for the specified patterns in all project files. Boolean Options --------------- The following options can appear as often as necessary to express the pattern to locate: -e PATTERN --and, --or, --not, -(, -) Further, the -r/--revision option may be specified multiple times in order to scan multiple trees. If the same file matches in more than one tree, only the first result is reported, prefixed by the revision name it was found under. Examples ------- Look for a line that has '#define' and either 'MAX_PATH or 'PATH_MAX': repo grep -e '#define' --and -\( -e MAX_PATH -e PATH_MAX \) Look for a line that has 'NODE' or 'Unexpected' in files that contain a line that matches both expressions: repo grep --all-match -e NODE -e Unexpected """ def _Options(self, p): def carry(option, opt_str, value, parser): pt = getattr(parser.values, 'cmd_argv', None) if pt is None: pt = [] setattr(parser.values, 'cmd_argv', pt) if opt_str == '-(': pt.append('(') elif opt_str == '-)': pt.append(')') else: pt.append(opt_str) if value is not None: pt.append(value) g = p.add_option_group('Sources') g.add_option('--cached', action='callback', callback=carry, help='Search the index, instead of the work tree') g.add_option('-r','--revision', dest='revision', action='append', metavar='TREEish', help='Search TREEish, instead of the work tree') g = p.add_option_group('Pattern') g.add_option('-e', action='callback', callback=carry, metavar='PATTERN', type='str', help='Pattern to search for') g.add_option('-i', '--ignore-case', action='callback', callback=carry, help='Ignore case differences') g.add_option('-a','--text', action='callback', callback=carry, help="Process binary files as if they were text") g.add_option('-I', action='callback', callback=carry, help="Don't match the pattern in binary files") g.add_option('-w', '--word-regexp', action='callback', callback=carry, help='Match the pattern only at word boundaries') g.add_option('-v', '--invert-match', action='callback', callback=carry, help='Select non-matching lines') g.add_option('-G', '--basic-regexp', action='callback', callback=carry, help='Use POSIX basic regexp for patterns (default)') g.add_option('-E', '--extended-regexp', action='callback', callback=carry, help='Use POSIX extended regexp for patterns') g.add_option('-F', '--fixed-strings', action='callback', callback=carry, help='Use fixed strings (not regexp) for pattern') g = p.add_option_group('Pattern Grouping') g.add_option('--all-match', action='callback', callback=carry, help='Limit match to lines that have all patterns') g.add_option('--and', '--or', '--not', action='callback', callback=carry, help='Boolean operators to combine patterns') g.add_option('-(','-)', action='callback', callback=carry, help='Boolean operator grouping') g = p.add_option_group('Output') g.add_option('-n', action='callback', callback=carry, help='Prefix the line number to matching lines') g.add_option('-C', action='callback', callback=carry, metavar='CONTEXT', type='str', help='Show CONTEXT lines around match') g.add_option('-B', action='callback', callback=carry, metavar='CONTEXT', type='str', help='Show CONTEXT lines before match') g.add_option('-A', action='callback', callback=carry, metavar='CONTEXT', type='str', help='Show CONTEXT lines after match') g.add_option('-l','--name-only','--files-with-matches', action='callback', callback=carry, help='Show only file names containing matching lines') g.add_option('-L','--files-without-match', action='callback', callback=carry, help='Show only file names not containing matching lines') def Execute(self, opt, args): out = GrepColoring(self.manifest.manifestProject.config) cmd_argv = ['grep'] if out.is_on and git_require((1,6,3)): cmd_argv.append('--color') cmd_argv.extend(getattr(opt,'cmd_argv',[])) if '-e' not in cmd_argv: if not args: self.Usage() cmd_argv.append('-e') cmd_argv.append(args[0]) args = args[1:] projects = self.GetProjects(args) full_name = False if len(projects) > 1: cmd_argv.append('--full-name') full_name = True have_rev = False if opt.revision: if '--cached' in cmd_argv: print >>sys.stderr,\ 'fatal: cannot combine --cached and --revision' sys.exit(1) have_rev = True cmd_argv.extend(opt.revision) cmd_argv.append('--') bad_rev = False have_match = False for project in projects: p = GitCommand(project, cmd_argv, bare = False, capture_stdout = True, capture_stderr = True) if p.Wait() != 0: # no results # if p.stderr: if have_rev and 'fatal: ambiguous argument' in p.stderr: bad_rev = True else: out.project('--- project %s ---' % project.relpath) out.nl() out.write("%s", p.stderr) out.nl() continue have_match = True # We cut the last element, to avoid a blank line. # r = p.stdout.split('\n') r = r[0:-1] if have_rev and full_name: for line in r: rev, line = line.split(':', 1) out.write("%s", rev) out.write(':') out.project(project.relpath) out.write('/') out.write("%s", line) out.nl() elif full_name: for line in r: out.project(project.relpath) out.write('/') out.write("%s", line) out.nl() else: for line in r: print line if have_match: sys.exit(0) elif have_rev and bad_rev: for r in opt.revision: print >>sys.stderr, "error: can't search revision %s" % r sys.exit(1) else: sys.exit(1)
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import sys from command import Command from git_command import git from progress import Progress class Abandon(Command): common = True helpSummary = "Permanently abandon a development branch" helpUsage = """ %prog <branchname> [<project>...] This subcommand permanently abandons a development branch by deleting it (and all its history) from your local repository. It is equivalent to "git branch -D <branchname>". """ def Execute(self, opt, args): if not args: self.Usage() nb = args[0] if not git.check_ref_format('heads/%s' % nb): print >>sys.stderr, "error: '%s' is not a valid name" % nb sys.exit(1) nb = args[0] err = [] all = self.GetProjects(args[1:]) pm = Progress('Abandon %s' % nb, len(all)) for project in all: pm.update() if not project.AbandonBranch(nb): err.append(project) pm.end() if err: if len(err) == len(all): print >>sys.stderr, 'error: no project has branch %s' % nb else: for p in err: print >>sys.stderr,\ "error: %s/: cannot abandon %s" \ % (p.relpath, nb) sys.exit(1)
Python
# # Copyright (C) 2009 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import sys from color import Coloring from command import Command class BranchColoring(Coloring): def __init__(self, config): Coloring.__init__(self, config, 'branch') self.current = self.printer('current', fg='green') self.local = self.printer('local') self.notinproject = self.printer('notinproject', fg='red') class BranchInfo(object): def __init__(self, name): self.name = name self.current = 0 self.published = 0 self.published_equal = 0 self.projects = [] def add(self, b): if b.current: self.current += 1 if b.published: self.published += 1 if b.revision == b.published: self.published_equal += 1 self.projects.append(b) @property def IsCurrent(self): return self.current > 0 @property def IsPublished(self): return self.published > 0 @property def IsPublishedEqual(self): return self.published_equal == len(self.projects) class Branches(Command): common = True helpSummary = "View current topic branches" helpUsage = """ %prog [<project>...] Summarizes the currently available topic branches. Branch Display -------------- The branch display output by this command is organized into four columns of information; for example: *P nocolor | in repo repo2 | The first column contains a * if the branch is the currently checked out branch in any of the specified projects, or a blank if no project has the branch checked out. The second column contains either blank, p or P, depending upon the upload status of the branch. (blank): branch not yet published by repo upload P: all commits were published by repo upload p: only some commits were published by repo upload The third column contains the branch name. The fourth column (after the | separator) lists the projects that the branch appears in, or does not appear in. If no project list is shown, then the branch appears in all projects. """ def Execute(self, opt, args): projects = self.GetProjects(args) out = BranchColoring(self.manifest.manifestProject.config) all = {} project_cnt = len(projects) for project in projects: for name, b in project.GetBranches().iteritems(): b.project = project if name not in all: all[name] = BranchInfo(name) all[name].add(b) names = all.keys() names.sort() if not names: print >>sys.stderr, ' (no branches)' return width = 25 for name in names: if width < len(name): width = len(name) for name in names: i = all[name] in_cnt = len(i.projects) if i.IsCurrent: current = '*' hdr = out.current else: current = ' ' hdr = out.local if i.IsPublishedEqual: published = 'P' elif i.IsPublished: published = 'p' else: published = ' ' hdr('%c%c %-*s' % (current, published, width, name)) out.write(' |') if in_cnt < project_cnt: fmt = out.write paths = [] if in_cnt < project_cnt - in_cnt: type = 'in' for b in i.projects: paths.append(b.project.relpath) else: fmt = out.notinproject type = 'not in' have = set() for b in i.projects: have.add(b.project) for p in projects: if not p in have: paths.append(p.relpath) s = ' %s %s' % (type, ', '.join(paths)) if width + 7 + len(s) < 80: fmt(s) else: fmt(' %s:' % type) for p in paths: out.nl() fmt(width*' ' + ' %s' % p) else: out.write(' in all projects') out.nl()
Python
# # Copyright (C) 2009 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import sys from command import Command, MirrorSafeCommand from git_command import git from project import HEAD class Version(Command, MirrorSafeCommand): common = False helpSummary = "Display the version of repo" helpUsage = """ %prog """ def Execute(self, opt, args): rp = self.manifest.repoProject rem = rp.GetRemote(rp.remote.name) print 'repo version %s' % rp.work_git.describe(HEAD) print ' (from %s)' % rem.url print git.version().strip() print 'Python %s' % sys.version
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os import sys from color import Coloring from command import InteractiveCommand, MirrorSafeCommand from error import ManifestParseError from project import SyncBuffer from git_command import git_require, MIN_GIT_VERSION from manifest_submodule import SubmoduleManifest from manifest_xml import XmlManifest from subcmds.sync import _ReloadManifest class Init(InteractiveCommand, MirrorSafeCommand): common = True helpSummary = "Initialize repo in the current directory" helpUsage = """ %prog [options] """ helpDescription = """ The '%prog' command is run once to install and initialize repo. The latest repo source code and manifest collection is downloaded from the server and is installed in the .repo/ directory in the current working directory. The optional -b argument can be used to select the manifest branch to checkout and use. If no branch is specified, master is assumed. The optional -m argument can be used to specify an alternate manifest to be used. If no manifest is specified, the manifest default.xml will be used. The --reference option can be used to point to a directory that has the content of a --mirror sync. This will make the working directory use as much data as possible from the local reference directory when fetching from the server. This will make the sync go a lot faster by reducing data traffic on the network. Switching Manifest Branches --------------------------- To switch to another manifest branch, `repo init -b otherbranch` may be used in an existing client. However, as this only updates the manifest, a subsequent `repo sync` (or `repo sync -d`) is necessary to update the working directory files. """ def _Options(self, p): # Logging g = p.add_option_group('Logging options') g.add_option('-q', '--quiet', dest="quiet", action="store_true", default=False, help="be quiet") # Manifest g = p.add_option_group('Manifest options') g.add_option('-u', '--manifest-url', dest='manifest_url', help='manifest repository location', metavar='URL') g.add_option('-b', '--manifest-branch', dest='manifest_branch', help='manifest branch or revision', metavar='REVISION') g.add_option('-o', '--origin', dest='manifest_origin', help="use REMOTE instead of 'origin' to track upstream", metavar='REMOTE') if isinstance(self.manifest, XmlManifest) \ or not self.manifest.manifestProject.Exists: g.add_option('-m', '--manifest-name', dest='manifest_name', default='default.xml', help='initial manifest file', metavar='NAME.xml') g.add_option('--mirror', dest='mirror', action='store_true', help='mirror the forrest') g.add_option('--reference', dest='reference', help='location of mirror directory', metavar='DIR') # Tool g = p.add_option_group('repo Version options') g.add_option('--repo-url', dest='repo_url', help='repo repository location', metavar='URL') g.add_option('--repo-branch', dest='repo_branch', help='repo branch or revision', metavar='REVISION') g.add_option('--no-repo-verify', dest='no_repo_verify', action='store_true', help='do not verify repo source code') def _ApplyOptions(self, opt, is_new): m = self.manifest.manifestProject if is_new: if opt.manifest_origin: m.remote.name = opt.manifest_origin if opt.manifest_branch: m.revisionExpr = opt.manifest_branch else: m.revisionExpr = 'refs/heads/master' else: if opt.manifest_origin: print >>sys.stderr, 'fatal: cannot change origin name' sys.exit(1) if opt.manifest_branch: m.revisionExpr = opt.manifest_branch else: m.PreSync() def _SyncManifest(self, opt): m = self.manifest.manifestProject is_new = not m.Exists if is_new: if not opt.manifest_url: print >>sys.stderr, 'fatal: manifest url (-u) is required.' sys.exit(1) if not opt.quiet: print >>sys.stderr, 'Getting manifest ...' print >>sys.stderr, ' from %s' % opt.manifest_url m._InitGitDir() self._ApplyOptions(opt, is_new) if opt.manifest_url: r = m.GetRemote(m.remote.name) r.url = opt.manifest_url r.ResetFetch() r.Save() if opt.reference: m.config.SetString('repo.reference', opt.reference) if opt.mirror: if is_new: m.config.SetString('repo.mirror', 'true') m.config.ClearCache() else: print >>sys.stderr, 'fatal: --mirror not supported on existing client' sys.exit(1) if not m.Sync_NetworkHalf(): r = m.GetRemote(m.remote.name) print >>sys.stderr, 'fatal: cannot obtain manifest %s' % r.url sys.exit(1) if is_new and SubmoduleManifest.IsBare(m): new = self.GetManifest(reparse=True, type=SubmoduleManifest) if m.gitdir != new.manifestProject.gitdir: os.rename(m.gitdir, new.manifestProject.gitdir) new = self.GetManifest(reparse=True, type=SubmoduleManifest) m = new.manifestProject self._ApplyOptions(opt, is_new) if not is_new: # Force the manifest to load if it exists, the old graph # may be needed inside of _ReloadManifest(). # self.manifest.projects syncbuf = SyncBuffer(m.config) m.Sync_LocalHalf(syncbuf) syncbuf.Finish() if isinstance(self.manifest, XmlManifest): self._LinkManifest(opt.manifest_name) _ReloadManifest(self) self._ApplyOptions(opt, is_new) if not self.manifest.InitBranch(): print >>sys.stderr, 'fatal: cannot create branch in manifest' sys.exit(1) def _LinkManifest(self, name): if not name: print >>sys.stderr, 'fatal: manifest name (-m) is required.' sys.exit(1) try: self.manifest.Link(name) except ManifestParseError, e: print >>sys.stderr, "fatal: manifest '%s' not available" % name print >>sys.stderr, 'fatal: %s' % str(e) sys.exit(1) def _Prompt(self, prompt, value): mp = self.manifest.manifestProject sys.stdout.write('%-10s [%s]: ' % (prompt, value)) a = sys.stdin.readline().strip() if a == '': return value return a def _ConfigureUser(self): mp = self.manifest.manifestProject while True: print '' name = self._Prompt('Your Name', mp.UserName) email = self._Prompt('Your Email', mp.UserEmail) print '' print 'Your identity is: %s <%s>' % (name, email) sys.stdout.write('is this correct [y/n]? ') a = sys.stdin.readline().strip() if a in ('yes', 'y', 't', 'true'): break if name != mp.UserName: mp.config.SetString('user.name', name) if email != mp.UserEmail: mp.config.SetString('user.email', email) def _HasColorSet(self, gc): for n in ['ui', 'diff', 'status']: if gc.Has('color.%s' % n): return True return False def _ConfigureColor(self): gc = self.manifest.globalConfig if self._HasColorSet(gc): return class _Test(Coloring): def __init__(self): Coloring.__init__(self, gc, 'test color display') self._on = True out = _Test() print '' print "Testing colorized output (for 'repo diff', 'repo status'):" for c in ['black','red','green','yellow','blue','magenta','cyan']: out.write(' ') out.printer(fg=c)(' %-6s ', c) out.write(' ') out.printer(fg='white', bg='black')(' %s ' % 'white') out.nl() for c in ['bold','dim','ul','reverse']: out.write(' ') out.printer(fg='black', attr=c)(' %-6s ', c) out.nl() sys.stdout.write('Enable color display in this user account (y/n)? ') a = sys.stdin.readline().strip().lower() if a in ('y', 'yes', 't', 'true', 'on'): gc.SetString('color.ui', 'auto') def Execute(self, opt, args): git_require(MIN_GIT_VERSION, fail=True) self._SyncManifest(opt) if os.isatty(0) and os.isatty(1) and not self.manifest.IsMirror: self._ConfigureUser() self._ConfigureColor() if self.manifest.IsMirror: type = 'mirror ' else: type = '' print '' print 'repo %sinitialized in %s' % (type, self.manifest.topdir)
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from command import PagedCommand class Status(PagedCommand): common = True helpSummary = "Show the working tree status" helpUsage = """ %prog [<project>...] """ helpDescription = """ '%prog' compares the working tree to the staging area (aka index), and the most recent commit on this branch (HEAD), in each project specified. A summary is displayed, one line per file where there is a difference between these three states. Status Display -------------- The status display is organized into three columns of information, for example if the file 'subcmds/status.py' is modified in the project 'repo' on branch 'devwork': project repo/ branch devwork -m subcmds/status.py The first column explains how the staging area (index) differs from the last commit (HEAD). Its values are always displayed in upper case and have the following meanings: -: no difference A: added (not in HEAD, in index ) M: modified ( in HEAD, in index, different content ) D: deleted ( in HEAD, not in index ) R: renamed (not in HEAD, in index, path changed ) C: copied (not in HEAD, in index, copied from another) T: mode changed ( in HEAD, in index, same content ) U: unmerged; conflict resolution required The second column explains how the working directory differs from the index. Its values are always displayed in lower case and have the following meanings: -: new / unknown (not in index, in work tree ) m: modified ( in index, in work tree, modified ) d: deleted ( in index, not in work tree ) """ def Execute(self, opt, args): all = self.GetProjects(args) clean = 0 on = {} for project in all: cb = project.CurrentBranch if cb: if cb not in on: on[cb] = [] on[cb].append(project) branch_names = list(on.keys()) branch_names.sort() for cb in branch_names: print '# on branch %s' % cb for project in all: state = project.PrintWorkTreeStatus() if state == 'CLEAN': clean += 1 if len(all) == clean: print 'nothing to commit (working directory clean)'
Python
# # Copyright (C) 2010 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from sync import Sync class Smartsync(Sync): common = True helpSummary = "Update working tree to the latest known good revision" helpUsage = """ %prog [<project>...] """ helpDescription = """ The '%prog' command is a shortcut for sync -s. """ def _Options(self, p): Sync._Options(self, p, show_smart=False) def Execute(self, opt, args): opt.smart_sync = True Sync.Execute(self, opt, args)
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os all = {} my_dir = os.path.dirname(__file__) for py in os.listdir(my_dir): if py == '__init__.py': continue if py.endswith('.py'): name = py[:-3] clsn = name.capitalize() while clsn.find('_') > 0: h = clsn.index('_') clsn = clsn[0:h] + clsn[h + 1:].capitalize() mod = __import__(__name__, globals(), locals(), ['%s' % name]) mod = getattr(mod, name) try: cmd = getattr(mod, clsn)() except AttributeError: raise SyntaxError, '%s/%s does not define class %s' % ( __name__, py, clsn) name = name.replace('_', '-') cmd.NAME = name all[name] = cmd if 'help' in all: all['help'].commands = all
Python
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from color import Coloring from command import PagedCommand class Prune(PagedCommand): common = True helpSummary = "Prune (delete) already merged topics" helpUsage = """ %prog [<project>...] """ def Execute(self, opt, args): all = [] for project in self.GetProjects(args): all.extend(project.PruneHeads()) if not all: return class Report(Coloring): def __init__(self, config): Coloring.__init__(self, config, 'status') self.project = self.printer('header', attr='bold') out = Report(all[0].project.config) out.project('Pending Branches') out.nl() project = None for branch in all: if project != branch.project: project = branch.project out.nl() out.project('project %s/' % project.relpath) out.nl() commits = branch.commits date = branch.date print '%s %-33s (%2d commit%s, %s)' % ( branch.name == project.CurrentBranch and '*' or ' ', branch.name, len(commits), len(commits) != 1 and 's' or ' ', date)
Python