module.exports = function(Handlebars) {

this["JST"] = this["JST"] || {};

this["JST"]["book_tr.tpl"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    return "<td><%- title %></td>\r\n<td><%- author %></td>\r\n<td><%- genre %></td>\r\n<td><%- year %></td>\r\n<td> <% if(user.firstname) { %> <a class=\"btn btn-primary btn-xs js-show-user\"><%- user.firstname %> <%-\r\n        user.lastname %> <a style=\"cursor:pointer;\" class=\"btn btn-primary btn-xs js-return-book\">Return</a> <% } %></a>\r\n</td>\r\n<td>\r\n    <button class=\"btn btn-small btn-success js-show\">Show</button>\r\n    <button class=\"btn btn-small btn-warning js-edit\">Edit</button>\r\n\r\n    <button class=\"btn btn-small btn-danger pull-right js-delete\">Delete</button>\r\n</td>\r\n";
},"useData":true});

this["JST"]["books_table_template.tpl"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    return "<thead>\r\n<tr>\r\n    <th>Title:</th>\r\n    <th>Author:</th>\r\n    <th>Genre:</th>\r\n    <th>Year:</th>\r\n    <th>Owner:</th>\r\n    <th>Action:</th>\r\n</tr>\r\n</thead>\r\n<tbody>\r\n\r\n</tbody>";
},"useData":true});

this["JST"]["edit_book_template.tpl"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    return "<div id=\"messages2\" style=\"min-height: 40px;\">\r\n\r\n</div>\r\n<form>\r\n    <input class=\"form-control\" name=\"id\" type=\"hidden\" value=\"<%- id %>\">\r\n    <div class=\"form-group\">\r\n        <label for=\"\">Title</label>\r\n        <input class=\"form-control\" name=\"title\" type=\"text\" value=\"<%- title %>\">\r\n    </div>\r\n    <div class=\"form-group\">\r\n        <label for=\"\">Author</label>\r\n        <input class=\"form-control\" name=\"author\" type=\"text\" value=\"<%- author %>\">\r\n    </div>\r\n\r\n    <div class=\"form-group\">\r\n        <label for=\"\">Genre</label>\r\n        <input class=\"form-control\" name=\"genre\" type=\"text\" value=\"<%- genre %>\">\r\n    </div>\r\n    <div class=\"form-group\">\r\n        <label for=\"\">Year</label>\r\n        <input class=\"form-control\" name=\"year\" type=\"text\" value=\"<%- year %>\">\r\n    </div>\r\n    <input class=\"btn btn-primary js-save\" type=\"submit\" value=\"Save\">\r\n</form>";
},"useData":true});

this["JST"]["show_book_template.tpl"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    return "<div class=\"form-group\">\r\n    <label for=\"\">Title</label>\r\n    <input class=\"form-control\" readonly=\"readonly\" name=\"title\" type=\"text\" value=\"<%- title %>\">\r\n</div>\r\n<div class=\"form-group\">\r\n    <label for=\"\">Author</label>\r\n    <input class=\"form-control\" readonly=\"readonly\" name=\"author\" type=\"text\" value=\"<%- author %>\">\r\n</div>\r\n\r\n<div class=\"form-group\">\r\n    <label for=\"\">Genre</label>\r\n    <input class=\"form-control\" readonly=\"readonly\" name=\"genre\" type=\"text\" value=\"<%- genre %>\">\r\n</div>\r\n<div class=\"form-group\">\r\n    <label for=\"\">Year</label>\r\n    <input class=\"form-control\" readonly=\"readonly\" name=\"year\" type=\"text\" value=\"<%- year %>\">\r\n</div>\r\n<button class=\"btn btn-primary js-edit\">Edit</button>\r\n<% if(user_id != 0)  { %>\r\n<button class=\"btn btn-primary js-return\">Return book</button> <% } %>";
},"useData":true});

this["JST"]["header.tpl"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    return "<div class=\"hdr-header\"><img id=\"BSheaderLogo\" src=\"http://academy.binary-studio.com/resources/logo.png\"\r\n                             class=\"hdr-logo\"/>\r\n    <div>\r\n        <div class=\"hdr-buttons\"><input id=\"searchBar\" placeholder=\"Search\"/><a id=\"userLink\"\r\n                                                                                class=\"hdr-noTextDecoration\">\r\n            <div id=\"userProfile\"><img id=\"avatar\" class=\"hdr-avatar\"/><span id=\"userName\"></span><span\r\n                    id=\"profileBarArrDwn\"></span></div>\r\n        </a>\r\n            <button id=\"appsBtn\" class=\"hdr-button\"><img src=\"http://team.binary-studio.com/app/images/Thumbnails.png\"\r\n                                                         class=\"hdr-appsLogo\"/></button>\r\n            <button id=\"notificationBtn\" class=\"hdr-button\"><img src=\"http://team.binary-studio.com/app/images/bell.png\"\r\n                                                                 class=\"hdr-appsLogo\"/></button>\r\n        </div>\r\n        <div id=\"notificationCounter\" class=\"hdr-invisible\"></div>\r\n        <div id=\"search\"></div>\r\n    </div>\r\n</div>\r\n<div id=\"logOutBox\" class=\"hdr-invisible hdr-headerElements\">\r\n    <div id=\"userprofileBtnInBox\" class=\"hdr-logOutButtons\">\r\n        <button id=\"userProfileInBoxBtn\" class=\"hdr-userprofileAndLogoutBtn hdr-button\"><img\r\n                src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAABFUlEQVRIS82V3RHBQBSFv3SgA1RACVSACtABFaACJdABHdABKkAHSjAnk+QhdrM3MXbcl8yE3e+e+3OSECGSCAzqQAbAFOhkiZ2BjSVJK2QBbB0XPjLQvgpmgSjzeyDjLiCgMyyQGbALQFS29TcQHV79GhJFiabqFFAyBDRtjXvSBy7/0Pg54B1jy3S1slL0PGpugEr6+qZcOlvV/EoVOmxRkieoZWuXsn0C6plXRV2Ia18qlzBPqI6SKJAjMCqVS+8mISe2KJFByoHHnssEWjY1SI2lPEtPS+Tfl4/NdynRXhxqXF5OQBCVsJg4F+QK+BbPokj/EUh+lkYZYjFDK6gwTRfE2oMQTGrS/limK3RZ8PcokDcWljAaGF/vbwAAAABJRU5ErkJggg==\"\r\n                class=\"hdr-userprofileAndLogoutImg\"/><span>Profile</span></button>\r\n    </div>\r\n    <div id=\"logOutBtnInBox\" class=\"hdr-logOutButtons\">\r\n        <button id=\"logOutButton\" class=\"hdr-userprofileAndLogoutBtn hdr-button\"><img\r\n                src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAx0lEQVRIS+2V0Q3CQAxDXydgBGATRqEbwEQwCiPABrBBmQBklEqhKpwruC+4n/uoYydOrmmofJrK/GSBFbADFqboGWiBwzt8FlDA3CTvYYpZugK3ALq2WfhMZgWkbC38bwtY8/CJRUOBPbABuvzhmwJq+jHehu7HcQT6abEsiQq2gCqqInANq2wBN3NVegLWYZVtkStQvcmjiThNflXB/1dR7O1ki/TEZ0XaZ8CltAGHK1Oj5m41kWvm7ZU5MXkP7q5Hj20EdQcvdDIZh0O7hwAAAABJRU5ErkJggg==\"\r\n                class=\"hdr-userprofileAndLogoutImg\"/><span>Logout</span></button>\r\n    </div>\r\n</div>\r\n<div id=\"appsBlock\" class=\"hdr-invisible\">\r\n    <div id=\"appsList\"></div>\r\n</div>\r\n<div id=\"notificationBlock\" class=\"hdr-invisible\">\r\n    <ul id=\"notificationList\"></ul>\r\n    <a id=\"readAllBtn\" href=\"\" class=\"hdr-noTextDecoration hdr-specialNotifBtn\"><img width=\"20\" height=\"20\"\r\n                                                                                     src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAABkElEQVRIS+2U7S0EURSGn60AHVABKqADdLAqQAWoABWgAlSACtABFaAC8kzOK9dmZzP+bEScZJLdO+e8X/feGTGHGs2Bg3+SH6X8a+LaBLaAtXoWgTfgsZ5r4H6WtVlOxsAhdIfjArgrUAkkklQB+8ArcARcTiObRuLwOfAObADrBe6873R1M7H2UG4WgN3mXcc5SaIalfk8lzrVWjqTPCWYDi1dOrsMnFYCZ2lsSRxQ6XZDYJ/DljGpNKWIlfqTnhC5T7pTyJeTKNKBYC14H8lLKZ/W657p6EMinWSDoypKdSTp0LgE1UFbXeSJSyeyHjRObLZJMo+rlTgFy5oinHc/Ujo5qaTGk3uyCuwUuAMSGJdAibFVKvBtiYsL166Ap0qp93QZYYb8bRR7dUx1J5BHWQG6z54qyhN4XDOdoL574pAXzGaPp6ACCuIJ8w4pwjVJderFXSr1ibKXJHHoQBDJBJTMCHLjjVZwiQW3N46+7f6QD2SA8u2Kk/bbpYDeGkIya37Qu3+SQTGl6e/E9QlOFWJ6RtIuVwAAAABJRU5ErkJggg==\"/></a><a\r\n        href=\"http://team.binary-studio.com/app/#/\" class=\"hdr-noTextDecoration hdr-specialNotifBtn\"><img width=\"20\"\r\n                                                                                                          height=\"20\"\r\n                                                                                                          src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAB30lEQVRYR+2W7VHCQBCGoQK1A60ArECsQK1ArECtAKwArMBYgXYAVqBWoFagVqDvw+w6R8jlQ0jyh5vZ4QJ3+z63Hxe6nZZHt2X9zhaACIxlP22lAgDEX2VfDUPsSq/nAMd6mDcMMJDezAGu9TBtGIDUjxwA7UR20RAEWudoOcCN5leyBxnRqKseyPudjJQT8b8I8AWi1MGbLdg0BOIz2YGM/C+e00XIl0DQGaTjZUMp6Vt0v02cwwGxAoAeEI+ynkViXQjEOfmTbGiRRicK4IdONDmRURPM/zMQJOf3Jh76KARgMYU5kZGOqhC+N9bipQCA8FMAULZNWUub5YGXBgDCHVIbOI11iLfZqe3JAy4FkO5bovEp87YNc+pttmfipIDiiwEXAlC9FBAOORHd4G26Y47nRoAzLrEPGXMixH4iBnBWS+cCIIg4b0nmYciBSGR0yLsB7OuTSufUWWuPDAIgH1GAqVZcyriex8GG9BRR4Bg4dpisLfgZmT/8MlYACDFhPJQNzWmOfuWfvDCftfNMtrigwtcxp+aqRHzd2y9Gh2gio4ZuZZPwdZyVw8rHLLEhrKGl1zF5anKgt/Q6njepLq1BWAPkPHa71cVFKvr+t7wukUK/ALQ6tgCtR+AX0EuQCjZ0KYUAAAAASUVORK5CYII=\"/></a><a\r\n        href=\"http://team.binary-studio.com/app/#/settings\" class=\"hdr-noTextDecoration hdr-specialNotifBtn\"><img\r\n        width=\"20\" height=\"20\"\r\n        src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACL0lEQVRYR9WXgVHDMAxF2wlgA8oEwASUDcoElAmADdIJgAkoE9BOQDegbFAmACYAPc7OqYocJ21zPXTna2NbX1+yJCf93mbyIGo3RnUiz0VbuH5bhbB/Ib/nRncuz6O2eJsS+BRDh8bYSp6Pd0XgVIBeZNzJmBlQDEPAE88honIv41LG0ip5Chh/VR5OA5GvoMzZkwOeXMsk+xGIYngcntG/sCQsAWs8GlkFYMAGCeN6LwTZC56WCglLAENHGQPbLr9rYpbAUBYJf5fCMSyiAS8HvBrfFaFHAbrVYB4BkgeGJ7uyGnDWQl8XAda6iAIlXameVCPyGo0NCB7FuibbcxEjwSuNyhIg/FceU2X9W/4Xzh7OlvmDmqMbyxotO/aUHgRoFnjAsO3Vw9LNxq5DArycQIDoLSHwk9ut1t1EMvoA546jVGlL4Fk0CWOdTGWRY2wk/44A4T3LuPYW8qlxBIqgQBI2uQfceg7Wmibhh05CyzQHQgZDmraqhWua+bpKqlRQqhGtGkTjr4wCg1jGdWHH64HdkCKw11ZMCEmkCttGWZXeRLS4issuyFYvAk8yP97SWEo9ex2PRJOX0S6Fl9NZNLCPV7K1ZPReShfCzt5o3AFTGZRorldggCTmGO2dwE06lBGrx80BSkqTsOcGMHniia1zXU0V4wCkyhAS0WPIaKFK2nyY4DFY5FfpeQRMEUg4WE5TSvaY3EaTA9qUAFHZ68ep1yknQqrIeWzXfwFZJHIs2+DwVAAAAABJRU5ErkJggg==\"/></a>\r\n</div>";
},"useData":true});

this["JST"]["edit_user_template.tpl"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    return "<div class=\"messages\" style=\"min-height: 40px;\">\r\n\r\n</div>\r\n<form>\r\n    <input class=\"form-control\" name=\"id\" type=\"hidden\" value=\"<%- id %>\">\r\n    <div class=\"form-group\">\r\n        <label for=\"\">First Name</label>\r\n        <input class=\"form-control\" id=\"firstname\" name=\"firstname\" type=\"text\" value=\"<%- firstname %>\">\r\n    </div>\r\n    <div class=\"form-group\">\r\n        <label for=\"\">Last Name</label>\r\n        <input class=\"form-control\" name=\"lastname\" type=\"text\" value=\"<%- lastname %>\">\r\n    </div>\r\n\r\n    <div class=\"form-group\">\r\n        <label for=\"\">Email</label>\r\n        <input class=\"form-control\" name=\"email\" type=\"text\" value=\"<%- email %>\">\r\n    </div>\r\n    <input class=\"btn btn-primary js-save\" type=\"submit\" value=\"Save\">\r\n</form>";
},"useData":true});

this["JST"]["show_user_template.tpl"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    return "<div class=\"form-group\">\r\n    <label for=\"\">First Name</label>\r\n    <input class=\"form-control\" readonly=\"readonly\" name=\"firstname\" type=\"text\" value=\"<%- firstname %>\">\r\n</div>\r\n<div class=\"form-group\">\r\n    <label for=\"\">Last Name</label>\r\n    <input class=\"form-control\" readonly=\"readonly\" name=\"lastname\" type=\"text\" value=\"<%- lastname %>\">\r\n</div>\r\n\r\n<div class=\"form-group\">\r\n    <label for=\"\">Email</label>\r\n    <input class=\"form-control\" readonly=\"readonly\" name=\"email\" type=\"text\" value=\"<%- email %>\">\r\n</div>\r\n<button class=\"btn btn-primary js-edit\">Edit</button>\r\n\r\n<table class=\"table table-striped table-hover table-bordered\"><br><br>\r\n    <thead>\r\n    <td>Book info:</td>\r\n    </thead>\r\n    <tbody>\r\n    <% _.each(books, function(book, key) { %>\r\n    <tr>\r\n        <td><%- book.title %> - <%- book.author %> - <%- book.genre %> - <%- book.year %></td>\r\n\r\n    </tr>\r\n    <% }); %>\r\n    </tbody>\r\n</table>";
},"useData":true});

this["JST"]["user_tr.tpl"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    return "<td><%- firstname %></td>\r\n<td><%- lastname %></td>\r\n<td><%- email %></td>\r\n<td><%- bookscount %></td>\r\n<td>\r\n    <button class=\"btn btn-small btn-success js-show\">Show</button>\r\n    <button class=\"btn btn-small btn-warning js-edit\">Edit</button>\r\n    <button class=\"btn btn-small btn-default js-give\">Give a free book</button>\r\n    <button class=\"btn btn-small btn-danger pull-right js-delete\">Delete</button>\r\n\r\n</td>";
},"useData":true});

this["JST"]["users_table_template.tpl"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    return "<thead>\r\n<tr>\r\n    <th>FirstName:</th>\r\n    <th>LastName:</th>\r\n    <th>Email:</th>\r\n    <th>Books:</th>\r\n    <th>Action:</th>\r\n</tr>\r\n</thead>\r\n<tbody>\r\n\r\n</tbody>";
},"useData":true});

return this["JST"];

};