text: /*
  Earth-Sol Calendar - Calendar based on the natural cycles of the Earth and Sun.
  Written in 2020 by Chris Larcombe <chris@larcombe.io>
  
  To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
  You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
  */
  
  Date.prototype.esc=function(){var t,e,r,a,o,s,h,i,l,u,n=function(t){var e=t.getFullYear();return 0==(3&e)&&(e%100!=0||e%400==0)},g=(e=(t=this).getMonth(),r=t.getDate(),a=[0,31,59,90,120,151,181,212,243,273,304,334][e]+r,e>1&&n(t)&&a++,a),M=n(this)?1:0;(o=g>=356+M?g-355-M:g+10)<=180?i=o-30*((l=Math.ceil(o/30))-1):o>=181&&o<=182+M?183==o?(u=null,s="L"):u=o-180:o>=363+M?3==(u=o-362-M)&&(u=null,s="N"):i=o-2-M-30*((l=Math.ceil((o-2-M)/30))-1),u||"L"==s||"N"==s||(s=i-6*((h=Math.ceil(i/6))-1));var c=[0,0,0];c[0]=Math.floor(this.getHours()/3),c[1]=Math.floor((60*this.getHours()+this.getMinutes())/30)-6*c[0],c[2]=Math.floor((60*this.getHours()+this.getMinutes())/5)-6*c[0]*6-6*c[1];var f=[0,0];return f[0]=Math.floor(this.getHours()/3),f[1]=Math.floor((60*this.getHours()+this.getMinutes())/22.5)-8*f[0],{time:c,time_alt:f,day:s,strong:h,month:l,date:i,year:this.getFullYear()-2012+(o<=10?1:0)+("N"==s?1:0),transcal:u}};