{"id":222,"date":"2025-06-01T00:53:13","date_gmt":"2025-06-01T00:53:13","guid":{"rendered":"https:\/\/www.livingcortex.org\/?page_id=222"},"modified":"2025-06-13T23:50:59","modified_gmt":"2025-06-13T23:50:59","slug":"ai-2","status":"publish","type":"page","link":"https:\/\/www.hivelib.com\/?page_id=222","title":{"rendered":"AI"},"content":{"rendered":"\n<style>\n  #button-send {\n    padding: 16px;\n    margin-right: 10px;\n    background-color: green;\n    color: black;\n    border: none;\n    border-radius: 6px;\n    cursor: pointer;\n    opacity: 1;\n    transition: opacity 0.2s;\n  }\n\n  #button-send:disabled {\n    background-color: #ccc;\n    color: #666;\n    cursor: not-allowed;\n    opacity: 0.6;\n  }\n\nthink {\n   display: none;\n}\n\nh2 {\n   color: yellow;\n}\n\nh3, h4, h5, h6 {\n   color: #c93333;\n}\n\n.wp-block-group.is-layout-constrained {\n    max-width: 100% !important; \/* Override WordPress constrained layout *\/\n}\n\n.wp-site-blocks {\n    background-color: black;\n    color: white;\n}\n\nhtml, body {\n  height: 100%;\n  margin: 0;\n  background-color: black;\n}\n\n\/* Scrollbar track *\/\ntextarea::-webkit-scrollbar {\n  width:10px; \/* width of the vertical scrollbar *\/\n}\n\n\/* Scrollbar track background *\/\ntextarea::-webkit-scrollbar-track {\n  background: black;\n  border-radius: 6px;\n}\n\n\/* Scrollbar thumb *\/\ntextarea::-webkit-scrollbar-thumb {\n  background-color: white;\n  border-radius: 6px;\n  border: 3px solid black; \/* creates padding around thumb *\/\n}\n\n\/* Scrollbar thumb on hover *\/\ntextarea::-webkit-scrollbar-thumb:hover {\n  background-color: yellow;\n}\n<\/style>\n\n<div>\n   <div id=\"ai-response-container\" class=\"is-style-default max-width\" style=\"width: 80vw; font-size: larger; background-color: black; color: white; overflow-y: auto; padding-left: 80px; padding-right:80px;\"><\/div>\n   <div style=\"padding-bottom: 200px; width: 100%;\"><\/div>\n<\/div>\n\n<div id=\"question-container\" style=\"position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 50vw; height: auto; background: black; z-index: 1000; padding: 12px 0; border: 2px solid #fff; border-radius: 18px; box-shadow: 0 0 12px #222;\">\n\n  <!-- The toolbar -->\n  <div style=\"background: black; padding:4px; display: flex; justify-content: flex-end;\">\n    <label for=\"message\" style=\"font-weight: bold; margin: 0 10px 4px 2vw;\">Question:<\/label>\n    <i style=\"padding: 2px; margin: 0 5px 5px 0;\" class=\"fa fa-microphone\" title=\"Speech to Text\" id=\"startSpeech\"><\/i>\n    <i style=\"padding: 2px; display: flex; flex: auto;\" class=\"fa fa-times-circle\" title=\"Clear\" onclick=\"clearMessage()\"><\/i>\n\n    <i style=\"padding: 2px;\" class=\"fa fa-arrow-up\"   onclick=\"scrollToAIResponse(-1)\" title=\"Scroll to Previous Response\"><\/i>\n    <i style=\"padding: 2px;\" class=\"fa fa-arrow-down\" onclick=\"scrollToAIResponse(+1)\" title=\"Scroll to Next Response\"><\/i>\n    <i style=\"padding: 2px; margin: 0 20px 0 0\" class=\"fa fa-download\" onclick=\"scrollToBottom()\" title=\"Move to bottom\"><\/i>\n    <i style=\"padding: 2px; margin: 0 0 0 0\" class=\"fa fa-paste\" onclick=\"copyClipboardToQuestion()\" title=\"Paste Clipboard\"><\/i>\n  <\/div>\n\n  <div style=\"display: flex; align-items: center; gap: 10px; margin-left: 2vw;\">\n    <textarea id=\"message\" name=\"message\" style=\"border: none; outline: none; resize: none; min-height: 10vh; width: 100%; font-size: larger; background-color: black; color: white;\"><\/textarea>\n    <button id=\"button-send\" disabled=true>Send<\/button>\n  <\/div>\n<\/div>\n\n\n\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/marked\/marked.min.js\"><\/script>\n<!-- nano \/home\/hivelib\/htdocs\/www.hivelib.com\/wp-includes\/js\/ai-scripts.js -->\n<script src=\"https:\/\/www.hivelib.com\/wp-includes\/js\/ai-scripts.js\" defer><\/script>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: Send<\/p>\n","protected":false},"author":1,"featured_media":116,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"wp-custom-template-blank-page","meta":{"footnotes":""},"class_list":["post-222","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.hivelib.com\/index.php?rest_route=\/wp\/v2\/pages\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hivelib.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hivelib.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hivelib.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hivelib.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=222"}],"version-history":[{"count":2,"href":"https:\/\/www.hivelib.com\/index.php?rest_route=\/wp\/v2\/pages\/222\/revisions"}],"predecessor-version":[{"id":250,"href":"https:\/\/www.hivelib.com\/index.php?rest_route=\/wp\/v2\/pages\/222\/revisions\/250"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hivelib.com\/index.php?rest_route=\/wp\/v2\/media\/116"}],"wp:attachment":[{"href":"https:\/\/www.hivelib.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}