{"id":4861,"date":"2024-07-16T09:39:20","date_gmt":"2024-07-16T09:39:20","guid":{"rendered":"https:\/\/lovedate.gavencreative.com\/?page_id=4861"},"modified":"2024-07-16T09:39:20","modified_gmt":"2024-07-16T09:39:20","slug":"chat","status":"publish","type":"page","link":"https:\/\/pallettium.in\/weirdos\/chat\/","title":{"rendered":"Chat"},"content":{"rendered":"           <div class=\"row jws-chat-members\" data-conversation=\"\" data-total=>\r\n     \r\n       <div class=\"col-lt-3 col-xl-4 chat-sidebar\">\r\n          <form id=\"form-search-conversation\">\r\n          \r\n                <input type=\"text\" name=\"search\" placeholder=\"Search conversation\" onkeyup=\"search_conversation()\" autocomplete=\"off\" \/>\r\n                <i aria-hidden=\"true\" class=\"jws-icon-magnifying-glass\"><\/i>\r\n                <script type=\"text\/javascript\">\r\n                \tfunction search_conversation() {\r\n                \r\n                \t    var filter, ul, text, found = 0;\r\n                \r\n                \t    filter \t\t= jQuery( \"#form-search-conversation [name='search']\" ).val().toUpperCase();\r\n                        var list = jQuery('.conversation-list');\r\n                \t    list.find( '.conversation-item h6' ).each(function(i){\r\n                \t    \ttext = jQuery( this ).text().toUpperCase().indexOf(filter);\r\n                \t    \tif ( text > -1 ) {\r\n                \t    \t\tjQuery(this).closest( '.conversation-item' ).css( 'display', 'flex' );\r\n                \t    \t\tfound++;\r\n                \t    \t}else{\r\n                \t    \t\tjQuery(this).closest( '.conversation-item' ).css( 'display', 'none' );\r\n                \t    \t}\r\n                \t    });\r\n                \r\n                \t    if( found == 0 ){\r\n                \t    \tvar notFound = '<div class=\"not-found p\">Not found<\/div>';\r\n                \r\n                \t    \tif( list.find( 'div.not-found' ).length == 0 ){\r\n                \t    \t\tlist.append( notFound );\t\r\n                \t    \t}\r\n                \t    }else{\r\n                \t    \tlist.find( 'div.not-found' ).remove();\r\n                \t    }\r\n                \t}\r\n                       document.getElementById(\"form-search-conversation\").addEventListener(\"keydown\", function(event) {\r\n                         \r\n                            if (event.key === \"Enter\") {\r\n                              \r\n                                event.preventDefault();\r\n                            }\r\n                        });\r\n                <\/script>\r\n          \r\n          <\/form>\r\n          \r\n          <div class=\"conversation-list jws-scrollbar\">\r\n       \r\n            \r\n                                    \r\n          <\/div>\r\n          \r\n                 <\/div>\r\n       \r\n       <div class=\"col-lt-9 col-xl-8 chat-content\">\r\n                   \r\n          <div class=\"conversation-header\">\r\n             \r\n          <\/div>\r\n            \r\n            <div class=\"row row-messages-list-container\">\r\n            <div class=\"col-xl-8 messages-list-container\">\r\n            <div id=\"messages-list\" class=\"jws-scrollbar\">\r\n              <div id=\"messages-inner\">\r\n              \r\n                <div class=\"jws-filter-empty empty\"><i class=\"jws-icon-chatscircle\"><\/i><h6>Select a new conversation to display<\/h6><p>or<\/p><p>Start a new conversation!<\/p><\/div>              \r\n              \r\n              <\/div>\r\n            <\/div>\r\n            <form id=\"form-create-messages\">\r\n  \r\n            <\/form>\r\n            <\/div>\r\n            <div class=\"col-xl-4\">         \r\n        <div class=\"conversation-user-info jws-scrollbar\">\r\n        <div class=\"user-profile\">\r\n        \r\n        <\/div>\r\n        <div class=\"banner-chat\">[hf_template id=\"76686\"]<\/div>        \r\n        <\/div>\r\n      \r\n         <\/div>\r\n            \r\n            <\/div> \r\n            \r\n       <\/div>\r\n      \r\n      \r\n      <\/div>\r\n     \r\n     \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"pmpro_default_level":"","footnotes":""},"class_list":["post-4861","page","type-page","status-publish","hentry","pmpro-has-access"],"acf":[],"_links":{"self":[{"href":"https:\/\/pallettium.in\/weirdos\/wp-json\/wp\/v2\/pages\/4861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pallettium.in\/weirdos\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pallettium.in\/weirdos\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pallettium.in\/weirdos\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pallettium.in\/weirdos\/wp-json\/wp\/v2\/comments?post=4861"}],"version-history":[{"count":0,"href":"https:\/\/pallettium.in\/weirdos\/wp-json\/wp\/v2\/pages\/4861\/revisions"}],"wp:attachment":[{"href":"https:\/\/pallettium.in\/weirdos\/wp-json\/wp\/v2\/media?parent=4861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}