60806040526001600c5534801561001557600080fd5b50604080518082018252600d81526c047616c61646f72205632204c5609c1b6020918201528151808301835260018152603160f81b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527fc4452dd706b99ac57fce7de8ff6f22d080ea7d10a17ee09ce2485e544713bbbf818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c09091019092528151910120600355600580546001600160a01b03191633179055612b758061010b6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636a627842116100f9578063ba9a7a5611610097578063d21220a711610071578063d21220a714610618578063d505accf14610620578063dd62ed3e1461067e578063fff6cae9146106b9576101c4565b8063ba9a7a56146105d5578063bc25cf77146105dd578063c45a015514610610576101c4565b80637ecebe00116100d35780637ecebe001461051557806389afcb441461054857806395d89b4114610594578063a9059cbb1461059c576101c4565b80636a627842146104a757806370a08231146104da5780637464fc3d1461050d576101c4565b806327e235e3116101665780633644e515116101405780633644e51514610454578063485cc9551461045c5780635909c0d5146104975780635a3d54931461049f576101c4565b806327e235e3146103fb57806330adf81f1461042e578063313ce56714610436576101c4565b8063095ea7b3116101a2578063095ea7b3146103205780630dfe16811461036d57806318160ddd1461039e57806323b872dd146103b8576101c4565b8063022c0d9f146101c957806306fdde03146102645780630902f1ac146102e1575b600080fd5b610262600480360360808110156101df57600080fd5b81359160208101359173ffffffffffffffffffffffffffffffffffffffff604083013516919081019060808101606082013564010000000081111561022357600080fd5b82018360208201111561023557600080fd5b8035906020019184600183028401116401000000008311171561025757600080fd5b5090925090506106c1565b005b61026c610e4b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a657818101518382015260200161028e565b50505050905090810190601f1680156102d35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102e9610e84565b604080516dffffffffffffffffffffffffffff948516815292909316602083015263ffffffff168183015290519081900360600190f35b6103596004803603604081101561033657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ed9565b604080519115158252519081900360200190f35b610375610ef0565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6103a6610f0c565b60408051918252519081900360200190f35b610359600480360360608110156103ce57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610f12565b6103a66004803603602081101561041157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610feb565b6103a6610ffd565b61043e611021565b6040805160ff9092168252519081900360200190f35b6103a6611026565b6102626004803603604081101561047257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661102c565b6103a6611105565b6103a661110b565b6103a6600480360360208110156104bd57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611111565b6103a6600480360360208110156104f057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166114a7565b6103a66114d3565b6103a66004803603602081101561052b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166114d9565b61057b6004803603602081101561055e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166114eb565b6040805192835260208301919091528051918290030190f35b61026c611974565b610359600480360360408110156105b257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356119ad565b6103a66119ba565b610262600480360360208110156105f357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166119c0565b610375611bad565b610375611bc9565b610262600480360360e081101561063657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611be5565b6103a66004803603604081101561069457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611eb1565b610262611ece565b600c5460011461073257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f47616c61646f72506169723a204c4f434b454400000000000000000000000000604482015290519081900360640190fd5b6000600c55841515806107455750600084115b61079a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612aa66027913960400191505060405180910390fd5b6107a2612a25565b6040518060c0016040528060006dffffffffffffffffffffffffffff16815260200160006dffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152602001600081525090506107ff610e84565b506dffffffffffffffffffffffffffff9081166020840152168082528610801561083c575080602001516dffffffffffffffffffffffffffff1685105b610891576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612af76023913960400191505060405180910390fd5b60065460075473ffffffffffffffffffffffffffffffffffffffff9182169190811690861682148015906108f157508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614155b61095c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f47616c61646f72506169723a20494e56414c49445f544f000000000000000000604482015290519081900360640190fd5b871561096d5761096d82878a6120b4565b861561097e5761097e8187896120b4565b8315610a4a578573ffffffffffffffffffffffffffffffffffffffff166310d1e85c338a8a89896040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b158015610a3157600080fd5b505af1158015610a45573d6000803e3d6000fd5b505050505b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b158015610ab657600080fd5b505afa158015610aca573d6000803e3d6000fd5b505050506040513d6020811015610ae057600080fd5b505160408085019190915280517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8316916370a08231916024808301926020929190829003018186803b158015610b5557600080fd5b505afa158015610b69573d6000803e3d6000fd5b505050506040513d6020811015610b7f57600080fd5b505160608401525050805160408201516dffffffffffffffffffffffffffff90911687900310610bb0576000610bce565b8581600001516dffffffffffffffffffffffffffff16038160400151035b8160800181815250508481602001516dffffffffffffffffffffffffffff1603816060015111610bff576000610c1d565b8481602001516dffffffffffffffffffffffffffff16038160600151035b60a08201526080810151151580610c38575060008160a00151115b610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612b1a6026913960400191505060405180910390fd5b6000610cc1610caa6019846080015161215690919063ffffffff16565b6040840151610cbb90612710612156565b906121dc565b90506000610cf1610ce060198560a0015161215690919063ffffffff16565b6060850151610cbb90612710612156565b9050610d3c6305f5e100610d3685602001516dffffffffffffffffffffffffffff1686600001516dffffffffffffffffffffffffffff1661215690919063ffffffff16565b90612156565b610d468383612156565b1015610db357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f47616c61646f72506169723a204b000000000000000000000000000000000000604482015290519081900360640190fd5b5050610dd1816040015182606001518360000151846020015161224e565b60808082015160a0830151604080519283526020830191909152818101899052606082018890525173ffffffffffffffffffffffffffffffffffffffff87169233927fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822929081900390910190a350506001600c5550505050565b6040518060400160405280600d81526020017f47616c61646f72205632204c500000000000000000000000000000000000000081525081565b6008546dffffffffffffffffffffffffffff808216926e0100000000000000000000000000008304909116917c0100000000000000000000000000000000000000000000000000000000900463ffffffff1690565b6000610ee6338484612504565b5060015b92915050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526002602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14610fd65773ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054610fa490836121dc565b73ffffffffffffffffffffffffffffffffffffffff851660009081526002602090815260408083203384529091529020555b610fe1848484612573565b5060019392505050565b60016020526000908152604090205481565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60035481565b60055473ffffffffffffffffffffffffffffffffffffffff1633146110b257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f47616c61646f72506169723a20464f5242494444454e00000000000000000000604482015290519081900360640190fd5b6006805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560078054929093169116179055565b60095481565b600a5481565b6000600c5460011461118457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f47616c61646f72506169723a204c4f434b454400000000000000000000000000604482015290519081900360640190fd5b6000600c81905580611194610e84565b50600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905193955091935060009273ffffffffffffffffffffffffffffffffffffffff909116916370a08231916024808301926020929190829003018186803b15801561120e57600080fd5b505afa158015611222573d6000803e3d6000fd5b505050506040513d602081101561123857600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935060009273ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b1580156112b157600080fd5b505afa1580156112c5573d6000803e3d6000fd5b505050506040513d60208110156112db57600080fd5b5051905060006112fb836dffffffffffffffffffffffffffff87166121dc565b90506000611319836dffffffffffffffffffffffffffff87166121dc565b905060006113278787612648565b6000549091508061135e5761134a6103e8610cbb6113458787612156565b612788565b985061135960006103e86127d9565b6113af565b6113ac6dffffffffffffffffffffffffffff891661137c8684612156565b8161138357fe5b046dffffffffffffffffffffffffffff891661139f8685612156565b816113a657fe5b0461287d565b98505b60008911611408576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612a7c602a913960400191505060405180910390fd5b6114128a8a6127d9565b61141e86868a8a61224e565b811561145a57600854611456906dffffffffffffffffffffffffffff808216916e010000000000000000000000000000900416612156565b600b555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001600c5550949695505050505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600160205260409020545b919050565b600b5481565b60046020526000908152604090205481565b600080600c5460011461155f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f47616c61646f72506169723a204c4f434b454400000000000000000000000000604482015290519081900360640190fd5b6000600c8190558061156f610e84565b50600654600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905194965092945073ffffffffffffffffffffffffffffffffffffffff9182169391169160009184916370a08231916024808301926020929190829003018186803b1580156115f157600080fd5b505afa158015611605573d6000803e3d6000fd5b505050506040513d602081101561161b57600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff8516916370a08231916024808301926020929190829003018186803b15801561168f57600080fd5b505afa1580156116a3573d6000803e3d6000fd5b505050506040513d60208110156116b957600080fd5b5051905060006116c8306114a7565b905060006116d68888612648565b600054909150806116e78487612156565b816116ee57fe5b049a50806116fc8486612156565b8161170357fe5b04995060008b118015611716575060008a115b61176b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612acd602a913960400191505060405180910390fd5b6117753084612895565b611780878d8d6120b4565b61178b868d8c6120b4565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8916916370a08231916024808301926020929190829003018186803b1580156117f757600080fd5b505afa15801561180b573d6000803e3d6000fd5b505050506040513d602081101561182157600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191965073ffffffffffffffffffffffffffffffffffffffff8816916370a0823191602480820192602092909190829003018186803b15801561189357600080fd5b505afa1580156118a7573d6000803e3d6000fd5b505050506040513d60208110156118bd57600080fd5b505193506118cd85858b8b61224e565b811561190957600854611905906dffffffffffffffffffffffffffff808216916e010000000000000000000000000000900416612156565b600b555b604080518c8152602081018c9052815173ffffffffffffffffffffffffffffffffffffffff8f169233927fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496929081900390910190a35050505050505050506001600c81905550915091565b6040518060400160405280600a81526020017f47616c61646f722056320000000000000000000000000000000000000000000081525081565b6000610ee6338484612573565b6103e881565b600c54600114611a3157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f47616c61646f72506169723a204c4f434b454400000000000000000000000000604482015290519081900360640190fd5b6000600c55600654600754600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff9485169490931692611b079285928792611b02926dffffffffffffffffffffffffffff169185916370a0823191602480820192602092909190829003018186803b158015611ad057600080fd5b505afa158015611ae4573d6000803e3d6000fd5b505050506040513d6020811015611afa57600080fd5b5051906121dc565b6120b4565b611ba38184611b026008600e9054906101000a90046dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611ad057600080fd5b50506001600c5550565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b42841015611c5457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f47616c61646f723a204558504952454400000000000000000000000000000000604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff80891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015611db5573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590611e3057508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611e9b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f47616c61646f723a20494e56414c49445f5349474e4154555245000000000000604482015290519081900360640190fd5b611ea6898989612504565b505050505050505050565b600260209081526000928352604080842090915290825290205481565b600c54600114611f3f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f47616c61646f72506169723a204c4f434b454400000000000000000000000000604482015290519081900360640190fd5b6000600c55600654604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516120ad9273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015611fb657600080fd5b505afa158015611fca573d6000803e3d6000fd5b505050506040513d6020811015611fe057600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b15801561205357600080fd5b505afa158015612067573d6000803e3d6000fd5b505050506040513d602081101561207d57600080fd5b50516008546dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041661224e565b6001600c55565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561212557600080fd5b505af1158015612139573d6000803e3d6000fd5b505050506040513d602081101561214f57600080fd5b5050505050565b60008115806121715750508082028282828161216e57fe5b04145b610eea57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b80820382811115610eea57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b6dffffffffffffffffffffffffffff841180159061227a57506dffffffffffffffffffffffffffff8311155b6122e557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f47616c61646f72506169723a204f564552464c4f570000000000000000000000604482015290519081900360640190fd5b60085463ffffffff428116917c01000000000000000000000000000000000000000000000000000000009004811682039081161580159061233557506dffffffffffffffffffffffffffff841615155b801561235057506dffffffffffffffffffffffffffff831615155b156123fa578063ffffffff1661238d856123698661294e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1690612972565b600980547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092169290920201905563ffffffff81166123cd846123698761294e565b600a80547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff92909216929092020190555b600880547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000166dffffffffffffffffffffffffffff888116919091177fffffffff0000000000000000000000000000ffffffffffffffffffffffffffff166e0100000000000000000000000000008883168102919091177bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167c010000000000000000000000000000000000000000000000000000000063ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a1505050505050565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600160205260409020546125a390826121dc565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602052604080822093909355908416815220546125df90826129b3565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b1580156126b357600080fd5b505afa1580156126c7573d6000803e3d6000fd5b505050506040513d60208110156126dd57600080fd5b5051600b546001935090915080156127805760006127116113456dffffffffffffffffffffffffffff888116908816612156565b9050600061271e83612788565b90508082111561277d57600061274061273784846121dc565b60005490612156565b9050600061275983612753866003612156565b906129b3565b9050600081838161276657fe5b04905080156127795761277987826127d9565b5050505b50505b505092915050565b600060038211156127cb575080600160028204015b818110156127c5578091506002818285816127b457fe5b0401816127bd57fe5b04905061279d565b506114ce565b81156114ce57506001919050565b6000546127e690826129b3565b600090815573ffffffffffffffffffffffffffffffffffffffff831681526001602052604090205461281890826129b3565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600081831061288c578161288e565b825b9392505050565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020546128c590826121dc565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040812091909155546128f990826121dc565b600090815560408051838152905173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6dffffffffffffffffffffffffffff166e0100000000000000000000000000000290565b60006dffffffffffffffffffffffffffff82167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8416816129ab57fe5b049392505050565b80820182811015610eea57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b6040518060c0016040528060006dffffffffffffffffffffffffffff16815260200160006dffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152509056fe47616c61646f72506169723a20494e53554646494349454e545f4c49515549444954595f4d494e54454447616c61646f72506169723a20494e53554646494349454e545f4f55545055545f414d4f554e5447616c61646f72506169723a20494e53554646494349454e545f4c49515549444954595f4255524e454447616c61646f72506169723a20494e53554646494349454e545f4c495155494449545947616c61646f72506169723a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220b0fb75816ba7fa188abb405d12f4e335d1c8a2ddec63bc47cdbc52cd2b7cdba564736f6c634300060c0033