60806040526127106010553480156200001757600080fd5b5060405162002b7e38038062002b7e8339810160408190526200003a91620001e5565b806040518060400160405280600c81526020016b21b932b0ba37b91021b63ab160a11b8152506040518060400160405280600681526020016543524541544560d01b8152508160009081620000909190620002bc565b5060016200009f8282620002bc565b505050620000bc620000b66200018f60201b60201c565b62000193565b6001600c55600d805460ff60a01b1916600160a01b1790556001600160a01b038116620001405760405162461bcd60e51b815260206004820152602860248201527f50726f787920616464726573732063616e6e6f7420626520746865207a65726f604482015267206164647265737360c01b606482015260840160405180910390fd5b600d80546001600160a01b0319166001600160a01b0383169081179091556040517ff0cd76016a4ee33fe62814f8afd5492f47062ea7615bcc094f2f6fe71b62d1c490600090a2505062000388565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215620001f857600080fd5b81516001600160a01b03811681146200021057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200024257607f821691505b6020821081036200026357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002b757600081815260208120601f850160051c81016020861015620002925750805b601f850160051c820191505b81811015620002b3578281556001016200029e565b5050505b505050565b81516001600160401b03811115620002d857620002d862000217565b620002f081620002e984546200022d565b8462000269565b602080601f8311600181146200032857600084156200030f5750858301515b600019600386901b1c1916600185901b178555620002b3565b600085815260208120601f198616915b82811015620003595788860151825594840194600190910190840162000338565b5085821015620003785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6127e680620003986000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c806355f804b311610125578063b88d4fde116100ad578063d67b06c11161007c578063d67b06c114610453578063e985e9c514610466578063ec556889146104a2578063f2fde38b146104b5578063ff7857bf146104c857600080fd5b8063b88d4fde1461041c578063c87b56dd1461042f578063cfc1ec8714610442578063d5abeb011461044a57600080fd5b8063896b7a95116100f4578063896b7a95146103d55780638da5cb5b146103dd57806395d89b41146103ee57806397107d6d146103f6578063a22cb4651461040957600080fd5b806355f804b3146103895780636352211e1461039c5780636a627842146103af57806370a08231146103c257600080fd5b806323b872dd116101a85780633d594a46116101775780633d594a461461032f57806342842e0e1461034357806345de0d9b1461035657806347535d7b146103695780634f6ccce71461037657600080fd5b806323b872dd146102ee578063271c44fc146103015780632f745c59146103095780633323c8071461031c57600080fd5b8063095ea7b3116101e4578063095ea7b314610293578063162094c4146102a657806318160ddd146102b95780631e7269c5146102cb57600080fd5b806301ffc9a71461021657806306fdde031461023e578063081812fc14610253578063085a10cf1461027e575b600080fd5b610229610224366004611fa4565b6104e8565b60405190151581526020015b60405180910390f35b6102466104f9565b6040516102359190612011565b610266610261366004612024565b61058b565b6040516001600160a01b039091168152602001610235565b61029161028c366004612052565b6105b2565b005b6102916102a1366004612084565b610632565b6102916102b436600461215a565b610747565b6009545b604051908152602001610235565b6102296102d93660046121a1565b60146020526000908152604090205460ff1681565b6102916102fc3660046121bc565b61077f565b6012546102bd565b6102bd610317366004612084565b6107b0565b61029161032a366004612024565b610846565b600d5461022990600160a01b900460ff1681565b6102916103513660046121bc565b61087c565b610291610364366004612244565b610897565b6011546102299060ff1681565b6102bd610384366004612024565b6108fe565b610291610397366004612290565b610991565b6102666103aa366004612024565b6109c7565b6102916103bd3660046121a1565b610a27565b6102bd6103d03660046121a1565b610abf565b610291610b45565b600b546001600160a01b0316610266565b610246610b84565b6102916104043660046121a1565b610b93565b6102916104173660046122c5565b610c9b565b61029161042a3660046122f8565b610ca6565b61024661043d366004612024565b610cde565b610291610ce9565b6102bd60105481565b610291610461366004612374565b610d4b565b6102296104743660046123b6565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600d54610266906001600160a01b031681565b6102916104c33660046121a1565b610dfa565b6102bd6104d6366004612024565b60136020526000908152604090205481565b60006104f382610e92565b92915050565b606060008054610508906123e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610534906123e0565b80156105815780601f1061055657610100808354040283529160200191610581565b820191906000526020600020905b81548152906001019060200180831161056457829003601f168201915b5050505050905090565b600061059682610eb7565b506000908152600460205260409020546001600160a01b031690565b600b546001600160a01b031633146105e55760405162461bcd60e51b81526004016105dc9061241a565b60405180910390fd5b6011805460ff191682151590811790915560405160ff909116151581527f40f71f120df85bdda4da933ba47885fc92ef73366584df97c10c1f72ff0c6e1c9060200160405180910390a150565b600061063d826109c7565b9050806001600160a01b0316836001600160a01b0316036106aa5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105dc565b336001600160a01b03821614806106c657506106c68133610474565b6107385760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105dc565b6107428383610f16565b505050565b600b546001600160a01b031633146107715760405162461bcd60e51b81526004016105dc9061241a565b61077b8282610f84565b5050565b610789338261104f565b6107a55760405162461bcd60e51b81526004016105dc9061244f565b6107428383836110ce565b60006107bb83610abf565b821061081d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105dc565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b600b546001600160a01b031633146108705760405162461bcd60e51b81526004016105dc9061241a565b6108798161123f565b50565b61074283838360405180602001604052806000815250610ca6565b61089f611266565b6108aa8383836112bf565b6108e65760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b60448201526064016105dc565b6108f4336113ac565b6113ac565b6107426001600c55565b600061090960095490565b821061096c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105dc565b6009828154811061097f5761097f61249c565b90600052602060002001549050919050565b600b546001600160a01b031633146109bb5760405162461bcd60e51b81526004016105dc9061241a565b600f61077b8282612500565b6000818152600260205260408120546001600160a01b0316806104f35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105dc565b610a2f611266565b600d546001600160a01b0316336001600160a01b0316148015610a5b5750600d54600160a01b900460ff165b80610a68575060115460ff165b610aac5760405162461bcd60e51b815260206004820152601560248201527410d85b1b195c881a5cc81b9bdd08185b1b1bddd959605a1b60448201526064016105dc565b610ab5816113ac565b6108796001600c55565b60006001600160a01b038216610b295760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105dc565b506001600160a01b031660009081526003602052604090205490565b600d546001600160a01b03163314610b6f5760405162461bcd60e51b81526004016105dc906125c0565b600d805460ff60a01b1916600160a01b179055565b606060018054610508906123e0565b600d54600160a01b900460ff16610bbc5760405162461bcd60e51b81526004016105dc906125f7565b600d546001600160a01b03163314610be65760405162461bcd60e51b81526004016105dc906125c0565b6001600160a01b038116610c515760405162461bcd60e51b815260206004820152602c60248201527f4e65772070726f787920616464726573732063616e6e6f74206265207468652060448201526b7a65726f206164647265737360a01b60648201526084016105dc565b600d80546001600160a01b0319166001600160a01b0383169081179091556040517ff0cd76016a4ee33fe62814f8afd5492f47062ea7615bcc094f2f6fe71b62d1c490600090a250565b61077b3383836114e8565b610cb0338361104f565b610ccc5760405162461bcd60e51b81526004016105dc9061244f565b610cd8848484846115b6565b50505050565b60606104f3826115e9565b600d54600160a01b900460ff16610d125760405162461bcd60e51b81526004016105dc906125f7565b600d546001600160a01b03163314610d3c5760405162461bcd60e51b81526004016105dc906125c0565b600d805460ff60a01b19169055565b610d53611266565b600d54600160a01b900460ff16610d7c5760405162461bcd60e51b81526004016105dc906125f7565b600d546001600160a01b03163314610da65760405162461bcd60e51b81526004016105dc906125c0565b8060005b81811015610dee57610ddc848483818110610dc757610dc761249c565b90506020020160208101906108ef91906121a1565b80610de68161263b565b915050610daa565b505061077b6001600c55565b600b546001600160a01b03163314610e245760405162461bcd60e51b81526004016105dc9061241a565b6001600160a01b038116610e895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105dc565b610879816116e4565b60006001600160e01b0319821663780e9d6360e01b14806104f357506104f382611736565b6000818152600260205260409020546001600160a01b03166108795760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105dc565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f4b826109c7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000828152600260205260409020546001600160a01b0316610fff5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016105dc565b60008281526006602052604090206110178282612500565b506040518281527ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79060200160405180910390a15050565b60008061105b836109c7565b9050806001600160a01b0316846001600160a01b031614806110a257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110c65750836001600160a01b03166110bb8461058b565b6001600160a01b0316145b949350505050565b826001600160a01b03166110e1826109c7565b6001600160a01b0316146111075760405162461bcd60e51b81526004016105dc90612654565b6001600160a01b0382166111695760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105dc565b611176838383600161175b565b826001600160a01b0316611189826109c7565b6001600160a01b0316146111af5760405162461bcd60e51b81526004016105dc90612654565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b806013600061124d60125490565b8152602081019190915260400160002055610879611767565b6002600c54036112b85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105dc565b6002600c55565b60006112ca60125490565b82106113185760405162461bcd60e51b815260206004820152601960248201527f496e76616c6964206d65726b6c6520726f6f7420696e6465780000000000000060448201526064016105dc565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905060005b848110156113925761137e828787848181106113725761137261249c565b90506020020135611781565b91508061138a8161263b565b915050611354565b506000838152601360205260409020541490509392505050565b601054600954106113ff5760405162461bcd60e51b815260206004820152601d60248201527f4352454154453a20544f54414c5f535550504c595f455843454544454400000060448201526064016105dc565b6001600160a01b03811660009081526014602052604090205460ff16156114595760405162461bcd60e51b815260206004820152600e60248201526d10d4915055114e8813525395115160921b60448201526064016105dc565b611467600e80546001019055565b6000611472600e5490565b6001600160a01b0383166000908152601460205260409020805460ff1916600117905590506114a182826117b3565b816001600160a01b03167f1b9dcf5555e691d783f8da449f1370bfa72d62105e007efbf37fc9a96fd38e72826040516114dc91815260200190565b60405180910390a25050565b816001600160a01b0316836001600160a01b0316036115495760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105dc565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6115c18484846110ce565b6115cd848484846117cd565b610cd85760405162461bcd60e51b81526004016105dc90612699565b60606115f482610eb7565b6000828152600660205260408120805461160d906123e0565b80601f0160208091040260200160405190810160405280929190818152602001828054611639906123e0565b80156116865780601f1061165b57610100808354040283529160200191611686565b820191906000526020600020905b81548152906001019060200180831161166957829003601f168201915b5050505050905060006116976118ce565b905080516000036116a9575092915050565b8151156116db5780826040516020016116c39291906126eb565b60405160208183030381529060405292505050919050565b6110c6846118dd565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160e01b03198216632483248360e11b14806104f357506104f382611943565b610cd884848484611993565b60016012600082825461177a919061271a565b9091555050565b600081831061179d5760008281526020849052604090206117ac565b60008381526020839052604090205b9392505050565b61077b828260405180602001604052806000815250611ac7565b60006001600160a01b0384163b156118c357604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061181190339089908890889060040161272d565b6020604051808303816000875af192505050801561184c575060408051601f3d908101601f191682019092526118499181019061276a565b60015b6118a9573d80801561187a576040519150601f19603f3d011682016040523d82523d6000602084013e61187f565b606091505b5080516000036118a15760405162461bcd60e51b81526004016105dc90612699565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110c6565b506001949350505050565b6060600f8054610508906123e0565b60606118e882610eb7565b60006118f26118ce565b9050600081511161191257604051806020016040528060008152506117ac565b8061191c84611afa565b60405160200161192d9291906126eb565b6040516020818303038152906040529392505050565b60006001600160e01b031982166380ac58cd60e01b148061197457506001600160e01b03198216635b5e139f60e01b145b806104f357506301ffc9a760e01b6001600160e01b03198316146104f3565b6001811115611a025760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016105dc565b816001600160a01b038516611a5e57611a5981600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611a81565b836001600160a01b0316856001600160a01b031614611a8157611a818582611b8d565b6001600160a01b038416611a9d57611a9881611c2a565b611ac0565b846001600160a01b0316846001600160a01b031614611ac057611ac08482611cd9565b5050505050565b611ad18383611d1d565b611ade60008484846117cd565b6107425760405162461bcd60e51b81526004016105dc90612699565b60606000611b0783611eb6565b600101905060008167ffffffffffffffff811115611b2757611b276120ae565b6040519080825280601f01601f191660200182016040528015611b51576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611b5b57509392505050565b60006001611b9a84610abf565b611ba49190612787565b600083815260086020526040902054909150808214611bf7576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611c3c90600190612787565b6000838152600a602052604081205460098054939450909284908110611c6457611c6461249c565b906000526020600020015490508060098381548110611c8557611c8561249c565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480611cbd57611cbd61279a565b6001900381819060005260206000200160009055905550505050565b6000611ce483610abf565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b038216611d735760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105dc565b6000818152600260205260409020546001600160a01b031615611dd85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105dc565b611de660008383600161175b565b6000818152600260205260409020546001600160a01b031615611e4b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105dc565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611ef55772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f21576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f3f57662386f26fc10000830492506010015b6305f5e1008310611f57576305f5e100830492506008015b6127108310611f6b57612710830492506004015b60648310611f7d576064830492506002015b600a83106104f35760010192915050565b6001600160e01b03198116811461087957600080fd5b600060208284031215611fb657600080fd5b81356117ac81611f8e565b60005b83811015611fdc578181015183820152602001611fc4565b50506000910152565b60008151808452611ffd816020860160208601611fc1565b601f01601f19169290920160200192915050565b6020815260006117ac6020830184611fe5565b60006020828403121561203657600080fd5b5035919050565b8035801515811461204d57600080fd5b919050565b60006020828403121561206457600080fd5b6117ac8261203d565b80356001600160a01b038116811461204d57600080fd5b6000806040838503121561209757600080fd5b6120a08361206d565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156120df576120df6120ae565b604051601f8501601f19908116603f01168101908282118183101715612107576121076120ae565b8160405280935085815286868601111561212057600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261214b57600080fd5b6117ac838335602085016120c4565b6000806040838503121561216d57600080fd5b82359150602083013567ffffffffffffffff81111561218b57600080fd5b6121978582860161213a565b9150509250929050565b6000602082840312156121b357600080fd5b6117ac8261206d565b6000806000606084860312156121d157600080fd5b6121da8461206d565b92506121e86020850161206d565b9150604084013590509250925092565b60008083601f84011261220a57600080fd5b50813567ffffffffffffffff81111561222257600080fd5b6020830191508360208260051b850101111561223d57600080fd5b9250929050565b60008060006040848603121561225957600080fd5b833567ffffffffffffffff81111561227057600080fd5b61227c868287016121f8565b909790965060209590950135949350505050565b6000602082840312156122a257600080fd5b813567ffffffffffffffff8111156122b957600080fd5b6110c68482850161213a565b600080604083850312156122d857600080fd5b6122e18361206d565b91506122ef6020840161203d565b90509250929050565b6000806000806080858703121561230e57600080fd5b6123178561206d565b93506123256020860161206d565b925060408501359150606085013567ffffffffffffffff81111561234857600080fd5b8501601f8101871361235957600080fd5b612368878235602084016120c4565b91505092959194509250565b6000806020838503121561238757600080fd5b823567ffffffffffffffff81111561239e57600080fd5b6123aa858286016121f8565b90969095509350505050565b600080604083850312156123c957600080fd5b6123d28361206d565b91506122ef6020840161206d565b600181811c908216806123f457607f821691505b60208210810361241457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f82111561074257600081815260208120601f850160051c810160208610156124d95750805b601f850160051c820191505b818110156124f8578281556001016124e5565b505050505050565b815167ffffffffffffffff81111561251a5761251a6120ae565b61252e8161252884546123e0565b846124b2565b602080601f831160018114612563576000841561254b5750858301515b600019600386901b1c1916600185901b1785556124f8565b600085815260208120601f198616915b8281101561259257888601518255948401946001909101908401612573565b50858210156125b05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526017908201527f43616c6c6572206973206e6f74207468652070726f7879000000000000000000604082015260600190565b602080825260149082015273141c9bde1e481a5cc81b9bdd08185b1b1bddd95960621b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60006001820161264d5761264d612625565b5060010190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600083516126fd818460208801611fc1565b835190830190612711818360208801611fc1565b01949350505050565b808201808211156104f3576104f3612625565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061276090830184611fe5565b9695505050505050565b60006020828403121561277c57600080fd5b81516117ac81611f8e565b818103818111156104f3576104f3612625565b634e487b7160e01b600052603160045260246000fdfea26469706673582212200d31ad13814a1b4e04b840a781f2e5588eafac6a1b2946348f04cd2827c028a364736f6c63430008110033000000000000000000000000c871fe56586972fed0de82da65db595c5bb78d77