text: /*
     +----------------------------------------------------------------------+
     | Copyright (c) 2020 Riverside Rocks authors                           |
     +----------------------------------------------------------------------+
     | This source file is subject to the Apache 2.0 Lisence.               |
     |                                                                      |
     | If you did not receive a copy of the license and are unable to       |
     | obtain it through the world-wide-web, please send a email to         |
     | support@riverside.rocks so we can mail you a copy immediately.       |
     +----------------------------------------------------------------------+
     | Authors: Trent "Riverside Rocks" Wiles <trent@riverside.rocks>       |
     +----------------------------------------------------------------------+
  */
  
  /*
  * @returns Client's IP
  */
  
  function res(){
      //if(Cookies.read("opt") !== "true")
          //{
          $( document ).ready(function() {
                  $.get("https://ipapi.co/country/", function(data1, status1){
                      var country = data1
                      var ua = navigator.userAgent;
                      var ref = document.referrer
                      if(ref == "")
                      {
                          ref = "None"
                      }
                      $.post("/v1/research",
                      {
                      agent: ua,
                      locale: country,
                      time: Date.now(),
                      referrer: ref
                      },
                      function(data3,status3){
                          console.log(status3);
                          console.log(data3);
                      });
                      //return true;
                  });                
          });
      //}else{
        //  console.log("We noticed that you opted out of analytics. We respect that. (╯°□°）╯︵ ┻━┻")
      //}
  }
  function updateReadTimeService()
  {
      var isAuth = true;
      $.post("/v1/boost",
      {
          base: isAuth
      },
      function(data3,status3){
          console.log(status3);
          console.log(data3);
      });
  }