60806040523480156200001157600080fd5b50604080518082018252600e81526d2b37ba329027282a102a37b5b2b760911b6020808301918252835180850190945260048452631d93941560e21b908401528151919291620000649160039162000146565b5080516200007a90600490602084019062000146565b506200008c9150600090503362000092565b62000229565b6200009e8282620000a2565b5050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff166200009e5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001023390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b8280546200015490620001ec565b90600052602060002090601f016020900481019282620001785760008555620001c3565b82601f106200019357805160ff1916838001178555620001c3565b82800160010185558215620001c3579182015b82811115620001c3578251825591602001919060010190620001a6565b50620001d1929150620001d5565b5090565b5b80821115620001d15760008155600101620001d6565b600181811c908216806200020157607f821691505b602082108114156200022357634e487b7160e01b600052602260045260246000fd5b50919050565b61274880620002396000396000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c806372c328601161012a578063a217fddf116100bd578063c3cda5201161008c578063dd62ed3e11610071578063dd62ed3e14610536578063e7a324dc1461056f578063f1127ed81461059657600080fd5b8063c3cda52014610510578063d547741f1461052357600080fd5b8063a217fddf146104cf578063a457c2d7146104d7578063a9059cbb146104ea578063b4b5ea57146104fd57600080fd5b806391d14854116100f957806391d148541461046857806395d89b41146104a15780639ad99e68146104a95780639dc29fac146104bc57600080fd5b806372c32860146103e7578063782d6fe11461040e5780637ecebe00146104215780638580cf761461044157600080fd5b8063313ce567116101a2578063587cde1e11610171578063587cde1e1461032c5780635c19a95c146103705780636fcfff451461038357806370a08231146103be57600080fd5b8063313ce567146102e457806336568abe146102f3578063395093511461030657806340c10f191461031957600080fd5b806320606b70116101de57806320606b701461027257806323b872dd14610299578063248a9ca3146102ac5780632f2ff15d146102cf57600080fd5b806301ffc9a71461021057806306fdde0314610238578063095ea7b31461024d57806318160ddd14610260575b600080fd5b61022361021e36600461223b565b6105ed565b60405190151581526020015b60405180910390f35b610240610686565b60405161022f91906122a9565b61022361025b3660046122f1565b610718565b6002545b60405190815260200161022f565b6102647f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6102236102a736600461231d565b610730565b6102646102ba36600461235e565b60009081526005602052604090206001015490565b6102e26102dd366004612377565b610756565b005b6040516012815260200161022f565b6102e2610301366004612377565b610780565b6102236103143660046122f1565b610811565b6102e26103273660046122f1565b610850565b61035861033a3660046123a7565b6001600160a01b039081166000908152600660205260409020541690565b6040516001600160a01b03909116815260200161022f565b6102e261037e3660046123a7565b6108fd565b6103a96103913660046123a7565b60086020526000908152604090205463ffffffff1681565b60405163ffffffff909116815260200161022f565b6102646103cc3660046123a7565b6001600160a01b031660009081526020819052604090205490565b6102647fcfd53186d792f1ec9d0679afc2dc3ffc86fc31fe1e0f342b838eb6c3eade62b381565b61026461041c3660046122f1565b61090a565b61026461042f3660046123a7565b60096020526000908152604090205481565b6102647fbeec13769b5f410b0584f69811bfd923818456d5edcf426b0e31cf90eed7a3f681565b610223610476366004612377565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610240610b85565b6102e26104b736600461231d565b610b94565b6102e26104ca3660046122f1565b610cd3565b610264600081565b6102236104e53660046122f1565b610d81565b6102236104f83660046122f1565b610e36565b61026461050b3660046123a7565b610e44565b6102e261051e3660046123c4565b610eb8565b6102e2610531366004612377565b611183565b610264610544366004612426565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102647fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6105d16105a4366004612454565b60076020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff909316835260208301919091520161022f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b00000000000000000000000000000000000000000000000000000000148061068057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600380546106959061248b565b80601f01602080910402602001604051908101604052809291908181526020018280546106c19061248b565b801561070e5780601f106106e35761010080835404028352916020019161070e565b820191906000526020600020905b8154815290600101906020018083116106f157829003601f168201915b5050505050905090565b6000336107268185856111a8565b5060019392505050565b60003361073e858285611300565b61074985858561138c565b60019150505b9392505050565b600082815260056020526040902060010154610771816115a3565b61077b83836115ad565b505050565b6001600160a01b03811633146108035760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b61080d828261164f565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610726908290869061084b9087906124dc565b6111a8565b3360009081527f7b1adb5df237b89d5a8cf1847f22232ee1a8888cedf243b821de2fccf7bcd856602052604090205460ff166108ce5760405162461bcd60e51b815260206004820152601660248201527f6e6f74206d696e7465722f6275726e657220726f6c650000000000000000000060448201526064016107fa565b6108d882826116d2565b6001600160a01b0380831660009081526006602052604081205461080d9216836117b1565b6109073382611910565b50565b60004382106109815760405162461bcd60e51b815260206004820152602760248201527f764e50543a3a6765745072696f72566f7465733a206e6f74207965742064657460448201527f65726d696e65640000000000000000000000000000000000000000000000000060648201526084016107fa565b6001600160a01b03831660009081526008602052604090205463ffffffff16806109af576000915050610680565b6001600160a01b038416600090815260076020526040812084916109d46001856124f4565b63ffffffff90811682526020820192909252604001600020541611610a3d576001600160a01b038416600090815260076020526040812090610a176001846124f4565b63ffffffff1663ffffffff16815260200190815260200160002060010154915050610680565b6001600160a01b038416600090815260076020908152604080832083805290915290205463ffffffff16831015610a78576000915050610680565b600080610a866001846124f4565b90505b8163ffffffff168163ffffffff161115610b4e5760006002610aab84846124f4565b610ab59190612519565b610abf90836124f4565b6001600160a01b038816600090815260076020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152919250871415610b22576020015194506106809350505050565b805163ffffffff16871115610b3957819350610b47565b610b446001836124f4565b92505b5050610a89565b506001600160a01b038516600090815260076020908152604080832063ffffffff9094168352929052206001015491505092915050565b6060600480546106959061248b565b3360009081527fca32ddd7c142c6200e773fafe97e45383467b698128ea331e9bc314e9c63a960602052604090205460ff16610c125760405162461bcd60e51b815260206004820152601160248201527f6e6f7420726577617264657220726f6c6500000000000000000000000000000060448201526064016107fa565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015610c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c96919061254a565b905080821115610cb957610cb46001600160a01b03851684836119a1565b610ccd565b610ccd6001600160a01b03851684846119a1565b50505050565b3360009081527f7b1adb5df237b89d5a8cf1847f22232ee1a8888cedf243b821de2fccf7bcd856602052604090205460ff16610d515760405162461bcd60e51b815260206004820152601660248201527f6e6f74206d696e7465722f6275726e657220726f6c650000000000000000000060448201526064016107fa565b610d5b8282611a21565b6001600160a01b0380831660009081526006602052604081205461080d921690836117b1565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610e1e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016107fa565b610e2b82868684036111a8565b506001949350505050565b60003361072681858561138c565b6001600160a01b03811660009081526008602052604081205463ffffffff1680610e6f57600061074f565b6001600160a01b038316600090815260076020526040812090610e936001846124f4565b63ffffffff1663ffffffff168152602001908152602001600020600101549392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610ee3610686565b80519060200120610ef14690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401909252815191909301207f1901000000000000000000000000000000000000000000000000000000000000610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015611038573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661109b5760405162461bcd60e51b815260206004820181905260248201527f764e50543a3a64656c656761746542795369673a20696e76616c69642073696760448201526064016107fa565b6001600160a01b03811660009081526009602052604081208054916110bf83612563565b91905055891461111c5760405162461bcd60e51b815260206004820152602260248201527f764e50543a3a64656c656761746542795369673a20696e76616c6964206e6f6e604482015261636560f01b60648201526084016107fa565b8742111561116c5760405162461bcd60e51b815260206004820181905260248201527f764e50543a3a64656c656761746542795369673a20736967206578706972656460448201526064016107fa565b611176818b611910565b505050505b505050505050565b60008281526005602052604090206001015461119e816115a3565b61077b838361164f565b6001600160a01b0383166112235760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107fa565b6001600160a01b03821661129f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016107fa565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610ccd578181101561137f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107fa565b610ccd84848484036111a8565b6001600160a01b0383166114085760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107fa565b6001600160a01b0382166114845760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016107fa565b6001600160a01b038316600090815260208190526040902054818110156115135760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016107fa565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061154a9084906124dc565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161159691815260200190565b60405180910390a3610ccd565b6109078133611b8b565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff1661080d5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561160b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff161561080d5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166117285760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107fa565b806002600082825461173a91906124dc565b90915550506001600160a01b038216600090815260208190526040812080548392906117679084906124dc565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b816001600160a01b0316836001600160a01b0316141580156117d35750600081115b1561077b576001600160a01b03831615611876576001600160a01b03831660009081526008602052604081205463ffffffff169081611813576000611856565b6001600160a01b0385166000908152600760205260408120906118376001856124f4565b63ffffffff1663ffffffff168152602001908152602001600020600101545b90506000611864848361257e565b905061187286848484611c0b565b5050505b6001600160a01b0382161561077b576001600160a01b03821660009081526008602052604081205463ffffffff1690816118b15760006118f4565b6001600160a01b0384166000908152600760205260408120906118d56001856124f4565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9050600061190284836124dc565b905061117b85848484611c0b565b6001600160a01b038281166000818152600660208181526040808420805485845282862054949093528787167fffffffffffffffffffffffff00000000000000000000000000000000000000008416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610ccd8284836117b1565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261077b908490611dad565b6001600160a01b038216611a9d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016107fa565b6001600160a01b03821660009081526020819052604090205481811015611b115760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107fa565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611b4090849061257e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff1661080d57611bc9816001600160a01b03166014611e92565b611bd4836020611e92565b604051602001611be5929190612595565b60408051601f198184030181529082905262461bcd60e51b82526107fa916004016122a9565b6000611c2f436040518060600160405280603481526020016126df60349139612073565b905060008463ffffffff16118015611c8957506001600160a01b038516600090815260076020526040812063ffffffff831691611c6d6001886124f4565b63ffffffff908116825260208201929092526040016000205416145b15611cd2576001600160a01b03851660009081526007602052604081208391611cb36001886124f4565b63ffffffff168152602081019190915260400160002060010155611d62565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152600783528581208a851682529092529390209151825463ffffffff191691161781559051600191820155611d31908590612616565b6001600160a01b0386166000908152600860205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000611e02826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120a39092919063ffffffff16565b80519091501561077b5780806020019051810190611e20919061263e565b61077b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016107fa565b60606000611ea1836002612660565b611eac9060026124dc565b67ffffffffffffffff811115611ec457611ec461267f565b6040519080825280601f01601f191660200182016040528015611eee576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611f2557611f25612695565b60200101906001600160f81b031916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611f7057611f70612695565b60200101906001600160f81b031916908160001a9053506000611f94846002612660565b611f9f9060016124dc565b90505b6001811115612024577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110611fe057611fe0612695565b1a60f81b828281518110611ff657611ff6612695565b60200101906001600160f81b031916908160001a90535060049490941c9361201d816126ab565b9050611fa2565b50831561074f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107fa565b600081640100000000841061209b5760405162461bcd60e51b81526004016107fa91906122a9565b509192915050565b60606120b284846000856120ba565b949350505050565b6060824710156121325760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016107fa565b6001600160a01b0385163b6121895760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107fa565b600080866001600160a01b031685876040516121a591906126c2565b60006040518083038185875af1925050503d80600081146121e2576040519150601f19603f3d011682016040523d82523d6000602084013e6121e7565b606091505b50915091506121f7828286612202565b979650505050505050565b6060831561221157508161074f565b8251156122215782518084602001fd5b8160405162461bcd60e51b81526004016107fa91906122a9565b60006020828403121561224d57600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461074f57600080fd5b60005b83811015612298578181015183820152602001612280565b83811115610ccd5750506000910152565b60208152600082518060208401526122c881604085016020870161227d565b601f01601f19169190910160400192915050565b6001600160a01b038116811461090757600080fd5b6000806040838503121561230457600080fd5b823561230f816122dc565b946020939093013593505050565b60008060006060848603121561233257600080fd5b833561233d816122dc565b9250602084013561234d816122dc565b929592945050506040919091013590565b60006020828403121561237057600080fd5b5035919050565b6000806040838503121561238a57600080fd5b82359150602083013561239c816122dc565b809150509250929050565b6000602082840312156123b957600080fd5b813561074f816122dc565b60008060008060008060c087890312156123dd57600080fd5b86356123e8816122dc565b95506020870135945060408701359350606087013560ff8116811461240c57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561243957600080fd5b8235612444816122dc565b9150602083013561239c816122dc565b6000806040838503121561246757600080fd5b8235612472816122dc565b9150602083013563ffffffff8116811461239c57600080fd5b600181811c9082168061249f57607f821691505b602082108114156124c057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156124ef576124ef6124c6565b500190565b600063ffffffff83811690831681811015612511576125116124c6565b039392505050565b600063ffffffff8084168061253e57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b60006020828403121561255c57600080fd5b5051919050565b6000600019821415612577576125776124c6565b5060010190565b600082821015612590576125906124c6565b500390565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516125cd81601785016020880161227d565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000601791840191820152835161260a81602884016020880161227d565b01602801949350505050565b600063ffffffff808316818516808303821115612635576126356124c6565b01949350505050565b60006020828403121561265057600080fd5b8151801515811461074f57600080fd5b600081600019048311821515161561267a5761267a6124c6565b500290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816126ba576126ba6124c6565b506000190190565b600082516126d481846020870161227d565b919091019291505056fe764e50543a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a2646970667358221220780315b449154f490379063378665f47db5237be733eb11a5491b3c4c39ae82564736f6c634300080a0033