{"id":11,"date":"2023-05-18T16:26:24","date_gmt":"2023-05-18T13:26:24","guid":{"rendered":"http:\/\/pools.test\/log-in\/"},"modified":"2025-01-31T18:53:04","modified_gmt":"2025-01-31T15:53:04","slug":"log-in","status":"publish","type":"page","link":"https:\/\/baseinvdim.com.ua\/ru\/log-in\/","title":{"rendered":"\u0412\u043e\u0439\u0442\u0438"},"content":{"rendered":"\t\t\t\t<form method=\"post\" class=\"fs-login-form\" action=\"\"\n\t\t\t\t\tx-init=\"\n\t\t\t\t$data.loading = false;$data.errors = {};\n\t\t\t\t$data.success = false;\n\t\t\t\t$el.onsubmit = async function($event) { \n\t\t\t\t\t$event.preventDefault();\n\t\t\t\t\t$data.loading = true;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tconst response = await Alpine.store('FS').login($event);\n\t\t\t\t\t\t$data.loading = false;\n\t\t\t\t\t\tif (response.success) {\n\t\t\t\t\t\t\t$data.success = true;\n\t\t\t\t\t\t\tif (typeof response.data.redirect !== 'undefined') {\n\t\t\t\t\t\t\t\twindow.location.href = response.data.redirect;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tiziToast[response.data.type || 'success']({title: response.data.title || '\u0423\u0441\u043f\u0435\u0445',message: response.data.msg || 'Successfully logged in',position: 'topCenter'});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (response.data && response.data.errors) {\n\t\t\t\t\t\t\t\t$data.errors = response.data.errors;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tiziToast[response.data.type || 'error']({title: response.data.title || '\u041e\u0448\u0438\u0431\u043a\u0430',message: response.data.msg || 'Please check your login credentials',position: 'topCenter',timeout: response.data.type==='warning' ? 6000 : 4000,overlay: response.data.type==='warning' ? true : false,maxWidth: response.data.type==='warning' ? 400 : null,icon: ''});}\n\t\t\t\t\t} catch(error) {\n\t\t\t\t\t\t$data.loading = false;\n\t\t\t\t\t\tconsole.error('Error:', error);\n\t\t\t\t\t\tiziToast.error({title: '\u041e\u0448\u0438\u0431\u043a\u0430',message: error.message,position: 'topCenter'});\n\t\t\t\t\t}\n\t\t\t\t}\">\n\n\t\t\t\t\t<div class=\"alert alert-danger \" x-show=\"errors.any\" x-html=\"errors.any\"><\/div>\n\t\t<div class=\"w-[400px] max-w-full shadow-lg mx-auto p-[30px] space-y-5 rounded-2xl bg-white mb-[50px]\">\n    <div class=\"font-medium text-2xl text-center mb-5\">\u0412\u0445\u043e\u0434 \u043d\u0430 \u0441\u0430\u0439\u0442<\/div>\n\n    <div class=\"alert alert-danger text-red-500 text-center\" x-show=\"errors.any\" x-html=\"errors.any\"><\/div>\n\n    <div class=\"form-group\">\n        <div class=\"fs-field-wrap form-group fs-login-wrap\"><input type=\"text\"\n       name=\"fs_login\"\n\tautocomplete=\"username\"       id=\"fs_login\"\n       class=\"h-[60px] rounded-[30px] w-full border px-5\"\n       value=\"\"\n       placeholder=\"Email \u0430\u0431\u043e \u043b\u043e\u0433\u0456\u043d\"\n\t   \t          title=\"\u044d\u0442\u043e \u043f\u043e\u043b\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435\"  >\n<div class=\"fs-field-after\"><span class=\"fs-error\" x-show=\"errors['fs_login']\" x-text=\"errors['fs_login']\"><\/span><\/div><\/div>\n    <\/div>\n\n    <div class=\"form-group\">\n        <div class=\"fs-field-wrap form-group fs-password-wrap\"><input type=\"password\" name=\"fs_password\" id=\"fs_password\"\n       class=\"h-[60px] rounded-[30px] w-full border px-5\"\n       value=\"\"\n       placeholder=\"\u041f\u0430\u0440\u043e\u043b\u044c\"\n                     title=\"\u044d\u0442\u043e \u043f\u043e\u043b\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435\"  autocomplete=\"off\">\n<div class=\"fs-field-after\"><span class=\"fs-error\" x-show=\"errors['fs_password']\" x-text=\"errors['fs_password']\"><\/span><\/div><\/div>\n    <\/div>\n\n    <div class=\"form-group\">\n        <button type=\"submit\"\n            class=\"w-full bg-theme-blue1 text-xl font-semibold px-[30px] py-[18px] leading-6 text-white rounded-[35px] inline-flex items-center justify-center\">\n            \u0412\u043e\u0439\u0442\u0438        <\/button>\n    <\/div>\n\n    <div class=\"flex justify-center gap-3\">\n        <a href=\"https:\/\/baseinvdim.com.ua\/ru\/register\/\"\n            class=\"hover:text-theme-blue1\">\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f<\/a>\n        |\n        <a href=\"https:\/\/baseinvdim.com.ua\/ru\/lostpassword\/\"\n            class=\"hover:text-theme-blue1\">\u0417\u0430\u0431\u044b\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c?<\/a>\n    <\/div>\n<\/div><\/form>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-full-width.php","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-11","page","type-page","status-publish","hentry"],"yoast_head":"\n<title>\u0412\u043e\u0439\u0442\u0438<\/title>\n<meta name=\"robots\" content=\"noindex, nofollow\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:locale:alternate\" content=\"uk\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0412\u043e\u0439\u0442\u0438\" \/>\n<meta property=\"og:url\" content=\"https:\/\/baseinvdim.com.ua\/ru\/log-in\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0411\u0430\u0441\u0435\u0439\u043d \u0443 \u0412\u0430\u0448 \u0414\u0456\u043c\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-31T15:53:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 \u043c\u0438\u043d\u0443\u0442\u0430\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/baseinvdim.com.ua\/ru\/log-in\/\",\"url\":\"https:\/\/baseinvdim.com.ua\/ru\/log-in\/\",\"name\":\"\u0412\u043e\u0439\u0442\u0438\",\"isPartOf\":{\"@id\":\"https:\/\/baseinvdim.com.ua\/#website\"},\"datePublished\":\"2023-05-18T13:26:24+00:00\",\"dateModified\":\"2025-01-31T15:53:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/baseinvdim.com.ua\/ru\/log-in\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/baseinvdim.com.ua\/ru\/log-in\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/baseinvdim.com.ua\/ru\/log-in\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/baseinvdim.com.ua\/ru\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0412\u043e\u0439\u0442\u0438\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/baseinvdim.com.ua\/#website\",\"url\":\"https:\/\/baseinvdim.com.ua\/\",\"name\":\"\u0411\u0430\u0441\u0435\u0439\u043d \u0432 \u0432\u0430\u0448 \u0434\u0456\u043c\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/baseinvdim.com.ua\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/baseinvdim.com.ua\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/baseinvdim.com.ua\/#organization\",\"name\":\"\u0411\u0430\u0441\u0435\u0439\u043d \u0432 \u0432\u0430\u0448 \u0434\u0456\u043c\",\"url\":\"https:\/\/baseinvdim.com.ua\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/baseinvdim.com.ua\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/baseinvdim.com.ua\/wp-content\/uploads\/2023\/06\/logo-bas.svg\",\"contentUrl\":\"https:\/\/baseinvdim.com.ua\/wp-content\/uploads\/2023\/06\/logo-bas.svg\",\"width\":190,\"height\":60,\"caption\":\"\u0411\u0430\u0441\u0435\u0439\u043d \u0432 \u0432\u0430\u0448 \u0434\u0456\u043c\"},\"image\":{\"@id\":\"https:\/\/baseinvdim.com.ua\/#\/schema\/logo\/image\/\"}}]}<\/script>\n","yoast_head_json":{"title":"\u0412\u043e\u0439\u0442\u0438","robots":{"index":"noindex","follow":"nofollow"},"og_locale":"ru_RU","og_type":"article","og_title":"[:ua]\u0412\u0432\u0456\u0439\u0442\u0438[:ru]\u0412\u043e\u0439\u0442\u0438[:] - \u0411\u0430\u0441\u0435\u0439\u043d \u0443 \u0412\u0430\u0448 \u0414\u0456\u043c","og_url":"https:\/\/baseinvdim.com.ua\/ru\/log-in\/","og_site_name":"\u0411\u0430\u0441\u0435\u0439\u043d \u0443 \u0412\u0430\u0448 \u0414\u0456\u043c","article_modified_time":"2025-01-31T15:53:04+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"1 \u043c\u0438\u043d\u0443\u0442\u0430"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/baseinvdim.com.ua\/ru\/log-in\/","url":"https:\/\/baseinvdim.com.ua\/ru\/log-in\/","name":"\u0412\u043e\u0439\u0442\u0438","isPartOf":{"@id":"https:\/\/baseinvdim.com.ua\/#website"},"datePublished":"2023-05-18T13:26:24+00:00","dateModified":"2025-01-31T15:53:04+00:00","breadcrumb":{"@id":"https:\/\/baseinvdim.com.ua\/ru\/log-in\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/baseinvdim.com.ua\/ru\/log-in\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/baseinvdim.com.ua\/ru\/log-in\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/baseinvdim.com.ua\/ru\/"},{"@type":"ListItem","position":2,"name":"\u0412\u043e\u0439\u0442\u0438"}]},{"@type":"WebSite","@id":"https:\/\/baseinvdim.com.ua\/#website","url":"https:\/\/baseinvdim.com.ua\/","name":"\u0411\u0430\u0441\u0435\u0439\u043d \u0432 \u0432\u0430\u0448 \u0434\u0456\u043c","description":"","publisher":{"@id":"https:\/\/baseinvdim.com.ua\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/baseinvdim.com.ua\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/baseinvdim.com.ua\/#organization","name":"\u0411\u0430\u0441\u0435\u0439\u043d \u0432 \u0432\u0430\u0448 \u0434\u0456\u043c","url":"https:\/\/baseinvdim.com.ua\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/baseinvdim.com.ua\/#\/schema\/logo\/image\/","url":"https:\/\/baseinvdim.com.ua\/wp-content\/uploads\/2023\/06\/logo-bas.svg","contentUrl":"https:\/\/baseinvdim.com.ua\/wp-content\/uploads\/2023\/06\/logo-bas.svg","width":190,"height":60,"caption":"\u0411\u0430\u0441\u0435\u0439\u043d \u0432 \u0432\u0430\u0448 \u0434\u0456\u043c"},"image":{"@id":"https:\/\/baseinvdim.com.ua\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/baseinvdim.com.ua\/ru\/wp-json\/wp\/v2\/pages\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/baseinvdim.com.ua\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/baseinvdim.com.ua\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/baseinvdim.com.ua\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/baseinvdim.com.ua\/ru\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":3,"href":"https:\/\/baseinvdim.com.ua\/ru\/wp-json\/wp\/v2\/pages\/11\/revisions"}],"predecessor-version":[{"id":11992,"href":"https:\/\/baseinvdim.com.ua\/ru\/wp-json\/wp\/v2\/pages\/11\/revisions\/11992"}],"wp:attachment":[{"href":"https:\/\/baseinvdim.com.ua\/ru\/wp-json\/wp\/v2\/media?parent=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}