(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{9056:function(e,t,n){Promise.resolve().then(n.t.bind(n,4811,23)),Promise.resolve().then(n.t.bind(n,2778,23)),Promise.resolve().then(n.bind(n,1770))},1770:function(e,t,n){"use strict";n.d(t,{default:function(){return o}});var i=n(2265);function o(){return(0,i.useEffect)(()=>{let e=()=>{if("true"!==localStorage.getItem("reminderEnabled"))return;let[e,t]=(localStorage.getItem("reminderTime")||"23:00").split(":").map(Number),n=new Date,i=n.getHours(),o=n.getMinutes();if(i===e&&o===t){let e=localStorage.getItem("lastRemindedDate"),t=n.toDateString();e!==t&&"Notification"in window&&"granted"===Notification.permission&&(new Notification("අද tasks check කරන්න! \uD83D\uDCCB",{body:"It is time to check off your daily tasks on the Weekly Planner."}),localStorage.setItem("lastRemindedDate",t))}},t=setInterval(e,6e4);return e(),()=>clearInterval(t)},[]),null}},2778:function(){},4811:function(e){e.exports={style:{fontFamily:"'__Inter_f367f3', '__Inter_Fallback_f367f3'",fontStyle:"normal"},className:"__className_f367f3"}}},function(e){e.O(0,[2,971,117,744],function(){return e(e.s=9056)}),_N_E=e.O()}]);