userflow.js-self-hosted 0.1.1024504 → 0.1.1024509
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AnnouncementEngagement.js +2 -2
- package/BannerApp.js +1 -1
- package/BuilderBar.js +1 -1
- package/ChecklistApp.js +1 -1
- package/ChecklistUI.js +1 -1
- package/DebuggerUI.js +2 -2
- package/ElementSelectionApp.js +1 -1
- package/EmbedApp.js +1 -1
- package/FlowApp.js +3 -3
- package/FlowChrome.js +2 -2
- package/Frame.js +1 -1
- package/LauncherApp.js +1 -1
- package/NotificationsApp.js +1 -1
- package/Popover.js +1 -1
- package/ResourceCenterApp.js +4 -4
- package/ResourceCenterAssistantChat.js +2 -2
- package/ResourceCenterLauncherHandler.js +1 -1
- package/SitePage.js +1 -1
- package/SmartFlowRecordingApp.js +1 -1
- package/StartConditionTestingApp.js +1 -1
- package/TrackerTestingApp.js +1 -1
- package/TreeDoc.js +3 -3
- package/Trigger.js +1 -1
- package/WorkflowApp.js +2 -2
- package/client-context.js +1 -1
- package/flow-condition-types.js +1 -1
- package/flow-host.styl.js +1 -1
- package/happy.js +1 -1
- package/hash.txt +1 -1
- package/implicit-tracking.js +2 -2
- package/neutral.js +1 -1
- package/package.json +1 -1
- package/react-hooks.js +1 -1
- package/roots.js +1 -1
- package/sad.js +1 -1
- package/steps.js +1 -1
- package/stylesheets.js +1 -1
- package/ui.js +2 -2
- package/use-confetti.js +1 -1
- package/use-element-rect.js +1 -1
- package/use-selector-element-monitoring.js +1 -1
- package/use-window-resize.js +1 -1
- package/userflow.js +8 -8
- package/vendor.babel.runtime.js +3 -3
- package/vendor.bignumber.js.js +1 -1
- package/vendor.canvas-confetti.js +2 -2
- package/vendor.date-fns.js +1 -1
- package/vendor.dompurify.js +1 -1
- package/vendor.fortawesome.pro-light-svg-icons.js +1 -1
- package/vendor.fortawesome.pro-regular-svg-icons.js +1 -1
- package/vendor.fortawesome.pro-solid-svg-icons.js +1 -1
- package/vendor.history.js +1 -1
- package/vendor.html-parse-stringify2.js +1 -1
- package/vendor.i18next.js +1 -1
- package/vendor.is-hotkey.js +1 -1
- package/vendor.lodash.js +1 -27
- package/vendor.mini-create-react-context.js +1 -1
- package/vendor.object-assign.js +1 -5
- package/vendor.path-to-regexp.js +1 -1
- package/vendor.prop-types.js +1 -1
- package/vendor.react-dom.js +8 -15
- package/vendor.react-i18next.js +1 -1
- package/vendor.react-is.js +1 -8
- package/vendor.react-router-dom.js +1 -1
- package/vendor.react-router.js +1 -1
- package/vendor.react.js +1 -8
- package/vendor.scheduler.js +1 -8
- package/vendor.void-elements.js +1 -1
- package/vendor.core-js.js +0 -2
- package/vendor.fortawesome.fontawesome-svg-core.js +0 -762
- package/vendor.fortawesome.react-fontawesome.js +0 -3
- package/vendor.react-day-picker.js +0 -2
package/vendor.date-fns.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as ge,a as w,b as g,c as h,d as s,e as c,f as m,g as Ye}from"./vendor.babel.runtime.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[i]="5129ca5b-72de-4a01-955a-63eb0b5b7874",o._sentryDebugIdIdentifier="sentry-dbid-5129ca5b-72de-4a01-955a-63eb0b5b7874")}catch{}})();function E(o){if(o===null||o===!0||o===!1)return NaN;var i=Number(o);return isNaN(i)?i:i<0?Math.ceil(i):Math.floor(i)}function T(o,i){if(i.length<o)throw new TypeError(o+" argument"+(o>1?"s":"")+" required, but only "+i.length+" present")}function k(o){T(1,arguments);var i=Object.prototype.toString.call(o);return o instanceof Date||ge(o)==="object"&&i==="[object Date]"?new Date(o.getTime()):typeof o=="number"||i==="[object Number]"?new Date(o):((typeof o=="string"||i==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ve(o,i){T(2,arguments);var t=k(o),r=E(i);return isNaN(r)?new Date(NaN):(r&&t.setDate(t.getDate()+r),t)}function Ze(o,i){T(2,arguments);var t=k(o).getTime(),r=E(i);return new Date(t+r)}var Ke={};function Z(){return Ke}function _e(o){var i=new Date(Date.UTC(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds()));return i.setUTCFullYear(o.getFullYear()),o.getTime()-i.getTime()}var pe=6e4,ye=36e5,Je=1e3;function et(o){return T(1,arguments),o instanceof Date||ge(o)==="object"&&Object.prototype.toString.call(o)==="[object Date]"}function tt(o){if(T(1,arguments),!et(o)&&typeof o!="number")return!1;var i=k(o);return!isNaN(Number(i))}function Ie(o,i){T(2,arguments);var t=E(i);return Ze(o,-t)}var rt=864e5;function at(o){T(1,arguments);var i=k(o),t=i.getTime();i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0);var r=i.getTime(),e=t-r;return Math.floor(e/rt)+1}function V(o){T(1,arguments);var i=1,t=k(o),r=t.getUTCDay(),e=(r<i?7:0)+r-i;return t.setUTCDate(t.getUTCDate()-e),t.setUTCHours(0,0,0,0),t}function qe(o){T(1,arguments);var i=k(o),t=i.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(t+1,0,4),r.setUTCHours(0,0,0,0);var e=V(r),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var a=V(n);return i.getTime()>=e.getTime()?t+1:i.getTime()>=a.getTime()?t:t-1}function nt(o){T(1,arguments);var i=qe(o),t=new Date(0);t.setUTCFullYear(i,0,4),t.setUTCHours(0,0,0,0);var r=V(t);return r}var it=6048e5;function He(o){T(1,arguments);var i=k(o),t=V(i).getTime()-nt(i).getTime();return Math.round(t/it)+1}function j(o,i){var t,r,e,n,a,u,l,d;T(1,arguments);var f=Z(),v=E((t=(r=(e=(n=i?.weekStartsOn)!==null&&n!==void 0?n:i==null||(a=i.locale)===null||a===void 0||(u=a.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&e!==void 0?e:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&t!==void 0?t:0);if(!(v>=0&&v<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var x=k(o),D=x.getUTCDay(),U=(D<v?7:0)+D-v;return x.setUTCDate(x.getUTCDate()-U),x.setUTCHours(0,0,0,0),x}function be(o,i){var t,r,e,n,a,u,l,d;T(1,arguments);var f=k(o),v=f.getUTCFullYear(),x=Z(),D=E((t=(r=(e=(n=i?.firstWeekContainsDate)!==null&&n!==void 0?n:i==null||(a=i.locale)===null||a===void 0||(u=a.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&e!==void 0?e:x.firstWeekContainsDate)!==null&&r!==void 0?r:(l=x.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var U=new Date(0);U.setUTCFullYear(v+1,0,D),U.setUTCHours(0,0,0,0);var H=j(U,i),_=new Date(0);_.setUTCFullYear(v,0,D),_.setUTCHours(0,0,0,0);var $=j(_,i);return f.getTime()>=H.getTime()?v+1:f.getTime()>=$.getTime()?v:v-1}function ot(o,i){var t,r,e,n,a,u,l,d;T(1,arguments);var f=Z(),v=E((t=(r=(e=(n=i?.firstWeekContainsDate)!==null&&n!==void 0?n:i==null||(a=i.locale)===null||a===void 0||(u=a.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&e!==void 0?e:f.firstWeekContainsDate)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1),x=be(o,i),D=new Date(0);D.setUTCFullYear(x,0,v),D.setUTCHours(0,0,0,0);var U=j(D,i);return U}var ut=6048e5;function Le(o,i){T(1,arguments);var t=k(o),r=j(t,i).getTime()-ot(t,i).getTime();return Math.round(r/ut)+1}function y(o,i){for(var t=o<0?"-":"",r=Math.abs(o).toString();r.length<i;)r="0"+r;return t+r}var G={y:function(i,t){var r=i.getUTCFullYear(),e=r>0?r:1-r;return y(t==="yy"?e%100:e,t.length)},M:function(i,t){var r=i.getUTCMonth();return t==="M"?String(r+1):y(r+1,2)},d:function(i,t){return y(i.getUTCDate(),t.length)},a:function(i,t){var r=i.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(i,t){return y(i.getUTCHours()%12||12,t.length)},H:function(i,t){return y(i.getUTCHours(),t.length)},m:function(i,t){return y(i.getUTCMinutes(),t.length)},s:function(i,t){return y(i.getUTCSeconds(),t.length)},S:function(i,t){var r=t.length,e=i.getUTCMilliseconds(),n=Math.floor(e*Math.pow(10,r-3));return y(n,t.length)}},z={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},st={G:function(i,t,r){var e=i.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"});case"GGGGG":return r.era(e,{width:"narrow"});case"GGGG":default:return r.era(e,{width:"wide"})}},y:function(i,t,r){if(t==="yo"){var e=i.getUTCFullYear(),n=e>0?e:1-e;return r.ordinalNumber(n,{unit:"year"})}return G.y(i,t)},Y:function(i,t,r,e){var n=be(i,e),a=n>0?n:1-n;if(t==="YY"){var u=a%100;return y(u,2)}return t==="Yo"?r.ordinalNumber(a,{unit:"year"}):y(a,t.length)},R:function(i,t){var r=qe(i);return y(r,t.length)},u:function(i,t){var r=i.getUTCFullYear();return y(r,t.length)},Q:function(i,t,r){var e=Math.ceil((i.getUTCMonth()+1)/3);switch(t){case"Q":return String(e);case"QQ":return y(e,2);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(e,{width:"wide",context:"formatting"})}},q:function(i,t,r){var e=Math.ceil((i.getUTCMonth()+1)/3);switch(t){case"q":return String(e);case"qq":return y(e,2);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(e,{width:"wide",context:"standalone"})}},M:function(i,t,r){var e=i.getUTCMonth();switch(t){case"M":case"MM":return G.M(i,t);case"Mo":return r.ordinalNumber(e+1,{unit:"month"});case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(e,{width:"wide",context:"formatting"})}},L:function(i,t,r){var e=i.getUTCMonth();switch(t){case"L":return String(e+1);case"LL":return y(e+1,2);case"Lo":return r.ordinalNumber(e+1,{unit:"month"});case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(e,{width:"wide",context:"standalone"})}},w:function(i,t,r,e){var n=Le(i,e);return t==="wo"?r.ordinalNumber(n,{unit:"week"}):y(n,t.length)},I:function(i,t,r){var e=He(i);return t==="Io"?r.ordinalNumber(e,{unit:"week"}):y(e,t.length)},d:function(i,t,r){return t==="do"?r.ordinalNumber(i.getUTCDate(),{unit:"date"}):G.d(i,t)},D:function(i,t,r){var e=at(i);return t==="Do"?r.ordinalNumber(e,{unit:"dayOfYear"}):y(e,t.length)},E:function(i,t,r){var e=i.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"});case"EEEE":default:return r.day(e,{width:"wide",context:"formatting"})}},e:function(i,t,r,e){var n=i.getUTCDay(),a=(n-e.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return y(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(n,{width:"short",context:"formatting"});case"eeee":default:return r.day(n,{width:"wide",context:"formatting"})}},c:function(i,t,r,e){var n=i.getUTCDay(),a=(n-e.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return y(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(n,{width:"narrow",context:"standalone"});case"cccccc":return r.day(n,{width:"short",context:"standalone"});case"cccc":default:return r.day(n,{width:"wide",context:"standalone"})}},i:function(i,t,r){var e=i.getUTCDay(),n=e===0?7:e;switch(t){case"i":return String(n);case"ii":return y(n,t.length);case"io":return r.ordinalNumber(n,{unit:"day"});case"iii":return r.day(e,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(e,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(e,{width:"short",context:"formatting"});case"iiii":default:return r.day(e,{width:"wide",context:"formatting"})}},a:function(i,t,r){var e=i.getUTCHours(),n=e/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(i,t,r){var e=i.getUTCHours(),n;switch(e===12?n=z.noon:e===0?n=z.midnight:n=e/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(i,t,r){var e=i.getUTCHours(),n;switch(e>=17?n=z.evening:e>=12?n=z.afternoon:e>=4?n=z.morning:n=z.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(i,t,r){if(t==="ho"){var e=i.getUTCHours()%12;return e===0&&(e=12),r.ordinalNumber(e,{unit:"hour"})}return G.h(i,t)},H:function(i,t,r){return t==="Ho"?r.ordinalNumber(i.getUTCHours(),{unit:"hour"}):G.H(i,t)},K:function(i,t,r){var e=i.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(e,{unit:"hour"}):y(e,t.length)},k:function(i,t,r){var e=i.getUTCHours();return e===0&&(e=24),t==="ko"?r.ordinalNumber(e,{unit:"hour"}):y(e,t.length)},m:function(i,t,r){return t==="mo"?r.ordinalNumber(i.getUTCMinutes(),{unit:"minute"}):G.m(i,t)},s:function(i,t,r){return t==="so"?r.ordinalNumber(i.getUTCSeconds(),{unit:"second"}):G.s(i,t)},S:function(i,t){return G.S(i,t)},X:function(i,t,r,e){var n=e._originalDate||i,a=n.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return Ee(a);case"XXXX":case"XX":return S(a);case"XXXXX":case"XXX":default:return S(a,":")}},x:function(i,t,r,e){var n=e._originalDate||i,a=n.getTimezoneOffset();switch(t){case"x":return Ee(a);case"xxxx":case"xx":return S(a);case"xxxxx":case"xxx":default:return S(a,":")}},O:function(i,t,r,e){var n=e._originalDate||i,a=n.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ne(a,":");case"OOOO":default:return"GMT"+S(a,":")}},z:function(i,t,r,e){var n=e._originalDate||i,a=n.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ne(a,":");case"zzzz":default:return"GMT"+S(a,":")}},t:function(i,t,r,e){var n=e._originalDate||i,a=Math.floor(n.getTime()/1e3);return y(a,t.length)},T:function(i,t,r,e){var n=e._originalDate||i,a=n.getTime();return y(a,t.length)}};function Ne(o,i){var t=o>0?"-":"+",r=Math.abs(o),e=Math.floor(r/60),n=r%60;if(n===0)return t+String(e);var a=i;return t+String(e)+a+y(n,2)}function Ee(o,i){if(o%60===0){var t=o>0?"-":"+";return t+y(Math.abs(o)/60,2)}return S(o,i)}function S(o,i){var t=i||"",r=o>0?"-":"+",e=Math.abs(o),n=y(Math.floor(e/60),2),a=y(e%60,2);return r+n+t+a}var We=function(i,t){switch(i){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Ae=function(i,t){switch(i){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},lt=function(i,t){var r=i.match(/(P+)(p+)?/)||[],e=r[1],n=r[2];if(!n)return We(i,t);var a;switch(e){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",We(e,t)).replace("{{time}}",Ae(n,t))},we={p:Ae,P:lt},ct=["D","DD"],dt=["YY","YYYY"];function Qe(o){return ct.indexOf(o)!==-1}function $e(o){return dt.indexOf(o)!==-1}function le(o,i,t){if(o==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(i,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(i,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(i,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(i,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ft={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},vt=function(i,t,r){var e,n=ft[i];return typeof n=="string"?e=n:t===1?e=n.one:e=n.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+e:e+" ago":e};function he(o){return function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=i.width?String(i.width):o.defaultWidth,r=o.formats[t]||o.formats[o.defaultWidth];return r}}var ht={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},mt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gt={date:he({formats:ht,defaultWidth:"full"}),time:he({formats:mt,defaultWidth:"full"}),dateTime:he({formats:wt,defaultWidth:"full"})},pt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},yt=function(i,t,r,e){return pt[i]};function re(o){return function(i,t){var r=t!=null&&t.context?String(t.context):"standalone",e;if(r==="formatting"&&o.formattingValues){var n=o.defaultFormattingWidth||o.defaultWidth,a=t!=null&&t.width?String(t.width):n;e=o.formattingValues[a]||o.formattingValues[n]}else{var u=o.defaultWidth,l=t!=null&&t.width?String(t.width):o.defaultWidth;e=o.values[l]||o.values[u]}var d=o.argumentCallback?o.argumentCallback(i):i;return e[d]}}var bt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Tt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Dt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ct={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},xt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Pt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Mt=function(i,t){var r=Number(i),e=r%100;if(e>20||e<10)switch(e%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Ot={ordinalNumber:Mt,era:re({values:bt,defaultWidth:"wide"}),quarter:re({values:Tt,defaultWidth:"wide",argumentCallback:function(i){return i-1}}),month:re({values:Dt,defaultWidth:"wide"}),day:re({values:Ct,defaultWidth:"wide"}),dayPeriod:re({values:xt,defaultWidth:"wide",formattingValues:Pt,defaultFormattingWidth:"wide"})};function ae(o){return function(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,e=r&&o.matchPatterns[r]||o.matchPatterns[o.defaultMatchWidth],n=i.match(e);if(!n)return null;var a=n[0],u=r&&o.parsePatterns[r]||o.parsePatterns[o.defaultParseWidth],l=Array.isArray(u)?Ut(u,function(v){return v.test(a)}):kt(u,function(v){return v.test(a)}),d;d=o.valueCallback?o.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;var f=i.slice(a.length);return{value:d,rest:f}}}function kt(o,i){for(var t in o)if(o.hasOwnProperty(t)&&i(o[t]))return t}function Ut(o,i){for(var t=0;t<o.length;t++)if(i(o[t]))return t}function Yt(o){return function(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.match(o.matchPattern);if(!r)return null;var e=r[0],n=i.match(o.parsePattern);if(!n)return null;var a=o.valueCallback?o.valueCallback(n[0]):n[0];a=t.valueCallback?t.valueCallback(a):a;var u=i.slice(e.length);return{value:a,rest:u}}}var Nt=/^(\d+)(th|st|nd|rd)?/i,Et=/\d+/i,Wt={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},_t={any:[/^b/i,/^(a|c)/i]},It={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},qt={any:[/1/i,/2/i,/3/i,/4/i]},Ht={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},Lt={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]},At={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},Qt={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]},$t={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},Ft={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}},Rt={ordinalNumber:Yt({matchPattern:Nt,parsePattern:Et,valueCallback:function(i){return parseInt(i,10)}}),era:ae({matchPatterns:Wt,defaultMatchWidth:"wide",parsePatterns:_t,defaultParseWidth:"any"}),quarter:ae({matchPatterns:It,defaultMatchWidth:"wide",parsePatterns:qt,defaultParseWidth:"any",valueCallback:function(i){return i+1}}),month:ae({matchPatterns:Ht,defaultMatchWidth:"wide",parsePatterns:Lt,defaultParseWidth:"any"}),day:ae({matchPatterns:At,defaultMatchWidth:"wide",parsePatterns:Qt,defaultParseWidth:"any"}),dayPeriod:ae({matchPatterns:$t,defaultMatchWidth:"any",parsePatterns:Ft,defaultParseWidth:"any"})},Fe={code:"en-US",formatDistance:vt,formatLong:gt,formatRelative:yt,localize:Ot,match:Rt,options:{weekStartsOn:0,firstWeekContainsDate:1}},Xt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Gt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bt=/^'([^]*?)'?$/,St=/''/g,jt=/[a-zA-Z]/;function oa(o,i,t){var r,e,n,a,u,l,d,f,v,x,D,U,H,_;T(2,arguments);var $=String(i),W=Z(),L=(r=(e=void 0)!==null&&e!==void 0?e:W.locale)!==null&&r!==void 0?r:Fe,F=E((n=(a=(u=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&u!==void 0?u:W.firstWeekContainsDate)!==null&&a!==void 0?a:(d=W.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(F>=1&&F<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=E((v=(x=(D=(U=void 0)!==null&&U!==void 0?U:void 0)!==null&&D!==void 0?D:W.weekStartsOn)!==null&&x!==void 0?x:(H=W.locale)===null||H===void 0||(_=H.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&v!==void 0?v:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!L.localize)throw new RangeError("locale must contain localize property");if(!L.formatLong)throw new RangeError("locale must contain formatLong property");var X=k(o);if(!tt(X))throw new RangeError("Invalid time value");var K=_e(X),J=Ie(X,K),ee={firstWeekContainsDate:F,weekStartsOn:R,locale:L,_originalDate:X},de=$.match(Gt).map(function(N){var I=N[0];if(I==="p"||I==="P"){var B=we[I];return B(N,L.formatLong)}return N}).join("").match(Xt).map(function(N){if(N==="''")return"'";var I=N[0];if(I==="'")return zt(N);var B=st[I];if(B)return $e(N)&&le(N,i,String(o)),Qe(N)&&le(N,i,String(o)),B(J,N,L.localize,ee);if(I.match(jt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+I+"`");return N}).join("");return de}function zt(o){var i=o.match(Bt);return i?i[1].replace(St,"'"):o}function Vt(o,i){if(o==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(o[t]=i[t]);return o}function ua(o,i){T(2,arguments);var t=k(o),r=k(i);return t.getTime()>r.getTime()}function sa(o,i){T(2,arguments);var t=k(o),r=k(i);return t.getTime()<r.getTime()}var Zt=10,Re=function(){function o(){h(this,o),s(this,"priority",void 0),s(this,"subPriority",0)}return m(o,[{key:"validate",value:function(t,r){return!0}}]),o}(),Kt=function(o){w(t,o);var i=g(t);function t(r,e,n,a,u){var l;return h(this,t),l=i.call(this),l.value=r,l.validateValue=e,l.setValue=n,l.priority=a,u&&(l.subPriority=u),l}return m(t,[{key:"validate",value:function(e,n){return this.validateValue(e,this.value,n)}},{key:"set",value:function(e,n,a){return this.setValue(e,n,this.value,a)}}]),t}(Re),Jt=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",Zt),s(c(r),"subPriority",-1),r}return m(t,[{key:"set",value:function(e,n){if(n.timestampIsSet)return e;var a=new Date(0);return a.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),a.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),a}}]),t}(Re),p=function(){function o(){h(this,o),s(this,"incompatibleTokens",void 0),s(this,"priority",void 0),s(this,"subPriority",void 0)}return m(o,[{key:"run",value:function(t,r,e,n){var a=this.parse(t,r,e,n);return a?{setter:new Kt(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(t,r,e){return!0}}]),o}(),er=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",140),s(c(r),"incompatibleTokens",["R","u","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(e,{width:"abbreviated"})||a.era(e,{width:"narrow"});case"GGGGG":return a.era(e,{width:"narrow"});case"GGGG":default:return a.era(e,{width:"wide"})||a.era(e,{width:"abbreviated"})||a.era(e,{width:"narrow"})}}},{key:"set",value:function(e,n,a){return n.era=a,e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(p),M={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},A={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function O(o,i){return o&&{value:i(o.value),rest:o.rest}}function C(o,i){var t=i.match(o);return t?{value:parseInt(t[0],10),rest:i.slice(t[0].length)}:null}function Q(o,i){var t=i.match(o);if(!t)return null;if(t[0]==="Z")return{value:0,rest:i.slice(1)};var r=t[1]==="+"?1:-1,e=t[2]?parseInt(t[2],10):0,n=t[3]?parseInt(t[3],10):0,a=t[5]?parseInt(t[5],10):0;return{value:r*(e*ye+n*pe+a*Je),rest:i.slice(t[0].length)}}function Xe(o){return C(M.anyDigitsSigned,o)}function P(o,i){switch(o){case 1:return C(M.singleDigit,i);case 2:return C(M.twoDigits,i);case 3:return C(M.threeDigits,i);case 4:return C(M.fourDigits,i);default:return C(new RegExp("^\\d{1,"+o+"}"),i)}}function ce(o,i){switch(o){case 1:return C(M.singleDigitSigned,i);case 2:return C(M.twoDigitsSigned,i);case 3:return C(M.threeDigitsSigned,i);case 4:return C(M.fourDigitsSigned,i);default:return C(new RegExp("^-?\\d{1,"+o+"}"),i)}}function Te(o){switch(o){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Ge(o,i){var t=i>0,r=t?i:1-i,e;if(r<=50)e=o||100;else{var n=r+50,a=Math.floor(n/100)*100,u=o>=n%100;e=o+a-(u?100:0)}return t?e:1-e}function Be(o){return o%400===0||o%4===0&&o%100!==0}var tr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",130),s(c(r),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){var u=function(d){return{year:d,isTwoDigitYear:n==="yy"}};switch(n){case"y":return O(P(4,e),u);case"yo":return O(a.ordinalNumber(e,{unit:"year"}),u);default:return O(P(n.length,e),u)}}},{key:"validate",value:function(e,n){return n.isTwoDigitYear||n.year>0}},{key:"set",value:function(e,n,a){var u=e.getUTCFullYear();if(a.isTwoDigitYear){var l=Ge(a.year,u);return e.setUTCFullYear(l,0,1),e.setUTCHours(0,0,0,0),e}var d=!("era"in n)||n.era===1?a.year:1-a.year;return e.setUTCFullYear(d,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(p),rr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",130),s(c(r),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){var u=function(d){return{year:d,isTwoDigitYear:n==="YY"}};switch(n){case"Y":return O(P(4,e),u);case"Yo":return O(a.ordinalNumber(e,{unit:"year"}),u);default:return O(P(n.length,e),u)}}},{key:"validate",value:function(e,n){return n.isTwoDigitYear||n.year>0}},{key:"set",value:function(e,n,a,u){var l=be(e,u);if(a.isTwoDigitYear){var d=Ge(a.year,l);return e.setUTCFullYear(d,0,u.firstWeekContainsDate),e.setUTCHours(0,0,0,0),j(e,u)}var f=!("era"in n)||n.era===1?a.year:1-a.year;return e.setUTCFullYear(f,0,u.firstWeekContainsDate),e.setUTCHours(0,0,0,0),j(e,u)}}]),t}(p),ar=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",130),s(c(r),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n){return ce(n==="R"?4:n.length,e)}},{key:"set",value:function(e,n,a){var u=new Date(0);return u.setUTCFullYear(a,0,4),u.setUTCHours(0,0,0,0),V(u)}}]),t}(p),nr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",130),s(c(r),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n){return ce(n==="u"?4:n.length,e)}},{key:"set",value:function(e,n,a){return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(p),ir=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",120),s(c(r),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"Q":case"QQ":return P(n.length,e);case"Qo":return a.ordinalNumber(e,{unit:"quarter"});case"QQQ":return a.quarter(e,{width:"abbreviated",context:"formatting"})||a.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(e,{width:"wide",context:"formatting"})||a.quarter(e,{width:"abbreviated",context:"formatting"})||a.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,n){return n>=1&&n<=4}},{key:"set",value:function(e,n,a){return e.setUTCMonth((a-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),t}(p),or=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",120),s(c(r),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"q":case"qq":return P(n.length,e);case"qo":return a.ordinalNumber(e,{unit:"quarter"});case"qqq":return a.quarter(e,{width:"abbreviated",context:"standalone"})||a.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(e,{width:"wide",context:"standalone"})||a.quarter(e,{width:"abbreviated",context:"standalone"})||a.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,n){return n>=1&&n<=4}},{key:"set",value:function(e,n,a){return e.setUTCMonth((a-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),t}(p),ur=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),s(c(r),"priority",110),r}return m(t,[{key:"parse",value:function(e,n,a){var u=function(d){return d-1};switch(n){case"M":return O(C(M.month,e),u);case"MM":return O(P(2,e),u);case"Mo":return O(a.ordinalNumber(e,{unit:"month"}),u);case"MMM":return a.month(e,{width:"abbreviated",context:"formatting"})||a.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(e,{width:"wide",context:"formatting"})||a.month(e,{width:"abbreviated",context:"formatting"})||a.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,n){return n>=0&&n<=11}},{key:"set",value:function(e,n,a){return e.setUTCMonth(a,1),e.setUTCHours(0,0,0,0),e}}]),t}(p),sr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",110),s(c(r),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){var u=function(d){return d-1};switch(n){case"L":return O(C(M.month,e),u);case"LL":return O(P(2,e),u);case"Lo":return O(a.ordinalNumber(e,{unit:"month"}),u);case"LLL":return a.month(e,{width:"abbreviated",context:"standalone"})||a.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(e,{width:"wide",context:"standalone"})||a.month(e,{width:"abbreviated",context:"standalone"})||a.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,n){return n>=0&&n<=11}},{key:"set",value:function(e,n,a){return e.setUTCMonth(a,1),e.setUTCHours(0,0,0,0),e}}]),t}(p);function lr(o,i,t){T(2,arguments);var r=k(o),e=E(i),n=Le(r,t)-e;return r.setUTCDate(r.getUTCDate()-n*7),r}var cr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",100),s(c(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"w":return C(M.week,e);case"wo":return a.ordinalNumber(e,{unit:"week"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=1&&n<=53}},{key:"set",value:function(e,n,a,u){return j(lr(e,a,u),u)}}]),t}(p);function dr(o,i){T(2,arguments);var t=k(o),r=E(i),e=He(t)-r;return t.setUTCDate(t.getUTCDate()-e*7),t}var fr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",100),s(c(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"I":return C(M.week,e);case"Io":return a.ordinalNumber(e,{unit:"week"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=1&&n<=53}},{key:"set",value:function(e,n,a){return V(dr(e,a))}}]),t}(p),vr=[31,28,31,30,31,30,31,31,30,31,30,31],hr=[31,29,31,30,31,30,31,31,30,31,30,31],mr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"subPriority",1),s(c(r),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"d":return C(M.date,e);case"do":return a.ordinalNumber(e,{unit:"date"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){var a=e.getUTCFullYear(),u=Be(a),l=e.getUTCMonth();return u?n>=1&&n<=hr[l]:n>=1&&n<=vr[l]}},{key:"set",value:function(e,n,a){return e.setUTCDate(a),e.setUTCHours(0,0,0,0),e}}]),t}(p),wr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"subpriority",1),s(c(r),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"D":case"DD":return C(M.dayOfYear,e);case"Do":return a.ordinalNumber(e,{unit:"date"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){var a=e.getUTCFullYear(),u=Be(a);return u?n>=1&&n<=366:n>=1&&n<=365}},{key:"set",value:function(e,n,a){return e.setUTCMonth(0,a),e.setUTCHours(0,0,0,0),e}}]),t}(p);function De(o,i,t){var r,e,n,a,u,l,d,f;T(2,arguments);var v=Z(),x=E((r=(e=(n=(a=t?.weekStartsOn)!==null&&a!==void 0?a:t==null||(u=t.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:v.weekStartsOn)!==null&&e!==void 0?e:(d=v.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(x>=0&&x<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var D=k(o),U=E(i),H=D.getUTCDay(),_=U%7,$=(_+7)%7,W=($<x?7:0)+U-H;return D.setUTCDate(D.getUTCDate()+W),D}var gr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"incompatibleTokens",["D","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,n){return n>=0&&n<=6}},{key:"set",value:function(e,n,a,u){return e=De(e,a,u),e.setUTCHours(0,0,0,0),e}}]),t}(p),pr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a,u){var l=function(f){var v=Math.floor((f-1)/7)*7;return(f+u.weekStartsOn+6)%7+v};switch(n){case"e":case"ee":return O(P(n.length,e),l);case"eo":return O(a.ordinalNumber(e,{unit:"day"}),l);case"eee":return a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"eeeee":return a.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,n){return n>=0&&n<=6}},{key:"set",value:function(e,n,a,u){return e=De(e,a,u),e.setUTCHours(0,0,0,0),e}}]),t}(p),yr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a,u){var l=function(f){var v=Math.floor((f-1)/7)*7;return(f+u.weekStartsOn+6)%7+v};switch(n){case"c":case"cc":return O(P(n.length,e),l);case"co":return O(a.ordinalNumber(e,{unit:"day"}),l);case"ccc":return a.day(e,{width:"abbreviated",context:"standalone"})||a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"});case"ccccc":return a.day(e,{width:"narrow",context:"standalone"});case"cccccc":return a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(e,{width:"wide",context:"standalone"})||a.day(e,{width:"abbreviated",context:"standalone"})||a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,n){return n>=0&&n<=6}},{key:"set",value:function(e,n,a,u){return e=De(e,a,u),e.setUTCHours(0,0,0,0),e}}]),t}(p);function br(o,i){T(2,arguments);var t=E(i);t%7===0&&(t=t-7);var r=1,e=k(o),n=e.getUTCDay(),a=t%7,u=(a+7)%7,l=(u<r?7:0)+t-n;return e.setUTCDate(e.getUTCDate()+l),e}var Tr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){var u=function(d){return d===0?7:d};switch(n){case"i":case"ii":return P(n.length,e);case"io":return a.ordinalNumber(e,{unit:"day"});case"iii":return O(a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),u);case"iiiii":return O(a.day(e,{width:"narrow",context:"formatting"}),u);case"iiiiii":return O(a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),u);case"iiii":default:return O(a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),u)}}},{key:"validate",value:function(e,n){return n>=1&&n<=7}},{key:"set",value:function(e,n,a){return e=br(e,a),e.setUTCHours(0,0,0,0),e}}]),t}(p),Dr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",80),s(c(r),"incompatibleTokens",["b","B","H","k","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,n,a){return e.setUTCHours(Te(a),0,0,0),e}}]),t}(p),Cr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",80),s(c(r),"incompatibleTokens",["a","B","H","k","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,n,a){return e.setUTCHours(Te(a),0,0,0),e}}]),t}(p),xr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",80),s(c(r),"incompatibleTokens",["a","b","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,n,a){return e.setUTCHours(Te(a),0,0,0),e}}]),t}(p),Pr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",70),s(c(r),"incompatibleTokens",["H","K","k","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"h":return C(M.hour12h,e);case"ho":return a.ordinalNumber(e,{unit:"hour"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=1&&n<=12}},{key:"set",value:function(e,n,a){var u=e.getUTCHours()>=12;return u&&a<12?e.setUTCHours(a+12,0,0,0):!u&&a===12?e.setUTCHours(0,0,0,0):e.setUTCHours(a,0,0,0),e}}]),t}(p),Mr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",70),s(c(r),"incompatibleTokens",["a","b","h","K","k","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"H":return C(M.hour23h,e);case"Ho":return a.ordinalNumber(e,{unit:"hour"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=0&&n<=23}},{key:"set",value:function(e,n,a){return e.setUTCHours(a,0,0,0),e}}]),t}(p),Or=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",70),s(c(r),"incompatibleTokens",["h","H","k","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"K":return C(M.hour11h,e);case"Ko":return a.ordinalNumber(e,{unit:"hour"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=0&&n<=11}},{key:"set",value:function(e,n,a){var u=e.getUTCHours()>=12;return u&&a<12?e.setUTCHours(a+12,0,0,0):e.setUTCHours(a,0,0,0),e}}]),t}(p),kr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",70),s(c(r),"incompatibleTokens",["a","b","h","H","K","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"k":return C(M.hour24h,e);case"ko":return a.ordinalNumber(e,{unit:"hour"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=1&&n<=24}},{key:"set",value:function(e,n,a){var u=a<=24?a%24:a;return e.setUTCHours(u,0,0,0),e}}]),t}(p),Ur=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",60),s(c(r),"incompatibleTokens",["t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"m":return C(M.minute,e);case"mo":return a.ordinalNumber(e,{unit:"minute"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=0&&n<=59}},{key:"set",value:function(e,n,a){return e.setUTCMinutes(a,0,0),e}}]),t}(p),Yr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",50),s(c(r),"incompatibleTokens",["t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"s":return C(M.second,e);case"so":return a.ordinalNumber(e,{unit:"second"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=0&&n<=59}},{key:"set",value:function(e,n,a){return e.setUTCSeconds(a,0),e}}]),t}(p),Nr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",30),s(c(r),"incompatibleTokens",["t","T"]),r}return m(t,[{key:"parse",value:function(e,n){var a=function(l){return Math.floor(l*Math.pow(10,-n.length+3))};return O(P(n.length,e),a)}},{key:"set",value:function(e,n,a){return e.setUTCMilliseconds(a),e}}]),t}(p),Er=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",10),s(c(r),"incompatibleTokens",["t","T","x"]),r}return m(t,[{key:"parse",value:function(e,n){switch(n){case"X":return Q(A.basicOptionalMinutes,e);case"XX":return Q(A.basic,e);case"XXXX":return Q(A.basicOptionalSeconds,e);case"XXXXX":return Q(A.extendedOptionalSeconds,e);case"XXX":default:return Q(A.extended,e)}}},{key:"set",value:function(e,n,a){return n.timestampIsSet?e:new Date(e.getTime()-a)}}]),t}(p),Wr=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",10),s(c(r),"incompatibleTokens",["t","T","X"]),r}return m(t,[{key:"parse",value:function(e,n){switch(n){case"x":return Q(A.basicOptionalMinutes,e);case"xx":return Q(A.basic,e);case"xxxx":return Q(A.basicOptionalSeconds,e);case"xxxxx":return Q(A.extendedOptionalSeconds,e);case"xxx":default:return Q(A.extended,e)}}},{key:"set",value:function(e,n,a){return n.timestampIsSet?e:new Date(e.getTime()-a)}}]),t}(p),_r=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",40),s(c(r),"incompatibleTokens","*"),r}return m(t,[{key:"parse",value:function(e){return Xe(e)}},{key:"set",value:function(e,n,a){return[new Date(a*1e3),{timestampIsSet:!0}]}}]),t}(p),Ir=function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",20),s(c(r),"incompatibleTokens","*"),r}return m(t,[{key:"parse",value:function(e){return Xe(e)}},{key:"set",value:function(e,n,a){return[new Date(a),{timestampIsSet:!0}]}}]),t}(p),qr={G:new er,y:new tr,Y:new rr,R:new ar,u:new nr,Q:new ir,q:new or,M:new ur,L:new sr,w:new cr,I:new fr,d:new mr,D:new wr,E:new gr,e:new pr,c:new yr,i:new Tr,a:new Dr,b:new Cr,B:new xr,h:new Pr,H:new Mr,K:new Or,k:new kr,m:new Ur,s:new Yr,S:new Nr,X:new Er,x:new Wr,t:new _r,T:new Ir},Hr=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Lr=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ar=/^'([^]*?)'?$/,Qr=/''/g,$r=/\S/,Fr=/[a-zA-Z]/;function la(o,i,t,r){var e,n,a,u,l,d,f,v,x,D,U,H,_,$;T(3,arguments);var W=String(o),L=String(i),F=Z(),R=(e=(n=void 0)!==null&&n!==void 0?n:F.locale)!==null&&e!==void 0?e:Fe;if(!R.match)throw new RangeError("locale must contain match property");var X=E((a=(u=(l=(d=void 0)!==null&&d!==void 0?d:void 0)!==null&&l!==void 0?l:F.firstWeekContainsDate)!==null&&u!==void 0?u:(f=F.locale)===null||f===void 0||(v=f.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(X>=1&&X<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var K=E((x=(D=(U=(H=void 0)!==null&&H!==void 0?H:void 0)!==null&&U!==void 0?U:F.weekStartsOn)!==null&&D!==void 0?D:(_=F.locale)===null||_===void 0||($=_.options)===null||$===void 0?void 0:$.weekStartsOn)!==null&&x!==void 0?x:0);if(!(K>=0&&K<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(L==="")return W===""?k(t):new Date(NaN);var J={firstWeekContainsDate:X,weekStartsOn:K,locale:R},ee=[new Jt],de=L.match(Lr).map(function(Y){var b=Y[0];if(b in we){var q=we[b];return q(Y,R.formatLong)}return Y}).join("").match(Hr),N=[],I=Ye(de),B;try{var je=function(){var b=B.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&$e(b)&&le(b,L,o),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Qe(b)&&le(b,L,o);var q=b[0],ue=qr[q];if(ue){var Oe=ue.incompatibleTokens;if(Array.isArray(Oe)){var ke=N.find(function(Ue){return Oe.includes(Ue.token)||Ue.token===q});if(ke)throw new RangeError("The format string mustn't contain `".concat(ke.fullToken,"` and `").concat(b,"` at the same time"))}else if(ue.incompatibleTokens==="*"&&N.length>0)throw new RangeError("The format string mustn't contain `".concat(b,"` and any other token at the same time"));N.push({token:q,fullToken:b});var ve=ue.run(W,b,R.match,J);if(!ve)return{v:new Date(NaN)};ee.push(ve.setter),W=ve.rest}else{if(q.match(Fr))throw new RangeError("Format string contains an unescaped latin alphabet character `"+q+"`");if(b==="''"?b="'":q==="'"&&(b=Rr(b)),W.indexOf(b)===0)W=W.slice(b.length);else return{v:new Date(NaN)}}};for(I.s();!(B=I.n()).done;){var Ce=je();if(ge(Ce)==="object")return Ce.v}}catch(Y){I.e(Y)}finally{I.f()}if(W.length>0&&$r.test(W))return new Date(NaN);var ze=ee.map(function(Y){return Y.priority}).sort(function(Y,b){return b-Y}).filter(function(Y,b,q){return q.indexOf(Y)===b}).map(function(Y){return ee.filter(function(b){return b.priority===Y}).sort(function(b,q){return q.subPriority-b.subPriority})}).map(function(Y){return Y[0]}),fe=k(t);if(isNaN(fe.getTime()))return new Date(NaN);var te=Ie(fe,_e(fe)),xe={},ie=Ye(ze),Pe;try{for(ie.s();!(Pe=ie.n()).done;){var Me=Pe.value;if(!Me.validate(te,J))return new Date(NaN);var oe=Me.set(te,xe,J);Array.isArray(oe)?(te=oe[0],Vt(xe,oe[1])):te=oe}}catch(Y){ie.e(Y)}finally{ie.f()}return te}function Rr(o){return o.match(Ar)[1].replace(Qr,"'")}function ca(o,i){T(2,arguments);var t=E(i);return Ve(o,-t)}function da(o,i){var t;T(1,arguments);var r=E((t=void 0)!==null&&t!==void 0?t:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof o=="string"||Object.prototype.toString.call(o)==="[object String]"))return new Date(NaN);var e=Sr(o),n;if(e.date){var a=jr(e.date,r);n=zr(a.restDateString,a.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);var u=n.getTime(),l=0,d;if(e.time&&(l=Vr(e.time),isNaN(l)))return new Date(NaN);if(e.timezone){if(d=Zr(e.timezone),isNaN(d))return new Date(NaN)}else{var f=new Date(u+l),v=new Date(0);return v.setFullYear(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()),v.setHours(f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds()),v}return new Date(u+l+d)}var se={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Xr=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Gr=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Br=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Sr(o){var i={},t=o.split(se.dateTimeDelimiter),r;if(t.length>2)return i;if(/:/.test(t[0])?r=t[0]:(i.date=t[0],r=t[1],se.timeZoneDelimiter.test(i.date)&&(i.date=o.split(se.timeZoneDelimiter)[0],r=o.substr(i.date.length,o.length))),r){var e=se.timezone.exec(r);e?(i.time=r.replace(e[1],""),i.timezone=e[1]):i.time=r}return i}function jr(o,i){var t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+i)+"})|(\\d{2}|[+-]\\d{"+(2+i)+"})$)"),r=o.match(t);if(!r)return{year:NaN,restDateString:""};var e=r[1]?parseInt(r[1]):null,n=r[2]?parseInt(r[2]):null;return{year:n===null?e:n*100,restDateString:o.slice((r[1]||r[2]).length)}}function zr(o,i){if(i===null)return new Date(NaN);var t=o.match(Xr);if(!t)return new Date(NaN);var r=!!t[4],e=ne(t[1]),n=ne(t[2])-1,a=ne(t[3]),u=ne(t[4]),l=ne(t[5])-1;if(r)return ra(i,u,l)?Kr(i,u,l):new Date(NaN);var d=new Date(0);return!ea(i,n,a)||!ta(i,e)?new Date(NaN):(d.setUTCFullYear(i,n,Math.max(e,a)),d)}function ne(o){return o?parseInt(o):1}function Vr(o){var i=o.match(Gr);if(!i)return NaN;var t=me(i[1]),r=me(i[2]),e=me(i[3]);return aa(t,r,e)?t*ye+r*pe+e*1e3:NaN}function me(o){return o&&parseFloat(o.replace(",","."))||0}function Zr(o){if(o==="Z")return 0;var i=o.match(Br);if(!i)return 0;var t=i[1]==="+"?-1:1,r=parseInt(i[2]),e=i[3]&&parseInt(i[3])||0;return na(r,e)?t*(r*ye+e*pe):NaN}function Kr(o,i,t){var r=new Date(0);r.setUTCFullYear(o,0,4);var e=r.getUTCDay()||7,n=(i-1)*7+t+1-e;return r.setUTCDate(r.getUTCDate()+n),r}var Jr=[31,null,31,30,31,30,31,31,30,31,30,31];function Se(o){return o%400===0||o%4===0&&o%100!==0}function ea(o,i,t){return i>=0&&i<=11&&t>=1&&t<=(Jr[i]||(Se(o)?29:28))}function ta(o,i){return i>=1&&i<=(Se(o)?366:365)}function ra(o,i,t){return i>=1&&i<=53&&t>=0&&t<=6}function aa(o,i,t){return o===24?i===0&&t===0:t>=0&&t<60&&i>=0&&i<60&&o>=0&&o<25}function na(o,i){return i>=0&&i<=59}export{da as a,ua as b,Ve as c,tt as d,oa as f,sa as i,la as p,ca as s};
|
|
1
|
+
import{g as ge,_ as w,j as g,b as h,h as s,e as c,a as m,k as Ye}from"./vendor.babel.runtime.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[i]="7aed1232-f718-40d0-b7c7-565dcfa55e17",o._sentryDebugIdIdentifier="sentry-dbid-7aed1232-f718-40d0-b7c7-565dcfa55e17")}catch{}})();function E(o){if(o===null||o===!0||o===!1)return NaN;var i=Number(o);return isNaN(i)?i:i<0?Math.ceil(i):Math.floor(i)}function T(o,i){if(i.length<o)throw new TypeError(o+" argument"+(o>1?"s":"")+" required, but only "+i.length+" present")}function k(o){T(1,arguments);var i=Object.prototype.toString.call(o);return o instanceof Date||ge(o)==="object"&&i==="[object Date]"?new Date(o.getTime()):typeof o=="number"||i==="[object Number]"?new Date(o):((typeof o=="string"||i==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ve(o,i){T(2,arguments);var t=k(o),r=E(i);return isNaN(r)?new Date(NaN):(r&&t.setDate(t.getDate()+r),t)}function Ze(o,i){T(2,arguments);var t=k(o).getTime(),r=E(i);return new Date(t+r)}var Ke={};function Z(){return Ke}function _e(o){var i=new Date(Date.UTC(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds()));return i.setUTCFullYear(o.getFullYear()),o.getTime()-i.getTime()}var pe=6e4,ye=36e5,Je=1e3;function et(o){return T(1,arguments),o instanceof Date||ge(o)==="object"&&Object.prototype.toString.call(o)==="[object Date]"}function tt(o){if(T(1,arguments),!et(o)&&typeof o!="number")return!1;var i=k(o);return!isNaN(Number(i))}function Ie(o,i){T(2,arguments);var t=E(i);return Ze(o,-t)}var rt=864e5;function at(o){T(1,arguments);var i=k(o),t=i.getTime();i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0);var r=i.getTime(),e=t-r;return Math.floor(e/rt)+1}function V(o){T(1,arguments);var i=1,t=k(o),r=t.getUTCDay(),e=(r<i?7:0)+r-i;return t.setUTCDate(t.getUTCDate()-e),t.setUTCHours(0,0,0,0),t}function qe(o){T(1,arguments);var i=k(o),t=i.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(t+1,0,4),r.setUTCHours(0,0,0,0);var e=V(r),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var a=V(n);return i.getTime()>=e.getTime()?t+1:i.getTime()>=a.getTime()?t:t-1}function nt(o){T(1,arguments);var i=qe(o),t=new Date(0);t.setUTCFullYear(i,0,4),t.setUTCHours(0,0,0,0);var r=V(t);return r}var it=6048e5;function He(o){T(1,arguments);var i=k(o),t=V(i).getTime()-nt(i).getTime();return Math.round(t/it)+1}function j(o,i){var t,r,e,n,a,u,l,d;T(1,arguments);var f=Z(),v=E((t=(r=(e=(n=i?.weekStartsOn)!==null&&n!==void 0?n:i==null||(a=i.locale)===null||a===void 0||(u=a.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&e!==void 0?e:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&t!==void 0?t:0);if(!(v>=0&&v<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var x=k(o),D=x.getUTCDay(),U=(D<v?7:0)+D-v;return x.setUTCDate(x.getUTCDate()-U),x.setUTCHours(0,0,0,0),x}function be(o,i){var t,r,e,n,a,u,l,d;T(1,arguments);var f=k(o),v=f.getUTCFullYear(),x=Z(),D=E((t=(r=(e=(n=i?.firstWeekContainsDate)!==null&&n!==void 0?n:i==null||(a=i.locale)===null||a===void 0||(u=a.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&e!==void 0?e:x.firstWeekContainsDate)!==null&&r!==void 0?r:(l=x.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var U=new Date(0);U.setUTCFullYear(v+1,0,D),U.setUTCHours(0,0,0,0);var H=j(U,i),_=new Date(0);_.setUTCFullYear(v,0,D),_.setUTCHours(0,0,0,0);var $=j(_,i);return f.getTime()>=H.getTime()?v+1:f.getTime()>=$.getTime()?v:v-1}function ot(o,i){var t,r,e,n,a,u,l,d;T(1,arguments);var f=Z(),v=E((t=(r=(e=(n=i?.firstWeekContainsDate)!==null&&n!==void 0?n:i==null||(a=i.locale)===null||a===void 0||(u=a.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&e!==void 0?e:f.firstWeekContainsDate)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1),x=be(o,i),D=new Date(0);D.setUTCFullYear(x,0,v),D.setUTCHours(0,0,0,0);var U=j(D,i);return U}var ut=6048e5;function Le(o,i){T(1,arguments);var t=k(o),r=j(t,i).getTime()-ot(t,i).getTime();return Math.round(r/ut)+1}function y(o,i){for(var t=o<0?"-":"",r=Math.abs(o).toString();r.length<i;)r="0"+r;return t+r}var G={y:function(i,t){var r=i.getUTCFullYear(),e=r>0?r:1-r;return y(t==="yy"?e%100:e,t.length)},M:function(i,t){var r=i.getUTCMonth();return t==="M"?String(r+1):y(r+1,2)},d:function(i,t){return y(i.getUTCDate(),t.length)},a:function(i,t){var r=i.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return r==="am"?"a.m.":"p.m."}},h:function(i,t){return y(i.getUTCHours()%12||12,t.length)},H:function(i,t){return y(i.getUTCHours(),t.length)},m:function(i,t){return y(i.getUTCMinutes(),t.length)},s:function(i,t){return y(i.getUTCSeconds(),t.length)},S:function(i,t){var r=t.length,e=i.getUTCMilliseconds(),n=Math.floor(e*Math.pow(10,r-3));return y(n,t.length)}},z={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},st={G:function(i,t,r){var e=i.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"});case"GGGGG":return r.era(e,{width:"narrow"});default:return r.era(e,{width:"wide"})}},y:function(i,t,r){if(t==="yo"){var e=i.getUTCFullYear(),n=e>0?e:1-e;return r.ordinalNumber(n,{unit:"year"})}return G.y(i,t)},Y:function(i,t,r,e){var n=be(i,e),a=n>0?n:1-n;if(t==="YY"){var u=a%100;return y(u,2)}return t==="Yo"?r.ordinalNumber(a,{unit:"year"}):y(a,t.length)},R:function(i,t){var r=qe(i);return y(r,t.length)},u:function(i,t){var r=i.getUTCFullYear();return y(r,t.length)},Q:function(i,t,r){var e=Math.ceil((i.getUTCMonth()+1)/3);switch(t){case"Q":return String(e);case"QQ":return y(e,2);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});default:return r.quarter(e,{width:"wide",context:"formatting"})}},q:function(i,t,r){var e=Math.ceil((i.getUTCMonth()+1)/3);switch(t){case"q":return String(e);case"qq":return y(e,2);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});default:return r.quarter(e,{width:"wide",context:"standalone"})}},M:function(i,t,r){var e=i.getUTCMonth();switch(t){case"M":case"MM":return G.M(i,t);case"Mo":return r.ordinalNumber(e+1,{unit:"month"});case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});default:return r.month(e,{width:"wide",context:"formatting"})}},L:function(i,t,r){var e=i.getUTCMonth();switch(t){case"L":return String(e+1);case"LL":return y(e+1,2);case"Lo":return r.ordinalNumber(e+1,{unit:"month"});case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});default:return r.month(e,{width:"wide",context:"standalone"})}},w:function(i,t,r,e){var n=Le(i,e);return t==="wo"?r.ordinalNumber(n,{unit:"week"}):y(n,t.length)},I:function(i,t,r){var e=He(i);return t==="Io"?r.ordinalNumber(e,{unit:"week"}):y(e,t.length)},d:function(i,t,r){return t==="do"?r.ordinalNumber(i.getUTCDate(),{unit:"date"}):G.d(i,t)},D:function(i,t,r){var e=at(i);return t==="Do"?r.ordinalNumber(e,{unit:"dayOfYear"}):y(e,t.length)},E:function(i,t,r){var e=i.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})}},e:function(i,t,r,e){var n=i.getUTCDay(),a=(n-e.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return y(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},c:function(i,t,r,e){var n=i.getUTCDay(),a=(n-e.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return y(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(n,{width:"narrow",context:"standalone"});case"cccccc":return r.day(n,{width:"short",context:"standalone"});default:return r.day(n,{width:"wide",context:"standalone"})}},i:function(i,t,r){var e=i.getUTCDay(),n=e===0?7:e;switch(t){case"i":return String(n);case"ii":return y(n,t.length);case"io":return r.ordinalNumber(n,{unit:"day"});case"iii":return r.day(e,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(e,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(e,{width:"short",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})}},a:function(i,t,r){var e=i.getUTCHours(),n=e/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(i,t,r){var e=i.getUTCHours(),n;switch(e===12?n=z.noon:e===0?n=z.midnight:n=e/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(i,t,r){var e=i.getUTCHours(),n;switch(e>=17?n=z.evening:e>=12?n=z.afternoon:e>=4?n=z.morning:n=z.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(i,t,r){if(t==="ho"){var e=i.getUTCHours()%12;return e===0&&(e=12),r.ordinalNumber(e,{unit:"hour"})}return G.h(i,t)},H:function(i,t,r){return t==="Ho"?r.ordinalNumber(i.getUTCHours(),{unit:"hour"}):G.H(i,t)},K:function(i,t,r){var e=i.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(e,{unit:"hour"}):y(e,t.length)},k:function(i,t,r){var e=i.getUTCHours();return e===0&&(e=24),t==="ko"?r.ordinalNumber(e,{unit:"hour"}):y(e,t.length)},m:function(i,t,r){return t==="mo"?r.ordinalNumber(i.getUTCMinutes(),{unit:"minute"}):G.m(i,t)},s:function(i,t,r){return t==="so"?r.ordinalNumber(i.getUTCSeconds(),{unit:"second"}):G.s(i,t)},S:function(i,t){return G.S(i,t)},X:function(i,t,r,e){var n=e._originalDate||i,a=n.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return Ee(a);case"XXXX":case"XX":return S(a);default:return S(a,":")}},x:function(i,t,r,e){var n=e._originalDate||i,a=n.getTimezoneOffset();switch(t){case"x":return Ee(a);case"xxxx":case"xx":return S(a);default:return S(a,":")}},O:function(i,t,r,e){var n=e._originalDate||i,a=n.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ne(a,":");default:return"GMT"+S(a,":")}},z:function(i,t,r,e){var n=e._originalDate||i,a=n.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ne(a,":");default:return"GMT"+S(a,":")}},t:function(i,t,r,e){var n=e._originalDate||i,a=Math.floor(n.getTime()/1e3);return y(a,t.length)},T:function(i,t,r,e){var n=e._originalDate||i,a=n.getTime();return y(a,t.length)}};function Ne(o,i){var t=o>0?"-":"+",r=Math.abs(o),e=Math.floor(r/60),n=r%60;if(n===0)return t+String(e);var a=i;return t+String(e)+a+y(n,2)}function Ee(o,i){if(o%60===0){var t=o>0?"-":"+";return t+y(Math.abs(o)/60,2)}return S(o,i)}function S(o,i){var t=i||"",r=o>0?"-":"+",e=Math.abs(o),n=y(Math.floor(e/60),2),a=y(e%60,2);return r+n+t+a}var We=function(i,t){switch(i){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Ae=function(i,t){switch(i){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},lt=function(i,t){var r=i.match(/(P+)(p+)?/)||[],e=r[1],n=r[2];if(!n)return We(i,t);var a;switch(e){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",We(e,t)).replace("{{time}}",Ae(n,t))},we={p:Ae,P:lt},ct=["D","DD"],dt=["YY","YYYY"];function Qe(o){return ct.indexOf(o)!==-1}function $e(o){return dt.indexOf(o)!==-1}function le(o,i,t){if(o==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(i,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(i,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(i,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(i,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ft={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},vt=function(i,t,r){var e,n=ft[i];return typeof n=="string"?e=n:t===1?e=n.one:e=n.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+e:e+" ago":e};function he(o){return function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=i.width?String(i.width):o.defaultWidth,r=o.formats[t]||o.formats[o.defaultWidth];return r}}var ht={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},mt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gt={date:he({formats:ht,defaultWidth:"full"}),time:he({formats:mt,defaultWidth:"full"}),dateTime:he({formats:wt,defaultWidth:"full"})},pt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},yt=function(i,t,r,e){return pt[i]};function re(o){return function(i,t){var r=t!=null&&t.context?String(t.context):"standalone",e;if(r==="formatting"&&o.formattingValues){var n=o.defaultFormattingWidth||o.defaultWidth,a=t!=null&&t.width?String(t.width):n;e=o.formattingValues[a]||o.formattingValues[n]}else{var u=o.defaultWidth,l=t!=null&&t.width?String(t.width):o.defaultWidth;e=o.values[l]||o.values[u]}var d=o.argumentCallback?o.argumentCallback(i):i;return e[d]}}var bt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Tt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Dt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ct={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},xt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Pt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Mt=function(i,t){var r=Number(i),e=r%100;if(e>20||e<10)switch(e%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Ot={ordinalNumber:Mt,era:re({values:bt,defaultWidth:"wide"}),quarter:re({values:Tt,defaultWidth:"wide",argumentCallback:function(i){return i-1}}),month:re({values:Dt,defaultWidth:"wide"}),day:re({values:Ct,defaultWidth:"wide"}),dayPeriod:re({values:xt,defaultWidth:"wide",formattingValues:Pt,defaultFormattingWidth:"wide"})};function ae(o){return function(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,e=r&&o.matchPatterns[r]||o.matchPatterns[o.defaultMatchWidth],n=i.match(e);if(!n)return null;var a=n[0],u=r&&o.parsePatterns[r]||o.parsePatterns[o.defaultParseWidth],l=Array.isArray(u)?Ut(u,function(v){return v.test(a)}):kt(u,function(v){return v.test(a)}),d;d=o.valueCallback?o.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;var f=i.slice(a.length);return{value:d,rest:f}}}function kt(o,i){for(var t in o)if(o.hasOwnProperty(t)&&i(o[t]))return t}function Ut(o,i){for(var t=0;t<o.length;t++)if(i(o[t]))return t}function Yt(o){return function(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.match(o.matchPattern);if(!r)return null;var e=r[0],n=i.match(o.parsePattern);if(!n)return null;var a=o.valueCallback?o.valueCallback(n[0]):n[0];a=t.valueCallback?t.valueCallback(a):a;var u=i.slice(e.length);return{value:a,rest:u}}}var Nt=/^(\d+)(th|st|nd|rd)?/i,Et=/\d+/i,Wt={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},_t={any:[/^b/i,/^(a|c)/i]},It={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},qt={any:[/1/i,/2/i,/3/i,/4/i]},Ht={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},Lt={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]},At={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},Qt={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]},$t={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},Ft={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}},Rt={ordinalNumber:Yt({matchPattern:Nt,parsePattern:Et,valueCallback:function(i){return parseInt(i,10)}}),era:ae({matchPatterns:Wt,defaultMatchWidth:"wide",parsePatterns:_t,defaultParseWidth:"any"}),quarter:ae({matchPatterns:It,defaultMatchWidth:"wide",parsePatterns:qt,defaultParseWidth:"any",valueCallback:function(i){return i+1}}),month:ae({matchPatterns:Ht,defaultMatchWidth:"wide",parsePatterns:Lt,defaultParseWidth:"any"}),day:ae({matchPatterns:At,defaultMatchWidth:"wide",parsePatterns:Qt,defaultParseWidth:"any"}),dayPeriod:ae({matchPatterns:$t,defaultMatchWidth:"any",parsePatterns:Ft,defaultParseWidth:"any"})},Fe={code:"en-US",formatDistance:vt,formatLong:gt,formatRelative:yt,localize:Ot,match:Rt,options:{weekStartsOn:0,firstWeekContainsDate:1}},Xt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Gt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bt=/^'([^]*?)'?$/,St=/''/g,jt=/[a-zA-Z]/;function oa(o,i,t){var r,e,n,a,u,l,d,f,v,x,D,U,H,_;T(2,arguments);var $=String(i),W=Z(),L=(r=(e=void 0)!==null&&e!==void 0?e:W.locale)!==null&&r!==void 0?r:Fe,F=E((n=(a=(u=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&u!==void 0?u:W.firstWeekContainsDate)!==null&&a!==void 0?a:(d=W.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(F>=1&&F<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=E((v=(x=(D=(U=void 0)!==null&&U!==void 0?U:void 0)!==null&&D!==void 0?D:W.weekStartsOn)!==null&&x!==void 0?x:(H=W.locale)===null||H===void 0||(_=H.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&v!==void 0?v:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!L.localize)throw new RangeError("locale must contain localize property");if(!L.formatLong)throw new RangeError("locale must contain formatLong property");var X=k(o);if(!tt(X))throw new RangeError("Invalid time value");var K=_e(X),J=Ie(X,K),ee={firstWeekContainsDate:F,weekStartsOn:R,locale:L,_originalDate:X},de=$.match(Gt).map(function(N){var I=N[0];if(I==="p"||I==="P"){var B=we[I];return B(N,L.formatLong)}return N}).join("").match(Xt).map(function(N){if(N==="''")return"'";var I=N[0];if(I==="'")return zt(N);var B=st[I];if(B)return $e(N)&&le(N,i,String(o)),Qe(N)&&le(N,i,String(o)),B(J,N,L.localize,ee);if(I.match(jt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+I+"`");return N}).join("");return de}function zt(o){var i=o.match(Bt);return i?i[1].replace(St,"'"):o}function Vt(o,i){if(o==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(o[t]=i[t]);return o}function ua(o,i){T(2,arguments);var t=k(o),r=k(i);return t.getTime()>r.getTime()}function sa(o,i){T(2,arguments);var t=k(o),r=k(i);return t.getTime()<r.getTime()}var Zt=10,Re=(function(){function o(){h(this,o),s(this,"priority",void 0),s(this,"subPriority",0)}return m(o,[{key:"validate",value:function(t,r){return!0}}]),o})(),Kt=(function(o){w(t,o);var i=g(t);function t(r,e,n,a,u){var l;return h(this,t),l=i.call(this),l.value=r,l.validateValue=e,l.setValue=n,l.priority=a,u&&(l.subPriority=u),l}return m(t,[{key:"validate",value:function(e,n){return this.validateValue(e,this.value,n)}},{key:"set",value:function(e,n,a){return this.setValue(e,n,this.value,a)}}]),t})(Re),Jt=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",Zt),s(c(r),"subPriority",-1),r}return m(t,[{key:"set",value:function(e,n){if(n.timestampIsSet)return e;var a=new Date(0);return a.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),a.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),a}}]),t})(Re),p=(function(){function o(){h(this,o),s(this,"incompatibleTokens",void 0),s(this,"priority",void 0),s(this,"subPriority",void 0)}return m(o,[{key:"run",value:function(t,r,e,n){var a=this.parse(t,r,e,n);return a?{setter:new Kt(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(t,r,e){return!0}}]),o})(),er=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",140),s(c(r),"incompatibleTokens",["R","u","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(e,{width:"abbreviated"})||a.era(e,{width:"narrow"});case"GGGGG":return a.era(e,{width:"narrow"});default:return a.era(e,{width:"wide"})||a.era(e,{width:"abbreviated"})||a.era(e,{width:"narrow"})}}},{key:"set",value:function(e,n,a){return n.era=a,e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}}]),t})(p),M={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},A={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function O(o,i){return o&&{value:i(o.value),rest:o.rest}}function C(o,i){var t=i.match(o);return t?{value:parseInt(t[0],10),rest:i.slice(t[0].length)}:null}function Q(o,i){var t=i.match(o);if(!t)return null;if(t[0]==="Z")return{value:0,rest:i.slice(1)};var r=t[1]==="+"?1:-1,e=t[2]?parseInt(t[2],10):0,n=t[3]?parseInt(t[3],10):0,a=t[5]?parseInt(t[5],10):0;return{value:r*(e*ye+n*pe+a*Je),rest:i.slice(t[0].length)}}function Xe(o){return C(M.anyDigitsSigned,o)}function P(o,i){switch(o){case 1:return C(M.singleDigit,i);case 2:return C(M.twoDigits,i);case 3:return C(M.threeDigits,i);case 4:return C(M.fourDigits,i);default:return C(new RegExp("^\\d{1,"+o+"}"),i)}}function ce(o,i){switch(o){case 1:return C(M.singleDigitSigned,i);case 2:return C(M.twoDigitsSigned,i);case 3:return C(M.threeDigitsSigned,i);case 4:return C(M.fourDigitsSigned,i);default:return C(new RegExp("^-?\\d{1,"+o+"}"),i)}}function Te(o){switch(o){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Ge(o,i){var t=i>0,r=t?i:1-i,e;if(r<=50)e=o||100;else{var n=r+50,a=Math.floor(n/100)*100,u=o>=n%100;e=o+a-(u?100:0)}return t?e:1-e}function Be(o){return o%400===0||o%4===0&&o%100!==0}var tr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",130),s(c(r),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){var u=function(d){return{year:d,isTwoDigitYear:n==="yy"}};switch(n){case"y":return O(P(4,e),u);case"yo":return O(a.ordinalNumber(e,{unit:"year"}),u);default:return O(P(n.length,e),u)}}},{key:"validate",value:function(e,n){return n.isTwoDigitYear||n.year>0}},{key:"set",value:function(e,n,a){var u=e.getUTCFullYear();if(a.isTwoDigitYear){var l=Ge(a.year,u);return e.setUTCFullYear(l,0,1),e.setUTCHours(0,0,0,0),e}var d=!("era"in n)||n.era===1?a.year:1-a.year;return e.setUTCFullYear(d,0,1),e.setUTCHours(0,0,0,0),e}}]),t})(p),rr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",130),s(c(r),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){var u=function(d){return{year:d,isTwoDigitYear:n==="YY"}};switch(n){case"Y":return O(P(4,e),u);case"Yo":return O(a.ordinalNumber(e,{unit:"year"}),u);default:return O(P(n.length,e),u)}}},{key:"validate",value:function(e,n){return n.isTwoDigitYear||n.year>0}},{key:"set",value:function(e,n,a,u){var l=be(e,u);if(a.isTwoDigitYear){var d=Ge(a.year,l);return e.setUTCFullYear(d,0,u.firstWeekContainsDate),e.setUTCHours(0,0,0,0),j(e,u)}var f=!("era"in n)||n.era===1?a.year:1-a.year;return e.setUTCFullYear(f,0,u.firstWeekContainsDate),e.setUTCHours(0,0,0,0),j(e,u)}}]),t})(p),ar=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",130),s(c(r),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n){return ce(n==="R"?4:n.length,e)}},{key:"set",value:function(e,n,a){var u=new Date(0);return u.setUTCFullYear(a,0,4),u.setUTCHours(0,0,0,0),V(u)}}]),t})(p),nr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",130),s(c(r),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n){return ce(n==="u"?4:n.length,e)}},{key:"set",value:function(e,n,a){return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}}]),t})(p),ir=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",120),s(c(r),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"Q":case"QQ":return P(n.length,e);case"Qo":return a.ordinalNumber(e,{unit:"quarter"});case"QQQ":return a.quarter(e,{width:"abbreviated",context:"formatting"})||a.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(e,{width:"narrow",context:"formatting"});default:return a.quarter(e,{width:"wide",context:"formatting"})||a.quarter(e,{width:"abbreviated",context:"formatting"})||a.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,n){return n>=1&&n<=4}},{key:"set",value:function(e,n,a){return e.setUTCMonth((a-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),t})(p),or=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",120),s(c(r),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"q":case"qq":return P(n.length,e);case"qo":return a.ordinalNumber(e,{unit:"quarter"});case"qqq":return a.quarter(e,{width:"abbreviated",context:"standalone"})||a.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(e,{width:"narrow",context:"standalone"});default:return a.quarter(e,{width:"wide",context:"standalone"})||a.quarter(e,{width:"abbreviated",context:"standalone"})||a.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,n){return n>=1&&n<=4}},{key:"set",value:function(e,n,a){return e.setUTCMonth((a-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),t})(p),ur=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),s(c(r),"priority",110),r}return m(t,[{key:"parse",value:function(e,n,a){var u=function(d){return d-1};switch(n){case"M":return O(C(M.month,e),u);case"MM":return O(P(2,e),u);case"Mo":return O(a.ordinalNumber(e,{unit:"month"}),u);case"MMM":return a.month(e,{width:"abbreviated",context:"formatting"})||a.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(e,{width:"narrow",context:"formatting"});default:return a.month(e,{width:"wide",context:"formatting"})||a.month(e,{width:"abbreviated",context:"formatting"})||a.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,n){return n>=0&&n<=11}},{key:"set",value:function(e,n,a){return e.setUTCMonth(a,1),e.setUTCHours(0,0,0,0),e}}]),t})(p),sr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",110),s(c(r),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){var u=function(d){return d-1};switch(n){case"L":return O(C(M.month,e),u);case"LL":return O(P(2,e),u);case"Lo":return O(a.ordinalNumber(e,{unit:"month"}),u);case"LLL":return a.month(e,{width:"abbreviated",context:"standalone"})||a.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(e,{width:"narrow",context:"standalone"});default:return a.month(e,{width:"wide",context:"standalone"})||a.month(e,{width:"abbreviated",context:"standalone"})||a.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,n){return n>=0&&n<=11}},{key:"set",value:function(e,n,a){return e.setUTCMonth(a,1),e.setUTCHours(0,0,0,0),e}}]),t})(p);function lr(o,i,t){T(2,arguments);var r=k(o),e=E(i),n=Le(r,t)-e;return r.setUTCDate(r.getUTCDate()-n*7),r}var cr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",100),s(c(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"w":return C(M.week,e);case"wo":return a.ordinalNumber(e,{unit:"week"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=1&&n<=53}},{key:"set",value:function(e,n,a,u){return j(lr(e,a,u),u)}}]),t})(p);function dr(o,i){T(2,arguments);var t=k(o),r=E(i),e=He(t)-r;return t.setUTCDate(t.getUTCDate()-e*7),t}var fr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",100),s(c(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"I":return C(M.week,e);case"Io":return a.ordinalNumber(e,{unit:"week"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=1&&n<=53}},{key:"set",value:function(e,n,a){return V(dr(e,a))}}]),t})(p),vr=[31,28,31,30,31,30,31,31,30,31,30,31],hr=[31,29,31,30,31,30,31,31,30,31,30,31],mr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"subPriority",1),s(c(r),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"d":return C(M.date,e);case"do":return a.ordinalNumber(e,{unit:"date"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){var a=e.getUTCFullYear(),u=Be(a),l=e.getUTCMonth();return u?n>=1&&n<=hr[l]:n>=1&&n<=vr[l]}},{key:"set",value:function(e,n,a){return e.setUTCDate(a),e.setUTCHours(0,0,0,0),e}}]),t})(p),wr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"subpriority",1),s(c(r),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"D":case"DD":return C(M.dayOfYear,e);case"Do":return a.ordinalNumber(e,{unit:"date"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){var a=e.getUTCFullYear(),u=Be(a);return u?n>=1&&n<=366:n>=1&&n<=365}},{key:"set",value:function(e,n,a){return e.setUTCMonth(0,a),e.setUTCHours(0,0,0,0),e}}]),t})(p);function De(o,i,t){var r,e,n,a,u,l,d,f;T(2,arguments);var v=Z(),x=E((r=(e=(n=(a=t?.weekStartsOn)!==null&&a!==void 0?a:t==null||(u=t.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:v.weekStartsOn)!==null&&e!==void 0?e:(d=v.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(x>=0&&x<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var D=k(o),U=E(i),H=D.getUTCDay(),_=U%7,$=(_+7)%7,W=($<x?7:0)+U-H;return D.setUTCDate(D.getUTCDate()+W),D}var gr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"incompatibleTokens",["D","i","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});default:return a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,n){return n>=0&&n<=6}},{key:"set",value:function(e,n,a,u){return e=De(e,a,u),e.setUTCHours(0,0,0,0),e}}]),t})(p),pr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a,u){var l=function(f){var v=Math.floor((f-1)/7)*7;return(f+u.weekStartsOn+6)%7+v};switch(n){case"e":case"ee":return O(P(n.length,e),l);case"eo":return O(a.ordinalNumber(e,{unit:"day"}),l);case"eee":return a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"eeeee":return a.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});default:return a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,n){return n>=0&&n<=6}},{key:"set",value:function(e,n,a,u){return e=De(e,a,u),e.setUTCHours(0,0,0,0),e}}]),t})(p),yr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a,u){var l=function(f){var v=Math.floor((f-1)/7)*7;return(f+u.weekStartsOn+6)%7+v};switch(n){case"c":case"cc":return O(P(n.length,e),l);case"co":return O(a.ordinalNumber(e,{unit:"day"}),l);case"ccc":return a.day(e,{width:"abbreviated",context:"standalone"})||a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"});case"ccccc":return a.day(e,{width:"narrow",context:"standalone"});case"cccccc":return a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"});default:return a.day(e,{width:"wide",context:"standalone"})||a.day(e,{width:"abbreviated",context:"standalone"})||a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,n){return n>=0&&n<=6}},{key:"set",value:function(e,n,a,u){return e=De(e,a,u),e.setUTCHours(0,0,0,0),e}}]),t})(p);function br(o,i){T(2,arguments);var t=E(i);t%7===0&&(t=t-7);var r=1,e=k(o),n=e.getUTCDay(),a=t%7,u=(a+7)%7,l=(u<r?7:0)+t-n;return e.setUTCDate(e.getUTCDate()+l),e}var Tr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",90),s(c(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){var u=function(d){return d===0?7:d};switch(n){case"i":case"ii":return P(n.length,e);case"io":return a.ordinalNumber(e,{unit:"day"});case"iii":return O(a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),u);case"iiiii":return O(a.day(e,{width:"narrow",context:"formatting"}),u);case"iiiiii":return O(a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),u);default:return O(a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),u)}}},{key:"validate",value:function(e,n){return n>=1&&n<=7}},{key:"set",value:function(e,n,a){return e=br(e,a),e.setUTCHours(0,0,0,0),e}}]),t})(p),Dr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",80),s(c(r),"incompatibleTokens",["b","B","H","k","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(e,{width:"narrow",context:"formatting"});default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,n,a){return e.setUTCHours(Te(a),0,0,0),e}}]),t})(p),Cr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",80),s(c(r),"incompatibleTokens",["a","B","H","k","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(e,{width:"narrow",context:"formatting"});default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,n,a){return e.setUTCHours(Te(a),0,0,0),e}}]),t})(p),xr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",80),s(c(r),"incompatibleTokens",["a","b","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(e,{width:"narrow",context:"formatting"});default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,n,a){return e.setUTCHours(Te(a),0,0,0),e}}]),t})(p),Pr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",70),s(c(r),"incompatibleTokens",["H","K","k","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"h":return C(M.hour12h,e);case"ho":return a.ordinalNumber(e,{unit:"hour"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=1&&n<=12}},{key:"set",value:function(e,n,a){var u=e.getUTCHours()>=12;return u&&a<12?e.setUTCHours(a+12,0,0,0):!u&&a===12?e.setUTCHours(0,0,0,0):e.setUTCHours(a,0,0,0),e}}]),t})(p),Mr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",70),s(c(r),"incompatibleTokens",["a","b","h","K","k","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"H":return C(M.hour23h,e);case"Ho":return a.ordinalNumber(e,{unit:"hour"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=0&&n<=23}},{key:"set",value:function(e,n,a){return e.setUTCHours(a,0,0,0),e}}]),t})(p),Or=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",70),s(c(r),"incompatibleTokens",["h","H","k","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"K":return C(M.hour11h,e);case"Ko":return a.ordinalNumber(e,{unit:"hour"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=0&&n<=11}},{key:"set",value:function(e,n,a){var u=e.getUTCHours()>=12;return u&&a<12?e.setUTCHours(a+12,0,0,0):e.setUTCHours(a,0,0,0),e}}]),t})(p),kr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",70),s(c(r),"incompatibleTokens",["a","b","h","H","K","t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"k":return C(M.hour24h,e);case"ko":return a.ordinalNumber(e,{unit:"hour"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=1&&n<=24}},{key:"set",value:function(e,n,a){var u=a<=24?a%24:a;return e.setUTCHours(u,0,0,0),e}}]),t})(p),Ur=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",60),s(c(r),"incompatibleTokens",["t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"m":return C(M.minute,e);case"mo":return a.ordinalNumber(e,{unit:"minute"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=0&&n<=59}},{key:"set",value:function(e,n,a){return e.setUTCMinutes(a,0,0),e}}]),t})(p),Yr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",50),s(c(r),"incompatibleTokens",["t","T"]),r}return m(t,[{key:"parse",value:function(e,n,a){switch(n){case"s":return C(M.second,e);case"so":return a.ordinalNumber(e,{unit:"second"});default:return P(n.length,e)}}},{key:"validate",value:function(e,n){return n>=0&&n<=59}},{key:"set",value:function(e,n,a){return e.setUTCSeconds(a,0),e}}]),t})(p),Nr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",30),s(c(r),"incompatibleTokens",["t","T"]),r}return m(t,[{key:"parse",value:function(e,n){var a=function(l){return Math.floor(l*Math.pow(10,-n.length+3))};return O(P(n.length,e),a)}},{key:"set",value:function(e,n,a){return e.setUTCMilliseconds(a),e}}]),t})(p),Er=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",10),s(c(r),"incompatibleTokens",["t","T","x"]),r}return m(t,[{key:"parse",value:function(e,n){switch(n){case"X":return Q(A.basicOptionalMinutes,e);case"XX":return Q(A.basic,e);case"XXXX":return Q(A.basicOptionalSeconds,e);case"XXXXX":return Q(A.extendedOptionalSeconds,e);default:return Q(A.extended,e)}}},{key:"set",value:function(e,n,a){return n.timestampIsSet?e:new Date(e.getTime()-a)}}]),t})(p),Wr=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",10),s(c(r),"incompatibleTokens",["t","T","X"]),r}return m(t,[{key:"parse",value:function(e,n){switch(n){case"x":return Q(A.basicOptionalMinutes,e);case"xx":return Q(A.basic,e);case"xxxx":return Q(A.basicOptionalSeconds,e);case"xxxxx":return Q(A.extendedOptionalSeconds,e);default:return Q(A.extended,e)}}},{key:"set",value:function(e,n,a){return n.timestampIsSet?e:new Date(e.getTime()-a)}}]),t})(p),_r=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",40),s(c(r),"incompatibleTokens","*"),r}return m(t,[{key:"parse",value:function(e){return Xe(e)}},{key:"set",value:function(e,n,a){return[new Date(a*1e3),{timestampIsSet:!0}]}}]),t})(p),Ir=(function(o){w(t,o);var i=g(t);function t(){var r;h(this,t);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return r=i.call.apply(i,[this].concat(n)),s(c(r),"priority",20),s(c(r),"incompatibleTokens","*"),r}return m(t,[{key:"parse",value:function(e){return Xe(e)}},{key:"set",value:function(e,n,a){return[new Date(a),{timestampIsSet:!0}]}}]),t})(p),qr={G:new er,y:new tr,Y:new rr,R:new ar,u:new nr,Q:new ir,q:new or,M:new ur,L:new sr,w:new cr,I:new fr,d:new mr,D:new wr,E:new gr,e:new pr,c:new yr,i:new Tr,a:new Dr,b:new Cr,B:new xr,h:new Pr,H:new Mr,K:new Or,k:new kr,m:new Ur,s:new Yr,S:new Nr,X:new Er,x:new Wr,t:new _r,T:new Ir},Hr=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Lr=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ar=/^'([^]*?)'?$/,Qr=/''/g,$r=/\S/,Fr=/[a-zA-Z]/;function la(o,i,t,r){var e,n,a,u,l,d,f,v,x,D,U,H,_,$;T(3,arguments);var W=String(o),L=String(i),F=Z(),R=(e=(n=void 0)!==null&&n!==void 0?n:F.locale)!==null&&e!==void 0?e:Fe;if(!R.match)throw new RangeError("locale must contain match property");var X=E((a=(u=(l=(d=void 0)!==null&&d!==void 0?d:void 0)!==null&&l!==void 0?l:F.firstWeekContainsDate)!==null&&u!==void 0?u:(f=F.locale)===null||f===void 0||(v=f.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(X>=1&&X<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var K=E((x=(D=(U=(H=void 0)!==null&&H!==void 0?H:void 0)!==null&&U!==void 0?U:F.weekStartsOn)!==null&&D!==void 0?D:(_=F.locale)===null||_===void 0||($=_.options)===null||$===void 0?void 0:$.weekStartsOn)!==null&&x!==void 0?x:0);if(!(K>=0&&K<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(L==="")return W===""?k(t):new Date(NaN);var J={firstWeekContainsDate:X,weekStartsOn:K,locale:R},ee=[new Jt],de=L.match(Lr).map(function(Y){var b=Y[0];if(b in we){var q=we[b];return q(Y,R.formatLong)}return Y}).join("").match(Hr),N=[],I=Ye(de),B;try{var je=function(){var b=B.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&$e(b)&&le(b,L,o),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Qe(b)&&le(b,L,o);var q=b[0],ue=qr[q];if(ue){var Oe=ue.incompatibleTokens;if(Array.isArray(Oe)){var ke=N.find(function(Ue){return Oe.includes(Ue.token)||Ue.token===q});if(ke)throw new RangeError("The format string mustn't contain `".concat(ke.fullToken,"` and `").concat(b,"` at the same time"))}else if(ue.incompatibleTokens==="*"&&N.length>0)throw new RangeError("The format string mustn't contain `".concat(b,"` and any other token at the same time"));N.push({token:q,fullToken:b});var ve=ue.run(W,b,R.match,J);if(!ve)return{v:new Date(NaN)};ee.push(ve.setter),W=ve.rest}else{if(q.match(Fr))throw new RangeError("Format string contains an unescaped latin alphabet character `"+q+"`");if(b==="''"?b="'":q==="'"&&(b=Rr(b)),W.indexOf(b)===0)W=W.slice(b.length);else return{v:new Date(NaN)}}};for(I.s();!(B=I.n()).done;){var Ce=je();if(ge(Ce)==="object")return Ce.v}}catch(Y){I.e(Y)}finally{I.f()}if(W.length>0&&$r.test(W))return new Date(NaN);var ze=ee.map(function(Y){return Y.priority}).sort(function(Y,b){return b-Y}).filter(function(Y,b,q){return q.indexOf(Y)===b}).map(function(Y){return ee.filter(function(b){return b.priority===Y}).sort(function(b,q){return q.subPriority-b.subPriority})}).map(function(Y){return Y[0]}),fe=k(t);if(isNaN(fe.getTime()))return new Date(NaN);var te=Ie(fe,_e(fe)),xe={},ie=Ye(ze),Pe;try{for(ie.s();!(Pe=ie.n()).done;){var Me=Pe.value;if(!Me.validate(te,J))return new Date(NaN);var oe=Me.set(te,xe,J);Array.isArray(oe)?(te=oe[0],Vt(xe,oe[1])):te=oe}}catch(Y){ie.e(Y)}finally{ie.f()}return te}function Rr(o){return o.match(Ar)[1].replace(Qr,"'")}function ca(o,i){T(2,arguments);var t=E(i);return Ve(o,-t)}function da(o,i){var t;T(1,arguments);var r=E((t=void 0)!==null&&t!==void 0?t:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof o=="string"||Object.prototype.toString.call(o)==="[object String]"))return new Date(NaN);var e=Sr(o),n;if(e.date){var a=jr(e.date,r);n=zr(a.restDateString,a.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);var u=n.getTime(),l=0,d;if(e.time&&(l=Vr(e.time),isNaN(l)))return new Date(NaN);if(e.timezone){if(d=Zr(e.timezone),isNaN(d))return new Date(NaN)}else{var f=new Date(u+l),v=new Date(0);return v.setFullYear(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()),v.setHours(f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds()),v}return new Date(u+l+d)}var se={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Xr=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Gr=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Br=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Sr(o){var i={},t=o.split(se.dateTimeDelimiter),r;if(t.length>2)return i;if(/:/.test(t[0])?r=t[0]:(i.date=t[0],r=t[1],se.timeZoneDelimiter.test(i.date)&&(i.date=o.split(se.timeZoneDelimiter)[0],r=o.substr(i.date.length,o.length))),r){var e=se.timezone.exec(r);e?(i.time=r.replace(e[1],""),i.timezone=e[1]):i.time=r}return i}function jr(o,i){var t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+i)+"})|(\\d{2}|[+-]\\d{"+(2+i)+"})$)"),r=o.match(t);if(!r)return{year:NaN,restDateString:""};var e=r[1]?parseInt(r[1]):null,n=r[2]?parseInt(r[2]):null;return{year:n===null?e:n*100,restDateString:o.slice((r[1]||r[2]).length)}}function zr(o,i){if(i===null)return new Date(NaN);var t=o.match(Xr);if(!t)return new Date(NaN);var r=!!t[4],e=ne(t[1]),n=ne(t[2])-1,a=ne(t[3]),u=ne(t[4]),l=ne(t[5])-1;if(r)return ra(i,u,l)?Kr(i,u,l):new Date(NaN);var d=new Date(0);return!ea(i,n,a)||!ta(i,e)?new Date(NaN):(d.setUTCFullYear(i,n,Math.max(e,a)),d)}function ne(o){return o?parseInt(o):1}function Vr(o){var i=o.match(Gr);if(!i)return NaN;var t=me(i[1]),r=me(i[2]),e=me(i[3]);return aa(t,r,e)?t*ye+r*pe+e*1e3:NaN}function me(o){return o&&parseFloat(o.replace(",","."))||0}function Zr(o){if(o==="Z")return 0;var i=o.match(Br);if(!i)return 0;var t=i[1]==="+"?-1:1,r=parseInt(i[2]),e=i[3]&&parseInt(i[3])||0;return na(r,e)?t*(r*ye+e*pe):NaN}function Kr(o,i,t){var r=new Date(0);r.setUTCFullYear(o,0,4);var e=r.getUTCDay()||7,n=(i-1)*7+t+1-e;return r.setUTCDate(r.getUTCDate()+n),r}var Jr=[31,null,31,30,31,30,31,31,30,31,30,31];function Se(o){return o%400===0||o%4===0&&o%100!==0}function ea(o,i,t){return i>=0&&i<=11&&t>=1&&t<=(Jr[i]||(Se(o)?29:28))}function ta(o,i){return i>=1&&i<=(Se(o)?366:365)}function ra(o,i,t){return i>=1&&i<=53&&t>=0&&t<=6}function aa(o,i,t){return o===24?i===0&&t===0:t>=0&&t<60&&i>=0&&i<60&&o>=0&&o<25}function na(o,i){return i>=0&&i<=59}export{ua as a,Ve as b,tt as c,la as d,oa as f,sa as i,da as p,ca as s};
|
|
2
2
|
//# sourceMappingURL=vendor.date-fns.js.map
|
package/vendor.dompurify.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[n]="a9b25e4f-1cd2-4203-8bf6-9429974f20cd",a._sentryDebugIdIdentifier="sentry-dbid-a9b25e4f-1cd2-4203-8bf6-9429974f20cd")}catch{}})();const{entries:Tt,setPrototypeOf:rt,isFrozen:Bt,getPrototypeOf:Yt,getOwnPropertyDescriptor:Xt}=Object;let{freeze:S,seal:O,create:_t}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(n){return n});O||(O=function(n){return n});we||(we=function(n,l,s){return n.apply(l,s)});xe||(xe=function(n,l){return new n(...l)});const le=R(Array.prototype.forEach),jt=R(Array.prototype.lastIndexOf),st=R(Array.prototype.pop),$=R(Array.prototype.push),Vt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),De=R(String.prototype.toString),lt=R(String.prototype.match),q=R(String.prototype.replace),$t=R(String.prototype.indexOf),qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=Kt(TypeError);function R(a){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return we(a,n,s)}}function Kt(a){return function(){for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return xe(a,l)}}function r(a,n){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;rt&&rt(a,null);let s=n.length;for(;s--;){let T=n[s];if(typeof T=="string"){const D=l(T);D!==T&&(Bt(n)||(n[s]=D),T=D)}a[T]=!0}return a}function Zt(a){for(let n=0;n<a.length;n++)L(a,n)||(a[n]=null);return a}function C(a){const n=_t(null);for(const[l,s]of Tt(a))L(a,l)&&(Array.isArray(s)?n[l]=Zt(s):s&&typeof s=="object"&&s.constructor===Object?n[l]=C(s):n[l]=s);return n}function Z(a,n){for(;a!==null;){const s=Xt(a,n);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}a=Yt(a)}function l(){return null}return l}const ct=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ie=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ne=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Jt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ft=S(["#text"]),ut=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=O(/<%[\w\W]*|[\w\W]*%>/gm),nn=O(/\$\{[\w\W]*/gm),on=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),an=O(/^aria-[\-\w]+$/),Et=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rn=O(/^(?:\w+script|data):/i),sn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=O(/^html$/i),ln=O(/^[a-z][.\w]*(-[.\w]+)+$/i);var pt=Object.freeze({__proto__:null,ARIA_ATTR:an,ATTR_WHITESPACE:sn,CUSTOM_ELEMENT:ln,DATA_ATTR:on,DOCTYPE_NAME:gt,ERB_EXPR:tn,IS_ALLOWED_URI:Et,IS_SCRIPT_OR_DATA:rn,MUSTACHE_EXPR:en,TMPLIT_EXPR:nn});const J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},cn=function(){return typeof window>"u"?null:window},fn=function(n,l){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let s=null;const T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));const D="dompurify"+(s?"#"+s:"");try{return n.createPolicy(D,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+D+" could not be created."),null}},dt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn();const n=i=>ht(i);if(n.version="3.2.6",n.removed=[],!a||!a.document||a.document.nodeType!==J.document||!a.Element)return n.isSupported=!1,n;let{document:l}=a;const s=l,T=s.currentScript,{DocumentFragment:D,HTMLTemplateElement:x,Node:ue,Element:Pe,NodeFilter:G,NamedNodeMap:At=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:St,DOMParser:Rt,trustedTypes:Q}=a,W=Pe.prototype,yt=Z(W,"cloneNode"),Ot=Z(W,"remove"),Lt=Z(W,"nextSibling"),bt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,B="";const{implementation:me,createNodeIterator:Dt,createDocumentFragment:It,getElementsByTagName:Nt}=l,{importNode:Mt}=s;let h=dt();n.isSupported=typeof Tt=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:Ct,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Pt}=pt;let{IS_ALLOWED_URI:ke}=pt,m=null;const Ue=r({},[...ct,...Ie,...Ne,...Me,...ft]);let d=null;const Fe=r({},[...ut,...Ce,...mt,...ce]);let f=Object.seal(_t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,He=!0,Ee=!0,ze=!1,Ge=!0,P=!1,te=!0,w=!1,ge=!1,he=!1,v=!1,ne=!1,oe=!1,We=!0,Be=!1;const vt="user-content-";let Ae=!0,X=!1,k={},U=null;const Ye=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Xe=null;const je=r({},["audio","video","img","source","image","track"]);let Se=null;const Ve=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",I="http://www.w3.org/1999/xhtml";let F=I,Re=!1,ye=null;const kt=r({},[ie,ae,I],De);let re=r({},["mi","mo","mn","ms","mtext"]),se=r({},["annotation-xml"]);const Ut=r({},["title","style","font","a","script"]);let j=null;const Ft=["application/xhtml+xml","text/html"],Ht="text/html";let p=null,H=null;const zt=l.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ht:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?De:fe,m=L(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):Ue,d=L(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):Fe,ye=L(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,De):kt,Se=L(e,"ADD_URI_SAFE_ATTR")?r(C(Ve),e.ADD_URI_SAFE_ATTR,p):Ve,Xe=L(e,"ADD_DATA_URI_TAGS")?r(C(je),e.ADD_DATA_URI_TAGS,p):je,U=L(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):Ye,Y=L(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):C({}),k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,He=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,We=e.SANITIZE_DOM!==!1,Be=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||Et,F=e.NAMESPACE||I,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(v=!0),k&&(m=r({},ft),d=[],k.html===!0&&(r(m,ct),r(d,ut)),k.svg===!0&&(r(m,Ie),r(d,Ce),r(d,ce)),k.svgFilters===!0&&(r(m,Ne),r(d,Ce),r(d,ce)),k.mathMl===!0&&(r(m,Me),r(d,mt),r(d,ce))),e.ADD_TAGS&&(m===Ue&&(m=C(m)),r(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Fe&&(d=C(d)),r(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&r(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ye&&(U=C(U)),r(U,e.FORBID_CONTENTS,p)),Ae&&(m["#text"]=!0),w&&r(m,["html","head","body"]),m.table&&(r(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=fn(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},qe=r({},[...Ie,...Ne,...Jt]),Ke=r({},[...Me,...Qt]),Gt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});const o=fe(e.tagName),c=fe(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===I?o==="svg":t.namespaceURI===ie?o==="svg"&&(c==="annotation-xml"||re[c]):!!qe[o]:e.namespaceURI===ie?t.namespaceURI===I?o==="math":t.namespaceURI===ae?o==="math"&&se[c]:!!Ke[o]:e.namespaceURI===I?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Ke[o]&&(Ut[o]||!qe[o]):!!(j==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},b=function(e){$(n.removed,{element:e});try{ee(e).removeChild(e)}catch{Ot(e)}},z=function(e,t){try{$(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ne)try{b(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ze=function(e){let t=null,o=null;if(he)e="<remove></remove>"+e;else{const u=lt(e,/^[\r\n\t ]+/);o=u&&u[0]}j==="application/xhtml+xml"&&F===I&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const c=g?g.createHTML(e):e;if(F===I)try{t=new Rt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}const _=t.body||t.documentElement;return e&&o&&_.insertBefore(l.createTextNode(o),_.childNodes[0]||null),F===I?Nt.call(t,w?"html":"body")[0]:w?t.documentElement:_},Je=function(e){return Dt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof St&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof At)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Qe=function(e){return typeof ue=="function"&&e instanceof ue};function N(i,e,t){le(i,o=>{o.call(n,e,t,H)})}const et=function(e){let t=null;if(N(h.beforeSanitizeElements,e,null),Le(e))return b(e),!0;const o=p(e.nodeName);if(N(h.uponSanitizeElement,e,{tagName:o,allowedTags:m}),te&&e.hasChildNodes()&&!Qe(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&A(/<[/\w]/g,e.data))return b(e),!0;if(!m[o]||Y[o]){if(!Y[o]&&nt(o)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,o)||f.tagNameCheck instanceof Function&&f.tagNameCheck(o)))return!1;if(Ae&&!U[o]){const c=ee(e)||e.parentNode,_=bt(e)||e.childNodes;if(_&&c){const u=_.length;for(let y=u-1;y>=0;--y){const M=yt(_[y],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,Lt(e))}}}return b(e),!0}return e instanceof Pe&&!Gt(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(b(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(n.removed,{element:e.cloneNode()}),e.textContent=t)),N(h.afterSanitizeElements,e,null),!1)},tt=function(e,t,o){if(We&&(t==="id"||t==="name")&&(o in l||o in zt))return!1;if(!(Ee&&!_e[t]&&A(Ct,t))){if(!(He&&A(wt,t))){if(!d[t]||_e[t]){if(!(nt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,o)||f.tagNameCheck instanceof Function&&f.tagNameCheck(o))))return!1}else if(!Se[t]){if(!A(ke,q(o,ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&$t(o,"data:")===0&&Xe[e])){if(!(ze&&!A(xt,q(o,ve,"")))){if(o)return!1}}}}}}return!0},nt=function(e){return e!=="annotation-xml"&<(e,Pt)},ot=function(e){N(h.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Le(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let c=t.length;for(;c--;){const _=t[c],{name:u,namespaceURI:y,value:M}=_,V=p(u),be=M;let E=u==="value"?be:qt(be);if(o.attrName=V,o.attrValue=E,o.keepAttr=!0,o.forceKeepAttr=void 0,N(h.uponSanitizeAttribute,e,o),E=o.attrValue,Be&&(V==="id"||V==="name")&&(z(u,e),E=vt+E),te&&A(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){z(u,e);continue}if(!Ge&&A(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],at=>{E=q(E,at," ")});const it=p(e.nodeName);if(!tt(it,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!y)switch(Q.getAttributeType(it,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==be)try{y?e.setAttributeNS(y,u,E):e.setAttribute(u,E),Le(e)?b(e):st(n.removed)}catch{z(u,e)}}N(h.afterSanitizeAttributes,e,null)},Wt=function i(e){let t=null;const o=Je(e);for(N(h.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)N(h.uponSanitizeShadowNode,t,null),et(t),ot(t),t.content instanceof D&&i(t.content);N(h.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,o=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Qe(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!n.isSupported)return i;if(ge||Oe(e),n.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){const M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Ze("<!---->"),o=t.ownerDocument.importNode(i,!0),o.nodeType===J.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?t=o:t.appendChild(o);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Ze(i),!t)return v?null:oe?B:""}t&&he&&b(t.firstChild);const u=Je(X?i:t);for(;c=u.nextNode();)et(c),ot(c),c.content instanceof D&&Wt(c.content);if(X)return i;if(v){if(ne)for(_=It.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(s,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(gt,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
|
1
|
+
(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[n]="01c49db2-16fe-43b0-8608-0a0713a8d112",a._sentryDebugIdIdentifier="sentry-dbid-01c49db2-16fe-43b0-8608-0a0713a8d112")}catch{}})();const{entries:Tt,setPrototypeOf:rt,isFrozen:Bt,getPrototypeOf:Yt,getOwnPropertyDescriptor:Xt}=Object;let{freeze:S,seal:O,create:_t}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(n){return n});O||(O=function(n){return n});we||(we=function(n,l,s){return n.apply(l,s)});xe||(xe=function(n,l){return new n(...l)});const le=R(Array.prototype.forEach),jt=R(Array.prototype.lastIndexOf),st=R(Array.prototype.pop),$=R(Array.prototype.push),Vt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),De=R(String.prototype.toString),lt=R(String.prototype.match),q=R(String.prototype.replace),$t=R(String.prototype.indexOf),qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=Kt(TypeError);function R(a){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return we(a,n,s)}}function Kt(a){return function(){for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return xe(a,l)}}function r(a,n){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;rt&&rt(a,null);let s=n.length;for(;s--;){let T=n[s];if(typeof T=="string"){const D=l(T);D!==T&&(Bt(n)||(n[s]=D),T=D)}a[T]=!0}return a}function Zt(a){for(let n=0;n<a.length;n++)L(a,n)||(a[n]=null);return a}function C(a){const n=_t(null);for(const[l,s]of Tt(a))L(a,l)&&(Array.isArray(s)?n[l]=Zt(s):s&&typeof s=="object"&&s.constructor===Object?n[l]=C(s):n[l]=s);return n}function Z(a,n){for(;a!==null;){const s=Xt(a,n);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}a=Yt(a)}function l(){return null}return l}const ct=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ie=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ne=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Jt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ft=S(["#text"]),ut=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=O(/<%[\w\W]*|[\w\W]*%>/gm),nn=O(/\$\{[\w\W]*/gm),on=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),an=O(/^aria-[\-\w]+$/),Et=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rn=O(/^(?:\w+script|data):/i),sn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=O(/^html$/i),ln=O(/^[a-z][.\w]*(-[.\w]+)+$/i);var pt=Object.freeze({__proto__:null,ARIA_ATTR:an,ATTR_WHITESPACE:sn,CUSTOM_ELEMENT:ln,DATA_ATTR:on,DOCTYPE_NAME:gt,ERB_EXPR:tn,IS_ALLOWED_URI:Et,IS_SCRIPT_OR_DATA:rn,MUSTACHE_EXPR:en,TMPLIT_EXPR:nn});const J={element:1,text:3,progressingInstruction:7,comment:8,document:9},cn=function(){return typeof window>"u"?null:window},fn=function(n,l){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let s=null;const T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));const D="dompurify"+(s?"#"+s:"");try{return n.createPolicy(D,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+D+" could not be created."),null}},dt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn();const n=i=>ht(i);if(n.version="3.2.6",n.removed=[],!a||!a.document||a.document.nodeType!==J.document||!a.Element)return n.isSupported=!1,n;let{document:l}=a;const s=l,T=s.currentScript,{DocumentFragment:D,HTMLTemplateElement:x,Node:ue,Element:Pe,NodeFilter:G,NamedNodeMap:At=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:St,DOMParser:Rt,trustedTypes:Q}=a,W=Pe.prototype,yt=Z(W,"cloneNode"),Ot=Z(W,"remove"),Lt=Z(W,"nextSibling"),bt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,B="";const{implementation:me,createNodeIterator:Dt,createDocumentFragment:It,getElementsByTagName:Nt}=l,{importNode:Mt}=s;let h=dt();n.isSupported=typeof Tt=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:Ct,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Pt}=pt;let{IS_ALLOWED_URI:ke}=pt,m=null;const Ue=r({},[...ct,...Ie,...Ne,...Me,...ft]);let d=null;const Fe=r({},[...ut,...Ce,...mt,...ce]);let f=Object.seal(_t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,He=!0,Ee=!0,ze=!1,Ge=!0,P=!1,te=!0,w=!1,ge=!1,he=!1,v=!1,ne=!1,oe=!1,We=!0,Be=!1;const vt="user-content-";let Ae=!0,X=!1,k={},U=null;const Ye=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Xe=null;const je=r({},["audio","video","img","source","image","track"]);let Se=null;const Ve=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",I="http://www.w3.org/1999/xhtml";let F=I,Re=!1,ye=null;const kt=r({},[ie,ae,I],De);let re=r({},["mi","mo","mn","ms","mtext"]),se=r({},["annotation-xml"]);const Ut=r({},["title","style","font","a","script"]);let j=null;const Ft=["application/xhtml+xml","text/html"],Ht="text/html";let p=null,H=null;const zt=l.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ht:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?De:fe,m=L(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):Ue,d=L(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):Fe,ye=L(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,De):kt,Se=L(e,"ADD_URI_SAFE_ATTR")?r(C(Ve),e.ADD_URI_SAFE_ATTR,p):Ve,Xe=L(e,"ADD_DATA_URI_TAGS")?r(C(je),e.ADD_DATA_URI_TAGS,p):je,U=L(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):Ye,Y=L(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):C({}),k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,He=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,We=e.SANITIZE_DOM!==!1,Be=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||Et,F=e.NAMESPACE||I,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(v=!0),k&&(m=r({},ft),d=[],k.html===!0&&(r(m,ct),r(d,ut)),k.svg===!0&&(r(m,Ie),r(d,Ce),r(d,ce)),k.svgFilters===!0&&(r(m,Ne),r(d,Ce),r(d,ce)),k.mathMl===!0&&(r(m,Me),r(d,mt),r(d,ce))),e.ADD_TAGS&&(m===Ue&&(m=C(m)),r(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Fe&&(d=C(d)),r(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&r(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ye&&(U=C(U)),r(U,e.FORBID_CONTENTS,p)),Ae&&(m["#text"]=!0),w&&r(m,["html","head","body"]),m.table&&(r(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=fn(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},qe=r({},[...Ie,...Ne,...Jt]),Ke=r({},[...Me,...Qt]),Gt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});const o=fe(e.tagName),c=fe(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===I?o==="svg":t.namespaceURI===ie?o==="svg"&&(c==="annotation-xml"||re[c]):!!qe[o]:e.namespaceURI===ie?t.namespaceURI===I?o==="math":t.namespaceURI===ae?o==="math"&&se[c]:!!Ke[o]:e.namespaceURI===I?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Ke[o]&&(Ut[o]||!qe[o]):!!(j==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},b=function(e){$(n.removed,{element:e});try{ee(e).removeChild(e)}catch{Ot(e)}},z=function(e,t){try{$(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ne)try{b(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ze=function(e){let t=null,o=null;if(he)e="<remove></remove>"+e;else{const u=lt(e,/^[\r\n\t ]+/);o=u&&u[0]}j==="application/xhtml+xml"&&F===I&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const c=g?g.createHTML(e):e;if(F===I)try{t=new Rt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}const _=t.body||t.documentElement;return e&&o&&_.insertBefore(l.createTextNode(o),_.childNodes[0]||null),F===I?Nt.call(t,w?"html":"body")[0]:w?t.documentElement:_},Je=function(e){return Dt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof St&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof At)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Qe=function(e){return typeof ue=="function"&&e instanceof ue};function N(i,e,t){le(i,o=>{o.call(n,e,t,H)})}const et=function(e){let t=null;if(N(h.beforeSanitizeElements,e,null),Le(e))return b(e),!0;const o=p(e.nodeName);if(N(h.uponSanitizeElement,e,{tagName:o,allowedTags:m}),te&&e.hasChildNodes()&&!Qe(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&A(/<[/\w]/g,e.data))return b(e),!0;if(!m[o]||Y[o]){if(!Y[o]&&nt(o)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,o)||f.tagNameCheck instanceof Function&&f.tagNameCheck(o)))return!1;if(Ae&&!U[o]){const c=ee(e)||e.parentNode,_=bt(e)||e.childNodes;if(_&&c){const u=_.length;for(let y=u-1;y>=0;--y){const M=yt(_[y],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,Lt(e))}}}return b(e),!0}return e instanceof Pe&&!Gt(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(b(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(n.removed,{element:e.cloneNode()}),e.textContent=t)),N(h.afterSanitizeElements,e,null),!1)},tt=function(e,t,o){if(We&&(t==="id"||t==="name")&&(o in l||o in zt))return!1;if(!(Ee&&!_e[t]&&A(Ct,t))){if(!(He&&A(wt,t))){if(!d[t]||_e[t]){if(!(nt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,o)||f.tagNameCheck instanceof Function&&f.tagNameCheck(o))))return!1}else if(!Se[t]){if(!A(ke,q(o,ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&$t(o,"data:")===0&&Xe[e])){if(!(ze&&!A(xt,q(o,ve,"")))){if(o)return!1}}}}}}return!0},nt=function(e){return e!=="annotation-xml"&<(e,Pt)},ot=function(e){N(h.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Le(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let c=t.length;for(;c--;){const _=t[c],{name:u,namespaceURI:y,value:M}=_,V=p(u),be=M;let E=u==="value"?be:qt(be);if(o.attrName=V,o.attrValue=E,o.keepAttr=!0,o.forceKeepAttr=void 0,N(h.uponSanitizeAttribute,e,o),E=o.attrValue,Be&&(V==="id"||V==="name")&&(z(u,e),E=vt+E),te&&A(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){z(u,e);continue}if(!Ge&&A(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],at=>{E=q(E,at," ")});const it=p(e.nodeName);if(!tt(it,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!y)switch(Q.getAttributeType(it,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==be)try{y?e.setAttributeNS(y,u,E):e.setAttribute(u,E),Le(e)?b(e):st(n.removed)}catch{z(u,e)}}N(h.afterSanitizeAttributes,e,null)},Wt=function i(e){let t=null;const o=Je(e);for(N(h.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)N(h.uponSanitizeShadowNode,t,null),et(t),ot(t),t.content instanceof D&&i(t.content);N(h.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,o=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Qe(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!n.isSupported)return i;if(ge||Oe(e),n.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){const M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Ze("<!---->"),o=t.ownerDocument.importNode(i,!0),o.nodeType===J.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?t=o:t.appendChild(o);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Ze(i),!t)return v?null:oe?B:""}t&&he&&b(t.firstChild);const u=Je(X?i:t);for(;c=u.nextNode();)et(c),ot(c),c.content instanceof D&&Wt(c.content);if(X)return i;if(v){if(ne)for(_=It.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(s,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(gt,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
|
2
2
|
`+y),P&&le([pe,de,Te],M=>{y=q(y,M," ")}),g&&oe?g.createHTML(y):y},n.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Oe(i),ge=!0},n.clearConfig=function(){H=null,ge=!1},n.isValidAttribute=function(i,e,t){H||Oe({});const o=p(i),c=p(e);return tt(o,c,t)},n.addHook=function(i,e){typeof e=="function"&&$(h[i],e)},n.removeHook=function(i,e){if(e!==void 0){const t=jt(h[i],e);return t===-1?void 0:Vt(h[i],t,1)[0]}return st(h[i])},n.removeHooks=function(i){h[i]=[]},n.removeAllHooks=function(){h=dt()},n}var un=ht();export{un as p};
|
|
3
3
|
//# sourceMappingURL=vendor.dompurify.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(){try{var
|
|
1
|
+
(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="93d4c5d9-bc51-46ef-a5eb-8ca5d432675c",o._sentryDebugIdIdentifier="sentry-dbid-93d4c5d9-bc51-46ef-a5eb-8ca5d432675c")}catch{}})();var a={prefix:"fal",iconName:"arrow-up-to-line",icon:[384,512,["arrow-to-top"],"f341","M16 32C7.2 32 0 39.2 0 48s7.2 16 16 16H368c8.8 0 16-7.2 16-16s-7.2-16-16-16H16zM203.3 132.7c-6.2-6.2-16.4-6.2-22.6 0l-128 128c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L176 182.6V288 464c0 8.8 7.2 16 16 16s16-7.2 16-16V288 182.6L308.7 283.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-128-128z"]},t=a,c={prefix:"fal",iconName:"arrow-down-to-line",icon:[384,512,["arrow-to-bottom"],"f33d","M16 480c-8.8 0-16-7.2-16-16s7.2-16 16-16H368c8.8 0 16 7.2 16 16s-7.2 16-16 16H16zM203.3 379.3c-6.2 6.2-16.4 6.2-22.6 0l-128-128c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L176 329.4V224 48c0-8.8 7.2-16 16-16s16 7.2 16 16V224 329.4L308.7 228.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-128 128z"]},f=c,n={prefix:"fal",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M94.7 360.2c-3.2-5-8.7-8.2-14.7-8.2c-12.3 0-20.3 12.8-13.7 23.2C106 438.2 176.1 480 256 480c123.7 0 224-100.3 224-224S379.7 32 256 32c-56.1 0-107.4 20.6-146.7 54.7L78.6 56c-5.1-5.1-12.1-8-19.3-8C44.2 48 32 60.2 32 75.3V176c0 8.8 7.2 16 16 16H148.7c15.1 0 27.3-12.2 27.3-27.3c0-7.2-2.9-14.2-8-19.3l-36-36C165.5 81.1 208.7 64 256 64c106 0 192 86 192 192s-86 192-192 192c-67.6 0-127.1-35-161.3-87.8zM64 86.6L137.4 160H64V86.6z"]};export{t as a,n as b,f};
|
|
2
2
|
//# sourceMappingURL=vendor.fortawesome.pro-light-svg-icons.js.map
|