60806040523480156200001157600080fd5b5060405162002b1c38038062002b1c833981016040819052620000349162000242565b6040518060400160405280600d81526020016c4772616e64204c65697375726560981b8152506040518060400160405280600c81526020016b4752414e444c45495355524560a01b8152508160009081620000909190620003db565b5060016200009f8282620003db565b505050620000bc620000b6620001bd60201b60201c565b620001c1565b6006805460ff60a01b19169055600780546001600160a01b0319166001600160a01b0385169081179091556040519081527fb9b7cbfc5a657e082edac9c036f7dcdf666507e4b463d40f472e4fb10f4bd2289060200160405180910390a1600880546001600160a01b0319166001600160a01b0384169081179091556040519081527fb13cf87e0a7b64f90565a1b68b63ae634d746fa785450bbdef7cbd281997cfb09060200160405180910390a1600d620001798282620003db565b507fafa35f42f46f5052816d7c6a2e9406eca98294b20726677862d83b4a7418d8d5600d604051620001ac9190620004a7565b60405180910390a15050506200053a565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811681146200022957600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156200025857600080fd5b8351620002658162000213565b809350506020808501516200027a8162000213565b60408601519093506001600160401b03808211156200029857600080fd5b818701915087601f830112620002ad57600080fd5b815181811115620002c257620002c26200022c565b604051601f8201601f19908116603f01168101908382118183101715620002ed57620002ed6200022c565b816040528281528a868487010111156200030657600080fd5b600093505b828410156200032a57848401860151818501870152928501926200030b565b828411156200033c5760008684830101525b8096505050505050509250925092565b600181811c908216806200036157607f821691505b6020821081036200038257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003d657600081815260208120601f850160051c81016020861015620003b15750805b601f850160051c820191505b81811015620003d257828155600101620003bd565b5050505b505050565b81516001600160401b03811115620003f757620003f76200022c565b6200040f816200040884546200034c565b8462000388565b602080601f8311600181146200044757600084156200042e5750858301515b600019600386901b1c1916600185901b178555620003d2565b600085815260208120601f198616915b82811015620004785788860151825594840194600190910190840162000457565b5085821015620004975787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602080835260008454620004bd816200034c565b80848701526040600180841660008114620004e15760018114620004fc576200052c565b60ff1985168984015283151560051b8901830195506200052c565b896000528660002060005b85811015620005245781548b820186015290830190880162000507565b8a0184019650505b509398975050505050505050565b6125d2806200054a6000396000f3fe6080604052600436106101d85760003560e01c806362a5af3b11610102578063a22cb46511610095578063c93c980911610064578063c93c98091461052a578063e985e9c514610557578063f2fde38b14610577578063fbdf4ade1461059757600080fd5b8063a22cb465146104aa578063a3f4b573146104ca578063b88d4fde146104ea578063c87b56dd1461050a57600080fd5b8063715018a6116100d1578063715018a6146104425780638da5cb5b14610457578063935ece311461047557806395d89b411461049557600080fd5b806362a5af3b146103d85780636352211e146103ed5780636a28f0001461040d57806370a082311461042257600080fd5b806318160ddd1161017a5780633ccfd60b116101495780633ccfd60b1461036457806342842e0e1461037957806355f804b3146103995780635c975abb146103b957600080fd5b806318160ddd146102e257806323b872dd146102f75780632ae1c68b146103175780633b6dc6b41461034457600080fd5b806306fdde03116101b657806306fdde0314610246578063081812fc14610268578063095ea7b3146102a05780631581b600146102c257600080fd5b806301ffc9a7146101dd5780630378bbf514610212578063060a78a014610233575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611e6c565b6105d0565b60405190151581526020015b60405180910390f35b610225610220366004611f35565b610622565b604051908152602001610209565b6101fd610241366004611f89565b6108cc565b34801561025257600080fd5b5061025b610b41565b604051610209919061202f565b34801561027457600080fd5b50610288610283366004612042565b610bd3565b6040516001600160a01b039091168152602001610209565b3480156102ac57600080fd5b506102c06102bb366004612070565b610bfa565b005b3480156102ce57600080fd5b50600854610288906001600160a01b031681565b3480156102ee57600080fd5b50610225610d0f565b34801561030357600080fd5b506102c061031236600461209c565b610d1f565b34801561032357600080fd5b50610225610332366004612042565b6000908152600b602052604090205490565b34801561035057600080fd5b50600754610288906001600160a01b031681565b34801561037057600080fd5b506102c0610d50565b34801561038557600080fd5b506102c061039436600461209c565b610d99565b3480156103a557600080fd5b5061025b6103b43660046120dd565b610db4565b3480156103c557600080fd5b50600654600160a01b900460ff166101fd565b3480156103e457600080fd5b506102c0610e94565b3480156103f957600080fd5b50610288610408366004612042565b610ea6565b34801561041957600080fd5b506102c0610eb1565b34801561042e57600080fd5b5061022561043d366004612126565b610ec1565b34801561044e57600080fd5b506102c0610f47565b34801561046357600080fd5b506006546001600160a01b0316610288565b34801561048157600080fd5b506102c0610490366004612126565b610f59565b3480156104a157600080fd5b5061025b610fb6565b3480156104b657600080fd5b506102c06104c5366004612143565b610fc5565b3480156104d657600080fd5b506102c06104e5366004612126565b610fd4565b3480156104f657600080fd5b506102c0610505366004612181565b61102a565b34801561051657600080fd5b5061025b610525366004612042565b611062565b34801561053657600080fd5b50610225610545366004612042565b6000908152600a602052604090205490565b34801561056357600080fd5b506101fd6105723660046121ed565b6110c9565b34801561058357600080fd5b506102c0610592366004612126565b6110f7565b3480156105a357600080fd5b506101fd6105b2366004612126565b6001600160a01b03166000908152600c602052604090205460ff1690565b60006001600160e01b031982166380ac58cd60e01b148061060157506001600160e01b03198216635b5e139f60e01b145b8061061c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600061062c611170565b6040517f4772616e644c6569737572654d696e74417070726f76616c000000000000000060208201526bffffffffffffffffffffffff193360601b166038820152604c8101859052606c8101849052608c81018390524660ac8201526106ab9060cc0160405160208183030381529060405280519060200120866111bd565b6106fc5760405162461bcd60e51b815260206004820152601d60248201527f546865206d696e74207369676e617475726520697320696e76616c696400000060448201526064015b60405180910390fd5b4284116107465760405162461bcd60e51b8152602060048201526018602482015277151a19481cda59db985d1d5c99481a5cc8195e1c1a5c995960421b60448201526064016106f3565b8234146107ad5760405162461bcd60e51b815260206004820152602f60248201527f5468652061766174617220707269636520646f6573206e6f74206d617463682060448201526e1d1a1948185b5bdd5b9d081c185a59608a1b60648201526084016106f3565b6127106107b960095490565b106107d65760405162461bcd60e51b81526004016106f39061221b565b6000828152600b60205260409020541561084b5760405162461bcd60e51b815260206004820152603060248201527f416e2061766174617220616c726561647920657869737473207769746820746860448201526f34b99031b7b73334b3bab930ba34b7b760811b60648201526084016106f3565b610859600980546001019055565b600061086460095490565b9050610870338261126b565b336000908152600c602052604090205460ff16156108a057336000908152600c60205260409020805460ff191690555b6000818152600a60209081526040808320869055858352600b909152902081905590505b949350505050565b60006108d6611170565b6040517f4772616e644c6569737572655265736572766174696f6e417070726f76616c0060208201526bffffffffffffffffffffffff193360601b16603f820152605381018490526073810183905246609382015260009060b30160405160208183030381529060405280519060200120905061095381866111bd565b6109ab5760405162461bcd60e51b8152602060048201526024808201527f546865207265736572766174696f6e207369676e617475726520697320696e76604482015263185b1a5960e21b60648201526084016106f3565b4284116109f55760405162461bcd60e51b8152602060048201526018602482015277151a19481cda59db985d1d5c99481a5cc8195e1c1a5c995960421b60448201526064016106f3565b823414610a615760405162461bcd60e51b815260206004820152603460248201527f546865207265736572766174696f6e20707269636520646f6573206e6f74206d604482015273185d18da081d1a1948185b5bdd5b9d081c185a5960621b60648201526084016106f3565b336000908152600c602052604090205460ff1615610acd5760405162461bcd60e51b815260206004820152602360248201527f596f75206861766520616c726561647920726573657276656420616e206176616044820152623a30b960e91b60648201526084016106f3565b612710610ad960095490565b10610af65760405162461bcd60e51b81526004016106f39061221b565b336000818152600c6020526040808220805460ff19166001179055517f8a4173ed098731755e983b41a249293e0a59adaeb186fed72f9ec7a242a1ff739190a2506001949350505050565b606060008054610b5090612263565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7c90612263565b8015610bc95780601f10610b9e57610100808354040283529160200191610bc9565b820191906000526020600020905b815481529060010190602001808311610bac57829003601f168201915b5050505050905090565b6000610bde826113b9565b506000908152600460205260409020546001600160a01b031690565b6000610c0582611418565b9050806001600160a01b0316836001600160a01b031603610c725760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106f3565b336001600160a01b0382161480610c8e5750610c8e81336110c9565b610d005760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016106f3565b610d0a8383611478565b505050565b6000610d1a60095490565b905090565b610d2933826114e6565b610d455760405162461bcd60e51b81526004016106f39061229d565b610d0a838383611544565b610d586116fa565b600854610d6e906001600160a01b031647611754565b6040517f57ea89b6814fccbbe8728fa89cc8e6b5477e559b2a34e946e105b11112e94b5890600090a1565b610d0a8383836040518060200160405280600081525061102a565b6060610dbe6116fa565b600d610dca8382612339565b507fafa35f42f46f5052816d7c6a2e9406eca98294b20726677862d83b4a7418d8d582604051610dfa919061202f565b60405180910390a1600d8054610e0f90612263565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3b90612263565b8015610e885780601f10610e5d57610100808354040283529160200191610e88565b820191906000526020600020905b815481529060010190602001808311610e6b57829003601f168201915b50505050509050919050565b610e9c6116fa565b610ea461186d565b565b600061061c82611418565b610eb96116fa565b610ea46118cd565b60006001600160a01b038216610f2b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106f3565b506001600160a01b031660009081526003602052604090205490565b610f4f6116fa565b610ea46000611909565b610f616116fa565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527fb9b7cbfc5a657e082edac9c036f7dcdf666507e4b463d40f472e4fb10f4bd228906020015b60405180910390a150565b606060018054610b5090612263565b610fd033838361195b565b5050565b610fdc6116fa565b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527fb13cf87e0a7b64f90565a1b68b63ae634d746fa785450bbdef7cbd281997cfb090602001610fab565b61103433836114e6565b6110505760405162461bcd60e51b81526004016106f39061229d565b61105c84848484611a29565b50505050565b606061106d826113b9565b6000611077611a5c565b9050600081511161109757604051806020016040528060008152506110c2565b806110a184611a6b565b6040516020016110b29291906123f9565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6110ff6116fa565b6001600160a01b0381166111645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f3565b61116d81611909565b50565b600654600160a01b900460ff1615610ea45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106f3565b600080611217846040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90506000806112268386611b6c565b9092509050600081600481111561123f5761123f612428565b0361125f57506007546001600160a01b03918216911614915061061c9050565b6000935050505061061c565b6001600160a01b0382166112c15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106f3565b6000818152600260205260409020546001600160a01b0316156113265760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106f3565b61133260008383611bda565b6001600160a01b038216600090815260036020526040812080546001929061135b908490612454565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260409020546001600160a01b031661116d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106f3565b6000818152600260205260408120546001600160a01b03168061061c5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106f3565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114ad82611418565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806114f283611418565b9050806001600160a01b0316846001600160a01b03161480611519575061151981856110c9565b806108c45750836001600160a01b031661153284610bd3565b6001600160a01b031614949350505050565b826001600160a01b031661155782611418565b6001600160a01b0316146115bb5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106f3565b6001600160a01b03821661161d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106f3565b611628838383611bda565b600081815260046020908152604080832080546001600160a01b03191690556001600160a01b03861683526003909152812080546001929061166b90849061246c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611699908490612454565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b03163314610ea45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f3565b804710156117a45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016106f3565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146117f1576040519150601f19603f3d011682016040523d82523d6000602084013e6117f6565b606091505b5050905080610d0a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016106f3565b611875611170565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118b03390565b6040516001600160a01b03909116815260200160405180910390a1565b6118d5611be2565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336118b0565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036119bc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106f3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611a34848484611544565b611a4084848484611c32565b61105c5760405162461bcd60e51b81526004016106f390612483565b6060600d8054610b5090612263565b606081600003611a925750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611abc5780611aa6816124d5565b9150611ab59050600a83612504565b9150611a96565b60008167ffffffffffffffff811115611ad757611ad7611e89565b6040519080825280601f01601f191660200182016040528015611b01576020820181803683370190505b5090505b84156108c457611b1660018361246c565b9150611b23600a86612518565b611b2e906030612454565b60f81b818381518110611b4357611b4361252c565b60200101906001600160f81b031916908160001a905350611b65600a86612504565b9450611b05565b6000808251604103611ba25760208301516040840151606085015160001a611b9687828585611d30565b94509450505050611bd3565b8251604003611bcb5760208301516040840151611bc0868383611e1d565b935093505050611bd3565b506000905060025b9250929050565b610d0a611170565b600654600160a01b900460ff16610ea45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106f3565b60006001600160a01b0384163b15611d2857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c76903390899088908890600401612542565b6020604051808303816000875af1925050508015611cb1575060408051601f3d908101601f19168201909252611cae9181019061257f565b60015b611d0e573d808015611cdf576040519150601f19603f3d011682016040523d82523d6000602084013e611ce4565b606091505b508051600003611d065760405162461bcd60e51b81526004016106f390612483565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506108c4565b5060016108c4565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611d675750600090506003611e14565b8460ff16601b14158015611d7f57508460ff16601c14155b15611d905750600090506004611e14565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611de4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611e0d57600060019250925050611e14565b9150600090505b94509492505050565b6000806001600160ff1b03831681611e3a60ff86901c601b612454565b9050611e4887828885611d30565b935093505050935093915050565b6001600160e01b03198116811461116d57600080fd5b600060208284031215611e7e57600080fd5b81356110c281611e56565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611eba57611eba611e89565b604051601f8501601f19908116603f01168101908282118183101715611ee257611ee2611e89565b81604052809350858152868686011115611efb57600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112611f2657600080fd5b6110c283833560208501611e9f565b60008060008060808587031215611f4b57600080fd5b843567ffffffffffffffff811115611f6257600080fd5b611f6e87828801611f15565b97602087013597506040870135966060013595509350505050565b600080600060608486031215611f9e57600080fd5b833567ffffffffffffffff811115611fb557600080fd5b611fc186828701611f15565b9660208601359650604090950135949350505050565b60005b83811015611ff2578181015183820152602001611fda565b8381111561105c5750506000910152565b6000815180845261201b816020860160208601611fd7565b601f01601f19169290920160200192915050565b6020815260006110c26020830184612003565b60006020828403121561205457600080fd5b5035919050565b6001600160a01b038116811461116d57600080fd5b6000806040838503121561208357600080fd5b823561208e8161205b565b946020939093013593505050565b6000806000606084860312156120b157600080fd5b83356120bc8161205b565b925060208401356120cc8161205b565b929592945050506040919091013590565b6000602082840312156120ef57600080fd5b813567ffffffffffffffff81111561210657600080fd5b8201601f8101841361211757600080fd5b6108c484823560208401611e9f565b60006020828403121561213857600080fd5b81356110c28161205b565b6000806040838503121561215657600080fd5b82356121618161205b565b91506020830135801515811461217657600080fd5b809150509250929050565b6000806000806080858703121561219757600080fd5b84356121a28161205b565b935060208501356121b28161205b565b925060408501359150606085013567ffffffffffffffff8111156121d557600080fd5b6121e187828801611f15565b91505092959194509250565b6000806040838503121561220057600080fd5b823561220b8161205b565b915060208301356121768161205b565b60208082526028908201527f5468652061766174617220737570706c79206c696d697420686173206265656e604082015267081c995858da195960c21b606082015260800190565b600181811c9082168061227757607f821691505b60208210810361229757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b601f821115610d0a57600081815260208120601f850160051c810160208610156123125750805b601f850160051c820191505b818110156123315782815560010161231e565b505050505050565b815167ffffffffffffffff81111561235357612353611e89565b612367816123618454612263565b846122eb565b602080601f83116001811461239c57600084156123845750858301515b600019600386901b1c1916600185901b178555612331565b600085815260208120601f198616915b828110156123cb578886015182559484019460019091019084016123ac565b50858210156123e95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000835161240b818460208801611fd7565b83519083019061241f818360208801611fd7565b01949350505050565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156124675761246761243e565b500190565b60008282101561247e5761247e61243e565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000600182016124e7576124e761243e565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612513576125136124ee565b500490565b600082612527576125276124ee565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061257590830184612003565b9695505050505050565b60006020828403121561259157600080fd5b81516110c281611e5656fea2646970667358221220f05bc8fcafdaee67f1088c8d1f298ef17d34a8d8fb7b7f7546c909bfbeb79ad964736f6c634300080f0033000000000000000000000000e3a27422f83a71dd7ac53c2b6865ea7ea9088736000000000000000000000000694c8998844d8affbcb9684c50c7738358b17bd10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e6772616e646c6569737572652e6f72672f6176617461722f00000000000000000000000000000000000000000000000000000000