60806040526000600755600060085534801561001a57600080fd5b50604051611c60380380611c60833981810160405260a081101561003d57600080fd5b50805160208201516040830151606084015160809094015192939192909190846001600160a01b0381166100b8576040805162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f74206265203000000000000000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b038316908117825560408051928352602083019190915280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a15060016003556000546001600160a01b0316610167576040805162461bcd60e51b815260206004820152601160248201527013dddb995c881b5d5cdd081899481cd95d607a1b604482015290519081900360640190fd5b600580546001600160a01b0394851661010002610100600160a81b0319909116179055600680549284166001600160a01b031993841617905560028054949093169390911692909217905560095550611a9b806101c56000396000f3fe608060405234801561001057600080fd5b506004361061020a5760003560e01c806379ba50971161012a578063a694fc3a116100bd578063d1af0c7d1161008c578063df136d6511610071578063df136d651461050a578063e9fad8ee14610512578063ebe2b12b1461051a5761020a565b8063d1af0c7d146104fa578063dbbc4a57146105025761020a565b8063a694fc3a146104b0578063c8f33c91146104cd578063cc1a378f146104d5578063cd3daf9d146104f25761020a565b80638b876347116100f95780638b876347146104655780638da5cb5b14610498578063904440bd146104a057806391b4ded9146104a85761020a565b806379ba5097146104145780637b0a47ee1461041c57806380faa57d146104245780638980f11f1461042c5761020a565b8063386a9525116101a25780635c975abb116101715780635c975abb1461038457806368d53c43146103a057806370a08231146103d957806372f702f31461040c5761020a565b8063386a95251461033b5780633d18b912146103435780633fc6df6e1461034b57806353a47bb71461037c5761020a565b806318160ddd116101de57806318160ddd146102db57806319762143146102e35780631c1f78eb146103165780632e1a7d4d1461031e5761020a565b80628cc2621461020f5780630700037d146102545780631627540c1461028757806316c38b3c146102bc575b600080fd5b6102426004803603602081101561022557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610522565b60408051918252519081900360200190f35b6102426004803603602081101561026a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166105d2565b6102ba6004803603602081101561029d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166105e4565b005b6102ba600480360360208110156102d257600080fd5b50351515610665565b6102426106fd565b6102ba600480360360208110156102f957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610704565b610242610753565b6102ba6004803603602081101561033457600080fd5b5035610771565b610242610946565b6102ba61094c565b610353610b72565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610353610b8e565b61038c610baa565b604080519115158252519081900360200190f35b6102ba600480360360408110156103b657600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610bb3565b610242600480360360208110156103ef57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610d71565b610353610d99565b6102ba610db5565b610242610eb0565b610242610eb6565b6102ba6004803603604081101561044257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ec4565b6102426004803603602081101561047b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610fa8565b610353610fba565b610242610fd6565b610242611063565b6102ba600480360360208110156104c657600080fd5b5035611069565b61024261127d565b6102ba600480360360208110156104eb57600080fd5b5035611283565b610242611306565b610353611360565b610353611381565b610242611399565b6102ba61139f565b6102426113c2565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600d6020908152604080832054600c9092528220546105cc91906105c090670de0b6b3a7640000906105b49061058290610576611306565b9063ffffffff6113c816565b73ffffffffffffffffffffffffffffffffffffffff88166000908152600f60205260409020549063ffffffff61142516565b9063ffffffff61148516565b9063ffffffff6114ef16565b92915050565b600d6020526000908152604090205481565b6105ec611549565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915560408051918252517f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229181900360200190a150565b61066d611549565b60055460ff1615158115151415610683576106fa565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016821515179081905560ff16156106be57426004555b6005546040805160ff90921615158252517f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec59181900360200190a15b50565b600e545b90565b61070c611549565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600061076c60095460085461142590919063ffffffff16565b905090565b600380546001019081905533610785611306565b600b55610790610eb6565b600a5573ffffffffffffffffffffffffffffffffffffffff8116156107f1576107b881610522565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600d6020908152604080832093909355600b54600c909152919020555b60008311610846576040805162461bcd60e51b815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b600e54610859908463ffffffff6113c816565b600e55336000908152600f602052604090205461087c908463ffffffff6113c816565b336000818152600f60205260409020919091556006546108b59173ffffffffffffffffffffffffffffffffffffffff909116908561159f565b60408051848152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a2506003548114610942576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b5050565b60095481565b600380546001019081905533610960611306565b600b5561096b610eb6565b600a5573ffffffffffffffffffffffffffffffffffffffff8116156109cc5761099381610522565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600d6020908152604080832093909355600b54600c909152919020555b336000908152600d60205260409020548015610b1a57600554604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092610100900473ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015610a5857600080fd5b505afa158015610a6c573d6000803e3d6000fd5b505050506040513d6020811015610a8257600080fd5b5051336000908152600d6020526040902054909150811015610aa2578091505b336000818152600d6020526040812055600554610ae29161010090910473ffffffffffffffffffffffffffffffffffffffff16908463ffffffff61159f16565b60408051838152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a2505b505060035481146106fa576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60055460ff1681565b60025473ffffffffffffffffffffffffffffffffffffffff163314610c095760405162461bcd60e51b815260040180806020018281038252602a8152602001806119f2602a913960400191505060405180910390fd5b6000610c13611306565b600b55610c1e610eb6565b600a5573ffffffffffffffffffffffffffffffffffffffff811615610c7f57610c4681610522565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600d6020908152604080832093909355600b54600c909152919020555b6007544210610ca457600954610c9c90849063ffffffff61148516565b600855610cf3565b600754600090610cba904263ffffffff6113c816565b90506000610cd36008548361142590919063ffffffff16565b600954909150610ced906105b4878463ffffffff6114ef16565b60085550505b42600a819055600954610d0c919063ffffffff6114ef16565b600755600554610d3990610100900473ffffffffffffffffffffffffffffffffffffffff16833086611631565b6040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505050565b73ffffffffffffffffffffffffffffffffffffffff166000908152600f602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff163314610e0b5760405162461bcd60e51b81526004018080602001828103825260358152602001806119316035913960400191505060405180910390fd5b6000546001546040805173ffffffffffffffffffffffffffffffffffffffff938416815292909116602083015280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a160018054600080547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff841617909155169055565b60085481565b600061076c426007546116cc565b610ecc611549565b60065473ffffffffffffffffffffffffffffffffffffffff83811691161415610f265760405162461bcd60e51b8152600401808060200182810382526021815260200180611a466021913960400191505060405180910390fd5b600054610f539073ffffffffffffffffffffffffffffffffffffffff84811691168363ffffffff61159f16565b6040805173ffffffffffffffffffffffffffffffffffffffff841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b600c6020526000908152604090205481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b600073169e633a2d1e6c10dd91238ba11c4a708dfef37c73ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561103257600080fd5b505afa158015611046573d6000803e3d6000fd5b505050506040513d602081101561105c57600080fd5b5051905090565b60045481565b600380546001019081905560055460ff16156110b65760405162461bcd60e51b815260040180806020018281038252603c8152602001806119b6603c913960400191505060405180910390fd5b336110bf611306565b600b556110ca610eb6565b600a5573ffffffffffffffffffffffffffffffffffffffff81161561112b576110f281610522565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600d6020908152604080832093909355600b54600c909152919020555b60008311611180576040805162461bcd60e51b815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b600e54611193908463ffffffff6114ef16565b600e55336000908152600f60205260409020546111b6908463ffffffff6114ef16565b336000818152600f60205260409020919091556006546111f09173ffffffffffffffffffffffffffffffffffffffff909116903086611631565b60408051848152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a2506003548114610942576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600a5481565b61128b611549565b60075442116112cb5760405162461bcd60e51b81526004018080602001828103825260588152602001806118d96058913960600191505060405180910390fd5b60098190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6000600e546000141561131c5750600b54610701565b61076c611351600e546105b4670de0b6b3a7640000611345600854611345600a54610576610eb6565b9063ffffffff61142516565b600b549063ffffffff6114ef16565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1681565b73169e633a2d1e6c10dd91238ba11c4a708dfef37c81565b600b5481565b336000908152600f60205260409020546113b890610771565b6113c061094c565b565b60075481565b60008282111561141f576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611434575060006105cc565b8282028284828161144157fe5b041461147e5760405162461bcd60e51b81526004018080602001828103825260218152602001806119956021913960400191505060405180910390fd5b9392505050565b60008082116114db576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b60008284816114e657fe5b04949350505050565b60008282018381101561147e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60005473ffffffffffffffffffffffffffffffffffffffff1633146113c05760405162461bcd60e51b815260040180806020018281038252602f815260200180611966602f913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261162c9084906116e2565b505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd000000000000000000000000000000000000000000000000000000001790526116c69085906116e2565b50505050565b60008183106116db578161147e565b5090919050565b6117018273ffffffffffffffffffffffffffffffffffffffff166118d2565b611752576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106117bb57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161177e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461181d576040519150601f19603f3d011682016040523d82523d6000602084013e611822565b606091505b509150915081611879576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156116c65780806020019051602081101561189557600080fd5b50516116c65760405162461bcd60e51b815260040180806020018281038252602a815260200180611a1c602a913960400191505060405180910390fd5b3b15159056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f64596f75206d757374206265206e6f6d696e61746564206265666f726520796f752063616e20616363657074206f776e6572736869704f6e6c792074686520636f6e7472616374206f776e6572206d617920706572666f726d207468697320616374696f6e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea265627a7a72315820e3390b57ce506a5d1c4f8635541af205a5dcc151ae030bd34c6f664fd560c4dc64736f6c6343000511003200000000000000000000000018691f528659d0abd08f79498dcc7b6fbdc1e91d0000000000000000000000008e432241fc458fcd99ac15a45d3ef7db3d3aae4000000000000000000000000084810bcf08744d5862b8181f12d17bfd57d3b078000000000000000000000000898bad2774eb97cf6b94605677f43b41871410b1000000000000000000000000000000000000000000000000000000000077b766