22 lines
141 KiB
JavaScript
22 lines
141 KiB
JavaScript
|
|
/*! This file is auto-generated */
|
||
|
|
(function() {
|
||
|
|
"use strict";var wp;(wp||={}).date=(()=>{var S0=Object.create;var j=Object.defineProperty;var h0=Object.getOwnPropertyDescriptor;var g0=Object.getOwnPropertyNames;var C0=Object.getPrototypeOf,P0=Object.prototype.hasOwnProperty;var F=(M,n)=>()=>(n||M((n={exports:{}}).exports,n),n.exports),D0=(M,n)=>{for(var e in n)j(M,e,{get:n[e],enumerable:!0})},z0=(M,n,e,q)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of g0(n))!P0.call(M,u)&&u!==e&&j(M,u,{get:()=>n[u],enumerable:!(q=h0(n,u))||q.enumerable});return M};var V=(M,n,e)=>(e=M!=null?S0(C0(M)):{},z0(n||!M||!M.__esModule?j(e,"default",{value:M,enumerable:!0}):e,M)),_0=M=>z0(j({},"__esModule",{value:!0}),M);var M0=F((Z0,t0)=>{t0.exports=window.moment});var a0=F((f0,x)=>{(function(M,n){"use strict";typeof x=="object"&&x.exports?x.exports=n(M0()):typeof define=="function"&&define.amd?define(["moment"],n):n(M.moment)})(f0,function(M){"use strict";M.version===void 0&&M.default&&(M=M.default);var n="0.5.43",e={},q={},u={},W={},R={},I;(!M||typeof M.version!="string")&&D("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var Y=M.version.split("."),_=+Y[0],w=+Y[1];(_<2||_===2&&w<6)&&D("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+M.version+". See momentjs.com");function K(c){return c>96?c-87:c>64?c-29:c-48}function k(c){var o=0,a=c.split("."),i=a[0],b=a[1]||"",d=1,B,m=0,L=1;for(c.charCodeAt(0)===45&&(o=1,L=-1),o;o<i.length;o++)B=K(i.charCodeAt(o)),m=60*m+B;for(o=0;o<b.length;o++)d=d/60,B=K(b.charCodeAt(o)),m+=B*d;return m*L}function y(c){for(var o=0;o<c.length;o++)c[o]=k(c[o])}function Z(c,o){for(var a=0;a<o;a++)c[a]=Math.round((c[a-1]||0)+c[a]*6e4);c[o-1]=1/0}function v(c,o){var a=[],i;for(i=0;i<o.length;i++)a[i]=c[o[i]];return a}function U(c){var o=c.split("|"),a=o[2].split(" "),i=o[3].split(""),b=o[4].split(" ");return y(a),y(i),y(b),Z(b,i.length),{name:o[0],abbrs:v(o[1].split(" "),i),offsets:v(a,i),untils:b,population:o[5]|0}}function C(c){c&&this._set(U(c))}C.prototype={_set:function(c){this.name=c.name,this.abbrs=c.abbrs,this.untils=c.untils,this.offsets=c.offsets,this.population=c.population},_index:function(c){var o=+c,a=this.untils,i;for(i=0;i<a.length;i++)if(o<a[i])return i},countries:function(){var c=this.name;return Object.keys(u).filter(function(o){return u[o].zones.indexOf(c)!==-1})},parse:function(c){var o=+c,a=this.offsets,i=this.untils,b=i.length-1,d,B,m,L;for(L=0;L<b;L++)if(d=a[L],B=a[L+1],m=a[L&&L-1],d<B&&s.moveAmbiguousForward?d=B:d>m&&s.moveInvalidForward&&(d=m),o<i[L]-d*6e4)return a[L];return a[b]},abbr:function(c){return this.abbrs[this._index(c)]},offset:function(c){return D("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(c)]},utcOffset:function(c){return this.offsets[this._index(c)]}};function Q(c,o){this.name=c,this.zones=o}function A(c){var o=c.toTimeString(),a=o.match(/\([a-z ]+\)/i);a&&a[0]?(a=a[0].match(/[A-Z]/g),a=a?a.join(""):void 0):(a=o.match(/[A-Z]{3,5}/g),a=a?a[0]:void 0),a==="GMT"&&(a=void 0),this.at=+c,this.abbr=a,this.offset=c.getTimezoneOffset()}function z(c){this.zone=c,this.offsetScore=0,this.abbrScore=0}z.prototype.scoreOffsetAt=function(c){this.offsetScore+=Math.abs(this.zone.utcOffset(c.at)-c.offset),this.zone.abbr(c.at).replace(/[^A-Z]/g,"")!==c.abbr&&this.abbrScore++};function r(c,o){for(var a,i;i=((o.at-c.at)/12e4|0)*6e4;)a=new A(new Date(c.at+i)),a.offset===c.offset?c=a:o=a;return c}function t(){var c=new Date().getFullYear()-2,o=new A(new Date(c,0,1)),a=[o],i,b,d;for(d=1;d<48;d++)b=new A(new Date(c,d,1)),b.offset!==o.offset&&(i=r(o,b),a.push(i),a.push(new A(new Date(i.at+6e4)))),o=b;for(d=0;d<4;d++)a.push(new A(new Date(c+d,0,1))),a.push(new A(new Date(c+d,6,1)));return a}function p(c,o){return c.offsetScore!==o.offsetScore?c.offsetScore-o.offsetScore:c.abbrScore!==o.abbrScore?c.abbrScore-o.abbrScore:c.zone.population!==o.zone.population?o.zone.population-c.zone.population:o.zone.name.localeCompare(c.zone.name)}function O(c,o){var a,i;for(y(o),a=0;a<o.length;a++)i=o[a],R[i]=R[i]||{},R[i][c]=!0}function f(c){var o=c.
|
||
|
|
/*! Bundled license information:
|
||
|
|
|
||
|
|
moment-timezone/builds/moment-timezone-with-data-1970-2030.js:
|
||
|
|
(*! moment-timezone.js *)
|
||
|
|
(*! version : 0.5.43 *)
|
||
|
|
(*! Copyright (c) JS Foundation and other contributors *)
|
||
|
|
(*! license : MIT *)
|
||
|
|
(*! github.com/moment/moment-timezone *)
|
||
|
|
|
||
|
|
moment-timezone/moment-timezone-utils.js:
|
||
|
|
(*! moment-timezone-utils.js *)
|
||
|
|
(*! version : 0.5.43 *)
|
||
|
|
(*! Copyright (c) JS Foundation and other contributors *)
|
||
|
|
(*! license : MIT *)
|
||
|
|
(*! github.com/moment/moment-timezone *)
|
||
|
|
*/
|
||
|
|
(window.wp ||= {}).date = wp.date;
|
||
|
|
})();
|