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B,cAAc,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;YAC/B,CAAC,EAAE,IAAI,CAAC,CAAC;YACT,cAAc,CAAC,4BAA4B,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAEzE,CAAC;QACD,IAAI,aAAa,CAAC,WAAW,GAAG,IAAI,EAAE,CAAC;YAC3C,cAAc,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC;QACjC,CAAC;QACH,2DAA2D;QACzD,eAAe,EAAE,CAAC;IACpB,CAAC,EAAE,IAAI,CAAC,CAAC;AACX,CAAC,CAAC,CAAC","file":"main.js","sourcesContent":["import { loadDAYTOOL, DAYTOOL } from \"./src/classes/daytool.js\";\nimport { daytool_nav } from \"./src/classes/daytool_nav.js\";\nimport { clipboardService } from \"./src/classes/daytool_storage.js\";\nimport {\n  reset_actions,\n  setModalActions\n} from \"./src/classes/UI/daytool_actions.js\";\nimport { daytool_printer } from \"./src/classes/UI/daytool_printer.js\";\nimport { div__clipboard, div__playtime } from \"./src/constants.js\";\nimport { loadPresets } from \"./src/daytool_presets.js\";\nimport { main_interface } from \"./src/main_interface.js\";\n\nvar now = new Date();\nvar hours = now.getHours();\nvar minutes = now.getMinutes();\n\n// Check if the time is past 8 PM or before 4 AM\nif (\n  hours > 18 ||\n  (hours === 18 && minutes >= 0) ||\n  hours < 4 ||\n  (hours === 4 && minutes === 0)\n) {\n  // After 8 PM\n  div__playtime.classList.add(\"bg-night\");\n}\n\n\nloadDAYTOOL()\n  .then((response) => {\n    const now = new Date();\n    const yyyy = now.getFullYear();\n    const mm = String(now.getMonth() + 1).padStart(2, \"0\"); // Months are 0-based\n    const dd = String(now.getDate()).padStart(2, \"0\");\n    const formattedDate = `${yyyy}-${mm}-${dd}`;\n    if (DAYTOOL.clipboard.date.includes(formattedDate)) {\n    } else {\n      DAYTOOL.clipboard.date.push(formattedDate);\n      const old_clipboard = DAYTOOL.clipboard.entities.at(-1);\n      var new_clipboard = [];\n      for (var n = 0; n < old_clipboard.length; n++) {\n        var curr_object = DAYTOOL.getEntityByObjectEntityId(old_clipboard[n]);\n        if (curr_object && curr_object.pinned) {\n          new_clipboard.push(curr_object);\n        }\n      }\n      DAYTOOL.clipboard.entities.push(new_clipboard);\n      clipboardService.updateLatest(DAYTOOL.clipboard);\n    }\n    div__clipboard.innerHTML =\n      `<div id=\"pulse_check_cta\" class=\"card col-11 action mx-auto bg-blue-glass mx-2 my-2 glass  py-2 ${\n    localStorage.getItem(\" dont_show_again__pulse\")==\"1\" ? \"d-none\" : \"\" }\">\n\t<div class=\"d-flex flex-column justify-content-center align-items-center  my-2\">\n\t\t<div class=\"pill_container\">\n\t\t\t<div class=\"pill bg-lime-gradient\">\n\t\t\t\t<div class=\"pill_content\">\n\t\t\t\t\t<div class=\"icon\">\n\t\t\t\t\t\t<img class=\"health\"\n\t\t\t\t\t\t\tstyle=\"height:35px; width:35px; box-shadow: 0 0 3px 1px gold inset;border-radius: 50%;\">\n\t\t\t\t\t\t<img class=\"microicon bg-blue-gradient checkmark\">\n\t\t\t\t\t</div>\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<h5 class=\"pt-2 mt-2 ms-2 ps-2 text-start\">\n\t\t\t<u>Pulse Check</u>\n\t\t</h5>\n\t\t<small>Reflect and establish your needs.</small>\n\t</div>\n\t<div class=\"d-flex flex-wrap gap-3 justify-content-center align-items-center mt-2\">\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"establish\"\n\t\t\tdata-action-parameter-entity-type=\"sleep\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1 bg-green-gradient\">\n\t\t\t\t\t\t<img class=\"sleep\">\n\t\t\t\t\t\t<img class=\"microicon checkmark bg-unfilled\">\n\t\t\t\t\t</div><br>Sleep\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"establish\"\n\t\t\tdata-action-parameter-entity-type=\"health\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1 bg-lime-gradient\">\n\t\t\t\t\t\t<img class=\"health\">\n\t\t\t\t\t\t<img class=\"microicon checkmark bg-unfilled\">\n\t\t\t\t\t</div><br>Health\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"establish\"\n\t\t\tdata-action-parameter-entity-type=\"friends\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1 bg-gold-gradient\">\n\t\t\t\t\t\t<img class=\"friends\">\n\t\t\t\t\t\t<img class=\"microicon checkmark bg-unfilled\">\n\t\t\t\t\t</div><br>Friends\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"establish\"\n\t\t\tdata-action-parameter-entity-type=\"fun\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1 bg-orange-gradient\">\n\t\t\t\t\t\t<img class=\"fun\">\n\t\t\t\t\t\t<img class=\"microicon checkmark bg-unfilled\">\n\t\t\t\t\t</div><br>Fun\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"establish\"\n\t\t\tdata-action-parameter-entity-type=\"food\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1 bg-red-gradient\">\n\t\t\t\t\t\t<img class=\"food\">\n\t\t\t\t\t\t<img class=\"microicon checkmark bg-unfilled\">\n\t\t\t\t\t</div><br>Food\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"establish\"\n\t\t\tdata-action-parameter-entity-type=\"home\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1 bg-purple-gradient\">\n\t\t\t\t\t\t<img class=\"home\">\n\t\t\t\t\t\t<img class=\"microicon checkmark bg-unfilled\">\n\t\t\t\t\t</div><br>Home\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"establish\"\n\t\t\tdata-action-parameter-entity-type=\"family\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1 bg-blue-gradient\">\n\t\t\t\t\t\t<img class=\"family\">\n\t\t\t\t\t\t<img class=\"microicon checkmark bg-unfilled\">\n\t\t\t\t\t</div><br>Family\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"establish\"\n\t\t\tdata-action-parameter-entity-type=\"career\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1 bg-teal-gradient\">\n\t\t\t\t\t\t<img class=\"career\">\n\t\t\t\t\t\t<img class=\"microicon checkmark bg-unfilled\">\n\t\t\t\t\t</div><br>Career\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\n\t</div>\n\n\n\t<button tabindex=\"-1\" role=\"button\" aria-disabled=\"true\" type=\"button\" id=\"dont_show_again__pulse\"\n\t\tclass=\"dont_show_again btn d-flex justify-content-between align-items-center align-self-end g-3 py-0 px-0 my-2  mt-3 me-2 justify-self-end\">\n\t\t<small class=\"lh-1 text-center\" style=\"pointer-events:none;\">\n\t\t\t<u>Don't show this again</u>\n\t\t</small>\n\t\t<div class=\"icon-24 checkbox_icon d-inline-block ms-2 bg-unfilled\"\n\t\t\tstyle=\"position:relative; top:-1px; border-radius:7px;pointer-events:none;outline: 2px solid gold;\">\n\t\t\t<img class=\"checkmark\">\n\t\t</div>\n\t</button>\n</div>\n<div id=\"play_time_cta\" class=\"card col-11 mx-auto bg-blue-glass mx-2 my-2 glass py-2\" ${\n\tlocalStorage.getItem(\"dont_show_again__play_time\")==\"1\" ? \"d-none\" : \"\" }>\n\t<div class=\"d-flex flex-column justify-content-center align-items-center my-2\">\n\t\t<div class=\"pill_container\">\n\t\t\t<div class=\"pill bg-orange-gradient\">\n\t\t\t\t<div class=\"pill_content\">\n\t\t\t\t\t<div class=\"icon\">\n\t\t\t\t\t\t<img class=\"fun\"\n\t\t\t\t\t\t\tstyle=\"height:35px; width:35px; box-shadow: 0 0 3px 1px gold inset;border-radius: 50%;\">\n\t\t\t\t\t\t<img class=\"microicon bg-blue-gradient clock\">\n\t\t\t\t\t</div>\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<h5 class=\"py-2 my-0 ms-2 ps-2 text-start\">\n\t\t\t<u>Play Time</u>\n\t\t</h5>\n\t\t<small>Master your game with your digital clipboard!</small>\n\t</div>\n\t<div class=\"card-body d-flex flex-row flex-wrap align-items-stretch justify-content-center px-0 py-2 gap-2\">\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"clipboard_previous_date\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1\">\n\t\t\t\t\t\t<img class=\"clipboard\" style=\"transform: scale(1.2);\">\n\t\t\t\t\t\t<img class=\"microicon previous expand bg-unfilled\">\n\t\t\t\t\t</div><br>Reflect on<br>yesterday\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"add\"\n\t\t\tdata-action-parameter-entity-type=\"goals\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1\">\n\t\t\t\t\t\t<img class=\"goals\" style=\"transform: scale(1.2);\">\n\t\t\t\t\t\t<img class=\"microicon add bg-unfilled\">\n\t\t\t\t\t</div><br>Set<br>goals\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"add\"\n\t\t\tdata-action-parameter-entity-type=\"plans\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1\">\n\t\t\t\t\t\t<img class=\"plans\" style=\"transform: scale(1.2);\">\n\t\t\t\t\t\t<img class=\"microicon add bg-unfilled\">\n\t\t\t\t\t</div><br>Make<br>plans\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"add\"\n\t\t\tdata-action-parameter-entity-type=\"events\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1\">\n\t\t\t\t\t\t<img class=\"events\" style=\"transform: scale(1.2);\">\n\t\t\t\t\t\t<img class=\"microicon add bg-unfilled\">\n\t\t\t\t\t</div><br>Schedule<br>events\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"add\"\n\t\t\tdata-action-parameter-entity-type=\"stats\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1\">\n\t\t\t\t\t\t<img class=\"stats\" style=\"transform: scale(1.3);\">\n\t\t\t\t\t\t<img class=\"microicon add bg-unfilled\">\n\t\t\t\t\t</div><br>Collect<br>stats\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"card action bg-blue-gradient bordered col-3\" data-action=\"add\"\n\t\t\tdata-action-parameter-entity-type=\"notes\">\n\t\t\t<div class=\"card-body d-flex flex-column align-items-center justify-content-evenly px-1 py-2\">\n\t\t\t\t<small class=\"lh-1\">\n\t\t\t\t\t<div class=\"icon-35 mb-1\">\n\t\t\t\t\t\t<img class=\"notes\" style=\"transform: scale(1.3);\">\n\t\t\t\t\t\t<img class=\"microicon add bg-unfilled\">\n\t\t\t\t\t</div><br>Write<br>notes\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\t<button tabindex=\"-1\" role=\"button\" aria-disabled=\"true\" type=\"button\" id=\"dont_show_again__play_time\"\n\t\tclass=\"dont_show_again btn d-flex justify-content-between align-items-center align-self-end g-3 py-0 px-0 my-2 mt-3 me-2 justify-self-end\">\n\t\t<small class=\"lh-1 text-center\" style=\"pointer-events:none;\">\n\t\t\t<u>Don't show this again</u>\n\t\t</small>\n\t\t<div class=\"icon-24 checkbox_icon d-inline-block ms-2 bg-unfilled\"\n\t\t\tstyle=\"position:relative; top:-1px; border-radius:7px;pointer-events:none;outline: 2px solid gold;\">\n\t\t\t<img class=\"checkmark\">\n\t\t</div>\n\t</button>\n</div>\n<div id=\"storage_cta\" class=\"card col-11 action mx-auto bg-blue-glass mx-2 my-2 glass pt-0 pb-2\" ${\n\tlocalStorage.getItem(\"dont_show_again__data_privacy\")==\"1\" ? \"d-none\" : \"\" }>\n\t<div class=\"d-flex flex-column justify-content-center align-items-center  my-2 px-4\">\n\t\t<h4 class=\"py-2 my-2 ms-2 ps-2 text-start\">\n\t\t\t<u>Data and Privacy</u>\n\t\t</h4>\n\t\t<small class=\"text-start pt-3\">With DemiTool, your data is stored directly on your local device\n\t\t\twithin your browser, ensuring full privacy and control. Data is only gathered with your\n\t\t\texplicit consent, and you have complete transparency into what’s shared. You can store and\n\t\t\tload backups or save files using a third-party storage solution of your choice, such as\n\t\t\tGoogle Drive or Microsoft OneDrive, though DemiTool is not affiliated with these services.\n\t\t\tPlease note: without external backups, your data may be lost if your browser is updated,\n\t\t\treset, or cleared. We encourage users to review the privacy policies of any\n\t\t\tthird-party storage providers they choose. For more details, read our\n\t\t\t<a href=\"/privacy_policy\">Privacy Policy</a>\n\t\t\tand\n\t\t\t<a href=\"/terms_of_use\">Terms of Use</a>.</small>\n\t</div>\n\t<button tabindex=\"-1\" role=\"button\" aria-disabled=\"true\" type=\"button\" id=\"dont_show_again__data_privacy\"\n\t\tclass=\"dont_show_again btn d-flex justify-content-between align-items-center align-self-end g-3 py-0 px-0 my-2  mt-3 me-2 justify-self-end\">\n\t\t<small class=\"lh-1 text-center\" style=\"pointer-events:none;\">\n\t\t\t<u>Don't show this again</u>\n\t\t</small>\n\t\t<div class=\"icon-24 checkbox_icon d-inline-block ms-2 bg-unfilled\"\n\t\t\tstyle=\"position:relative; top:-1px; border-radius:7px;pointer-events:none;outline: 2px solid gold;\">\n\t\t\t<img class=\"checkmark\">\n\t\t</div>\n\t</button>\n</div>` + div__clipboard.innerHTML;\n\n    reset_actions(null);\n    // Run Query\n    return window.location.search;\n  })\n  .then((response) => {\n    daytool_printer.print_cards();\n    return response;\n  })\n  .then((response) => {\n    document\n      .getElementById(\"dont_show_again__data_privacy\")\n      .addEventListener(\"click\", function () {\n        document\n          .getElementById(\"dont_show_again__data_privacy\")\n          .getElementsByClassName(\"checkbox_icon\")[0]\n          .classList.add(\"active\");\n        document.getElementById(\"storage_cta\").classList.add(\"opacity-0\");\n        setTimeout(() => {\n          localStorage.setItem(\"dont_show_again__data_privacy\", \"1\");\n          document\n            .getElementById(\"storage_cta\")\n            .classList.add(\"visually-hidden\");\n        }, 500);\n      });\n\n    if (localStorage.getItem(\"dont_show_again__data_privacy\") == \"1\") {\n      document.getElementById(\"storage_cta\").classList.add(\"visually-hidden\");\n    }\n\n    document\n      .getElementById(\"dont_show_again__play_time\")\n      .addEventListener(\"click\", function () {\n        document\n          .getElementById(\"dont_show_again__play_time\")\n          .getElementsByClassName(\"checkbox_icon\")[0]\n          .classList.add(\"active\");\n        document.getElementById(\"play_time_cta\").classList.add(\"opacity-0\");\n        setTimeout(() => {\n          localStorage.setItem(\"dont_show_again__play_time\", \"1\");\n          document\n            .getElementById(\"play_time_cta\")\n            .classList.add(\"visually-hidden\");\n        }, 700);\n      });\n\n    if (localStorage.getItem(\"dont_show_again__play_time\") == \"1\") {\n      document.getElementById(\"play_time_cta\").classList.add(\"visually-hidden\");\n    }\n\n    document\n      .getElementById(\"dont_show_again__pulse\")\n      .addEventListener(\"click\", function () {\n        document\n          .getElementById(\"dont_show_again__pulse\")\n          .getElementsByClassName(\"checkbox_icon\")[0]\n          .classList.add(\"active\");\n        document.getElementById(\"pulse_check_cta\").classList.add(\"opacity-0\");\n        setTimeout(() => {\n          localStorage.setItem(\"dont_show_again__pulse\", \"1\");\n          document\n            .getElementById(\"pulse_check_cta\")\n            .classList.add(\"visually-hidden\");\n        }, 700);\n      });\n\n    if (localStorage.getItem(\"dont_show_again__pulse\") == \"1\") {\n      document\n        .getElementById(\"pulse_check_cta\")\n        .classList.add(\"visually-hidden\");\n    }\n\n    loadPresets();\n\n    return response;\n  })\n  .then((response) => {\n    setTimeout(() => {\n      new daytool_nav(response);\n      // Clipboard is always active at the start\n      if (div__playtime.offsetWidth >= 1200) {\n\n        setTimeout(() => {\n\t\t\tmain_interface.plans_button.click();\n        }, 100);\n        setTimeout(() => {\n\t\t\tmain_interface.goals_button.click();\n        }, 1000);\n        setTimeout(() => {\n\t\t\tmain_interface.events_button.click();\n        }, 1500);\n        setTimeout(() => {\n\t\t\tmain_interface.stats_button.click();\n        }, 2000);\n        setTimeout(() => {\n\t\t\tmain_interface.notes_button.click();\n        }, 2500);\n        main_interface.center_button_indicator__add.classList.remove('hidden');\n\n      }\n      if (div__playtime.offsetWidth < 1200) {\n\t\tmain_interface.center_button.click();\n      }\n    //   setNavActions(); // !!Needed for community sync update\n      setModalActions();\n    }, 3000);\n  });\n\n"]}