{"ScriptPreparationCode":"!function(t,e){\u0022object\u0022==typeof exports\u0026\u0026\u0022undefined\u0022!=typeof module?module.exports=e():\u0022function\u0022==typeof define\u0026\u0026define.amd?define(e):(t=\u0022undefined\u0022!=typeof globalThis?globalThis:t||self).dateFnsFormat=e()}(this,(function(){\u0022use strict\u0022;function t(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e\u003C0?Math.ceil(e):Math.floor(e)}function e(t,e){if(e.length\u003Ct)throw new TypeError(t\u002B\u0022 argument\u0022\u002B(t\u003E1?\u0022s\u0022:\u0022\u0022)\u002B\u0022 required, but only \u0022\u002Be.length\u002B\u0022 present\u0022)}function n(t){return n=\u0022function\u0022==typeof Symbol\u0026\u0026\u0022symbol\u0022==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t\u0026\u0026\u0022function\u0022==typeof Symbol\u0026\u0026t.constructor===Symbol\u0026\u0026t!==Symbol.prototype?\u0022symbol\u0022:typeof t},n(t)}function r(t){e(1,arguments);var r=Object.prototype.toString.call(t);return t instanceof Date||\u0022object\u0022===n(t)\u0026\u0026\u0022[object Date]\u0022===r?new Date(t.getTime()):\u0022number\u0022==typeof t||\u0022[object Number]\u0022===r?new Date(t):(\u0022string\u0022!=typeof t\u0026\u0026\u0022[object String]\u0022!==r||\u0022undefined\u0022==typeof console||(console.warn(\u0022Starting with v2.0.0-beta.1 date-fns doesn\u0027t accept strings as date arguments. Please use \u0060parseISO\u0060 to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments\u0022),console.warn((new Error).stack)),new Date(NaN))}var a={};function o(){return a}function i(t){return i=\u0022function\u0022==typeof Symbol\u0026\u0026\u0022symbol\u0022==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t\u0026\u0026\u0022function\u0022==typeof Symbol\u0026\u0026t.constructor===Symbol\u0026\u0026t!==Symbol.prototype?\u0022symbol\u0022:typeof t},i(t)}function u(t){if(e(1,arguments),!function(t){return e(1,arguments),t instanceof Date||\u0022object\u0022===i(t)\u0026\u0026\u0022[object Date]\u0022===Object.prototype.toString.call(t)}(t)\u0026\u0026\u0022number\u0022!=typeof t)return!1;var n=r(t);return!isNaN(Number(n))}function s(n,a){return e(2,arguments),function(n,a){e(2,arguments);var o=r(n).getTime(),i=t(a);return new Date(o\u002Bi)}(n,-t(a))}var d=864e5;function l(t){e(1,arguments);var n=r(t),a=n.getUTCDay(),o=(a\u003C1?7:0)\u002Ba-1;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}function c(t){e(1,arguments);var n=r(t),a=n.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(a\u002B1,0,4),o.setUTCHours(0,0,0,0);var i=l(o),u=new Date(0);u.setUTCFullYear(a,0,4),u.setUTCHours(0,0,0,0);var s=l(u);return n.getTime()\u003E=i.getTime()?a\u002B1:n.getTime()\u003E=s.getTime()?a:a-1}var f=6048e5;function h(t){e(1,arguments);var n=r(t),a=l(n).getTime()-function(t){e(1,arguments);var n=c(t),r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),l(r)}(n).getTime();return Math.round(a/f)\u002B1}function m(n,a){var i,u,s,d,l,c,f,h;e(1,arguments);var m=o(),g=t(null!==(i=null!==(u=null!==(s=null!==(d=null==a?void 0:a.weekStartsOn)\u0026\u0026void 0!==d?d:null==a||null===(l=a.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)\u0026\u0026void 0!==s?s:m.weekStartsOn)\u0026\u0026void 0!==u?u:null===(f=m.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.weekStartsOn)\u0026\u0026void 0!==i?i:0);if(!(g\u003E=0\u0026\u0026g\u003C=6))throw new RangeError(\u0022weekStartsOn must be between 0 and 6 inclusively\u0022);var v=r(n),w=v.getUTCDay(),b=(w\u003Cg?7:0)\u002Bw-g;return v.setUTCDate(v.getUTCDate()-b),v.setUTCHours(0,0,0,0),v}function g(n,a){var i,u,s,d,l,c,f,h;e(1,arguments);var g=r(n),v=g.getUTCFullYear(),w=o(),b=t(null!==(i=null!==(u=null!==(s=null!==(d=null==a?void 0:a.firstWeekContainsDate)\u0026\u0026void 0!==d?d:null==a||null===(l=a.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)\u0026\u0026void 0!==s?s:w.firstWeekContainsDate)\u0026\u0026void 0!==u?u:null===(f=w.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)\u0026\u0026void 0!==i?i:1);if(!(b\u003E=1\u0026\u0026b\u003C=7))throw new RangeError(\u0022firstWeekContainsDate must be between 1 and 7 inclusively\u0022);var y=new Date(0);y.setUTCFullYear(v\u002B1,0,b),y.setUTCHours(0,0,0,0);var p=m(y,a),T=new Date(0);T.setUTCFullYear(v,0,b),T.setUTCHours(0,0,0,0);var C=m(T,a);return g.getTime()\u003E=p.getTime()?v\u002B1:g.getTime()\u003E=C.getTime()?v:v-1}var v=6048e5;function w(n,a){e(1,arguments);var i=r(n),u=m(i,a).getTime()-function(n,r){var a,i,u,s,d,l,c,f;e(1,arguments);var h=o(),v=t(null!==(a=null!==(i=null!==(u=null!==(s=null==r?void 0:r.firstWeekContainsDate)\u0026\u0026void 0!==s?s:null==r||null===(d=r.locale)||void 0===d||null===(l=d.options)||void 0===l?void 0:l.firstWeekContainsDate)\u0026\u0026void 0!==u?u:h.firstWeekContainsDate)\u0026\u0026void 0!==i?i:null===(c=h.locale)||void 0===c||null===(f=c.options)||void 0===f?void 0:f.firstWeekContainsDate)\u0026\u0026void 0!==a?a:1),w=g(n,r),b=new Date(0);return b.setUTCFullYear(w,0,v),b.setUTCHours(0,0,0,0),m(b,r)}(i,a).getTime();return Math.round(u/v)\u002B1}function b(t,e){for(var n=t\u003C0?\u0022-\u0022:\u0022\u0022,r=Math.abs(t).toString();r.length\u003Ce;)r=\u00220\u0022\u002Br;return n\u002Br}var y=function(t,e){var n=t.getUTCFullYear(),r=n\u003E0?n:1-n;return b(\u0022yy\u0022===e?r%100:r,e.length)},p=function(t,e){var n=t.getUTCMonth();return\u0022M\u0022===e?String(n\u002B1):b(n\u002B1,2)},T=function(t,e){return b(t.getUTCDate(),e.length)},C=function(t,e){return b(t.getUTCHours()%12||12,e.length)},M=function(t,e){return b(t.getUTCHours(),e.length)},D=function(t,e){return b(t.getUTCMinutes(),e.length)},k=function(t,e){return b(t.getUTCSeconds(),e.length)},S=function(t,e){var n=e.length,r=t.getUTCMilliseconds();return b(Math.floor(r*Math.pow(10,n-3)),e.length)},x=\u0022midnight\u0022,U=\u0022noon\u0022,P=\u0022morning\u0022,W=\u0022afternoon\u0022,Y=\u0022evening\u0022,E=\u0022night\u0022,N={G:function(t,e,n){var r=t.getUTCFullYear()\u003E0?1:0;switch(e){case\u0022G\u0022:case\u0022GG\u0022:case\u0022GGG\u0022:return n.era(r,{width:\u0022abbreviated\u0022});case\u0022GGGGG\u0022:return n.era(r,{width:\u0022narrow\u0022});default:return n.era(r,{width:\u0022wide\u0022})}},y:function(t,e,n){if(\u0022yo\u0022===e){var r=t.getUTCFullYear(),a=r\u003E0?r:1-r;return n.ordinalNumber(a,{unit:\u0022year\u0022})}return y(t,e)},Y:function(t,e,n,r){var a=g(t,r),o=a\u003E0?a:1-a;return\u0022YY\u0022===e?b(o%100,2):\u0022Yo\u0022===e?n.ordinalNumber(o,{unit:\u0022year\u0022}):b(o,e.length)},R:function(t,e){return b(c(t),e.length)},u:function(t,e){return b(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()\u002B1)/3);switch(e){case\u0022Q\u0022:return String(r);case\u0022QQ\u0022:return b(r,2);case\u0022Qo\u0022:return n.ordinalNumber(r,{unit:\u0022quarter\u0022});case\u0022QQQ\u0022:return n.quarter(r,{width:\u0022abbreviated\u0022,context:\u0022formatting\u0022});case\u0022QQQQQ\u0022:return n.quarter(r,{width:\u0022narrow\u0022,context:\u0022formatting\u0022});default:return n.quarter(r,{width:\u0022wide\u0022,context:\u0022formatting\u0022})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()\u002B1)/3);switch(e){case\u0022q\u0022:return String(r);case\u0022qq\u0022:return b(r,2);case\u0022qo\u0022:return n.ordinalNumber(r,{unit:\u0022quarter\u0022});case\u0022qqq\u0022:return n.quarter(r,{width:\u0022abbreviated\u0022,context:\u0022standalone\u0022});case\u0022qqqqq\u0022:return n.quarter(r,{width:\u0022narrow\u0022,context:\u0022standalone\u0022});default:return n.quarter(r,{width:\u0022wide\u0022,context:\u0022standalone\u0022})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case\u0022M\u0022:case\u0022MM\u0022:return p(t,e);case\u0022Mo\u0022:return n.ordinalNumber(r\u002B1,{unit:\u0022month\u0022});case\u0022MMM\u0022:return n.month(r,{width:\u0022abbreviated\u0022,context:\u0022formatting\u0022});case\u0022MMMMM\u0022:return n.month(r,{width:\u0022narrow\u0022,context:\u0022formatting\u0022});default:return n.month(r,{width:\u0022wide\u0022,context:\u0022formatting\u0022})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case\u0022L\u0022:return String(r\u002B1);case\u0022LL\u0022:return b(r\u002B1,2);case\u0022Lo\u0022:return n.ordinalNumber(r\u002B1,{unit:\u0022month\u0022});case\u0022LLL\u0022:return n.month(r,{width:\u0022abbreviated\u0022,context:\u0022standalone\u0022});case\u0022LLLLL\u0022:return n.month(r,{width:\u0022narrow\u0022,context:\u0022standalone\u0022});default:return n.month(r,{width:\u0022wide\u0022,context:\u0022standalone\u0022})}},w:function(t,e,n,r){var a=w(t,r);return\u0022wo\u0022===e?n.ordinalNumber(a,{unit:\u0022week\u0022}):b(a,e.length)},I:function(t,e,n){var r=h(t);return\u0022Io\u0022===e?n.ordinalNumber(r,{unit:\u0022week\u0022}):b(r,e.length)},d:function(t,e,n){return\u0022do\u0022===e?n.ordinalNumber(t.getUTCDate(),{unit:\u0022date\u0022}):T(t,e)},D:function(t,n,a){var o=function(t){e(1,arguments);var n=r(t),a=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var o=a-n.getTime();return Math.floor(o/d)\u002B1}(t);return\u0022Do\u0022===n?a.ordinalNumber(o,{unit:\u0022dayOfYear\u0022}):b(o,n.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case\u0022E\u0022:case\u0022EE\u0022:case\u0022EEE\u0022:return n.day(r,{width:\u0022abbreviated\u0022,context:\u0022formatting\u0022});case\u0022EEEEE\u0022:return n.day(r,{width:\u0022narrow\u0022,context:\u0022formatting\u0022});case\u0022EEEEEE\u0022:return n.day(r,{width:\u0022short\u0022,context:\u0022formatting\u0022});default:return n.day(r,{width:\u0022wide\u0022,context:\u0022formatting\u0022})}},e:function(t,e,n,r){var a=t.getUTCDay(),o=(a-r.weekStartsOn\u002B8)%7||7;switch(e){case\u0022e\u0022:return String(o);case\u0022ee\u0022:return b(o,2);case\u0022eo\u0022:return n.ordinalNumber(o,{unit:\u0022day\u0022});case\u0022eee\u0022:return n.day(a,{width:\u0022abbreviated\u0022,context:\u0022formatting\u0022});case\u0022eeeee\u0022:return n.day(a,{width:\u0022narrow\u0022,context:\u0022formatting\u0022});case\u0022eeeeee\u0022:return n.day(a,{width:\u0022short\u0022,context:\u0022formatting\u0022});default:return n.day(a,{width:\u0022wide\u0022,context:\u0022formatting\u0022})}},c:function(t,e,n,r){var a=t.getUTCDay(),o=(a-r.weekStartsOn\u002B8)%7||7;switch(e){case\u0022c\u0022:return String(o);case\u0022cc\u0022:return b(o,e.length);case\u0022co\u0022:return n.ordinalNumber(o,{unit:\u0022day\u0022});case\u0022ccc\u0022:return n.day(a,{width:\u0022abbreviated\u0022,context:\u0022standalone\u0022});case\u0022ccccc\u0022:return n.day(a,{width:\u0022narrow\u0022,context:\u0022standalone\u0022});case\u0022cccccc\u0022:return n.day(a,{width:\u0022short\u0022,context:\u0022standalone\u0022});default:return n.day(a,{width:\u0022wide\u0022,context:\u0022standalone\u0022})}},i:function(t,e,n){var r=t.getUTCDay(),a=0===r?7:r;switch(e){case\u0022i\u0022:return String(a);case\u0022ii\u0022:return b(a,e.length);case\u0022io\u0022:return n.ordinalNumber(a,{unit:\u0022day\u0022});case\u0022iii\u0022:return n.day(r,{width:\u0022abbreviated\u0022,context:\u0022formatting\u0022});case\u0022iiiii\u0022:return n.day(r,{width:\u0022narrow\u0022,context:\u0022formatting\u0022});case\u0022iiiiii\u0022:return n.day(r,{width:\u0022short\u0022,context:\u0022formatting\u0022});default:return n.day(r,{width:\u0022wide\u0022,context:\u0022formatting\u0022})}},a:function(t,e,n){var r=t.getUTCHours()/12\u003E=1?\u0022pm\u0022:\u0022am\u0022;switch(e){case\u0022a\u0022:case\u0022aa\u0022:return n.dayPeriod(r,{width:\u0022abbreviated\u0022,context:\u0022formatting\u0022});case\u0022aaa\u0022:return n.dayPeriod(r,{width:\u0022abbreviated\u0022,context:\u0022formatting\u0022}).toLowerCase();case\u0022aaaaa\u0022:return n.dayPeriod(r,{width:\u0022narrow\u0022,context:\u0022formatting\u0022});default:return n.dayPeriod(r,{width:\u0022wide\u0022,context:\u0022formatting\u0022})}},b:function(t,e,n){var r,a=t.getUTCHours();switch(r=12===a?U:0===a?x:a/12\u003E=1?\u0022pm\u0022:\u0022am\u0022,e){case\u0022b\u0022:case\u0022bb\u0022:return n.dayPeriod(r,{width:\u0022abbreviated\u0022,context:\u0022formatting\u0022});case\u0022bbb\u0022:return n.dayPeriod(r,{width:\u0022abbreviated\u0022,context:\u0022formatting\u0022}).toLowerCase();case\u0022bbbbb\u0022:return n.dayPeriod(r,{width:\u0022narrow\u0022,context:\u0022formatting\u0022});default:return n.dayPeriod(r,{width:\u0022wide\u0022,context:\u0022formatting\u0022})}},B:function(t,e,n){var r,a=t.getUTCHours();switch(r=a\u003E=17?Y:a\u003E=12?W:a\u003E=4?P:E,e){case\u0022B\u0022:case\u0022BB\u0022:case\u0022BBB\u0022:return n.dayPeriod(r,{width:\u0022abbreviated\u0022,context:\u0022formatting\u0022});case\u0022BBBBB\u0022:return n.dayPeriod(r,{width:\u0022narrow\u0022,context:\u0022formatting\u0022});default:return n.dayPeriod(r,{width:\u0022wide\u0022,context:\u0022formatting\u0022})}},h:function(t,e,n){if(\u0022ho\u0022===e){var r=t.getUTCHours()%12;return 0===r\u0026\u0026(r=12),n.ordinalNumber(r,{unit:\u0022hour\u0022})}return C(t,e)},H:function(t,e,n){return\u0022Ho\u0022===e?n.ordinalNumber(t.getUTCHours(),{unit:\u0022hour\u0022}):M(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return\u0022Ko\u0022===e?n.ordinalNumber(r,{unit:\u0022hour\u0022}):b(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r\u0026\u0026(r=24),\u0022ko\u0022===e?n.ordinalNumber(r,{unit:\u0022hour\u0022}):b(r,e.length)},m:function(t,e,n){return\u0022mo\u0022===e?n.ordinalNumber(t.getUTCMinutes(),{unit:\u0022minute\u0022}):D(t,e)},s:function(t,e,n){return\u0022so\u0022===e?n.ordinalNumber(t.getUTCSeconds(),{unit:\u0022second\u0022}):k(t,e)},S:function(t,e){return S(t,e)},X:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();if(0===a)return\u0022Z\u0022;switch(e){case\u0022X\u0022:return q(a);case\u0022XXXX\u0022:case\u0022XX\u0022:return F(a);default:return F(a,\u0022:\u0022)}},x:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case\u0022x\u0022:return q(a);case\u0022xxxx\u0022:case\u0022xx\u0022:return F(a);default:return F(a,\u0022:\u0022)}},O:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case\u0022O\u0022:case\u0022OO\u0022:case\u0022OOO\u0022:return\u0022GMT\u0022\u002BO(a,\u0022:\u0022);default:return\u0022GMT\u0022\u002BF(a,\u0022:\u0022)}},z:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case\u0022z\u0022:case\u0022zz\u0022:case\u0022zzz\u0022:return\u0022GMT\u0022\u002BO(a,\u0022:\u0022);default:return\u0022GMT\u0022\u002BF(a,\u0022:\u0022)}},t:function(t,e,n,r){var a=r._originalDate||t;return b(Math.floor(a.getTime()/1e3),e.length)},T:function(t,e,n,r){return b((r._originalDate||t).getTime(),e.length)}};function O(t,e){var n=t\u003E0?\u0022-\u0022:\u0022\u002B\u0022,r=Math.abs(t),a=Math.floor(r/60),o=r%60;if(0===o)return n\u002BString(a);var i=e||\u0022\u0022;return n\u002BString(a)\u002Bi\u002Bb(o,2)}function q(t,e){return t%60==0?(t\u003E0?\u0022-\u0022:\u0022\u002B\u0022)\u002Bb(Math.abs(t)/60,2):F(t,e)}function F(t,e){var n=e||\u0022\u0022,r=t\u003E0?\u0022-\u0022:\u0022\u002B\u0022,a=Math.abs(t);return r\u002Bb(Math.floor(a/60),2)\u002Bn\u002Bb(a%60,2)}var j=N,H=function(t,e){switch(t){case\u0022P\u0022:return e.date({width:\u0022short\u0022});case\u0022PP\u0022:return e.date({width:\u0022medium\u0022});case\u0022PPP\u0022:return e.date({width:\u0022long\u0022});default:return e.date({width:\u0022full\u0022})}},z=function(t,e){switch(t){case\u0022p\u0022:return e.time({width:\u0022short\u0022});case\u0022pp\u0022:return e.time({width:\u0022medium\u0022});case\u0022ppp\u0022:return e.time({width:\u0022long\u0022});default:return e.time({width:\u0022full\u0022})}},L={p:z,P:function(t,e){var n,r=t.match(/(P\u002B)(p\u002B)?/)||[],a=r[1],o=r[2];if(!o)return H(t,e);switch(a){case\u0022P\u0022:n=e.dateTime({width:\u0022short\u0022});break;case\u0022PP\u0022:n=e.dateTime({width:\u0022medium\u0022});break;case\u0022PPP\u0022:n=e.dateTime({width:\u0022long\u0022});break;default:n=e.dateTime({width:\u0022full\u0022})}return n.replace(\u0022{{date}}\u0022,H(a,e)).replace(\u0022{{time}}\u0022,z(o,e))}},Q=L,A=[\u0022D\u0022,\u0022DD\u0022],G=[\u0022YY\u0022,\u0022YYYY\u0022];function X(t,e,n){if(\u0022YYYY\u0022===t)throw new RangeError(\u0022Use \u0060yyyy\u0060 instead of \u0060YYYY\u0060 (in \u0060\u0022.concat(e,\u0022\u0060) for formatting years to the input \u0060\u0022).concat(n,\u0022\u0060; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\u0022));if(\u0022YY\u0022===t)throw new RangeError(\u0022Use \u0060yy\u0060 instead of \u0060YY\u0060 (in \u0060\u0022.concat(e,\u0022\u0060) for formatting years to the input \u0060\u0022).concat(n,\u0022\u0060; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\u0022));if(\u0022D\u0022===t)throw new RangeError(\u0022Use \u0060d\u0060 instead of \u0060D\u0060 (in \u0060\u0022.concat(e,\u0022\u0060) for formatting days of the month to the input \u0060\u0022).concat(n,\u0022\u0060; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\u0022));if(\u0022DD\u0022===t)throw new RangeError(\u0022Use \u0060dd\u0060 instead of \u0060DD\u0060 (in \u0060\u0022.concat(e,\u0022\u0060) for formatting days of the month to the input \u0060\u0022).concat(n,\u0022\u0060; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\u0022))}var B={lessThanXSeconds:{one:\u0022less than a second\u0022,other:\u0022less than {{count}} seconds\u0022},xSeconds:{one:\u00221 second\u0022,other:\u0022{{count}} seconds\u0022},halfAMinute:\u0022half a minute\u0022,lessThanXMinutes:{one:\u0022less than a minute\u0022,other:\u0022less than {{count}} minutes\u0022},xMinutes:{one:\u00221 minute\u0022,other:\u0022{{count}} minutes\u0022},aboutXHours:{one:\u0022about 1 hour\u0022,other:\u0022about {{count}} hours\u0022},xHours:{one:\u00221 hour\u0022,other:\u0022{{count}} hours\u0022},xDays:{one:\u00221 day\u0022,other:\u0022{{count}} days\u0022},aboutXWeeks:{one:\u0022about 1 week\u0022,other:\u0022about {{count}} weeks\u0022},xWeeks:{one:\u00221 week\u0022,other:\u0022{{count}} weeks\u0022},aboutXMonths:{one:\u0022about 1 month\u0022,other:\u0022about {{count}} months\u0022},xMonths:{one:\u00221 month\u0022,other:\u0022{{count}} months\u0022},aboutXYears:{one:\u0022about 1 year\u0022,other:\u0022about {{count}} years\u0022},xYears:{one:\u00221 year\u0022,other:\u0022{{count}} years\u0022},overXYears:{one:\u0022over 1 year\u0022,other:\u0022over {{count}} years\u0022},almostXYears:{one:\u0022almost 1 year\u0022,other:\u0022almost {{count}} years\u0022}};function R(t){return function(){var e=arguments.length\u003E0\u0026\u0026void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var J={date:R({formats:{full:\u0022EEEE, MMMM do, y\u0022,long:\u0022MMMM do, y\u0022,medium:\u0022MMM d, y\u0022,short:\u0022MM/dd/yyyy\u0022},defaultWidth:\u0022full\u0022}),time:R({formats:{full:\u0022h:mm:ss a zzzz\u0022,long:\u0022h:mm:ss a z\u0022,medium:\u0022h:mm:ss a\u0022,short:\u0022h:mm a\u0022},defaultWidth:\u0022full\u0022}),dateTime:R({formats:{full:\u0022{{date}} \u0027at\u0027 {{time}}\u0022,long:\u0022{{date}} \u0027at\u0027 {{time}}\u0022,medium:\u0022{{date}}, {{time}}\u0022,short:\u0022{{date}}, {{time}}\u0022},defaultWidth:\u0022full\u0022})},_={lastWeek:\u0022\u0027last\u0027 eeee \u0027at\u0027 p\u0022,yesterday:\u0022\u0027yesterday at\u0027 p\u0022,today:\u0022\u0027today at\u0027 p\u0022,tomorrow:\u0022\u0027tomorrow at\u0027 p\u0022,nextWeek:\u0022eeee \u0027at\u0027 p\u0022,other:\u0022P\u0022};function I(t){return function(e,n){var r;if(\u0022formatting\u0022===(null!=n\u0026\u0026n.context?String(n.context):\u0022standalone\u0022)\u0026\u0026t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,o=null!=n\u0026\u0026n.width?String(n.width):a;r=t.formattingValues[o]||t.formattingValues[a]}else{var i=t.defaultWidth,u=null!=n\u0026\u0026n.width?String(n.width):t.defaultWidth;r=t.values[u]||t.values[i]}return r[t.argumentCallback?t.argumentCallback(e):e]}}var V={ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r\u003E20||r\u003C10)switch(r%10){case 1:return n\u002B\u0022st\u0022;case 2:return n\u002B\u0022nd\u0022;case 3:return n\u002B\u0022rd\u0022}return n\u002B\u0022th\u0022},era:I({values:{narrow:[\u0022B\u0022,\u0022A\u0022],abbreviated:[\u0022BC\u0022,\u0022AD\u0022],wide:[\u0022Before Christ\u0022,\u0022Anno Domini\u0022]},defaultWidth:\u0022wide\u0022}),quarter:I({values:{narrow:[\u00221\u0022,\u00222\u0022,\u00223\u0022,\u00224\u0022],abbreviated:[\u0022Q1\u0022,\u0022Q2\u0022,\u0022Q3\u0022,\u0022Q4\u0022],wide:[\u00221st quarter\u0022,\u00222nd quarter\u0022,\u00223rd quarter\u0022,\u00224th quarter\u0022]},defaultWidth:\u0022wide\u0022,argumentCallback:function(t){return t-1}}),month:I({values:{narrow:[\u0022J\u0022,\u0022F\u0022,\u0022M\u0022,\u0022A\u0022,\u0022M\u0022,\u0022J\u0022,\u0022J\u0022,\u0022A\u0022,\u0022S\u0022,\u0022O\u0022,\u0022N\u0022,\u0022D\u0022],abbreviated:[\u0022Jan\u0022,\u0022Feb\u0022,\u0022Mar\u0022,\u0022Apr\u0022,\u0022May\u0022,\u0022Jun\u0022,\u0022Jul\u0022,\u0022Aug\u0022,\u0022Sep\u0022,\u0022Oct\u0022,\u0022Nov\u0022,\u0022Dec\u0022],wide:[\u0022January\u0022,\u0022February\u0022,\u0022March\u0022,\u0022April\u0022,\u0022May\u0022,\u0022June\u0022,\u0022July\u0022,\u0022August\u0022,\u0022September\u0022,\u0022October\u0022,\u0022November\u0022,\u0022December\u0022]},defaultWidth:\u0022wide\u0022}),day:I({values:{narrow:[\u0022S\u0022,\u0022M\u0022,\u0022T\u0022,\u0022W\u0022,\u0022T\u0022,\u0022F\u0022,\u0022S\u0022],short:[\u0022Su\u0022,\u0022Mo\u0022,\u0022Tu\u0022,\u0022We\u0022,\u0022Th\u0022,\u0022Fr\u0022,\u0022Sa\u0022],abbreviated:[\u0022Sun\u0022,\u0022Mon\u0022,\u0022Tue\u0022,\u0022Wed\u0022,\u0022Thu\u0022,\u0022Fri\u0022,\u0022Sat\u0022],wide:[\u0022Sunday\u0022,\u0022Monday\u0022,\u0022Tuesday\u0022,\u0022Wednesday\u0022,\u0022Thursday\u0022,\u0022Friday\u0022,\u0022Saturday\u0022]},defaultWidth:\u0022wide\u0022}),dayPeriod:I({values:{narrow:{am:\u0022a\u0022,pm:\u0022p\u0022,midnight:\u0022mi\u0022,noon:\u0022n\u0022,morning:\u0022morning\u0022,afternoon:\u0022afternoon\u0022,evening:\u0022evening\u0022,night:\u0022night\u0022},abbreviated:{am:\u0022AM\u0022,pm:\u0022PM\u0022,midnight:\u0022midnight\u0022,noon:\u0022noon\u0022,morning:\u0022morning\u0022,afternoon:\u0022afternoon\u0022,evening:\u0022evening\u0022,night:\u0022night\u0022},wide:{am:\u0022a.m.\u0022,pm:\u0022p.m.\u0022,midnight:\u0022midnight\u0022,noon:\u0022noon\u0022,morning:\u0022morning\u0022,afternoon:\u0022afternoon\u0022,evening:\u0022evening\u0022,night:\u0022night\u0022}},defaultWidth:\u0022wide\u0022,formattingValues:{narrow:{am:\u0022a\u0022,pm:\u0022p\u0022,midnight:\u0022mi\u0022,noon:\u0022n\u0022,morning:\u0022in the morning\u0022,afternoon:\u0022in the afternoon\u0022,evening:\u0022in the evening\u0022,night:\u0022at night\u0022},abbreviated:{am:\u0022AM\u0022,pm:\u0022PM\u0022,midnight:\u0022midnight\u0022,noon:\u0022noon\u0022,morning:\u0022in the morning\u0022,afternoon:\u0022in the afternoon\u0022,evening:\u0022in the evening\u0022,night:\u0022at night\u0022},wide:{am:\u0022a.m.\u0022,pm:\u0022p.m.\u0022,midnight:\u0022midnight\u0022,noon:\u0022noon\u0022,morning:\u0022in the morning\u0022,afternoon:\u0022in the afternoon\u0022,evening:\u0022in the evening\u0022,night:\u0022at night\u0022}},defaultFormattingWidth:\u0022wide\u0022})};function K(t){return function(e){var n=arguments.length\u003E1\u0026\u0026void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r\u0026\u0026t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(a);if(!o)return null;var i,u=o[0],s=r\u0026\u0026t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?function(t,e){for(var n=0;n\u003Ct.length;n\u002B\u002B)if(e(t[n]))return n;return}(s,(function(t){return t.test(u)})):function(t,e){for(var n in t)if(t.hasOwnProperty(n)\u0026\u0026e(t[n]))return n;return}(s,(function(t){return t.test(u)}));return i=t.valueCallback?t.valueCallback(d):d,{value:i=n.valueCallback?n.valueCallback(i):i,rest:e.slice(u.length)}}}var $,Z={ordinalNumber:($={matchPattern:/^(\\d\u002B)(th|st|nd|rd)?/i,parsePattern:/\\d\u002B/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length\u003E1\u0026\u0026void 0!==arguments[1]?arguments[1]:{},n=t.match($.matchPattern);if(!n)return null;var r=n[0],a=t.match($.parsePattern);if(!a)return null;var o=$.valueCallback?$.valueCallback(a[0]):a[0];return{value:o=e.valueCallback?e.valueCallback(o):o,rest:t.slice(r.length)}}),era:K({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:\u0022wide\u0022,parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:\u0022any\u0022}),quarter:K({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:\u0022wide\u0022,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:\u0022any\u0022,valueCallback:function(t){return t\u002B1}}),month:K({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:\u0022wide\u0022,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:\u0022any\u0022}),day:K({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:\u0022wide\u0022,parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:\u0022any\u0022}),dayPeriod:K({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:\u0022any\u0022,parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:\u0022any\u0022})},tt={code:\u0022en-US\u0022,formatDistance:function(t,e,n){var r,a=B[t];return r=\u0022string\u0022==typeof a?a:1===e?a.one:a.other.replace(\u0022{{count}}\u0022,e.toString()),null!=n\u0026\u0026n.addSuffix?n.comparison\u0026\u0026n.comparison\u003E0?\u0022in \u0022\u002Br:r\u002B\u0022 ago\u0022:r},formatLong:J,formatRelative:function(t,e,n,r){return _[t]},localize:V,match:Z,options:{weekStartsOn:0,firstWeekContainsDate:1}},et=/[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|\u0027\u0027|\u0027(\u0027\u0027|[^\u0027])\u002B(\u0027|$)|./g,nt=/P\u002Bp\u002B|P\u002B|p\u002B|\u0027\u0027|\u0027(\u0027\u0027|[^\u0027])\u002B(\u0027|$)|./g,rt=/^\u0027([^]*?)\u0027?$/,at=/\u0027\u0027/g,ot=/[a-zA-Z]/;const it=function(n,a,i){var d,l,c,f,h,m,g,v,w,b,y,p,T,C,M,D,k,S;e(2,arguments);var x=String(a),U=o(),P=null!==(d=null!==(l=null==i?void 0:i.locale)\u0026\u0026void 0!==l?l:U.locale)\u0026\u0026void 0!==d?d:tt,W=t(null!==(c=null!==(f=null!==(h=null!==(m=null==i?void 0:i.firstWeekContainsDate)\u0026\u0026void 0!==m?m:null==i||null===(g=i.locale)||void 0===g||null===(v=g.options)||void 0===v?void 0:v.firstWeekContainsDate)\u0026\u0026void 0!==h?h:U.firstWeekContainsDate)\u0026\u0026void 0!==f?f:null===(w=U.locale)||void 0===w||null===(b=w.options)||void 0===b?void 0:b.firstWeekContainsDate)\u0026\u0026void 0!==c?c:1);if(!(W\u003E=1\u0026\u0026W\u003C=7))throw new RangeError(\u0022firstWeekContainsDate must be between 1 and 7 inclusively\u0022);var Y=t(null!==(y=null!==(p=null!==(T=null!==(C=null==i?void 0:i.weekStartsOn)\u0026\u0026void 0!==C?C:null==i||null===(M=i.locale)||void 0===M||null===(D=M.options)||void 0===D?void 0:D.weekStartsOn)\u0026\u0026void 0!==T?T:U.weekStartsOn)\u0026\u0026void 0!==p?p:null===(k=U.locale)||void 0===k||null===(S=k.options)||void 0===S?void 0:S.weekStartsOn)\u0026\u0026void 0!==y?y:0);if(!(Y\u003E=0\u0026\u0026Y\u003C=6))throw new RangeError(\u0022weekStartsOn must be between 0 and 6 inclusively\u0022);if(!P.localize)throw new RangeError(\u0022locale must contain localize property\u0022);if(!P.formatLong)throw new RangeError(\u0022locale must contain formatLong property\u0022);var E=r(n);if(!u(E))throw new RangeError(\u0022Invalid time value\u0022);var N=function(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}(E),O=s(E,N),q={firstWeekContainsDate:W,weekStartsOn:Y,locale:P,_originalDate:E};return x.match(nt).map((function(t){var e=t[0];return\u0022p\u0022===e||\u0022P\u0022===e?(0,Q[e])(t,P.formatLong):t})).join(\u0022\u0022).match(et).map((function(t){if(\u0022\u0027\u0027\u0022===t)return\u0022\u0027\u0022;var e=t[0];if(\u0022\u0027\u0022===e)return function(t){var e=t.match(rt);if(!e)return t;return e[1].replace(at,\u0022\u0027\u0022)}(t);var r,o=j[e];if(o)return null!=i\u0026\u0026i.useAdditionalWeekYearTokens||(r=t,-1===G.indexOf(r))||X(t,a,String(n)),null!=i\u0026\u0026i.useAdditionalDayOfYearTokens||!function(t){return-1!==A.indexOf(t)}(t)||X(t,a,String(n)),o(O,t,P.localize,q);if(e.match(ot))throw new RangeError(\u0022Format string contains an unescaped latin alphabet character \u0060\u0022\u002Be\u002B\u0022\u0060\u0022);return t})).join(\u0022\u0022)};return it}));\r\n\r\nfunction phpDate(format, timestamp) {\r\n // discuss at: https://locutus.io/php/date/\r\n // original by: Carlos R. L. Rodrigues (https://www.jsfromhell.com)\r\n // original by: gettimeofday\r\n // parts by: Peter-Paul Koch (https://www.quirksmode.org/js/beat.html)\r\n // improved by: Kevin van Zonneveld (https://kvz.io)\r\n // improved by: MeEtc (https://yass.meetcweb.com)\r\n // improved by: Brad Touesnard\r\n // improved by: Tim Wiel\r\n // improved by: Bryan Elliott\r\n // improved by: David Randall\r\n // improved by: Theriault (https://github.com/Theriault)\r\n // improved by: Theriault (https://github.com/Theriault)\r\n // improved by: Brett Zamir (https://brett-zamir.me)\r\n // improved by: Theriault (https://github.com/Theriault)\r\n // improved by: Thomas Beaucourt (https://www.webapp.fr)\r\n // improved by: JT\r\n // improved by: Theriault (https://github.com/Theriault)\r\n // improved by: Rafa\u0142 Kukawski (https://blog.kukawski.pl)\r\n // improved by: Theriault (https://github.com/Theriault)\r\n // input by: Brett Zamir (https://brett-zamir.me)\r\n // input by: majak\r\n // input by: Alex\r\n // input by: Martin\r\n // input by: Alex Wilson\r\n // input by: Haravikk\r\n // bugfixed by: Kevin van Zonneveld (https://kvz.io)\r\n // bugfixed by: majak\r\n // bugfixed by: Kevin van Zonneveld (https://kvz.io)\r\n // bugfixed by: Brett Zamir (https://brett-zamir.me)\r\n // bugfixed by: omid (https://locutus.io/php/380:380#comment_137122)\r\n // bugfixed by: Chris (https://www.devotis.nl/)\r\n // note 1: Uses global: locutus to store the default timezone\r\n // note 1: Although the function potentially allows timezone info\r\n // note 1: (see notes), it currently does not set\r\n // note 1: per a timezone specified by date_default_timezone_set(). Implementers might use\r\n // note 1: $locutus.currentTimezoneOffset and\r\n // note 1: $locutus.currentTimezoneDST set by that function\r\n // note 1: in order to adjust the dates in this function\r\n // note 1: (or our other date functions!) accordingly\r\n // example 1: date(\u0027H:m:s \\\\m \\\\i\\\\s \\\\m\\\\o\\\\n\\\\t\\\\h\u0027, 1062402400)\r\n // returns 1: \u002707:09:40 m is month\u0027\r\n // example 2: date(\u0027F j, Y, g:i a\u0027, 1062462400)\r\n // returns 2: \u0027September 2, 2003, 12:26 am\u0027\r\n // example 3: date(\u0027Y W o\u0027, 1062462400)\r\n // returns 3: \u00272003 36 2003\u0027\r\n // example 4: var $x = date(\u0027Y m d\u0027, (new Date()).getTime() / 1000)\r\n // example 4: $x = $x \u002B \u0027\u0027\r\n // example 4: var $result = $x.length // 2009 01 09\r\n // returns 4: 10\r\n // example 5: date(\u0027W\u0027, 1104534000)\r\n // returns 5: \u002752\u0027\r\n // example 6: date(\u0027B t\u0027, 1104534000)\r\n // returns 6: \u0027999 31\u0027\r\n // example 7: date(\u0027W U\u0027, 1293750000.82); // 2010-12-31\r\n // returns 7: \u002752 1293750000\u0027\r\n // example 8: date(\u0027W\u0027, 1293836400); // 2011-01-01\r\n // returns 8: \u002752\u0027\r\n // example 9: date(\u0027W Y-m-d\u0027, 1293974054); // 2011-01-02\r\n // returns 9: \u002752 2011-01-02\u0027\r\n // test: skip-1 skip-2 skip-5\r\n let jsdate, f;\r\n // Keep this here (works, but for code commented-out below for file size reasons)\r\n // var tal= [];\r\n const txtWords = [\r\n \u0027Sun\u0027, \u0027Mon\u0027, \u0027Tues\u0027, \u0027Wednes\u0027, \u0027Thurs\u0027, \u0027Fri\u0027, \u0027Satur\u0027,\r\n \u0027January\u0027, \u0027February\u0027, \u0027March\u0027, \u0027April\u0027, \u0027May\u0027, \u0027June\u0027,\r\n \u0027July\u0027, \u0027August\u0027, \u0027September\u0027, \u0027October\u0027, \u0027November\u0027, \u0027December\u0027\r\n ];\r\n // trailing backslash -\u003E (dropped)\r\n // a backslash followed by any character (including backslash) -\u003E the character\r\n // empty string -\u003E empty string\r\n const formatChr = /\\\\?(.?)/gi;\r\n const formatChrCb = function (t, s) {\r\n return f[t] ? f[t]() : s;\r\n };\r\n const _pad = function (n, c) {\r\n n = String(n);\r\n while (n.length \u003C c) {\r\n n = \u00270\u0027 \u002B n;\r\n }\r\n return n;\r\n };\r\n f = {\r\n // Day\r\n d: function () {\r\n // Day of month w/leading 0; 01..31\r\n return _pad(f.j(), 2);\r\n },\r\n D: function () {\r\n // Shorthand day name; Mon...Sun\r\n return f.l()\r\n .slice(0, 3);\r\n },\r\n j: function () {\r\n // Day of month; 1..31\r\n return jsdate.getDate();\r\n },\r\n l: function () {\r\n // Full day name; Monday...Sunday\r\n return txtWords[f.w()] \u002B \u0027day\u0027;\r\n },\r\n N: function () {\r\n // ISO-8601 day of week; 1[Mon]..7[Sun]\r\n return f.w() || 7;\r\n },\r\n S: function () {\r\n // Ordinal suffix for day of month; st, nd, rd, th\r\n const j = f.j();\r\n let i = j % 10;\r\n if (i \u003C= 3 \u0026\u0026 parseInt((j % 100) / 10, 10) === 1) {\r\n i = 0;\r\n }\r\n return [\u0027st\u0027, \u0027nd\u0027, \u0027rd\u0027][i - 1] || \u0027th\u0027;\r\n },\r\n w: function () {\r\n // Day of week; 0[Sun]..6[Sat]\r\n return jsdate.getDay();\r\n },\r\n z: function () {\r\n // Day of year; 0..365\r\n const a = new Date(f.Y(), f.n() - 1, f.j());\r\n const b = new Date(f.Y(), 0, 1);\r\n return Math.round((a - b) / 864e5);\r\n },\r\n // Week\r\n W: function () {\r\n // ISO-8601 week number\r\n const a = new Date(f.Y(), f.n() - 1, f.j() - f.N() \u002B 3);\r\n const b = new Date(a.getFullYear(), 0, 4);\r\n return _pad(1 \u002B Math.round((a - b) / 864e5 / 7), 2);\r\n },\r\n // Month\r\n F: function () {\r\n // Full month name; January...December\r\n return txtWords[6 \u002B f.n()];\r\n },\r\n m: function () {\r\n // Month w/leading 0; 01...12\r\n return _pad(f.n(), 2);\r\n },\r\n M: function () {\r\n // Shorthand month name; Jan...Dec\r\n return f.F()\r\n .slice(0, 3);\r\n },\r\n n: function () {\r\n // Month; 1...12\r\n return jsdate.getMonth() \u002B 1;\r\n },\r\n t: function () {\r\n // Days in month; 28...31\r\n return (new Date(f.Y(), f.n(), 0))\r\n .getDate();\r\n },\r\n // Year\r\n L: function () {\r\n // Is leap year?; 0 or 1\r\n const j = f.Y();\r\n return j % 4 === 0 \u0026 j % 100 !== 0 | j % 400 === 0;\r\n },\r\n o: function () {\r\n // ISO-8601 year\r\n const n = f.n();\r\n const W = f.W();\r\n const Y = f.Y();\r\n return Y \u002B (n === 12 \u0026\u0026 W \u003C 9 ? 1 : n === 1 \u0026\u0026 W \u003E 9 ? -1 : 0);\r\n },\r\n Y: function () {\r\n // Full year; e.g. 1980...2010\r\n return jsdate.getFullYear();\r\n },\r\n y: function () {\r\n // Last two digits of year; 00...99\r\n return f.Y()\r\n .toString()\r\n .slice(-2);\r\n },\r\n // Time\r\n a: function () {\r\n // am or pm\r\n return jsdate.getHours() \u003E 11 ? \u0027pm\u0027 : \u0027am\u0027;\r\n },\r\n A: function () {\r\n // AM or PM\r\n return f.a()\r\n .toUpperCase();\r\n },\r\n B: function () {\r\n // Swatch Internet time; 000..999\r\n const H = jsdate.getUTCHours() * 36e2;\r\n // Hours\r\n const i = jsdate.getUTCMinutes() * 60;\r\n // Minutes\r\n // Seconds\r\n const s = jsdate.getUTCSeconds();\r\n return _pad(Math.floor((H \u002B i \u002B s \u002B 36e2) / 86.4) % 1e3, 3);\r\n },\r\n g: function () {\r\n // 12-Hours; 1..12\r\n return f.G() % 12 || 12;\r\n },\r\n G: function () {\r\n // 24-Hours; 0..23\r\n return jsdate.getHours();\r\n },\r\n h: function () {\r\n // 12-Hours w/leading 0; 01..12\r\n return _pad(f.g(), 2);\r\n },\r\n H: function () {\r\n // 24-Hours w/leading 0; 00..23\r\n return _pad(f.G(), 2);\r\n },\r\n i: function () {\r\n // Minutes w/leading 0; 00..59\r\n return _pad(jsdate.getMinutes(), 2);\r\n },\r\n s: function () {\r\n // Seconds w/leading 0; 00..59\r\n return _pad(jsdate.getSeconds(), 2);\r\n },\r\n u: function () {\r\n // Microseconds; 000000-999000\r\n return _pad(jsdate.getMilliseconds() * 1000, 6);\r\n },\r\n // Timezone\r\n e: function () {\r\n // Timezone identifier; e.g. Atlantic/Azores, ...\r\n // The following works, but requires inclusion of the very large\r\n // timezone_abbreviations_list() function.\r\n /* return that.date_default_timezone_get();\r\n */\r\n const msg = \u0027Not supported (see source code of date() for timezone on how to add support)\u0027;\r\n throw new Error(msg);\r\n },\r\n I: function () {\r\n // DST observed?; 0 or 1\r\n // Compares Jan 1 minus Jan 1 UTC to Jul 1 minus Jul 1 UTC.\r\n // If they are not equal, then DST is observed.\r\n const a = new Date(f.Y(), 0);\r\n // Jan 1\r\n const c = Date.UTC(f.Y(), 0);\r\n // Jan 1 UTC\r\n const b = new Date(f.Y(), 6);\r\n // Jul 1\r\n // Jul 1 UTC\r\n const d = Date.UTC(f.Y(), 6);\r\n return ((a - c) !== (b - d)) ? 1 : 0;\r\n },\r\n O: function () {\r\n // Difference to GMT in hour format; e.g. \u002B0200\r\n const tzo = jsdate.getTimezoneOffset();\r\n const a = Math.abs(tzo);\r\n return (tzo \u003E 0 ? \u0027-\u0027 : \u0027\u002B\u0027) \u002B _pad(Math.floor(a / 60) * 100 \u002B a % 60, 4);\r\n },\r\n P: function () {\r\n // Difference to GMT w/colon; e.g. \u002B02:00\r\n const O = f.O();\r\n return (O.substr(0, 3) \u002B \u0027:\u0027 \u002B O.substr(3, 2));\r\n },\r\n T: function () {\r\n // The following works, but requires inclusion of the very\r\n // large timezone_abbreviations_list() function.\r\n /* var abbr, i, os, _default;\r\n if (!tal.length) {\r\n tal = that.timezone_abbreviations_list();\r\n }\r\n if ($locutus \u0026\u0026 $locutus.default_timezone) {\r\n _default = $locutus.default_timezone;\r\n for (abbr in tal) {\r\n for (i = 0; i \u003C tal[abbr].length; i\u002B\u002B) {\r\n if (tal[abbr][i].timezone_id === _default) {\r\n return abbr.toUpperCase();\r\n }\r\n }\r\n }\r\n }\r\n for (abbr in tal) {\r\n for (i = 0; i \u003C tal[abbr].length; i\u002B\u002B) {\r\n os = -jsdate.getTimezoneOffset() * 60;\r\n if (tal[abbr][i].offset === os) {\r\n return abbr.toUpperCase();\r\n }\r\n }\r\n }\r\n */\r\n return \u0027UTC\u0027;\r\n },\r\n Z: function () {\r\n // Timezone offset in seconds (-43200...50400)\r\n return -jsdate.getTimezoneOffset() * 60;\r\n },\r\n // Full Date/Time\r\n c: function () {\r\n // ISO-8601 date.\r\n return \u0027Y-m-d\\\\TH:i:sP\u0027.replace(formatChr, formatChrCb);\r\n },\r\n r: function () {\r\n // RFC 2822\r\n return \u0027D, d M Y H:i:s O\u0027.replace(formatChr, formatChrCb);\r\n },\r\n U: function () {\r\n // Seconds since UNIX epoch\r\n return jsdate / 1000 | 0;\r\n }\r\n };\r\n const _date = function (format, timestamp) {\r\n jsdate = (timestamp === undefined\r\n ? new Date() // Not provided\r\n : (timestamp instanceof Date)\r\n ? new Date(timestamp) // JS Date()\r\n : new Date(timestamp * 1000) // UNIX timestamp (auto-convert to int)\r\n );\r\n return format.replace(formatChr, formatChrCb);\r\n };\r\n return _date(format, timestamp);\r\n}\r\n\r\nfunction test1() {\r\n return phpDate(\u0027Y-m-d h:i:s T\u0027);\r\n}\r\n\r\nfunction test2() {\r\n return dayjs().format(\u0027YYYY-MM-DD HH:mm:ss Z\u0027);\r\n}\r\n\r\nfunction test3() {\r\n return moment().format(\u0027YYYY-MM-DD HH:mm:ss Z\u0027);\r\n}\r\n\r\nfunction test4() {\r\n return luxon.DateTime.now().toFormat(\u0027yyyy-mm-dd hh:mm:ss Z\u0027);\r\n}\r\n\r\nfunction test5() {\r\n return dateFnsFormat(new Date(), \u0027yyyy-MM-dd HH:mm:ss z\u0027);\r\n}\r\n","TestCases":[{"Name":"test1: php date funtion","Code":"test1();","IsDeferred":false},{"Name":"test2: day.js","Code":"test2();","IsDeferred":false},{"Name":"test3: moment.js","Code":"test3();","IsDeferred":false},{"Name":"test4: luxon","Code":"test4();","IsDeferred":false},{"Name":"test5: date-fns/format","Code":"test5();","IsDeferred":false}]}