beesoft-components 0.10.2 → 0.10.3

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.
Files changed (193) hide show
  1. package/dist/af-CFvOYR3V.js +370 -0
  2. package/dist/af-CFvOYR3V.js.gz +0 -0
  3. package/dist/ar-CsiaH5GB.js +399 -0
  4. package/dist/ar-CsiaH5GB.js.gz +0 -0
  5. package/dist/ar-DZ-Bi0G4D7c.js +400 -0
  6. package/dist/ar-DZ-Bi0G4D7c.js.gz +0 -0
  7. package/dist/ar-EG-Cmdk0LbW.js +395 -0
  8. package/dist/ar-EG-Cmdk0LbW.js.gz +0 -0
  9. package/dist/ar-MA-rRN5aHZK.js +401 -0
  10. package/dist/ar-MA-rRN5aHZK.js.gz +0 -0
  11. package/dist/ar-SA-BMVhmM9H.js +399 -0
  12. package/dist/ar-SA-BMVhmM9H.js.gz +0 -0
  13. package/dist/ar-TN-BZ-W87rs.js +399 -0
  14. package/dist/ar-TN-BZ-W87rs.js.gz +0 -0
  15. package/dist/az-BNEx7wJw.js +435 -0
  16. package/dist/az-BNEx7wJw.js.gz +0 -0
  17. package/dist/be-DkSmhG41.js +574 -0
  18. package/dist/be-DkSmhG41.js.gz +0 -0
  19. package/dist/be-tarask-BN1MfKAQ.js +574 -0
  20. package/dist/be-tarask-BN1MfKAQ.js.gz +0 -0
  21. package/dist/beesoft-components.css +1 -1
  22. package/dist/beesoft-components.css.gz +0 -0
  23. package/dist/bg-icsFJUjI.js +374 -0
  24. package/dist/bg-icsFJUjI.js.gz +0 -0
  25. package/dist/bn-CmhMX4aC.js +431 -0
  26. package/dist/bn-CmhMX4aC.js.gz +0 -0
  27. package/dist/bs-BF9YY3ZD.js +521 -0
  28. package/dist/bs-BF9YY3ZD.js.gz +0 -0
  29. package/dist/ca-DVWrwPpO.js +428 -0
  30. package/dist/ca-DVWrwPpO.js.gz +0 -0
  31. package/dist/cs-tudyqJfu.js +602 -0
  32. package/dist/cs-tudyqJfu.js.gz +0 -0
  33. package/dist/cy-DVFaWf-L.js +416 -0
  34. package/dist/cy-DVFaWf-L.js.gz +0 -0
  35. package/dist/da-cOH33eq1.js +360 -0
  36. package/dist/da-cOH33eq1.js.gz +0 -0
  37. package/dist/de-AT-CSis4WQY.js +174 -0
  38. package/dist/de-AT-CSis4WQY.js.gz +0 -0
  39. package/dist/de-Dn47u0qN.js +174 -0
  40. package/dist/de-Dn47u0qN.js.gz +0 -0
  41. package/dist/el-CDpS0TA1.js +373 -0
  42. package/dist/el-CDpS0TA1.js.gz +0 -0
  43. package/dist/en-AU-CBLR8b7O.js +45 -0
  44. package/dist/en-CA-BnstVrOn.js +111 -0
  45. package/dist/en-CA-BnstVrOn.js.gz +0 -0
  46. package/dist/en-GB-B9XZU_Jd.js +18 -0
  47. package/dist/en-IE-Biv4XjCg.js +18 -0
  48. package/dist/en-IN-C_CNTL8e.js +47 -0
  49. package/dist/en-NZ-t7aZgqBx.js +45 -0
  50. package/dist/en-ZA-DKqIPkmY.js +47 -0
  51. package/dist/eo-BMPz7HXm.js +336 -0
  52. package/dist/eo-BMPz7HXm.js.gz +0 -0
  53. package/dist/es-DIXmhzaF.js +373 -0
  54. package/dist/es-DIXmhzaF.js.gz +0 -0
  55. package/dist/et-DB6c78_Q.js +463 -0
  56. package/dist/et-DB6c78_Q.js.gz +0 -0
  57. package/dist/eu-XQu0CcXc.js +394 -0
  58. package/dist/eu-XQu0CcXc.js.gz +0 -0
  59. package/dist/fa-IR-UHo-MKKh.js +369 -0
  60. package/dist/fa-IR-UHo-MKKh.js.gz +0 -0
  61. package/dist/fi-DMXGxX9o.js +400 -0
  62. package/dist/fi-DMXGxX9o.js.gz +0 -0
  63. package/dist/formatLong-Bn9nHH1i.js +33 -0
  64. package/dist/formatRelative-BR1OhEUX.js +11 -0
  65. package/dist/fr-CA-BJKuUWU-.js +48 -0
  66. package/dist/fr-CH-yPbbAPD6.js +53 -0
  67. package/dist/fr-CH-yPbbAPD6.js.gz +0 -0
  68. package/dist/fr-D_84fTaK.js +47 -0
  69. package/dist/fy-mImyKpwU.js +326 -0
  70. package/dist/fy-mImyKpwU.js.gz +0 -0
  71. package/dist/gd-CJPwj1aK.js +382 -0
  72. package/dist/gd-CJPwj1aK.js.gz +0 -0
  73. package/dist/gl-CwxzEMT0.js +363 -0
  74. package/dist/gl-CwxzEMT0.js.gz +0 -0
  75. package/dist/gu-f3kdRKIA.js +380 -0
  76. package/dist/gu-f3kdRKIA.js.gz +0 -0
  77. package/dist/he-NrVHZBE1.js +415 -0
  78. package/dist/he-NrVHZBE1.js.gz +0 -0
  79. package/dist/hi-BFzJPs5T.js +433 -0
  80. package/dist/hi-BFzJPs5T.js.gz +0 -0
  81. package/dist/hr-zzpAekLr.js +532 -0
  82. package/dist/hr-zzpAekLr.js.gz +0 -0
  83. package/dist/ht-CEw65UR6.js +322 -0
  84. package/dist/ht-CEw65UR6.js.gz +0 -0
  85. package/dist/hu-ByP9kW2N.js +349 -0
  86. package/dist/hu-ByP9kW2N.js.gz +0 -0
  87. package/dist/hy-C2Pl_xbw.js +365 -0
  88. package/dist/hy-C2Pl_xbw.js.gz +0 -0
  89. package/dist/id-qDcxuFRq.js +352 -0
  90. package/dist/id-qDcxuFRq.js.gz +0 -0
  91. package/dist/index-B5gp9nIe.js +10739 -0
  92. package/dist/index-B5gp9nIe.js.gz +0 -0
  93. package/dist/index.es.js +21 -10341
  94. package/dist/index.umd.js +27 -27
  95. package/dist/index.umd.js.gz +0 -0
  96. package/dist/is-DxkQAl__.js +360 -0
  97. package/dist/is-DxkQAl__.js.gz +0 -0
  98. package/dist/isSameWeek-Bkly3g71.js +8 -0
  99. package/dist/it-BDHro7GS.js +46 -0
  100. package/dist/it-CH-CeMO5btM.js +46 -0
  101. package/dist/ja-CBxSUn7_.js +366 -0
  102. package/dist/ja-CBxSUn7_.js.gz +0 -0
  103. package/dist/ja-Hira-B8h3YxXa.js +374 -0
  104. package/dist/ja-Hira-B8h3YxXa.js.gz +0 -0
  105. package/dist/ka-VFNXC2R4.js +379 -0
  106. package/dist/ka-VFNXC2R4.js.gz +0 -0
  107. package/dist/kk-Bc00xz9F.js +559 -0
  108. package/dist/kk-Bc00xz9F.js.gz +0 -0
  109. package/dist/km-0O4x1uRq.js +321 -0
  110. package/dist/km-0O4x1uRq.js.gz +0 -0
  111. package/dist/kn-DcGZgl4A.js +486 -0
  112. package/dist/kn-DcGZgl4A.js.gz +0 -0
  113. package/dist/ko-D765-k1u.js +347 -0
  114. package/dist/ko-D765-k1u.js.gz +0 -0
  115. package/dist/lb-CPFBijCY.js +476 -0
  116. package/dist/lb-CPFBijCY.js.gz +0 -0
  117. package/dist/lt-CBT1XLK8.js +469 -0
  118. package/dist/lt-CBT1XLK8.js.gz +0 -0
  119. package/dist/lv-CY4TBGIG.js +506 -0
  120. package/dist/lv-CY4TBGIG.js.gz +0 -0
  121. package/dist/match-BrPdDwqQ.js +312 -0
  122. package/dist/match-BrPdDwqQ.js.gz +0 -0
  123. package/dist/match-CINzhQrF.js +364 -0
  124. package/dist/match-CINzhQrF.js.gz +0 -0
  125. package/dist/match-DxuzjTI6.js +293 -0
  126. package/dist/match-DxuzjTI6.js.gz +0 -0
  127. package/dist/mk-Bm62f-tt.js +361 -0
  128. package/dist/mk-Bm62f-tt.js.gz +0 -0
  129. package/dist/mn-1lhhdRaG.js +419 -0
  130. package/dist/mn-1lhhdRaG.js.gz +0 -0
  131. package/dist/ms-BpjZ4U8d.js +352 -0
  132. package/dist/ms-BpjZ4U8d.js.gz +0 -0
  133. package/dist/mt-CDmN0j69.js +372 -0
  134. package/dist/mt-CDmN0j69.js.gz +0 -0
  135. package/dist/nb-CuqomsB2.js +326 -0
  136. package/dist/nb-CuqomsB2.js.gz +0 -0
  137. package/dist/nl-BE-CNpPZqEv.js +326 -0
  138. package/dist/nl-BE-CNpPZqEv.js.gz +0 -0
  139. package/dist/nl-CWnMAxul.js +326 -0
  140. package/dist/nl-CWnMAxul.js.gz +0 -0
  141. package/dist/nn-B-78tm2f.js +343 -0
  142. package/dist/nn-B-78tm2f.js.gz +0 -0
  143. package/dist/oc-CBnwdBqX.js +382 -0
  144. package/dist/oc-CBnwdBqX.js.gz +0 -0
  145. package/dist/pl-ClMEBKja.js +514 -0
  146. package/dist/pl-ClMEBKja.js.gz +0 -0
  147. package/dist/pt-BR-DmlEgJVC.js +379 -0
  148. package/dist/pt-BR-DmlEgJVC.js.gz +0 -0
  149. package/dist/pt-DNbwCXMY.js +370 -0
  150. package/dist/pt-DNbwCXMY.js.gz +0 -0
  151. package/dist/ro-BYMfaWOg.js +361 -0
  152. package/dist/ro-BYMfaWOg.js.gz +0 -0
  153. package/dist/ru-C_8ttQ0Q.js +561 -0
  154. package/dist/ru-C_8ttQ0Q.js.gz +0 -0
  155. package/dist/sk-IaBkKUmR.js +530 -0
  156. package/dist/sk-IaBkKUmR.js.gz +0 -0
  157. package/dist/sl-B0SxG6F7.js +646 -0
  158. package/dist/sl-B0SxG6F7.js.gz +0 -0
  159. package/dist/sq-DkOtxRlY.js +355 -0
  160. package/dist/sq-DkOtxRlY.js.gz +0 -0
  161. package/dist/sr-BT43jTRk.js +518 -0
  162. package/dist/sr-BT43jTRk.js.gz +0 -0
  163. package/dist/sr-Latn-BFHSb7HH.js +518 -0
  164. package/dist/sr-Latn-BFHSb7HH.js.gz +0 -0
  165. package/dist/sv-B3VIg6-u.js +376 -0
  166. package/dist/sv-B3VIg6-u.js.gz +0 -0
  167. package/dist/ta-CyTPoNKO.js +528 -0
  168. package/dist/ta-CyTPoNKO.js.gz +0 -0
  169. package/dist/te-C6BxtMie.js +465 -0
  170. package/dist/te-C6BxtMie.js.gz +0 -0
  171. package/dist/th-DBTJ9ZFx.js +364 -0
  172. package/dist/th-DBTJ9ZFx.js.gz +0 -0
  173. package/dist/tr-B4cyQilH.js +378 -0
  174. package/dist/tr-B4cyQilH.js.gz +0 -0
  175. package/dist/ug-CqAW8D5O.js +368 -0
  176. package/dist/ug-CqAW8D5O.js.gz +0 -0
  177. package/dist/uk-B3ofwEvN.js +562 -0
  178. package/dist/uk-B3ofwEvN.js.gz +0 -0
  179. package/dist/uz-C5xw23sX.js +357 -0
  180. package/dist/uz-C5xw23sX.js.gz +0 -0
  181. package/dist/uz-Cyrl-Ds5dyhKi.js +316 -0
  182. package/dist/uz-Cyrl-Ds5dyhKi.js.gz +0 -0
  183. package/dist/vi-a-u_Tq-5.js +482 -0
  184. package/dist/vi-a-u_Tq-5.js.gz +0 -0
  185. package/dist/zh-CN-Cc1UD-O3.js +388 -0
  186. package/dist/zh-CN-Cc1UD-O3.js.gz +0 -0
  187. package/dist/zh-HK-DJTwTSYa.js +377 -0
  188. package/dist/zh-HK-DJTwTSYa.js.gz +0 -0
  189. package/dist/zh-TW-CVPpLOVJ.js +377 -0
  190. package/dist/zh-TW-CVPpLOVJ.js.gz +0 -0
  191. package/package.json +2 -2
  192. package/types/index.d.ts +4 -11
  193. package/dist/index.es.js.gz +0 -0
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(se,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],h):(se=typeof globalThis<"u"?globalThis:se||self,h(se.BeeSoftComponents={},se.React,se.ReactDOM))})(this,function(se,h,Xe){"use strict";var Yp=Object.defineProperty;var Wp=(se,h,Xe)=>h in se?Yp(se,h,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):se[h]=Xe;var T=(se,h,Xe)=>Wp(se,typeof h!="symbol"?h+"":h,Xe);function Ei(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const cr=Ei(h);function en(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mr={exports:{}},ur={};/**
1
+ (function(ue,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],p):(ue=typeof globalThis<"u"?globalThis:ue||self,p(ue.BeeSoftComponents={},ue.React,ue.ReactDOM))})(this,function(ue,p,ct){"use strict";var MZ=Object.defineProperty;var $Z=(ue,p,ct)=>p in ue?MZ(ue,p,{enumerable:!0,configurable:!0,writable:!0,value:ct}):ue[p]=ct;var x=(ue,p,ct)=>$Z(ue,typeof p!="symbol"?p+"":p,ct);function Ld(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const xa=Ld(p);function Wn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var an={exports:{}},ja={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var ss;function ki(){if(ss)return ur;ss=1;var e=h,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(c,u,p){var d,b={},x=null,l=null;p!==void 0&&(x=""+p),u.key!==void 0&&(x=""+u.key),u.ref!==void 0&&(l=u.ref);for(d in u)n.call(u,d)&&!o.hasOwnProperty(d)&&(b[d]=u[d]);if(c&&c.defaultProps)for(d in u=c.defaultProps,u)b[d]===void 0&&(b[d]=u[d]);return{$$typeof:t,type:c,key:x,ref:l,props:b,_owner:s.current}}return ur.Fragment=r,ur.jsx=i,ur.jsxs=i,ur}var lr={};/**
9
+ */var Qr;function Xd(){if(Qr)return ja;Qr=1;var e=p,a=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(c,l,b){var g,w={},M=null,h=null;b!==void 0&&(M=""+b),l.key!==void 0&&(M=""+l.key),l.ref!==void 0&&(h=l.ref);for(g in l)n.call(l,g)&&!i.hasOwnProperty(g)&&(w[g]=l[g]);if(c&&c.defaultProps)for(g in l=c.defaultProps,l)w[g]===void 0&&(w[g]=l[g]);return{$$typeof:a,type:c,key:M,ref:h,props:w,_owner:r.current}}return ja.Fragment=t,ja.jsx=o,ja.jsxs=o,ja}var Sa={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,24 +14,24 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var os;function Ci(){return os||(os=1,process.env.NODE_ENV!=="production"&&function(){var e=h,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),l=Symbol.for("react.offscreen"),f=Symbol.iterator,m="@@iterator";function w(a){if(a===null||typeof a!="object")return null;var g=f&&a[f]||a[m];return typeof g=="function"?g:null}var v=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(a){{for(var g=arguments.length,S=new Array(g>1?g-1:0),N=1;N<g;N++)S[N-1]=arguments[N];A("error",a,S)}}function A(a,g,S){{var N=v.ReactDebugCurrentFrame,X=N.getStackAddendum();X!==""&&(g+="%s",S=S.concat([X]));var J=S.map(function(z){return String(z)});J.unshift("Warning: "+g),Function.prototype.apply.call(console[a],console,J)}}var D=!1,E=!1,q=!1,R=!1,B=!1,H;H=Symbol.for("react.module.reference");function ne(a){return!!(typeof a=="string"||typeof a=="function"||a===n||a===o||B||a===s||a===p||a===d||R||a===l||D||E||q||typeof a=="object"&&a!==null&&(a.$$typeof===x||a.$$typeof===b||a.$$typeof===i||a.$$typeof===c||a.$$typeof===u||a.$$typeof===H||a.getModuleId!==void 0))}function oe(a,g,S){var N=a.displayName;if(N)return N;var X=g.displayName||g.name||"";return X!==""?S+"("+X+")":S}function W(a){return a.displayName||"Context"}function $(a){if(a==null)return null;if(typeof a.tag=="number"&&P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case n:return"Fragment";case r:return"Portal";case o:return"Profiler";case s:return"StrictMode";case p:return"Suspense";case d:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case c:var g=a;return W(g)+".Consumer";case i:var S=a;return W(S._context)+".Provider";case u:return oe(a,a.render,"ForwardRef");case b:var N=a.displayName||null;return N!==null?N:$(a.type)||"Memo";case x:{var X=a,J=X._payload,z=X._init;try{return $(z(J))}catch{return null}}}return null}var I=Object.assign,Z=0,F,Q,j,ue,k,M,_;function C(){}C.__reactDisabledLog=!0;function U(){{if(Z===0){F=console.log,Q=console.info,j=console.warn,ue=console.error,k=console.group,M=console.groupCollapsed,_=console.groupEnd;var a={configurable:!0,enumerable:!0,value:C,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}Z++}}function ee(){{if(Z--,Z===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},a,{value:F}),info:I({},a,{value:Q}),warn:I({},a,{value:j}),error:I({},a,{value:ue}),group:I({},a,{value:k}),groupCollapsed:I({},a,{value:M}),groupEnd:I({},a,{value:_})})}Z<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Y=v.ReactCurrentDispatcher,K;function G(a,g,S){{if(K===void 0)try{throw Error()}catch(X){var N=X.stack.trim().match(/\n( *(at )?)/);K=N&&N[1]||""}return`
18
- `+K+a}}var re=!1,O;{var ae=typeof WeakMap=="function"?WeakMap:Map;O=new ae}function L(a,g){if(!a||re)return"";{var S=O.get(a);if(S!==void 0)return S}var N;re=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var J;J=Y.current,Y.current=null,U();try{if(g){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(xe){N=xe}Reflect.construct(a,[],z)}else{try{z.call()}catch(xe){N=xe}a.call(z.prototype)}}else{try{throw Error()}catch(xe){N=xe}a()}}catch(xe){if(xe&&N&&typeof xe.stack=="string"){for(var V=xe.stack.split(`
19
- `),ge=N.stack.split(`
20
- `),ie=V.length-1,ce=ge.length-1;ie>=1&&ce>=0&&V[ie]!==ge[ce];)ce--;for(;ie>=1&&ce>=0;ie--,ce--)if(V[ie]!==ge[ce]){if(ie!==1||ce!==1)do if(ie--,ce--,ce<0||V[ie]!==ge[ce]){var ke=`
21
- `+V[ie].replace(" at new "," at ");return a.displayName&&ke.includes("<anonymous>")&&(ke=ke.replace("<anonymous>",a.displayName)),typeof a=="function"&&O.set(a,ke),ke}while(ie>=1&&ce>=0);break}}}finally{re=!1,Y.current=J,ee(),Error.prepareStackTrace=X}var Ue=a?a.displayName||a.name:"",We=Ue?G(Ue):"";return typeof a=="function"&&O.set(a,We),We}function Ne(a,g,S){return L(a,!1)}function Be(a){var g=a.prototype;return!!(g&&g.isReactComponent)}function Re(a,g,S){if(a==null)return"";if(typeof a=="function")return L(a,Be(a));if(typeof a=="string")return G(a);switch(a){case p:return G("Suspense");case d:return G("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case u:return Ne(a.render);case b:return Re(a.type,g,S);case x:{var N=a,X=N._payload,J=N._init;try{return Re(J(X),g,S)}catch{}}}return""}var Ye=Object.prototype.hasOwnProperty,st={},Ze=v.ReactDebugCurrentFrame;function Ve(a){if(a){var g=a._owner,S=Re(a.type,a._source,g?g.type:null);Ze.setExtraStackFrame(S)}else Ze.setExtraStackFrame(null)}function Gt(a,g,S,N,X){{var J=Function.call.bind(Ye);for(var z in a)if(J(a,z)){var V=void 0;try{if(typeof a[z]!="function"){var ge=Error((N||"React class")+": "+S+" type `"+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ge.name="Invariant Violation",ge}V=a[z](g,z,N,S,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ie){V=ie}V&&!(V instanceof Error)&&(Ve(X),P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",N||"React class",S,z,typeof V),Ve(null)),V instanceof Error&&!(V.message in st)&&(st[V.message]=!0,Ve(X),P("Failed %s type: %s",S,V.message),Ve(null))}}}var Xt=Array.isArray;function Qe(a){return Xt(a)}function Jt(a){{var g=typeof Symbol=="function"&&Symbol.toStringTag,S=g&&a[Symbol.toStringTag]||a.constructor.name||"Object";return S}}function er(a){try{return Dt(a),!1}catch{return!0}}function Dt(a){return""+a}function ot(a){if(er(a))return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Jt(a)),Dt(a)}var it=v.ReactCurrentOwner,_r={key:!0,ref:!0,__self:!0,__source:!0},Ge,_t;function Xr(a){if(Ye.call(a,"ref")){var g=Object.getOwnPropertyDescriptor(a,"ref").get;if(g&&g.isReactWarning)return!1}return a.ref!==void 0}function Nr(a){if(Ye.call(a,"key")){var g=Object.getOwnPropertyDescriptor(a,"key").get;if(g&&g.isReactWarning)return!1}return a.key!==void 0}function tr(a,g){typeof a.ref=="string"&&it.current}function rr(a,g){{var S=function(){Ge||(Ge=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",g))};S.isReactWarning=!0,Object.defineProperty(a,"key",{get:S,configurable:!0})}}function Jr(a,g){{var S=function(){_t||(_t=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",g))};S.isReactWarning=!0,Object.defineProperty(a,"ref",{get:S,configurable:!0})}}var nr=function(a,g,S,N,X,J,z){var V={$$typeof:t,type:a,key:g,ref:S,props:z,_owner:J};return V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(V,"_self",{configurable:!1,enumerable:!1,writable:!1,value:N}),Object.defineProperty(V,"_source",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V};function Nt(a,g,S,N,X){{var J,z={},V=null,ge=null;S!==void 0&&(ot(S),V=""+S),Nr(g)&&(ot(g.key),V=""+g.key),Xr(g)&&(ge=g.ref,tr(g,X));for(J in g)Ye.call(g,J)&&!_r.hasOwnProperty(J)&&(z[J]=g[J]);if(a&&a.defaultProps){var ie=a.defaultProps;for(J in ie)z[J]===void 0&&(z[J]=ie[J])}if(V||ge){var ce=typeof a=="function"?a.displayName||a.name||"Unknown":a;V&&rr(z,ce),ge&&Jr(z,ce)}return nr(a,V,ge,X,N,it.current,z)}}var te=v.ReactCurrentOwner,de=v.ReactDebugCurrentFrame;function Ee(a){if(a){var g=a._owner,S=Re(a.type,a._source,g?g.type:null);de.setExtraStackFrame(S)}else de.setExtraStackFrame(null)}var at;at=!1;function ct(a){return typeof a=="object"&&a!==null&&a.$$typeof===t}function yt(){{if(te.current){var a=$(te.current.type);if(a)return`
17
+ */var Kr;function Rd(){return Kr||(Kr=1,process.env.NODE_ENV!=="production"&&function(){var e=p,a=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),f=Symbol.iterator,v="@@iterator";function $(s){if(s===null||typeof s!="object")return null;var y=f&&s[f]||s[v];return typeof y=="function"?y:null}var k=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(s){{for(var y=arguments.length,W=new Array(y>1?y-1:0),C=1;C<y;C++)W[C-1]=arguments[C];A("error",s,W)}}function A(s,y,W){{var C=k.ReactDebugCurrentFrame,ae=C.getStackAddendum();ae!==""&&(y+="%s",W=W.concat([ae]));var ne=W.map(function(J){return String(J)});ne.unshift("Warning: "+y),Function.prototype.apply.call(console[s],console,ne)}}var H=!1,S=!1,U=!1,V=!1,Q=!1,R;R=Symbol.for("react.module.reference");function se(s){return!!(typeof s=="string"||typeof s=="function"||s===n||s===i||Q||s===r||s===b||s===g||V||s===h||H||S||U||typeof s=="object"&&s!==null&&(s.$$typeof===M||s.$$typeof===w||s.$$typeof===o||s.$$typeof===c||s.$$typeof===l||s.$$typeof===R||s.getModuleId!==void 0))}function de(s,y,W){var C=s.displayName;if(C)return C;var ae=y.displayName||y.name||"";return ae!==""?W+"("+ae+")":W}function q(s){return s.displayName||"Context"}function X(s){if(s==null)return null;if(typeof s.tag=="number"&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case n:return"Fragment";case t:return"Portal";case i:return"Profiler";case r:return"StrictMode";case b:return"Suspense";case g:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case c:var y=s;return q(y)+".Consumer";case o:var W=s;return q(W._context)+".Provider";case l:return de(s,s.render,"ForwardRef");case w:var C=s.displayName||null;return C!==null?C:X(s.type)||"Memo";case M:{var ae=s,ne=ae._payload,J=ae._init;try{return X(J(ne))}catch{return null}}}return null}var _=Object.assign,Z=0,L,ee,z,fe,T,O,N;function D(){}D.__reactDisabledLog=!0;function K(){{if(Z===0){L=console.log,ee=console.info,z=console.warn,fe=console.error,T=console.group,O=console.groupCollapsed,N=console.groupEnd;var s={configurable:!0,enumerable:!0,value:D,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Z++}}function re(){{if(Z--,Z===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:_({},s,{value:L}),info:_({},s,{value:ee}),warn:_({},s,{value:z}),error:_({},s,{value:fe}),group:_({},s,{value:T}),groupCollapsed:_({},s,{value:O}),groupEnd:_({},s,{value:N})})}Z<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Y=k.ReactCurrentDispatcher,B;function te(s,y,W){{if(B===void 0)try{throw Error()}catch(ae){var C=ae.stack.trim().match(/\n( *(at )?)/);B=C&&C[1]||""}return`
18
+ `+B+s}}var oe=!1,E;{var le=typeof WeakMap=="function"?WeakMap:Map;E=new le}function F(s,y){if(!s||oe)return"";{var W=E.get(s);if(W!==void 0)return W}var C;oe=!0;var ae=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ne;ne=Y.current,Y.current=null,K();try{if(y){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch($e){C=$e}Reflect.construct(s,[],J)}else{try{J.call()}catch($e){C=$e}s.call(J.prototype)}}else{try{throw Error()}catch($e){C=$e}s()}}catch($e){if($e&&C&&typeof $e.stack=="string"){for(var G=$e.stack.split(`
19
+ `),we=C.stack.split(`
20
+ `),ce=G.length-1,me=we.length-1;ce>=1&&me>=0&&G[ce]!==we[me];)me--;for(;ce>=1&&me>=0;ce--,me--)if(G[ce]!==we[me]){if(ce!==1||me!==1)do if(ce--,me--,me<0||G[ce]!==we[me]){var De=`
21
+ `+G[ce].replace(" at new "," at ");return s.displayName&&De.includes("<anonymous>")&&(De=De.replace("<anonymous>",s.displayName)),typeof s=="function"&&E.set(s,De),De}while(ce>=1&&me>=0);break}}}finally{oe=!1,Y.current=ne,re(),Error.prepareStackTrace=ae}var nt=s?s.displayName||s.name:"",Ze=nt?te(nt):"";return typeof s=="function"&&E.set(s,Ze),Ze}function Oe(s,y,W){return F(s,!1)}function at(s){var y=s.prototype;return!!(y&&y.isReactComponent)}function Fe(s,y,W){if(s==null)return"";if(typeof s=="function")return F(s,at(s));if(typeof s=="string")return te(s);switch(s){case b:return te("Suspense");case g:return te("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case l:return Oe(s.render);case w:return Fe(s.type,y,W);case M:{var C=s,ae=C._payload,ne=C._init;try{return Fe(ne(ae),y,W)}catch{}}}return""}var qe=Object.prototype.hasOwnProperty,bt={},st=k.ReactDebugCurrentFrame;function tt(s){if(s){var y=s._owner,W=Fe(s.type,s._source,y?y.type:null);st.setExtraStackFrame(W)}else st.setExtraStackFrame(null)}function ga(s,y,W,C,ae){{var ne=Function.call.bind(qe);for(var J in s)if(ne(s,J)){var G=void 0;try{if(typeof s[J]!="function"){var we=Error((C||"React class")+": "+W+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw we.name="Invariant Violation",we}G=s[J](y,J,C,W,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ce){G=ce}G&&!(G instanceof Error)&&(tt(ae),j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",C||"React class",W,J,typeof G),tt(null)),G instanceof Error&&!(G.message in bt)&&(bt[G.message]=!0,tt(ae),j("Failed %s type: %s",W,G.message),tt(null))}}}var pa=Array.isArray;function ut(s){return pa(s)}function ba(s){{var y=typeof Symbol=="function"&&Symbol.toStringTag,W=y&&s[Symbol.toStringTag]||s.constructor.name||"Object";return W}}function va(s){try{return Gt(s),!1}catch{return!0}}function Gt(s){return""+s}function vt(s){if(va(s))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ba(s)),Gt(s)}var yt=k.ReactCurrentOwner,Ua={key:!0,ref:!0,__self:!0,__source:!0},dt,Qt;function Mn(s){if(qe.call(s,"ref")){var y=Object.getOwnPropertyDescriptor(s,"ref").get;if(y&&y.isReactWarning)return!1}return s.ref!==void 0}function Za(s){if(qe.call(s,"key")){var y=Object.getOwnPropertyDescriptor(s,"key").get;if(y&&y.isReactWarning)return!1}return s.key!==void 0}function ya(s,y){typeof s.ref=="string"&&yt.current}function wa(s,y){{var W=function(){dt||(dt=!0,j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",y))};W.isReactWarning=!0,Object.defineProperty(s,"key",{get:W,configurable:!0})}}function $n(s,y){{var W=function(){Qt||(Qt=!0,j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",y))};W.isReactWarning=!0,Object.defineProperty(s,"ref",{get:W,configurable:!0})}}var Pa=function(s,y,W,C,ae,ne,J){var G={$$typeof:a,type:s,key:y,ref:W,props:J,_owner:ne};return G._store={},Object.defineProperty(G._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(G,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(G,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ae}),Object.freeze&&(Object.freeze(G.props),Object.freeze(G)),G};function Kt(s,y,W,C,ae){{var ne,J={},G=null,we=null;W!==void 0&&(vt(W),G=""+W),Za(y)&&(vt(y.key),G=""+y.key),Mn(y)&&(we=y.ref,ya(y,ae));for(ne in y)qe.call(y,ne)&&!Ua.hasOwnProperty(ne)&&(J[ne]=y[ne]);if(s&&s.defaultProps){var ce=s.defaultProps;for(ne in ce)J[ne]===void 0&&(J[ne]=ce[ne])}if(G||we){var me=typeof s=="function"?s.displayName||s.name||"Unknown":s;G&&wa(J,me),we&&$n(J,me)}return Pa(s,G,we,ae,C,yt.current,J)}}var ie=k.ReactCurrentOwner,be=k.ReactDebugCurrentFrame;function Te(s){if(s){var y=s._owner,W=Fe(s.type,s._source,y?y.type:null);be.setExtraStackFrame(W)}else be.setExtraStackFrame(null)}var wt;wt=!1;function Pt(s){return typeof s=="object"&&s!==null&&s.$$typeof===a}function zt(){{if(ie.current){var s=X(ie.current.type);if(s)return`
22
22
 
23
- Check the render method of \``+a+"`."}return""}}function sr(a){return""}var vt={};function or(a){{var g=yt();if(!g){var S=typeof a=="string"?a:a.displayName||a.name;S&&(g=`
23
+ Check the render method of \``+s+"`."}return""}}function ka(s){return""}var _t={};function Ma(s){{var y=zt();if(!y){var W=typeof s=="string"?s:s.displayName||s.name;W&&(y=`
24
24
 
25
- Check the top-level render call using <`+S+">.")}return g}}function xt(a,g){{if(!a._store||a._store.validated||a.key!=null)return;a._store.validated=!0;var S=or(g);if(vt[S])return;vt[S]=!0;var N="";a&&a._owner&&a._owner!==te.current&&(N=" It was passed a child from "+$(a._owner.type)+"."),Ee(a),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',S,N),Ee(null)}}function wt(a,g){{if(typeof a!="object")return;if(Qe(a))for(var S=0;S<a.length;S++){var N=a[S];ct(N)&&xt(N,g)}else if(ct(a))a._store&&(a._store.validated=!0);else if(a){var X=w(a);if(typeof X=="function"&&X!==a.entries)for(var J=X.call(a),z;!(z=J.next()).done;)ct(z.value)&&xt(z.value,g)}}}function ir(a){{var g=a.type;if(g==null||typeof g=="string")return;var S;if(typeof g=="function")S=g.propTypes;else if(typeof g=="object"&&(g.$$typeof===u||g.$$typeof===b))S=g.propTypes;else return;if(S){var N=$(g);Gt(S,a.props,"prop",N,a)}else if(g.PropTypes!==void 0&&!at){at=!0;var X=$(g);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",X||"Unknown")}typeof g.getDefaultProps=="function"&&!g.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ar(a){{for(var g=Object.keys(a.props),S=0;S<g.length;S++){var N=g[S];if(N!=="children"&&N!=="key"){Ee(a),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",N),Ee(null);break}}a.ref!==null&&(Ee(a),P("Invalid attribute `ref` supplied to `React.Fragment`."),Ee(null))}}var jr={};function Ir(a,g,S,N,X,J){{var z=ne(a);if(!z){var V="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(V+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ge=sr();ge?V+=ge:V+=yt();var ie;a===null?ie="null":Qe(a)?ie="array":a!==void 0&&a.$$typeof===t?(ie="<"+($(a.type)||"Unknown")+" />",V=" Did you accidentally export a JSX literal instead of a component?"):ie=typeof a,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ie,V)}var ce=Nt(a,g,S,X,J);if(ce==null)return ce;if(z){var ke=g.children;if(ke!==void 0)if(N)if(Qe(ke)){for(var Ue=0;Ue<ke.length;Ue++)wt(ke[Ue],a);Object.freeze&&Object.freeze(ke)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else wt(ke,a)}if(Ye.call(g,"key")){var We=$(a),xe=Object.keys(g).filter(function(ns){return ns!=="key"}),jt=xe.length>0?"{key: someKey, "+xe.join(": ..., ")+": ...}":"{key: someKey}";if(!jr[We+jt]){var rs=xe.length>0?"{"+xe.join(": ..., ")+": ...}":"{}";P(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+W+">.")}return y}}function Ot(s,y){{if(!s._store||s._store.validated||s.key!=null)return;s._store.validated=!0;var W=Ma(y);if(_t[W])return;_t[W]=!0;var C="";s&&s._owner&&s._owner!==ie.current&&(C=" It was passed a child from "+X(s._owner.type)+"."),Te(s),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',W,C),Te(null)}}function Vt(s,y){{if(typeof s!="object")return;if(ut(s))for(var W=0;W<s.length;W++){var C=s[W];Pt(C)&&Ot(C,y)}else if(Pt(s))s._store&&(s._store.validated=!0);else if(s){var ae=$(s);if(typeof ae=="function"&&ae!==s.entries)for(var ne=ae.call(s),J;!(J=ne.next()).done;)Pt(J.value)&&Ot(J.value,y)}}}function $a(s){{var y=s.type;if(y==null||typeof y=="string")return;var W;if(typeof y=="function")W=y.propTypes;else if(typeof y=="object"&&(y.$$typeof===l||y.$$typeof===w))W=y.propTypes;else return;if(W){var C=X(y);ga(W,s.props,"prop",C,s)}else if(y.PropTypes!==void 0&&!wt){wt=!0;var ae=X(y);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ae||"Unknown")}typeof y.getDefaultProps=="function"&&!y.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wa(s){{for(var y=Object.keys(s.props),W=0;W<y.length;W++){var C=y[W];if(C!=="children"&&C!=="key"){Te(s),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),Te(null);break}}s.ref!==null&&(Te(s),j("Invalid attribute `ref` supplied to `React.Fragment`."),Te(null))}}var en={};function tn(s,y,W,C,ae,ne){{var J=se(s);if(!J){var G="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(G+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var we=ka();we?G+=we:G+=zt();var ce;s===null?ce="null":ut(s)?ce="array":s!==void 0&&s.$$typeof===a?(ce="<"+(X(s.type)||"Unknown")+" />",G=" Did you accidentally export a JSX literal instead of a component?"):ce=typeof s,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ce,G)}var me=Kt(s,y,W,ae,ne);if(me==null)return me;if(J){var De=y.children;if(De!==void 0)if(C)if(ut(De)){for(var nt=0;nt<De.length;nt++)Vt(De[nt],s);Object.freeze&&Object.freeze(De)}else j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Vt(De,s)}if(qe.call(y,"key")){var Ze=X(s),$e=Object.keys(y).filter(function(Gr){return Gr!=="key"}),Jt=$e.length>0?"{key: someKey, "+$e.join(": ..., ")+": ...}":"{key: someKey}";if(!en[Ze+Jt]){var qr=$e.length>0?"{"+$e.join(": ..., ")+": ...}":"{}";j(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,jt,We,rs,We),jr[We+jt]=!0}}return a===n?ar(ce):ir(ce),ce}}function Xn(a,g,S){return Ir(a,g,S,!0)}function Jn(a,g,S){return Ir(a,g,S,!1)}var es=Jn,ts=Xn;lr.Fragment=n,lr.jsx=es,lr.jsxs=ts}()),lr}var is;function Oi(){return is||(is=1,process.env.NODE_ENV==="production"?Mr.exports=ki():Mr.exports=Ci()),Mr.exports}var y=Oi();const as=h.createContext(void 0),cs=()=>h.useContext(as),Di=({overlayKeepOnScreen:e=!0,useAnimations:t=!0,mobileMediaQuery:r,tabletMediaQuery:n,desktopMediaQuery:s,isValidScrollableElement:o,children:i})=>{const c={overlayKeepOnScreen:e,useAnimations:t,mobileMediaQuery:r,tabletMediaQuery:n,desktopMediaQuery:s,isValidScrollableElement:o};return y.jsx(as.Provider,{value:c,children:i})};var Ae=(e=>(e[e.Vertical=0]="Vertical",e[e.Horizontal=1]="Horizontal",e))(Ae||{}),ze=(e=>(e[e.Right=0]="Right",e[e.Left=1]="Left",e))(ze||{}),tn={exports:{}};/*!
30
+ <%s key={someKey} {...props} />`,Jt,Ze,qr,Ze),en[Ze+Jt]=!0}}return s===n?Wa(me):$a(me),me}}function Lr(s,y,W){return tn(s,y,W,!0)}function Xr(s,y,W){return tn(s,y,W,!1)}var Rr=Xr,Yr=Lr;Sa.Fragment=n,Sa.jsx=Rr,Sa.jsxs=Yr}()),Sa}var Jr;function Yd(){return Jr||(Jr=1,process.env.NODE_ENV==="production"?an.exports=Xd():an.exports=Rd()),an.exports}var P=Yd();const Br=p.createContext(void 0),Ur=()=>p.useContext(Br),qd=({overlayKeepOnScreen:e=!0,useAnimations:a=!0,mobileMediaQuery:t,tabletMediaQuery:n,desktopMediaQuery:r,isValidScrollableElement:i,children:o})=>{const c={overlayKeepOnScreen:e,useAnimations:a,mobileMediaQuery:t,tabletMediaQuery:n,desktopMediaQuery:r,isValidScrollableElement:i};return P.jsx(Br.Provider,{value:c,children:o})};var Le=(e=>(e[e.Vertical=0]="Vertical",e[e.Horizontal=1]="Horizontal",e))(Le||{}),rt=(e=>(e[e.Right=0]="Right",e[e.Left=1]="Left",e))(rt||{}),xn={exports:{}};/*!
31
31
  Copyright (c) 2018 Jed Watson.
32
32
  Licensed under the MIT License (MIT), see
33
33
  http://jedwatson.github.io/classnames
34
- */var us;function _i(){return us||(us=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o="",i=0;i<arguments.length;i++){var c=arguments[i];c&&(o=s(o,n(c)))}return o}function n(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return r.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var i="";for(var c in o)t.call(o,c)&&o[c]&&(i=s(i,c));return i}function s(o,i){return i?o?o+" "+i:o+i:o}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(tn)),tn.exports}var Ni=_i();const he=en(Ni);var It=(e=>(e[e.Focus=0]="Focus",e[e.FocusWithin=1]="FocusWithin",e))(It||{});const fr=(e=1)=>h.useMemo(()=>he("bsc:dark:ring-mono-light-2 bsc:dark:ring-offset-mono-dark-1",{"bsc:focus-within:ring-3 bsc:focus-within:ring-primary-2 bsc:focus-within:ring-offset-2 focus-within:bsc-ring-opacity-50":e===1,"bsc:focus:ring-3 bsc:focus:ring-primary-2 bsc:focus:ring-offset-2 focus:bsc-ring-opacity-50":e===0}),[e]),ji=(e,t)=>{const r=h.useRef(null),{buttonType:n,buttonStyle:s="flat",type:o="button",disabled:i=!1,form:c,fullWidth:u=!1,onClick:p,className:d,children:b}=e,x=()=>{p==null||p()},l=()=>{var w;(w=r.current)==null||w.click()};h.useImperativeHandle(t,()=>({click:l}));const f=fr(It.Focus),m=he("bc-button bsc:max-sm:p-4 bsc:md:p-2 bsc:dark:bg-mono-light-1 bsc:dark:hover:bg-mono-light-2 bsc:dark:text-mono-dark-1",f,{"bsc:w-full":u,"bc-disabled bsc:bg-gray-3 bsc:text-gray-2 bsc:pointer-events-none":i,"bsc:bg-primary-1 bsc:text-white bsc:hover:bg-primary-2 bsc:focus:ring-primary-1":n==="primary","bsc:bg-primary-2 bsc:text-white bsc:hover:bg-primary-3 bsc:focus:ring-primary-2":n==="secondary","bsc:bg-info bsc:text-white bsc:focus:ring-info":n==="info","bsc:bg-success bsc:text-white bsc:focus:ring-success":n==="success","bsc:bg-warning bsc:text-white bsc:focus:ring-warning":n==="warning","bsc:bg-error bsc:text-white bsc:focus:ring-error":n==="error","bsc:rounded-md":s==="curved","bsc:rounded-full bsc:px-4!":s==="round"},d);return y.jsx("button",{ref:r,type:o,onClick:x,disabled:i,form:c,className:m,children:b})},Je=h.forwardRef(ji);var rn={exports:{}},dr={};/**
34
+ */var Zr;function Gd(){return Zr||(Zr=1,function(e){(function(){var a={}.hasOwnProperty;function t(){for(var i="",o=0;o<arguments.length;o++){var c=arguments[o];c&&(i=r(i,n(c)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return t.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var o="";for(var c in i)a.call(i,c)&&i[c]&&(o=r(o,c));return o}function r(i,o){return o?i?i+" "+o:i+o:i}e.exports?(t.default=t,e.exports=t):window.classNames=t})()}(xn)),xn.exports}var Qd=Gd();const ve=Wn(Qd);var Bt=(e=>(e[e.Focus=0]="Focus",e[e.FocusWithin=1]="FocusWithin",e))(Bt||{});const Ta=(e=1)=>p.useMemo(()=>ve("bsc:dark:ring-mono-light-2 bsc:dark:ring-offset-mono-dark-1",{"bsc:focus-within:ring-3 bsc:focus-within:ring-primary-2 bsc:focus-within:ring-offset-2 focus-within:bsc-ring-opacity-50":e===1,"bsc:focus:ring-3 bsc:focus:ring-primary-2 bsc:focus:ring-offset-2 focus:bsc-ring-opacity-50":e===0}),[e]),Kd=(e,a)=>{const t=p.useRef(null),{buttonType:n,buttonStyle:r="curved",type:i="button",disabled:o=!1,form:c,fullWidth:l=!1,onClick:b,className:g,children:w}=e,M=()=>{var v;(v=t.current)==null||v.click()};p.useImperativeHandle(a,()=>({click:M}));const h=Ta(Bt.Focus),f=ve("bc-button bsc:max-sm:p-4 bsc:md:p-2 bsc:dark:bg-mono-light-1 bsc:dark:hover:bg-mono-light-2 bsc:dark:text-mono-dark-1",h,{"bsc:w-full":l,"bc-disabled bsc:bg-gray-3 bsc:text-gray-2 bsc:pointer-events-none":o,"bsc:bg-primary-1 bsc:text-white bsc:hover:bg-primary-2 bsc:focus:ring-primary-1":n==="primary","bsc:bg-primary-2 bsc:text-white bsc:hover:bg-primary-3 bsc:focus:ring-primary-2":n==="secondary","bsc:bg-info bsc:text-white bsc:focus:ring-info":n==="info","bsc:bg-success bsc:text-white bsc:focus:ring-success":n==="success","bsc:bg-warning bsc:text-white bsc:focus:ring-warning":n==="warning","bsc:bg-error bsc:text-white bsc:focus:ring-error":n==="error","bsc:rounded-md":r==="curved","bsc:rounded-full bsc:px-4!":r==="round"},g);return P.jsx("button",{ref:t,type:i,onClick:b,disabled:o,form:c,className:f,children:w})},lt=p.forwardRef(Kd);var jn={exports:{}},Da={};/**
35
35
  * @license React
36
36
  * react-jsx-runtime.production.min.js
37
37
  *
@@ -39,7 +39,7 @@ React keys must be passed directly to JSX without using spread:
39
39
  *
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
- */var ls;function Ii(){if(ls)return dr;ls=1;var e=h,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(c,u,p){var d,b={},x=null,l=null;p!==void 0&&(x=""+p),u.key!==void 0&&(x=""+u.key),u.ref!==void 0&&(l=u.ref);for(d in u)n.call(u,d)&&!o.hasOwnProperty(d)&&(b[d]=u[d]);if(c&&c.defaultProps)for(d in u=c.defaultProps,u)b[d]===void 0&&(b[d]=u[d]);return{$$typeof:t,type:c,key:x,ref:l,props:b,_owner:s.current}}return dr.Fragment=r,dr.jsx=i,dr.jsxs=i,dr}var Rr={};/**
42
+ */var ei;function Jd(){if(ei)return Da;ei=1;var e=p,a=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(c,l,b){var g,w={},M=null,h=null;b!==void 0&&(M=""+b),l.key!==void 0&&(M=""+l.key),l.ref!==void 0&&(h=l.ref);for(g in l)n.call(l,g)&&!i.hasOwnProperty(g)&&(w[g]=l[g]);if(c&&c.defaultProps)for(g in l=c.defaultProps,l)w[g]===void 0&&(w[g]=l[g]);return{$$typeof:a,type:c,key:M,ref:h,props:w,_owner:r.current}}return Da.Fragment=t,Da.jsx=o,Da.jsxs=o,Da}var nn={};/**
43
43
  * @license React
44
44
  * react-jsx-runtime.development.js
45
45
  *
@@ -47,20 +47,20 @@ React keys must be passed directly to JSX without using spread:
47
47
  *
48
48
  * This source code is licensed under the MIT license found in the
49
49
  * LICENSE file in the root directory of this source tree.
50
- */var fs;function Mi(){return fs||(fs=1,process.env.NODE_ENV!=="production"&&function(){var e=h,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),l=Symbol.for("react.offscreen"),f=Symbol.iterator,m="@@iterator";function w(a){if(a===null||typeof a!="object")return null;var g=f&&a[f]||a[m];return typeof g=="function"?g:null}var v=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(a){{for(var g=arguments.length,S=new Array(g>1?g-1:0),N=1;N<g;N++)S[N-1]=arguments[N];A("error",a,S)}}function A(a,g,S){{var N=v.ReactDebugCurrentFrame,X=N.getStackAddendum();X!==""&&(g+="%s",S=S.concat([X]));var J=S.map(function(z){return String(z)});J.unshift("Warning: "+g),Function.prototype.apply.call(console[a],console,J)}}var D=!1,E=!1,q=!1,R=!1,B=!1,H;H=Symbol.for("react.module.reference");function ne(a){return!!(typeof a=="string"||typeof a=="function"||a===n||a===o||B||a===s||a===p||a===d||R||a===l||D||E||q||typeof a=="object"&&a!==null&&(a.$$typeof===x||a.$$typeof===b||a.$$typeof===i||a.$$typeof===c||a.$$typeof===u||a.$$typeof===H||a.getModuleId!==void 0))}function oe(a,g,S){var N=a.displayName;if(N)return N;var X=g.displayName||g.name||"";return X!==""?S+"("+X+")":S}function W(a){return a.displayName||"Context"}function $(a){if(a==null)return null;if(typeof a.tag=="number"&&P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case n:return"Fragment";case r:return"Portal";case o:return"Profiler";case s:return"StrictMode";case p:return"Suspense";case d:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case c:var g=a;return W(g)+".Consumer";case i:var S=a;return W(S._context)+".Provider";case u:return oe(a,a.render,"ForwardRef");case b:var N=a.displayName||null;return N!==null?N:$(a.type)||"Memo";case x:{var X=a,J=X._payload,z=X._init;try{return $(z(J))}catch{return null}}}return null}var I=Object.assign,Z=0,F,Q,j,ue,k,M,_;function C(){}C.__reactDisabledLog=!0;function U(){{if(Z===0){F=console.log,Q=console.info,j=console.warn,ue=console.error,k=console.group,M=console.groupCollapsed,_=console.groupEnd;var a={configurable:!0,enumerable:!0,value:C,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}Z++}}function ee(){{if(Z--,Z===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},a,{value:F}),info:I({},a,{value:Q}),warn:I({},a,{value:j}),error:I({},a,{value:ue}),group:I({},a,{value:k}),groupCollapsed:I({},a,{value:M}),groupEnd:I({},a,{value:_})})}Z<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Y=v.ReactCurrentDispatcher,K;function G(a,g,S){{if(K===void 0)try{throw Error()}catch(X){var N=X.stack.trim().match(/\n( *(at )?)/);K=N&&N[1]||""}return`
51
- `+K+a}}var re=!1,O;{var ae=typeof WeakMap=="function"?WeakMap:Map;O=new ae}function L(a,g){if(!a||re)return"";{var S=O.get(a);if(S!==void 0)return S}var N;re=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var J;J=Y.current,Y.current=null,U();try{if(g){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(xe){N=xe}Reflect.construct(a,[],z)}else{try{z.call()}catch(xe){N=xe}a.call(z.prototype)}}else{try{throw Error()}catch(xe){N=xe}a()}}catch(xe){if(xe&&N&&typeof xe.stack=="string"){for(var V=xe.stack.split(`
52
- `),ge=N.stack.split(`
53
- `),ie=V.length-1,ce=ge.length-1;ie>=1&&ce>=0&&V[ie]!==ge[ce];)ce--;for(;ie>=1&&ce>=0;ie--,ce--)if(V[ie]!==ge[ce]){if(ie!==1||ce!==1)do if(ie--,ce--,ce<0||V[ie]!==ge[ce]){var ke=`
54
- `+V[ie].replace(" at new "," at ");return a.displayName&&ke.includes("<anonymous>")&&(ke=ke.replace("<anonymous>",a.displayName)),typeof a=="function"&&O.set(a,ke),ke}while(ie>=1&&ce>=0);break}}}finally{re=!1,Y.current=J,ee(),Error.prepareStackTrace=X}var Ue=a?a.displayName||a.name:"",We=Ue?G(Ue):"";return typeof a=="function"&&O.set(a,We),We}function Ne(a,g,S){return L(a,!1)}function Be(a){var g=a.prototype;return!!(g&&g.isReactComponent)}function Re(a,g,S){if(a==null)return"";if(typeof a=="function")return L(a,Be(a));if(typeof a=="string")return G(a);switch(a){case p:return G("Suspense");case d:return G("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case u:return Ne(a.render);case b:return Re(a.type,g,S);case x:{var N=a,X=N._payload,J=N._init;try{return Re(J(X),g,S)}catch{}}}return""}var Ye=Object.prototype.hasOwnProperty,st={},Ze=v.ReactDebugCurrentFrame;function Ve(a){if(a){var g=a._owner,S=Re(a.type,a._source,g?g.type:null);Ze.setExtraStackFrame(S)}else Ze.setExtraStackFrame(null)}function Gt(a,g,S,N,X){{var J=Function.call.bind(Ye);for(var z in a)if(J(a,z)){var V=void 0;try{if(typeof a[z]!="function"){var ge=Error((N||"React class")+": "+S+" type `"+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ge.name="Invariant Violation",ge}V=a[z](g,z,N,S,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ie){V=ie}V&&!(V instanceof Error)&&(Ve(X),P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",N||"React class",S,z,typeof V),Ve(null)),V instanceof Error&&!(V.message in st)&&(st[V.message]=!0,Ve(X),P("Failed %s type: %s",S,V.message),Ve(null))}}}var Xt=Array.isArray;function Qe(a){return Xt(a)}function Jt(a){{var g=typeof Symbol=="function"&&Symbol.toStringTag,S=g&&a[Symbol.toStringTag]||a.constructor.name||"Object";return S}}function er(a){try{return Dt(a),!1}catch{return!0}}function Dt(a){return""+a}function ot(a){if(er(a))return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Jt(a)),Dt(a)}var it=v.ReactCurrentOwner,_r={key:!0,ref:!0,__self:!0,__source:!0},Ge,_t;function Xr(a){if(Ye.call(a,"ref")){var g=Object.getOwnPropertyDescriptor(a,"ref").get;if(g&&g.isReactWarning)return!1}return a.ref!==void 0}function Nr(a){if(Ye.call(a,"key")){var g=Object.getOwnPropertyDescriptor(a,"key").get;if(g&&g.isReactWarning)return!1}return a.key!==void 0}function tr(a,g){typeof a.ref=="string"&&it.current}function rr(a,g){{var S=function(){Ge||(Ge=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",g))};S.isReactWarning=!0,Object.defineProperty(a,"key",{get:S,configurable:!0})}}function Jr(a,g){{var S=function(){_t||(_t=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",g))};S.isReactWarning=!0,Object.defineProperty(a,"ref",{get:S,configurable:!0})}}var nr=function(a,g,S,N,X,J,z){var V={$$typeof:t,type:a,key:g,ref:S,props:z,_owner:J};return V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(V,"_self",{configurable:!1,enumerable:!1,writable:!1,value:N}),Object.defineProperty(V,"_source",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V};function Nt(a,g,S,N,X){{var J,z={},V=null,ge=null;S!==void 0&&(ot(S),V=""+S),Nr(g)&&(ot(g.key),V=""+g.key),Xr(g)&&(ge=g.ref,tr(g));for(J in g)Ye.call(g,J)&&!_r.hasOwnProperty(J)&&(z[J]=g[J]);if(a&&a.defaultProps){var ie=a.defaultProps;for(J in ie)z[J]===void 0&&(z[J]=ie[J])}if(V||ge){var ce=typeof a=="function"?a.displayName||a.name||"Unknown":a;V&&rr(z,ce),ge&&Jr(z,ce)}return nr(a,V,ge,X,N,it.current,z)}}var te=v.ReactCurrentOwner,de=v.ReactDebugCurrentFrame;function Ee(a){if(a){var g=a._owner,S=Re(a.type,a._source,g?g.type:null);de.setExtraStackFrame(S)}else de.setExtraStackFrame(null)}var at;at=!1;function ct(a){return typeof a=="object"&&a!==null&&a.$$typeof===t}function yt(){{if(te.current){var a=$(te.current.type);if(a)return`
50
+ */var ti;function Bd(){return ti||(ti=1,process.env.NODE_ENV!=="production"&&function(){var e=p,a=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),f=Symbol.iterator,v="@@iterator";function $(s){if(s===null||typeof s!="object")return null;var y=f&&s[f]||s[v];return typeof y=="function"?y:null}var k=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(s){{for(var y=arguments.length,W=new Array(y>1?y-1:0),C=1;C<y;C++)W[C-1]=arguments[C];A("error",s,W)}}function A(s,y,W){{var C=k.ReactDebugCurrentFrame,ae=C.getStackAddendum();ae!==""&&(y+="%s",W=W.concat([ae]));var ne=W.map(function(J){return String(J)});ne.unshift("Warning: "+y),Function.prototype.apply.call(console[s],console,ne)}}var H=!1,S=!1,U=!1,V=!1,Q=!1,R;R=Symbol.for("react.module.reference");function se(s){return!!(typeof s=="string"||typeof s=="function"||s===n||s===i||Q||s===r||s===b||s===g||V||s===h||H||S||U||typeof s=="object"&&s!==null&&(s.$$typeof===M||s.$$typeof===w||s.$$typeof===o||s.$$typeof===c||s.$$typeof===l||s.$$typeof===R||s.getModuleId!==void 0))}function de(s,y,W){var C=s.displayName;if(C)return C;var ae=y.displayName||y.name||"";return ae!==""?W+"("+ae+")":W}function q(s){return s.displayName||"Context"}function X(s){if(s==null)return null;if(typeof s.tag=="number"&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case n:return"Fragment";case t:return"Portal";case i:return"Profiler";case r:return"StrictMode";case b:return"Suspense";case g:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case c:var y=s;return q(y)+".Consumer";case o:var W=s;return q(W._context)+".Provider";case l:return de(s,s.render,"ForwardRef");case w:var C=s.displayName||null;return C!==null?C:X(s.type)||"Memo";case M:{var ae=s,ne=ae._payload,J=ae._init;try{return X(J(ne))}catch{return null}}}return null}var _=Object.assign,Z=0,L,ee,z,fe,T,O,N;function D(){}D.__reactDisabledLog=!0;function K(){{if(Z===0){L=console.log,ee=console.info,z=console.warn,fe=console.error,T=console.group,O=console.groupCollapsed,N=console.groupEnd;var s={configurable:!0,enumerable:!0,value:D,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Z++}}function re(){{if(Z--,Z===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:_({},s,{value:L}),info:_({},s,{value:ee}),warn:_({},s,{value:z}),error:_({},s,{value:fe}),group:_({},s,{value:T}),groupCollapsed:_({},s,{value:O}),groupEnd:_({},s,{value:N})})}Z<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Y=k.ReactCurrentDispatcher,B;function te(s,y,W){{if(B===void 0)try{throw Error()}catch(ae){var C=ae.stack.trim().match(/\n( *(at )?)/);B=C&&C[1]||""}return`
51
+ `+B+s}}var oe=!1,E;{var le=typeof WeakMap=="function"?WeakMap:Map;E=new le}function F(s,y){if(!s||oe)return"";{var W=E.get(s);if(W!==void 0)return W}var C;oe=!0;var ae=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ne;ne=Y.current,Y.current=null,K();try{if(y){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch($e){C=$e}Reflect.construct(s,[],J)}else{try{J.call()}catch($e){C=$e}s.call(J.prototype)}}else{try{throw Error()}catch($e){C=$e}s()}}catch($e){if($e&&C&&typeof $e.stack=="string"){for(var G=$e.stack.split(`
52
+ `),we=C.stack.split(`
53
+ `),ce=G.length-1,me=we.length-1;ce>=1&&me>=0&&G[ce]!==we[me];)me--;for(;ce>=1&&me>=0;ce--,me--)if(G[ce]!==we[me]){if(ce!==1||me!==1)do if(ce--,me--,me<0||G[ce]!==we[me]){var De=`
54
+ `+G[ce].replace(" at new "," at ");return s.displayName&&De.includes("<anonymous>")&&(De=De.replace("<anonymous>",s.displayName)),typeof s=="function"&&E.set(s,De),De}while(ce>=1&&me>=0);break}}}finally{oe=!1,Y.current=ne,re(),Error.prepareStackTrace=ae}var nt=s?s.displayName||s.name:"",Ze=nt?te(nt):"";return typeof s=="function"&&E.set(s,Ze),Ze}function Oe(s,y,W){return F(s,!1)}function at(s){var y=s.prototype;return!!(y&&y.isReactComponent)}function Fe(s,y,W){if(s==null)return"";if(typeof s=="function")return F(s,at(s));if(typeof s=="string")return te(s);switch(s){case b:return te("Suspense");case g:return te("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case l:return Oe(s.render);case w:return Fe(s.type,y,W);case M:{var C=s,ae=C._payload,ne=C._init;try{return Fe(ne(ae),y,W)}catch{}}}return""}var qe=Object.prototype.hasOwnProperty,bt={},st=k.ReactDebugCurrentFrame;function tt(s){if(s){var y=s._owner,W=Fe(s.type,s._source,y?y.type:null);st.setExtraStackFrame(W)}else st.setExtraStackFrame(null)}function ga(s,y,W,C,ae){{var ne=Function.call.bind(qe);for(var J in s)if(ne(s,J)){var G=void 0;try{if(typeof s[J]!="function"){var we=Error((C||"React class")+": "+W+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw we.name="Invariant Violation",we}G=s[J](y,J,C,W,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ce){G=ce}G&&!(G instanceof Error)&&(tt(ae),j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",C||"React class",W,J,typeof G),tt(null)),G instanceof Error&&!(G.message in bt)&&(bt[G.message]=!0,tt(ae),j("Failed %s type: %s",W,G.message),tt(null))}}}var pa=Array.isArray;function ut(s){return pa(s)}function ba(s){{var y=typeof Symbol=="function"&&Symbol.toStringTag,W=y&&s[Symbol.toStringTag]||s.constructor.name||"Object";return W}}function va(s){try{return Gt(s),!1}catch{return!0}}function Gt(s){return""+s}function vt(s){if(va(s))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ba(s)),Gt(s)}var yt=k.ReactCurrentOwner,Ua={key:!0,ref:!0,__self:!0,__source:!0},dt,Qt;function Mn(s){if(qe.call(s,"ref")){var y=Object.getOwnPropertyDescriptor(s,"ref").get;if(y&&y.isReactWarning)return!1}return s.ref!==void 0}function Za(s){if(qe.call(s,"key")){var y=Object.getOwnPropertyDescriptor(s,"key").get;if(y&&y.isReactWarning)return!1}return s.key!==void 0}function ya(s,y){typeof s.ref=="string"&&yt.current}function wa(s,y){{var W=function(){dt||(dt=!0,j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",y))};W.isReactWarning=!0,Object.defineProperty(s,"key",{get:W,configurable:!0})}}function $n(s,y){{var W=function(){Qt||(Qt=!0,j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",y))};W.isReactWarning=!0,Object.defineProperty(s,"ref",{get:W,configurable:!0})}}var Pa=function(s,y,W,C,ae,ne,J){var G={$$typeof:a,type:s,key:y,ref:W,props:J,_owner:ne};return G._store={},Object.defineProperty(G._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(G,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(G,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ae}),Object.freeze&&(Object.freeze(G.props),Object.freeze(G)),G};function Kt(s,y,W,C,ae){{var ne,J={},G=null,we=null;W!==void 0&&(vt(W),G=""+W),Za(y)&&(vt(y.key),G=""+y.key),Mn(y)&&(we=y.ref,ya(y));for(ne in y)qe.call(y,ne)&&!Ua.hasOwnProperty(ne)&&(J[ne]=y[ne]);if(s&&s.defaultProps){var ce=s.defaultProps;for(ne in ce)J[ne]===void 0&&(J[ne]=ce[ne])}if(G||we){var me=typeof s=="function"?s.displayName||s.name||"Unknown":s;G&&wa(J,me),we&&$n(J,me)}return Pa(s,G,we,ae,C,yt.current,J)}}var ie=k.ReactCurrentOwner,be=k.ReactDebugCurrentFrame;function Te(s){if(s){var y=s._owner,W=Fe(s.type,s._source,y?y.type:null);be.setExtraStackFrame(W)}else be.setExtraStackFrame(null)}var wt;wt=!1;function Pt(s){return typeof s=="object"&&s!==null&&s.$$typeof===a}function zt(){{if(ie.current){var s=X(ie.current.type);if(s)return`
55
55
 
56
- Check the render method of \``+a+"`."}return""}}function sr(a){return""}var vt={};function or(a){{var g=yt();if(!g){var S=typeof a=="string"?a:a.displayName||a.name;S&&(g=`
56
+ Check the render method of \``+s+"`."}return""}}function ka(s){return""}var _t={};function Ma(s){{var y=zt();if(!y){var W=typeof s=="string"?s:s.displayName||s.name;W&&(y=`
57
57
 
58
- Check the top-level render call using <`+S+">.")}return g}}function xt(a,g){{if(!a._store||a._store.validated||a.key!=null)return;a._store.validated=!0;var S=or(g);if(vt[S])return;vt[S]=!0;var N="";a&&a._owner&&a._owner!==te.current&&(N=" It was passed a child from "+$(a._owner.type)+"."),Ee(a),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',S,N),Ee(null)}}function wt(a,g){{if(typeof a!="object")return;if(Qe(a))for(var S=0;S<a.length;S++){var N=a[S];ct(N)&&xt(N,g)}else if(ct(a))a._store&&(a._store.validated=!0);else if(a){var X=w(a);if(typeof X=="function"&&X!==a.entries)for(var J=X.call(a),z;!(z=J.next()).done;)ct(z.value)&&xt(z.value,g)}}}function ir(a){{var g=a.type;if(g==null||typeof g=="string")return;var S;if(typeof g=="function")S=g.propTypes;else if(typeof g=="object"&&(g.$$typeof===u||g.$$typeof===b))S=g.propTypes;else return;if(S){var N=$(g);Gt(S,a.props,"prop",N,a)}else if(g.PropTypes!==void 0&&!at){at=!0;var X=$(g);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",X||"Unknown")}typeof g.getDefaultProps=="function"&&!g.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ar(a){{for(var g=Object.keys(a.props),S=0;S<g.length;S++){var N=g[S];if(N!=="children"&&N!=="key"){Ee(a),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",N),Ee(null);break}}a.ref!==null&&(Ee(a),P("Invalid attribute `ref` supplied to `React.Fragment`."),Ee(null))}}var jr={};function Ir(a,g,S,N,X,J){{var z=ne(a);if(!z){var V="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(V+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ge=sr();ge?V+=ge:V+=yt();var ie;a===null?ie="null":Qe(a)?ie="array":a!==void 0&&a.$$typeof===t?(ie="<"+($(a.type)||"Unknown")+" />",V=" Did you accidentally export a JSX literal instead of a component?"):ie=typeof a,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ie,V)}var ce=Nt(a,g,S,X,J);if(ce==null)return ce;if(z){var ke=g.children;if(ke!==void 0)if(N)if(Qe(ke)){for(var Ue=0;Ue<ke.length;Ue++)wt(ke[Ue],a);Object.freeze&&Object.freeze(ke)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else wt(ke,a)}if(Ye.call(g,"key")){var We=$(a),xe=Object.keys(g).filter(function(ns){return ns!=="key"}),jt=xe.length>0?"{key: someKey, "+xe.join(": ..., ")+": ...}":"{key: someKey}";if(!jr[We+jt]){var rs=xe.length>0?"{"+xe.join(": ..., ")+": ...}":"{}";P(`A props object containing a "key" prop is being spread into JSX:
58
+ Check the top-level render call using <`+W+">.")}return y}}function Ot(s,y){{if(!s._store||s._store.validated||s.key!=null)return;s._store.validated=!0;var W=Ma(y);if(_t[W])return;_t[W]=!0;var C="";s&&s._owner&&s._owner!==ie.current&&(C=" It was passed a child from "+X(s._owner.type)+"."),Te(s),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',W,C),Te(null)}}function Vt(s,y){{if(typeof s!="object")return;if(ut(s))for(var W=0;W<s.length;W++){var C=s[W];Pt(C)&&Ot(C,y)}else if(Pt(s))s._store&&(s._store.validated=!0);else if(s){var ae=$(s);if(typeof ae=="function"&&ae!==s.entries)for(var ne=ae.call(s),J;!(J=ne.next()).done;)Pt(J.value)&&Ot(J.value,y)}}}function $a(s){{var y=s.type;if(y==null||typeof y=="string")return;var W;if(typeof y=="function")W=y.propTypes;else if(typeof y=="object"&&(y.$$typeof===l||y.$$typeof===w))W=y.propTypes;else return;if(W){var C=X(y);ga(W,s.props,"prop",C,s)}else if(y.PropTypes!==void 0&&!wt){wt=!0;var ae=X(y);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ae||"Unknown")}typeof y.getDefaultProps=="function"&&!y.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wa(s){{for(var y=Object.keys(s.props),W=0;W<y.length;W++){var C=y[W];if(C!=="children"&&C!=="key"){Te(s),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),Te(null);break}}s.ref!==null&&(Te(s),j("Invalid attribute `ref` supplied to `React.Fragment`."),Te(null))}}var en={};function tn(s,y,W,C,ae,ne){{var J=se(s);if(!J){var G="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(G+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var we=ka();we?G+=we:G+=zt();var ce;s===null?ce="null":ut(s)?ce="array":s!==void 0&&s.$$typeof===a?(ce="<"+(X(s.type)||"Unknown")+" />",G=" Did you accidentally export a JSX literal instead of a component?"):ce=typeof s,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ce,G)}var me=Kt(s,y,W,ae,ne);if(me==null)return me;if(J){var De=y.children;if(De!==void 0)if(C)if(ut(De)){for(var nt=0;nt<De.length;nt++)Vt(De[nt],s);Object.freeze&&Object.freeze(De)}else j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Vt(De,s)}if(qe.call(y,"key")){var Ze=X(s),$e=Object.keys(y).filter(function(Gr){return Gr!=="key"}),Jt=$e.length>0?"{key: someKey, "+$e.join(": ..., ")+": ...}":"{key: someKey}";if(!en[Ze+Jt]){var qr=$e.length>0?"{"+$e.join(": ..., ")+": ...}":"{}";j(`A props object containing a "key" prop is being spread into JSX:
59
59
  let props = %s;
60
60
  <%s {...props} />
61
61
  React keys must be passed directly to JSX without using spread:
62
62
  let props = %s;
63
- <%s key={someKey} {...props} />`,jt,We,rs,We),jr[We+jt]=!0}}return a===n?ar(ce):ir(ce),ce}}function Xn(a,g,S){return Ir(a,g,S,!0)}function Jn(a,g,S){return Ir(a,g,S,!1)}var es=Jn,ts=Xn;Rr.Fragment=n,Rr.jsx=es,Rr.jsxs=ts}()),Rr}var ds;function Ri(){return ds||(ds=1,process.env.NODE_ENV==="production"?rn.exports=Ii():rn.exports=Mi()),rn.exports}var Fe=Ri();function Li(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ai=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,s,o;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(s=n;s--!==0;)if(!e(t[s],r[s]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(r).length)return!1;for(s=n;s--!==0;)if(!Object.prototype.hasOwnProperty.call(r,o[s]))return!1;for(s=n;s--!==0;){var i=o[s];if(!e(t[i],r[i]))return!1}return!0}return t!==t&&r!==r};const Fi=Li(Ai),$i=()=>{throw new Error("useEvent should not be called before the component is mounted")},hr=e=>{const t=h.useRef($i);h.useInsertionEffect(()=>{t.current=e},[e]);const r=h.useRef(null);return r.current||(r.current=function(){var n;return(n=t.current)==null?void 0:n.apply(this,arguments)}),r.current},hs=e=>{const t=h.useRef();let r=!1;t.current!==void 0&&(r=!Fi(t.current,e));const n={changed:r,previousValue:t.current};return t.current=e,n},Hi=e=>typeof e=="function",Yi=e=>{const[t,r]=h.useState({value:e,initial:!0}),n=h.useRef(e);return[t,s=>{if(!Hi(s))r({value:s,initial:!1});else{const o=s(n.current);n.current=o,r({value:o,initial:!1})}}]},Wi=e=>{const[t,r]=Yi(e),n=h.useRef({value:e,initial:!0});return n.current!==t&&(n.current=t),[t,r,n]},ps=h.createContext(void 0),Lr=()=>h.useContext(ps),nn=({id:e,name:t,value:r,type:n,checked:s,readOnly:o,onChange:i})=>Fe.jsx("input",{id:e,name:t,value:r,type:n,checked:s,onChange:i,readOnly:o,disabled:o,className:"bsh:appearance-none! bsh:absolute! bsh:left-[-1000px]!"});function Vi(e){const t=Object.keys(e),r={};for(let n=0,s=t.length;n<s;n++){const o=t[n];if(o){const i=e[o],c=o.replace(/([A-Z])/g,u=>`-${u.toLowerCase()}`);typeof i=="boolean"?i&&(r[`data-${c}`]=!0):r[`data-${c}`]=e[o]}}return r}const pr=({wrapperElement:e,renderProps:t,elementProps:r,innerWrapperElement:n,className:s,children:o})=>{if(typeof o=="function")return n?Fe.jsxs(Fe.Fragment,{children:[n,o(t)]}):o(t);{const i=n?Fe.jsxs(Fe.Fragment,{children:[n,o]}):o;return h.createElement(e,Object.assign({},t?Vi(t):{},r,{className:s}),i)}};var Bi=Symbol.for("preact-signals");function sn(){if(Mt>1)Mt--;else{for(var e,t=!1;mr!==void 0;){var r=mr;for(mr=void 0,on++;r!==void 0;){var n=r.o;if(r.o=void 0,r.f&=-3,!(8&r.f)&&bs(r))try{r.c()}catch(s){t||(e=s,t=!0)}r=n}}if(on=0,Mt--,t)throw e}}var be=void 0;function ms(e){var t=be;be=void 0;try{return e()}finally{be=t}}var mr=void 0,Mt=0,on=0,Ar=0;function gs(e){if(be!==void 0){var t=e.n;if(t===void 0||t.t!==be)return t={i:0,S:e,p:be.s,n:void 0,t:be,e:void 0,x:void 0,r:t},be.s!==void 0&&(be.s.n=t),be.s=t,e.n=t,32&be.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=be.s,t.n=void 0,be.s.n=t,be.s=t),t}}function $e(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.W=t==null?void 0:t.watched,this.Z=t==null?void 0:t.unwatched}$e.prototype.brand=Bi,$e.prototype.h=function(){return!0},$e.prototype.S=function(e){var t=this,r=this.t;r!==e&&e.e===void 0&&(e.x=r,this.t=e,r!==void 0?r.e=e:ms(function(){var n;(n=t.W)==null||n.call(t)}))},$e.prototype.U=function(e){var t=this;if(this.t!==void 0){var r=e.e,n=e.x;r!==void 0&&(r.x=n,e.e=void 0),n!==void 0&&(n.e=r,e.x=void 0),e===this.t&&(this.t=n,n===void 0&&ms(function(){var s;(s=t.Z)==null||s.call(t)}))}},$e.prototype.subscribe=function(e){var t=this;return cn(function(){var r=t.value,n=be;be=void 0;try{e(r)}finally{be=n}})},$e.prototype.valueOf=function(){return this.value},$e.prototype.toString=function(){return this.value+""},$e.prototype.toJSON=function(){return this.value},$e.prototype.peek=function(){var e=be;be=void 0;try{return this.value}finally{be=e}},Object.defineProperty($e.prototype,"value",{get:function(){var e=gs(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(on>100)throw new Error("Cycle detected");this.v=e,this.i++,Ar++,Mt++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{sn()}}}});function Ui(e,t){return new $e(e,t)}function bs(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function ys(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function vs(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function Rt(e,t){$e.call(this,void 0),this.x=e,this.s=void 0,this.g=Ar-1,this.f=4,this.W=t==null?void 0:t.watched,this.Z=t==null?void 0:t.unwatched}Rt.prototype=new $e,Rt.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Ar))return!0;if(this.g=Ar,this.f|=1,this.i>0&&!bs(this))return this.f&=-2,!0;var e=be;try{ys(this),be=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return be=e,vs(this),this.f&=-2,!0},Rt.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}$e.prototype.S.call(this,e)},Rt.prototype.U=function(e){if(this.t!==void 0&&($e.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},Rt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},Object.defineProperty(Rt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=gs(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function xs(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Mt++;var r=be;be=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,an(e),n}finally{be=r,sn()}}}function an(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,xs(e)}function zi(e){if(be!==this)throw new Error("Out-of-order effect");vs(this),be=e,this.f&=-2,8&this.f&&an(this),sn()}function Lt(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Lt.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}},Lt.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,xs(this),ys(this),Mt++;var e=be;return be=this,zi.bind(this,e)},Lt.prototype.N=function(){2&this.f||(this.f|=2,this.o=mr,mr=this)},Lt.prototype.d=function(){this.f|=8,1&this.f||an(this)},Lt.prototype.dispose=function(){this.d()};function cn(e){var t=new Lt(e);try{t.c()}catch(n){throw t.d(),n}var r=t.d.bind(t);return r[Symbol.dispose]=r,r}var un={exports:{}},ln={};/**
63
+ <%s key={someKey} {...props} />`,Jt,Ze,qr,Ze),en[Ze+Jt]=!0}}return s===n?Wa(me):$a(me),me}}function Lr(s,y,W){return tn(s,y,W,!0)}function Xr(s,y,W){return tn(s,y,W,!1)}var Rr=Xr,Yr=Lr;nn.Fragment=n,nn.jsx=Rr,nn.jsxs=Yr}()),nn}var ai;function Ud(){return ai||(ai=1,process.env.NODE_ENV==="production"?jn.exports=Jd():jn.exports=Bd()),jn.exports}var Xe=Ud();function Zd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ec=function e(a,t){if(a===t)return!0;if(a&&t&&typeof a=="object"&&typeof t=="object"){if(a.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(a)){if(n=a.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!e(a[r],t[r]))return!1;return!0}if(a.constructor===RegExp)return a.source===t.source&&a.flags===t.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===t.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===t.toString();if(i=Object.keys(a),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){var o=i[r];if(!e(a[o],t[o]))return!1}return!0}return a!==a&&t!==t};const tc=Zd(ec),ac=()=>{throw new Error("useEvent should not be called before the component is mounted")},Ea=e=>{const a=p.useRef(ac);p.useInsertionEffect(()=>{a.current=e},[e]);const t=p.useRef(null);return t.current||(t.current=function(){var n;return(n=a.current)==null?void 0:n.apply(this,arguments)}),t.current},ni=e=>{const a=p.useRef();let t=!1;a.current!==void 0&&(t=!tc(a.current,e));const n={changed:t,previousValue:a.current};return a.current=e,n},nc=e=>typeof e=="function",rc=e=>{const[a,t]=p.useState({value:e,initial:!0}),n=p.useRef(e);return[a,r=>{if(!nc(r))t({value:r,initial:!1});else{const i=r(n.current);n.current=i,t({value:i,initial:!1})}}]},ic=e=>{const[a,t]=rc(e),n=p.useRef({value:e,initial:!0});return n.current!==a&&(n.current=a),[a,t,n]},ri=p.createContext(void 0),rn=()=>p.useContext(ri),Sn=({id:e,name:a,value:t,type:n,checked:r,readOnly:i,onChange:o})=>Xe.jsx("input",{id:e,name:a,value:t,type:n,checked:r,onChange:o,readOnly:i,disabled:i,className:"bsh:appearance-none! bsh:absolute! bsh:left-[-1000px]!"});function oc(e){const a=Object.keys(e),t={};for(let n=0,r=a.length;n<r;n++){const i=a[n];if(i){const o=e[i],c=i.replace(/([A-Z])/g,l=>`-${l.toLowerCase()}`);typeof o=="boolean"?o&&(t[`data-${c}`]=!0):t[`data-${c}`]=e[i]}}return t}const Na=({wrapperElement:e,renderProps:a,elementProps:t,innerWrapperElement:n,className:r,children:i})=>{if(typeof i=="function")return n?Xe.jsxs(Xe.Fragment,{children:[n,i(a)]}):i(a);{const o=n?Xe.jsxs(Xe.Fragment,{children:[n,i]}):i;return p.createElement(e,Object.assign({},a?oc(a):{},t,{className:r}),o)}};var sc=Symbol.for("preact-signals");function Tn(){if(Ut>1)Ut--;else{for(var e,a=!1;Ca!==void 0;){var t=Ca;for(Ca=void 0,Dn++;t!==void 0;){var n=t.o;if(t.o=void 0,t.f&=-3,!(8&t.f)&&si(t))try{t.c()}catch(r){a||(e=r,a=!0)}t=n}}if(Dn=0,Ut--,a)throw e}}var Pe=void 0;function ii(e){var a=Pe;Pe=void 0;try{return e()}finally{Pe=a}}var Ca=void 0,Ut=0,Dn=0,on=0;function oi(e){if(Pe!==void 0){var a=e.n;if(a===void 0||a.t!==Pe)return a={i:0,S:e,p:Pe.s,n:void 0,t:Pe,e:void 0,x:void 0,r:a},Pe.s!==void 0&&(Pe.s.n=a),Pe.s=a,e.n=a,32&Pe.f&&e.S(a),a;if(a.i===-1)return a.i=0,a.n!==void 0&&(a.n.p=a.p,a.p!==void 0&&(a.p.n=a.n),a.p=Pe.s,a.n=void 0,Pe.s.n=a,Pe.s=a),a}}function Re(e,a){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.W=a==null?void 0:a.watched,this.Z=a==null?void 0:a.unwatched}Re.prototype.brand=sc,Re.prototype.h=function(){return!0},Re.prototype.S=function(e){var a=this,t=this.t;t!==e&&e.e===void 0&&(e.x=t,this.t=e,t!==void 0?t.e=e:ii(function(){var n;(n=a.W)==null||n.call(a)}))},Re.prototype.U=function(e){var a=this;if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n,n===void 0&&ii(function(){var r;(r=a.Z)==null||r.call(a)}))}},Re.prototype.subscribe=function(e){var a=this;return Nn(function(){var t=a.value,n=Pe;Pe=void 0;try{e(t)}finally{Pe=n}})},Re.prototype.valueOf=function(){return this.value},Re.prototype.toString=function(){return this.value+""},Re.prototype.toJSON=function(){return this.value},Re.prototype.peek=function(){var e=Pe;Pe=void 0;try{return this.value}finally{Pe=e}},Object.defineProperty(Re.prototype,"value",{get:function(){var e=oi(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Dn>100)throw new Error("Cycle detected");this.v=e,this.i++,on++,Ut++;try{for(var a=this.t;a!==void 0;a=a.x)a.t.N()}finally{Tn()}}}});function uc(e,a){return new Re(e,a)}function si(e){for(var a=e.s;a!==void 0;a=a.n)if(a.S.i!==a.i||!a.S.h()||a.S.i!==a.i)return!0;return!1}function ui(e){for(var a=e.s;a!==void 0;a=a.n){var t=a.S.n;if(t!==void 0&&(a.r=t),a.S.n=a,a.i=-1,a.n===void 0){e.s=a;break}}}function di(e){for(var a=e.s,t=void 0;a!==void 0;){var n=a.p;a.i===-1?(a.S.U(a),n!==void 0&&(n.n=a.n),a.n!==void 0&&(a.n.p=n)):t=a,a.S.n=a.r,a.r!==void 0&&(a.r=void 0),a=n}e.s=t}function Zt(e,a){Re.call(this,void 0),this.x=e,this.s=void 0,this.g=on-1,this.f=4,this.W=a==null?void 0:a.watched,this.Z=a==null?void 0:a.unwatched}Zt.prototype=new Re,Zt.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===on))return!0;if(this.g=on,this.f|=1,this.i>0&&!si(this))return this.f&=-2,!0;var e=Pe;try{ui(this),Pe=this;var a=this.x();(16&this.f||this.v!==a||this.i===0)&&(this.v=a,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}return Pe=e,di(this),this.f&=-2,!0},Zt.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var a=this.s;a!==void 0;a=a.n)a.S.S(a)}Re.prototype.S.call(this,e)},Zt.prototype.U=function(e){if(this.t!==void 0&&(Re.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var a=this.s;a!==void 0;a=a.n)a.S.U(a)}},Zt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},Object.defineProperty(Zt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=oi(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function ci(e){var a=e.u;if(e.u=void 0,typeof a=="function"){Ut++;var t=Pe;Pe=void 0;try{a()}catch(n){throw e.f&=-2,e.f|=8,En(e),n}finally{Pe=t,Tn()}}}function En(e){for(var a=e.s;a!==void 0;a=a.n)a.S.U(a);e.x=void 0,e.s=void 0,ci(e)}function dc(e){if(Pe!==this)throw new Error("Out-of-order effect");di(this),Pe=e,this.f&=-2,8&this.f&&En(this),Tn()}function ea(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}ea.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var a=this.x();typeof a=="function"&&(this.u=a)}finally{e()}},ea.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,ci(this),ui(this),Ut++;var e=Pe;return Pe=this,dc.bind(this,e)},ea.prototype.N=function(){2&this.f||(this.f|=2,this.o=Ca,Ca=this)},ea.prototype.d=function(){this.f|=8,1&this.f||En(this)},ea.prototype.dispose=function(){this.d()};function Nn(e){var a=new ea(e);try{a.c()}catch(n){throw a.d(),n}var t=a.d.bind(a);return t[Symbol.dispose]=t,t}var Cn={exports:{}},zn={};/**
64
64
  * @license React
65
65
  * use-sync-external-store-shim.production.js
66
66
  *
@@ -68,7 +68,7 @@ React keys must be passed directly to JSX without using spread:
68
68
  *
69
69
  * This source code is licensed under the MIT license found in the
70
70
  * LICENSE file in the root directory of this source tree.
71
- */var ws;function qi(){if(ws)return ln;ws=1;var e=h;function t(b,x){return b===x&&(b!==0||1/b===1/x)||b!==b&&x!==x}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,s=e.useEffect,o=e.useLayoutEffect,i=e.useDebugValue;function c(b,x){var l=x(),f=n({inst:{value:l,getSnapshot:x}}),m=f[0].inst,w=f[1];return o(function(){m.value=l,m.getSnapshot=x,u(m)&&w({inst:m})},[b,l,x]),s(function(){return u(m)&&w({inst:m}),b(function(){u(m)&&w({inst:m})})},[b]),i(l),l}function u(b){var x=b.getSnapshot;b=b.value;try{var l=x();return!r(b,l)}catch{return!0}}function p(b,x){return x()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:c;return ln.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,ln}var Ss={};/**
71
+ */var li;function cc(){if(li)return zn;li=1;var e=p;function a(w,M){return w===M&&(w!==0||1/w===1/M)||w!==w&&M!==M}var t=typeof Object.is=="function"?Object.is:a,n=e.useState,r=e.useEffect,i=e.useLayoutEffect,o=e.useDebugValue;function c(w,M){var h=M(),f=n({inst:{value:h,getSnapshot:M}}),v=f[0].inst,$=f[1];return i(function(){v.value=h,v.getSnapshot=M,l(v)&&$({inst:v})},[w,h,M]),r(function(){return l(v)&&$({inst:v}),w(function(){l(v)&&$({inst:v})})},[w]),o(h),h}function l(w){var M=w.getSnapshot;w=w.value;try{var h=M();return!t(w,h)}catch{return!0}}function b(w,M){return M()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?b:c;return zn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:g,zn}var mi={};/**
72
72
  * @license React
73
73
  * use-sync-external-store-shim.development.js
74
74
  *
@@ -76,27 +76,27 @@ React keys must be passed directly to JSX without using spread:
76
76
  *
77
77
  * This source code is licensed under the MIT license found in the
78
78
  * LICENSE file in the root directory of this source tree.
79
- */var Ts;function Ki(){return Ts||(Ts=1,process.env.NODE_ENV!=="production"&&function(){function e(l,f){return l===f&&(l!==0||1/l===1/f)||l!==l&&f!==f}function t(l,f){d||s.startTransition===void 0||(d=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var m=f();if(!b){var w=f();o(m,w)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),b=!0)}w=i({inst:{value:m,getSnapshot:f}});var v=w[0].inst,P=w[1];return u(function(){v.value=m,v.getSnapshot=f,r(v)&&P({inst:v})},[l,m,f]),c(function(){return r(v)&&P({inst:v}),l(function(){r(v)&&P({inst:v})})},[l]),p(m),m}function r(l){var f=l.getSnapshot;l=l.value;try{var m=f();return!o(l,m)}catch{return!0}}function n(l,f){return f()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=h,o=typeof Object.is=="function"?Object.is:e,i=s.useState,c=s.useEffect,u=s.useLayoutEffect,p=s.useDebugValue,d=!1,b=!1,x=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Ss.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:x,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Ss}var Ps;function Zi(){return Ps||(Ps=1,process.env.NODE_ENV==="production"?un.exports=qi():un.exports=Ki()),un.exports}var Qi=Zi(),Gi=h.version.split(".").map(Number)[0],Es=[],Xi=Symbol.for(Gi>=19?"react.transitional.element":"react.element"),St,ks=Symbol.dispose||Symbol.for("Symbol.dispose");function fn(e,t){var r=t.effect.S();return St=t,Ji.bind(t,e,r)}function Ji(e,t){t(),St=e}var Cs,dn,Os=function(){},ea=((Cs={o:0,effect:{s:void 0,c:function(){},S:function(){return Os},d:function(){}},subscribe:function(){return Os},getSnapshot:function(){return 0},S:function(){},f:function(){}})[ks]=function(){},Cs),ta=Promise.prototype.then.bind(Promise.resolve());function ra(){dn||(dn=ta(na))}function na(){var e;dn=void 0,(e=St)==null||e.f()}function sa(e){ra();var t=h.useRef();t.current==null&&(typeof window>"u"?t.current=ea:t.current=function(n){var s,o,i,c,u=0,p=cn(function(){o=this});return o.c=function(){u=u+1|0,c&&c()},(s={o:n,effect:o,subscribe:function(d){return c=d,function(){u=u+1|0,c=void 0,p()}},getSnapshot:function(){return u},S:function(){if(St!=null){var d=St.o,b=this.o;d==0&&b==0||d==0&&b==1?(St.f(),i=fn(void 0,this)):d==1&&b==0||d==2&&b==0||(i=fn(St,this))}else i=fn(void 0,this)},f:function(){var d=i;i=void 0,d==null||d()}})[ks]=function(){this.f()},s}(e));var r=t.current;return Qi.useSyncExternalStore(r.subscribe,r.getSnapshot,r.getSnapshot),r.S(),r}Object.defineProperties($e.prototype,{$$typeof:{configurable:!0,value:Xi},type:{configurable:!0,value:function(e){var t=e.data,r=sa(1);try{return t.value}finally{r.f()}}},props:{configurable:!0,get:function(){return{data:this}}},ref:{configurable:!0,value:null}});function ht(e,t){return h.useMemo(function(){return Ui(e,t)},Es)}function At(e){var t=h.useRef(e);t.current=e,h.useEffect(function(){return cn(function(){return t.current()})},Es)}const Ds=h.createContext(void 0),_s=()=>h.useContext(Ds),oa=(e,t)=>{const{name:r,value:n,checked:s=!1,partial:o=!1,readOnly:i,onChange:c,children:u,className:p}=e,[d,b]=h.useState(r),[x,l]=h.useState(i),f=h.useRef(),m=h.useRef(),w=h.useRef(),v=h.useRef(),P=h.useRef(),A=h.useRef(),D=_s(),E=Lr(),q=h.useId(),R=h.useMemo(()=>(E==null?void 0:E.sharedId)||e.id||q,[E==null?void 0:E.sharedId,e.id,q]),[B,H,ne]=Wi({checked:!1,partial:!1}),oe=hs(s),W=hs(o);h.useEffect(()=>{if(B.initial)H({checked:o?!1:s,partial:o});else{const Q=oe.changed?s:B.value.checked,j=W.changed?o:B.value.partial;H({checked:j?!1:Q,partial:j})}},[s,o]),h.useEffect(()=>{D&&(f.current=D.nameSignal,m.current=D.valueSignal,w.current=D.readOnlySignal,v.current=D.useComparator,P.current=D.compare,A.current=D.onCheckboxChange)},[D]),At(()=>{var Q,j,ue;if(m.current)if((Q=v.current)!=null&&Q.value&&P.current){const k=P.current,M=((j=m.current.value)==null?void 0:j.some(_=>k(n,_)))??!1;H(_=>({..._,checked:M}))}else{const k=((ue=m.current.value)==null?void 0:ue.some(M=>n===M))??!1;H(M=>({...M,checked:k}))}}),At(()=>{f.current&&b(f.current.value)}),At(()=>{var Q;l(((Q=w.current)==null?void 0:Q.value)??!1)});const $=hr(Q=>{var j;const ue=((j=ne.current)==null?void 0:j.value.partial)===!0?!0:Q.target.checked;H({checked:ue,partial:!1}),A.current?A.current({originalEvent:Q,name:d,value:n,checked:ue}):c==null||c({originalEvent:Q,name:d,value:n,checked:ue})}),I=Q=>{var j;const ue={checked:Q?!1:((j=ne.current)==null?void 0:j.value.checked)??!1,partial:Q};H(ue)},Z=Q=>{H({checked:Q,partial:!1})};h.useImperativeHandle(t,()=>({setPartiallyChecked:I,setChecked:Z}));const F=d&&Fe.jsx(nn,{id:R,name:d,type:"checkbox",checked:B.value.checked,readOnly:x,onChange:$});return pr({wrapperElement:"label",renderProps:{...B.value,readOnly:x},elementProps:{htmlFor:R},className:p,innerWrapperElement:F,children:u})},Ns=h.memo(h.forwardRef(oa)),ia=(e,t)=>e&&t&&typeof e=="object"&&typeof t=="object"&&"value"in e&&"value"in t?e.value===t.value:e===t,js=(e=ia)=>hr((t,r)=>{if(typeof e=="string"){const n=e;return(t==null?void 0:t[n])===(r==null?void 0:r[n])}return e(t,r)}),Is=({props:e,children:t})=>Fe.jsx(Ds.Provider,{value:e,children:t}),aa=({name:e,value:t,comparator:r,readOnly:n=!1,onChange:s,className:o,children:i})=>{const c=ht(),u=ht(),p=ht(),d=ht(),b=js(r),x=hr(f=>{if(f){const{checked:m}=f,w=f.value;if(u.value)if(r)if(m)u.value.findIndex(v=>b(w,v))===-1&&u.value.push(w);else{const v=u.value.filter(P=>!b(w,P));u.value=[...v]}else if(m)u.value.indexOf(w)===-1&&u.value.push(w);else{const v=u.value.filter(P=>P!==w);u.value=[...v]}else m&&(u.value=[w])}s==null||s({originalEvent:f==null?void 0:f.originalEvent,name:e,value:u.value})}),l=h.useMemo(()=>({nameSignal:c,valueSignal:u,readOnlySignal:p,useComparator:d,compare:b,onCheckboxChange:x}),[]);return h.useEffect(()=>{c.value=e},[e]),h.useEffect(()=>{u.value=t},[t]),h.useEffect(()=>{p.value=n},[n]),h.useEffect(()=>{d.value=r!==void 0},[r]),Fe.jsx("div",{className:o,children:Fe.jsx(Is,{props:l,children:i})})},ca=h.memo(aa),Ft=({className:e,children:t})=>{const r=h.useId(),n=h.useMemo(()=>({sharedId:r}),[r]),s=Fe.jsx(ps.Provider,{value:n,children:t});return pr({wrapperElement:"div",className:e,children:s})},ua=({htmlFor:e,className:t,children:r})=>{const n=Lr(),s=h.useMemo(()=>(n==null?void 0:n.sharedId)||e,[n==null?void 0:n.sharedId,e]);return pr({wrapperElement:"label",elementProps:{htmlFor:s},className:t,children:r})};var Ms={exports:{}};/*!
79
+ */var hi;function lc(){return hi||(hi=1,process.env.NODE_ENV!=="production"&&function(){function e(h,f){return h===f&&(h!==0||1/h===1/f)||h!==h&&f!==f}function a(h,f){g||r.startTransition===void 0||(g=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var v=f();if(!w){var $=f();i(v,$)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),w=!0)}$=o({inst:{value:v,getSnapshot:f}});var k=$[0].inst,j=$[1];return l(function(){k.value=v,k.getSnapshot=f,t(k)&&j({inst:k})},[h,v,f]),c(function(){return t(k)&&j({inst:k}),h(function(){t(k)&&j({inst:k})})},[h]),b(v),v}function t(h){var f=h.getSnapshot;h=h.value;try{var v=f();return!i(h,v)}catch{return!0}}function n(h,f){return f()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=p,i=typeof Object.is=="function"?Object.is:e,o=r.useState,c=r.useEffect,l=r.useLayoutEffect,b=r.useDebugValue,g=!1,w=!1,M=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:a;mi.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:M,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),mi}var fi;function mc(){return fi||(fi=1,process.env.NODE_ENV==="production"?Cn.exports=cc():Cn.exports=lc()),Cn.exports}var hc=mc(),fc=p.version.split(".").map(Number)[0],gi=[],gc=Symbol.for(fc>=19?"react.transitional.element":"react.element"),Ht,pi=Symbol.dispose||Symbol.for("Symbol.dispose");function _n(e,a){var t=a.effect.S();return Ht=a,pc.bind(a,e,t)}function pc(e,a){a(),Ht=e}var bi,On,vi=function(){},bc=((bi={o:0,effect:{s:void 0,c:function(){},S:function(){return vi},d:function(){}},subscribe:function(){return vi},getSnapshot:function(){return 0},S:function(){},f:function(){}})[pi]=function(){},bi),vc=Promise.prototype.then.bind(Promise.resolve());function yc(){On||(On=vc(wc))}function wc(){var e;On=void 0,(e=Ht)==null||e.f()}function Pc(e){yc();var a=p.useRef();a.current==null&&(typeof window>"u"?a.current=bc:a.current=function(n){var r,i,o,c,l=0,b=Nn(function(){i=this});return i.c=function(){l=l+1|0,c&&c()},(r={o:n,effect:i,subscribe:function(g){return c=g,function(){l=l+1|0,c=void 0,b()}},getSnapshot:function(){return l},S:function(){if(Ht!=null){var g=Ht.o,w=this.o;g==0&&w==0||g==0&&w==1?(Ht.f(),o=_n(void 0,this)):g==1&&w==0||g==2&&w==0||(o=_n(Ht,this))}else o=_n(void 0,this)},f:function(){var g=o;o=void 0,g==null||g()}})[pi]=function(){this.f()},r}(e));var t=a.current;return hc.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getSnapshot),t.S(),t}Object.defineProperties(Re.prototype,{$$typeof:{configurable:!0,value:gc},type:{configurable:!0,value:function(e){var a=e.data,t=Pc(1);try{return a.value}finally{t.f()}}},props:{configurable:!0,get:function(){return{data:this}}},ref:{configurable:!0,value:null}});function xt(e,a){return p.useMemo(function(){return uc(e,a)},gi)}function ta(e){var a=p.useRef(e);a.current=e,p.useEffect(function(){return Nn(function(){return a.current()})},gi)}const yi=p.createContext(void 0),wi=()=>p.useContext(yi),kc=(e,a)=>{const{name:t,value:n,checked:r=!1,partial:i=!1,readOnly:o=!1,onChange:c,children:l,className:b}=e,[g,w]=p.useState(t),[M,h]=p.useState(o),f=p.useRef(),v=p.useRef(),$=p.useRef(),k=p.useRef(),j=p.useRef(),A=p.useRef(),H=wi(),S=rn(),U=p.useId(),V=p.useMemo(()=>(S==null?void 0:S.sharedId)||e.id||U,[S==null?void 0:S.sharedId,e.id,U]),[Q,R,se]=ic({checked:!1,partial:!1}),de=ni(r),q=ni(i);p.useEffect(()=>{if(Q.initial)R({checked:i?!1:r,partial:i});else{const ee=de.changed?r:Q.value.checked,z=q.changed?i:Q.value.partial;R({checked:z?!1:ee,partial:z})}},[r,i]),p.useEffect(()=>{h(o)},[o]),p.useEffect(()=>{H&&(f.current=H.nameSignal,v.current=H.valueSignal,$.current=H.readOnlySignal,k.current=H.useComparator,j.current=H.compare,A.current=H.onCheckboxChange)},[H]),ta(()=>{var ee,z,fe;if(v.current)if((ee=k.current)!=null&&ee.value&&j.current){const T=j.current,O=((z=v.current.value)==null?void 0:z.some(N=>T(n,N)))??!1;R(N=>({...N,checked:O}))}else{const T=((fe=v.current.value)==null?void 0:fe.some(O=>n===O))??!1;R(O=>({...O,checked:T}))}}),ta(()=>{f.current&&w(f.current.value)}),ta(()=>{$.current&&h($.current.value??!1)});const X=Ea(ee=>{var z;const fe=((z=se.current)==null?void 0:z.value.partial)===!0?!0:ee.target.checked;R({checked:fe,partial:!1}),A.current?A.current({originalEvent:ee,name:g,value:n,checked:fe}):c==null||c({originalEvent:ee,name:g,value:n,checked:fe})}),_=ee=>{var z;const fe={checked:ee?!1:((z=se.current)==null?void 0:z.value.checked)??!1,partial:ee};R(fe)},Z=ee=>{R({checked:ee,partial:!1})};p.useImperativeHandle(a,()=>({setPartiallyChecked:_,setChecked:Z}));const L=g&&Xe.jsx(Sn,{id:V,name:g,type:"checkbox",checked:Q.value.checked,readOnly:M,onChange:X});return Na({wrapperElement:"label",renderProps:{...Q.value,readOnly:M},elementProps:{htmlFor:V},className:b,innerWrapperElement:L,children:l})},Pi=p.memo(p.forwardRef(kc)),Mc=(e,a)=>e&&a&&typeof e=="object"&&typeof a=="object"&&"value"in e&&"value"in a?e.value===a.value:e===a,ki=(e=Mc)=>Ea((a,t)=>{if(typeof e=="string"){const n=e;return(a==null?void 0:a[n])===(t==null?void 0:t[n])}return e(a,t)}),Mi=({props:e,children:a})=>Xe.jsx(yi.Provider,{value:e,children:a}),$c=({name:e,value:a,comparator:t,readOnly:n=!1,onChange:r,className:i,children:o})=>{const c=xt(),l=xt(),b=xt(),g=xt(),w=ki(t),M=Ea(f=>{if(f){const{checked:v}=f,$=f.value;if(l.value)if(t)if(v)l.value.findIndex(k=>w($,k))===-1&&l.value.push($);else{const k=l.value.filter(j=>!w($,j));l.value=[...k]}else if(v)l.value.indexOf($)===-1&&l.value.push($);else{const k=l.value.filter(j=>j!==$);l.value=[...k]}else v&&(l.value=[$])}r==null||r({originalEvent:f==null?void 0:f.originalEvent,name:e,value:l.value})}),h=p.useMemo(()=>({nameSignal:c,valueSignal:l,readOnlySignal:b,useComparator:g,compare:w,onCheckboxChange:M}),[]);return p.useEffect(()=>{c.value=e},[e]),p.useEffect(()=>{l.value=a},[a]),p.useEffect(()=>{b.value=n},[n]),p.useEffect(()=>{g.value=t!==void 0},[t]),Xe.jsx("div",{className:i,children:Xe.jsx(Mi,{props:h,children:o})})},$i=p.memo($c),aa=({className:e,children:a})=>{const t=p.useId(),n=p.useMemo(()=>({sharedId:t}),[t]),r=Xe.jsx(ri.Provider,{value:n,children:a});return Na({wrapperElement:"div",className:e,children:r})},Wc=({htmlFor:e,className:a,children:t})=>{const n=rn(),r=p.useMemo(()=>(n==null?void 0:n.sharedId)||e,[n==null?void 0:n.sharedId,e]);return Na({wrapperElement:"label",elementProps:{htmlFor:r},className:a,children:t})};var Wi={exports:{}};/*!
80
80
  Copyright (c) 2018 Jed Watson.
81
81
  Licensed under the MIT License (MIT), see
82
82
  http://jedwatson.github.io/classnames
83
- */var Rs;function la(){return Rs||(Rs=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o="",i=0;i<arguments.length;i++){var c=arguments[i];c&&(o=s(o,n(c)))}return o}function n(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return r.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var i="";for(var c in o)t.call(o,c)&&o[c]&&(i=s(i,c));return i}function s(o,i){return i?o?o+" "+i:o+i:o}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Ms)),Ms.exports}la();const fa=({intersectionObserver:e,resizeObserver:t,page:r,height:n,children:s})=>{const o=h.useRef();h.useEffect(()=>()=>{o.current&&(e==null||e.unobserve(o.current),t==null||t.unobserve(o.current))},[]),h.useEffect(()=>(o.current&&(e==null||e.observe(o.current)),()=>{o.current&&e&&e.unobserve(o.current)}),[e]);const i=u=>{o.current&&(e==null||e.unobserve(o.current),t==null||t.unobserve(o.current)),e==null||e.observe(u),t==null||t.observe(u),o.current=u},c=n?{height:`${n}px`}:{};return Fe.jsx("div",{"data-page":r,"data-name":"page",style:c,ref:u=>u&&i(u),children:s})};h.memo(fa);const da=({intersectionObserver:e,page:t})=>{const r=h.useRef();h.useEffect(()=>()=>{r.current&&(e==null||e.unobserve(r.current))},[]);const n=s=>{r.current&&(e==null||e.unobserve(r.current)),e==null||e.observe(s),r.current=s};return Fe.jsx("div",{"data-page":t,"data-name":"marker",ref:s=>s&&n(s)})};h.memo(da);const ha=({name:e,value:t,comparator:r,readOnly:n=!1,onChange:s,className:o,children:i})=>{const c=ht(),u=ht(),p=ht(),d=ht(),b=js(r),x=h.useMemo(()=>({nameSignal:c,valueSignal:u,readOnlySignal:p,useComparator:d,compare:b}),[]);h.useEffect(()=>{c.value=e},[e]),h.useEffect(()=>{u.value=t},[t]),h.useEffect(()=>{p.value=n},[n]),h.useEffect(()=>{d.value=r!==void 0},[r]);const l=hr(f=>{s==null||s({originalEvent:f,name:e,value:u.value})});return Fe.jsx("div",{className:o,onChange:l,children:Fe.jsx(Is,{props:x,children:i})})},Ls=h.memo(ha),pa=({value:e,className:t,children:r})=>{const[n,s]=h.useState(),[o,i]=h.useState(!1),[c,u]=h.useState(!1),p=h.useRef(),d=h.useRef(),b=h.useRef(),x=h.useRef(),l=h.useRef(),f=_s(),m=Lr(),w=h.useId(),v=h.useMemo(()=>(m==null?void 0:m.sharedId)||w,[m==null?void 0:m.sharedId,w]);h.useEffect(()=>{f&&(p.current=f.nameSignal,d.current=f.valueSignal,b.current=f.readOnlySignal,x.current=f.useComparator,l.current=f.compare)},[f]),At(()=>{var A;x&&d.current&&l.current?i(l.current(e,d.current.value)):i(e===((A=d.current)==null?void 0:A.value))}),At(()=>{var A;s((A=p.current)==null?void 0:A.value)}),At(()=>{var A;u(((A=b.current)==null?void 0:A.value)??!1)});const P=hr(A=>{A.target.checked&&d.current&&(d.current.value=e)});return pr({wrapperElement:"label",renderProps:{checked:o,readOnly:c},elementProps:{htmlFor:v},className:t,innerWrapperElement:n?Fe.jsx(nn,{id:v,name:n,type:"radio",value:e,checked:o,readOnly:c,onChange:P}):null,children:r})},As=h.memo(pa),ma=(e,t)=>{const{id:r,name:n,value:s,toggled:o=!1,readOnly:i,onChange:c,children:u,className:p}=e,[d,b]=h.useState(o),x=Lr(),l=h.useId(),f=h.useMemo(()=>(x==null?void 0:x.sharedId)||r||l,[x==null?void 0:x.sharedId,r,l]);h.useEffect(()=>{b(o)},[o]);const m=v=>{b(v.target.checked),c==null||c({originalEvent:v,name:n,value:s,checked:v.target.checked})},w=v=>{b(v)};return h.useImperativeHandle(t,()=>({setToggled:w})),pr({wrapperElement:"label",renderProps:{toggled:d,readOnly:i},elementProps:{htmlFor:f},className:p,innerWrapperElement:Fe.jsx(nn,{id:f,name:n,type:"checkbox",checked:d,readOnly:i,onChange:m}),children:u})},ga=h.memo(h.forwardRef(ma)),hn=e=>{const[t,r]=h.useState(!0),n=cs();return h.useEffect(()=>{n&&n.useAnimations!==void 0?r(n.useAnimations):e!==void 0&&r(e)},[n,e]),t},ut=({label:e,htmlFor:t,readOnly:r=!1,className:n})=>{const s=he("bc-label",{"bsc:text-black bsc:dark:text-mono-light-1":!r,"bc-read-only bsc:text-gray-4 bsc:dark:text-mono-light-3 bsc:pointer-events-none":r},n);return y.jsx(ua,{htmlFor:t,className:s,children:e})},ba=(e,t)=>{const{name:r,label:n,value:s,readOnly:o=!1,checked:i=!1,partial:c=!1,labelLocation:u=ze.Right,className:p,useAnimation:d,onChange:b}=e,x=hn(d),l=he("bc-checkbox-wrapper bsc:flex bsc:items-center bsc:group/wrapper bsc:*:cursor-pointer",{"bc-read-only bsc:pointer-events-none bsc:text-gray-2 bsc:dark:text-mono-light-3":o,"bc-checked":i},p),f=he("bc-checkbox-label",{"bsc:ml-2":u===ze.Right,"bsc:mr-2":u===ze.Left}),m=fr(It.FocusWithin),w=he("bc-checkbox-outer bsc:group/checkbox bsc:rounded bsc:*:block bsc:*:size-[21px]","bsc:inset-shadow-[0_0_0_1px] bsc:inset-shadow-gray-2 bsc:dark:inset-shadow-[0_0_0_1px] bsc:dark:inset-shadow-mono-light-2","bsc:group-hover/wrapper:not-data-checked:inset-shadow-[0_0_0_2px] bsc:group-hover/wrapper:not-data-checked:inset-shadow-gray-4","bsc:dark:group-hover/wrapper:not-data-checked:inset-shadow-[0_0_0_2px] bsc:[transition:box-shadow_0.3s]",m),v=he("bc-checkbox-svg bsc:rounded bsc:stroke-mono-light-1 bsc:stroke-2 bsc:[stroke-linecap:round]","bsc:[stroke-linejoin:round] bsc:dark:stroke-mono-dark-3 bsc:[transform:scale(0)]",{"bc-read-only bsc:group-data-checked/checkbox:bg-primary-4 bsc:group-data-checked/checkbox:fill-primary-4 bsc:group-data-partial/checkbox:bg-primary-4 bsc:group-data-partial/checkbox:fill-primary-4 bsc:dark:group-data-checked/checkbox:bg-mono-light-3 bsc:dark:group-data-checked/checkbox:fill-mono-light-3 bsc:dark:group-data-partial/checkbox:bg-mono-light-3 bsc:dark:group-data-partial/checkbox:fill-mono-light-3":o,"bsc:group-data-checked/checkbox:bg-primary-1 bsc:group-data-checked/checkbox:fill-primary-1 bsc:group-data-partial/checkbox:bg-primary-1 bsc:group-data-partial/checkbox:fill-primary-1 bsc:dark:group-data-checked/checkbox:bg-mono-light-1 bsc:dark:group-data-checked/checkbox:fill-mono-light-1 bsc:dark:group-data-partial/checkbox:bg-mono-light-1 bsc:dark:group-data-partial/checkbox:fill-mono-light-1":!o,"bsc:group-data-checked/checkbox:animate-bounce bsc:group-data-partial/checkbox:animate-bounce":!o&&x,"bsc:group-data-checked/checkbox:[transform:scale(1)] bsc:group-data-partial/checkbox:[transform:scale(1)]":o||!x});return y.jsxs(Ft,{className:l,children:[n&&u===ze.Left&&y.jsx(ut,{label:n,readOnly:o,className:f}),y.jsx(Ns,{ref:t,name:r,value:s,checked:i,partial:c,readOnly:o,className:w,onChange:b,children:y.jsxs("svg",{viewBox:"0 0 21 21",className:v,children:[y.jsx("polyline",{className:"bsc:[visibility:hidden] bsc:group-data-checked/checkbox:visible",points:"5 10.75 8.5 14.25 16 6"}),y.jsx("polyline",{className:"bsc:[visibility:hidden] bsc:group-data-partial/checkbox:visible",points:"6 10.5 16 10.5"})]})}),n&&u===ze.Right&&y.jsx(ut,{label:n,readOnly:o,className:f})]})},Fs=h.memo(h.forwardRef(ba)),Fr=e=>e==null?!1:typeof e=="object",$s=e=>e instanceof Date,Hs=e=>typeof e=="function",Ys=e=>{const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t==="bigint"},pn=e=>{if(!Fr(e))return e;const t={},r=Object.keys(e);for(let n=0,s=r.length;n<s;n++){const o=r[n],i=e[o];Ys(i)||Hs(i)?t[o]=i:$s(i)?t[o]=new Date(i.getTime()):Array.isArray(i)?t[o]=mn(i):Fr(i)&&(t[o]=pn(i))}return t},mn=e=>{let t=e.length;const r=new Array(t);for(;t--!==0;){const n=e[t];Ys(n)||Hs(n)?r[t]=n:$s(n)?r[t]=new Date(n.getTime()):Fr(n)&&!Array.isArray(n)?r[t]=pn(n):Array.isArray(n)?r[t]=mn(n):r[t]=n}return r},ya=e=>Fr(e)?Array.isArray(e)?mn(e):pn(e):e;function va(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xa=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,s,o;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(s=n;s--!==0;)if(!e(t[s],r[s]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(r).length)return!1;for(s=n;s--!==0;)if(!Object.prototype.hasOwnProperty.call(r,o[s]))return!1;for(s=n;s--!==0;){var i=o[s];if(!e(t[i],r[i]))return!1}return!0}return t!==t&&r!==r};const wa=va(xa);function Sa(e,t){for(let r=e.length;r--!==0;)if(!wa(e[r],t[r]))return!0;return!1}const gn=(e,t)=>{const r=h.useRef([]),n=r.current.length>0&&r.current[0]&&Sa(r.current[0],t);return(r.current.length===0||n)&&(r.current=[ya(t),e()]),r.current[1]},Ta=e=>{const[t,r]=h.useState(e),n=h.useRef(e);return n.current!==t&&(n.current=t),[t,r,n]},Pa=({name:e,label:t,value:r,data:n,textField:s,valueField:o,readOnly:i=!1,orientation:c=Ae.Vertical,className:u,onChange:p})=>{const[d,b]=h.useState([]),x=gn(()=>n,[n]);h.useEffect(()=>{b(r??[])},[r]);const l=P=>{const{value:A,checked:D}=P;let E;D?E=[...d,A]:E=d.filter(q=>q!==A),b(E),p==null||p({name:e,value:E})},f=(P,A)=>y.jsx(Fs,{name:e,label:P[s],value:P[o],checked:d.some(D=>D===P[o]),readOnly:i,onChange:D=>D&&l(D),className:"bsc:mr-3"},`${e}_checkbox_${A}`),m=he("bsc:flex bsc:flex-col bsc:gap-1",u),w=he("bsc:flex bsc:gap-1",{"bsc:flex-col":c===Ae.Vertical}),v=P=>y.jsx("div",{className:w,children:P.map(f)});return y.jsxs("div",{className:m,children:[t&&y.jsx(ut,{label:t,readOnly:i}),x&&v(x)]})},Ea=h.memo(Pa);var Ws=typeof global=="object"&&global&&global.Object===Object&&global,ka=typeof self=="object"&&self&&self.Object===Object&&self,Ke=Ws||ka||Function("return this")(),$t=Ke.Symbol,Vs=Object.prototype,Ca=Vs.hasOwnProperty,Oa=Vs.toString,gr=$t?$t.toStringTag:void 0;function Da(e){var t=Ca.call(e,gr),r=e[gr];try{e[gr]=void 0;var n=!0}catch{}var s=Oa.call(e);return n&&(t?e[gr]=r:delete e[gr]),s}var _a=Object.prototype,Na=_a.toString;function ja(e){return Na.call(e)}var Ia="[object Null]",Ma="[object Undefined]",Bs=$t?$t.toStringTag:void 0;function Ht(e){return e==null?e===void 0?Ma:Ia:Bs&&Bs in Object(e)?Da(e):ja(e)}function Yt(e){return e!=null&&typeof e=="object"}var Ra="[object Symbol]";function La(e){return typeof e=="symbol"||Yt(e)&&Ht(e)==Ra}var bn=Array.isArray,Aa=/\s/;function Fa(e){for(var t=e.length;t--&&Aa.test(e.charAt(t)););return t}var $a=/^\s+/;function Ha(e){return e&&e.slice(0,Fa(e)+1).replace($a,"")}function pt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Us=NaN,Ya=/^[-+]0x[0-9a-f]+$/i,Wa=/^0b[01]+$/i,Va=/^0o[0-7]+$/i,Ba=parseInt;function zs(e){if(typeof e=="number")return e;if(La(e))return Us;if(pt(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=pt(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ha(e);var r=Wa.test(e);return r||Va.test(e)?Ba(e.slice(2),r?2:8):Ya.test(e)?Us:+e}var Ua="[object AsyncFunction]",za="[object Function]",qa="[object GeneratorFunction]",Ka="[object Proxy]";function qs(e){if(!pt(e))return!1;var t=Ht(e);return t==za||t==qa||t==Ua||t==Ka}var yn=Ke["__core-js_shared__"],Ks=function(){var e=/[^.]+$/.exec(yn&&yn.keys&&yn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Za(e){return!!Ks&&Ks in e}var Qa=Function.prototype,Ga=Qa.toString;function Tt(e){if(e!=null){try{return Ga.call(e)}catch{}try{return e+""}catch{}}return""}var Xa=/[\\^$.*+?()[\]{}|]/g,Ja=/^\[object .+?Constructor\]$/,ec=Function.prototype,tc=Object.prototype,rc=ec.toString,nc=tc.hasOwnProperty,sc=RegExp("^"+rc.call(nc).replace(Xa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function oc(e){if(!pt(e)||Za(e))return!1;var t=qs(e)?sc:Ja;return t.test(Tt(e))}function ic(e,t){return e==null?void 0:e[t]}function Pt(e,t){var r=ic(e,t);return oc(r)?r:void 0}var vn=Pt(Ke,"WeakMap"),Zs=Object.create,ac=function(){function e(){}return function(t){if(!pt(t))return{};if(Zs)return Zs(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),Qs=function(){try{var e=Pt(Object,"defineProperty");return e({},"",{}),e}catch{}}();function cc(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var uc=9007199254740991,lc=/^(?:0|[1-9]\d*)$/;function fc(e,t){var r=typeof e;return t=t??uc,!!t&&(r=="number"||r!="symbol"&&lc.test(e))&&e>-1&&e%1==0&&e<t}function dc(e,t,r){t=="__proto__"&&Qs?Qs(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Gs(e,t){return e===t||e!==e&&t!==t}var hc=Object.prototype,pc=hc.hasOwnProperty;function mc(e,t,r){var n=e[t];(!(pc.call(e,t)&&Gs(n,r))||r===void 0&&!(t in e))&&dc(e,t,r)}var gc=9007199254740991;function Xs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=gc}function bc(e){return e!=null&&Xs(e.length)&&!qs(e)}var yc=Object.prototype;function Js(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||yc;return e===r}function vc(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var xc="[object Arguments]";function eo(e){return Yt(e)&&Ht(e)==xc}var to=Object.prototype,wc=to.hasOwnProperty,Sc=to.propertyIsEnumerable,Tc=eo(function(){return arguments}())?eo:function(e){return Yt(e)&&wc.call(e,"callee")&&!Sc.call(e,"callee")};function Pc(){return!1}var ro=typeof se=="object"&&se&&!se.nodeType&&se,no=ro&&typeof module=="object"&&module&&!module.nodeType&&module,Ec=no&&no.exports===ro,so=Ec?Ke.Buffer:void 0,kc=so?so.isBuffer:void 0,oo=kc||Pc,Cc="[object Arguments]",Oc="[object Array]",Dc="[object Boolean]",_c="[object Date]",Nc="[object Error]",jc="[object Function]",Ic="[object Map]",Mc="[object Number]",Rc="[object Object]",Lc="[object RegExp]",Ac="[object Set]",Fc="[object String]",$c="[object WeakMap]",Hc="[object ArrayBuffer]",Yc="[object DataView]",Wc="[object Float32Array]",Vc="[object Float64Array]",Bc="[object Int8Array]",Uc="[object Int16Array]",zc="[object Int32Array]",qc="[object Uint8Array]",Kc="[object Uint8ClampedArray]",Zc="[object Uint16Array]",Qc="[object Uint32Array]",Pe={};Pe[Wc]=Pe[Vc]=Pe[Bc]=Pe[Uc]=Pe[zc]=Pe[qc]=Pe[Kc]=Pe[Zc]=Pe[Qc]=!0,Pe[Cc]=Pe[Oc]=Pe[Hc]=Pe[Dc]=Pe[Yc]=Pe[_c]=Pe[Nc]=Pe[jc]=Pe[Ic]=Pe[Mc]=Pe[Rc]=Pe[Lc]=Pe[Ac]=Pe[Fc]=Pe[$c]=!1;function Gc(e){return Yt(e)&&Xs(e.length)&&!!Pe[Ht(e)]}function xn(e){return function(t){return e(t)}}var io=typeof se=="object"&&se&&!se.nodeType&&se,br=io&&typeof module=="object"&&module&&!module.nodeType&&module,Xc=br&&br.exports===io,wn=Xc&&Ws.process,Wt=function(){try{var e=br&&br.require&&br.require("util").types;return e||wn&&wn.binding&&wn.binding("util")}catch{}}(),ao=Wt&&Wt.isTypedArray,Jc=ao?xn(ao):Gc,eu=Object.prototype,tu=eu.hasOwnProperty;function ru(e,t){var r=bn(e),n=!r&&Tc(e),s=!r&&!n&&oo(e),o=!r&&!n&&!s&&Jc(e),i=r||n||s||o,c=i?vc(e.length,String):[],u=c.length;for(var p in e)tu.call(e,p)&&!(i&&(p=="length"||s&&(p=="offset"||p=="parent")||o&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||fc(p,u)))&&c.push(p);return c}function co(e,t){return function(r){return e(t(r))}}var nu=co(Object.keys,Object),su=Object.prototype,ou=su.hasOwnProperty;function iu(e){if(!Js(e))return nu(e);var t=[];for(var r in Object(e))ou.call(e,r)&&r!="constructor"&&t.push(r);return t}function au(e){return bc(e)?ru(e):iu(e)}var yr=Pt(Object,"create");function cu(){this.__data__=yr?yr(null):{},this.size=0}function uu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var lu="__lodash_hash_undefined__",fu=Object.prototype,du=fu.hasOwnProperty;function hu(e){var t=this.__data__;if(yr){var r=t[e];return r===lu?void 0:r}return du.call(t,e)?t[e]:void 0}var pu=Object.prototype,mu=pu.hasOwnProperty;function gu(e){var t=this.__data__;return yr?t[e]!==void 0:mu.call(t,e)}var bu="__lodash_hash_undefined__";function yu(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=yr&&t===void 0?bu:t,this}function Et(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Et.prototype.clear=cu,Et.prototype.delete=uu,Et.prototype.get=hu,Et.prototype.has=gu,Et.prototype.set=yu;function vu(){this.__data__=[],this.size=0}function $r(e,t){for(var r=e.length;r--;)if(Gs(e[r][0],t))return r;return-1}var xu=Array.prototype,wu=xu.splice;function Su(e){var t=this.__data__,r=$r(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():wu.call(t,r,1),--this.size,!0}function Tu(e){var t=this.__data__,r=$r(t,e);return r<0?void 0:t[r][1]}function Pu(e){return $r(this.__data__,e)>-1}function Eu(e,t){var r=this.__data__,n=$r(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function lt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}lt.prototype.clear=vu,lt.prototype.delete=Su,lt.prototype.get=Tu,lt.prototype.has=Pu,lt.prototype.set=Eu;var vr=Pt(Ke,"Map");function ku(){this.size=0,this.__data__={hash:new Et,map:new(vr||lt),string:new Et}}function Cu(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Hr(e,t){var r=e.__data__;return Cu(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Ou(e){var t=Hr(this,e).delete(e);return this.size-=t?1:0,t}function Du(e){return Hr(this,e).get(e)}function _u(e){return Hr(this,e).has(e)}function Nu(e,t){var r=Hr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Vt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Vt.prototype.clear=ku,Vt.prototype.delete=Ou,Vt.prototype.get=Du,Vt.prototype.has=_u,Vt.prototype.set=Nu;function ju(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}var Iu=co(Object.getPrototypeOf,Object);function Mu(){this.__data__=new lt,this.size=0}function Ru(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Lu(e){return this.__data__.get(e)}function Au(e){return this.__data__.has(e)}var Fu=200;function $u(e,t){var r=this.__data__;if(r instanceof lt){var n=r.__data__;if(!vr||n.length<Fu-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Vt(n)}return r.set(e,t),this.size=r.size,this}function Bt(e){var t=this.__data__=new lt(e);this.size=t.size}Bt.prototype.clear=Mu,Bt.prototype.delete=Ru,Bt.prototype.get=Lu,Bt.prototype.has=Au,Bt.prototype.set=$u;var uo=typeof se=="object"&&se&&!se.nodeType&&se,lo=uo&&typeof module=="object"&&module&&!module.nodeType&&module,Hu=lo&&lo.exports===uo,fo=Hu?Ke.Buffer:void 0;fo&&fo.allocUnsafe;function Yu(e,t){return e.slice()}function Wu(e,t){for(var r=-1,n=e==null?0:e.length,s=0,o=[];++r<n;){var i=e[r];t(i,r,e)&&(o[s++]=i)}return o}function Vu(){return[]}var Bu=Object.prototype,Uu=Bu.propertyIsEnumerable,ho=Object.getOwnPropertySymbols,zu=ho?function(e){return e==null?[]:(e=Object(e),Wu(ho(e),function(t){return Uu.call(e,t)}))}:Vu;function qu(e,t,r){var n=t(e);return bn(e)?n:ju(n,r(e))}function Ku(e){return qu(e,au,zu)}var Sn=Pt(Ke,"DataView"),Tn=Pt(Ke,"Promise"),Pn=Pt(Ke,"Set"),po="[object Map]",Zu="[object Object]",mo="[object Promise]",go="[object Set]",bo="[object WeakMap]",yo="[object DataView]",Qu=Tt(Sn),Gu=Tt(vr),Xu=Tt(Tn),Ju=Tt(Pn),el=Tt(vn),ft=Ht;(Sn&&ft(new Sn(new ArrayBuffer(1)))!=yo||vr&&ft(new vr)!=po||Tn&&ft(Tn.resolve())!=mo||Pn&&ft(new Pn)!=go||vn&&ft(new vn)!=bo)&&(ft=function(e){var t=Ht(e),r=t==Zu?e.constructor:void 0,n=r?Tt(r):"";if(n)switch(n){case Qu:return yo;case Gu:return po;case Xu:return mo;case Ju:return go;case el:return bo}return t});var tl=Object.prototype,rl=tl.hasOwnProperty;function nl(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&rl.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var vo=Ke.Uint8Array;function En(e){var t=new e.constructor(e.byteLength);return new vo(t).set(new vo(e)),t}function sl(e,t){var r=En(e.buffer);return new e.constructor(r,e.byteOffset,e.byteLength)}var ol=/\w*$/;function il(e){var t=new e.constructor(e.source,ol.exec(e));return t.lastIndex=e.lastIndex,t}var xo=$t?$t.prototype:void 0,wo=xo?xo.valueOf:void 0;function al(e){return wo?Object(wo.call(e)):{}}function cl(e,t){var r=En(e.buffer);return new e.constructor(r,e.byteOffset,e.length)}var ul="[object Boolean]",ll="[object Date]",fl="[object Map]",dl="[object Number]",hl="[object RegExp]",pl="[object Set]",ml="[object String]",gl="[object Symbol]",bl="[object ArrayBuffer]",yl="[object DataView]",vl="[object Float32Array]",xl="[object Float64Array]",wl="[object Int8Array]",Sl="[object Int16Array]",Tl="[object Int32Array]",Pl="[object Uint8Array]",El="[object Uint8ClampedArray]",kl="[object Uint16Array]",Cl="[object Uint32Array]";function Ol(e,t,r){var n=e.constructor;switch(t){case bl:return En(e);case ul:case ll:return new n(+e);case yl:return sl(e);case vl:case xl:case wl:case Sl:case Tl:case Pl:case El:case kl:case Cl:return cl(e);case fl:return new n;case dl:case ml:return new n(e);case hl:return il(e);case pl:return new n;case gl:return al(e)}}function Dl(e){return typeof e.constructor=="function"&&!Js(e)?ac(Iu(e)):{}}var _l="[object Map]";function Nl(e){return Yt(e)&&ft(e)==_l}var So=Wt&&Wt.isMap,jl=So?xn(So):Nl,Il="[object Set]";function Ml(e){return Yt(e)&&ft(e)==Il}var To=Wt&&Wt.isSet,Rl=To?xn(To):Ml,Po="[object Arguments]",Ll="[object Array]",Al="[object Boolean]",Fl="[object Date]",$l="[object Error]",Eo="[object Function]",Hl="[object GeneratorFunction]",Yl="[object Map]",Wl="[object Number]",ko="[object Object]",Vl="[object RegExp]",Bl="[object Set]",Ul="[object String]",zl="[object Symbol]",ql="[object WeakMap]",Kl="[object ArrayBuffer]",Zl="[object DataView]",Ql="[object Float32Array]",Gl="[object Float64Array]",Xl="[object Int8Array]",Jl="[object Int16Array]",ef="[object Int32Array]",tf="[object Uint8Array]",rf="[object Uint8ClampedArray]",nf="[object Uint16Array]",sf="[object Uint32Array]",Se={};Se[Po]=Se[Ll]=Se[Kl]=Se[Zl]=Se[Al]=Se[Fl]=Se[Ql]=Se[Gl]=Se[Xl]=Se[Jl]=Se[ef]=Se[Yl]=Se[Wl]=Se[ko]=Se[Vl]=Se[Bl]=Se[Ul]=Se[zl]=Se[tf]=Se[rf]=Se[nf]=Se[sf]=!0,Se[$l]=Se[Eo]=Se[ql]=!1;function Yr(e,t,r,n,s,o){var i;if(i!==void 0)return i;if(!pt(e))return e;var c=bn(e);if(c)i=nl(e);else{var u=ft(e),p=u==Eo||u==Hl;if(oo(e))return Yu(e);if(u==ko||u==Po||p&&!s)i=p?{}:Dl(e);else{if(!Se[u])return s?e:{};i=Ol(e,u)}}o||(o=new Bt);var d=o.get(e);if(d)return d;o.set(e,i),Rl(e)?e.forEach(function(l){i.add(Yr(l,t,r,l,e,o))}):jl(e)&&e.forEach(function(l,f){i.set(f,Yr(l,t,r,f,e,o))});var b=Ku,x=c?void 0:b(e);return cc(x||e,function(l,f){x&&(f=l,l=e[f]),mc(i,f,Yr(l,t,r,f,e,o))}),i}var of=1,af=4;function cf(e){return Yr(e,of|af)}var kn=function(){return Ke.Date.now()},uf="Expected a function",lf=Math.max,ff=Math.min;function xr(e,t,r){var n,s,o,i,c,u,p=0,d=!1,b=!1,x=!0;if(typeof e!="function")throw new TypeError(uf);t=zs(t)||0,pt(r)&&(d=!!r.leading,b="maxWait"in r,o=b?lf(zs(r.maxWait)||0,t):o,x="trailing"in r?!!r.trailing:x);function l(q){var R=n,B=s;return n=s=void 0,p=q,i=e.apply(B,R),i}function f(q){return p=q,c=setTimeout(v,t),d?l(q):i}function m(q){var R=q-u,B=q-p,H=t-R;return b?ff(H,o-B):H}function w(q){var R=q-u,B=q-p;return u===void 0||R>=t||R<0||b&&B>=o}function v(){var q=kn();if(w(q))return P(q);c=setTimeout(v,m(q))}function P(q){return c=void 0,x&&n?l(q):(n=s=void 0,i)}function A(){c!==void 0&&clearTimeout(c),p=0,n=u=s=c=void 0}function D(){return c===void 0?i:P(kn())}function E(){var q=kn(),R=w(q);if(n=arguments,s=this,u=q,R){if(c===void 0)return f(u);if(b)return clearTimeout(c),c=setTimeout(v,t),l(u)}return c===void 0&&(c=setTimeout(v,t)),i}return E.cancel=A,E.flush=D,E}var df="Expected a function";function hf(e,t,r){var n=!0,s=!0;if(typeof e!="function")throw new TypeError(df);return pt(r)&&(n="leading"in r?!0:n,s="trailing"in r?!!r.trailing:s),xr(e,t,{leading:n,maxWait:t,trailing:s})}const pf=(e,t)=>{const{value:r,readOnly:n=!1,debounceTime:s=800,fillContainer:o=!0,leftElement:i,rightElement:c,className:u,leftElementClassName:p,rightElementClassName:d,isSingleLine:b=!0,allowSingleLineScroll:x=!1,inputMode:l,placeholder:f,onFocus:m,onBlur:w,onInput:v,onInnerTextChange:P,onInnerHTMLChange:A,onElementCreate:D,onLeftElementClick:E,onRightElementClick:q}=e,R=h.useRef("bsc:grow bsc:focus:outline-hidden"),B=h.useRef("bsc:text-gray-4"),H=h.useRef(),ne=h.useCallback(C=>{const U=C.target,ee=U.innerHTML;U.className=`${R.current}`,f&&ee===f&&(U.innerHTML=""),m==null||m(C)},[f,m]),oe=h.useCallback(C=>{const U=C.target.innerHTML;if(f&&U===""){const ee=C.target;ee.innerHTML=f,ee.className=`${R.current} ${B.current}`}w==null||w(C)},[f,w]),W=h.useCallback(C=>{var U,ee;(U=H.current)==null||U.removeEventListener("focus",ne),(ee=H.current)==null||ee.removeEventListener("blur",oe),f&&C&&C!==document.activeElement&&C.innerHTML===""&&(C.innerHTML=f,C.className=`${R.current} ${B.current}`),C.addEventListener("focus",ne),C.addEventListener("blur",oe),H.current=C},[f]),$=h.useCallback(C=>{D==null||D(C)},[D]),I=C=>{E==null||E(C)},Z=C=>{q==null||q(C)},F=xr(C=>{v==null||v(C),P==null||P(C.target.innerText),A==null||A(C.target.innerHTML)},s),Q=h.useCallback(C=>{H.current&&(H.current.innerText=C)},[]),j=h.useCallback(C=>{H.current&&(H.current.innerHTML=C)},[]),ue=h.useCallback(()=>{var C;(C=H.current)==null||C.focus()},[]);h.useImperativeHandle(t,()=>({inputElement:H.current,setInnerText:Q,setInnerHTML:j,focus:ue}));const k=he({"bsc:w-full ":o},"bsc:flex bsc:flex-row bsc:items-center bsc:shadow-sm bsc:border bsc:border-solid bsc:border-gray-3 bsc:dark:border-white bsc:dark:bg-mono-dark-1 bsc:dark:text-mono-light-1 bsc:rounded-md bsc:p-2",{"bsc:overflow-x-auto bsc:overflow-y-hidden bsc:whitespace-pre":b&&x,"bsc:overflow-hidden bsc:whitespace-pre":b&&!x},u),M=he("bsc:shrink",{"bsc:mr-2":i},p),_=he("bsc:shrink",{"bsc:ml-2":c},d);return y.jsxs("div",{className:k,ref:C=>C&&$(C),children:[i&&y.jsx("div",{className:M,onClick:I,children:i}),y.jsx("div",{ref:C=>C&&W(C),className:R.current,contentEditable:!n,suppressContentEditableWarning:!0,inputMode:l,onInput:F,children:r}),c&&y.jsx("div",{className:_,onClick:Z,children:c})]})},Wr=h.forwardRef(pf);function pe(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function Te(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Ut(e,t){const r=pe(e);return isNaN(t)?Te(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function mt(e,t){const r=pe(e);if(isNaN(t))return Te(e,NaN);if(!t)return r;const n=r.getDate(),s=Te(e,r.getTime());s.setMonth(r.getMonth()+t+1,0);const o=s.getDate();return n>=o?s:(r.setFullYear(s.getFullYear(),s.getMonth(),n),r)}const Co=6048e5,Cn=6e4,On=36e5,mf=1e3;let gf={};function wr(){return gf}function gt(e,t){var c,u,p,d;const r=wr(),n=(t==null?void 0:t.weekStartsOn)??((u=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??r.weekStartsOn??((d=(p=r.locale)==null?void 0:p.options)==null?void 0:d.weekStartsOn)??0,s=pe(e),o=s.getDay(),i=(o<n?7:0)+o-n;return s.setDate(s.getDate()-i),s.setHours(0,0,0,0),s}function zt(e){return gt(e,{weekStartsOn:1})}function bf(e){const t=pe(e),r=t.getFullYear(),n=Te(e,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);const s=zt(n),o=Te(e,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);const i=zt(o);return t.getTime()>=s.getTime()?r+1:t.getTime()>=i.getTime()?r:r-1}function Oo(e){const t=pe(e);return t.setHours(0,0,0,0),t}function Do(e){const t=pe(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function yf(e){const t=bf(e),r=Te(e,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),zt(r)}function Sr(e,t){return mt(e,t*12)}function _o(e,t){const r=Oo(e),n=Oo(t);return+r==+n}function vf(e){const t=pe(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function xf(e,t){const r=pe(e.start),n=pe(e.end);let s=+r>+n;const o=s?+r:+n,i=s?n:r;i.setHours(0,0,0,0);let c=1;const u=[];for(;+i<=o;)u.push(pe(i)),i.setDate(i.getDate()+c),i.setHours(0,0,0,0);return s?u.reverse():u}function No(e){const t=pe(e);return t.setDate(1),t.setHours(0,0,0,0),t}function wf(e,t){const r=pe(e.start),n=pe(e.end);let s=+r>+n;const o=s?+r:+n,i=s?n:r;i.setHours(0,0,0,0),i.setMonth(0,1);let c=1;const u=[];for(;+i<=o;)u.push(pe(i)),i.setFullYear(i.getFullYear()+c);return s?u.reverse():u}const Sf={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"}},Tf=(e,t,r)=>{let n;const s=Sf[e];return typeof s=="string"?n=s:t===1?n=s.one:n=s.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function Dn(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const Pf={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ef={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},kf={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Cf={date:Dn({formats:Pf,defaultWidth:"full"}),time:Dn({formats:Ef,defaultWidth:"full"}),dateTime:Dn({formats:kf,defaultWidth:"full"})},Of={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Df=(e,t,r,n)=>Of[e];function Tr(e){return(t,r)=>{const n=r!=null&&r.context?String(r.context):"standalone";let s;if(n==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,c=r!=null&&r.width?String(r.width):i;s=e.formattingValues[c]||e.formattingValues[i]}else{const i=e.defaultWidth,c=r!=null&&r.width?String(r.width):e.defaultWidth;s=e.values[c]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(t):t;return s[o]}}const _f={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Nf={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},jf={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"]},If={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"]},Mf={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"}},Rf={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"}},Lf={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:Tr({values:_f,defaultWidth:"wide"}),quarter:Tr({values:Nf,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Tr({values:jf,defaultWidth:"wide"}),day:Tr({values:If,defaultWidth:"wide"}),dayPeriod:Tr({values:Mf,defaultWidth:"wide",formattingValues:Rf,defaultFormattingWidth:"wide"})};function Pr(e){return(t,r={})=>{const n=r.width,s=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(s);if(!o)return null;const i=o[0],c=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(c)?Ff(c,b=>b.test(i)):Af(c,b=>b.test(i));let p;p=e.valueCallback?e.valueCallback(u):u,p=r.valueCallback?r.valueCallback(p):p;const d=t.slice(i.length);return{value:p,rest:d}}}function Af(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function Ff(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function $f(e){return(t,r={})=>{const n=t.match(e.matchPattern);if(!n)return null;const s=n[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=r.valueCallback?r.valueCallback(i):i;const c=t.slice(s.length);return{value:i,rest:c}}}const Hf=/^(\d+)(th|st|nd|rd)?/i,Yf=/\d+/i,Wf={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},Vf={any:[/^b/i,/^(a|c)/i]},Bf={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Uf={any:[/1/i,/2/i,/3/i,/4/i]},zf={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},qf={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]},Kf={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},Zf={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]},Qf={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},Gf={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}},Xf={ordinalNumber:$f({matchPattern:Hf,parsePattern:Yf,valueCallback:e=>parseInt(e,10)}),era:Pr({matchPatterns:Wf,defaultMatchWidth:"wide",parsePatterns:Vf,defaultParseWidth:"any"}),quarter:Pr({matchPatterns:Bf,defaultMatchWidth:"wide",parsePatterns:Uf,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Pr({matchPatterns:zf,defaultMatchWidth:"wide",parsePatterns:qf,defaultParseWidth:"any"}),day:Pr({matchPatterns:Kf,defaultMatchWidth:"wide",parsePatterns:Zf,defaultParseWidth:"any"}),dayPeriod:Pr({matchPatterns:Qf,defaultMatchWidth:"any",parsePatterns:Gf,defaultParseWidth:"any"})},Jf={code:"en-US",formatDistance:Tf,formatLong:Cf,formatRelative:Df,localize:Lf,match:Xf,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ed(e){const t=pe(e),r=+zt(t)-+yf(t);return Math.round(r/Co)+1}function jo(e,t){var d,b,x,l;const r=pe(e),n=r.getFullYear(),s=wr(),o=(t==null?void 0:t.firstWeekContainsDate)??((b=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:b.firstWeekContainsDate)??s.firstWeekContainsDate??((l=(x=s.locale)==null?void 0:x.options)==null?void 0:l.firstWeekContainsDate)??1,i=Te(e,0);i.setFullYear(n+1,0,o),i.setHours(0,0,0,0);const c=gt(i,t),u=Te(e,0);u.setFullYear(n,0,o),u.setHours(0,0,0,0);const p=gt(u,t);return r.getTime()>=c.getTime()?n+1:r.getTime()>=p.getTime()?n:n-1}function td(e,t){var c,u,p,d;const r=wr(),n=(t==null?void 0:t.firstWeekContainsDate)??((u=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??r.firstWeekContainsDate??((d=(p=r.locale)==null?void 0:p.options)==null?void 0:d.firstWeekContainsDate)??1,s=jo(e,t),o=Te(e,0);return o.setFullYear(s,0,n),o.setHours(0,0,0,0),gt(o,t)}function rd(e,t){const r=pe(e),n=+gt(r,t)-+td(r,t);return Math.round(n/Co)+1}const Io=(e,t)=>{switch(e){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"})}},Mo=(e,t)=>{switch(e){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"})}},Ro={p:Mo,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],s=r[2];if(!s)return Io(e,t);let o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Io(n,t)).replace("{{time}}",Mo(s,t))}},nd=/^D+$/,sd=/^Y+$/,od=["D","DD","YY","YYYY"];function id(e){return nd.test(e)}function ad(e){return sd.test(e)}function Lo(e,t,r){const n=cd(e,t,r);if(console.warn(n),od.includes(e))throw new RangeError(n)}function cd(e,t,r){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function _n(e){return pe(e).getDay()}function Ao(e){const t=pe(e),r=t.getFullYear(),n=t.getMonth(),s=Te(e,0);return s.setFullYear(r,n+1,0),s.setHours(0,0,0,0),s.getDate()}function ud(){return Object.assign({},wr())}function ld(e){let r=pe(e).getDay();return r===0&&(r=7),r}function fd(e){const t=pe(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(0,0,0,0),t}function dd(e,t){const r=pe(e),n=pe(t);return+r<+n}function hd(e,t){const r=t instanceof Date?Te(t,0):new t(0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}const pd=10;class Fo{constructor(){T(this,"subPriority",0)}validate(t,r){return!0}}class md extends Fo{constructor(t,r,n,s,o){super(),this.value=t,this.validateValue=r,this.setValue=n,this.priority=s,o&&(this.subPriority=o)}validate(t,r){return this.validateValue(t,this.value,r)}set(t,r,n){return this.setValue(t,r,this.value,n)}}class gd extends Fo{constructor(){super(...arguments);T(this,"priority",pd);T(this,"subPriority",-1)}set(r,n){return n.timestampIsSet?r:Te(r,hd(r,Date))}}class me{run(t,r,n,s){const o=this.parse(t,r,n,s);return o?{setter:new md(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(t,r,n){return!0}}class bd extends me{constructor(){super(...arguments);T(this,"priority",140);T(this,"incompatibleTokens",["R","u","t","T"])}parse(r,n,s){switch(n){case"G":case"GG":case"GGG":return s.era(r,{width:"abbreviated"})||s.era(r,{width:"narrow"});case"GGGGG":return s.era(r,{width:"narrow"});case"GGGG":default:return s.era(r,{width:"wide"})||s.era(r,{width:"abbreviated"})||s.era(r,{width:"narrow"})}}set(r,n,s){return n.era=s,r.setFullYear(s,0,1),r.setHours(0,0,0,0),r}}const je={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}/},et={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 Ie(e,t){return e&&{value:t(e.value),rest:e.rest}}function Oe(e,t){const r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function tt(e,t){const r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};const n=r[1]==="+"?1:-1,s=r[2]?parseInt(r[2],10):0,o=r[3]?parseInt(r[3],10):0,i=r[5]?parseInt(r[5],10):0;return{value:n*(s*On+o*Cn+i*mf),rest:t.slice(r[0].length)}}function $o(e){return Oe(je.anyDigitsSigned,e)}function De(e,t){switch(e){case 1:return Oe(je.singleDigit,t);case 2:return Oe(je.twoDigits,t);case 3:return Oe(je.threeDigits,t);case 4:return Oe(je.fourDigits,t);default:return Oe(new RegExp("^\\d{1,"+e+"}"),t)}}function Vr(e,t){switch(e){case 1:return Oe(je.singleDigitSigned,t);case 2:return Oe(je.twoDigitsSigned,t);case 3:return Oe(je.threeDigitsSigned,t);case 4:return Oe(je.fourDigitsSigned,t);default:return Oe(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Nn(e){switch(e){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 Ho(e,t){const r=t>0,n=r?t:1-t;let s;if(n<=50)s=e||100;else{const o=n+50,i=Math.trunc(o/100)*100,c=e>=o%100;s=e+i-(c?100:0)}return r?s:1-s}function Yo(e){return e%400===0||e%4===0&&e%100!==0}class yd extends me{constructor(){super(...arguments);T(this,"priority",130);T(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(r,n,s){const o=i=>({year:i,isTwoDigitYear:n==="yy"});switch(n){case"y":return Ie(De(4,r),o);case"yo":return Ie(s.ordinalNumber(r,{unit:"year"}),o);default:return Ie(De(n.length,r),o)}}validate(r,n){return n.isTwoDigitYear||n.year>0}set(r,n,s){const o=r.getFullYear();if(s.isTwoDigitYear){const c=Ho(s.year,o);return r.setFullYear(c,0,1),r.setHours(0,0,0,0),r}const i=!("era"in n)||n.era===1?s.year:1-s.year;return r.setFullYear(i,0,1),r.setHours(0,0,0,0),r}}class vd extends me{constructor(){super(...arguments);T(this,"priority",130);T(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(r,n,s){const o=i=>({year:i,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Ie(De(4,r),o);case"Yo":return Ie(s.ordinalNumber(r,{unit:"year"}),o);default:return Ie(De(n.length,r),o)}}validate(r,n){return n.isTwoDigitYear||n.year>0}set(r,n,s,o){const i=jo(r,o);if(s.isTwoDigitYear){const u=Ho(s.year,i);return r.setFullYear(u,0,o.firstWeekContainsDate),r.setHours(0,0,0,0),gt(r,o)}const c=!("era"in n)||n.era===1?s.year:1-s.year;return r.setFullYear(c,0,o.firstWeekContainsDate),r.setHours(0,0,0,0),gt(r,o)}}class xd extends me{constructor(){super(...arguments);T(this,"priority",130);T(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(r,n){return Vr(n==="R"?4:n.length,r)}set(r,n,s){const o=Te(r,0);return o.setFullYear(s,0,4),o.setHours(0,0,0,0),zt(o)}}class wd extends me{constructor(){super(...arguments);T(this,"priority",130);T(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(r,n){return Vr(n==="u"?4:n.length,r)}set(r,n,s){return r.setFullYear(s,0,1),r.setHours(0,0,0,0),r}}class Sd extends me{constructor(){super(...arguments);T(this,"priority",120);T(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(r,n,s){switch(n){case"Q":case"QQ":return De(n.length,r);case"Qo":return s.ordinalNumber(r,{unit:"quarter"});case"QQQ":return s.quarter(r,{width:"abbreviated",context:"formatting"})||s.quarter(r,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(r,{width:"wide",context:"formatting"})||s.quarter(r,{width:"abbreviated",context:"formatting"})||s.quarter(r,{width:"narrow",context:"formatting"})}}validate(r,n){return n>=1&&n<=4}set(r,n,s){return r.setMonth((s-1)*3,1),r.setHours(0,0,0,0),r}}class Td extends me{constructor(){super(...arguments);T(this,"priority",120);T(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(r,n,s){switch(n){case"q":case"qq":return De(n.length,r);case"qo":return s.ordinalNumber(r,{unit:"quarter"});case"qqq":return s.quarter(r,{width:"abbreviated",context:"standalone"})||s.quarter(r,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(r,{width:"wide",context:"standalone"})||s.quarter(r,{width:"abbreviated",context:"standalone"})||s.quarter(r,{width:"narrow",context:"standalone"})}}validate(r,n){return n>=1&&n<=4}set(r,n,s){return r.setMonth((s-1)*3,1),r.setHours(0,0,0,0),r}}class Pd extends me{constructor(){super(...arguments);T(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);T(this,"priority",110)}parse(r,n,s){const o=i=>i-1;switch(n){case"M":return Ie(Oe(je.month,r),o);case"MM":return Ie(De(2,r),o);case"Mo":return Ie(s.ordinalNumber(r,{unit:"month"}),o);case"MMM":return s.month(r,{width:"abbreviated",context:"formatting"})||s.month(r,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(r,{width:"wide",context:"formatting"})||s.month(r,{width:"abbreviated",context:"formatting"})||s.month(r,{width:"narrow",context:"formatting"})}}validate(r,n){return n>=0&&n<=11}set(r,n,s){return r.setMonth(s,1),r.setHours(0,0,0,0),r}}class Ed extends me{constructor(){super(...arguments);T(this,"priority",110);T(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(r,n,s){const o=i=>i-1;switch(n){case"L":return Ie(Oe(je.month,r),o);case"LL":return Ie(De(2,r),o);case"Lo":return Ie(s.ordinalNumber(r,{unit:"month"}),o);case"LLL":return s.month(r,{width:"abbreviated",context:"standalone"})||s.month(r,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(r,{width:"wide",context:"standalone"})||s.month(r,{width:"abbreviated",context:"standalone"})||s.month(r,{width:"narrow",context:"standalone"})}}validate(r,n){return n>=0&&n<=11}set(r,n,s){return r.setMonth(s,1),r.setHours(0,0,0,0),r}}function kd(e,t,r){const n=pe(e),s=rd(n,r)-t;return n.setDate(n.getDate()-s*7),n}class Cd extends me{constructor(){super(...arguments);T(this,"priority",100);T(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(r,n,s){switch(n){case"w":return Oe(je.week,r);case"wo":return s.ordinalNumber(r,{unit:"week"});default:return De(n.length,r)}}validate(r,n){return n>=1&&n<=53}set(r,n,s,o){return gt(kd(r,s,o),o)}}function Od(e,t){const r=pe(e),n=ed(r)-t;return r.setDate(r.getDate()-n*7),r}class Dd extends me{constructor(){super(...arguments);T(this,"priority",100);T(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(r,n,s){switch(n){case"I":return Oe(je.week,r);case"Io":return s.ordinalNumber(r,{unit:"week"});default:return De(n.length,r)}}validate(r,n){return n>=1&&n<=53}set(r,n,s){return zt(Od(r,s))}}const _d=[31,28,31,30,31,30,31,31,30,31,30,31],Nd=[31,29,31,30,31,30,31,31,30,31,30,31];class jd extends me{constructor(){super(...arguments);T(this,"priority",90);T(this,"subPriority",1);T(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(r,n,s){switch(n){case"d":return Oe(je.date,r);case"do":return s.ordinalNumber(r,{unit:"date"});default:return De(n.length,r)}}validate(r,n){const s=r.getFullYear(),o=Yo(s),i=r.getMonth();return o?n>=1&&n<=Nd[i]:n>=1&&n<=_d[i]}set(r,n,s){return r.setDate(s),r.setHours(0,0,0,0),r}}class Id extends me{constructor(){super(...arguments);T(this,"priority",90);T(this,"subpriority",1);T(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(r,n,s){switch(n){case"D":case"DD":return Oe(je.dayOfYear,r);case"Do":return s.ordinalNumber(r,{unit:"date"});default:return De(n.length,r)}}validate(r,n){const s=r.getFullYear();return Yo(s)?n>=1&&n<=366:n>=1&&n<=365}set(r,n,s){return r.setMonth(0,s),r.setHours(0,0,0,0),r}}function jn(e,t,r){var b,x,l,f;const n=wr(),s=(r==null?void 0:r.weekStartsOn)??((x=(b=r==null?void 0:r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??n.weekStartsOn??((f=(l=n.locale)==null?void 0:l.options)==null?void 0:f.weekStartsOn)??0,o=pe(e),i=o.getDay(),u=(t%7+7)%7,p=7-s,d=t<0||t>6?t-(i+p)%7:(u+p)%7-(i+p)%7;return Ut(o,d)}class Md extends me{constructor(){super(...arguments);T(this,"priority",90);T(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(r,n,s){switch(n){case"E":case"EE":case"EEE":return s.day(r,{width:"abbreviated",context:"formatting"})||s.day(r,{width:"short",context:"formatting"})||s.day(r,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(r,{width:"short",context:"formatting"})||s.day(r,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(r,{width:"wide",context:"formatting"})||s.day(r,{width:"abbreviated",context:"formatting"})||s.day(r,{width:"short",context:"formatting"})||s.day(r,{width:"narrow",context:"formatting"})}}validate(r,n){return n>=0&&n<=6}set(r,n,s,o){return r=jn(r,s,o),r.setHours(0,0,0,0),r}}class Rd extends me{constructor(){super(...arguments);T(this,"priority",90);T(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(r,n,s,o){const i=c=>{const u=Math.floor((c-1)/7)*7;return(c+o.weekStartsOn+6)%7+u};switch(n){case"e":case"ee":return Ie(De(n.length,r),i);case"eo":return Ie(s.ordinalNumber(r,{unit:"day"}),i);case"eee":return s.day(r,{width:"abbreviated",context:"formatting"})||s.day(r,{width:"short",context:"formatting"})||s.day(r,{width:"narrow",context:"formatting"});case"eeeee":return s.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(r,{width:"short",context:"formatting"})||s.day(r,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(r,{width:"wide",context:"formatting"})||s.day(r,{width:"abbreviated",context:"formatting"})||s.day(r,{width:"short",context:"formatting"})||s.day(r,{width:"narrow",context:"formatting"})}}validate(r,n){return n>=0&&n<=6}set(r,n,s,o){return r=jn(r,s,o),r.setHours(0,0,0,0),r}}class Ld extends me{constructor(){super(...arguments);T(this,"priority",90);T(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(r,n,s,o){const i=c=>{const u=Math.floor((c-1)/7)*7;return(c+o.weekStartsOn+6)%7+u};switch(n){case"c":case"cc":return Ie(De(n.length,r),i);case"co":return Ie(s.ordinalNumber(r,{unit:"day"}),i);case"ccc":return s.day(r,{width:"abbreviated",context:"standalone"})||s.day(r,{width:"short",context:"standalone"})||s.day(r,{width:"narrow",context:"standalone"});case"ccccc":return s.day(r,{width:"narrow",context:"standalone"});case"cccccc":return s.day(r,{width:"short",context:"standalone"})||s.day(r,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(r,{width:"wide",context:"standalone"})||s.day(r,{width:"abbreviated",context:"standalone"})||s.day(r,{width:"short",context:"standalone"})||s.day(r,{width:"narrow",context:"standalone"})}}validate(r,n){return n>=0&&n<=6}set(r,n,s,o){return r=jn(r,s,o),r.setHours(0,0,0,0),r}}function Ad(e,t){const r=pe(e),n=ld(r),s=t-n;return Ut(r,s)}class Fd extends me{constructor(){super(...arguments);T(this,"priority",90);T(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(r,n,s){const o=i=>i===0?7:i;switch(n){case"i":case"ii":return De(n.length,r);case"io":return s.ordinalNumber(r,{unit:"day"});case"iii":return Ie(s.day(r,{width:"abbreviated",context:"formatting"})||s.day(r,{width:"short",context:"formatting"})||s.day(r,{width:"narrow",context:"formatting"}),o);case"iiiii":return Ie(s.day(r,{width:"narrow",context:"formatting"}),o);case"iiiiii":return Ie(s.day(r,{width:"short",context:"formatting"})||s.day(r,{width:"narrow",context:"formatting"}),o);case"iiii":default:return Ie(s.day(r,{width:"wide",context:"formatting"})||s.day(r,{width:"abbreviated",context:"formatting"})||s.day(r,{width:"short",context:"formatting"})||s.day(r,{width:"narrow",context:"formatting"}),o)}}validate(r,n){return n>=1&&n<=7}set(r,n,s){return r=Ad(r,s),r.setHours(0,0,0,0),r}}class $d extends me{constructor(){super(...arguments);T(this,"priority",80);T(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(r,n,s){switch(n){case"a":case"aa":case"aaa":return s.dayPeriod(r,{width:"abbreviated",context:"formatting"})||s.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(r,{width:"wide",context:"formatting"})||s.dayPeriod(r,{width:"abbreviated",context:"formatting"})||s.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,n,s){return r.setHours(Nn(s),0,0,0),r}}class Hd extends me{constructor(){super(...arguments);T(this,"priority",80);T(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(r,n,s){switch(n){case"b":case"bb":case"bbb":return s.dayPeriod(r,{width:"abbreviated",context:"formatting"})||s.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(r,{width:"wide",context:"formatting"})||s.dayPeriod(r,{width:"abbreviated",context:"formatting"})||s.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,n,s){return r.setHours(Nn(s),0,0,0),r}}class Yd extends me{constructor(){super(...arguments);T(this,"priority",80);T(this,"incompatibleTokens",["a","b","t","T"])}parse(r,n,s){switch(n){case"B":case"BB":case"BBB":return s.dayPeriod(r,{width:"abbreviated",context:"formatting"})||s.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(r,{width:"wide",context:"formatting"})||s.dayPeriod(r,{width:"abbreviated",context:"formatting"})||s.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,n,s){return r.setHours(Nn(s),0,0,0),r}}class Wd extends me{constructor(){super(...arguments);T(this,"priority",70);T(this,"incompatibleTokens",["H","K","k","t","T"])}parse(r,n,s){switch(n){case"h":return Oe(je.hour12h,r);case"ho":return s.ordinalNumber(r,{unit:"hour"});default:return De(n.length,r)}}validate(r,n){return n>=1&&n<=12}set(r,n,s){const o=r.getHours()>=12;return o&&s<12?r.setHours(s+12,0,0,0):!o&&s===12?r.setHours(0,0,0,0):r.setHours(s,0,0,0),r}}class Vd extends me{constructor(){super(...arguments);T(this,"priority",70);T(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(r,n,s){switch(n){case"H":return Oe(je.hour23h,r);case"Ho":return s.ordinalNumber(r,{unit:"hour"});default:return De(n.length,r)}}validate(r,n){return n>=0&&n<=23}set(r,n,s){return r.setHours(s,0,0,0),r}}class Bd extends me{constructor(){super(...arguments);T(this,"priority",70);T(this,"incompatibleTokens",["h","H","k","t","T"])}parse(r,n,s){switch(n){case"K":return Oe(je.hour11h,r);case"Ko":return s.ordinalNumber(r,{unit:"hour"});default:return De(n.length,r)}}validate(r,n){return n>=0&&n<=11}set(r,n,s){return r.getHours()>=12&&s<12?r.setHours(s+12,0,0,0):r.setHours(s,0,0,0),r}}class Ud extends me{constructor(){super(...arguments);T(this,"priority",70);T(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(r,n,s){switch(n){case"k":return Oe(je.hour24h,r);case"ko":return s.ordinalNumber(r,{unit:"hour"});default:return De(n.length,r)}}validate(r,n){return n>=1&&n<=24}set(r,n,s){const o=s<=24?s%24:s;return r.setHours(o,0,0,0),r}}class zd extends me{constructor(){super(...arguments);T(this,"priority",60);T(this,"incompatibleTokens",["t","T"])}parse(r,n,s){switch(n){case"m":return Oe(je.minute,r);case"mo":return s.ordinalNumber(r,{unit:"minute"});default:return De(n.length,r)}}validate(r,n){return n>=0&&n<=59}set(r,n,s){return r.setMinutes(s,0,0),r}}class qd extends me{constructor(){super(...arguments);T(this,"priority",50);T(this,"incompatibleTokens",["t","T"])}parse(r,n,s){switch(n){case"s":return Oe(je.second,r);case"so":return s.ordinalNumber(r,{unit:"second"});default:return De(n.length,r)}}validate(r,n){return n>=0&&n<=59}set(r,n,s){return r.setSeconds(s,0),r}}class Kd extends me{constructor(){super(...arguments);T(this,"priority",30);T(this,"incompatibleTokens",["t","T"])}parse(r,n){const s=o=>Math.trunc(o*Math.pow(10,-n.length+3));return Ie(De(n.length,r),s)}set(r,n,s){return r.setMilliseconds(s),r}}class Zd extends me{constructor(){super(...arguments);T(this,"priority",10);T(this,"incompatibleTokens",["t","T","x"])}parse(r,n){switch(n){case"X":return tt(et.basicOptionalMinutes,r);case"XX":return tt(et.basic,r);case"XXXX":return tt(et.basicOptionalSeconds,r);case"XXXXX":return tt(et.extendedOptionalSeconds,r);case"XXX":default:return tt(et.extended,r)}}set(r,n,s){return n.timestampIsSet?r:Te(r,r.getTime()-Do(r)-s)}}class Qd extends me{constructor(){super(...arguments);T(this,"priority",10);T(this,"incompatibleTokens",["t","T","X"])}parse(r,n){switch(n){case"x":return tt(et.basicOptionalMinutes,r);case"xx":return tt(et.basic,r);case"xxxx":return tt(et.basicOptionalSeconds,r);case"xxxxx":return tt(et.extendedOptionalSeconds,r);case"xxx":default:return tt(et.extended,r)}}set(r,n,s){return n.timestampIsSet?r:Te(r,r.getTime()-Do(r)-s)}}class Gd extends me{constructor(){super(...arguments);T(this,"priority",40);T(this,"incompatibleTokens","*")}parse(r){return $o(r)}set(r,n,s){return[Te(r,s*1e3),{timestampIsSet:!0}]}}class Xd extends me{constructor(){super(...arguments);T(this,"priority",20);T(this,"incompatibleTokens","*")}parse(r){return $o(r)}set(r,n,s){return[Te(r,s),{timestampIsSet:!0}]}}const Jd={G:new bd,y:new yd,Y:new vd,R:new xd,u:new wd,Q:new Sd,q:new Td,M:new Pd,L:new Ed,w:new Cd,I:new Dd,d:new jd,D:new Id,E:new Md,e:new Rd,c:new Ld,i:new Fd,a:new $d,b:new Hd,B:new Yd,h:new Wd,H:new Vd,K:new Bd,k:new Ud,m:new zd,s:new qd,S:new Kd,X:new Zd,x:new Qd,t:new Gd,T:new Xd},eh=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,th=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rh=/^'([^]*?)'?$/,nh=/''/g,sh=/\S/,oh=/[a-zA-Z]/;function rt(e,t,r,n){var m,w,v,P,A,D,E,q;const s=ud(),o=(n==null?void 0:n.locale)??s.locale??Jf,i=(n==null?void 0:n.firstWeekContainsDate)??((w=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??s.firstWeekContainsDate??((P=(v=s.locale)==null?void 0:v.options)==null?void 0:P.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((D=(A=n==null?void 0:n.locale)==null?void 0:A.options)==null?void 0:D.weekStartsOn)??s.weekStartsOn??((q=(E=s.locale)==null?void 0:E.options)==null?void 0:q.weekStartsOn)??0;if(t==="")return e===""?pe(r):Te(r,NaN);const u={firstWeekContainsDate:i,weekStartsOn:c,locale:o},p=[new gd],d=t.match(th).map(R=>{const B=R[0];if(B in Ro){const H=Ro[B];return H(R,o.formatLong)}return R}).join("").match(eh),b=[];for(let R of d){!(n!=null&&n.useAdditionalWeekYearTokens)&&ad(R)&&Lo(R,t,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&id(R)&&Lo(R,t,e);const B=R[0],H=Jd[B];if(H){const{incompatibleTokens:ne}=H;if(Array.isArray(ne)){const W=b.find($=>ne.includes($.token)||$.token===B);if(W)throw new RangeError(`The format string mustn't contain \`${W.fullToken}\` and \`${R}\` at the same time`)}else if(H.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${R}\` and any other token at the same time`);b.push({token:B,fullToken:R});const oe=H.run(e,R,o.match,u);if(!oe)return Te(r,NaN);p.push(oe.setter),e=oe.rest}else{if(B.match(oh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+B+"`");if(R==="''"?R="'":B==="'"&&(R=ih(R)),e.indexOf(R)===0)e=e.slice(R.length);else return Te(r,NaN)}}if(e.length>0&&sh.test(e))return Te(r,NaN);const x=p.map(R=>R.priority).sort((R,B)=>B-R).filter((R,B,H)=>H.indexOf(R)===B).map(R=>p.filter(B=>B.priority===R).sort((B,H)=>H.subPriority-B.subPriority)).map(R=>R[0]);let l=pe(r);if(isNaN(l.getTime()))return Te(r,NaN);const f={};for(const R of x){if(!R.validate(l,u))return Te(r,NaN);const B=R.set(l,f,u);Array.isArray(B)?(l=B[0],Object.assign(f,B[1])):l=B}return Te(r,l)}function ih(e){return e.match(rh)[1].replace(nh,"'")}function ah(e){return _o(e,Date.now())}function ch(e,t){return Ut(e,-t)}function uh(e,t){let r=t-_n(e);return r<=0&&(r+=7),Ut(e,r)}function lh(e,t){const n=ph(e);let s;if(n.date){const u=mh(n.date,2);s=gh(u.restDateString,u.year)}if(!s||isNaN(s.getTime()))return new Date(NaN);const o=s.getTime();let i=0,c;if(n.time&&(i=bh(n.time),isNaN(i)))return new Date(NaN);if(n.timezone){if(c=yh(n.timezone),isNaN(c))return new Date(NaN)}else{const u=new Date(o+i),p=new Date(0);return p.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),p.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),p}return new Date(o+i+c)}const Br={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},fh=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,dh=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,hh=/^([+-])(\d{2})(?::?(\d{2}))?$/;function ph(e){const t={},r=e.split(Br.dateTimeDelimiter);let n;if(r.length>2)return t;if(/:/.test(r[0])?n=r[0]:(t.date=r[0],n=r[1],Br.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Br.timeZoneDelimiter)[0],n=e.substr(t.date.length,e.length))),n){const s=Br.timezone.exec(n);s?(t.time=n.replace(s[1],""),t.timezone=s[1]):t.time=n}return t}function mh(e,t){const r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};const s=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:o===null?s:o*100,restDateString:e.slice((n[1]||n[2]).length)}}function gh(e,t){if(t===null)return new Date(NaN);const r=e.match(fh);if(!r)return new Date(NaN);const n=!!r[4],s=Er(r[1]),o=Er(r[2])-1,i=Er(r[3]),c=Er(r[4]),u=Er(r[5])-1;if(n)return Th(t,c,u)?vh(t,c,u):new Date(NaN);{const p=new Date(0);return!wh(t,o,i)||!Sh(t,s)?new Date(NaN):(p.setUTCFullYear(t,o,Math.max(s,i)),p)}}function Er(e){return e?parseInt(e):1}function bh(e){const t=e.match(dh);if(!t)return NaN;const r=In(t[1]),n=In(t[2]),s=In(t[3]);return Ph(r,n,s)?r*On+n*Cn+s*1e3:NaN}function In(e){return e&&parseFloat(e.replace(",","."))||0}function yh(e){if(e==="Z")return 0;const t=e.match(hh);if(!t)return 0;const r=t[1]==="+"?-1:1,n=parseInt(t[2]),s=t[3]&&parseInt(t[3])||0;return Eh(n,s)?r*(n*On+s*Cn):NaN}function vh(e,t,r){const n=new Date(0);n.setUTCFullYear(e,0,4);const s=n.getUTCDay()||7,o=(t-1)*7+r+1-s;return n.setUTCDate(n.getUTCDate()+o),n}const xh=[31,null,31,30,31,30,31,31,30,31,30,31];function Wo(e){return e%400===0||e%4===0&&e%100!==0}function wh(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(xh[t]||(Wo(e)?29:28))}function Sh(e,t){return t>=1&&t<=(Wo(e)?366:365)}function Th(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}function Ph(e,t,r){return e===24?t===0&&r===0:r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}function Eh(e,t){return t>=0&&t<=59}function kh(e,t){const r=pe(e),n=r.getFullYear(),s=r.getDate(),o=Te(e,0);o.setFullYear(n,t,15),o.setHours(0,0,0,0);const i=Ao(o);return r.setMonth(t,Math.min(s,i)),r}function Ch(e,t){const r=pe(e);return isNaN(+r)?Te(e,NaN):(r.setFullYear(t),r)}function Mn(e,t){return mt(e,-t)}function Rn(e,t){return Sr(e,-t)}function Vo(){return window.navigator.languages?window.navigator.languages[0]:window.navigator.language}function Oh(e,t,r){const n=[];for(let s=e;s<=t;s++)n.push(r?r(s):s);return n}function Dh(e,t){const r=e.target;return r?!t.isSameNode(r)&&!t.contains(r):!1}function _h(e,t){return e.isSameNode(t)||e.contains(t)}function Nh(e,t){const r=Object.entries(t),n=getComputedStyle(e);for(let s=0,o=r.length;s<o;s++){const[i,c]=r[s];if(typeof c=="string"&&c.indexOf(",")>-1){if(!c.split(",").map(p=>p.trim()).includes(n[i]))return!1}else if(n[i]!==c)return!1}return!0}function jh(e,t){const r=Object.entries(t),n=getComputedStyle(e);for(let s=0,o=r.length;s<o;s++){const[i,c]=r[s];if(typeof c=="string"&&c.indexOf(",")>-1){if(c.split(",").map(p=>p.trim()).includes(n[i]))return!0}else if(n[i]===c)return!0}return!1}function Bo(e,t,r=!1,n){if(r&&Nh(e,t)){if(!n||(n==null?void 0:n(e))===!0)return e}else if(!r&&jh(e,t)&&(!n||(n==null?void 0:n(e))===!0))return e;return e.parentElement?Bo(e.parentElement,t,r,n):e}function Uo(e,t){const r=Array.from(document.querySelectorAll("body *")),n=[];for(let s=0,o=r.length;s<o;s++){const i=getComputedStyle(r[s]);i[e]&&t(i[e])&&n.push(i[e])}return n}function Up(e){return e}function Ih(e){const t=document.documentElement;Object.keys(e).forEach(r=>{t.style.setProperty(r,e[r])})}function Mh(e){return{"--theme-bsc-primary-1":e.primary1,"--theme-bsc-primary-2":e.primary2,"--theme-bsc-primary-3":e.primary3,"--theme-bsc-primary-4":e.primary4,"--theme-bsc-primary-5":e.primary5,"--theme-bsc-gray-1":e.gray1||"#303030","--theme-bsc-gray-2":e.gray2||"#5f5f5f","--theme-bsc-gray-3":e.gray3||"#8f8f8f","--theme-bsc-gray-4":e.gray4||"#bebebe","--theme-bsc-gray-5":e.gray5||"#eee","--theme-bsc-black":e.black||"#000","--theme-bsc-white":e.white||"#fff","--theme-bsc-mono-dark-1":e.monoDark1||"#222","--theme-bsc-mono-dark-2":e.monoDark2||"#3c3c3c","--theme-bsc-mono-dark-3":e.monoDark3||"#4e4e4e","--theme-bsc-mono-light-1":e.monoLight1||"#fefefe","--theme-bsc-mono-light-2":e.monoLight2||"#eee","--theme-bsc-mono-light-3":e.monoLight3||"#ccc","--theme-bsc-info":e.info||"#2e7ff8","--theme-bsc-success":e.success||"#53ae0c","--theme-bsc-warning":e.warning||"#ff6914","--theme-bsc-error":e.error||"#f01616"}}var He=(e=>(e[e.Regular=24]="Regular",e[e.Small=20]="Small",e))(He||{});const zo=({className:e})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"})}),Rh=({className:e})=>{const t=he("bsc:h-6 bsc:w-6",e);return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})},Lh=({className:e})=>{const t=he("bsc:h-6 bsc:w-6",e);return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})})},Ah=({className:e})=>{const t=he("bsc:h-6 bsc:w-6",e);return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})},Fh=({className:e})=>{const t=he("bsc:h-6 bsc:w-6",e);return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})})},$h=({className:e})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),qe=({icon:e,size:t=He.Regular,onClick:r,className:n})=>{const s=h.useRef({calendar:zo,chevronDown:Rh,chevronLeft:Lh,chevronRight:Ah,chevronUp:Fh,close:$h}),o=h.useMemo(()=>s.current[e]||zo,[e]),i=he({"bsc:h-[24px] bsc:w-[24px]":t===He.Regular,"bsc:h-[20px] bsc:w-[20px]":t===He.Small},n);return y.jsx("div",{onClick:r,children:y.jsx(o,{className:i})})},kt=({template:e,props:t,children:r})=>e(t,r);function Hh(e,t){if(t===e)return!1;const r=Object.values(t),n=Object.values(e);if(r.length!==n.length||r.some((o,i)=>o!==n[i]))return!0;const s=Object.keys(e);return Object.keys(t).some((o,i)=>o!==s[i])}function Yh(e,t){return e.matches[t]=!1,e.mediaQueries[t]={},e}function qo(e){const t=Object.keys(e);return typeof window>"u"?t.reduce(Yh,{mediaQueries:{},matches:{}}):t.reduce((r,n)=>{const s=window.matchMedia(e[n]);return r.mediaQueries[n]=s,r.matches[n]=s.matches,r},{mediaQueries:{},matches:{}})}function Wh(e,t){function r(n,s){return n[s]=e.mediaQueries[s].matches,n}switch(t.type){case"updateMatches":return{matches:Object.keys(e.mediaQueries).reduce(r,{}),mediaQueries:e.mediaQueries};case"setQueries":return qo(t.queries)}}function Vh(e){const t=cr.useRef(e),[r,n]=cr.useReducer(Wh,e,qo);cr.useEffect(()=>{Hh(e,t.current)&&(n({type:"setQueries",queries:e}),t.current=e)},[e]);function s(){return n({type:"updateMatches"})}function o(u){const p=s;return typeof u.addListener<"u"?u.addListener(p):u.addEventListener("change",p),p}cr.useEffect(()=>{const u=Object.values(r.mediaQueries),p=u.map(o);function d(b,x){typeof b.addListener<"u"?b.removeListener(p[x]):b.removeEventListener("change",p[x])}return()=>{u.forEach(d)}},[r.mediaQueries]);const{matches:i}=r,c=cr.useMemo(()=>Object.values(i),[i]);return{matches:i,matchesAny:c.some(Boolean),matchesAll:c.length>0&&c.every(Boolean)}}function Ur(e){return Vh(Bh(e)).matchesAll}const Ln={};function Bh(e){return Ln[e]===void 0&&(Ln[e]={default:e}),Ln[e]}const An=({mobileQuery:e="screen and (max-device-width: 40rem)",tabletQuery:t="screen and (min-device-width: 40.01rem) and (max-device-width: 63.9375rem)",desktopQuery:r="screen and (min-device-width: 64rem)",mobileMarkup:n,aboveMobileMarkup:s,tabletMarkup:o,desktopMarkup:i})=>{const c=Ur(e),u=Ur(t),p=Ur(r);return c&&n?n:!c&&s?s:u&&o?o:p&&i?i:(console.error("Invalid media settings"),null)};function Ko(e,t,r){const n=o=>{const i=o.target,c=e.style.display!=="hidden";e&&c&&!_h(e,i)&&!s(r,i)&&t(!1),t(!0)},s=(o,i)=>{if(!o)return!1;for(let c=0,u=o.length;c<u;c++)if(o[c].isSameNode(i)||o[c].contains(i))return!0;return!1};return document.addEventListener("mousedown",n),n}function Zo(e){document.removeEventListener("mousedown",e)}function Uh(e,t){if(e==null)return{};var r={},n=Object.keys(e),s,o;for(o=0;o<n.length;o++)s=n[o],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function Fn(e,t){return Fn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Fn(e,t)}function zh(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Fn(e,t)}var zr={exports:{}},qr={exports:{}},ye={};/** @license React v16.13.1
83
+ */var xi;function xc(){return xi||(xi=1,function(e){(function(){var a={}.hasOwnProperty;function t(){for(var i="",o=0;o<arguments.length;o++){var c=arguments[o];c&&(i=r(i,n(c)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return t.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var o="";for(var c in i)a.call(i,c)&&i[c]&&(o=r(o,c));return o}function r(i,o){return o?i?i+" "+o:i+o:i}e.exports?(t.default=t,e.exports=t):window.classNames=t})()}(Wi)),Wi.exports}xc();const jc=({intersectionObserver:e,resizeObserver:a,page:t,height:n,children:r})=>{const i=p.useRef();p.useEffect(()=>()=>{i.current&&(e==null||e.unobserve(i.current),a==null||a.unobserve(i.current))},[]),p.useEffect(()=>(i.current&&(e==null||e.observe(i.current)),()=>{i.current&&e&&e.unobserve(i.current)}),[e]);const o=l=>{i.current&&(e==null||e.unobserve(i.current),a==null||a.unobserve(i.current)),e==null||e.observe(l),a==null||a.observe(l),i.current=l},c=n?{height:`${n}px`}:{};return Xe.jsx("div",{"data-page":t,"data-name":"page",style:c,ref:l=>l&&o(l),children:r})};p.memo(jc);const Sc=({intersectionObserver:e,page:a})=>{const t=p.useRef();p.useEffect(()=>()=>{t.current&&(e==null||e.unobserve(t.current))},[]);const n=r=>{t.current&&(e==null||e.unobserve(t.current)),e==null||e.observe(r),t.current=r};return Xe.jsx("div",{"data-page":a,"data-name":"marker",ref:r=>r&&n(r)})};p.memo(Sc);const Tc=({name:e,value:a,comparator:t,readOnly:n=!1,onChange:r,className:i,children:o})=>{const c=xt(),l=xt(),b=xt(),g=xt(),w=ki(t),M=p.useMemo(()=>({nameSignal:c,valueSignal:l,readOnlySignal:b,useComparator:g,compare:w}),[]);p.useEffect(()=>{c.value=e},[e]),p.useEffect(()=>{l.value=a},[a]),p.useEffect(()=>{b.value=n},[n]),p.useEffect(()=>{g.value=t!==void 0},[t]);const h=Ea(f=>{r==null||r({originalEvent:f,name:e,value:l.value})});return Xe.jsx("div",{className:i,onChange:h,children:Xe.jsx(Mi,{props:M,children:o})})},ji=p.memo(Tc),Dc=({value:e,className:a,children:t})=>{const[n,r]=p.useState(),[i,o]=p.useState(!1),[c,l]=p.useState(!1),b=p.useRef(),g=p.useRef(),w=p.useRef(),M=p.useRef(),h=p.useRef(),f=wi(),v=rn(),$=p.useId(),k=p.useMemo(()=>(v==null?void 0:v.sharedId)||$,[v==null?void 0:v.sharedId,$]);p.useEffect(()=>{f&&(b.current=f.nameSignal,g.current=f.valueSignal,w.current=f.readOnlySignal,M.current=f.useComparator,h.current=f.compare)},[f]),ta(()=>{var A;M&&g.current&&h.current?o(h.current(e,g.current.value)):o(e===((A=g.current)==null?void 0:A.value))}),ta(()=>{var A;r((A=b.current)==null?void 0:A.value)}),ta(()=>{var A;l(((A=w.current)==null?void 0:A.value)??!1)});const j=Ea(A=>{A.target.checked&&g.current&&(g.current.value=e)});return Na({wrapperElement:"label",renderProps:{checked:i,readOnly:c},elementProps:{htmlFor:k},className:a,innerWrapperElement:n?Xe.jsx(Sn,{id:k,name:n,type:"radio",value:e,checked:i,readOnly:c,onChange:j}):null,children:t})},Si=p.memo(Dc),Ec=(e,a)=>{const{id:t,name:n,value:r,toggled:i=!1,readOnly:o,onChange:c,children:l,className:b}=e,[g,w]=p.useState(i),M=rn(),h=p.useId(),f=p.useMemo(()=>(M==null?void 0:M.sharedId)||t||h,[M==null?void 0:M.sharedId,t,h]);p.useEffect(()=>{w(i)},[i]);const v=k=>{w(k.target.checked),c==null||c({originalEvent:k,name:n,value:r,checked:k.target.checked})},$=k=>{w(k)};return p.useImperativeHandle(a,()=>({setToggled:$})),Na({wrapperElement:"label",renderProps:{toggled:g,readOnly:o},elementProps:{htmlFor:f},className:b,innerWrapperElement:Xe.jsx(Sn,{id:f,name:n,type:"checkbox",checked:g,readOnly:o,onChange:v}),children:l})},Nc=p.memo(p.forwardRef(Ec)),Vn=e=>{const[a,t]=p.useState(!0),n=Ur();return p.useEffect(()=>{n&&n.useAnimations!==void 0?t(n.useAnimations):e!==void 0&&t(e)},[n,e]),a},kt=({label:e,htmlFor:a,readOnly:t=!1,className:n})=>{const r=ve("bc-label",{"bsc:text-black bsc:dark:text-mono-light-1":!t,"bc-read-only bsc:text-gray-4 bsc:dark:text-mono-light-3 bsc:pointer-events-none":t},n);return P.jsx(Wc,{htmlFor:a,className:r,children:e})},Cc=(e,a)=>{const{name:t,label:n,value:r,readOnly:i=!1,checked:o=!1,partial:c=!1,labelLocation:l=rt.Right,className:b,useAnimation:g,onChange:w}=e,M=Vn(g),h=ve("bc-checkbox-wrapper bsc:flex bsc:items-center bsc:group/wrapper bsc:*:cursor-pointer bsc:has-data-read-only:text-gray-4 bsc:dark:has-data-read-only:text-mono-light-3 bsc:has-data-read-only:pointer-events-none",b),f=ve("bc-checkbox-label bsc:peer-data-read-only:text-gray-4 bsc:dark:peer-data-read-only:text-mono-light-3",{"bsc:ml-2":l===rt.Right,"bsc:mr-2":l===rt.Left}),v=Ta(Bt.FocusWithin),$=ve("bc-checkbox-outer bsc:group/checkbox bsc:peer bsc:rounded bsc:*:block bsc:*:size-[21px]","bsc:inset-shadow-[0_0_0_1px] bsc:inset-shadow-gray-2 bsc:dark:inset-shadow-[0_0_0_1px] bsc:dark:inset-shadow-mono-light-2","bsc:group-hover/wrapper:not-data-checked:inset-shadow-[0_0_0_2px] bsc:group-hover/wrapper:not-data-checked:inset-shadow-gray-4","bsc:dark:group-hover/wrapper:not-data-checked:inset-shadow-[0_0_0_2px] bsc:[transition:box-shadow_0.3s]",v),k=ve("bc-checkbox-svg bsc:rounded bsc:stroke-mono-light-1 bsc:stroke-2 bsc:[stroke-linecap:round]","bsc:[stroke-linejoin:round] bsc:dark:stroke-mono-dark-3 bsc:[transform:scale(0)]","bsc:group-data-checked/checkbox:group-data-read-only/checkbox:bg-primary-4 bsc:group-data-checked/checkbox:group-data-read-only/checkbox:fill-primary-4 bsc:group-data-partial/checkbox:group-data-read-only/checkbox:bg-primary-4 bsc:group-data-partial/checkbox:group-data-read-only/checkbox:fill-primary-4 bsc:dark:group-data-checked/checkbox:group-data-read-only/checkbox:bg-mono-light-3 bsc:dark:group-data-checked/checkbox:group-data-read-only/checkbox:fill-mono-light-3 bsc:dark:group-data-partial/checkbox:group-data-read-only/checkbox:bg-mono-light-3 bsc:dark:group-data-partial/checkbox:group-data-read-only/checkbox:fill-mono-light-3","bsc:group-data-checked/checkbox:group-not-data-read-only/checkbox:bg-primary-1 bsc:group-data-checked/checkbox:group-not-data-read-only/checkbox:fill-primary-1 bsc:group-data-partial/checkbox:bg-primary-1 bsc:group-data-partial/checkbox:fill-primary-1 bsc:dark:group-data-checked/checkbox:bg-mono-light-1 bsc:dark:group-data-checked/checkbox:fill-mono-light-1 bsc:dark:group-data-partial/checkbox:bg-mono-light-1 bsc:dark:group-data-partial/checkbox:fill-mono-light-1",{"bsc:group-data-checked/checkbox:group-not-data-read-only/checkbox:animate-bounce bsc:group-data-partial/checkbox:group-not-data-read-only/checkbox:animate-bounce bsc:group-data-checked/checkbox:group-data-read-only/checkbox:[transform:scale(1)] bsc:group-data-partial/checkbox:group-data-read-only/checkbox:[transform:scale(1)]":M,"bsc:group-data-checked/checkbox:[transform:scale(1)] bsc:group-data-partial/checkbox:[transform:scale(1)]":!M});return P.jsxs(aa,{className:h,children:[n&&l===rt.Left&&P.jsx(kt,{label:n,readOnly:i,className:f}),P.jsx(Pi,{ref:a,name:t,value:r,checked:o,partial:c,readOnly:i,className:$,onChange:w,children:P.jsxs("svg",{viewBox:"0 0 21 21",className:k,children:[P.jsx("polyline",{className:"bsc:[visibility:hidden] bsc:group-data-checked/checkbox:visible",points:"5 10.75 8.5 14.25 16 6"}),P.jsx("polyline",{className:"bsc:[visibility:hidden] bsc:group-data-partial/checkbox:visible",points:"6 10.5 16 10.5"})]})}),n&&l===rt.Right&&P.jsx(kt,{label:n,readOnly:i,className:f})]})},Ti=p.memo(p.forwardRef(Cc)),sn=e=>e==null?!1:typeof e=="object",Di=e=>e instanceof Date,Ei=e=>typeof e=="function",Ni=e=>{const a=typeof e;return a==="string"||a==="number"||a==="boolean"||a==="bigint"},Hn=e=>{if(!sn(e))return e;const a={},t=Object.keys(e);for(let n=0,r=t.length;n<r;n++){const i=t[n],o=e[i];Ni(o)||Ei(o)?a[i]=o:Di(o)?a[i]=new Date(o.getTime()):Array.isArray(o)?a[i]=In(o):sn(o)&&(a[i]=Hn(o))}return a},In=e=>{let a=e.length;const t=new Array(a);for(;a--!==0;){const n=e[a];Ni(n)||Ei(n)?t[a]=n:Di(n)?t[a]=new Date(n.getTime()):sn(n)&&!Array.isArray(n)?t[a]=Hn(n):Array.isArray(n)?t[a]=In(n):t[a]=n}return t},zc=e=>sn(e)?Array.isArray(e)?In(e):Hn(e):e;function _c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oc=function e(a,t){if(a===t)return!0;if(a&&t&&typeof a=="object"&&typeof t=="object"){if(a.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(a)){if(n=a.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!e(a[r],t[r]))return!1;return!0}if(a.constructor===RegExp)return a.source===t.source&&a.flags===t.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===t.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===t.toString();if(i=Object.keys(a),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){var o=i[r];if(!e(a[o],t[o]))return!1}return!0}return a!==a&&t!==t};const Vc=_c(Oc);function Hc(e,a){for(let t=e.length;t--!==0;)if(!Vc(e[t],a[t]))return!0;return!1}function WZ(e){return e}const Fn=(e,a)=>{const t=p.useRef([]),n=t.current.length>0&&t.current[0]&&Hc(t.current[0],a);return(t.current.length===0||n)&&(t.current=[zc(a),e()]),t.current[1]},Ic=e=>{const[a,t]=p.useState(e),n=p.useRef(e);return n.current!==a&&(n.current=a),[a,t,n]},Fc=({name:e,label:a,value:t,data:n,textField:r,valueField:i,readOnly:o=!1,orientation:c=Le.Vertical,className:l,onChange:b})=>{const[g,w]=p.useState([]),M=Fn(()=>n,[n]);p.useEffect(()=>{w(t??[])},[t]);const h=j=>{if(j){const{value:A}=j;w(A??[]),b==null||b({name:e,value:A})}},f=(j,A)=>P.jsx(Ti,{label:j[r],value:j[i],className:"bsc:mr-3"},`${e}_checkbox_${A}`),v=ve("bsc:flex bsc:flex-col bsc:gap-1",l),$=ve("bsc:flex bsc:gap-1",{"bsc:flex-col":c===Le.Vertical}),k=j=>P.jsx($i,{name:e,value:g,readOnly:o,onChange:h,className:$,children:j.map(f)});return P.jsxs("div",{className:v,children:[a&&P.jsx(kt,{label:a,readOnly:o}),M&&k(M)]})},Ac=p.memo(Fc);var Ci=typeof global=="object"&&global&&global.Object===Object&&global,Lc=typeof self=="object"&&self&&self.Object===Object&&self,ot=Ci||Lc||Function("return this")(),na=ot.Symbol,zi=Object.prototype,Xc=zi.hasOwnProperty,Rc=zi.toString,za=na?na.toStringTag:void 0;function Yc(e){var a=Xc.call(e,za),t=e[za];try{e[za]=void 0;var n=!0}catch{}var r=Rc.call(e);return n&&(a?e[za]=t:delete e[za]),r}var qc=Object.prototype,Gc=qc.toString;function Qc(e){return Gc.call(e)}var Kc="[object Null]",Jc="[object Undefined]",_i=na?na.toStringTag:void 0;function ra(e){return e==null?e===void 0?Jc:Kc:_i&&_i in Object(e)?Yc(e):Qc(e)}function ia(e){return e!=null&&typeof e=="object"}var Bc="[object Symbol]";function Uc(e){return typeof e=="symbol"||ia(e)&&ra(e)==Bc}var An=Array.isArray,Zc=/\s/;function el(e){for(var a=e.length;a--&&Zc.test(e.charAt(a)););return a}var tl=/^\s+/;function al(e){return e&&e.slice(0,el(e)+1).replace(tl,"")}function jt(e){var a=typeof e;return e!=null&&(a=="object"||a=="function")}var Oi=NaN,nl=/^[-+]0x[0-9a-f]+$/i,rl=/^0b[01]+$/i,il=/^0o[0-7]+$/i,ol=parseInt;function Vi(e){if(typeof e=="number")return e;if(Uc(e))return Oi;if(jt(e)){var a=typeof e.valueOf=="function"?e.valueOf():e;e=jt(a)?a+"":a}if(typeof e!="string")return e===0?e:+e;e=al(e);var t=rl.test(e);return t||il.test(e)?ol(e.slice(2),t?2:8):nl.test(e)?Oi:+e}var sl="[object AsyncFunction]",ul="[object Function]",dl="[object GeneratorFunction]",cl="[object Proxy]";function Hi(e){if(!jt(e))return!1;var a=ra(e);return a==ul||a==dl||a==sl||a==cl}var Ln=ot["__core-js_shared__"],Ii=function(){var e=/[^.]+$/.exec(Ln&&Ln.keys&&Ln.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function ll(e){return!!Ii&&Ii in e}var ml=Function.prototype,hl=ml.toString;function It(e){if(e!=null){try{return hl.call(e)}catch{}try{return e+""}catch{}}return""}var fl=/[\\^$.*+?()[\]{}|]/g,gl=/^\[object .+?Constructor\]$/,pl=Function.prototype,bl=Object.prototype,vl=pl.toString,yl=bl.hasOwnProperty,wl=RegExp("^"+vl.call(yl).replace(fl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Pl(e){if(!jt(e)||ll(e))return!1;var a=Hi(e)?wl:gl;return a.test(It(e))}function kl(e,a){return e==null?void 0:e[a]}function Ft(e,a){var t=kl(e,a);return Pl(t)?t:void 0}var Xn=Ft(ot,"WeakMap"),Fi=Object.create,Ml=function(){function e(){}return function(a){if(!jt(a))return{};if(Fi)return Fi(a);e.prototype=a;var t=new e;return e.prototype=void 0,t}}(),Ai=function(){try{var e=Ft(Object,"defineProperty");return e({},"",{}),e}catch{}}();function $l(e,a){for(var t=-1,n=e==null?0:e.length;++t<n&&a(e[t],t,e)!==!1;);return e}var Wl=9007199254740991,xl=/^(?:0|[1-9]\d*)$/;function jl(e,a){var t=typeof e;return a=a??Wl,!!a&&(t=="number"||t!="symbol"&&xl.test(e))&&e>-1&&e%1==0&&e<a}function Sl(e,a,t){a=="__proto__"&&Ai?Ai(e,a,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[a]=t}function Li(e,a){return e===a||e!==e&&a!==a}var Tl=Object.prototype,Dl=Tl.hasOwnProperty;function El(e,a,t){var n=e[a];(!(Dl.call(e,a)&&Li(n,t))||t===void 0&&!(a in e))&&Sl(e,a,t)}var Nl=9007199254740991;function Xi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Nl}function Cl(e){return e!=null&&Xi(e.length)&&!Hi(e)}var zl=Object.prototype;function Ri(e){var a=e&&e.constructor,t=typeof a=="function"&&a.prototype||zl;return e===t}function _l(e,a){for(var t=-1,n=Array(e);++t<e;)n[t]=a(t);return n}var Ol="[object Arguments]";function Yi(e){return ia(e)&&ra(e)==Ol}var qi=Object.prototype,Vl=qi.hasOwnProperty,Hl=qi.propertyIsEnumerable,Il=Yi(function(){return arguments}())?Yi:function(e){return ia(e)&&Vl.call(e,"callee")&&!Hl.call(e,"callee")};function Fl(){return!1}var Gi=typeof ue=="object"&&ue&&!ue.nodeType&&ue,Qi=Gi&&typeof module=="object"&&module&&!module.nodeType&&module,Al=Qi&&Qi.exports===Gi,Ki=Al?ot.Buffer:void 0,Ll=Ki?Ki.isBuffer:void 0,Ji=Ll||Fl,Xl="[object Arguments]",Rl="[object Array]",Yl="[object Boolean]",ql="[object Date]",Gl="[object Error]",Ql="[object Function]",Kl="[object Map]",Jl="[object Number]",Bl="[object Object]",Ul="[object RegExp]",Zl="[object Set]",em="[object String]",tm="[object WeakMap]",am="[object ArrayBuffer]",nm="[object DataView]",rm="[object Float32Array]",im="[object Float64Array]",om="[object Int8Array]",sm="[object Int16Array]",um="[object Int32Array]",dm="[object Uint8Array]",cm="[object Uint8ClampedArray]",lm="[object Uint16Array]",mm="[object Uint32Array]",Se={};Se[rm]=Se[im]=Se[om]=Se[sm]=Se[um]=Se[dm]=Se[cm]=Se[lm]=Se[mm]=!0,Se[Xl]=Se[Rl]=Se[am]=Se[Yl]=Se[nm]=Se[ql]=Se[Gl]=Se[Ql]=Se[Kl]=Se[Jl]=Se[Bl]=Se[Ul]=Se[Zl]=Se[em]=Se[tm]=!1;function hm(e){return ia(e)&&Xi(e.length)&&!!Se[ra(e)]}function Rn(e){return function(a){return e(a)}}var Bi=typeof ue=="object"&&ue&&!ue.nodeType&&ue,_a=Bi&&typeof module=="object"&&module&&!module.nodeType&&module,fm=_a&&_a.exports===Bi,Yn=fm&&Ci.process,oa=function(){try{var e=_a&&_a.require&&_a.require("util").types;return e||Yn&&Yn.binding&&Yn.binding("util")}catch{}}(),Ui=oa&&oa.isTypedArray,gm=Ui?Rn(Ui):hm,pm=Object.prototype,bm=pm.hasOwnProperty;function vm(e,a){var t=An(e),n=!t&&Il(e),r=!t&&!n&&Ji(e),i=!t&&!n&&!r&&gm(e),o=t||n||r||i,c=o?_l(e.length,String):[],l=c.length;for(var b in e)bm.call(e,b)&&!(o&&(b=="length"||r&&(b=="offset"||b=="parent")||i&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||jl(b,l)))&&c.push(b);return c}function Zi(e,a){return function(t){return e(a(t))}}var ym=Zi(Object.keys,Object),wm=Object.prototype,Pm=wm.hasOwnProperty;function km(e){if(!Ri(e))return ym(e);var a=[];for(var t in Object(e))Pm.call(e,t)&&t!="constructor"&&a.push(t);return a}function Mm(e){return Cl(e)?vm(e):km(e)}var Oa=Ft(Object,"create");function $m(){this.__data__=Oa?Oa(null):{},this.size=0}function Wm(e){var a=this.has(e)&&delete this.__data__[e];return this.size-=a?1:0,a}var xm="__lodash_hash_undefined__",jm=Object.prototype,Sm=jm.hasOwnProperty;function Tm(e){var a=this.__data__;if(Oa){var t=a[e];return t===xm?void 0:t}return Sm.call(a,e)?a[e]:void 0}var Dm=Object.prototype,Em=Dm.hasOwnProperty;function Nm(e){var a=this.__data__;return Oa?a[e]!==void 0:Em.call(a,e)}var Cm="__lodash_hash_undefined__";function zm(e,a){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Oa&&a===void 0?Cm:a,this}function At(e){var a=-1,t=e==null?0:e.length;for(this.clear();++a<t;){var n=e[a];this.set(n[0],n[1])}}At.prototype.clear=$m,At.prototype.delete=Wm,At.prototype.get=Tm,At.prototype.has=Nm,At.prototype.set=zm;function _m(){this.__data__=[],this.size=0}function un(e,a){for(var t=e.length;t--;)if(Li(e[t][0],a))return t;return-1}var Om=Array.prototype,Vm=Om.splice;function Hm(e){var a=this.__data__,t=un(a,e);if(t<0)return!1;var n=a.length-1;return t==n?a.pop():Vm.call(a,t,1),--this.size,!0}function Im(e){var a=this.__data__,t=un(a,e);return t<0?void 0:a[t][1]}function Fm(e){return un(this.__data__,e)>-1}function Am(e,a){var t=this.__data__,n=un(t,e);return n<0?(++this.size,t.push([e,a])):t[n][1]=a,this}function Mt(e){var a=-1,t=e==null?0:e.length;for(this.clear();++a<t;){var n=e[a];this.set(n[0],n[1])}}Mt.prototype.clear=_m,Mt.prototype.delete=Hm,Mt.prototype.get=Im,Mt.prototype.has=Fm,Mt.prototype.set=Am;var Va=Ft(ot,"Map");function Lm(){this.size=0,this.__data__={hash:new At,map:new(Va||Mt),string:new At}}function Xm(e){var a=typeof e;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?e!=="__proto__":e===null}function dn(e,a){var t=e.__data__;return Xm(a)?t[typeof a=="string"?"string":"hash"]:t.map}function Rm(e){var a=dn(this,e).delete(e);return this.size-=a?1:0,a}function Ym(e){return dn(this,e).get(e)}function qm(e){return dn(this,e).has(e)}function Gm(e,a){var t=dn(this,e),n=t.size;return t.set(e,a),this.size+=t.size==n?0:1,this}function sa(e){var a=-1,t=e==null?0:e.length;for(this.clear();++a<t;){var n=e[a];this.set(n[0],n[1])}}sa.prototype.clear=Lm,sa.prototype.delete=Rm,sa.prototype.get=Ym,sa.prototype.has=qm,sa.prototype.set=Gm;function Qm(e,a){for(var t=-1,n=a.length,r=e.length;++t<n;)e[r+t]=a[t];return e}var Km=Zi(Object.getPrototypeOf,Object);function Jm(){this.__data__=new Mt,this.size=0}function Bm(e){var a=this.__data__,t=a.delete(e);return this.size=a.size,t}function Um(e){return this.__data__.get(e)}function Zm(e){return this.__data__.has(e)}var eh=200;function th(e,a){var t=this.__data__;if(t instanceof Mt){var n=t.__data__;if(!Va||n.length<eh-1)return n.push([e,a]),this.size=++t.size,this;t=this.__data__=new sa(n)}return t.set(e,a),this.size=t.size,this}function ua(e){var a=this.__data__=new Mt(e);this.size=a.size}ua.prototype.clear=Jm,ua.prototype.delete=Bm,ua.prototype.get=Um,ua.prototype.has=Zm,ua.prototype.set=th;var eo=typeof ue=="object"&&ue&&!ue.nodeType&&ue,to=eo&&typeof module=="object"&&module&&!module.nodeType&&module,ah=to&&to.exports===eo,ao=ah?ot.Buffer:void 0;ao&&ao.allocUnsafe;function nh(e,a){return e.slice()}function rh(e,a){for(var t=-1,n=e==null?0:e.length,r=0,i=[];++t<n;){var o=e[t];a(o,t,e)&&(i[r++]=o)}return i}function ih(){return[]}var oh=Object.prototype,sh=oh.propertyIsEnumerable,no=Object.getOwnPropertySymbols,uh=no?function(e){return e==null?[]:(e=Object(e),rh(no(e),function(a){return sh.call(e,a)}))}:ih;function dh(e,a,t){var n=a(e);return An(e)?n:Qm(n,t(e))}function ch(e){return dh(e,Mm,uh)}var qn=Ft(ot,"DataView"),Gn=Ft(ot,"Promise"),Qn=Ft(ot,"Set"),ro="[object Map]",lh="[object Object]",io="[object Promise]",oo="[object Set]",so="[object WeakMap]",uo="[object DataView]",mh=It(qn),hh=It(Va),fh=It(Gn),gh=It(Qn),ph=It(Xn),$t=ra;(qn&&$t(new qn(new ArrayBuffer(1)))!=uo||Va&&$t(new Va)!=ro||Gn&&$t(Gn.resolve())!=io||Qn&&$t(new Qn)!=oo||Xn&&$t(new Xn)!=so)&&($t=function(e){var a=ra(e),t=a==lh?e.constructor:void 0,n=t?It(t):"";if(n)switch(n){case mh:return uo;case hh:return ro;case fh:return io;case gh:return oo;case ph:return so}return a});var bh=Object.prototype,vh=bh.hasOwnProperty;function yh(e){var a=e.length,t=new e.constructor(a);return a&&typeof e[0]=="string"&&vh.call(e,"index")&&(t.index=e.index,t.input=e.input),t}var co=ot.Uint8Array;function Kn(e){var a=new e.constructor(e.byteLength);return new co(a).set(new co(e)),a}function wh(e,a){var t=Kn(e.buffer);return new e.constructor(t,e.byteOffset,e.byteLength)}var Ph=/\w*$/;function kh(e){var a=new e.constructor(e.source,Ph.exec(e));return a.lastIndex=e.lastIndex,a}var lo=na?na.prototype:void 0,mo=lo?lo.valueOf:void 0;function Mh(e){return mo?Object(mo.call(e)):{}}function $h(e,a){var t=Kn(e.buffer);return new e.constructor(t,e.byteOffset,e.length)}var Wh="[object Boolean]",xh="[object Date]",jh="[object Map]",Sh="[object Number]",Th="[object RegExp]",Dh="[object Set]",Eh="[object String]",Nh="[object Symbol]",Ch="[object ArrayBuffer]",zh="[object DataView]",_h="[object Float32Array]",Oh="[object Float64Array]",Vh="[object Int8Array]",Hh="[object Int16Array]",Ih="[object Int32Array]",Fh="[object Uint8Array]",Ah="[object Uint8ClampedArray]",Lh="[object Uint16Array]",Xh="[object Uint32Array]";function Rh(e,a,t){var n=e.constructor;switch(a){case Ch:return Kn(e);case Wh:case xh:return new n(+e);case zh:return wh(e);case _h:case Oh:case Vh:case Hh:case Ih:case Fh:case Ah:case Lh:case Xh:return $h(e);case jh:return new n;case Sh:case Eh:return new n(e);case Th:return kh(e);case Dh:return new n;case Nh:return Mh(e)}}function Yh(e){return typeof e.constructor=="function"&&!Ri(e)?Ml(Km(e)):{}}var qh="[object Map]";function Gh(e){return ia(e)&&$t(e)==qh}var ho=oa&&oa.isMap,Qh=ho?Rn(ho):Gh,Kh="[object Set]";function Jh(e){return ia(e)&&$t(e)==Kh}var fo=oa&&oa.isSet,Bh=fo?Rn(fo):Jh,go="[object Arguments]",Uh="[object Array]",Zh="[object Boolean]",ef="[object Date]",tf="[object Error]",po="[object Function]",af="[object GeneratorFunction]",nf="[object Map]",rf="[object Number]",bo="[object Object]",of="[object RegExp]",sf="[object Set]",uf="[object String]",df="[object Symbol]",cf="[object WeakMap]",lf="[object ArrayBuffer]",mf="[object DataView]",hf="[object Float32Array]",ff="[object Float64Array]",gf="[object Int8Array]",pf="[object Int16Array]",bf="[object Int32Array]",vf="[object Uint8Array]",yf="[object Uint8ClampedArray]",wf="[object Uint16Array]",Pf="[object Uint32Array]",xe={};xe[go]=xe[Uh]=xe[lf]=xe[mf]=xe[Zh]=xe[ef]=xe[hf]=xe[ff]=xe[gf]=xe[pf]=xe[bf]=xe[nf]=xe[rf]=xe[bo]=xe[of]=xe[sf]=xe[uf]=xe[df]=xe[vf]=xe[yf]=xe[wf]=xe[Pf]=!0,xe[tf]=xe[po]=xe[cf]=!1;function cn(e,a,t,n,r,i){var o;if(o!==void 0)return o;if(!jt(e))return e;var c=An(e);if(c)o=yh(e);else{var l=$t(e),b=l==po||l==af;if(Ji(e))return nh(e);if(l==bo||l==go||b&&!r)o=b?{}:Yh(e);else{if(!xe[l])return r?e:{};o=Rh(e,l)}}i||(i=new ua);var g=i.get(e);if(g)return g;i.set(e,o),Bh(e)?e.forEach(function(h){o.add(cn(h,a,t,h,e,i))}):Qh(e)&&e.forEach(function(h,f){o.set(f,cn(h,a,t,f,e,i))});var w=ch,M=c?void 0:w(e);return $l(M||e,function(h,f){M&&(f=h,h=e[f]),El(o,f,cn(h,a,t,f,e,i))}),o}var kf=1,Mf=4;function $f(e){return cn(e,kf|Mf)}var Jn=function(){return ot.Date.now()},Wf="Expected a function",xf=Math.max,jf=Math.min;function Ha(e,a,t){var n,r,i,o,c,l,b=0,g=!1,w=!1,M=!0;if(typeof e!="function")throw new TypeError(Wf);a=Vi(a)||0,jt(t)&&(g=!!t.leading,w="maxWait"in t,i=w?xf(Vi(t.maxWait)||0,a):i,M="trailing"in t?!!t.trailing:M);function h(U){var V=n,Q=r;return n=r=void 0,b=U,o=e.apply(Q,V),o}function f(U){return b=U,c=setTimeout(k,a),g?h(U):o}function v(U){var V=U-l,Q=U-b,R=a-V;return w?jf(R,i-Q):R}function $(U){var V=U-l,Q=U-b;return l===void 0||V>=a||V<0||w&&Q>=i}function k(){var U=Jn();if($(U))return j(U);c=setTimeout(k,v(U))}function j(U){return c=void 0,M&&n?h(U):(n=r=void 0,o)}function A(){c!==void 0&&clearTimeout(c),b=0,n=l=r=c=void 0}function H(){return c===void 0?o:j(Jn())}function S(){var U=Jn(),V=$(U);if(n=arguments,r=this,l=U,V){if(c===void 0)return f(l);if(w)return clearTimeout(c),c=setTimeout(k,a),h(l)}return c===void 0&&(c=setTimeout(k,a)),o}return S.cancel=A,S.flush=H,S}var Sf="Expected a function";function Tf(e,a,t){var n=!0,r=!0;if(typeof e!="function")throw new TypeError(Sf);return jt(t)&&(n="leading"in t?!0:n,r="trailing"in t?!!t.trailing:r),Ha(e,a,{leading:n,maxWait:a,trailing:r})}const Df=(e,a)=>{const{value:t,readOnly:n=!1,debounceTime:r=800,fillContainer:i=!0,leftElement:o,rightElement:c,className:l,leftElementClassName:b,rightElementClassName:g,isSingleLine:w=!0,allowSingleLineScroll:M=!1,inputMode:h,placeholder:f,onFocus:v,onBlur:$,onInput:k,onInnerTextChange:j,onInnerHTMLChange:A,onElementCreate:H,onLeftElementClick:S,onRightElementClick:U}=e,V=p.useRef("bsc:grow bsc:focus:outline-hidden"),Q=p.useRef("bsc:text-gray-4"),R=p.useRef(),se=p.useCallback(D=>{const K=D.target,re=K.innerHTML;K.className=`${V.current}`,f&&re===f&&(K.innerHTML=""),v==null||v(D)},[f,v]),de=p.useCallback(D=>{const K=D.target.innerHTML;if(f&&K===""){const re=D.target;re.innerHTML=f,re.className=`${V.current} ${Q.current}`}$==null||$(D)},[f,$]),q=p.useCallback(D=>{var K,re;(K=R.current)==null||K.removeEventListener("focus",se),(re=R.current)==null||re.removeEventListener("blur",de),f&&D&&D!==document.activeElement&&D.innerHTML===""&&(D.innerHTML=f,D.className=`${V.current} ${Q.current}`),D.addEventListener("focus",se),D.addEventListener("blur",de),R.current=D},[f]),X=p.useCallback(D=>{H==null||H(D)},[H]),_=D=>{S==null||S(D)},Z=D=>{U==null||U(D)},L=Ha(D=>{k==null||k(D),j==null||j(D.target.innerText),A==null||A(D.target.innerHTML)},r),ee=p.useCallback(D=>{R.current&&(R.current.innerText=D)},[]),z=p.useCallback(D=>{R.current&&(R.current.innerHTML=D)},[]),fe=p.useCallback(()=>{var D;(D=R.current)==null||D.focus()},[]);p.useImperativeHandle(a,()=>({inputElement:R.current,setInnerText:ee,setInnerHTML:z,focus:fe}));const T=ve({"bsc:w-full ":i},"bsc:flex bsc:flex-row bsc:items-center bsc:shadow-sm bsc:border bsc:border-solid bsc:border-gray-3 bsc:dark:border-white bsc:dark:bg-mono-dark-1 bsc:dark:text-mono-light-1 bsc:rounded-md bsc:p-2",{"bsc:overflow-x-auto bsc:overflow-y-hidden bsc:whitespace-pre":w&&M,"bsc:overflow-hidden bsc:whitespace-pre":w&&!M},l),O=ve("bsc:shrink",{"bsc:mr-2":o},b),N=ve("bsc:shrink",{"bsc:ml-2":c},g);return P.jsxs("div",{className:T,ref:D=>D&&X(D),children:[o&&P.jsx("div",{className:O,onClick:_,children:o}),P.jsx("div",{ref:D=>D&&q(D),className:V.current,contentEditable:!n,suppressContentEditableWarning:!0,inputMode:h,onInput:L,children:t}),c&&P.jsx("div",{className:N,onClick:Z,children:c})]})},ln=p.forwardRef(Df);function he(e){const a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function je(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function da(e,a){const t=he(e);return isNaN(a)?je(e,NaN):(a&&t.setDate(t.getDate()+a),t)}function St(e,a){const t=he(e);if(isNaN(a))return je(e,NaN);if(!a)return t;const n=t.getDate(),r=je(e,t.getTime());r.setMonth(t.getMonth()+a+1,0);const i=r.getDate();return n>=i?r:(t.setFullYear(r.getFullYear(),r.getMonth(),n),t)}const vo=6048e5,Bn=6e4,Un=36e5,Ef=1e3;let Nf={};function Ia(){return Nf}function mt(e,a){var c,l,b,g;const t=Ia(),n=(a==null?void 0:a.weekStartsOn)??((l=(c=a==null?void 0:a.locale)==null?void 0:c.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((g=(b=t.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,r=he(e),i=r.getDay(),o=(i<n?7:0)+i-n;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function ca(e){return mt(e,{weekStartsOn:1})}function Cf(e){const a=he(e),t=a.getFullYear(),n=je(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);const r=ca(n),i=je(e,0);i.setFullYear(t,0,4),i.setHours(0,0,0,0);const o=ca(i);return a.getTime()>=r.getTime()?t+1:a.getTime()>=o.getTime()?t:t-1}function yo(e){const a=he(e);return a.setHours(0,0,0,0),a}function wo(e){const a=he(e),t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),+e-+t}function zf(e){const a=Cf(e),t=je(e,0);return t.setFullYear(a,0,4),t.setHours(0,0,0,0),ca(t)}function Fa(e,a){return St(e,a*12)}function Po(e,a){const t=yo(e),n=yo(a);return+t==+n}function _f(e){const a=he(e),t=a.getMonth();return a.setFullYear(a.getFullYear(),t+1,0),a.setHours(23,59,59,999),a}function Of(e,a){const t=he(e.start),n=he(e.end);let r=+t>+n;const i=r?+t:+n,o=r?n:t;o.setHours(0,0,0,0);let c=1;const l=[];for(;+o<=i;)l.push(he(o)),o.setDate(o.getDate()+c),o.setHours(0,0,0,0);return r?l.reverse():l}function ko(e){const a=he(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Vf(e,a){const t=he(e.start),n=he(e.end);let r=+t>+n;const i=r?+t:+n,o=r?n:t;o.setHours(0,0,0,0),o.setMonth(0,1);let c=1;const l=[];for(;+o<=i;)l.push(he(o)),o.setFullYear(o.getFullYear()+c);return r?l.reverse():l}const Hf={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"}},Lt=(e,a,t)=>{let n;const r=Hf[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function m(e){return(a={})=>{const t=a.width?String(a.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const If={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ff={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Af={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Lf={date:m({formats:If,defaultWidth:"full"}),time:m({formats:Ff,defaultWidth:"full"}),dateTime:m({formats:Af,defaultWidth:"full"})},Xf={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Tt=(e,a,t,n)=>Xf[e];function u(e){return(a,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let r;if(n==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,c=t!=null&&t.width?String(t.width):o;r=e.formattingValues[c]||e.formattingValues[o]}else{const o=e.defaultWidth,c=t!=null&&t.width?String(t.width):e.defaultWidth;r=e.values[c]||e.values[o]}const i=e.argumentCallback?e.argumentCallback(a):a;return r[i]}}const Rf={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Yf={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},qf={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"]},Gf={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"]},Qf={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"}},Kf={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"}},Dt={ordinalNumber:(e,a)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:u({values:Rf,defaultWidth:"wide"}),quarter:u({values:Yf,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:qf,defaultWidth:"wide"}),day:u({values:Gf,defaultWidth:"wide"}),dayPeriod:u({values:Qf,defaultWidth:"wide",formattingValues:Kf,defaultFormattingWidth:"wide"})};function d(e){return(a,t={})=>{const n=t.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=a.match(r);if(!i)return null;const o=i[0],c=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(c)?Bf(c,w=>w.test(o)):Jf(c,w=>w.test(o));let b;b=e.valueCallback?e.valueCallback(l):l,b=t.valueCallback?t.valueCallback(b):b;const g=a.slice(o.length);return{value:b,rest:g}}}function Jf(e,a){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&a(e[t]))return t}function Bf(e,a){for(let t=0;t<e.length;t++)if(a(e[t]))return t}function I(e){return(a,t={})=>{const n=a.match(e.matchPattern);if(!n)return null;const r=n[0],i=a.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=t.valueCallback?t.valueCallback(o):o;const c=a.slice(r.length);return{value:o,rest:c}}}const Uf=/^(\d+)(th|st|nd|rd)?/i,Zf=/\d+/i,eg={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},tg={any:[/^b/i,/^(a|c)/i]},ag={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ng={any:[/1/i,/2/i,/3/i,/4/i]},rg={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},ig={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]},og={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},sg={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]},ug={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},dg={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}},Et={ordinalNumber:I({matchPattern:Uf,parsePattern:Zf,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:eg,defaultMatchWidth:"wide",parsePatterns:tg,defaultParseWidth:"any"}),quarter:d({matchPatterns:ag,defaultMatchWidth:"wide",parsePatterns:ng,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:rg,defaultMatchWidth:"wide",parsePatterns:ig,defaultParseWidth:"any"}),day:d({matchPatterns:og,defaultMatchWidth:"wide",parsePatterns:sg,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:ug,defaultMatchWidth:"any",parsePatterns:dg,defaultParseWidth:"any"})},Zn={code:"en-US",formatDistance:Lt,formatLong:Lf,formatRelative:Tt,localize:Dt,match:Et,options:{weekStartsOn:0,firstWeekContainsDate:1}},cg=Object.freeze(Object.defineProperty({__proto__:null,default:Zn,enUS:Zn},Symbol.toStringTag,{value:"Module"}));function lg(e){const a=he(e),t=+ca(a)-+zf(a);return Math.round(t/vo)+1}function Mo(e,a){var g,w,M,h;const t=he(e),n=t.getFullYear(),r=Ia(),i=(a==null?void 0:a.firstWeekContainsDate)??((w=(g=a==null?void 0:a.locale)==null?void 0:g.options)==null?void 0:w.firstWeekContainsDate)??r.firstWeekContainsDate??((h=(M=r.locale)==null?void 0:M.options)==null?void 0:h.firstWeekContainsDate)??1,o=je(e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);const c=mt(o,a),l=je(e,0);l.setFullYear(n,0,i),l.setHours(0,0,0,0);const b=mt(l,a);return t.getTime()>=c.getTime()?n+1:t.getTime()>=b.getTime()?n:n-1}function mg(e,a){var c,l,b,g;const t=Ia(),n=(a==null?void 0:a.firstWeekContainsDate)??((l=(c=a==null?void 0:a.locale)==null?void 0:c.options)==null?void 0:l.firstWeekContainsDate)??t.firstWeekContainsDate??((g=(b=t.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,r=Mo(e,a),i=je(e,0);return i.setFullYear(r,0,n),i.setHours(0,0,0,0),mt(i,a)}function hg(e,a){const t=he(e),n=+mt(t,a)-+mg(t,a);return Math.round(n/vo)+1}const $o=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},Wo=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},xo={p:Wo,P:(e,a)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],r=t[2];if(!r)return $o(e,a);let i;switch(n){case"P":i=a.dateTime({width:"short"});break;case"PP":i=a.dateTime({width:"medium"});break;case"PPP":i=a.dateTime({width:"long"});break;case"PPPP":default:i=a.dateTime({width:"full"});break}return i.replace("{{date}}",$o(n,a)).replace("{{time}}",Wo(r,a))}},fg=/^D+$/,gg=/^Y+$/,pg=["D","DD","YY","YYYY"];function bg(e){return fg.test(e)}function vg(e){return gg.test(e)}function jo(e,a,t){const n=yg(e,a,t);if(console.warn(n),pg.includes(e))throw new RangeError(n)}function yg(e,a,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function er(e){return he(e).getDay()}function So(e){const a=he(e),t=a.getFullYear(),n=a.getMonth(),r=je(e,0);return r.setFullYear(t,n+1,0),r.setHours(0,0,0,0),r.getDate()}function wg(){return Object.assign({},Ia())}function Pg(e){let t=he(e).getDay();return t===0&&(t=7),t}function kg(e){const a=he(e),t=a.getMonth();return a.setFullYear(a.getFullYear(),t+1,0),a.setHours(0,0,0,0),a}function Mg(e,a){const t=he(e),n=he(a);return+t<+n}function $g(e,a){const t=a instanceof Date?je(a,0):new a(0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}const Wg=10;class To{constructor(){x(this,"subPriority",0)}validate(a,t){return!0}}class xg extends To{constructor(a,t,n,r,i){super(),this.value=a,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}validate(a,t){return this.validateValue(a,this.value,t)}set(a,t,n){return this.setValue(a,t,this.value,n)}}class jg extends To{constructor(){super(...arguments);x(this,"priority",Wg);x(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:je(t,$g(t,Date))}}class ye{run(a,t,n,r){const i=this.parse(a,t,n,r);return i?{setter:new xg(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(a,t,n){return!0}}class Sg extends ye{constructor(){super(...arguments);x(this,"priority",140);x(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,r){switch(n){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});case"GGGG":default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,n,r){return n.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}const Ve={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}/},ht={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 He(e,a){return e&&{value:a(e.value),rest:e.rest}}function Ne(e,a){const t=a.match(e);return t?{value:parseInt(t[0],10),rest:a.slice(t[0].length)}:null}function ft(e,a){const t=a.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:a.slice(1)};const n=t[1]==="+"?1:-1,r=t[2]?parseInt(t[2],10):0,i=t[3]?parseInt(t[3],10):0,o=t[5]?parseInt(t[5],10):0;return{value:n*(r*Un+i*Bn+o*Ef),rest:a.slice(t[0].length)}}function Do(e){return Ne(Ve.anyDigitsSigned,e)}function Ce(e,a){switch(e){case 1:return Ne(Ve.singleDigit,a);case 2:return Ne(Ve.twoDigits,a);case 3:return Ne(Ve.threeDigits,a);case 4:return Ne(Ve.fourDigits,a);default:return Ne(new RegExp("^\\d{1,"+e+"}"),a)}}function mn(e,a){switch(e){case 1:return Ne(Ve.singleDigitSigned,a);case 2:return Ne(Ve.twoDigitsSigned,a);case 3:return Ne(Ve.threeDigitsSigned,a);case 4:return Ne(Ve.fourDigitsSigned,a);default:return Ne(new RegExp("^-?\\d{1,"+e+"}"),a)}}function tr(e){switch(e){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 Eo(e,a){const t=a>0,n=t?a:1-a;let r;if(n<=50)r=e||100;else{const i=n+50,o=Math.trunc(i/100)*100,c=e>=i%100;r=e+o-(c?100:0)}return t?r:1-r}function No(e){return e%400===0||e%4===0&&e%100!==0}class Tg extends ye{constructor(){super(...arguments);x(this,"priority",130);x(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,r){const i=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return He(Ce(4,t),i);case"yo":return He(r.ordinalNumber(t,{unit:"year"}),i);default:return He(Ce(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r){const i=t.getFullYear();if(r.isTwoDigitYear){const c=Eo(r.year,i);return t.setFullYear(c,0,1),t.setHours(0,0,0,0),t}const o=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class Dg extends ye{constructor(){super(...arguments);x(this,"priority",130);x(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,r){const i=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return He(Ce(4,t),i);case"Yo":return He(r.ordinalNumber(t,{unit:"year"}),i);default:return He(Ce(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r,i){const o=Mo(t,i);if(r.isTwoDigitYear){const l=Eo(r.year,o);return t.setFullYear(l,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),mt(t,i)}const c=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(c,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),mt(t,i)}}class Eg extends ye{constructor(){super(...arguments);x(this,"priority",130);x(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return mn(n==="R"?4:n.length,t)}set(t,n,r){const i=je(t,0);return i.setFullYear(r,0,4),i.setHours(0,0,0,0),ca(i)}}class Ng extends ye{constructor(){super(...arguments);x(this,"priority",130);x(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return mn(n==="u"?4:n.length,t)}set(t,n,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}class Cg extends ye{constructor(){super(...arguments);x(this,"priority",120);x(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"Q":case"QQ":return Ce(n.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class zg extends ye{constructor(){super(...arguments);x(this,"priority",120);x(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"q":case"qq":return Ce(n.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class _g extends ye{constructor(){super(...arguments);x(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);x(this,"priority",110)}parse(t,n,r){const i=o=>o-1;switch(n){case"M":return He(Ne(Ve.month,t),i);case"MM":return He(Ce(2,t),i);case"Mo":return He(r.ordinalNumber(t,{unit:"month"}),i);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}class Og extends ye{constructor(){super(...arguments);x(this,"priority",110);x(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,r){const i=o=>o-1;switch(n){case"L":return He(Ne(Ve.month,t),i);case"LL":return He(Ce(2,t),i);case"Lo":return He(r.ordinalNumber(t,{unit:"month"}),i);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}function Vg(e,a,t){const n=he(e),r=hg(n,t)-a;return n.setDate(n.getDate()-r*7),n}class Hg extends ye{constructor(){super(...arguments);x(this,"priority",100);x(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,r){switch(n){case"w":return Ne(Ve.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return Ce(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r,i){return mt(Vg(t,r,i),i)}}function Ig(e,a){const t=he(e),n=lg(t)-a;return t.setDate(t.getDate()-n*7),t}class Fg extends ye{constructor(){super(...arguments);x(this,"priority",100);x(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,r){switch(n){case"I":return Ne(Ve.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return Ce(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r){return ca(Ig(t,r))}}const Ag=[31,28,31,30,31,30,31,31,30,31,30,31],Lg=[31,29,31,30,31,30,31,31,30,31,30,31];class Xg extends ye{constructor(){super(...arguments);x(this,"priority",90);x(this,"subPriority",1);x(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"d":return Ne(Ve.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return Ce(n.length,t)}}validate(t,n){const r=t.getFullYear(),i=No(r),o=t.getMonth();return i?n>=1&&n<=Lg[o]:n>=1&&n<=Ag[o]}set(t,n,r){return t.setDate(r),t.setHours(0,0,0,0),t}}class Rg extends ye{constructor(){super(...arguments);x(this,"priority",90);x(this,"subpriority",1);x(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,r){switch(n){case"D":case"DD":return Ne(Ve.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return Ce(n.length,t)}}validate(t,n){const r=t.getFullYear();return No(r)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}}function ar(e,a,t){var w,M,h,f;const n=Ia(),r=(t==null?void 0:t.weekStartsOn)??((M=(w=t==null?void 0:t.locale)==null?void 0:w.options)==null?void 0:M.weekStartsOn)??n.weekStartsOn??((f=(h=n.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??0,i=he(e),o=i.getDay(),l=(a%7+7)%7,b=7-r,g=a<0||a>6?a-(o+b)%7:(l+b)%7-(o+b)%7;return da(i,g)}class Yg extends ye{constructor(){super(...arguments);x(this,"priority",90);x(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,i){return t=ar(t,r,i),t.setHours(0,0,0,0),t}}class qg extends ye{constructor(){super(...arguments);x(this,"priority",90);x(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,r,i){const o=c=>{const l=Math.floor((c-1)/7)*7;return(c+i.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return He(Ce(n.length,t),o);case"eo":return He(r.ordinalNumber(t,{unit:"day"}),o);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,i){return t=ar(t,r,i),t.setHours(0,0,0,0),t}}class Gg extends ye{constructor(){super(...arguments);x(this,"priority",90);x(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,r,i){const o=c=>{const l=Math.floor((c-1)/7)*7;return(c+i.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return He(Ce(n.length,t),o);case"co":return He(r.ordinalNumber(t,{unit:"day"}),o);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,i){return t=ar(t,r,i),t.setHours(0,0,0,0),t}}function Qg(e,a){const t=he(e),n=Pg(t),r=a-n;return da(t,r)}class Kg extends ye{constructor(){super(...arguments);x(this,"priority",90);x(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,r){const i=o=>o===0?7:o;switch(n){case"i":case"ii":return Ce(n.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return He(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i);case"iiiii":return He(r.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return He(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return He(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,n){return n>=1&&n<=7}set(t,n,r){return t=Qg(t,r),t.setHours(0,0,0,0),t}}class Jg extends ye{constructor(){super(...arguments);x(this,"priority",80);x(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,r){switch(n){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(tr(r),0,0,0),t}}class Bg extends ye{constructor(){super(...arguments);x(this,"priority",80);x(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,r){switch(n){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(tr(r),0,0,0),t}}class Ug extends ye{constructor(){super(...arguments);x(this,"priority",80);x(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,r){switch(n){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(tr(r),0,0,0),t}}class Zg extends ye{constructor(){super(...arguments);x(this,"priority",70);x(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,r){switch(n){case"h":return Ne(Ve.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return Ce(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,r){const i=t.getHours()>=12;return i&&r<12?t.setHours(r+12,0,0,0):!i&&r===12?t.setHours(0,0,0,0):t.setHours(r,0,0,0),t}}class ep extends ye{constructor(){super(...arguments);x(this,"priority",70);x(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,r){switch(n){case"H":return Ne(Ve.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return Ce(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,r){return t.setHours(r,0,0,0),t}}class tp extends ye{constructor(){super(...arguments);x(this,"priority",70);x(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,r){switch(n){case"K":return Ne(Ve.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return Ce(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}}class ap extends ye{constructor(){super(...arguments);x(this,"priority",70);x(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,r){switch(n){case"k":return Ne(Ve.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return Ce(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,r){const i=r<=24?r%24:r;return t.setHours(i,0,0,0),t}}class np extends ye{constructor(){super(...arguments);x(this,"priority",60);x(this,"incompatibleTokens",["t","T"])}parse(t,n,r){switch(n){case"m":return Ne(Ve.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return Ce(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setMinutes(r,0,0),t}}class rp extends ye{constructor(){super(...arguments);x(this,"priority",50);x(this,"incompatibleTokens",["t","T"])}parse(t,n,r){switch(n){case"s":return Ne(Ve.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return Ce(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setSeconds(r,0),t}}class ip extends ye{constructor(){super(...arguments);x(this,"priority",30);x(this,"incompatibleTokens",["t","T"])}parse(t,n){const r=i=>Math.trunc(i*Math.pow(10,-n.length+3));return He(Ce(n.length,t),r)}set(t,n,r){return t.setMilliseconds(r),t}}class op extends ye{constructor(){super(...arguments);x(this,"priority",10);x(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return ft(ht.basicOptionalMinutes,t);case"XX":return ft(ht.basic,t);case"XXXX":return ft(ht.basicOptionalSeconds,t);case"XXXXX":return ft(ht.extendedOptionalSeconds,t);case"XXX":default:return ft(ht.extended,t)}}set(t,n,r){return n.timestampIsSet?t:je(t,t.getTime()-wo(t)-r)}}class sp extends ye{constructor(){super(...arguments);x(this,"priority",10);x(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return ft(ht.basicOptionalMinutes,t);case"xx":return ft(ht.basic,t);case"xxxx":return ft(ht.basicOptionalSeconds,t);case"xxxxx":return ft(ht.extendedOptionalSeconds,t);case"xxx":default:return ft(ht.extended,t)}}set(t,n,r){return n.timestampIsSet?t:je(t,t.getTime()-wo(t)-r)}}class up extends ye{constructor(){super(...arguments);x(this,"priority",40);x(this,"incompatibleTokens","*")}parse(t){return Do(t)}set(t,n,r){return[je(t,r*1e3),{timestampIsSet:!0}]}}class dp extends ye{constructor(){super(...arguments);x(this,"priority",20);x(this,"incompatibleTokens","*")}parse(t){return Do(t)}set(t,n,r){return[je(t,r),{timestampIsSet:!0}]}}const cp={G:new Sg,y:new Tg,Y:new Dg,R:new Eg,u:new Ng,Q:new Cg,q:new zg,M:new _g,L:new Og,w:new Hg,I:new Fg,d:new Xg,D:new Rg,E:new Yg,e:new qg,c:new Gg,i:new Kg,a:new Jg,b:new Bg,B:new Ug,h:new Zg,H:new ep,K:new tp,k:new ap,m:new np,s:new rp,S:new ip,X:new op,x:new sp,t:new up,T:new dp},lp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,mp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,hp=/^'([^]*?)'?$/,fp=/''/g,gp=/\S/,pp=/[a-zA-Z]/;function gt(e,a,t,n){var v,$,k,j,A,H,S,U;const r=wg(),i=(n==null?void 0:n.locale)??r.locale??Zn,o=(n==null?void 0:n.firstWeekContainsDate)??(($=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:$.firstWeekContainsDate)??r.firstWeekContainsDate??((j=(k=r.locale)==null?void 0:k.options)==null?void 0:j.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((H=(A=n==null?void 0:n.locale)==null?void 0:A.options)==null?void 0:H.weekStartsOn)??r.weekStartsOn??((U=(S=r.locale)==null?void 0:S.options)==null?void 0:U.weekStartsOn)??0;if(a==="")return e===""?he(t):je(t,NaN);const l={firstWeekContainsDate:o,weekStartsOn:c,locale:i},b=[new jg],g=a.match(mp).map(V=>{const Q=V[0];if(Q in xo){const R=xo[Q];return R(V,i.formatLong)}return V}).join("").match(lp),w=[];for(let V of g){!(n!=null&&n.useAdditionalWeekYearTokens)&&vg(V)&&jo(V,a,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&bg(V)&&jo(V,a,e);const Q=V[0],R=cp[Q];if(R){const{incompatibleTokens:se}=R;if(Array.isArray(se)){const q=w.find(X=>se.includes(X.token)||X.token===Q);if(q)throw new RangeError(`The format string mustn't contain \`${q.fullToken}\` and \`${V}\` at the same time`)}else if(R.incompatibleTokens==="*"&&w.length>0)throw new RangeError(`The format string mustn't contain \`${V}\` and any other token at the same time`);w.push({token:Q,fullToken:V});const de=R.run(e,V,i.match,l);if(!de)return je(t,NaN);b.push(de.setter),e=de.rest}else{if(Q.match(pp))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Q+"`");if(V==="''"?V="'":Q==="'"&&(V=bp(V)),e.indexOf(V)===0)e=e.slice(V.length);else return je(t,NaN)}}if(e.length>0&&gp.test(e))return je(t,NaN);const M=b.map(V=>V.priority).sort((V,Q)=>Q-V).filter((V,Q,R)=>R.indexOf(V)===Q).map(V=>b.filter(Q=>Q.priority===V).sort((Q,R)=>R.subPriority-Q.subPriority)).map(V=>V[0]);let h=he(t);if(isNaN(h.getTime()))return je(t,NaN);const f={};for(const V of M){if(!V.validate(h,l))return je(t,NaN);const Q=V.set(h,f,l);Array.isArray(Q)?(h=Q[0],Object.assign(f,Q[1])):h=Q}return je(t,h)}function bp(e){return e.match(hp)[1].replace(fp,"'")}function ze(e,a,t){const n=mt(e,t),r=mt(a,t);return+n==+r}function vp(e){return Po(e,Date.now())}function yp(e,a){return da(e,-a)}function wp(e,a){let t=a-er(e);return t<=0&&(t+=7),da(e,t)}function Pp(e,a){const n=Wp(e);let r;if(n.date){const l=xp(n.date,2);r=jp(l.restDateString,l.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const i=r.getTime();let o=0,c;if(n.time&&(o=Sp(n.time),isNaN(o)))return new Date(NaN);if(n.timezone){if(c=Tp(n.timezone),isNaN(c))return new Date(NaN)}else{const l=new Date(i+o),b=new Date(0);return b.setFullYear(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()),b.setHours(l.getUTCHours(),l.getUTCMinutes(),l.getUTCSeconds(),l.getUTCMilliseconds()),b}return new Date(i+o+c)}const hn={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},kp=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Mp=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,$p=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Wp(e){const a={},t=e.split(hn.dateTimeDelimiter);let n;if(t.length>2)return a;if(/:/.test(t[0])?n=t[0]:(a.date=t[0],n=t[1],hn.timeZoneDelimiter.test(a.date)&&(a.date=e.split(hn.timeZoneDelimiter)[0],n=e.substr(a.date.length,e.length))),n){const r=hn.timezone.exec(n);r?(a.time=n.replace(r[1],""),a.timezone=r[1]):a.time=n}return a}function xp(e,a){const t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+a)+"})|(\\d{2}|[+-]\\d{"+(2+a)+"})$)"),n=e.match(t);if(!n)return{year:NaN,restDateString:""};const r=n[1]?parseInt(n[1]):null,i=n[2]?parseInt(n[2]):null;return{year:i===null?r:i*100,restDateString:e.slice((n[1]||n[2]).length)}}function jp(e,a){if(a===null)return new Date(NaN);const t=e.match(kp);if(!t)return new Date(NaN);const n=!!t[4],r=Aa(t[1]),i=Aa(t[2])-1,o=Aa(t[3]),c=Aa(t[4]),l=Aa(t[5])-1;if(n)return zp(a,c,l)?Dp(a,c,l):new Date(NaN);{const b=new Date(0);return!Np(a,i,o)||!Cp(a,r)?new Date(NaN):(b.setUTCFullYear(a,i,Math.max(r,o)),b)}}function Aa(e){return e?parseInt(e):1}function Sp(e){const a=e.match(Mp);if(!a)return NaN;const t=nr(a[1]),n=nr(a[2]),r=nr(a[3]);return _p(t,n,r)?t*Un+n*Bn+r*1e3:NaN}function nr(e){return e&&parseFloat(e.replace(",","."))||0}function Tp(e){if(e==="Z")return 0;const a=e.match($p);if(!a)return 0;const t=a[1]==="+"?-1:1,n=parseInt(a[2]),r=a[3]&&parseInt(a[3])||0;return Op(n,r)?t*(n*Un+r*Bn):NaN}function Dp(e,a,t){const n=new Date(0);n.setUTCFullYear(e,0,4);const r=n.getUTCDay()||7,i=(a-1)*7+t+1-r;return n.setUTCDate(n.getUTCDate()+i),n}const Ep=[31,null,31,30,31,30,31,31,30,31,30,31];function Co(e){return e%400===0||e%4===0&&e%100!==0}function Np(e,a,t){return a>=0&&a<=11&&t>=1&&t<=(Ep[a]||(Co(e)?29:28))}function Cp(e,a){return a>=1&&a<=(Co(e)?366:365)}function zp(e,a,t){return a>=1&&a<=53&&t>=0&&t<=6}function _p(e,a,t){return e===24?a===0&&t===0:t>=0&&t<60&&a>=0&&a<60&&e>=0&&e<25}function Op(e,a){return a>=0&&a<=59}function Vp(e,a){const t=he(e),n=t.getFullYear(),r=t.getDate(),i=je(e,0);i.setFullYear(n,a,15),i.setHours(0,0,0,0);const o=So(i);return t.setMonth(a,Math.min(r,o)),t}function Hp(e,a){const t=he(e);return isNaN(+t)?je(e,NaN):(t.setFullYear(a),t)}function rr(e,a){return St(e,-a)}function ir(e,a){return Fa(e,-a)}function zo(){return window.navigator.languages?window.navigator.languages[0]:window.navigator.language}function Ip(e,a,t){const n=[];for(let r=e;r<=a;r++)n.push(t?t(r):r);return n}function Fp(e,a){const t=e.target;return t?!a.isSameNode(t)&&!a.contains(t):!1}function Ap(e,a){return e.isSameNode(a)||e.contains(a)}function Lp(e,a){const t=Object.entries(a),n=getComputedStyle(e);for(let r=0,i=t.length;r<i;r++){const[o,c]=t[r];if(typeof c=="string"&&c.indexOf(",")>-1){if(!c.split(",").map(b=>b.trim()).includes(n[o]))return!1}else if(n[o]!==c)return!1}return!0}function Xp(e,a){const t=Object.entries(a),n=getComputedStyle(e);for(let r=0,i=t.length;r<i;r++){const[o,c]=t[r];if(typeof c=="string"&&c.indexOf(",")>-1){if(c.split(",").map(b=>b.trim()).includes(n[o]))return!0}else if(n[o]===c)return!0}return!1}function _o(e,a,t=!1,n){if(t&&Lp(e,a)){if(!n||(n==null?void 0:n(e))===!0)return e}else if(!t&&Xp(e,a)&&(!n||(n==null?void 0:n(e))===!0))return e;return e.parentElement?_o(e.parentElement,a,t,n):e}function Oo(e,a){const t=Array.from(document.querySelectorAll("body *")),n=[];for(let r=0,i=t.length;r<i;r++){const o=getComputedStyle(t[r]);o[e]&&a(o[e])&&n.push(o[e])}return n}function SZ(e){return e}function Rp(e){const a=document.documentElement;Object.keys(e).forEach(t=>{a.style.setProperty(t,e[t])})}function Yp(e){return{"--theme-bsc-primary-1":e.primary1,"--theme-bsc-primary-2":e.primary2,"--theme-bsc-primary-3":e.primary3,"--theme-bsc-primary-4":e.primary4,"--theme-bsc-primary-5":e.primary5,"--theme-bsc-gray-1":e.gray1||"#303030","--theme-bsc-gray-2":e.gray2||"#5f5f5f","--theme-bsc-gray-3":e.gray3||"#8f8f8f","--theme-bsc-gray-4":e.gray4||"#bebebe","--theme-bsc-gray-5":e.gray5||"#eee","--theme-bsc-black":e.black||"#000","--theme-bsc-white":e.white||"#fff","--theme-bsc-mono-dark-1":e.monoDark1||"#222","--theme-bsc-mono-dark-2":e.monoDark2||"#3c3c3c","--theme-bsc-mono-dark-3":e.monoDark3||"#4e4e4e","--theme-bsc-mono-light-1":e.monoLight1||"#fefefe","--theme-bsc-mono-light-2":e.monoLight2||"#eee","--theme-bsc-mono-light-3":e.monoLight3||"#ccc","--theme-bsc-info":e.info||"#2e7ff8","--theme-bsc-success":e.success||"#53ae0c","--theme-bsc-warning":e.warning||"#ff6914","--theme-bsc-error":e.error||"#f01616"}}var Ye=(e=>(e[e.Regular=24]="Regular",e[e.Small=20]="Small",e))(Ye||{});const Vo=({className:e})=>P.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"})}),qp=({className:e})=>{const a=ve("bsc:h-6 bsc:w-6",e);return P.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:a,children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})},Gp=({className:e})=>{const a=ve("bsc:h-6 bsc:w-6",e);return P.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:a,children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})})},Qp=({className:e})=>{const a=ve("bsc:h-6 bsc:w-6",e);return P.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:a,children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})},Kp=({className:e})=>{const a=ve("bsc:h-6 bsc:w-6",e);return P.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:a,children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})})},Jp=({className:e})=>P.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),it=({icon:e,size:a=Ye.Regular,onClick:t,className:n})=>{const r=p.useRef({calendar:Vo,chevronDown:qp,chevronLeft:Gp,chevronRight:Qp,chevronUp:Kp,close:Jp}),i=p.useMemo(()=>r.current[e]||Vo,[e]),o=ve({"bsc:h-[24px] bsc:w-[24px]":a===Ye.Regular,"bsc:h-[20px] bsc:w-[20px]":a===Ye.Small},n);return P.jsx("div",{onClick:t,children:P.jsx(i,{className:o})})},Xt=({template:e,props:a,children:t})=>e(a,t);function Bp(e,a){if(a===e)return!1;const t=Object.values(a),n=Object.values(e);if(t.length!==n.length||t.some((i,o)=>i!==n[o]))return!0;const r=Object.keys(e);return Object.keys(a).some((i,o)=>i!==r[o])}function Up(e,a){return e.matches[a]=!1,e.mediaQueries[a]={},e}function Ho(e){const a=Object.keys(e);return typeof window>"u"?a.reduce(Up,{mediaQueries:{},matches:{}}):a.reduce((t,n)=>{const r=window.matchMedia(e[n]);return t.mediaQueries[n]=r,t.matches[n]=r.matches,t},{mediaQueries:{},matches:{}})}function Zp(e,a){function t(n,r){return n[r]=e.mediaQueries[r].matches,n}switch(a.type){case"updateMatches":return{matches:Object.keys(e.mediaQueries).reduce(t,{}),mediaQueries:e.mediaQueries};case"setQueries":return Ho(a.queries)}}function eb(e){const a=xa.useRef(e),[t,n]=xa.useReducer(Zp,e,Ho);xa.useEffect(()=>{Bp(e,a.current)&&(n({type:"setQueries",queries:e}),a.current=e)},[e]);function r(){return n({type:"updateMatches"})}function i(l){const b=r;return typeof l.addListener<"u"?l.addListener(b):l.addEventListener("change",b),b}xa.useEffect(()=>{const l=Object.values(t.mediaQueries),b=l.map(i);function g(w,M){typeof w.addListener<"u"?w.removeListener(b[M]):w.removeEventListener("change",b[M])}return()=>{l.forEach(g)}},[t.mediaQueries]);const{matches:o}=t,c=xa.useMemo(()=>Object.values(o),[o]);return{matches:o,matchesAny:c.some(Boolean),matchesAll:c.length>0&&c.every(Boolean)}}function fn(e){return eb(tb(e)).matchesAll}const or={};function tb(e){return or[e]===void 0&&(or[e]={default:e}),or[e]}const sr=({mobileQuery:e="screen and (max-device-width: 40rem)",tabletQuery:a="screen and (min-device-width: 40.01rem) and (max-device-width: 63.9375rem)",desktopQuery:t="screen and (min-device-width: 64rem)",mobileMarkup:n,aboveMobileMarkup:r,tabletMarkup:i,desktopMarkup:o})=>{const c=fn(e),l=fn(a),b=fn(t);return c&&n?n:!c&&r?r:l&&i?i:b&&o?o:(console.error("Invalid media settings"),null)};function Io(e,a,t){const n=i=>{const o=i.target,c=e.style.display!=="hidden";e&&c&&!Ap(e,o)&&!r(t,o)&&a(!1),a(!0)},r=(i,o)=>{if(!i)return!1;for(let c=0,l=i.length;c<l;c++)if(i[c].isSameNode(o)||i[c].contains(o))return!0;return!1};return document.addEventListener("mousedown",n),n}function Fo(e){document.removeEventListener("mousedown",e)}function ab(e,a){if(e==null)return{};var t={},n=Object.keys(e),r,i;for(i=0;i<n.length;i++)r=n[i],!(a.indexOf(r)>=0)&&(t[r]=e[r]);return t}function ur(e,a){return ur=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ur(e,a)}function nb(e,a){e.prototype=Object.create(a.prototype),e.prototype.constructor=e,ur(e,a)}var gn={exports:{}},pn={exports:{}},ke={};/** @license React v16.13.1
84
84
  * react-is.production.min.js
85
85
  *
86
86
  * Copyright (c) Facebook, Inc. and its affiliates.
87
87
  *
88
88
  * This source code is licensed under the MIT license found in the
89
89
  * LICENSE file in the root directory of this source tree.
90
- */var Qo;function qh(){if(Qo)return ye;Qo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,l=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function A(E){if(typeof E=="object"&&E!==null){var q=E.$$typeof;switch(q){case t:switch(E=E.type,E){case u:case p:case n:case o:case s:case b:return E;default:switch(E=E&&E.$$typeof,E){case c:case d:case f:case l:case i:return E;default:return q}}case r:return q}}}function D(E){return A(E)===p}return ye.AsyncMode=u,ye.ConcurrentMode=p,ye.ContextConsumer=c,ye.ContextProvider=i,ye.Element=t,ye.ForwardRef=d,ye.Fragment=n,ye.Lazy=f,ye.Memo=l,ye.Portal=r,ye.Profiler=o,ye.StrictMode=s,ye.Suspense=b,ye.isAsyncMode=function(E){return D(E)||A(E)===u},ye.isConcurrentMode=D,ye.isContextConsumer=function(E){return A(E)===c},ye.isContextProvider=function(E){return A(E)===i},ye.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===t},ye.isForwardRef=function(E){return A(E)===d},ye.isFragment=function(E){return A(E)===n},ye.isLazy=function(E){return A(E)===f},ye.isMemo=function(E){return A(E)===l},ye.isPortal=function(E){return A(E)===r},ye.isProfiler=function(E){return A(E)===o},ye.isStrictMode=function(E){return A(E)===s},ye.isSuspense=function(E){return A(E)===b},ye.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===n||E===p||E===o||E===s||E===b||E===x||typeof E=="object"&&E!==null&&(E.$$typeof===f||E.$$typeof===l||E.$$typeof===i||E.$$typeof===c||E.$$typeof===d||E.$$typeof===w||E.$$typeof===v||E.$$typeof===P||E.$$typeof===m)},ye.typeOf=A,ye}var ve={};/** @license React v16.13.1
90
+ */var Ao;function rb(){if(Ao)return ke;Ao=1;var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,b=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,M=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,$=e?Symbol.for("react.fundamental"):60117,k=e?Symbol.for("react.responder"):60118,j=e?Symbol.for("react.scope"):60119;function A(S){if(typeof S=="object"&&S!==null){var U=S.$$typeof;switch(U){case a:switch(S=S.type,S){case l:case b:case n:case i:case r:case w:return S;default:switch(S=S&&S.$$typeof,S){case c:case g:case f:case h:case o:return S;default:return U}}case t:return U}}}function H(S){return A(S)===b}return ke.AsyncMode=l,ke.ConcurrentMode=b,ke.ContextConsumer=c,ke.ContextProvider=o,ke.Element=a,ke.ForwardRef=g,ke.Fragment=n,ke.Lazy=f,ke.Memo=h,ke.Portal=t,ke.Profiler=i,ke.StrictMode=r,ke.Suspense=w,ke.isAsyncMode=function(S){return H(S)||A(S)===l},ke.isConcurrentMode=H,ke.isContextConsumer=function(S){return A(S)===c},ke.isContextProvider=function(S){return A(S)===o},ke.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===a},ke.isForwardRef=function(S){return A(S)===g},ke.isFragment=function(S){return A(S)===n},ke.isLazy=function(S){return A(S)===f},ke.isMemo=function(S){return A(S)===h},ke.isPortal=function(S){return A(S)===t},ke.isProfiler=function(S){return A(S)===i},ke.isStrictMode=function(S){return A(S)===r},ke.isSuspense=function(S){return A(S)===w},ke.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===n||S===b||S===i||S===r||S===w||S===M||typeof S=="object"&&S!==null&&(S.$$typeof===f||S.$$typeof===h||S.$$typeof===o||S.$$typeof===c||S.$$typeof===g||S.$$typeof===$||S.$$typeof===k||S.$$typeof===j||S.$$typeof===v)},ke.typeOf=A,ke}var Me={};/** @license React v16.13.1
91
91
  * react-is.development.js
92
92
  *
93
93
  * Copyright (c) Facebook, Inc. and its affiliates.
94
94
  *
95
95
  * This source code is licensed under the MIT license found in the
96
96
  * LICENSE file in the root directory of this source tree.
97
- */var Go;function Kh(){return Go||(Go=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,l=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function A(L){return typeof L=="string"||typeof L=="function"||L===n||L===p||L===o||L===s||L===b||L===x||typeof L=="object"&&L!==null&&(L.$$typeof===f||L.$$typeof===l||L.$$typeof===i||L.$$typeof===c||L.$$typeof===d||L.$$typeof===w||L.$$typeof===v||L.$$typeof===P||L.$$typeof===m)}function D(L){if(typeof L=="object"&&L!==null){var Ne=L.$$typeof;switch(Ne){case t:var Be=L.type;switch(Be){case u:case p:case n:case o:case s:case b:return Be;default:var Re=Be&&Be.$$typeof;switch(Re){case c:case d:case f:case l:case i:return Re;default:return Ne}}case r:return Ne}}}var E=u,q=p,R=c,B=i,H=t,ne=d,oe=n,W=f,$=l,I=r,Z=o,F=s,Q=b,j=!1;function ue(L){return j||(j=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),k(L)||D(L)===u}function k(L){return D(L)===p}function M(L){return D(L)===c}function _(L){return D(L)===i}function C(L){return typeof L=="object"&&L!==null&&L.$$typeof===t}function U(L){return D(L)===d}function ee(L){return D(L)===n}function Y(L){return D(L)===f}function K(L){return D(L)===l}function G(L){return D(L)===r}function re(L){return D(L)===o}function O(L){return D(L)===s}function ae(L){return D(L)===b}ve.AsyncMode=E,ve.ConcurrentMode=q,ve.ContextConsumer=R,ve.ContextProvider=B,ve.Element=H,ve.ForwardRef=ne,ve.Fragment=oe,ve.Lazy=W,ve.Memo=$,ve.Portal=I,ve.Profiler=Z,ve.StrictMode=F,ve.Suspense=Q,ve.isAsyncMode=ue,ve.isConcurrentMode=k,ve.isContextConsumer=M,ve.isContextProvider=_,ve.isElement=C,ve.isForwardRef=U,ve.isFragment=ee,ve.isLazy=Y,ve.isMemo=K,ve.isPortal=G,ve.isProfiler=re,ve.isStrictMode=O,ve.isSuspense=ae,ve.isValidElementType=A,ve.typeOf=D}()),ve}var Xo;function Jo(){return Xo||(Xo=1,process.env.NODE_ENV==="production"?qr.exports=qh():qr.exports=Kh()),qr.exports}/*
97
+ */var Lo;function ib(){return Lo||(Lo=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,b=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,M=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,$=e?Symbol.for("react.fundamental"):60117,k=e?Symbol.for("react.responder"):60118,j=e?Symbol.for("react.scope"):60119;function A(F){return typeof F=="string"||typeof F=="function"||F===n||F===b||F===i||F===r||F===w||F===M||typeof F=="object"&&F!==null&&(F.$$typeof===f||F.$$typeof===h||F.$$typeof===o||F.$$typeof===c||F.$$typeof===g||F.$$typeof===$||F.$$typeof===k||F.$$typeof===j||F.$$typeof===v)}function H(F){if(typeof F=="object"&&F!==null){var Oe=F.$$typeof;switch(Oe){case a:var at=F.type;switch(at){case l:case b:case n:case i:case r:case w:return at;default:var Fe=at&&at.$$typeof;switch(Fe){case c:case g:case f:case h:case o:return Fe;default:return Oe}}case t:return Oe}}}var S=l,U=b,V=c,Q=o,R=a,se=g,de=n,q=f,X=h,_=t,Z=i,L=r,ee=w,z=!1;function fe(F){return z||(z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(F)||H(F)===l}function T(F){return H(F)===b}function O(F){return H(F)===c}function N(F){return H(F)===o}function D(F){return typeof F=="object"&&F!==null&&F.$$typeof===a}function K(F){return H(F)===g}function re(F){return H(F)===n}function Y(F){return H(F)===f}function B(F){return H(F)===h}function te(F){return H(F)===t}function oe(F){return H(F)===i}function E(F){return H(F)===r}function le(F){return H(F)===w}Me.AsyncMode=S,Me.ConcurrentMode=U,Me.ContextConsumer=V,Me.ContextProvider=Q,Me.Element=R,Me.ForwardRef=se,Me.Fragment=de,Me.Lazy=q,Me.Memo=X,Me.Portal=_,Me.Profiler=Z,Me.StrictMode=L,Me.Suspense=ee,Me.isAsyncMode=fe,Me.isConcurrentMode=T,Me.isContextConsumer=O,Me.isContextProvider=N,Me.isElement=D,Me.isForwardRef=K,Me.isFragment=re,Me.isLazy=Y,Me.isMemo=B,Me.isPortal=te,Me.isProfiler=oe,Me.isStrictMode=E,Me.isSuspense=le,Me.isValidElementType=A,Me.typeOf=H}()),Me}var Xo;function Ro(){return Xo||(Xo=1,process.env.NODE_ENV==="production"?pn.exports=rb():pn.exports=ib()),pn.exports}/*
98
98
  object-assign
99
99
  (c) Sindre Sorhus
100
100
  @license MIT
101
- */var $n,ei;function Zh(){if(ei)return $n;ei=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function s(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var i={},c=0;c<10;c++)i["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(i).map(function(d){return i[d]});if(u.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(d){p[d]=d}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $n=s()?Object.assign:function(o,i){for(var c,u=n(o),p,d=1;d<arguments.length;d++){c=Object(arguments[d]);for(var b in c)t.call(c,b)&&(u[b]=c[b]);if(e){p=e(c);for(var x=0;x<p.length;x++)r.call(c,p[x])&&(u[p[x]]=c[p[x]])}}return u},$n}var Hn,ti;function Yn(){if(ti)return Hn;ti=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Hn=e,Hn}var Wn,ri;function ni(){return ri||(ri=1,Wn=Function.call.bind(Object.prototype.hasOwnProperty)),Wn}var Vn,si;function Qh(){if(si)return Vn;si=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Yn(),r={},n=ni();e=function(o){var i="Warning: "+o;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function s(o,i,c,u,p){if(process.env.NODE_ENV!=="production"){for(var d in o)if(n(o,d)){var b;try{if(typeof o[d]!="function"){var x=Error((u||"React class")+": "+c+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}b=o[d](i,d,u,c,null,t)}catch(f){b=f}if(b&&!(b instanceof Error)&&e((u||"React class")+": type specification of "+c+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof b+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),b instanceof Error&&!(b.message in r)){r[b.message]=!0;var l=p?p():"";e("Failed "+c+" type: "+b.message+(l??""))}}}}return s.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Vn=s,Vn}var Bn,oi;function Gh(){if(oi)return Bn;oi=1;var e=Jo(),t=Zh(),r=Yn(),n=ni(),s=Qh(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(c){var u="Warning: "+c;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function i(){return null}return Bn=function(c,u){var p=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function b(k){var M=k&&(p&&k[p]||k[d]);if(typeof M=="function")return M}var x="<<anonymous>>",l={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:P(),arrayOf:A,element:D(),elementType:E(),instanceOf:q,node:ne(),objectOf:B,oneOf:R,oneOfType:H,shape:W,exact:$};function f(k,M){return k===M?k!==0||1/k===1/M:k!==k&&M!==M}function m(k,M){this.message=k,this.data=M&&typeof M=="object"?M:{},this.stack=""}m.prototype=Error.prototype;function w(k){if(process.env.NODE_ENV!=="production")var M={},_=0;function C(ee,Y,K,G,re,O,ae){if(G=G||x,O=O||K,ae!==r){if(u){var L=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw L.name="Invariant Violation",L}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ne=G+":"+K;!M[Ne]&&_<3&&(o("You are manually calling a React.PropTypes validation function for the `"+O+"` prop on `"+G+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),M[Ne]=!0,_++)}}return Y[K]==null?ee?Y[K]===null?new m("The "+re+" `"+O+"` is marked as required "+("in `"+G+"`, but its value is `null`.")):new m("The "+re+" `"+O+"` is marked as required in "+("`"+G+"`, but its value is `undefined`.")):null:k(Y,K,G,re,O)}var U=C.bind(null,!1);return U.isRequired=C.bind(null,!0),U}function v(k){function M(_,C,U,ee,Y,K){var G=_[C],re=F(G);if(re!==k){var O=Q(G);return new m("Invalid "+ee+" `"+Y+"` of type "+("`"+O+"` supplied to `"+U+"`, expected ")+("`"+k+"`."),{expectedType:k})}return null}return w(M)}function P(){return w(i)}function A(k){function M(_,C,U,ee,Y){if(typeof k!="function")return new m("Property `"+Y+"` of component `"+U+"` has invalid PropType notation inside arrayOf.");var K=_[C];if(!Array.isArray(K)){var G=F(K);return new m("Invalid "+ee+" `"+Y+"` of type "+("`"+G+"` supplied to `"+U+"`, expected an array."))}for(var re=0;re<K.length;re++){var O=k(K,re,U,ee,Y+"["+re+"]",r);if(O instanceof Error)return O}return null}return w(M)}function D(){function k(M,_,C,U,ee){var Y=M[_];if(!c(Y)){var K=F(Y);return new m("Invalid "+U+" `"+ee+"` of type "+("`"+K+"` supplied to `"+C+"`, expected a single ReactElement."))}return null}return w(k)}function E(){function k(M,_,C,U,ee){var Y=M[_];if(!e.isValidElementType(Y)){var K=F(Y);return new m("Invalid "+U+" `"+ee+"` of type "+("`"+K+"` supplied to `"+C+"`, expected a single ReactElement type."))}return null}return w(k)}function q(k){function M(_,C,U,ee,Y){if(!(_[C]instanceof k)){var K=k.name||x,G=ue(_[C]);return new m("Invalid "+ee+" `"+Y+"` of type "+("`"+G+"` supplied to `"+U+"`, expected ")+("instance of `"+K+"`."))}return null}return w(M)}function R(k){if(!Array.isArray(k))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),i;function M(_,C,U,ee,Y){for(var K=_[C],G=0;G<k.length;G++)if(f(K,k[G]))return null;var re=JSON.stringify(k,function(ae,L){var Ne=Q(L);return Ne==="symbol"?String(L):L});return new m("Invalid "+ee+" `"+Y+"` of value `"+String(K)+"` "+("supplied to `"+U+"`, expected one of "+re+"."))}return w(M)}function B(k){function M(_,C,U,ee,Y){if(typeof k!="function")return new m("Property `"+Y+"` of component `"+U+"` has invalid PropType notation inside objectOf.");var K=_[C],G=F(K);if(G!=="object")return new m("Invalid "+ee+" `"+Y+"` of type "+("`"+G+"` supplied to `"+U+"`, expected an object."));for(var re in K)if(n(K,re)){var O=k(K,re,U,ee,Y+"."+re,r);if(O instanceof Error)return O}return null}return w(M)}function H(k){if(!Array.isArray(k))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var M=0;M<k.length;M++){var _=k[M];if(typeof _!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+j(_)+" at index "+M+"."),i}function C(U,ee,Y,K,G){for(var re=[],O=0;O<k.length;O++){var ae=k[O],L=ae(U,ee,Y,K,G,r);if(L==null)return null;L.data&&n(L.data,"expectedType")&&re.push(L.data.expectedType)}var Ne=re.length>0?", expected one of type ["+re.join(", ")+"]":"";return new m("Invalid "+K+" `"+G+"` supplied to "+("`"+Y+"`"+Ne+"."))}return w(C)}function ne(){function k(M,_,C,U,ee){return I(M[_])?null:new m("Invalid "+U+" `"+ee+"` supplied to "+("`"+C+"`, expected a ReactNode."))}return w(k)}function oe(k,M,_,C,U){return new m((k||"React class")+": "+M+" type `"+_+"."+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+U+"`.")}function W(k){function M(_,C,U,ee,Y){var K=_[C],G=F(K);if(G!=="object")return new m("Invalid "+ee+" `"+Y+"` of type `"+G+"` "+("supplied to `"+U+"`, expected `object`."));for(var re in k){var O=k[re];if(typeof O!="function")return oe(U,ee,Y,re,Q(O));var ae=O(K,re,U,ee,Y+"."+re,r);if(ae)return ae}return null}return w(M)}function $(k){function M(_,C,U,ee,Y){var K=_[C],G=F(K);if(G!=="object")return new m("Invalid "+ee+" `"+Y+"` of type `"+G+"` "+("supplied to `"+U+"`, expected `object`."));var re=t({},_[C],k);for(var O in re){var ae=k[O];if(n(k,O)&&typeof ae!="function")return oe(U,ee,Y,O,Q(ae));if(!ae)return new m("Invalid "+ee+" `"+Y+"` key `"+O+"` supplied to `"+U+"`.\nBad object: "+JSON.stringify(_[C],null," ")+`
102
- Valid keys: `+JSON.stringify(Object.keys(k),null," "));var L=ae(K,O,U,ee,Y+"."+O,r);if(L)return L}return null}return w(M)}function I(k){switch(typeof k){case"number":case"string":case"undefined":return!0;case"boolean":return!k;case"object":if(Array.isArray(k))return k.every(I);if(k===null||c(k))return!0;var M=b(k);if(M){var _=M.call(k),C;if(M!==k.entries){for(;!(C=_.next()).done;)if(!I(C.value))return!1}else for(;!(C=_.next()).done;){var U=C.value;if(U&&!I(U[1]))return!1}}else return!1;return!0;default:return!1}}function Z(k,M){return k==="symbol"?!0:M?M["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&M instanceof Symbol:!1}function F(k){var M=typeof k;return Array.isArray(k)?"array":k instanceof RegExp?"object":Z(M,k)?"symbol":M}function Q(k){if(typeof k>"u"||k===null)return""+k;var M=F(k);if(M==="object"){if(k instanceof Date)return"date";if(k instanceof RegExp)return"regexp"}return M}function j(k){var M=Q(k);switch(M){case"array":case"object":return"an "+M;case"boolean":case"date":case"regexp":return"a "+M;default:return M}}function ue(k){return!k.constructor||!k.constructor.name?x:k.constructor.name}return l.checkPropTypes=s,l.resetWarningCache=s.resetWarningCache,l.PropTypes=l,l},Bn}var Un,ii;function Xh(){if(ii)return Un;ii=1;var e=Yn();function t(){}function r(){}return r.resetWarningCache=t,Un=function(){function n(i,c,u,p,d,b){if(b!==e){var x=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw x.name="Invariant Violation",x}}n.isRequired=n;function s(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:s,element:n,elementType:n,instanceOf:s,node:n,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o},Un}var ai;function Jh(){if(ai)return zr.exports;if(ai=1,process.env.NODE_ENV!=="production"){var e=Jo(),t=!0;zr.exports=Gh()(e.isElement,t)}else zr.exports=Xh()();return zr.exports}var ep=Jh();const le=en(ep),ci={disabled:!1};var tp=process.env.NODE_ENV!=="production"?le.oneOfType([le.number,le.shape({enter:le.number,exit:le.number,appear:le.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&le.oneOfType([le.string,le.shape({enter:le.string,exit:le.string,active:le.string}),le.shape({enter:le.string,enterDone:le.string,enterActive:le.string,exit:le.string,exitDone:le.string,exitActive:le.string})]);const ui=h.createContext(null);var rp=function(t){return t.scrollTop},kr="unmounted",Ct="exited",Ot="entering",qt="entered",zn="exiting",dt=function(e){zh(t,e);function t(n,s){var o;o=e.call(this,n,s)||this;var i=s,c=i&&!i.isMounting?n.enter:n.appear,u;return o.appearStatus=null,n.in?c?(u=Ct,o.appearStatus=Ot):u=qt:n.unmountOnExit||n.mountOnEnter?u=kr:u=Ct,o.state={status:u},o.nextCallback=null,o}t.getDerivedStateFromProps=function(s,o){var i=s.in;return i&&o.status===kr?{status:Ct}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(s){var o=null;if(s!==this.props){var i=this.state.status;this.props.in?i!==Ot&&i!==qt&&(o=Ot):(i===Ot||i===qt)&&(o=zn)}this.updateStatus(!1,o)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var s=this.props.timeout,o,i,c;return o=i=c=s,s!=null&&typeof s!="number"&&(o=s.exit,i=s.enter,c=s.appear!==void 0?s.appear:i),{exit:o,enter:i,appear:c}},r.updateStatus=function(s,o){if(s===void 0&&(s=!1),o!==null)if(this.cancelNextCallback(),o===Ot){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Xe.findDOMNode(this);i&&rp(i)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ct&&this.setState({status:kr})},r.performEnter=function(s){var o=this,i=this.props.enter,c=this.context?this.context.isMounting:s,u=this.props.nodeRef?[c]:[Xe.findDOMNode(this),c],p=u[0],d=u[1],b=this.getTimeouts(),x=c?b.appear:b.enter;if(!s&&!i||ci.disabled){this.safeSetState({status:qt},function(){o.props.onEntered(p)});return}this.props.onEnter(p,d),this.safeSetState({status:Ot},function(){o.props.onEntering(p,d),o.onTransitionEnd(x,function(){o.safeSetState({status:qt},function(){o.props.onEntered(p,d)})})})},r.performExit=function(){var s=this,o=this.props.exit,i=this.getTimeouts(),c=this.props.nodeRef?void 0:Xe.findDOMNode(this);if(!o||ci.disabled){this.safeSetState({status:Ct},function(){s.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:zn},function(){s.props.onExiting(c),s.onTransitionEnd(i.exit,function(){s.safeSetState({status:Ct},function(){s.props.onExited(c)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(s,o){o=this.setNextCallback(o),this.setState(s,o)},r.setNextCallback=function(s){var o=this,i=!0;return this.nextCallback=function(c){i&&(i=!1,o.nextCallback=null,s(c))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},r.onTransitionEnd=function(s,o){this.setNextCallback(o);var i=this.props.nodeRef?this.props.nodeRef.current:Xe.findDOMNode(this),c=s==null&&!this.props.addEndListener;if(!i||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],p=u[0],d=u[1];this.props.addEndListener(p,d)}s!=null&&setTimeout(this.nextCallback,s)},r.render=function(){var s=this.state.status;if(s===kr)return null;var o=this.props,i=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var c=Uh(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return h.createElement(ui.Provider,{value:null},typeof i=="function"?i(s,c):h.cloneElement(h.Children.only(i),c))},t}(h.Component);dt.contextType=ui,dt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:le.shape({current:typeof Element>"u"?le.any:function(e,t,r,n,s,o){var i=e[t];return le.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,r,n,s,o)}}),children:le.oneOfType([le.func.isRequired,le.element.isRequired]).isRequired,in:le.bool,mountOnEnter:le.bool,unmountOnExit:le.bool,appear:le.bool,enter:le.bool,exit:le.bool,timeout:function(t){var r=tp;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,s=new Array(n>1?n-1:0),o=1;o<n;o++)s[o-1]=arguments[o];return r.apply(void 0,[t].concat(s))},addEndListener:le.func,onEnter:le.func,onEntering:le.func,onEntered:le.func,onExit:le.func,onExiting:le.func,onExited:le.func}:{};function Kt(){}dt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Kt,onEntering:Kt,onEntered:Kt,onExit:Kt,onExiting:Kt,onExited:Kt},dt.UNMOUNTED=kr,dt.EXITED=Ct,dt.ENTERING=Ot,dt.ENTERED=qt,dt.EXITING=zn;const li=({start:e,timeout:t=400,defaultStyle:r,transitionStyles:n,showTransitionOptions:s="cubic-bezier(0, 0, 0.2, 1)",hideTransitionOptions:o="linear",unmountOnExit:i=!1,onEntering:c,onEntered:u,onExit:p,onExited:d,children:b})=>{const x=r||{transition:`opacity ${t}ms ${s}`,opacity:0},l=n||{entering:{opacity:1},entered:{opacity:1},exiting:{transition:`opacity ${t}ms ${o}`,opacity:0},exited:{transition:`opacity ${t}ms ${o}`,opacity:0},unmounted:{}};return y.jsx(dt,{in:e,timeout:t,onEntering:c,onEntered:u,onExit:p,onExited:d,unmountOnExit:i,children:f=>b({state:f,defaultStyle:x,transitionStyles:l})})};function fi(e){return e.target?e.target:e}const di=({visible:e,target:t,appendTo:r=document.body,unmountWhenHidden:n=!1,transitionDuration:s=400,showTransitionOptions:o="cubic-bezier(0, 0, 0.2, 1)",hideTransitionOptions:i="linear",approveText:c="DONE",shown:u,hidden:p,isClickedWithin:d,children:b})=>{const[x,l]=h.useState(-1),[f,m]=h.useState(-1),[w,v]=h.useState(e),P=h.useRef(100),A=h.useRef(101),D=h.useRef(),E=h.useRef(),q=h.useRef();h.useEffect(()=>{t&&(D.current=fi(t));const $=Uo("zIndex",I=>I==="auto"||I==="-1"?!1:parseInt(I)>100).map(I=>parseInt(I,10));$.length>0&&(P.current=Math.max(...$)+1,A.current=Math.max(...$)+2),v(e)},[e,t]);const R=$=>{E.current=$},B=()=>{m(P.current),l(A.current)},H=()=>{if(!E.current)return;u==null||u();let $;D.current&&($=[D.current]);const I=Z=>{Z?d==null||d():v(!1)};q.current=Ko(E.current,I,$)},ne=()=>{q.current&&Zo(q.current)},oe=()=>{m(-1),l(-1),p==null||p()},W={entering:{opacity:.5},entered:{opacity:.5}};return Xe.createPortal(y.jsx(li,{start:w,timeout:s,showTransitionOptions:o,hideTransitionOptions:i,onEntering:B,onEntered:H,onExit:ne,onExited:oe,unmountOnExit:n,children:({state:$,defaultStyle:I,transitionStyles:Z})=>y.jsxs("div",{ref:F=>F&&R(F),children:[y.jsx("div",{className:"bsc:fixed bsc:left-0 bsc:top-0 bsc:h-full bsc:w-full bsc:bg-mono-dark-1",style:{zIndex:f,...Z[$],...W[$]}}),y.jsxs("div",{className:"dark:bsck-border-mono-light-1 bsc:fixed bsc:bottom-0 bsc:left-0 bsc:w-full bsc:bg-white bsc:dark:border-t bsc:dark:border-solid bsc:dark:bg-mono-dark-1 bsc:dark:text-mono-light-1",style:{zIndex:x,...I,...Z[$]},children:[y.jsx("div",{className:"bsc:w-full",children:b}),y.jsx(y.Fragment,{children:y.jsx(Je,{buttonType:"primary",fullWidth:!0,onClick:()=>v(!1),className:"bsc:text-xs bsc:font-bold",children:c})})]})]})}),r)};var hi=(e=>(e[e.TopLeft=0]="TopLeft",e[e.TopRight=1]="TopRight",e[e.BottomLeft=2]="BottomLeft",e[e.BottomRight=3]="BottomRight",e))(hi||{}),pi=(e=>(e[e.TopLeft=0]="TopLeft",e[e.TopRight=1]="TopRight",e[e.BottomLeft=2]="BottomLeft",e[e.BottomRight=3]="BottomRight",e))(pi||{});class Ce{static positionToTarget(t,r=2){const n=t.getBoundingClientRect();let s=0,o=0;const i=window.scrollY;switch(r){case 2:s=n.top+n.height+i,o=n.left;break;case 0:s=n.top+i,o=n.left;break;case 3:s=n.top+n.height+i,o=n.left+n.width;break;case 1:s=n.top+i,o=n.left+n.width}return{top:s,left:o}}static positionElementToTarget(t,r,n=0,s=2){let{left:o,top:i}=Ce.positionToTarget(r,s);const c=t.getBoundingClientRect();switch(n){case 0:break;case 1:o=o-c.width;break;case 2:i=i-c.height;break;case 3:i=i-c.height,o=o-c.width;break}return{top:i,left:o}}static canPositionElementOnScreenWithTarget(t,r){const n=Ce.getScreenDimensions(),s=t.getBoundingClientRect(),o=Ce.positionElementToTarget(t,r,0,2);if(o.left+s.width<n.width&&o.top+s.height<n.height||Ce.positionElementToTarget(t,r,1,3).left>=0&&o.top+s.height<n.height)return!0;const c=Ce.positionElementToTarget(t,r,2,0);if(c.left+s.width<n.width&&c.top>=0)return!0;const u=Ce.positionElementToTarget(t,r,3,1);return u.left>=0&&u.top>=0}static canPositionElementOnScreen(t){const r=Ce.getScreenDimensions(),n=t.getBoundingClientRect();return n.width<=r.width&&n.height<=r.height}static positionElementToTargetOnScreen(t,r,n=0,s=2){const{left:o,top:i}=Ce.positionElementToTarget(t,r,n,s),c=t.getBoundingClientRect(),u=Ce.determineOffScreenLocation(c);if(u){if(n===0&&s===2){if(u.right&&!u.bottom)return Ce.positionElementToTarget(t,r,1,3);if(u.bottom&&!u.right)return Ce.positionElementToTarget(t,r,2,0);if(u.right&&u.bottom)return Ce.positionElementToTarget(t,r,3,1)}else if(n===1&&s===3){if(u.left&&!u.bottom)return Ce.positionElementToTarget(t,r,0,2);if(u.bottom&&!u.left)return Ce.positionElementToTarget(t,r,3,1);if(u.left&&u.bottom)return Ce.positionElementToTarget(t,r,2,0)}}return{top:i,left:o}}static determineOffScreenLocation(t){const r=Ce.getScreenDimensions(),n={left:t.left<0,top:t.top<0,right:t.left+t.width>r.width,bottom:t.top+t.height>r.height};return n.left||n.top||n.right||n.bottom?n:void 0}static getScreenDimensions(){return{width:window.innerWidth,height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}}}const mi=({visible:e,target:t,targetPosition:r=hi.BottomLeft,elementAlignment:n=pi.TopLeft,shouldTargetCloseOverlay:s=!0,shouldMatchTargetWidth:o=!1,shouldScrollCloseOverlay:i=!1,shouldCheckZIndex:c=!1,shouldRemainOnScreen:u=!1,unmountWhenHidden:p=!1,transitionDuration:d=400,showTransitionOptions:b="cubic-bezier(0, 0, 0.2, 1)",hideTransitionOptions:x="linear",shown:l,hidden:f,isClickedWithin:m,markupCreated:w,children:v})=>{const[P,A]=h.useState(-1),[D,E]=h.useState(e),[q,R]=h.useState(!1),B=h.useRef(!1),H=h.useRef(100),ne=h.useRef({left:0,top:0,width:0}),oe=h.useRef(),W=h.useRef(),$=h.useRef(),I=h.useRef(),Z=h.useRef(),F=h.useRef(),Q=cs();h.useEffect(()=>(u===!0&&(F.current=new ResizeObserver(j)),()=>{var Y,K;u===!0&&(W.current&&((Y=F.current)==null||Y.unobserve(W.current)),(K=F.current)==null||K.disconnect())}),[]),h.useEffect(()=>{if(t&&(oe.current=fi(t),i)){const Y=Q==null?void 0:Q.isValidScrollableElement;$.current=Bo(oe.current,{overflow:"scroll, auto",overflowX:"scroll, auto",overflowY:"scroll, auto"},!1,Y),$.current.tagName.toLowerCase()==="html"&&($.current=document)}if(c){const Y=Uo("zIndex",K=>parseInt(K)>=100).map(K=>parseInt(K));Y.length>0&&(H.current=Math.max(...Y)+1)}e!==void 0&&E(e)},[t,e,i,c]);const j=Y=>{if(W.current){const K=Ce.getScreenDimensions(),G=Y[Y.length-1].target,re=G.getBoundingClientRect(),O=Ce.determineOffScreenLocation(re);if(O){if(oe.current&&Ce.canPositionElementOnScreenWithTarget(G,oe.current)){const ae=Ce.positionElementToTargetOnScreen(W.current,oe.current,n,r);ne.current={...ne.current,...ae}}else O.right?ne.current.left=K.width-re.width:O.left&&(ne.current.left=0),O.bottom?ne.current.top=K.height-re.height:O.top&&(ne.current.top=0);ue()}}},ue=xr(()=>{B.current=!B.current,R(B.current)},20),k=()=>{A(H.current)},M=()=>{if(!W.current)return;l==null||l();let Y;!s&&oe.current&&(Y=[oe.current]);const K=G=>{G?m==null||m():E(!1)};I.current=Ko(W.current,K,Y),i&&(Z.current=hf(G=>W.current&&Dh(G,W.current)&&E(!1),100,{leading:!0}),$.current&&$.current.addEventListener("scroll",Z.current))},_=()=>{$.current&&Z.current&&($.current.removeEventListener("scroll",Z.current),Z.current=void 0),I.current&&Zo(I.current)},C=()=>{A(-1),f==null||f()},U=Y=>{var K,G;if(u===!0&&W.current&&((K=F.current)==null||K.unobserve(W.current)),W.current=Y,w==null||w(Y),oe.current){const re=Ce.positionElementToTarget(W.current,oe.current,n,r);ne.current={...re,width:oe.current.offsetWidth},u===!0&&(Ce.canPositionElementOnScreenWithTarget(W.current,oe.current)||Ce.canPositionElementOnScreen(W.current))&&((G=F.current)==null||G.observe(W.current))}},ee=h.useMemo(()=>{const Y={top:`${ne.current.top}px`,left:`${ne.current.left}px`,zIndex:P};return o&&(Y.width=`${ne.current.width}px`),Y},[q,P,o]);return y.jsx(li,{start:D,timeout:d,showTransitionOptions:b,hideTransitionOptions:x,onEntering:k,onEntered:M,onExit:_,onExited:C,unmountOnExit:p,children:({state:Y,defaultStyle:K,transitionStyles:G})=>y.jsx("div",{className:"bsc:fixed bsc:border! bsc:border-solid! bsc:border-black bsc:bg-white bsc:shadow bsc:dark:border-mono-light-1 bsc:dark:bg-mono-dark-1 bsc:dark:text-mono-light-1",style:{...ee,...K,...G[Y]},ref:re=>re&&U(re),children:v})})};let Kr;const np=new Uint8Array(16);function sp(){if(!Kr&&(Kr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Kr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Kr(np)}const Le=[];for(let e=0;e<256;++e)Le.push((e+256).toString(16).slice(1));function op(e,t=0){return Le[e[t+0]]+Le[e[t+1]]+Le[e[t+2]]+Le[e[t+3]]+"-"+Le[e[t+4]]+Le[e[t+5]]+"-"+Le[e[t+6]]+Le[e[t+7]]+"-"+Le[e[t+8]]+Le[e[t+9]]+"-"+Le[e[t+10]]+Le[e[t+11]]+Le[e[t+12]]+Le[e[t+13]]+Le[e[t+14]]+Le[e[t+15]]}const gi={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ip(e,t,r){if(gi.randomUUID&&!e)return gi.randomUUID();e=e||{};const n=e.random||(e.rng||sp)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,op(n)}class Cr{static create(t){const r=[];let n=0;for(let s=0,o=t.formatParts.length;s<o;s++){const i=t.formatParts[s],c=n,u=c+i.characterCount;r.push({startPosition:c,endPosition:u,...i}),n=u}return r}}class ap{constructor(t,r){T(this,"instanceCollection");T(this,"formatPartList");T(this,"inputSlotCollection");T(this,"currentPartIndex",0);T(this,"currentPartIndices",[]);T(this,"currentCursorPosition",0);T(this,"highlightCursorPosition",0);T(this,"currentCursorStartPosition",-1);T(this,"currentCursorEndPosition",-1);T(this,"inputElement");T(this,"inputSelection",null);T(this,"inputRange");T(this,"textNode");this.instanceCollection=Zt.getInstance(),this.formatPartList=Cr.create(t),this.inputSlotCollection=this.instanceCollection.getInputSlotInstance(r,t)}get isSelection(){return this.inputRange!==void 0&&this.inputRange.startOffset!==this.inputRange.endOffset}get isAllSelected(){var r;const t=this.inputSlotCollection.getLastSlot();return this.isSelection&&((r=this.inputRange)==null?void 0:r.startOffset)===0&&this.inputRange.endOffset===t.endPosition}getCursorPosition(){return this.currentCursorPosition}getCursorStartPosition(){return this.currentCursorStartPosition}getCursorEndPosition(){return this.currentCursorEndPosition}getCurrentPartIndex(){return this.currentPartIndex}getCurrentPartIndices(){return this.currentPartIndices}setInputElement(t){this.inputElement=t}setCursorToCurrentPosition(){this.setCursorSelection(this.currentCursorPosition>-1?this.currentCursorPosition:this.highlightCursorPosition)}setCursorPosition(t){this.setCursorSelection(t)}setCursorSelection(t,r){if(this.createInputRangeSelection(),this.inputRange&&this.textNode){let n,s,o=!0;r===void 0?(n=t,s=t):t<r?(n=t,s=r):(o=!1,n=r,s=t),this.inputRange.setStart(this.textNode,n),this.inputRange.setEnd(this.textNode,s),this.currentPartIndices=[],n===s?(this.currentCursorPosition=s,this.highlightCursorPosition=s,this.currentCursorStartPosition=-1,this.currentCursorEndPosition=-1,this.setPartIndexByCursorPosition()):(o?this.currentCursorStartPosition===-1&&this.currentCursorEndPosition===-1?this.highlightCursorPosition=s:this.currentCursorStartPosition!==n?this.highlightCursorPosition=n:this.currentCursorEndPosition!==s&&(this.highlightCursorPosition=s):this.currentCursorStartPosition===-1&&this.currentCursorEndPosition===-1?this.highlightCursorPosition=n:this.currentCursorStartPosition!==s?this.highlightCursorPosition=s:this.currentCursorEndPosition!==n&&(this.highlightCursorPosition=n),this.currentCursorStartPosition=n,this.currentCursorEndPosition=s,this.currentCursorPosition=-1,this.setPartIndexByHighlightPosition(),this.setPartIndicesByCursorPositions())}}findCursorPosition(){var n;const t=window.getSelection(),r=t==null?void 0:t.getRangeAt(0);if(this.inputElement&&t&&r){const s=document.createTreeWalker(this.inputElement,NodeFilter.SHOW_TEXT,u=>{const p=document.createRange();return p.selectNodeContents(u),p.compareBoundaryPoints(Range.END_TO_END,r)<1?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT});let o=0;for(;s.nextNode();)o+=((n=s.currentNode.textContent)==null?void 0:n.length)||0;r.startContainer.nodeType===Node.TEXT_NODE&&(o+=r.startOffset);const i=this.inputSlotCollection.getLastSlotWithData(),c=i.startPosition+i.partText.length;t.anchorOffset===t.focusOffset?this.setCursorSelection(o>c?c:o):this.setCursorSelection(t.anchorOffset,t.focusOffset)}}isAtLastPart(){return this.currentPartIndex===this.formatPartList.length-1}moveHome(){const t=this.inputSlotCollection.getFirstSlot();this.setCursorSelection(t.startPosition)}moveEnd(){const t=this.inputSlotCollection.getLastSlotWithData(),r=t.startPosition+t.partText.length;this.setCursorSelection(r)}moveCursorLeft(){if(this.updateCursorPosition(),this.currentCursorPosition>0&&!this.isSelection){const t=this.currentCursorPosition-1;let r=this.formatPartList[this.currentPartIndex];if(t>=r.startPosition&&t<=r.endPosition)this.setCursorSelection(t);else for(let n=this.currentPartIndex-1;n>=0;n--)if(r=this.formatPartList[n],t>=r.startPosition&&t<=r.endPosition){r.isSeparator?this.setCursorSelection(this.formatPartList[n-1].endPosition):this.setCursorSelection(t);break}}else this.isSelection?this.setCursorSelection(this.currentCursorPosition):this.moveHome()}moveCursorRight(){this.updateCursorPosition(!1);const t=this.inputSlotCollection.getLastSlotWithData(),r=t.startPosition+t.partText.length;if(this.currentCursorPosition<r&&!this.isSelection){const n=this.currentCursorPosition+1;let s=this.formatPartList[this.currentPartIndex];if(n>=s.startPosition&&n<=s.endPosition)this.setCursorSelection(n);else for(let o=this.currentPartIndex+1,i=this.formatPartList.length;o<i;o++)if(s=this.formatPartList[o],n>=s.startPosition&&n<=s.endPosition){s.isSeparator?this.setCursorSelection(this.formatPartList[o+1].startPosition):this.setCursorSelection(n);break}}else this.setCursorSelection(this.currentCursorPosition)}moveToNextInputPart(){if(this.currentPartIndex<this.formatPartList.length-1){const t=this.findNextEditablePart();t&&(this.currentPartIndex=t.partIndex,this.setCursorSelection(t.startPosition))}}moveToPreviousInputPart(){if(this.currentPartIndex>0){const t=this.findPreviousEditablePart();t&&(this.currentPartIndex=t.partIndex,this.setCursorSelection(t.endPosition))}}highlightAll(){const t=this.formatPartList[this.formatPartList.length-1].endPosition;this.setCursorSelection(0,t)}moveHighlightLeft(){this.updateHighlightPositions();const t=this.highlightCursorPosition>this.currentCursorStartPosition;if(this.currentCursorStartPosition>0||t){let r=t?this.currentCursorStartPosition:this.currentCursorStartPosition-1,n=t?this.highlightCursorPosition-1:this.currentCursorEndPosition,s=this.formatPartList[this.currentPartIndex];if(r>=s.startPosition&&r<=s.endPosition||t&&n>=s.startPosition&&n<=s.endPosition)this.setCursorSelection(r,n);else for(let o=this.currentPartIndex-1;o>=0;o--)if(s=this.formatPartList[o],r>=s.startPosition&&r<=s.endPosition||t&&n>=s.startPosition&&n<=s.endPosition){s.isSeparator?(t?n=this.formatPartList[o-1].endPosition:r=this.formatPartList[o-1].endPosition,this.setCursorSelection(r,n)):this.setCursorSelection(r,n);break}}}moveHighlightRight(){this.updateHighlightPositions();const t=this.inputSlotCollection.getLastSlotWithData(),r=t.startPosition+t.partText.length,n=this.highlightCursorPosition<this.currentCursorEndPosition;if(this.currentCursorEndPosition<r||n){let s=n?this.highlightCursorPosition+1:this.currentCursorStartPosition,o=n?this.currentCursorEndPosition:this.currentCursorEndPosition+1,i=this.formatPartList[this.currentPartIndex];if(o>=i.startPosition&&o<=i.endPosition||n&&s>=i.startPosition&&s<=i.endPosition)this.setCursorSelection(s,o);else for(let c=this.currentPartIndex+1,u=this.formatPartList.length;c<u;c++)if(i=this.formatPartList[c],o>=i.startPosition&&o<=i.endPosition||n&&s>=i.startPosition&&s<=i.endPosition){i.isSeparator?(n?s=this.formatPartList[c+1].startPosition:o=this.formatPartList[c+1].startPosition,this.setCursorSelection(s,o)):this.setCursorSelection(s,o);break}}}updateHighlightPositions(){this.currentCursorStartPosition===-1&&this.currentCursorEndPosition===-1&&this.currentCursorPosition>-1&&(this.currentCursorStartPosition=this.currentCursorPosition,this.currentCursorEndPosition=this.currentCursorPosition,this.highlightCursorPosition=this.currentCursorPosition)}updateCursorPosition(t=!0){this.currentCursorPosition===-1&&this.currentCursorStartPosition>-1&&this.currentCursorEndPosition>-1&&(t?this.currentCursorPosition=this.currentCursorStartPosition:this.currentCursorPosition=this.currentCursorEndPosition)}findNextEditablePart(){return this.inputSlotCollection.getNextSlot(this.currentPartIndex)}findPreviousEditablePart(){return this.inputSlotCollection.getPreviousSlot(this.currentPartIndex)}setPartIndexByCursorPosition(){for(let t=0;t<this.formatPartList.length;t++){const r=this.formatPartList[t];if(this.currentCursorPosition>=r.startPosition&&this.currentCursorPosition<=r.endPosition){if(r.isSeparator){this.currentCursorPosition=this.formatPartList[t+1].startPosition,this.currentPartIndex=t+1;break}this.currentPartIndex=t;break}}}setPartIndexByHighlightPosition(){for(let t=0;t<this.formatPartList.length;t++){const r=this.formatPartList[t];if(this.highlightCursorPosition>=r.startPosition&&this.highlightCursorPosition<=r.endPosition){if(r.isSeparator){this.highlightCursorPosition=this.formatPartList[t+1].startPosition,this.currentPartIndex=t+1;break}this.currentPartIndex=t;break}}}setPartIndicesByCursorPositions(){for(let t=0,r=this.formatPartList.length;t<r;t++){const n=this.formatPartList[t];n.isSeparator||(n.startPosition>=this.currentCursorStartPosition&&n.startPosition<=this.currentCursorEndPosition||n.endPosition>=this.currentCursorStartPosition&&n.endPosition<=this.currentCursorEndPosition||n.startPosition<this.currentCursorStartPosition&&n.endPosition>this.currentCursorEndPosition)&&this.currentPartIndices.push(t)}}createInputRangeSelection(){var t,r;this.inputElement&&(this.inputSelection=window.getSelection(),this.inputRange=document.createRange(),(t=this.inputSelection)==null||t.removeAllRanges(),this.inputRange.selectNodeContents(this.inputElement),this.inputRange.collapse(!0),(r=this.inputSelection)==null||r.addRange(this.inputRange),this.inputElement.firstChild&&(this.textNode=this.inputElement.firstChild))}}class cp{static create(t){const r=[];for(let n=0,s=t.length;n<s;n++){const o=t[n];o.isSeparator||r.push({partIndex:n,partText:"",isComplete:!1,...o})}return r}}class up{constructor(t){T(this,"inputSlots");this.inputSlots=cp.create(Cr.create(t))}clearAllSlots(){for(let t=0,r=this.inputSlots.length;t<r;t++)this.inputSlots[t].partText=""}getSlot(t){return this.inputSlots.find(r=>r.partIndex===t)}getSlots(t){return this.inputSlots.filter(r=>t.includes(r.partIndex))}getSlotsFromCursorPosition(t){let r=-1;for(let n=0,s=this.inputSlots.length;n<s;n++){const o=this.inputSlots[n];if(t>=o.startPosition&&t<=o.endPosition){r=o.partIndex;break}}return r>-1?this.inputSlots.filter(n=>n.partIndex>=r):void 0}getFirstSlot(){return this.inputSlots[0]}getLastSlot(){return this.inputSlots[this.inputSlots.length-1]}getNextSlot(t){const r=this.inputSlots.findIndex(n=>n.partIndex===t);if(r>-1&&r+1<this.inputSlots.length)return this.inputSlots[r+1]}getPreviousSlot(t){const r=this.inputSlots.findIndex(n=>n.partIndex===t);if(r>-1&&r-1>=0)return this.inputSlots[r-1]}getLastSlotWithData(){const t=this.inputSlots.findIndex(n=>!n.isComplete);let r=t;for(let n=t+1,s=this.inputSlots.length;n<s;n++)this.inputSlots[n].partText.length>0&&(r=n);return this.inputSlots[r>-1?r:0]}allSlotsCompleted(){return this.inputSlots.every(t=>t.isComplete)}allSlotsEmpty(){return this.inputSlots.every(t=>t.partText.length===0)}}class Zt{static getInstance(){return this.instance||(this.instance=new lp),this.instance}}T(Zt,"instance");class lp{constructor(){T(this,"navigatorInstances");T(this,"inputSlotInstances");this.navigatorInstances={},this.inputSlotInstances={}}getNavigatorInstance(t,r){return this.navigatorInstances[t]||(this.navigatorInstances[t]=new ap(r,t)),this.navigatorInstances[t]}getInputSlotInstance(t,r){return this.inputSlotInstances[t]||(this.inputSlotInstances[t]=new up(r)),this.inputSlotInstances[t]}removeInstances(t){this.navigatorInstances[t]&&delete this.navigatorInstances[t],this.inputSlotInstances[t]&&delete this.inputSlotInstances[t]}}class qn{constructor(t,r){T(this,"instanceCollection");T(this,"formatPartList");T(this,"inputSlotCollection");T(this,"inputElement");this.instanceCollection=Zt.getInstance(),this.formatPartList=Cr.create(t),this.inputSlotCollection=this.instanceCollection.getInputSlotInstance(r,t)}setInputElement(t){this.inputElement=t}render(){var r;let t="";for(let n=0,s=this.formatPartList.length;n<s;n++){const o=this.formatPartList[n];if(o.isSeparator)t+=o.inputText;else{const i=this.inputSlotCollection.getSlot(n);i&&(t+=i.partText+((r=i.inputText)==null?void 0:r.repeat(i.characterCount-i.partText.length)))}}this.inputElement&&(this.inputElement.innerHTML=t)}}var nt=(e=>(e[e.Text=0]="Text",e[e.Numeric=1]="Numeric",e))(nt||{});class bi{constructor(){T(this,"numberKeys",["0","1","2","3","4","5","6","7","8","9"]);T(this,"movementKeys",["ArrowLeft","ArrowRight","Home","End","a"]);T(this,"editingKeys",["Backspace","Delete"]);T(this,"ignoreKeys",["Shift","Alt","Control","Fn","Meta"])}isNumberKey(t){return this.numberKeys.includes(t)}isMovementKey(t){return this.movementKeys.includes(t.key)}isEditingKey(t){return this.editingKeys.includes(t.key)}isIgnoreKey(t){return this.ignoreKeys.includes(t.key)}}class fp{constructor(t){T(this,"_currentIndex",0);T(this,"index",0);T(this,"formatParts");this.formatParts=Cr.create(t)}get currentIndex(){return this._currentIndex}hasNext(){return this.index<this.formatParts.length}next(){if(this.index<this.formatParts.length)return this._currentIndex=this.index++,this.formatParts[this._currentIndex]}peek(){if(this.index<this.formatParts.length)return this.formatParts[this.index]}reset(){this.index=0}}class dp{constructor(t){T(this,"formatParts");this.formatParts=Cr.create(t)}getUniqueSeparators(){const t=[],r=this.formatParts.filter(n=>n.isSeparator);for(let n=0,s=r.length;n<s;n++){const o=r[n];o.inputText&&!t.includes(o.inputText)&&t.push(o.inputText)}return t}}class yi{constructor(t,r){T(this,"instanceCollection");T(this,"inputSlotCollection");T(this,"formatNavigator");T(this,"keyTypeChecker");T(this,"formatRenderer");T(this,"formatPartList");T(this,"partEntryList");this.format=t,this.instanceCollection=Zt.getInstance(),this.inputSlotCollection=this.instanceCollection.getInputSlotInstance(r,t),this.formatNavigator=this.instanceCollection.getNavigatorInstance(r,t),this.keyTypeChecker=new bi,this.formatRenderer=new qn(t,r),this.formatPartList=new fp(t),this.partEntryList=new dp(t)}setInputElement(t){this.formatRenderer.setInputElement(t)}processKeyPress(t){if(this.keyTypeChecker.isEditingKey(t)){this.processEditRules(t);return}this.formatNavigator.isSelection?(this.processSelectionEditRules(),setTimeout(()=>this.processInputRules(t))):this.processInputRules(t)}processInputValue(t){var n;this.inputSlotCollection.clearAllSlots(),this.formatPartList.reset();let r=0;for(;this.formatPartList.hasNext();){const s=this.formatPartList.next();if(s&&!s.isSeparator)if(((n=this.formatPartList.peek())==null?void 0:n.isSeparator)===!0){const o=this.formatPartList.currentIndex,i=this.formatPartList.next();if(i&&i.inputText){const c=t.indexOf(i.inputText,r),u=this.inputSlotCollection.getSlot(o);if(u&&c>-1){const p=c-r>u.characterCount?r+u.characterCount:c;u.partText=t.substring(r,p),this.processSlotRules(u),r=c+i.characterCount}}}else{const o=this.inputSlotCollection.getSlot(this.formatPartList.currentIndex);o&&(o.partText=t.substring(r,r+o.characterCount),this.processSlotRules(o))}}}processPastedValue(t,r=!1){r&&this.processSelectionEditRules();const n=this.formatNavigator.getCursorPosition(),s=this.inputSlotCollection.getSlotsFromCursorPosition(n);if(s){const o=n-s[0].startPosition,i=s[0].partText.substring(0,o);let c=s[0].partText.substring(o);s[0].partText="";for(let b=1,x=s.length;b<x;b++)c+=s[b].partText,s[b].partText="";const u=this.removeSeparatorsFromValue(t),p=i+u+c;let d=0;for(let b=0,x=s.length;b<x;b++){const l=s[b];l.partText=p.substring(d,l.characterCount+d),d+=l.characterCount,this.processSlotRules(l)}}}removeSeparatorsFromValue(t){let r=t;const n=this.partEntryList.getUniqueSeparators();for(let s=0,o=n.length;s<o;s++){const i=n[s];r=r.replaceAll(i,"")}return r}processEditRules(t){this.formatNavigator.isSelection?this.processSelectionEditRules():this.processNonSelectionEditRules(t)}processNonSelectionEditRules(t){const r=this.inputSlotCollection.getSlot(this.formatNavigator.getCurrentPartIndex());if(!r)return;const n=this.formatNavigator.getCursorPosition(),s=n-r.startPosition,o=this.format.deleteShiftsFormatPart||!1;switch(t.key){case"Backspace":{if(!(r.startPosition===n))r.partText=r.partText.substring(0,s-1)+r.partText.substring(s),o&&this.shiftFormatParts(r),this.formatRenderer.render(),this.formatNavigator.moveCursorLeft(),this.processSlotRules(r,!0);else{this.processSlotRules(r,!0);const c=this.inputSlotCollection.getPreviousSlot(r.partIndex);c&&(c.partText=c.partText.substring(0,c.partText.length-1),o&&this.shiftFormatParts(c),this.formatRenderer.render(),this.formatNavigator.setCursorPosition(c.startPosition+c.partText.length),this.processSlotRules(c,!0))}break}case"Delete":r.partText=r.partText.substring(0,s)+r.partText.substring(s+1),o&&this.shiftFormatParts(r),this.formatRenderer.render(),this.formatNavigator.setCursorToCurrentPosition(),this.processSlotRules(r,!0);break}}processSelectionEditRules(){const t=this.inputSlotCollection.getSlots(this.formatNavigator.getCurrentPartIndices());if(t.length<=0)return;const r=this.formatNavigator.getCursorStartPosition(),n=this.formatNavigator.getCursorEndPosition();for(let s=0,o=t.length;s<o;s++){const i=t[s];i.startPosition>=r&&i.endPosition<=n?i.partText="":i.startPosition>=r&&i.endPosition>n?i.partText=i.partText.substring(n-i.startPosition):i.startPosition<r&&i.endPosition<=n?i.partText=i.partText.substring(0,r-i.startPosition):i.startPosition<r&&i.endPosition>n&&(i.partText=i.partText.substring(0,r-i.startPosition)+i.partText.substring(n-i.startPosition))}this.formatRenderer.render(),this.formatNavigator.setCursorPosition(r);for(let s=0,o=t.length;s<o;s++)this.processSlotRules(t[s])}shiftFormatParts(t){let r=t,n;for(;(n=this.inputSlotCollection.getNextSlot(r.partIndex))!==void 0;){const s=n.partText.substring(0,1);n.partText=n.partText.substring(1),r.partText=r.partText+s,r=n}}processInputRules(t){const r=this.inputSlotCollection.getSlot(this.formatNavigator.getCurrentPartIndex());if(!r)return;const{key:n}=t,s=r.characterCount,o=r.partText;if(r.valueType===nt.Numeric){if(!this.keyTypeChecker.isNumberKey(n))return;const i=r.maximumValue,c=r.exceedingMaximumValueCausesTab||!1,u=r.padWithZeros||!1,p=parseInt(this.createNewValue(r,n));if(i&&p>i)if(c){u&&(r.partText=r.partText.padStart(s,"0")),r.isComplete=!0;const d=this.inputSlotCollection.getNextSlot(r.partIndex);d&&!d.isComplete&&(d.partText=n),this.formatRenderer.render(),d&&this.formatNavigator.setCursorPosition(d.isComplete?d.startPosition:d.startPosition+1)}else return;else o.length+1===s?(this.addToInputSlot(n),r.isComplete=!0,this.formatRenderer.render(),this.formatNavigator.isAtLastPart()?this.formatNavigator.moveCursorRight():this.formatNavigator.moveToNextInputPart()):o.length+1<s&&(this.addToInputSlot(n),this.formatRenderer.render(),this.formatNavigator.moveCursorRight())}else o.length+1===s?(this.addToInputSlot(n),r.isComplete=!0,this.formatRenderer.render(),this.formatNavigator.isAtLastPart()?this.formatNavigator.moveCursorRight():this.formatNavigator.moveToNextInputPart()):(this.addToInputSlot(n),this.formatRenderer.render(),this.formatNavigator.moveCursorRight())}addToInputSlot(t){const r=this.inputSlotCollection.getSlot(this.formatNavigator.getCurrentPartIndex());r&&(r.partText=this.createNewValue(r,t))}createNewValue(t,r){const n=t.partText,s=this.formatNavigator.getCursorPosition();if(s>=t.startPosition+t.partText.length)return n+r;{const o=s-t.startPosition;return n.substring(0,o)+r+n.substring(o)}}processSlotRules(t,r=!1){const n=t.characterCount,s=t.allCharactersRequired||!1;if(t.valueType===nt.Numeric){const o=t.minimumValue,i=t.maximumValue;if(s)t.isComplete=t.partText.length===n;else if(o!==void 0&&i!==void 0){const c=t.padWithZeros||!1,u=parseInt(t.partText);t.isComplete=u>=o&&u<=i,t.isComplete&&c&&!r&&(t.partText=t.partText.padStart(n,"0"))}else t.isComplete=t.partText.length>0}else s?t.isComplete=t.partText.length===n:t.isComplete=t.partText.length>0}}class hp{constructor(t,r){T(this,"instanceCollection");T(this,"formatNavigator");T(this,"ruleProcessor");T(this,"keyTypeChecker");T(this,"formatRenderer");this.format=t,this.instanceCollection=Zt.getInstance(),this.formatNavigator=this.instanceCollection.getNavigatorInstance(r,t),this.ruleProcessor=new yi(t,r),this.keyTypeChecker=new bi,this.formatRenderer=new qn(t,r)}setInputElement(t){this.ruleProcessor.setInputElement(t),this.formatRenderer.setInputElement(t)}processMovementKey(t){const{key:r,metaKey:n,ctrlKey:s,shiftKey:o}=t;switch(r){case"ArrowLeft":o?this.formatNavigator.moveHighlightLeft():n?this.formatNavigator.moveHome():this.formatNavigator.moveCursorLeft();break;case"ArrowRight":o?this.formatNavigator.moveHighlightRight():n?this.formatNavigator.moveEnd():this.formatNavigator.moveCursorRight();break;case"Home":this.formatNavigator.moveHome();break;case"End":this.formatNavigator.moveEnd();break;case"a":(n||s)&&this.formatNavigator.highlightAll();break}}processKeyPress(t){return this.keyTypeChecker.isIgnoreKey(t)?!1:this.keyTypeChecker.isMovementKey(t)?(this.processMovementKey(t),!1):(this.ruleProcessor.processKeyPress(t),!0)}}class pp{constructor(t,r=""){T(this,"instanceId");T(this,"instanceCollection");T(this,"keyProcessor");T(this,"formatNavigator");T(this,"formatRenderer");T(this,"inputSlotCollection");T(this,"inputRuleProcessor");T(this,"previousOutputValue","");T(this,"inputElementSet",!1);T(this,"isInputFocused",!1);T(this,"inputElement");T(this,"onFormatChange");this.inputValue=r,this.instanceId=ip(),this.instanceCollection=Zt.getInstance(),this.keyProcessor=new hp(t,this.instanceId),this.formatNavigator=this.instanceCollection.getNavigatorInstance(this.instanceId,t),this.formatRenderer=new qn(t,this.instanceId),this.inputSlotCollection=this.instanceCollection.getInputSlotInstance(this.instanceId,t),this.inputRuleProcessor=new yi(t,this.instanceId)}inputElementCreated(t){this.keyProcessor.setInputElement(t),this.formatNavigator.setInputElement(t),this.formatRenderer.setInputElement(t),this.inputElement=t,this.inputElementSet=!0,this.inputElementSet&&this.inputValue.length>0&&this.inputValuePassed(this.inputValue)}inputFocused(){this.isInputFocused=!0,this.formatRenderer.render(),setTimeout(()=>this.formatNavigator.findCursorPosition())}inputBlurred(){this.isInputFocused=!1}inputValuePassed(t){this.inputValue=t,this.inputElementSet&&(this.inputValue.length>0?this.inputRuleProcessor.processInputValue(t):(this.inputSlotCollection.clearAllSlots(),this.previousOutputValue=void 0),this.renderFormat())}pastedValue(t){t.length>0&&(this.formatNavigator.isSelection?this.formatNavigator.isAllSelected?this.inputValuePassed(t):this.inputRuleProcessor.processPastedValue(t,!0):this.inputValue.length===0?this.inputValuePassed(t):this.inputRuleProcessor.processPastedValue(t),this.renderFormat(!0))}registerFormatChangeEvent(t){this.onFormatChange=t}mouseUpHandler(){this.formatNavigator.findCursorPosition()}keyDownHandler(t){if(t.key!=="Tab"){if(!(t.key==="c"&&(t.ctrlKey||t.metaKey))&&!(t.key==="x"&&(t.ctrlKey||t.metaKey))&&!(t.key==="v"&&(t.ctrlKey||t.metaKey)))t.preventDefault(),t.stopPropagation();else return;this.keyProcessor.processKeyPress(t)&&this.inputElement&&this.onFormatChange&&(this.inputSlotCollection.allSlotsCompleted()&&this.previousOutputValue!==this.inputElement.innerHTML?(this.previousOutputValue=this.inputElement.innerHTML,this.onFormatChange(this.inputElement.innerHTML)):this.inputSlotCollection.allSlotsEmpty()&&this.previousOutputValue!==void 0&&(this.previousOutputValue=void 0,this.onFormatChange()))}}dispose(){this.instanceCollection.removeInstances(this.instanceId)}renderFormat(t=!1){setTimeout(()=>{var r,n;this.formatRenderer.render(),this.isInputFocused&&this.formatNavigator.setCursorToCurrentPosition(),this.inputValue.length>0&&(this.previousOutputValue=(r=this.inputElement)==null?void 0:r.innerHTML),t&&((n=this.inputElement)!=null&&n.innerHTML)&&this.onFormatChange&&this.onFormatChange(this.inputElement.innerHTML)})}}const mp=(e,t)=>{const{value:r="",format:n,readOnly:s=!1,debounceTime:o=800,fillContainer:i=!0,leftElement:c,rightElement:u,className:p,leftElementClassName:d,rightElementClassName:b,isSingleLine:x=!1,allowSingleLineScroll:l=!1,isInputValid:f,onChange:m,onFocus:w,onBlur:v,onElementCreate:P,onLeftElementClick:A,onRightElementClick:D}=e,[E,q]=h.useState(!0),R=h.useRef(),B=h.useRef(),H=h.useRef(),ne=h.useRef(!1);h.useEffect(()=>(document.addEventListener("mouseup",F),()=>{var _;(_=H.current)==null||_.dispose(),document.removeEventListener("mouseup",F)}),[]),h.useEffect(()=>{var _;(_=H.current)==null||_.inputValuePassed(r)},[r]),h.useEffect(()=>{var _,C,U;(_=H.current)==null||_.dispose(),n&&(H.current=new pp(n,r),B.current&&((C=H.current)==null||C.inputElementCreated(B.current)),(U=H.current)==null||U.registerFormatChangeEvent(oe))},[n]);const oe=h.useCallback(_=>{f?f(_)?(q(!0),m==null||m(_)):q(!1):m==null||m(_)},[m]),W=h.useCallback(_=>{var C;(C=H.current)==null||C.inputFocused(),w==null||w(_)},[w]),$=h.useCallback(_=>{var C;(C=H.current)==null||C.inputBlurred(),v==null||v(_)},[v]),I=h.useCallback(()=>{ne.current=!0},[]),Z=h.useCallback(()=>{var _;if(ne.current)ne.current=!1,(_=H.current)==null||_.mouseUpHandler();else{const C=new MouseEvent("mouseup");document.dispatchEvent(C)}},[]),F=h.useCallback(()=>{var _;ne.current&&(ne.current=!1,(_=H.current)==null||_.mouseUpHandler())},[]),Q=h.useCallback(_=>{var C;(C=H.current)==null||C.keyDownHandler(_)},[]),j=h.useCallback(_=>{var U,ee;_.preventDefault(),_.stopPropagation();const C=(U=_.clipboardData)==null?void 0:U.getData("text/plain");C&&((ee=H.current)==null||ee.pastedValue(C))},[]),ue=h.useCallback(_=>{var C,U,ee,Y,K,G,re,O,ae,L,Ne,Be,Re,Ye,st,Ze,Ve;(U=(C=R.current)==null?void 0:C.inputElement)==null||U.removeEventListener("keydown",Q),(Y=(ee=R.current)==null?void 0:ee.inputElement)==null||Y.removeEventListener("mousedown",I),(G=(K=R.current)==null?void 0:K.inputElement)==null||G.removeEventListener("mouseup",Z),(O=(re=R.current)==null?void 0:re.inputElement)==null||O.removeEventListener("paste",j),R.current=_,(L=(ae=R.current)==null?void 0:ae.inputElement)==null||L.addEventListener("keydown",Q),(Be=(Ne=R.current)==null?void 0:Ne.inputElement)==null||Be.addEventListener("mousedown",I),(Ye=(Re=R.current)==null?void 0:Re.inputElement)==null||Ye.addEventListener("mouseup",Z),(Ze=(st=R.current)==null?void 0:st.inputElement)==null||Ze.addEventListener("paste",j),B.current=(Ve=R.current)==null?void 0:Ve.inputElement},[]),k=h.useCallback(()=>{var _;(_=R.current)==null||_.focus()},[]);h.useImperativeHandle(t,()=>({focus:k}));const M=he(p,{"bsc:border-error!":!E});return y.jsx(Wr,{ref:_=>_&&ue(_),readOnly:s,debounceTime:o,fillContainer:i,leftElement:c,rightElement:u,className:M,leftElementClassName:d,rightElementClassName:b,isSingleLine:x,allowSingleLineScroll:l,onFocus:W,onBlur:$,onElementCreate:P,onLeftElementClick:A,onRightElementClick:D})},vi=h.forwardRef(mp),Kn=h.createContext(void 0);function xi(e,t,r=!0){var x,l;const n=Ao(e),s=No(e),o=fd(e);let i=_n(s)-(((x=t.options)==null?void 0:x.weekStartsOn)||0);i=i===-1?6:i;const c=_n(o)-(((l=t.options)==null?void 0:l.weekStartsOn)||0),u=xf({start:s,end:o}),p=n+i>35?6:5,d=wi(p,7,{dayValue:null,isCurrent:!0});let b=1;for(let f=0,m=p;f<m;f++){for(let w=f>0?0:i;w<7;w++){const v=u[b-1];if(v.setHours(e.getHours(),e.getMinutes(),e.getSeconds()),d[f][w].dayValue=v,++b>n)break}if(b>n)break}if(i>0&&r)for(let f=0;f<i;f++)d[0][f].dayValue=ch(s,i-f),d[0][f].isCurrent=!1;if(c>-1&&r)for(let f=6;f>c;f--)d[p-1][f].dayValue=Ut(o,f-c),d[p-1][f].isCurrent=!1;return d}function wi(e,t,r){const n=[];for(let s=0,o=e;s<o;s++){const i=[];for(let c=0,u=t;c<u;c++){const p=gp(r)?r:{...r};i.push(p)}n.push(i)}return n}function gp(e){const t=typeof e;return t==="string"||t==="number"||t==="boolean"||e instanceof Date}function bp(e){var n;const t=uh(new Date,((n=e.options)==null?void 0:n.weekStartsOn)||0),r=[];for(let s=0;s<7;s++)r.push(Ut(t,s).toLocaleDateString(e.code,{weekday:"short"}));return r}function yp(e){const t=new Date(Date.UTC(2020,0,1)),r=[[{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""}],[{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""}],[{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""}]];let n=0;for(let s=0;s<3;s++)for(let o=0;o<4;o++)r[s][o]={monthNumber:n,monthName:mt(t,n++).toLocaleDateString(e.code,{month:"short"})};return r}function vp(e,t){const r=new Date(e.getTime()),n=Math.floor(r.getFullYear()/10)*10;r.setFullYear(n);const s=wf({start:r,end:Sr(r,9)}),o=wi(3,4,"");let i=0;for(let c=0;c<3;c++)for(let u=0;u<4&&(o[c][u]=s[i++].toLocaleDateString(t.code,{year:"numeric"}),i!==s.length);u++);return o}function xp(e){const t=new Date;return t.setHours(0,0,0,0),t.toLocaleTimeString(e.code)}function wp(e,t,r){return e.getTime()>=t.getTime()&&e.getTime()<=r.getTime()}async function Si(e){return(await import(`/node_modules/date-fns/locale/${Sp(e)}`)).default}function Sp(e){const[t,r]=e.split("-");switch(t){case"af":return"af";case"ar":switch(r){case"DZ":return"ar-DZ";case"EG":return"ar-EG";case"MA":return"ar-MA";case"SA":return"ar-SA";case"TN":return"ar-TN";default:return"ar"}case"az":return"az";case"be":switch(r){case"tarask":return"be-tarask";default:return"be"}case"bg":return"bg";case"bn":return"bn";case"bs":return"bs";case"ca":return"ca";case"cs":return"cs";case"cy":return"cy";case"da":return"da";case"de":switch(r){case"AT":return"de-AT";default:return"de"}case"el":return"el";case"en":switch(r){case"AU":return"en-AU";case"CA":return"en-CA";case"GB":return"en-GB";case"IE":return"en-IE";case"IN":return"en-IN";case"NZ":return"en-NZ";case"US":return"en-US";default:return"en-ZA"}case"eo":return"eo";case"es":return"es";case"et":return"et";case"eu":return"eu";case"fa":return"fa-IR";case"fi":return"fi";case"fr":switch(r){case"CA":return"fr-CA";case"CH":return"fr-CH";default:return"fr"}case"fy":return"fy";case"gd":return"gd";case"gl":return"gl";case"gu":return"gu";case"he":return"he";case"hi":return"hi";case"hr":return"hr";case"ht":return"ht";case"hu":return"hu";case"hy":return"hy";case"id":return"id";case"is":return"is";case"it":switch(r){case"CH":return"it-CH";default:return"it"}case"ja":switch(r){case"Hira":return"ja-Hira";default:return"ja"}case"ka":return"ka";case"kk":return"kk";case"km":return"km";case"kn":return"kn";case"ko":return"ko";case"lb":return"lb";case"lt":return"lt";case"lv":return"lv";case"mk":return"mk";case"mn":return"mn";case"ms":return"ms";case"mt":return"mt";case"nb":return"nb";case"nl":switch(r){case"BE":return"nl-BE";default:return"nl"}case"nn":return"nn";case"oc":return"oc";case"pl":return"pl";case"pt":switch(r){case"BR":return"pt-BR";default:return"pt"}case"ro":return"ro";case"ru":return"ru";case"sk":return"sk";case"sl":return"sl";case"sq":return"sq";case"sr":switch(r){case"Latn":return"sr-Latn";default:return"sr"}case"sv":return"sv";case"ta":return"ta";case"te":return"te";case"th":return"th";case"tr":return"tr";case"ug":return"ug";case"uk":return"uk";case"uz":switch(r){case"Cyrl":return"uz-Cyrl";default:return"uz"}case"vi":return"vi";case"zh":switch(r){case"CN":return"zh-CN";case"HK":return"zh-HK";default:return"zh-TW"}default:return"en-AU"}}function Or(e,t){const r=lh(e);if(isNaN(r.valueOf())){let n=rt(e,"P pp",new Date,{locale:t});return!isNaN(n.valueOf())||(n=rt(e,"Pp",new Date,{locale:t}),!isNaN(n.valueOf()))||(n=rt(e,"P HH:mm",new Date,{locale:t}),!isNaN(n.valueOf()))||(n=rt(e,"P hh:mm a..aaa",new Date,{locale:t}),!isNaN(n.valueOf()))||(n=rt(e,"P HH:mm:ss",new Date,{locale:t}),!isNaN(n.valueOf()))||(n=rt(e,"P hh:mm:ss a..aaa",new Date,{locale:t}),!isNaN(n.valueOf()))||(n=rt(e,"P",new Date,{locale:t}),!isNaN(n.valueOf()))||(n=rt(e,"P p",new Date,{locale:t}),!isNaN(n.valueOf()))||(n=rt(e,"pp",new Date,{locale:t}),!isNaN(n.valueOf()))||(n=rt(e,"p",new Date,{locale:t}),!isNaN(n.valueOf()))?n:void 0}return r}function Zn(e,t){const r=e.split("-");if(r.length!==2)return;const n=Or(r[0].trim(),t);if(!n)return;const s=Or(r[1].trim(),t);if(s)return[n,s]}var we=(e=>(e[e.DateTime=0]="DateTime",e[e.DateOnly=1]="DateOnly",e[e.TimeOnly=2]="TimeOnly",e[e.DateRange=3]="DateRange",e))(we||{}),Me=(e=>(e[e.DaySelector=0]="DaySelector",e[e.MonthSelector=1]="MonthSelector",e[e.YearSelector=2]="YearSelector",e[e.TimeSelector=3]="TimeSelector",e[e.DateRangeSelector=4]="DateRangeSelector",e))(Me||{}),Qt=(e=>(e[e.Day=0]="Day",e[e.Month=1]="Month",e[e.Year=2]="Year",e[e.Range=3]="Range",e))(Qt||{}),Dr=(e=>(e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e))(Dr||{}),_e=(e=>(e[e.TwelveHour=0]="TwelveHour",e[e.TwentyFourHour=1]="TwentyFourHour",e))(_e||{}),bt=(e=>(e[e.Normal=0]="Normal",e[e.Range=1]="Range",e))(bt||{}),Zr=(e=>(e[e.Right=0]="Right",e[e.Left=1]="Left",e[e.None=2]="None",e))(Zr||{}),fe=(e=>(e[e.SetDateSelector=0]="SetDateSelector",e[e.SetViewDate=1]="SetViewDate",e[e.SetSelectedDate=2]="SetSelectedDate",e[e.SetSelectedDateRange=3]="SetSelectedDateRange",e[e.SetSelectedStartDate=4]="SetSelectedStartDate",e[e.SetSelectedEndDate=5]="SetSelectedEndDate",e[e.SetTimeFormat=6]="SetTimeFormat",e[e.ClearDates=7]="ClearDates",e[e.InitializeDates=8]="InitializeDates",e))(fe||{});const Tp=(e,t)=>{switch(t.type){case 0:return t.dateSelector!==void 0?{...e,currentSelector:t.dateSelector,currentViewDate:t.viewDate||e.currentViewDate}:{...e};case 1:return{...e,currentViewDate:t.viewDate||new Date,dateInitialized:!0};case 2:return{...e,selectedDate:t.selectedDate||e.selectedDate,currentViewDate:t.viewDate||e.currentViewDate};case 3:return{...e,selectedStartDate:t.selectedStartDate||e.selectedStartDate,selectedEndDate:t.selectedEndDate||e.selectedEndDate};case 4:return{...e,selectedStartDate:t.selectedStartDate,selectedEndDate:void 0};case 5:return{...e,selectedEndDate:t.selectedEndDate};case 6:return{...e,timeFormat:t.timeFormat||e.timeFormat};case 7:return{currentSelector:e.currentSelector,currentViewDate:e.currentViewDate,timeFormat:e.timeFormat,dateInitialized:!0};case 8:{const r={...e,currentViewDate:Pp(t.initialDate),dateInitialized:!0};return Array.isArray(t.initialDate)?{...r,selectedStartDate:t.initialDate[0],selectedEndDate:t.initialDate[1]}:{...r,selectedDate:t.initialDate}}default:return{...e,currentSelector:Me.DaySelector}}};function Pp(e){return e?Array.isArray(e)?e[0]:e:new Date}const Qn=(e,t,r)=>{const n=h.useCallback(u=>{r({type:fe.SetViewDate,viewDate:mt(t,u)})},[t]),s=h.useCallback(u=>{r({type:fe.SetViewDate,viewDate:Mn(t,u)})},[t]),o=h.useCallback(u=>{r({type:fe.SetViewDate,viewDate:Sr(t,u)})},[t]),i=h.useCallback(u=>{r({type:fe.SetViewDate,viewDate:Rn(t,u)})},[t]),c=h.useCallback(u=>{r({type:fe.SetDateSelector,dateSelector:u})},[]);return{...e,incrementViewMonths:n,decrementViewMonths:s,incrementViewYears:o,decrementViewYears:i,setDateSelector:c}},Qr=({viewDate:e,selectedDate:t,selectedStartDate:r,selectedEndDate:n,selectionMode:s=bt.Normal,locale:o,onDateSelected:i,selectableDate:c,isValidDate:u,dispatcher:p})=>{var Z;const[d,b]=h.useState(!1),[x,l]=h.useState(),[f,m]=h.useState(),[w,v]=h.useState(),[P,A]=h.useState(),D=h.useRef(),E=h.useRef(),q=h.useContext(Kn),R=h.useMemo(()=>q.calendarTemplate,[q.calendarTemplate]),B=async()=>o||await Si(Vo());h.useEffect(()=>{B().then(F=>{D.current=F,E.current=bp(D.current),b(!0)}).catch(F=>console.error(F))},[]),h.useEffect(()=>{e&&D.current&&v(xi(e,D.current,s===bt.Normal))},[e,d]),h.useEffect(()=>{A(t?new Date(t.getFullYear(),t.getMonth(),t.getDate()):void 0)},[t]),h.useEffect(()=>{l(r?new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0).getTime():void 0),m(n?new Date(n.getFullYear(),n.getMonth(),n.getDate(),23,59,59).getTime():void 0)},[r,n]),h.useEffect(()=>{D.current&&o&&(D.current=o,v(xi(e,D.current,s===bt.Normal)))},[o]);const H=F=>{if(s===bt.Normal)p==null||p({type:fe.SetSelectedDate,selectedDate:F,viewDate:F}),i==null||i(F);else{if(!i)throw new Error("Range selection mode requires onDateSelected to be set");!r||dd(F,r)?i(F):r&&!n?i(F,{setEndDate:!0}):r&&n&&i(F)}},ne=F=>(P==null?void 0:P.toLocaleDateString())===F.toLocaleDateString(),oe=F=>{if(x&&f){const Q=F.getTime();return Q>=x&&Q<=f}return!1},W=Qn({viewDate:e,selectedDate:t,selectedStartDate:r,selectedEndDate:n,selectionMode:s,locale:o,weekDays:E.current,monthMatrix:w,selectableDate:c,isValidDate:u,onDateClicked:H,isSelectedDate:ne,isInSelectedDateRange:oe},e,p),I=R||((F,Q)=>y.jsx("div",{className:"bc-dt-calendar bsc:w-full",children:Q}));return y.jsx(kt,{props:W,template:I,children:y.jsxs("div",{className:"bc-dt-day-row bsc:grid bsc:min-w-[329px] bsc:grid-cols-7 bsc:gap-3",children:[(Z=E.current)==null?void 0:Z.map((F,Q)=>y.jsx("div",{className:"bc-dt-day-cell bsc:text-center bsc:font-bold",children:F},Q)),w==null?void 0:w.map((F,Q)=>F.map((j,ue)=>{var _,C;const k=j.dayValue!==null&&(c===void 0||c(j.dayValue)),M=he("bsc:text-center bsc:py-1 bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:hover:bg-mono-light-2 bsc:dark:hover:text-mono-dark-1",{"bsc:text-gray-3":!j.isCurrent,"bsc:bg-primary-1 bsc:text-white bsc:dark:bg-mono-light-1 bsc:dark:text-mono-dark-1":j&&j.dayValue&&(P&&ne(j.dayValue)||x&&!f&&_o(x,j.dayValue)||x&&f&&oe(j.dayValue)),"bsc:cursor-pointer":k,"bsc:text-error bsc:cursor-not-allowed":!k,"bsc:bg-primary-5 bsc:dark:bg-mono-light-3 bsc:dark:text-mono-dark-1":j.dayValue&&ah(j.dayValue)&&!(ne(j.dayValue)||oe(j.dayValue))},"bc-dt-date-cell");return y.jsx("div",{className:M,onClick:()=>j&&j.dayValue&&k&&(u===void 0||u(j.dayValue))&&H(j.dayValue),children:(C=j.dayValue)==null?void 0:C.getDate().toLocaleString((_=D.current)==null?void 0:_.code)},Q.toString()+ue.toString())}))]})})},Gr=({title:e,scrollerType:t,onTitleClicked:r,onMovePrevious:n,onMoveNext:s,viewDate:o,dispatcher:i})=>{const u=h.useContext(Kn).dateScrollerTemplate,p=Qn({title:e,scrollerType:t,onTitleClicked:r,onMovePrevious:n,onMoveNext:s},o,i),d="bsc:bg-transparent bsc:cursor-pointer bsc:focus:outline-hidden bsc:hover:bg-primary-1! bsc:hover:text-white! bsc:dark:hover:bg-mono-light-3!",x=u||((l,f)=>y.jsx("div",{className:"bc-dt-scroller bsc:flex bsc:w-full bsc:flex-row bsc:items-center bsc:px-2 bsc:py-1",children:f}));return y.jsxs(kt,{props:p,template:x,children:[y.jsx("div",{className:"bc-dt-scroller-left bsc:shrink bsc:cursor-pointer",children:y.jsx(Je,{className:d,onClick:n,children:y.jsx(qe,{icon:"chevronLeft",size:He.Regular})})}),y.jsx("div",{className:"bc-dt-scroller-title bsc:grow bsc:cursor-pointer bsc:text-center bsc:hover:text-primary-2 bsc:dark:hover:text-mono-light-3",onClick:r,children:e}),y.jsx("div",{className:"bc-dt-scroller-right bsc:shrink bsc:cursor-pointer",children:y.jsx(Je,{className:d,onClick:s,children:y.jsx(qe,{icon:"chevronRight",size:He.Regular})})})]})},Ep=({selectedDate:e,viewDate:t,locale:r,showTimeSelector:n,selectableDate:s,isValidDate:o,onChange:i,dispatcher:c})=>{const u=()=>{t&&c({type:fe.SetViewDate,viewDate:Mn(t,1)})},p=()=>{t&&c({type:fe.SetViewDate,viewDate:mt(t,1)})},d=()=>{c({type:fe.SetDateSelector,dateSelector:Me.MonthSelector})},b=()=>{c({type:fe.SetDateSelector,dateSelector:Me.TimeSelector})},x=()=>t?t.toLocaleDateString(r.code,{month:"long",year:"numeric"}):"";return y.jsxs("div",{className:"bc-dt-day-selector bsc:p-2",children:[y.jsx(Gr,{title:x(),scrollerType:Qt.Day,onTitleClicked:d,onMovePrevious:u,onMoveNext:p,viewDate:t,dispatcher:c}),y.jsx(Qr,{viewDate:t,selectedDate:e,locale:r,selectableDate:s,isValidDate:o,onDateSelected:i,dispatcher:c}),n&&y.jsx("div",{className:"bc-dt-time-value-wrapper bsc:flex bsc:w-full bsc:flex-row bsc:justify-center bsc:p-2",children:y.jsx("div",{className:"bc-dt-time-value bsc:cursor-pointer bsc:p-2 bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:bg-mono-dark-1 bsc:dark:text-mono-light-1 bsc:dark:hover:bg-mono-light-2 bsc:dark:hover:text-mono-dark-2",onClick:b,children:(e==null?void 0:e.toLocaleTimeString(r.code))||xp(r)})})]})},kp=({viewDate:e,locale:t,dateSelection:r=we.DateTime,dispatcher:n})=>{const s=h.useRef(yp(t)),o=()=>{const d=Rn(e,1);n({type:fe.SetViewDate,viewDate:d})},i=()=>{const d=Sr(e,1);n({type:fe.SetViewDate,viewDate:d})},c=d=>{n({type:fe.SetDateSelector,dateSelector:r!==we.DateRange?Me.DaySelector:Me.DateRangeSelector,viewDate:kh(e,d)})},u=()=>e.toLocaleDateString(t.code,{year:"numeric"}),p=()=>{n({type:fe.SetDateSelector,dateSelector:Me.YearSelector})};return y.jsxs("div",{className:"bc-dt-month-selector bsc:p-2",style:{minWidth:"20rem"},children:[y.jsx(Gr,{title:u(),scrollerType:Qt.Month,onTitleClicked:p,onMovePrevious:o,onMoveNext:i,viewDate:e,dispatcher:n}),y.jsx("div",{className:"bc-dt-month-grid bsc:grid bsc:w-full bsc:grid-cols-4 bsc:gap-4",children:s.current.map((d,b)=>d.map((x,l)=>y.jsx("div",{className:"bc-dt-month-cell bsc:cursor-pointer bsc:text-center bsc:py-2 bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:hover:bg-mono-light-2 bsc:dark:hover:text-mono-dark-1",onClick:()=>c(x.monthNumber),children:x.monthName},b.toString()+l.toString())))})]})},Cp=({viewDate:e,selectedStartDate:t,selectedEndDate:r,locale:n,onChange:s,dispatcher:o})=>{const i=Ur("screen and (max-device-width: 40rem)"),c=mt(e,1),u=(l,f)=>{!f||!f.setEndDate?o({type:fe.SetSelectedStartDate,selectedStartDate:l}):(o({type:fe.SetSelectedEndDate,selectedEndDate:l}),t&&s&&s([t,l]))},p=()=>{o({type:fe.SetDateSelector,dateSelector:Me.MonthSelector})},d=()=>i?`${e.toLocaleDateString(n.code,{month:"long"})} ${e.toLocaleDateString(n.code,{year:"numeric"})}`:`${e.toLocaleDateString(n.code,{month:"long"})} ${e.toLocaleDateString(n.code,{year:"numeric"})} - ${c.toLocaleDateString(n.code,{month:"long"})} ${c.toLocaleDateString(n.code,{year:"numeric"})}`,b=()=>{e&&o({type:fe.SetViewDate,viewDate:Mn(e,1)})},x=()=>{e&&o({type:fe.SetViewDate,viewDate:mt(e,1)})};return y.jsxs("div",{className:"bc-dt-range-selector bsc:flex bsc:flex-col",children:[y.jsx("div",{className:"bc-dt-range-scroller-wrapper bsc:shrink",children:y.jsx(Gr,{title:d(),scrollerType:Qt.Range,onTitleClicked:p,onMovePrevious:b,onMoveNext:x,viewDate:e,dispatcher:o})}),y.jsx("div",{className:"bsc-flex-grow",children:y.jsx(An,{mobileMarkup:y.jsx("div",{className:"bc-dt-range-calendar bsc:px-2 bsc:py-1",children:y.jsx(Qr,{viewDate:e,selectedStartDate:t,selectedEndDate:r,selectionMode:bt.Range,onDateSelected:u,locale:n,dispatcher:o})}),aboveMobileMarkup:y.jsxs("div",{className:"bc-dt-range-wrapper bsc:flex bsc:flex-row bsc:px-2 bsc:py-1",children:[y.jsx("div",{className:"bc-dt-range-calendar-1 bsc:border-r bsc:border-solid bsc:border-gray-3 bsc:pr-4",children:y.jsx(Qr,{viewDate:e,selectedStartDate:t,selectedEndDate:r,selectionMode:bt.Range,onDateSelected:u,locale:n,dispatcher:o})}),y.jsx("div",{className:"bc-dt-range-calendar-2 bsc:pl-4",children:y.jsx(Qr,{viewDate:c,selectedStartDate:t,selectedEndDate:r,selectionMode:bt.Range,onDateSelected:u,locale:n,dispatcher:o})})]})})})]})},Op=({viewDate:e,showDateSelector:t,locale:r,timeFormat:n=_e.TwelveHour,timeConstraints:s,onChange:o,dispatcher:i})=>{const c=h.useRef(n===_e.TwelveHour?11:23),u=h.useRef(n===_e.TwelveHour?["12","01","02","03","04","05","06","07","08","09","10","11"]:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"]),p=h.useRef(Oh(0,59,I=>I.toString().padStart(2,"0"))),d=h.useRef(["AM","PM"]),b=h.useRef(cf(e)),x=I=>I>11?I-12:I,[l,f]=h.useState(x(e.getHours())),[m,w]=h.useState(e.getMinutes()),[v,P]=h.useState(e.getHours()<=12?0:1),A=h.useRef(e.toLocaleDateString(r.code));h.useEffect(()=>{const I=e.getHours(),Z=e.getMinutes();if(I!==l&&f(n===_e.TwelveHour?x(I):I),Z!==m&&w(Z),n===_e.TwelveHour){const F=I<=11?0:1;F!==v&&P(F)}},[e]);const D=()=>{var F;const I=((F=s==null?void 0:s.hours)==null?void 0:F.step)||1,Z=l<c.current?l+I:0;f(Z),H(Z,m,v)},E=()=>{var F;const I=((F=s==null?void 0:s.hours)==null?void 0:F.step)||1,Z=l>0?l-I:c.current;f(Z),H(Z,m,v)},q=()=>{var F,Q,j;const I=((F=s==null?void 0:s.minutes)==null?void 0:F.step)||1,Z=m+I<(((Q=s==null?void 0:s.minutes)==null?void 0:Q.max)||59)?m+I:((j=s==null?void 0:s.minutes)==null?void 0:j.min)||0;w(Z),H(l,Z,v)},R=()=>{var F,Q,j;const I=((F=s==null?void 0:s.minutes)==null?void 0:F.step)||1,Z=m-I>=(((Q=s==null?void 0:s.minutes)==null?void 0:Q.min)||0)?m-I:(((j=s==null?void 0:s.minutes)==null?void 0:j.max)||60)-I;w(Z),H(l,Z,v)},B=()=>{const I=v===0?1:0;P(I),H(l,m,I)},H=(I,Z,F)=>{const Q=n===_e.TwelveHour&&F===1?I+12:I;b.current.setHours(Q,Z),i({type:fe.SetSelectedDate,selectedDate:b.current,viewDate:b.current}),o==null||o(b.current)},ne=()=>{i({type:fe.SetDateSelector,dateSelector:Me.DaySelector})},oe=he("bsc:w-full bsc:grid bsc:grid-rows-3 bsc:gap-4 bsc:items-center bc-dt-time-grid",{"bsc:grid-cols-4":n===_e.TwelveHour,"bsc:grid-cols-3":n===_e.TwentyFourHour}),W=he("bsc:text-center bsc:cursor-pointer bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:text-mono-light-1 bsc:dark:hover:bg-mono-light-1 bsc:dark:hover:text-mono-dark-1 bc-dt-time-date-value",{"bsc:col-span-4":n===_e.TwelveHour,"bsc:col-span-3":n===_e.TwentyFourHour}),$="bsc-bg-transparent bsc:p-2 bsc:cursor-pointer bsc:focus:outline-hidden bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:hover:bg-mono-light-1 bsc:dark:hover:text-mono-dark-1";return y.jsx("div",{className:"bc-dt-time-selector bsc:flex bsc:flex-row bsc:justify-center bsc:p-2",style:{minWidth:n===_e.TwelveHour?"15rem":"11rem"},children:y.jsxs("div",{className:oe,children:[t&&y.jsx("div",{className:W,onClick:ne,children:A.current}),y.jsx("div",{className:"bc-dt-time-hour-increase bsc:cursor-pointer bsc:text-center",children:y.jsx(Je,{className:$,onClick:D,children:y.jsx(qe,{icon:"chevronUp",size:He.Regular})})}),y.jsx("div",{}),y.jsx("div",{className:"bc-dt-time-minute-increase bsc:cursor-pointer bsc:text-center",children:y.jsx(Je,{className:$,onClick:q,children:y.jsx(qe,{icon:"chevronUp",size:He.Regular})})}),n===_e.TwelveHour&&y.jsx("div",{className:"bc-dt-time-meridian-increase bsc:cursor-pointer bsc:text-center",children:y.jsx(Je,{className:$,onClick:B,children:y.jsx(qe,{icon:"chevronUp",size:He.Regular})})}),y.jsx("div",{className:"bc-dt-time-hour-value bsc:text-center",children:u.current[l]}),y.jsx("div",{className:"bc-dt-time-separator bsc:text-center",children:":"}),y.jsx("div",{className:"bc-dt-time-minute-value bsc:text-center",children:p.current[m]}),n===_e.TwelveHour&&y.jsx("div",{className:"bc-dt-time-meridian-value bsc:text-center",children:d.current[v]}),y.jsx("div",{className:"bc-dt-time-hour-decrease bsc:cursor-pointer bsc:text-center",children:y.jsx(Je,{className:$,onClick:E,children:y.jsx(qe,{icon:"chevronDown",size:He.Regular})})}),y.jsx("div",{}),y.jsx("div",{className:"bc-dt-time-minute-decrease bsc:cursor-pointer bsc:text-center",children:y.jsx(Je,{className:$,onClick:R,children:y.jsx(qe,{icon:"chevronDown",size:He.Regular})})}),n===_e.TwelveHour&&y.jsx("div",{className:"bc-dt-time-meridian-decrease bsc:cursor-pointer bsc:text-center",children:y.jsx(Je,{className:$,onClick:B,children:y.jsx(qe,{icon:"chevronDown",size:He.Regular})})})]})})},Dp=({viewDate:e,locale:t,dispatcher:r})=>{const n=vp(e,t),s=()=>{const u=Rn(e,10);r({type:fe.SetViewDate,viewDate:u})},o=()=>{const u=Sr(e,10);r({type:fe.SetViewDate,viewDate:u})},i=u=>{const p=parseInt(u);r({type:fe.SetDateSelector,dateSelector:Me.MonthSelector,viewDate:Ch(e,p)})},c=()=>`${n[0][0].toString()} - ${n[2][1].toString()}`;return y.jsxs("div",{className:"bc-dt-year-selector bsc:p-2",style:{minWidth:"20rem"},children:[y.jsx(Gr,{title:c(),scrollerType:Qt.Year,onMovePrevious:s,onMoveNext:o,viewDate:e,dispatcher:r}),y.jsx("div",{className:"bc-dt-year-wrapper bsc:w-full",children:y.jsx("div",{className:"bc-dt-year-grid bsc:grid bsc:grid-cols-4 bsc:gap-4",children:n.map((u,p)=>u.map((d,b)=>d.length>0?y.jsx("div",{className:"bc-dt-year-cell bsc:cursor-pointer bsc:text-center bsc:py-2 bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:hover:bg-mono-light-2 bsc:dark:hover:text-mono-dark-1",onClick:()=>i(d),children:d},p.toString()+b.toString()):y.jsx("div",{},p.toString()+b.toString())))})})]})};class _p{constructor(t,r){T(this,"dateFormat");T(this,"timeFormat");T(this,"use24HourTime");T(this,"monthPart");T(this,"dayPart");T(this,"yearPart");T(this,"twelveHourPart");T(this,"twentyFourHourPart");T(this,"minutePart");T(this,"meridianPart");this.dateSelection=t;const n=2023,s=12,o=20,c=new Date(n,s-1,o).toLocaleDateString(r,{year:"numeric",month:"numeric",day:"numeric"});this.dateFormat=c.replace(`${n}`,"YYYY").replace(`${s}`,"MM").replace(`${o}`,"DD");const u=new Date,p=18,d=24,b=37,x=317;u.setHours(p,d,b,x);const l=u.toLocaleTimeString(r);this.use24HourTime=l.startsWith("18"),this.timeFormat=l.replace(`${this.use24HourTime?p:"6"}`,"HH").replace(`${d}`,"MM").replace(`${b}`,"SS").replace(`${x}`,"LLL"),this.createDateParts()}get is24HourTime(){return this.use24HourTime}createInputFormat(){const t={deleteShiftsFormatPart:!1,formatParts:[]};switch(this.dateSelection){case we.DateOnly:return this.createDateFormat(t);case we.TimeOnly:return this.createTimeFormat(t);case we.DateRange:return this.createDateRangeFormat(t);case we.DateTime:return this.createDateTimeFormat(t)}}createDateFormat(t){return this.dateFormat.startsWith("MM")?t.formatParts.push(...this.createMonthDayYearFormatParts()):this.dateFormat.startsWith("DD")?t.formatParts.push(...this.createDayMonthYearFormatParts()):t.formatParts.push(...this.createYearMonthDayFormatParts()),t}createTimeFormat(t){return this.use24HourTime?t.formatParts.push(...this.createTwentyFourHourFormatParts()):t.formatParts.push(...this.createTwelveHourFormatParts()),t}createDateRangeFormat(t){const r=[];this.dateFormat.startsWith("MM")?r.push(...this.createMonthDayYearFormatParts()):this.dateFormat.startsWith("DD")?r.push(...this.createDayMonthYearFormatParts()):r.push(...this.createYearMonthDayFormatParts());const n={characterCount:3,placeholder:" - ",inputText:" - ",isSeparator:!0};return t.formatParts.push(...r,n,...r),t}createDateTimeFormat(t){this.dateFormat.startsWith("MM")?t.formatParts.push(...this.createMonthDayYearFormatParts()):this.dateFormat.startsWith("DD")?t.formatParts.push(...this.createDayMonthYearFormatParts()):t.formatParts.push(...this.createYearMonthDayFormatParts());const r={characterCount:1,placeholder:" ",inputText:" ",isSeparator:!0};return t.formatParts.push(r),this.use24HourTime?t.formatParts.push(...this.createTwentyFourHourFormatParts()):t.formatParts.push(...this.createTwelveHourFormatParts()),t}createMonthDayYearFormatParts(){if(this.monthPart&&this.dayPart&&this.yearPart){let t=this.dateFormat.replace("MM",""),r=t.indexOf("DD"),n=t.substring(0,r);t=t.replace(n,"").replace("DD","");const s={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};r=t.indexOf("YYYY"),n=t.substring(0,r);const o={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};return[this.monthPart,s,this.dayPart,o,this.yearPart]}return[]}createDayMonthYearFormatParts(){if(this.monthPart&&this.dayPart&&this.yearPart){let t=this.dateFormat.replace("DD",""),r=t.indexOf("MM"),n=t.substring(0,r);t=t.replace(n,"").replace("MM","");const s={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};r=t.indexOf("YYYY"),n=t.substring(0,r);const o={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};return[this.dayPart,s,this.monthPart,o,this.yearPart]}return[]}createYearMonthDayFormatParts(){if(this.monthPart&&this.dayPart&&this.yearPart){let t=this.dateFormat.replace("YYYY",""),r=t.indexOf("MM"),n=t.substring(0,r);t=t.replace(n,"").replace("MM","");const s={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};r=t.indexOf("DD"),n=t.substring(0,r);const o={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};return[this.yearPart,s,this.monthPart,o,this.dayPart]}return[]}createTwelveHourFormatParts(){if(this.twelveHourPart&&this.minutePart&&this.meridianPart){const t=this.timeFormat.replace("HH",""),r=t.indexOf("MM"),n=t.substring(0,r),s={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0},o={characterCount:1,placeholder:" ",inputText:" ",isSeparator:!0};return[this.twelveHourPart,s,this.minutePart,o,this.meridianPart]}return[]}createTwentyFourHourFormatParts(){if(this.twentyFourHourPart&&this.minutePart){const t=this.timeFormat.replace("HH",""),r=t.indexOf("MM"),n=t.substring(0,r),s={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};return[this.twentyFourHourPart,s,this.minutePart]}return[]}createDateParts(){this.monthPart={characterCount:2,placeholder:"M",inputText:"_",isSeparator:!1,allCharactersRequired:!1,valueType:nt.Numeric,minimumValue:1,maximumValue:12,exceedingMaximumValueCausesTab:!0,padWithZeros:!0},this.dayPart={characterCount:2,placeholder:"D",inputText:"_",isSeparator:!1,allCharactersRequired:!1,valueType:nt.Numeric,minimumValue:1,maximumValue:31,exceedingMaximumValueCausesTab:!0,padWithZeros:!0},this.yearPart={characterCount:4,placeholder:"Y",inputText:"_",isSeparator:!1,allCharactersRequired:!0,valueType:nt.Numeric},this.twelveHourPart={characterCount:2,placeholder:"H",inputText:"_",isSeparator:!1,allCharactersRequired:!1,valueType:nt.Numeric,minimumValue:1,maximumValue:12,exceedingMaximumValueCausesTab:!0,padWithZeros:!0},this.twentyFourHourPart={characterCount:2,placeholder:"H",inputText:"_",isSeparator:!1,allCharactersRequired:!1,valueType:nt.Numeric,minimumValue:0,maximumValue:23,exceedingMaximumValueCausesTab:!0,padWithZeros:!0},this.minutePart={characterCount:2,placeholder:"M",inputText:"_",isSeparator:!1,allCharactersRequired:!1,valueType:nt.Numeric,minimumValue:0,maximumValue:59,exceedingMaximumValueCausesError:!0,padWithZeros:!0},this.meridianPart={characterCount:2,inputText:"_",isSeparator:!1,valueType:nt.Text,possibleValues:["AM","PM"]}}}const Np=(e,t)=>{var o;const[r,n]=h.useState(),s=h.useRef();return h.useEffect(()=>{t&&!r&&(s.current=new _p(e,t),n(s.current.createInputFormat()))},[t]),[r,(o=s.current)==null?void 0:o.is24HourTime]},jp=({value:e,readOnly:t=!1,label:r,useDefaultDateValue:n=!1,useFormattedInput:s=!1,allowClear:o=!1,closeSelector:i=!1,locale:c,className:u,dateSelection:p=we.DateTime,dateFormat:d,timeConstraints:b,icon:x,iconPosition:l=Zr.Right,inputElement:f,selectableDate:m,isValidDate:w,onChange:v,calendarTemplate:P,dateScrollerTemplate:A,inputTemplate:D,wrapperTemplate:E})=>{const[q,R]=h.useState(!1),[B,H]=h.useState(),[ne,oe]=h.useState(),[W,$,I]=Ta(p),Z=h.useRef(),F=h.useRef(!1),Q=h.useRef(c||Vo()),j=h.useRef(),ue=h.useRef(),k=h.useRef(),M=h.useRef(null),_=h.useRef(null),[C,U]=Np(p,B),ee=h.useRef({calendarTemplate:P,dateScrollerTemplate:A});h.useEffect(()=>{Q.current&&K(Q.current)},[Q]),h.useEffect(()=>{c&&K(c)},[c]),h.useEffect(()=>{if(e){const te=G();ae({type:fe.InitializeDates,initialDate:te})}else ae({type:fe.ClearDates})},[e,j.current]),h.useEffect(()=>{U&&ae({type:fe.SetTimeFormat,timeFormat:U?_e.TwentyFourHour:_e.TwelveHour})},[U]),h.useEffect(()=>{f&&(ue.current=f)},[f]),h.useEffect(()=>{ae({type:fe.SetDateSelector,dateSelector:Y()})},[W]);const Y=h.useCallback(()=>I.current===we.TimeOnly?Me.TimeSelector:I.current===we.DateTime||I.current===we.DateOnly?Me.DaySelector:Me.DateRangeSelector,[]),K=te=>{Si(te).then(de=>{H(de.code),j.current=de;const Ee=G();ae(e||n?{type:fe.InitializeDates,initialDate:Array.isArray(Ee)?Ee[0]:Ee}:{type:fe.SetViewDate,viewDate:Array.isArray(Ee)?Ee[0]:Ee})}).catch(de=>console.error(de))},G=()=>{const te=new Date;return te.setHours(0,0,0,0),e?typeof e=="string"?I.current!==we.DateRange?Or(e,j.current):Zn(e,j.current):e:te},re={currentSelector:Y(),currentViewDate:new Date,timeFormat:_e.TwelveHour,dateInitialized:!1},[O,ae]=h.useReducer(Tp,re),L=()=>{Jt(),R(!0)},Ne=h.useMemo(()=>xr(()=>{R(!1)},250),[]),Be=h.useMemo(()=>xr(()=>{Ne.cancel()},5),[Ne]),Re=te=>{const de=te.target.innerText;Ze(de)},Ye=te=>{if(te){const de=I.current!==we.DateRange?Or(te,j.current):Zn(te,j.current);return de?w?Array.isArray(de)?de.every(Ee=>w(Ee)):w(de):!0:!1}else return!0},st=te=>{Ze(te||"")},Ze=te=>{const de=I.current!==we.DateRange?Or(te,j.current):Zn(te,j.current);de?(Array.isArray(de)?(wp(de[0],No(O.currentViewDate),vf(mt(O.currentViewDate,1)))||ae({type:fe.SetViewDate,viewDate:de[0]}),ae({type:fe.SetSelectedDateRange,selectedStartDate:de[0],selectedEndDate:de[1]})):ae({type:fe.SetSelectedDate,selectedDate:de,viewDate:de}),v==null||v(de)):te===""&&(ae({type:fe.ClearDates}),v==null||v())},Ve=te=>{I.current===we.DateOnly&&i===!0&&R(!1),v==null||v(te)},Gt=()=>{Jt(),R(!q),_.current?_.current.focus():M.current&&M.current.focus()},Xt=()=>{ae({type:fe.ClearDates}),R(!1),v==null||v()},Qe=(te,de)=>{(!ue.current||Z.current!==de)&&(ue.current=te,Z.current=de,F.current=!0)},Jt=()=>{(!k.current||F.current)&&ue.current&&(k.current=ue.current,oe(ue.current),F.current=!1)},er=()=>{R(!1),ae({type:fe.SetDateSelector,dateSelector:Y()})},Dt=()=>{switch(d){case Dr.Short:return"short";case Dr.Medium:return"medium";case Dr.Long:return"long";default:return}},ot=()=>{var de,Ee,at,ct,yt,sr,vt,or,xt,wt,ir,ar;const te=Dt();switch(I.current){case we.DateTime:return O.selectedDate?te?O.selectedDate.toLocaleString((de=j.current)==null?void 0:de.code,{dateStyle:te,timeStyle:te}):O.selectedDate.toLocaleString((Ee=j.current)==null?void 0:Ee.code):"";case we.DateOnly:return O.selectedDate?te?O.selectedDate.toLocaleDateString((at=j.current)==null?void 0:at.code,{dateStyle:te}):O.selectedDate.toLocaleDateString((ct=j.current)==null?void 0:ct.code):"";case we.TimeOnly:return O.selectedDate?te?O.selectedDate.toLocaleTimeString((yt=j.current)==null?void 0:yt.code,{timeStyle:te,hour12:O.timeFormat===_e.TwelveHour,hourCycle:O.timeFormat===_e.TwentyFourHour?"h23":void 0}):O.selectedDate.toLocaleTimeString((sr=j.current)==null?void 0:sr.code,{hour12:O.timeFormat===_e.TwelveHour,hourCycle:O.timeFormat===_e.TwentyFourHour?"h23":void 0}):"";case we.DateRange:return O.selectedStartDate&&O.selectedEndDate?te?`${O.selectedStartDate.toLocaleDateString((vt=j.current)==null?void 0:vt.code,{dateStyle:te})} - ${O.selectedEndDate.toLocaleDateString((or=j.current)==null?void 0:or.code,{dateStyle:te})}`:`${O.selectedStartDate.toLocaleDateString((xt=j.current)==null?void 0:xt.code)} - ${O.selectedEndDate.toLocaleDateString((wt=j.current)==null?void 0:wt.code)}`:"";default:return O.selectedDate?te?O.selectedDate.toLocaleString((ir=j.current)==null?void 0:ir.code,{dateStyle:te,timeStyle:te}):O.selectedDate.toLocaleString((ar=j.current)==null?void 0:ar.code):""}},it=W===we.DateTime||W===we.DateOnly||W===we.DateRange,_r=W===we.DateTime||W===we.TimeOnly,Ge=l===Zr.None?{}:l===Zr.Right?{rightElement:y.jsxs("div",{className:"bsc:flex bsc:text-black bsc:dark:text-mono-light-1",children:[o&&!t&&y.jsx("div",{children:y.jsx(qe,{icon:"close",size:He.Small,className:"bsc:cursor-pointer bsc:text-sm",onClick:Xt})}),y.jsx("div",{className:"bsc:ml-2",onClick:t?void 0:Gt,children:x||y.jsx(qe,{icon:"calendar",size:He.Small,className:t?void 0:"bsc:cursor-pointer"})})]}),rightElementClassName:"bsc:justify-center"}:{leftElement:y.jsxs("div",{className:"bsc:flex bsc:text-black bsc:dark:text-mono-light-1",children:[y.jsx("div",{className:"bsc:mr-2",onClick:t?void 0:Gt,children:x||y.jsx(qe,{icon:"calendar",size:He.Small,className:t?void 0:"bsc:cursor-pointer"})}),o&&!t&&y.jsx("div",{children:y.jsx(qe,{icon:"close",size:He.Small,className:"bsc:cursor-pointer bsc:text-sm",onClick:Xt})})]}),leftElementClassName:"bsc:justify-center"},_t={setDateSelector:te=>$(te)},Nr=E||((te,de)=>y.jsx(y.Fragment,{children:de})),tr=()=>y.jsx(kt,{props:_t,template:Nr,children:y.jsxs(y.Fragment,{children:[O.currentSelector===Me.DaySelector&&it&&O.dateInitialized&&j.current&&y.jsx(Ep,{selectedDate:O.selectedDate,viewDate:O.currentViewDate,locale:j.current,showTimeSelector:I.current===we.DateTime,selectableDate:m,isValidDate:w,dispatcher:ae,onChange:Ve}),O.currentSelector===Me.MonthSelector&&it&&O.dateInitialized&&j.current&&y.jsx(kp,{viewDate:O.currentViewDate,locale:j.current,dateSelection:I.current,dispatcher:ae}),O.currentSelector===Me.YearSelector&&it&&O.dateInitialized&&j.current&&y.jsx(Dp,{viewDate:O.currentViewDate,locale:j.current,dispatcher:ae}),O.currentSelector===Me.TimeSelector&&_r&&O.dateInitialized&&j.current&&y.jsx(Op,{viewDate:O.currentViewDate,showDateSelector:I.current===we.DateTime,locale:j.current,timeFormat:O.timeFormat,timeConstraints:b,onChange:v,dispatcher:ae}),O.currentSelector===Me.DateRangeSelector&&it&&O.dateInitialized&&j.current&&y.jsx(Cp,{viewDate:O.currentViewDate,selectedStartDate:O.selectedStartDate,selectedEndDate:O.selectedEndDate,locale:j.current,onChange:v,dispatcher:ae})]})}),rr=Qn({label:r,readOnly:t,allowClear:o,getValue:ot,onFocus:L,onInput:Re,iconPosition:l,iconElement:Ge.rightElement||Ge.leftElement},O.currentViewDate,ae),nr=D||((te,de)=>y.jsx(y.Fragment,{children:de})),Nt=he("bsc:text-left",{"bc-read-only bsc:bg-gray-4 bsc:dark:bg-mono-dark-3":t,"bsc:bg-white bsc:dark:bg-mono-dark-1":!t},"bc-dt-input",u);return y.jsx(Kn.Provider,{value:ee.current,children:y.jsxs("div",{className:"bc-date-time",children:[r&&y.jsx(ut,{label:r,readOnly:t,className:"bc-dt-label"}),y.jsx(An,{mobileMarkup:y.jsxs(y.Fragment,{children:[y.jsx(kt,{props:rr,template:nr,children:y.jsx(Wr,{ref:M,value:ot(),readOnly:t,inputMode:"none",className:Nt,onFocus:L,onElementCreate:te=>Qe(te,!1),...Ge})}),y.jsx(di,{visible:q,target:ne,hidden:er,unmountWhenHidden:!0,children:tr()})]}),aboveMobileMarkup:y.jsxs(y.Fragment,{children:[y.jsx(kt,{props:rr,template:nr,children:s===!1?y.jsx(Wr,{ref:M,value:ot(),readOnly:t,className:Nt,onFocus:L,onBlur:Ne,onInput:Re,onElementCreate:te=>Qe(te,!1),...Ge}):y.jsx(vi,{ref:_,value:ot(),readOnly:t,className:Nt,format:C,isInputValid:Ye,onFocus:L,onBlur:Ne,onChange:st,onElementCreate:te=>Qe(te,!0),...Ge})}),y.jsx(mi,{visible:q,target:ne,shouldTargetCloseOverlay:!1,shouldScrollCloseOverlay:!0,shouldCheckZIndex:!0,shouldRemainOnScreen:!0,hidden:er,isClickedWithin:Be,unmountWhenHidden:!0,children:tr()})]})})]})})};var Gn,Ti;function Ip(){if(Ti)return Gn;Ti=1;function e(l,f){var m,w;if(typeof f=="function")w=f(l),w!==void 0&&(l=w);else if(Array.isArray(f))for(m=0;m<f.length;m++)w=f[m](l),w!==void 0&&(l=w);return l}function t(l,f){return l[0]==="-"&&Array.isArray(f)&&/^-\d+$/.test(l)?f.length+parseInt(l,10):l}function r(l){return/^\d+$/.test(l)}function n(l){return Object.prototype.toString.call(l)==="[object Object]"}function s(l){return Object(l)===l}function o(l){return Object.keys(l).length===0}var i=["__proto__","prototype","constructor"],c=function(l){return i.indexOf(l)===-1};function u(l,f){l.indexOf("[")>=0&&(l=l.replace(/\[/g,f).replace(/]/g,""));var m=l.split(f),w=m.filter(c);if(w.length!==m.length)throw Error("Refusing to update blacklisted property "+l);return m}var p=Object.prototype.hasOwnProperty;function d(l,f,m,w){if(!(this instanceof d))return new d(l,f,m,w);typeof f>"u"&&(f=!1),typeof m>"u"&&(m=!0),typeof w>"u"&&(w=!0),this.separator=l||".",this.override=f,this.useArray=m,this.useBrackets=w,this.keepArray=!1,this.cleanup=[]}var b=new d(".",!1,!0,!0);function x(l){return function(){return b[l].apply(b,arguments)}}return d.prototype._fill=function(l,f,m,w){var v=l.shift();if(l.length>0){if(f[v]=f[v]||(this.useArray&&r(l[0])?[]:{}),!s(f[v]))if(this.override)f[v]={};else{if(!(s(m)&&o(m)))throw new Error("Trying to redefine `"+v+"` which is a "+typeof f[v]);return}this._fill(l,f[v],m,w)}else{if(!this.override&&s(f[v])&&!o(f[v])){if(!(s(m)&&o(m)))throw new Error("Trying to redefine non-empty obj['"+v+"']");return}f[v]=e(m,w)}},d.prototype.object=function(l,f){var m=this;return Object.keys(l).forEach(function(w){var v=f===void 0?null:f[w],P=u(w,m.separator).join(m.separator);P.indexOf(m.separator)!==-1?(m._fill(P.split(m.separator),l,l[w],v),delete l[w]):l[w]=e(l[w],v)}),l},d.prototype.str=function(l,f,m,w){var v=u(l,this.separator).join(this.separator);return l.indexOf(this.separator)!==-1?this._fill(v.split(this.separator),m,f,w):m[l]=e(f,w),m},d.prototype.pick=function(l,f,m,w){var v,P,A,D,E;for(P=u(l,this.separator),v=0;v<P.length;v++)if(D=t(P[v],f),f&&typeof f=="object"&&D in f){if(v===P.length-1)return m?(A=f[D],w&&Array.isArray(f)?f.splice(D,1):delete f[D],Array.isArray(f)&&(E=P.slice(0,-1).join("."),this.cleanup.indexOf(E)===-1&&this.cleanup.push(E)),A):f[D];f=f[D]}else return;return m&&Array.isArray(f)&&(f=f.filter(function(q){return q!==void 0})),f},d.prototype.delete=function(l,f){return this.remove(l,f,!0)},d.prototype.remove=function(l,f,m){var w;if(this.cleanup=[],Array.isArray(l)){for(w=0;w<l.length;w++)this.pick(l[w],f,!0,m);return m||this._cleanup(f),f}else return this.pick(l,f,!0,m)},d.prototype._cleanup=function(l){var f,m,w,v;if(this.cleanup.length){for(m=0;m<this.cleanup.length;m++)w=this.cleanup[m].split("."),v=w.splice(0,-1).join("."),f=v?this.pick(v,l):l,f=f[w[0]].filter(function(P){return P!==void 0}),this.set(this.cleanup[m],f,l);this.cleanup=[]}},d.prototype.del=d.prototype.remove,d.prototype.move=function(l,f,m,w,v){return typeof w=="function"||Array.isArray(w)?this.set(f,e(this.pick(l,m,!0),w),m,v):(v=w,this.set(f,this.pick(l,m,!0),m,v)),m},d.prototype.transfer=function(l,f,m,w,v,P){return typeof v=="function"||Array.isArray(v)?this.set(f,e(this.pick(l,m,!0),v),w,P):(P=v,this.set(f,this.pick(l,m,!0),w,P)),w},d.prototype.copy=function(l,f,m,w,v,P){return typeof v=="function"||Array.isArray(v)?this.set(f,e(JSON.parse(JSON.stringify(this.pick(l,m,!1))),v),w,P):(P=v,this.set(f,this.pick(l,m,!1),w,P)),w},d.prototype.set=function(l,f,m,w){var v,P,A,D;if(typeof f>"u")return m;for(A=u(l,this.separator),v=0;v<A.length;v++){if(D=A[v],v===A.length-1)if(w&&n(f)&&n(m[D]))for(P in f)p.call(f,P)&&(m[D][P]=f[P]);else if(w&&Array.isArray(m[D])&&Array.isArray(f))for(var E=0;E<f.length;E++)m[A[v]].push(f[E]);else m[D]=f;else(!p.call(m,D)||!n(m[D])&&!Array.isArray(m[D]))&&(/^\d+$/.test(A[v+1])?m[D]=[]:m[D]={});m=m[D]}return m},d.prototype.transform=function(l,f,m){return f=f||{},m=m||{},Object.keys(l).forEach((function(w){this.set(l[w],this.pick(w,f),m)}).bind(this)),m},d.prototype.dot=function(l,f,m){f=f||{},m=m||[];var w=Array.isArray(l);return Object.keys(l).forEach((function(v){var P=w&&this.useBrackets?"["+v+"]":v;if(s(l[v])&&(n(l[v])&&!o(l[v])||Array.isArray(l[v])&&!this.keepArray&&l[v].length!==0))if(w&&this.useBrackets){var A=m[m.length-1]||"";return this.dot(l[v],f,m.slice(0,-1).concat(A+P))}else return this.dot(l[v],f,m.concat(P));else w&&this.useBrackets?f[m.join(this.separator).concat("["+v+"]")]=l[v]:f[m.concat(P).join(this.separator)]=l[v]}).bind(this)),f},d.pick=x("pick"),d.move=x("move"),d.transfer=x("transfer"),d.transform=x("transform"),d.copy=x("copy"),d.object=x("object"),d.str=x("str"),d.set=x("set"),d.delete=x("delete"),d.del=d.remove=x("remove"),d.dot=x("dot"),["override","overwrite"].forEach(function(l){Object.defineProperty(d,l,{get:function(){return b.override},set:function(f){b.override=!!f}})}),["useArray","keepArray","useBrackets"].forEach(function(l){Object.defineProperty(d,l,{get:function(){return b[l]},set:function(f){b[l]=f}})}),d._process=e,Gn=d,Gn}var Mp=Ip();const Pi=en(Mp),Rp=({name:e,label:t,value:r,data:n,textField:s,valueField:o,readOnly:i=!1,orientation:c=Ae.Horizontal,isMultiSelect:u=!1,className:p,onChange:d,itemTemplate:b})=>{const[x,l]=h.useState(),[f,m]=h.useState([]),w=gn(()=>n,[n]),v=h.useId();h.useEffect(()=>{if(u){const W=Array.isArray(r)?r.map($=>$.toString()):r?[String(r)]:void 0;m(W??[])}else r&&l(r.toString())},[r]);const P=W=>u?f.findIndex($=>$===W)>-1:x===W,A=W=>{const $=W.toString();if(u){const I=P($);let Z;I?Z=f.filter(F=>F!=$):Z=[...f,$],m(Z),d==null||d({name:e,value:Z})}else $!==x&&(l($),d==null||d({name:e,value:$}))},D=W=>{Array.isArray(W==null?void 0:W.value)?m((W==null?void 0:W.value)??[]):l(W==null?void 0:W.value),d==null||d(W)},E=fr(It.FocusWithin),q=h.useCallback((W,$)=>y.jsx(y.Fragment,{children:$}),[]),R=b||q,B=(W,$,I)=>{const Z=`element_${v}_${$}`,F=Pi.pick(s,W),Q=String(Pi.pick(o,W)),j=$===0,ue=$===I.length-1,k=he("bc-group-button-item bsc:cursor-pointer bsc:border-solid bsc:p-2 bsc:font-medium",{"bsc:has-data-checked:bg-primary-1 bsc:dark:has-data-checked:bg-mono-light-1 bsc:has-data-checked:text-white bsc:dark:has-data-checked:text-mono-dark-1 bsc:dark:text-mono-light-1 bsc:text-gray-2 bsc:border-gray-3 bsc:dark:border-mono-light-2":!i,"bc-read-only bsc:has-data-checked:bg-primary-4 bsc:dark:has-data-checked:bg-mono-light-3 bsc:has-data-checked:text-gray-5 bsc:dark:has-data-checked:text-mono-dark-3 bsc:dark:text-mono-light-3 bsc:text-gray-3 bsc:border-gray-4 bsc:dark:border-mono-light-3 bsc:pointer-events-none":i,"bsc:border-t bsc:border-l bsc:border-b bsc:rounded-l-md bsc:pl-2":j&&c===Ae.Horizontal,"bsc:border-t bsc:border-r bsc:border-l bsc:border-b bsc:rounded-r-md bsc:pr-2":ue&&c===Ae.Horizontal,"bsc:border-t bsc:border-b":!j&&!ue&&c===Ae.Horizontal,"bsc:border-l":!j&&c===Ae.Horizontal,"bsc:border-l bsc:border-r bsc:border-t bsc:rounded-t-md":j&&c===Ae.Vertical,"bsc:border bsc:rounded-b-md":ue&&c===Ae.Vertical,"bsc:border-t bsc:border-l bsc:border-r":!j&&!ue&&c===Ae.Vertical},E),M={itemId:Z,selectedValue:u?f:x,itemText:F,itemValue:Q,itemData:W,itemStyles:k,isSelected:P(Q),isFirstItem:j,isLastItem:ue,onItemChanged:A};return u?y.jsx(kt,{props:M,template:R,children:y.jsx(Ft,{className:k,children:y.jsx(Ns,{value:Q,className:"bsc:block bsc:w-full bsc:cursor-pointer",children:F})})},Z):y.jsx(kt,{props:M,template:R,children:y.jsx(Ft,{className:k,children:y.jsx(As,{value:Q,className:"bsc:block bsc:w-full bsc:cursor-pointer",children:F})})},Z)},H=he("bsc:flex bsc:flex-col bsc:gap-2",p),ne=he("bsc:flex",{"bsc:flex-col bsc:w-max":c===Ae.Vertical}),oe=W=>u?y.jsx(ca,{name:e,value:f,readOnly:i,onChange:D,className:ne,children:W.map(B)}):y.jsx(Ls,{name:e,value:x,readOnly:i,onChange:D,className:ne,children:W.map(B)});return y.jsxs(Ft,{className:H,children:[t&&y.jsx(ut,{label:t,readOnly:i}),w&&oe(w)]})},Lp=h.memo(Rp),Ap=({name:e,label:t,value:r,data:n,textField:s,valueField:o,readOnly:i=!1,labelLocation:c=ze.Right,orientation:u=Ae.Vertical,className:p,useAnimation:d,onChange:b})=>{const x=gn(()=>n,[n]),l=h.useId(),f=hn(d),m=fr(It.FocusWithin),w=he("bc-radio-container bsc:flex bsc:flex-col bsc:gap-1",p),v=he("bc-radio-wrapper bsc:flex bsc:gap-1",{"bsc:flex-col":u===Ae.Vertical,"bsc:*:pr-2":u===Ae.Horizontal}),P=he("bc-radio-item-wrapper bsc:flex bsc:items-center bsc:*:cursor-pointer",{"bc-read-only":i}),A=he("bc-radio-item bsc:group bsc:relative bsc:*:size-[21px] bsc:rounded-full",{"bsc:ml-2":c===ze.Left,"bsc:mr-2":c===ze.Right,"bc-read-only":i},m),D=he("bc-radio-item-svg bsc:stroke-2 bsc:fill-none bsc:rounded-full bsc:stroke-gray-1 bsc:dark:stroke-mono-light-2 bsc:group-data-read-only:stroke-gray-4 bsc:dark:group-data-read-only:stroke-mono-light-3"),E=he("bsc:group-data-checked:fill-primary-1 bsc:dark:group-data-checked:fill-mono-light-2 bsc:group-data-checked:group-data-read-only:fill-primary-4 bsc:dark:group-data-checked:group-data-read-only:fill-mono-light-3",{"bsc:group-data-checked:animate-bounce":!i&&f}),q=he("bsc:invisible bsc:group-data-checked:visible bsc:group-data-checked:fill-white bsc:dark:group-data-checked:fill-mono-dark-1",{"bsc:group-data-checked:animate-bounce":!i&&f}),R=(B,H)=>{const ne=B[s],oe=B[o];return y.jsxs(Ft,{className:P,children:[c===ze.Left&&y.jsx(ut,{label:ne,readOnly:i}),y.jsx(As,{value:oe,className:A,children:y.jsxs("svg",{viewBox:"0 0 30 30",preserveAspectRatio:"xMidYMid meet",className:D,children:[y.jsx("circle",{cx:15,cy:15,r:15,className:E}),y.jsx("circle",{cx:"50%",cy:"50%",r:7,className:q})]})}),c===ze.Right&&y.jsx(ut,{label:ne,readOnly:i})]},`radio_${l}_item${H}`)};return y.jsxs("div",{className:w,children:[t&&y.jsx(ut,{label:t,readOnly:i}),y.jsx(Ls,{name:e,value:r,readOnly:i,onChange:b,className:v,children:x&&x.map(R)})]})},Fp=h.memo(Ap),$p=({name:e,label:t,value:r,checked:n=!1,readOnly:s=!1,useAnimation:o,className:i,onChange:c})=>{const u=hn(o),p=he("bc-toggle-wrapper bsc:flex bsc:flex-col",i),d=fr(It.FocusWithin),b=he("bc-toggle-container bsc:group bsc:flex bsc:mt-0.5 bsc:relative bsc:w-[60px] bsc:h-[26px] bsc:rounded-full bsc:[transition:background-color_1s]",{"bsc:cursor-pointer bsc:bg-gray-3 bsc:dark:bg-mono-dark-3 bsc:has-checked:bg-primary-1 bsc:dark:has-checked:bg-mono-light-2":!s,"bc-read-only bsc:pointer-events-none bsc:bg-gray-4 bsc:dark:bg-mono-dark-2 bsc:has-checked:bg-primary-4 bsc:dark:has-checked:bg-mono-light-3":s},d),x=he("bc-toggle-switch bsc:absolute bsc:rounded-full bsc:dark:border bsc:dark:border-solid bsc:dark:border-mono-dark-1 bsc:group-data-toggled:translate-x-[35px] bsc:w-[18px] bsc:h-[18px] bsc:top-[4px] bsc:left-[4px]",{"bsc:bg-white bsc:cursor-pointer":!s,"bc-read-only bsc:bg-gray-5 bsc:pointer-events-none":s,"bsc:[transition:0.3s]":!s&&u});return y.jsxs(Ft,{className:p,children:[t&&y.jsx(ut,{label:t,readOnly:s}),y.jsx(ga,{name:e,value:r,toggled:n,onChange:c,className:b,children:y.jsx("div",{className:x})})]})},Hp=h.memo($p);se.BeeSoftProvider=Di,se.Button=Je,se.Checkbox=Fs,se.CheckboxGroup=Ea,se.ContentEditableInput=Wr,se.DateFormatType=Dr,se.DateScrollerType=Qt,se.DateSelectionType=we,se.DateTime=jp,se.FormGroupItemOrientation=Ae,se.FormattedInput=vi,se.GroupButton=Lp,se.MediaQuery=An,se.MobileOverlayPanel=di,se.OverlayPanel=mi,se.RadioButton=Fp,se.SelectionLabelLocation=ze,se.Toggle=Hp,se.applyBeeSoftTheme=Ih,se.createBeeSoftTheme=Mh,Object.defineProperty(se,Symbol.toStringTag,{value:"Module"})});
101
+ */var dr,Yo;function ob(){if(Yo)return dr;Yo=1;var e=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function r(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var o={},c=0;c<10;c++)o["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(o).map(function(g){return o[g]});if(l.join("")!=="0123456789")return!1;var b={};return"abcdefghijklmnopqrst".split("").forEach(function(g){b[g]=g}),Object.keys(Object.assign({},b)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return dr=r()?Object.assign:function(i,o){for(var c,l=n(i),b,g=1;g<arguments.length;g++){c=Object(arguments[g]);for(var w in c)a.call(c,w)&&(l[w]=c[w]);if(e){b=e(c);for(var M=0;M<b.length;M++)t.call(c,b[M])&&(l[b[M]]=c[b[M]])}}return l},dr}var cr,qo;function lr(){if(qo)return cr;qo=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return cr=e,cr}var mr,Go;function Qo(){return Go||(Go=1,mr=Function.call.bind(Object.prototype.hasOwnProperty)),mr}var hr,Ko;function sb(){if(Ko)return hr;Ko=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var a=lr(),t={},n=Qo();e=function(i){var o="Warning: "+i;typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}}function r(i,o,c,l,b){if(process.env.NODE_ENV!=="production"){for(var g in i)if(n(i,g)){var w;try{if(typeof i[g]!="function"){var M=Error((l||"React class")+": "+c+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw M.name="Invariant Violation",M}w=i[g](o,g,l,c,null,a)}catch(f){w=f}if(w&&!(w instanceof Error)&&e((l||"React class")+": type specification of "+c+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof w+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),w instanceof Error&&!(w.message in t)){t[w.message]=!0;var h=b?b():"";e("Failed "+c+" type: "+w.message+(h??""))}}}}return r.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},hr=r,hr}var fr,Jo;function ub(){if(Jo)return fr;Jo=1;var e=Ro(),a=ob(),t=lr(),n=Qo(),r=sb(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(c){var l="Warning: "+c;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function o(){return null}return fr=function(c,l){var b=typeof Symbol=="function"&&Symbol.iterator,g="@@iterator";function w(T){var O=T&&(b&&T[b]||T[g]);if(typeof O=="function")return O}var M="<<anonymous>>",h={array:k("array"),bigint:k("bigint"),bool:k("boolean"),func:k("function"),number:k("number"),object:k("object"),string:k("string"),symbol:k("symbol"),any:j(),arrayOf:A,element:H(),elementType:S(),instanceOf:U,node:se(),objectOf:Q,oneOf:V,oneOfType:R,shape:q,exact:X};function f(T,O){return T===O?T!==0||1/T===1/O:T!==T&&O!==O}function v(T,O){this.message=T,this.data=O&&typeof O=="object"?O:{},this.stack=""}v.prototype=Error.prototype;function $(T){if(process.env.NODE_ENV!=="production")var O={},N=0;function D(re,Y,B,te,oe,E,le){if(te=te||M,E=E||B,le!==t){if(l){var F=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw F.name="Invariant Violation",F}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Oe=te+":"+B;!O[Oe]&&N<3&&(i("You are manually calling a React.PropTypes validation function for the `"+E+"` prop on `"+te+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),O[Oe]=!0,N++)}}return Y[B]==null?re?Y[B]===null?new v("The "+oe+" `"+E+"` is marked as required "+("in `"+te+"`, but its value is `null`.")):new v("The "+oe+" `"+E+"` is marked as required in "+("`"+te+"`, but its value is `undefined`.")):null:T(Y,B,te,oe,E)}var K=D.bind(null,!1);return K.isRequired=D.bind(null,!0),K}function k(T){function O(N,D,K,re,Y,B){var te=N[D],oe=L(te);if(oe!==T){var E=ee(te);return new v("Invalid "+re+" `"+Y+"` of type "+("`"+E+"` supplied to `"+K+"`, expected ")+("`"+T+"`."),{expectedType:T})}return null}return $(O)}function j(){return $(o)}function A(T){function O(N,D,K,re,Y){if(typeof T!="function")return new v("Property `"+Y+"` of component `"+K+"` has invalid PropType notation inside arrayOf.");var B=N[D];if(!Array.isArray(B)){var te=L(B);return new v("Invalid "+re+" `"+Y+"` of type "+("`"+te+"` supplied to `"+K+"`, expected an array."))}for(var oe=0;oe<B.length;oe++){var E=T(B,oe,K,re,Y+"["+oe+"]",t);if(E instanceof Error)return E}return null}return $(O)}function H(){function T(O,N,D,K,re){var Y=O[N];if(!c(Y)){var B=L(Y);return new v("Invalid "+K+" `"+re+"` of type "+("`"+B+"` supplied to `"+D+"`, expected a single ReactElement."))}return null}return $(T)}function S(){function T(O,N,D,K,re){var Y=O[N];if(!e.isValidElementType(Y)){var B=L(Y);return new v("Invalid "+K+" `"+re+"` of type "+("`"+B+"` supplied to `"+D+"`, expected a single ReactElement type."))}return null}return $(T)}function U(T){function O(N,D,K,re,Y){if(!(N[D]instanceof T)){var B=T.name||M,te=fe(N[D]);return new v("Invalid "+re+" `"+Y+"` of type "+("`"+te+"` supplied to `"+K+"`, expected ")+("instance of `"+B+"`."))}return null}return $(O)}function V(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),o;function O(N,D,K,re,Y){for(var B=N[D],te=0;te<T.length;te++)if(f(B,T[te]))return null;var oe=JSON.stringify(T,function(le,F){var Oe=ee(F);return Oe==="symbol"?String(F):F});return new v("Invalid "+re+" `"+Y+"` of value `"+String(B)+"` "+("supplied to `"+K+"`, expected one of "+oe+"."))}return $(O)}function Q(T){function O(N,D,K,re,Y){if(typeof T!="function")return new v("Property `"+Y+"` of component `"+K+"` has invalid PropType notation inside objectOf.");var B=N[D],te=L(B);if(te!=="object")return new v("Invalid "+re+" `"+Y+"` of type "+("`"+te+"` supplied to `"+K+"`, expected an object."));for(var oe in B)if(n(B,oe)){var E=T(B,oe,K,re,Y+"."+oe,t);if(E instanceof Error)return E}return null}return $(O)}function R(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var O=0;O<T.length;O++){var N=T[O];if(typeof N!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+z(N)+" at index "+O+"."),o}function D(K,re,Y,B,te){for(var oe=[],E=0;E<T.length;E++){var le=T[E],F=le(K,re,Y,B,te,t);if(F==null)return null;F.data&&n(F.data,"expectedType")&&oe.push(F.data.expectedType)}var Oe=oe.length>0?", expected one of type ["+oe.join(", ")+"]":"";return new v("Invalid "+B+" `"+te+"` supplied to "+("`"+Y+"`"+Oe+"."))}return $(D)}function se(){function T(O,N,D,K,re){return _(O[N])?null:new v("Invalid "+K+" `"+re+"` supplied to "+("`"+D+"`, expected a ReactNode."))}return $(T)}function de(T,O,N,D,K){return new v((T||"React class")+": "+O+" type `"+N+"."+D+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+K+"`.")}function q(T){function O(N,D,K,re,Y){var B=N[D],te=L(B);if(te!=="object")return new v("Invalid "+re+" `"+Y+"` of type `"+te+"` "+("supplied to `"+K+"`, expected `object`."));for(var oe in T){var E=T[oe];if(typeof E!="function")return de(K,re,Y,oe,ee(E));var le=E(B,oe,K,re,Y+"."+oe,t);if(le)return le}return null}return $(O)}function X(T){function O(N,D,K,re,Y){var B=N[D],te=L(B);if(te!=="object")return new v("Invalid "+re+" `"+Y+"` of type `"+te+"` "+("supplied to `"+K+"`, expected `object`."));var oe=a({},N[D],T);for(var E in oe){var le=T[E];if(n(T,E)&&typeof le!="function")return de(K,re,Y,E,ee(le));if(!le)return new v("Invalid "+re+" `"+Y+"` key `"+E+"` supplied to `"+K+"`.\nBad object: "+JSON.stringify(N[D],null," ")+`
102
+ Valid keys: `+JSON.stringify(Object.keys(T),null," "));var F=le(B,E,K,re,Y+"."+E,t);if(F)return F}return null}return $(O)}function _(T){switch(typeof T){case"number":case"string":case"undefined":return!0;case"boolean":return!T;case"object":if(Array.isArray(T))return T.every(_);if(T===null||c(T))return!0;var O=w(T);if(O){var N=O.call(T),D;if(O!==T.entries){for(;!(D=N.next()).done;)if(!_(D.value))return!1}else for(;!(D=N.next()).done;){var K=D.value;if(K&&!_(K[1]))return!1}}else return!1;return!0;default:return!1}}function Z(T,O){return T==="symbol"?!0:O?O["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&O instanceof Symbol:!1}function L(T){var O=typeof T;return Array.isArray(T)?"array":T instanceof RegExp?"object":Z(O,T)?"symbol":O}function ee(T){if(typeof T>"u"||T===null)return""+T;var O=L(T);if(O==="object"){if(T instanceof Date)return"date";if(T instanceof RegExp)return"regexp"}return O}function z(T){var O=ee(T);switch(O){case"array":case"object":return"an "+O;case"boolean":case"date":case"regexp":return"a "+O;default:return O}}function fe(T){return!T.constructor||!T.constructor.name?M:T.constructor.name}return h.checkPropTypes=r,h.resetWarningCache=r.resetWarningCache,h.PropTypes=h,h},fr}var gr,Bo;function db(){if(Bo)return gr;Bo=1;var e=lr();function a(){}function t(){}return t.resetWarningCache=a,gr=function(){function n(o,c,l,b,g,w){if(w!==e){var M=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw M.name="Invariant Violation",M}}n.isRequired=n;function r(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:t,resetWarningCache:a};return i.PropTypes=i,i},gr}var Uo;function cb(){if(Uo)return gn.exports;if(Uo=1,process.env.NODE_ENV!=="production"){var e=Ro(),a=!0;gn.exports=ub()(e.isElement,a)}else gn.exports=db()();return gn.exports}var lb=cb();const ge=Wn(lb),Zo={disabled:!1};var mb=process.env.NODE_ENV!=="production"?ge.oneOfType([ge.number,ge.shape({enter:ge.number,exit:ge.number,appear:ge.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&ge.oneOfType([ge.string,ge.shape({enter:ge.string,exit:ge.string,active:ge.string}),ge.shape({enter:ge.string,enterDone:ge.string,enterActive:ge.string,exit:ge.string,exitDone:ge.string,exitActive:ge.string})]);const es=p.createContext(null);var hb=function(a){return a.scrollTop},La="unmounted",Rt="exited",Yt="entering",la="entered",pr="exiting",Wt=function(e){nb(a,e);function a(n,r){var i;i=e.call(this,n,r)||this;var o=r,c=o&&!o.isMounting?n.enter:n.appear,l;return i.appearStatus=null,n.in?c?(l=Rt,i.appearStatus=Yt):l=la:n.unmountOnExit||n.mountOnEnter?l=La:l=Rt,i.state={status:l},i.nextCallback=null,i}a.getDerivedStateFromProps=function(r,i){var o=r.in;return o&&i.status===La?{status:Rt}:null};var t=a.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(r){var i=null;if(r!==this.props){var o=this.state.status;this.props.in?o!==Yt&&o!==la&&(i=Yt):(o===Yt||o===la)&&(i=pr)}this.updateStatus(!1,i)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var r=this.props.timeout,i,o,c;return i=o=c=r,r!=null&&typeof r!="number"&&(i=r.exit,o=r.enter,c=r.appear!==void 0?r.appear:o),{exit:i,enter:o,appear:c}},t.updateStatus=function(r,i){if(r===void 0&&(r=!1),i!==null)if(this.cancelNextCallback(),i===Yt){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:ct.findDOMNode(this);o&&hb(o)}this.performEnter(r)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Rt&&this.setState({status:La})},t.performEnter=function(r){var i=this,o=this.props.enter,c=this.context?this.context.isMounting:r,l=this.props.nodeRef?[c]:[ct.findDOMNode(this),c],b=l[0],g=l[1],w=this.getTimeouts(),M=c?w.appear:w.enter;if(!r&&!o||Zo.disabled){this.safeSetState({status:la},function(){i.props.onEntered(b)});return}this.props.onEnter(b,g),this.safeSetState({status:Yt},function(){i.props.onEntering(b,g),i.onTransitionEnd(M,function(){i.safeSetState({status:la},function(){i.props.onEntered(b,g)})})})},t.performExit=function(){var r=this,i=this.props.exit,o=this.getTimeouts(),c=this.props.nodeRef?void 0:ct.findDOMNode(this);if(!i||Zo.disabled){this.safeSetState({status:Rt},function(){r.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:pr},function(){r.props.onExiting(c),r.onTransitionEnd(o.exit,function(){r.safeSetState({status:Rt},function(){r.props.onExited(c)})})})},t.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(r,i){i=this.setNextCallback(i),this.setState(r,i)},t.setNextCallback=function(r){var i=this,o=!0;return this.nextCallback=function(c){o&&(o=!1,i.nextCallback=null,r(c))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},t.onTransitionEnd=function(r,i){this.setNextCallback(i);var o=this.props.nodeRef?this.props.nodeRef.current:ct.findDOMNode(this),c=r==null&&!this.props.addEndListener;if(!o||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],b=l[0],g=l[1];this.props.addEndListener(b,g)}r!=null&&setTimeout(this.nextCallback,r)},t.render=function(){var r=this.state.status;if(r===La)return null;var i=this.props,o=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var c=ab(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return p.createElement(es.Provider,{value:null},typeof o=="function"?o(r,c):p.cloneElement(p.Children.only(o),c))},a}(p.Component);Wt.contextType=es,Wt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:ge.shape({current:typeof Element>"u"?ge.any:function(e,a,t,n,r,i){var o=e[a];return ge.instanceOf(o&&"ownerDocument"in o?o.ownerDocument.defaultView.Element:Element)(e,a,t,n,r,i)}}),children:ge.oneOfType([ge.func.isRequired,ge.element.isRequired]).isRequired,in:ge.bool,mountOnEnter:ge.bool,unmountOnExit:ge.bool,appear:ge.bool,enter:ge.bool,exit:ge.bool,timeout:function(a){var t=mb;a.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.apply(void 0,[a].concat(r))},addEndListener:ge.func,onEnter:ge.func,onEntering:ge.func,onEntered:ge.func,onExit:ge.func,onExiting:ge.func,onExited:ge.func}:{};function ma(){}Wt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ma,onEntering:ma,onEntered:ma,onExit:ma,onExiting:ma,onExited:ma},Wt.UNMOUNTED=La,Wt.EXITED=Rt,Wt.ENTERING=Yt,Wt.ENTERED=la,Wt.EXITING=pr;const ts=({start:e,timeout:a=400,defaultStyle:t,transitionStyles:n,showTransitionOptions:r="cubic-bezier(0, 0, 0.2, 1)",hideTransitionOptions:i="linear",unmountOnExit:o=!1,onEntering:c,onEntered:l,onExit:b,onExited:g,children:w})=>{const M=t||{transition:`opacity ${a}ms ${r}`,opacity:0},h=n||{entering:{opacity:1},entered:{opacity:1},exiting:{transition:`opacity ${a}ms ${i}`,opacity:0},exited:{transition:`opacity ${a}ms ${i}`,opacity:0},unmounted:{}};return P.jsx(Wt,{in:e,timeout:a,onEntering:c,onEntered:l,onExit:b,onExited:g,unmountOnExit:o,children:f=>w({state:f,defaultStyle:M,transitionStyles:h})})};function as(e){return e.target?e.target:e}const ns=({visible:e,target:a,appendTo:t=document.body,unmountWhenHidden:n=!1,transitionDuration:r=400,showTransitionOptions:i="cubic-bezier(0, 0, 0.2, 1)",hideTransitionOptions:o="linear",approveText:c="DONE",shown:l,hidden:b,isClickedWithin:g,children:w})=>{const[M,h]=p.useState(-1),[f,v]=p.useState(-1),[$,k]=p.useState(e),j=p.useRef(100),A=p.useRef(101),H=p.useRef(),S=p.useRef(),U=p.useRef();p.useEffect(()=>{a&&(H.current=as(a));const X=Oo("zIndex",_=>_==="auto"||_==="-1"?!1:parseInt(_)>100).map(_=>parseInt(_,10));X.length>0&&(j.current=Math.max(...X)+1,A.current=Math.max(...X)+2),k(e)},[e,a]);const V=X=>{S.current=X},Q=()=>{v(j.current),h(A.current)},R=()=>{if(!S.current)return;l==null||l();let X;H.current&&(X=[H.current]);const _=Z=>{Z?g==null||g():k(!1)};U.current=Io(S.current,_,X)},se=()=>{U.current&&Fo(U.current)},de=()=>{v(-1),h(-1),b==null||b()},q={entering:{opacity:.5},entered:{opacity:.5}};return ct.createPortal(P.jsx(ts,{start:$,timeout:r,showTransitionOptions:i,hideTransitionOptions:o,onEntering:Q,onEntered:R,onExit:se,onExited:de,unmountOnExit:n,children:({state:X,defaultStyle:_,transitionStyles:Z})=>P.jsxs("div",{ref:L=>L&&V(L),children:[P.jsx("div",{className:"bsc:fixed bsc:left-0 bsc:top-0 bsc:h-full bsc:w-full bsc:bg-mono-dark-1",style:{zIndex:f,...Z[X],...q[X]}}),P.jsxs("div",{className:"dark:bsck-border-mono-light-1 bsc:fixed bsc:bottom-0 bsc:left-0 bsc:w-full bsc:bg-white bsc:dark:border-t bsc:dark:border-solid bsc:dark:bg-mono-dark-1 bsc:dark:text-mono-light-1",style:{zIndex:M,..._,...Z[X]},children:[P.jsx("div",{className:"bsc:w-full",children:w}),P.jsx(P.Fragment,{children:P.jsx(lt,{buttonType:"primary",fullWidth:!0,onClick:()=>k(!1),className:"bsc:text-xs bsc:font-bold",children:c})})]})]})}),t)};var rs=(e=>(e[e.TopLeft=0]="TopLeft",e[e.TopRight=1]="TopRight",e[e.BottomLeft=2]="BottomLeft",e[e.BottomRight=3]="BottomRight",e))(rs||{}),is=(e=>(e[e.TopLeft=0]="TopLeft",e[e.TopRight=1]="TopRight",e[e.BottomLeft=2]="BottomLeft",e[e.BottomRight=3]="BottomRight",e))(is||{});class Ee{static positionToTarget(a,t=2){const n=a.getBoundingClientRect();let r=0,i=0;const o=window.scrollY;switch(t){case 2:r=n.top+n.height+o,i=n.left;break;case 0:r=n.top+o,i=n.left;break;case 3:r=n.top+n.height+o,i=n.left+n.width;break;case 1:r=n.top+o,i=n.left+n.width}return{top:r,left:i}}static positionElementToTarget(a,t,n=0,r=2){let{left:i,top:o}=Ee.positionToTarget(t,r);const c=a.getBoundingClientRect();switch(n){case 0:break;case 1:i=i-c.width;break;case 2:o=o-c.height;break;case 3:o=o-c.height,i=i-c.width;break}return{top:o,left:i}}static canPositionElementOnScreenWithTarget(a,t){const n=Ee.getScreenDimensions(),r=a.getBoundingClientRect(),i=Ee.positionElementToTarget(a,t,0,2);if(i.left+r.width<n.width&&i.top+r.height<n.height||Ee.positionElementToTarget(a,t,1,3).left>=0&&i.top+r.height<n.height)return!0;const c=Ee.positionElementToTarget(a,t,2,0);if(c.left+r.width<n.width&&c.top>=0)return!0;const l=Ee.positionElementToTarget(a,t,3,1);return l.left>=0&&l.top>=0}static canPositionElementOnScreen(a){const t=Ee.getScreenDimensions(),n=a.getBoundingClientRect();return n.width<=t.width&&n.height<=t.height}static positionElementToTargetOnScreen(a,t,n=0,r=2){const{left:i,top:o}=Ee.positionElementToTarget(a,t,n,r),c=a.getBoundingClientRect(),l=Ee.determineOffScreenLocation(c);if(l){if(n===0&&r===2){if(l.right&&!l.bottom)return Ee.positionElementToTarget(a,t,1,3);if(l.bottom&&!l.right)return Ee.positionElementToTarget(a,t,2,0);if(l.right&&l.bottom)return Ee.positionElementToTarget(a,t,3,1)}else if(n===1&&r===3){if(l.left&&!l.bottom)return Ee.positionElementToTarget(a,t,0,2);if(l.bottom&&!l.left)return Ee.positionElementToTarget(a,t,3,1);if(l.left&&l.bottom)return Ee.positionElementToTarget(a,t,2,0)}}return{top:o,left:i}}static determineOffScreenLocation(a){const t=Ee.getScreenDimensions(),n={left:a.left<0,top:a.top<0,right:a.left+a.width>t.width,bottom:a.top+a.height>t.height};return n.left||n.top||n.right||n.bottom?n:void 0}static getScreenDimensions(){return{width:window.innerWidth,height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}}}const os=({visible:e,target:a,targetPosition:t=rs.BottomLeft,elementAlignment:n=is.TopLeft,shouldTargetCloseOverlay:r=!0,shouldMatchTargetWidth:i=!1,shouldScrollCloseOverlay:o=!1,shouldCheckZIndex:c=!1,shouldRemainOnScreen:l=!1,unmountWhenHidden:b=!1,transitionDuration:g=400,showTransitionOptions:w="cubic-bezier(0, 0, 0.2, 1)",hideTransitionOptions:M="linear",shown:h,hidden:f,isClickedWithin:v,markupCreated:$,children:k})=>{const[j,A]=p.useState(-1),[H,S]=p.useState(e),[U,V]=p.useState(!1),Q=p.useRef(!1),R=p.useRef(100),se=p.useRef({left:0,top:0,width:0}),de=p.useRef(),q=p.useRef(),X=p.useRef(),_=p.useRef(),Z=p.useRef(),L=p.useRef(),ee=Ur();p.useEffect(()=>(l===!0&&(L.current=new ResizeObserver(z)),()=>{var Y,B;l===!0&&(q.current&&((Y=L.current)==null||Y.unobserve(q.current)),(B=L.current)==null||B.disconnect())}),[]),p.useEffect(()=>{if(a&&(de.current=as(a),o)){const Y=ee==null?void 0:ee.isValidScrollableElement;X.current=_o(de.current,{overflow:"scroll, auto",overflowX:"scroll, auto",overflowY:"scroll, auto"},!1,Y),X.current.tagName.toLowerCase()==="html"&&(X.current=document)}if(c){const Y=Oo("zIndex",B=>parseInt(B)>=100).map(B=>parseInt(B));Y.length>0&&(R.current=Math.max(...Y)+1)}e!==void 0&&S(e)},[a,e,o,c]);const z=Y=>{if(q.current){const B=Ee.getScreenDimensions(),te=Y[Y.length-1].target,oe=te.getBoundingClientRect(),E=Ee.determineOffScreenLocation(oe);if(E){if(de.current&&Ee.canPositionElementOnScreenWithTarget(te,de.current)){const le=Ee.positionElementToTargetOnScreen(q.current,de.current,n,t);se.current={...se.current,...le}}else E.right?se.current.left=B.width-oe.width:E.left&&(se.current.left=0),E.bottom?se.current.top=B.height-oe.height:E.top&&(se.current.top=0);fe()}}},fe=Ha(()=>{Q.current=!Q.current,V(Q.current)},20),T=()=>{A(R.current)},O=()=>{if(!q.current)return;h==null||h();let Y;!r&&de.current&&(Y=[de.current]);const B=te=>{te?v==null||v():S(!1)};_.current=Io(q.current,B,Y),o&&(Z.current=Tf(te=>q.current&&Fp(te,q.current)&&S(!1),100,{leading:!0}),X.current&&X.current.addEventListener("scroll",Z.current))},N=()=>{X.current&&Z.current&&(X.current.removeEventListener("scroll",Z.current),Z.current=void 0),_.current&&Fo(_.current)},D=()=>{A(-1),f==null||f()},K=Y=>{var B,te;if(l===!0&&q.current&&((B=L.current)==null||B.unobserve(q.current)),q.current=Y,$==null||$(Y),de.current){const oe=Ee.positionElementToTarget(q.current,de.current,n,t);se.current={...oe,width:de.current.offsetWidth},l===!0&&(Ee.canPositionElementOnScreenWithTarget(q.current,de.current)||Ee.canPositionElementOnScreen(q.current))&&((te=L.current)==null||te.observe(q.current))}},re=p.useMemo(()=>{const Y={top:`${se.current.top}px`,left:`${se.current.left}px`,zIndex:j};return i&&(Y.width=`${se.current.width}px`),Y},[U,j,i]);return P.jsx(ts,{start:H,timeout:g,showTransitionOptions:w,hideTransitionOptions:M,onEntering:T,onEntered:O,onExit:N,onExited:D,unmountOnExit:b,children:({state:Y,defaultStyle:B,transitionStyles:te})=>P.jsx("div",{className:"bsc:fixed bsc:border! bsc:border-solid! bsc:border-black bsc:bg-white bsc:shadow bsc:dark:border-mono-light-1 bsc:dark:bg-mono-dark-1 bsc:dark:text-mono-light-1",style:{...re,...B,...te[Y]},ref:oe=>oe&&K(oe),children:k})})};let bn;const fb=new Uint8Array(16);function gb(){if(!bn&&(bn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!bn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return bn(fb)}const Ae=[];for(let e=0;e<256;++e)Ae.push((e+256).toString(16).slice(1));function pb(e,a=0){return Ae[e[a+0]]+Ae[e[a+1]]+Ae[e[a+2]]+Ae[e[a+3]]+"-"+Ae[e[a+4]]+Ae[e[a+5]]+"-"+Ae[e[a+6]]+Ae[e[a+7]]+"-"+Ae[e[a+8]]+Ae[e[a+9]]+"-"+Ae[e[a+10]]+Ae[e[a+11]]+Ae[e[a+12]]+Ae[e[a+13]]+Ae[e[a+14]]+Ae[e[a+15]]}const ss={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function bb(e,a,t){if(ss.randomUUID&&!e)return ss.randomUUID();e=e||{};const n=e.random||(e.rng||gb)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,pb(n)}class Xa{static create(a){const t=[];let n=0;for(let r=0,i=a.formatParts.length;r<i;r++){const o=a.formatParts[r],c=n,l=c+o.characterCount;t.push({startPosition:c,endPosition:l,...o}),n=l}return t}}class vb{constructor(a,t){x(this,"instanceCollection");x(this,"formatPartList");x(this,"inputSlotCollection");x(this,"currentPartIndex",0);x(this,"currentPartIndices",[]);x(this,"currentCursorPosition",0);x(this,"highlightCursorPosition",0);x(this,"currentCursorStartPosition",-1);x(this,"currentCursorEndPosition",-1);x(this,"inputElement");x(this,"inputSelection",null);x(this,"inputRange");x(this,"textNode");this.instanceCollection=ha.getInstance(),this.formatPartList=Xa.create(a),this.inputSlotCollection=this.instanceCollection.getInputSlotInstance(t,a)}get isSelection(){return this.inputRange!==void 0&&this.inputRange.startOffset!==this.inputRange.endOffset}get isAllSelected(){var t;const a=this.inputSlotCollection.getLastSlot();return this.isSelection&&((t=this.inputRange)==null?void 0:t.startOffset)===0&&this.inputRange.endOffset===a.endPosition}getCursorPosition(){return this.currentCursorPosition}getCursorStartPosition(){return this.currentCursorStartPosition}getCursorEndPosition(){return this.currentCursorEndPosition}getCurrentPartIndex(){return this.currentPartIndex}getCurrentPartIndices(){return this.currentPartIndices}setInputElement(a){this.inputElement=a}setCursorToCurrentPosition(){this.setCursorSelection(this.currentCursorPosition>-1?this.currentCursorPosition:this.highlightCursorPosition)}setCursorPosition(a){this.setCursorSelection(a)}setCursorSelection(a,t){if(this.createInputRangeSelection(),this.inputRange&&this.textNode){let n,r,i=!0;t===void 0?(n=a,r=a):a<t?(n=a,r=t):(i=!1,n=t,r=a),this.inputRange.setStart(this.textNode,n),this.inputRange.setEnd(this.textNode,r),this.currentPartIndices=[],n===r?(this.currentCursorPosition=r,this.highlightCursorPosition=r,this.currentCursorStartPosition=-1,this.currentCursorEndPosition=-1,this.setPartIndexByCursorPosition()):(i?this.currentCursorStartPosition===-1&&this.currentCursorEndPosition===-1?this.highlightCursorPosition=r:this.currentCursorStartPosition!==n?this.highlightCursorPosition=n:this.currentCursorEndPosition!==r&&(this.highlightCursorPosition=r):this.currentCursorStartPosition===-1&&this.currentCursorEndPosition===-1?this.highlightCursorPosition=n:this.currentCursorStartPosition!==r?this.highlightCursorPosition=r:this.currentCursorEndPosition!==n&&(this.highlightCursorPosition=n),this.currentCursorStartPosition=n,this.currentCursorEndPosition=r,this.currentCursorPosition=-1,this.setPartIndexByHighlightPosition(),this.setPartIndicesByCursorPositions())}}findCursorPosition(){var n;const a=window.getSelection(),t=a==null?void 0:a.getRangeAt(0);if(this.inputElement&&a&&t){const r=document.createTreeWalker(this.inputElement,NodeFilter.SHOW_TEXT,l=>{const b=document.createRange();return b.selectNodeContents(l),b.compareBoundaryPoints(Range.END_TO_END,t)<1?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT});let i=0;for(;r.nextNode();)i+=((n=r.currentNode.textContent)==null?void 0:n.length)||0;t.startContainer.nodeType===Node.TEXT_NODE&&(i+=t.startOffset);const o=this.inputSlotCollection.getLastSlotWithData(),c=o.startPosition+o.partText.length;a.anchorOffset===a.focusOffset?this.setCursorSelection(i>c?c:i):this.setCursorSelection(a.anchorOffset,a.focusOffset)}}isAtLastPart(){return this.currentPartIndex===this.formatPartList.length-1}moveHome(){const a=this.inputSlotCollection.getFirstSlot();this.setCursorSelection(a.startPosition)}moveEnd(){const a=this.inputSlotCollection.getLastSlotWithData(),t=a.startPosition+a.partText.length;this.setCursorSelection(t)}moveCursorLeft(){if(this.updateCursorPosition(),this.currentCursorPosition>0&&!this.isSelection){const a=this.currentCursorPosition-1;let t=this.formatPartList[this.currentPartIndex];if(a>=t.startPosition&&a<=t.endPosition)this.setCursorSelection(a);else for(let n=this.currentPartIndex-1;n>=0;n--)if(t=this.formatPartList[n],a>=t.startPosition&&a<=t.endPosition){t.isSeparator?this.setCursorSelection(this.formatPartList[n-1].endPosition):this.setCursorSelection(a);break}}else this.isSelection?this.setCursorSelection(this.currentCursorPosition):this.moveHome()}moveCursorRight(){this.updateCursorPosition(!1);const a=this.inputSlotCollection.getLastSlotWithData(),t=a.startPosition+a.partText.length;if(this.currentCursorPosition<t&&!this.isSelection){const n=this.currentCursorPosition+1;let r=this.formatPartList[this.currentPartIndex];if(n>=r.startPosition&&n<=r.endPosition)this.setCursorSelection(n);else for(let i=this.currentPartIndex+1,o=this.formatPartList.length;i<o;i++)if(r=this.formatPartList[i],n>=r.startPosition&&n<=r.endPosition){r.isSeparator?this.setCursorSelection(this.formatPartList[i+1].startPosition):this.setCursorSelection(n);break}}else this.setCursorSelection(this.currentCursorPosition)}moveToNextInputPart(){if(this.currentPartIndex<this.formatPartList.length-1){const a=this.findNextEditablePart();a&&(this.currentPartIndex=a.partIndex,this.setCursorSelection(a.startPosition))}}moveToPreviousInputPart(){if(this.currentPartIndex>0){const a=this.findPreviousEditablePart();a&&(this.currentPartIndex=a.partIndex,this.setCursorSelection(a.endPosition))}}highlightAll(){const a=this.formatPartList[this.formatPartList.length-1].endPosition;this.setCursorSelection(0,a)}moveHighlightLeft(){this.updateHighlightPositions();const a=this.highlightCursorPosition>this.currentCursorStartPosition;if(this.currentCursorStartPosition>0||a){let t=a?this.currentCursorStartPosition:this.currentCursorStartPosition-1,n=a?this.highlightCursorPosition-1:this.currentCursorEndPosition,r=this.formatPartList[this.currentPartIndex];if(t>=r.startPosition&&t<=r.endPosition||a&&n>=r.startPosition&&n<=r.endPosition)this.setCursorSelection(t,n);else for(let i=this.currentPartIndex-1;i>=0;i--)if(r=this.formatPartList[i],t>=r.startPosition&&t<=r.endPosition||a&&n>=r.startPosition&&n<=r.endPosition){r.isSeparator?(a?n=this.formatPartList[i-1].endPosition:t=this.formatPartList[i-1].endPosition,this.setCursorSelection(t,n)):this.setCursorSelection(t,n);break}}}moveHighlightRight(){this.updateHighlightPositions();const a=this.inputSlotCollection.getLastSlotWithData(),t=a.startPosition+a.partText.length,n=this.highlightCursorPosition<this.currentCursorEndPosition;if(this.currentCursorEndPosition<t||n){let r=n?this.highlightCursorPosition+1:this.currentCursorStartPosition,i=n?this.currentCursorEndPosition:this.currentCursorEndPosition+1,o=this.formatPartList[this.currentPartIndex];if(i>=o.startPosition&&i<=o.endPosition||n&&r>=o.startPosition&&r<=o.endPosition)this.setCursorSelection(r,i);else for(let c=this.currentPartIndex+1,l=this.formatPartList.length;c<l;c++)if(o=this.formatPartList[c],i>=o.startPosition&&i<=o.endPosition||n&&r>=o.startPosition&&r<=o.endPosition){o.isSeparator?(n?r=this.formatPartList[c+1].startPosition:i=this.formatPartList[c+1].startPosition,this.setCursorSelection(r,i)):this.setCursorSelection(r,i);break}}}updateHighlightPositions(){this.currentCursorStartPosition===-1&&this.currentCursorEndPosition===-1&&this.currentCursorPosition>-1&&(this.currentCursorStartPosition=this.currentCursorPosition,this.currentCursorEndPosition=this.currentCursorPosition,this.highlightCursorPosition=this.currentCursorPosition)}updateCursorPosition(a=!0){this.currentCursorPosition===-1&&this.currentCursorStartPosition>-1&&this.currentCursorEndPosition>-1&&(a?this.currentCursorPosition=this.currentCursorStartPosition:this.currentCursorPosition=this.currentCursorEndPosition)}findNextEditablePart(){return this.inputSlotCollection.getNextSlot(this.currentPartIndex)}findPreviousEditablePart(){return this.inputSlotCollection.getPreviousSlot(this.currentPartIndex)}setPartIndexByCursorPosition(){for(let a=0;a<this.formatPartList.length;a++){const t=this.formatPartList[a];if(this.currentCursorPosition>=t.startPosition&&this.currentCursorPosition<=t.endPosition){if(t.isSeparator){this.currentCursorPosition=this.formatPartList[a+1].startPosition,this.currentPartIndex=a+1;break}this.currentPartIndex=a;break}}}setPartIndexByHighlightPosition(){for(let a=0;a<this.formatPartList.length;a++){const t=this.formatPartList[a];if(this.highlightCursorPosition>=t.startPosition&&this.highlightCursorPosition<=t.endPosition){if(t.isSeparator){this.highlightCursorPosition=this.formatPartList[a+1].startPosition,this.currentPartIndex=a+1;break}this.currentPartIndex=a;break}}}setPartIndicesByCursorPositions(){for(let a=0,t=this.formatPartList.length;a<t;a++){const n=this.formatPartList[a];n.isSeparator||(n.startPosition>=this.currentCursorStartPosition&&n.startPosition<=this.currentCursorEndPosition||n.endPosition>=this.currentCursorStartPosition&&n.endPosition<=this.currentCursorEndPosition||n.startPosition<this.currentCursorStartPosition&&n.endPosition>this.currentCursorEndPosition)&&this.currentPartIndices.push(a)}}createInputRangeSelection(){var a,t;this.inputElement&&(this.inputSelection=window.getSelection(),this.inputRange=document.createRange(),(a=this.inputSelection)==null||a.removeAllRanges(),this.inputRange.selectNodeContents(this.inputElement),this.inputRange.collapse(!0),(t=this.inputSelection)==null||t.addRange(this.inputRange),this.inputElement.firstChild&&(this.textNode=this.inputElement.firstChild))}}class yb{static create(a){const t=[];for(let n=0,r=a.length;n<r;n++){const i=a[n];i.isSeparator||t.push({partIndex:n,partText:"",isComplete:!1,...i})}return t}}class wb{constructor(a){x(this,"inputSlots");this.inputSlots=yb.create(Xa.create(a))}clearAllSlots(){for(let a=0,t=this.inputSlots.length;a<t;a++)this.inputSlots[a].partText=""}getSlot(a){return this.inputSlots.find(t=>t.partIndex===a)}getSlots(a){return this.inputSlots.filter(t=>a.includes(t.partIndex))}getSlotsFromCursorPosition(a){let t=-1;for(let n=0,r=this.inputSlots.length;n<r;n++){const i=this.inputSlots[n];if(a>=i.startPosition&&a<=i.endPosition){t=i.partIndex;break}}return t>-1?this.inputSlots.filter(n=>n.partIndex>=t):void 0}getFirstSlot(){return this.inputSlots[0]}getLastSlot(){return this.inputSlots[this.inputSlots.length-1]}getNextSlot(a){const t=this.inputSlots.findIndex(n=>n.partIndex===a);if(t>-1&&t+1<this.inputSlots.length)return this.inputSlots[t+1]}getPreviousSlot(a){const t=this.inputSlots.findIndex(n=>n.partIndex===a);if(t>-1&&t-1>=0)return this.inputSlots[t-1]}getLastSlotWithData(){const a=this.inputSlots.findIndex(n=>!n.isComplete);let t=a;for(let n=a+1,r=this.inputSlots.length;n<r;n++)this.inputSlots[n].partText.length>0&&(t=n);return this.inputSlots[t>-1?t:0]}allSlotsCompleted(){return this.inputSlots.every(a=>a.isComplete)}allSlotsEmpty(){return this.inputSlots.every(a=>a.partText.length===0)}}class ha{static getInstance(){return this.instance||(this.instance=new Pb),this.instance}}x(ha,"instance");class Pb{constructor(){x(this,"navigatorInstances");x(this,"inputSlotInstances");this.navigatorInstances={},this.inputSlotInstances={}}getNavigatorInstance(a,t){return this.navigatorInstances[a]||(this.navigatorInstances[a]=new vb(t,a)),this.navigatorInstances[a]}getInputSlotInstance(a,t){return this.inputSlotInstances[a]||(this.inputSlotInstances[a]=new wb(t)),this.inputSlotInstances[a]}removeInstances(a){this.navigatorInstances[a]&&delete this.navigatorInstances[a],this.inputSlotInstances[a]&&delete this.inputSlotInstances[a]}}class br{constructor(a,t){x(this,"instanceCollection");x(this,"formatPartList");x(this,"inputSlotCollection");x(this,"inputElement");this.instanceCollection=ha.getInstance(),this.formatPartList=Xa.create(a),this.inputSlotCollection=this.instanceCollection.getInputSlotInstance(t,a)}setInputElement(a){this.inputElement=a}render(){var t;let a="";for(let n=0,r=this.formatPartList.length;n<r;n++){const i=this.formatPartList[n];if(i.isSeparator)a+=i.inputText;else{const o=this.inputSlotCollection.getSlot(n);o&&(a+=o.partText+((t=o.inputText)==null?void 0:t.repeat(o.characterCount-o.partText.length)))}}this.inputElement&&(this.inputElement.innerHTML=a)}}var pt=(e=>(e[e.Text=0]="Text",e[e.Numeric=1]="Numeric",e))(pt||{});class us{constructor(){x(this,"numberKeys",["0","1","2","3","4","5","6","7","8","9"]);x(this,"movementKeys",["ArrowLeft","ArrowRight","Home","End","a"]);x(this,"editingKeys",["Backspace","Delete"]);x(this,"ignoreKeys",["Shift","Alt","Control","Fn","Meta"])}isNumberKey(a){return this.numberKeys.includes(a)}isMovementKey(a){return this.movementKeys.includes(a.key)}isEditingKey(a){return this.editingKeys.includes(a.key)}isIgnoreKey(a){return this.ignoreKeys.includes(a.key)}}class kb{constructor(a){x(this,"_currentIndex",0);x(this,"index",0);x(this,"formatParts");this.formatParts=Xa.create(a)}get currentIndex(){return this._currentIndex}hasNext(){return this.index<this.formatParts.length}next(){if(this.index<this.formatParts.length)return this._currentIndex=this.index++,this.formatParts[this._currentIndex]}peek(){if(this.index<this.formatParts.length)return this.formatParts[this.index]}reset(){this.index=0}}class Mb{constructor(a){x(this,"formatParts");this.formatParts=Xa.create(a)}getUniqueSeparators(){const a=[],t=this.formatParts.filter(n=>n.isSeparator);for(let n=0,r=t.length;n<r;n++){const i=t[n];i.inputText&&!a.includes(i.inputText)&&a.push(i.inputText)}return a}}class ds{constructor(a,t){x(this,"instanceCollection");x(this,"inputSlotCollection");x(this,"formatNavigator");x(this,"keyTypeChecker");x(this,"formatRenderer");x(this,"formatPartList");x(this,"partEntryList");this.format=a,this.instanceCollection=ha.getInstance(),this.inputSlotCollection=this.instanceCollection.getInputSlotInstance(t,a),this.formatNavigator=this.instanceCollection.getNavigatorInstance(t,a),this.keyTypeChecker=new us,this.formatRenderer=new br(a,t),this.formatPartList=new kb(a),this.partEntryList=new Mb(a)}setInputElement(a){this.formatRenderer.setInputElement(a)}processKeyPress(a){if(this.keyTypeChecker.isEditingKey(a)){this.processEditRules(a);return}this.formatNavigator.isSelection?(this.processSelectionEditRules(),setTimeout(()=>this.processInputRules(a))):this.processInputRules(a)}processInputValue(a){var n;this.inputSlotCollection.clearAllSlots(),this.formatPartList.reset();let t=0;for(;this.formatPartList.hasNext();){const r=this.formatPartList.next();if(r&&!r.isSeparator)if(((n=this.formatPartList.peek())==null?void 0:n.isSeparator)===!0){const i=this.formatPartList.currentIndex,o=this.formatPartList.next();if(o&&o.inputText){const c=a.indexOf(o.inputText,t),l=this.inputSlotCollection.getSlot(i);if(l&&c>-1){const b=c-t>l.characterCount?t+l.characterCount:c;l.partText=a.substring(t,b),this.processSlotRules(l),t=c+o.characterCount}}}else{const i=this.inputSlotCollection.getSlot(this.formatPartList.currentIndex);i&&(i.partText=a.substring(t,t+i.characterCount),this.processSlotRules(i))}}}processPastedValue(a,t=!1){t&&this.processSelectionEditRules();const n=this.formatNavigator.getCursorPosition(),r=this.inputSlotCollection.getSlotsFromCursorPosition(n);if(r){const i=n-r[0].startPosition,o=r[0].partText.substring(0,i);let c=r[0].partText.substring(i);r[0].partText="";for(let w=1,M=r.length;w<M;w++)c+=r[w].partText,r[w].partText="";const l=this.removeSeparatorsFromValue(a),b=o+l+c;let g=0;for(let w=0,M=r.length;w<M;w++){const h=r[w];h.partText=b.substring(g,h.characterCount+g),g+=h.characterCount,this.processSlotRules(h)}}}removeSeparatorsFromValue(a){let t=a;const n=this.partEntryList.getUniqueSeparators();for(let r=0,i=n.length;r<i;r++){const o=n[r];t=t.replaceAll(o,"")}return t}processEditRules(a){this.formatNavigator.isSelection?this.processSelectionEditRules():this.processNonSelectionEditRules(a)}processNonSelectionEditRules(a){const t=this.inputSlotCollection.getSlot(this.formatNavigator.getCurrentPartIndex());if(!t)return;const n=this.formatNavigator.getCursorPosition(),r=n-t.startPosition,i=this.format.deleteShiftsFormatPart||!1;switch(a.key){case"Backspace":{if(!(t.startPosition===n))t.partText=t.partText.substring(0,r-1)+t.partText.substring(r),i&&this.shiftFormatParts(t),this.formatRenderer.render(),this.formatNavigator.moveCursorLeft(),this.processSlotRules(t,!0);else{this.processSlotRules(t,!0);const c=this.inputSlotCollection.getPreviousSlot(t.partIndex);c&&(c.partText=c.partText.substring(0,c.partText.length-1),i&&this.shiftFormatParts(c),this.formatRenderer.render(),this.formatNavigator.setCursorPosition(c.startPosition+c.partText.length),this.processSlotRules(c,!0))}break}case"Delete":t.partText=t.partText.substring(0,r)+t.partText.substring(r+1),i&&this.shiftFormatParts(t),this.formatRenderer.render(),this.formatNavigator.setCursorToCurrentPosition(),this.processSlotRules(t,!0);break}}processSelectionEditRules(){const a=this.inputSlotCollection.getSlots(this.formatNavigator.getCurrentPartIndices());if(a.length<=0)return;const t=this.formatNavigator.getCursorStartPosition(),n=this.formatNavigator.getCursorEndPosition();for(let r=0,i=a.length;r<i;r++){const o=a[r];o.startPosition>=t&&o.endPosition<=n?o.partText="":o.startPosition>=t&&o.endPosition>n?o.partText=o.partText.substring(n-o.startPosition):o.startPosition<t&&o.endPosition<=n?o.partText=o.partText.substring(0,t-o.startPosition):o.startPosition<t&&o.endPosition>n&&(o.partText=o.partText.substring(0,t-o.startPosition)+o.partText.substring(n-o.startPosition))}this.formatRenderer.render(),this.formatNavigator.setCursorPosition(t);for(let r=0,i=a.length;r<i;r++)this.processSlotRules(a[r])}shiftFormatParts(a){let t=a,n;for(;(n=this.inputSlotCollection.getNextSlot(t.partIndex))!==void 0;){const r=n.partText.substring(0,1);n.partText=n.partText.substring(1),t.partText=t.partText+r,t=n}}processInputRules(a){const t=this.inputSlotCollection.getSlot(this.formatNavigator.getCurrentPartIndex());if(!t)return;const{key:n}=a,r=t.characterCount,i=t.partText;if(t.valueType===pt.Numeric){if(!this.keyTypeChecker.isNumberKey(n))return;const o=t.maximumValue,c=t.exceedingMaximumValueCausesTab||!1,l=t.padWithZeros||!1,b=parseInt(this.createNewValue(t,n));if(o&&b>o)if(c){l&&(t.partText=t.partText.padStart(r,"0")),t.isComplete=!0;const g=this.inputSlotCollection.getNextSlot(t.partIndex);g&&!g.isComplete&&(g.partText=n),this.formatRenderer.render(),g&&this.formatNavigator.setCursorPosition(g.isComplete?g.startPosition:g.startPosition+1)}else return;else i.length+1===r?(this.addToInputSlot(n),t.isComplete=!0,this.formatRenderer.render(),this.formatNavigator.isAtLastPart()?this.formatNavigator.moveCursorRight():this.formatNavigator.moveToNextInputPart()):i.length+1<r&&(this.addToInputSlot(n),this.formatRenderer.render(),this.formatNavigator.moveCursorRight())}else i.length+1===r?(this.addToInputSlot(n),t.isComplete=!0,this.formatRenderer.render(),this.formatNavigator.isAtLastPart()?this.formatNavigator.moveCursorRight():this.formatNavigator.moveToNextInputPart()):(this.addToInputSlot(n),this.formatRenderer.render(),this.formatNavigator.moveCursorRight())}addToInputSlot(a){const t=this.inputSlotCollection.getSlot(this.formatNavigator.getCurrentPartIndex());t&&(t.partText=this.createNewValue(t,a))}createNewValue(a,t){const n=a.partText,r=this.formatNavigator.getCursorPosition();if(r>=a.startPosition+a.partText.length)return n+t;{const i=r-a.startPosition;return n.substring(0,i)+t+n.substring(i)}}processSlotRules(a,t=!1){const n=a.characterCount,r=a.allCharactersRequired||!1;if(a.valueType===pt.Numeric){const i=a.minimumValue,o=a.maximumValue;if(r)a.isComplete=a.partText.length===n;else if(i!==void 0&&o!==void 0){const c=a.padWithZeros||!1,l=parseInt(a.partText);a.isComplete=l>=i&&l<=o,a.isComplete&&c&&!t&&(a.partText=a.partText.padStart(n,"0"))}else a.isComplete=a.partText.length>0}else r?a.isComplete=a.partText.length===n:a.isComplete=a.partText.length>0}}class $b{constructor(a,t){x(this,"instanceCollection");x(this,"formatNavigator");x(this,"ruleProcessor");x(this,"keyTypeChecker");x(this,"formatRenderer");this.format=a,this.instanceCollection=ha.getInstance(),this.formatNavigator=this.instanceCollection.getNavigatorInstance(t,a),this.ruleProcessor=new ds(a,t),this.keyTypeChecker=new us,this.formatRenderer=new br(a,t)}setInputElement(a){this.ruleProcessor.setInputElement(a),this.formatRenderer.setInputElement(a)}processMovementKey(a){const{key:t,metaKey:n,ctrlKey:r,shiftKey:i}=a;switch(t){case"ArrowLeft":i?this.formatNavigator.moveHighlightLeft():n?this.formatNavigator.moveHome():this.formatNavigator.moveCursorLeft();break;case"ArrowRight":i?this.formatNavigator.moveHighlightRight():n?this.formatNavigator.moveEnd():this.formatNavigator.moveCursorRight();break;case"Home":this.formatNavigator.moveHome();break;case"End":this.formatNavigator.moveEnd();break;case"a":(n||r)&&this.formatNavigator.highlightAll();break}}processKeyPress(a){return this.keyTypeChecker.isIgnoreKey(a)?!1:this.keyTypeChecker.isMovementKey(a)?(this.processMovementKey(a),!1):(this.ruleProcessor.processKeyPress(a),!0)}}class Wb{constructor(a,t=""){x(this,"instanceId");x(this,"instanceCollection");x(this,"keyProcessor");x(this,"formatNavigator");x(this,"formatRenderer");x(this,"inputSlotCollection");x(this,"inputRuleProcessor");x(this,"previousOutputValue","");x(this,"inputElementSet",!1);x(this,"isInputFocused",!1);x(this,"inputElement");x(this,"onFormatChange");this.inputValue=t,this.instanceId=bb(),this.instanceCollection=ha.getInstance(),this.keyProcessor=new $b(a,this.instanceId),this.formatNavigator=this.instanceCollection.getNavigatorInstance(this.instanceId,a),this.formatRenderer=new br(a,this.instanceId),this.inputSlotCollection=this.instanceCollection.getInputSlotInstance(this.instanceId,a),this.inputRuleProcessor=new ds(a,this.instanceId)}inputElementCreated(a){this.keyProcessor.setInputElement(a),this.formatNavigator.setInputElement(a),this.formatRenderer.setInputElement(a),this.inputElement=a,this.inputElementSet=!0,this.inputElementSet&&this.inputValue.length>0&&this.inputValuePassed(this.inputValue)}inputFocused(){this.isInputFocused=!0,this.formatRenderer.render(),setTimeout(()=>this.formatNavigator.findCursorPosition())}inputBlurred(){this.isInputFocused=!1}inputValuePassed(a){this.inputValue=a,this.inputElementSet&&(this.inputValue.length>0?this.inputRuleProcessor.processInputValue(a):(this.inputSlotCollection.clearAllSlots(),this.previousOutputValue=void 0),this.renderFormat())}pastedValue(a){a.length>0&&(this.formatNavigator.isSelection?this.formatNavigator.isAllSelected?this.inputValuePassed(a):this.inputRuleProcessor.processPastedValue(a,!0):this.inputValue.length===0?this.inputValuePassed(a):this.inputRuleProcessor.processPastedValue(a),this.renderFormat(!0))}registerFormatChangeEvent(a){this.onFormatChange=a}mouseUpHandler(){this.formatNavigator.findCursorPosition()}keyDownHandler(a){if(a.key!=="Tab"){if(!(a.key==="c"&&(a.ctrlKey||a.metaKey))&&!(a.key==="x"&&(a.ctrlKey||a.metaKey))&&!(a.key==="v"&&(a.ctrlKey||a.metaKey)))a.preventDefault(),a.stopPropagation();else return;this.keyProcessor.processKeyPress(a)&&this.inputElement&&this.onFormatChange&&(this.inputSlotCollection.allSlotsCompleted()&&this.previousOutputValue!==this.inputElement.innerHTML?(this.previousOutputValue=this.inputElement.innerHTML,this.onFormatChange(this.inputElement.innerHTML)):this.inputSlotCollection.allSlotsEmpty()&&this.previousOutputValue!==void 0&&(this.previousOutputValue=void 0,this.onFormatChange()))}}dispose(){this.instanceCollection.removeInstances(this.instanceId)}renderFormat(a=!1){setTimeout(()=>{var t,n;this.formatRenderer.render(),this.isInputFocused&&this.formatNavigator.setCursorToCurrentPosition(),this.inputValue.length>0&&(this.previousOutputValue=(t=this.inputElement)==null?void 0:t.innerHTML),a&&((n=this.inputElement)!=null&&n.innerHTML)&&this.onFormatChange&&this.onFormatChange(this.inputElement.innerHTML)})}}const xb=(e,a)=>{const{value:t="",format:n,readOnly:r=!1,debounceTime:i=800,fillContainer:o=!0,leftElement:c,rightElement:l,className:b,leftElementClassName:g,rightElementClassName:w,isSingleLine:M=!1,allowSingleLineScroll:h=!1,isInputValid:f,onChange:v,onFocus:$,onBlur:k,onElementCreate:j,onLeftElementClick:A,onRightElementClick:H}=e,[S,U]=p.useState(!0),V=p.useRef(),Q=p.useRef(),R=p.useRef(),se=p.useRef(!1);p.useEffect(()=>(document.addEventListener("mouseup",L),()=>{var N;(N=R.current)==null||N.dispose(),document.removeEventListener("mouseup",L)}),[]),p.useEffect(()=>{var N;(N=R.current)==null||N.inputValuePassed(t)},[t]),p.useEffect(()=>{var N,D,K;(N=R.current)==null||N.dispose(),n&&(R.current=new Wb(n,t),Q.current&&((D=R.current)==null||D.inputElementCreated(Q.current)),(K=R.current)==null||K.registerFormatChangeEvent(de))},[n]);const de=p.useCallback(N=>{f?f(N)?(U(!0),v==null||v(N)):U(!1):v==null||v(N)},[v]),q=p.useCallback(N=>{var D;(D=R.current)==null||D.inputFocused(),$==null||$(N)},[$]),X=p.useCallback(N=>{var D;(D=R.current)==null||D.inputBlurred(),k==null||k(N)},[k]),_=p.useCallback(()=>{se.current=!0},[]),Z=p.useCallback(()=>{var N;if(se.current)se.current=!1,(N=R.current)==null||N.mouseUpHandler();else{const D=new MouseEvent("mouseup");document.dispatchEvent(D)}},[]),L=p.useCallback(()=>{var N;se.current&&(se.current=!1,(N=R.current)==null||N.mouseUpHandler())},[]),ee=p.useCallback(N=>{var D;(D=R.current)==null||D.keyDownHandler(N)},[]),z=p.useCallback(N=>{var K,re;N.preventDefault(),N.stopPropagation();const D=(K=N.clipboardData)==null?void 0:K.getData("text/plain");D&&((re=R.current)==null||re.pastedValue(D))},[]),fe=p.useCallback(N=>{var D,K,re,Y,B,te,oe,E,le,F,Oe,at,Fe,qe,bt,st,tt;(K=(D=V.current)==null?void 0:D.inputElement)==null||K.removeEventListener("keydown",ee),(Y=(re=V.current)==null?void 0:re.inputElement)==null||Y.removeEventListener("mousedown",_),(te=(B=V.current)==null?void 0:B.inputElement)==null||te.removeEventListener("mouseup",Z),(E=(oe=V.current)==null?void 0:oe.inputElement)==null||E.removeEventListener("paste",z),V.current=N,(F=(le=V.current)==null?void 0:le.inputElement)==null||F.addEventListener("keydown",ee),(at=(Oe=V.current)==null?void 0:Oe.inputElement)==null||at.addEventListener("mousedown",_),(qe=(Fe=V.current)==null?void 0:Fe.inputElement)==null||qe.addEventListener("mouseup",Z),(st=(bt=V.current)==null?void 0:bt.inputElement)==null||st.addEventListener("paste",z),Q.current=(tt=V.current)==null?void 0:tt.inputElement},[]),T=p.useCallback(()=>{var N;(N=V.current)==null||N.focus()},[]);p.useImperativeHandle(a,()=>({focus:T}));const O=ve(b,{"bsc:border-error!":!S});return P.jsx(ln,{ref:N=>N&&fe(N),readOnly:r,debounceTime:i,fillContainer:o,leftElement:c,rightElement:l,className:O,leftElementClassName:g,rightElementClassName:w,isSingleLine:M,allowSingleLineScroll:h,onFocus:q,onBlur:X,onElementCreate:j,onLeftElementClick:A,onRightElementClick:H})},cs=p.forwardRef(xb),vr=p.createContext(void 0);function ls(e,a,t=!0){var M,h;const n=So(e),r=ko(e),i=kg(e);let o=er(r)-(((M=a.options)==null?void 0:M.weekStartsOn)||0);o=o===-1?6:o;const c=er(i)-(((h=a.options)==null?void 0:h.weekStartsOn)||0),l=Of({start:r,end:i}),b=n+o>35?6:5,g=ms(b,7,{dayValue:null,isCurrent:!0});let w=1;for(let f=0,v=b;f<v;f++){for(let $=f>0?0:o;$<7;$++){const k=l[w-1];if(k.setHours(e.getHours(),e.getMinutes(),e.getSeconds()),g[f][$].dayValue=k,++w>n)break}if(w>n)break}if(o>0&&t)for(let f=0;f<o;f++)g[0][f].dayValue=yp(r,o-f),g[0][f].isCurrent=!1;if(c>-1&&t)for(let f=6;f>c;f--)g[b-1][f].dayValue=da(i,f-c),g[b-1][f].isCurrent=!1;return g}function ms(e,a,t){const n=[];for(let r=0,i=e;r<i;r++){const o=[];for(let c=0,l=a;c<l;c++){const b=jb(t)?t:{...t};o.push(b)}n.push(o)}return n}function jb(e){const a=typeof e;return a==="string"||a==="number"||a==="boolean"||e instanceof Date}function Sb(e){var n;const a=wp(new Date,((n=e.options)==null?void 0:n.weekStartsOn)||0),t=[];for(let r=0;r<7;r++)t.push(da(a,r).toLocaleDateString(e.code,{weekday:"short"}));return t}function Tb(e){const a=new Date(Date.UTC(2020,0,1)),t=[[{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""}],[{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""}],[{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""},{monthNumber:0,monthName:""}]];let n=0;for(let r=0;r<3;r++)for(let i=0;i<4;i++)t[r][i]={monthNumber:n,monthName:St(a,n++).toLocaleDateString(e.code,{month:"short"})};return t}function Db(e,a){const t=new Date(e.getTime()),n=Math.floor(t.getFullYear()/10)*10;t.setFullYear(n);const r=Vf({start:t,end:Fa(t,9)}),i=ms(3,4,"");let o=0;for(let c=0;c<3;c++)for(let l=0;l<4&&(i[c][l]=r[o++].toLocaleDateString(a.code,{year:"numeric"}),o!==r.length);l++);return i}function Eb(e){const a=new Date;return a.setHours(0,0,0,0),a.toLocaleTimeString(e.code)}function Nb(e,a,t){return e.getTime()>=a.getTime()&&e.getTime()<=t.getTime()}async function hs(e){const[a,t]=e.split("-");let n;switch(a){case"af":n=(await Promise.resolve().then(()=>Wv)).default;break;case"ar":switch(t){case"DZ":n=(await Promise.resolve().then(()=>ey)).default;break;case"EG":n=(await Promise.resolve().then(()=>Ty)).default;break;case"MA":n=(await Promise.resolve().then(()=>rw)).default;break;case"SA":n=(await Promise.resolve().then(()=>Cw)).default;break;case"TN":n=(await Promise.resolve().then(()=>uP)).default;break;default:n=(await Promise.resolve().then(()=>VP)).default;break}break;case"az":n=(await Promise.resolve().then(()=>h1)).default;break;case"be":switch(t){case"tarask":n=(await Promise.resolve().then(()=>q1)).default;break;default:n=(await Promise.resolve().then(()=>Wk)).default;break}break;case"bg":n=(await Promise.resolve().then(()=>nM)).default;break;case"bn":n=(await Promise.resolve().then(()=>_M)).default;break;case"bs":n=(await Promise.resolve().then(()=>l$)).default;break;case"ca":n=(await Promise.resolve().then(()=>A$)).default;break;case"cs":n=(await Promise.resolve().then(()=>vW)).default;break;case"cy":n=(await Promise.resolve().then(()=>GW)).default;break;case"da":n=(await Promise.resolve().then(()=>kx)).default;break;case"de":switch(t){case"AT":n=(await Promise.resolve().then(()=>qx)).default;break;default:n=(await Promise.resolve().then(()=>ej)).default;break}break;case"el":n=(await Promise.resolve().then(()=>Tj)).default;break;case"en":switch(t){case"AU":n=(await Promise.resolve().then(()=>qs)).default;break;case"CA":n=(await Promise.resolve().then(()=>Fj)).default;break;case"GB":n=(await Promise.resolve().then(()=>Rj)).default;break;case"IE":n=(await Promise.resolve().then(()=>Yj)).default;break;case"IN":n=(await Promise.resolve().then(()=>Jj)).default;break;case"NZ":n=(await Promise.resolve().then(()=>tS)).default;break;case"US":n=(await Promise.resolve().then(()=>cg)).default;break;default:n=(await Promise.resolve().then(()=>oS)).default;break}break;case"eo":n=(await Promise.resolve().then(()=>zS)).default;break;case"es":n=(await Promise.resolve().then(()=>c0)).default;break;case"et":n=(await Promise.resolve().then(()=>O0)).default;break;case"eu":n=(await Promise.resolve().then(()=>mT)).default;break;case"fa":n=(await Promise.resolve().then(()=>AT)).default;break;case"fi":n=(await Promise.resolve().then(()=>pD)).default;break;case"fr":switch(t){case"CA":n=(await Promise.resolve().then(()=>LD)).default;break;case"CH":n=(await Promise.resolve().then(()=>QD)).default;break;default:n=(await Promise.resolve().then(()=>ZD)).default;break}break;case"fy":n=(await Promise.resolve().then(()=>jE)).default;break;case"gd":n=(await Promise.resolve().then(()=>aN)).default;break;case"gl":n=(await Promise.resolve().then(()=>NN)).default;break;case"gu":n=(await Promise.resolve().then(()=>sC)).default;break;case"he":n=(await Promise.resolve().then(()=>VC)).default;break;case"hi":n=(await Promise.resolve().then(()=>fz)).default;break;case"hr":n=(await Promise.resolve().then(()=>Rz)).default;break;case"ht":n=(await Promise.resolve().then(()=>v_)).default;break;case"hu":n=(await Promise.resolve().then(()=>J_)).default;break;case"hy":n=(await Promise.resolve().then(()=>WO)).default;break;case"id":n=(await Promise.resolve().then(()=>e2)).default;break;case"is":n=(await Promise.resolve().then(()=>T2)).default;break;case"it":switch(t){case"CH":n=(await Promise.resolve().then(()=>aV)).default;break;default:n=(await Promise.resolve().then(()=>sV)).default;break}break;case"ja":switch(t){case"Hira":n=(await Promise.resolve().then(()=>OV)).default;break;default:n=(await Promise.resolve().then(()=>lH)).default;break}break;case"ka":n=(await Promise.resolve().then(()=>FH)).default;break;case"kk":n=(await Promise.resolve().then(()=>v3)).default;break;case"km":n=(await Promise.resolve().then(()=>G3)).default;break;case"kn":n=(await Promise.resolve().then(()=>k4)).default;break;case"ko":n=(await Promise.resolve().then(()=>B4)).default;break;case"lb":n=(await Promise.resolve().then(()=>DI)).default;break;case"lt":n=(await Promise.resolve().then(()=>uF)).default;break;case"lv":n=(await Promise.resolve().then(()=>FF)).default;break;case"mk":n=(await Promise.resolve().then(()=>pA)).default;break;case"mn":n=(await Promise.resolve().then(()=>qA)).default;break;case"ms":n=(await Promise.resolve().then(()=>PL)).default;break;case"mt":n=(await Promise.resolve().then(()=>JL)).default;break;case"nb":n=(await Promise.resolve().then(()=>$X)).default;break;case"nl":switch(t){case"BE":n=(await Promise.resolve().then(()=>UX)).default;break;default:n=(await Promise.resolve().then(()=>xR)).default;break}break;case"nn":n=(await Promise.resolve().then(()=>tY)).default;break;case"oc":n=(await Promise.resolve().then(()=>DY)).default;break;case"pl":n=(await Promise.resolve().then(()=>mq)).default;break;case"pt":switch(t){case"BR":n=(await Promise.resolve().then(()=>Aq)).default;break;default:n=(await Promise.resolve().then(()=>pG)).default;break}break;case"ro":n=(await Promise.resolve().then(()=>YG)).default;break;case"ru":n=(await Promise.resolve().then(()=>MQ)).default;break;case"sk":n=(await Promise.resolve().then(()=>r5)).default;break;case"sl":n=(await Promise.resolve().then(()=>_5)).default;break;case"sq":n=(await Promise.resolve().then(()=>cK)).default;break;case"sr":switch(t){case"Latn":n=(await Promise.resolve().then(()=>FK)).default;break;default:n=(await Promise.resolve().then(()=>pJ)).default;break}break;case"sv":n=(await Promise.resolve().then(()=>qJ)).default;break;case"ta":n=(await Promise.resolve().then(()=>k6)).default;break;case"te":n=(await Promise.resolve().then(()=>J6)).default;break;case"th":n=(await Promise.resolve().then(()=>WB)).default;break;case"tr":n=(await Promise.resolve().then(()=>e8)).default;break;case"ug":n=(await Promise.resolve().then(()=>T8)).default;break;case"uk":n=(await Promise.resolve().then(()=>u7)).default;break;case"uz":switch(t){case"Cyrl":n=(await Promise.resolve().then(()=>V7)).default;break;default:n=(await Promise.resolve().then(()=>m9)).default;break}break;case"vi":n=(await Promise.resolve().then(()=>X9)).default;break;case"zh":switch(t){case"CN":n=(await Promise.resolve().then(()=>vU)).default;break;case"HK":n=(await Promise.resolve().then(()=>GU)).default;break;default:n=(await Promise.resolve().then(()=>kZ)).default;break}break;default:n=(await Promise.resolve().then(()=>qs)).default}return n}function Ra(e,a){const t=Pp(e);if(isNaN(t.valueOf())){let n=gt(e,"P pp",new Date,{locale:a});return!isNaN(n.valueOf())||(n=gt(e,"Pp",new Date,{locale:a}),!isNaN(n.valueOf()))||(n=gt(e,"P HH:mm",new Date,{locale:a}),!isNaN(n.valueOf()))||(n=gt(e,"P hh:mm a..aaa",new Date,{locale:a}),!isNaN(n.valueOf()))||(n=gt(e,"P HH:mm:ss",new Date,{locale:a}),!isNaN(n.valueOf()))||(n=gt(e,"P hh:mm:ss a..aaa",new Date,{locale:a}),!isNaN(n.valueOf()))||(n=gt(e,"P",new Date,{locale:a}),!isNaN(n.valueOf()))||(n=gt(e,"P p",new Date,{locale:a}),!isNaN(n.valueOf()))||(n=gt(e,"pp",new Date,{locale:a}),!isNaN(n.valueOf()))||(n=gt(e,"p",new Date,{locale:a}),!isNaN(n.valueOf()))?n:void 0}return t}function yr(e,a){const t=e.split("-");if(t.length!==2)return;const n=Ra(t[0].trim(),a);if(!n)return;const r=Ra(t[1].trim(),a);if(r)return[n,r]}var We=(e=>(e[e.DateTime=0]="DateTime",e[e.DateOnly=1]="DateOnly",e[e.TimeOnly=2]="TimeOnly",e[e.DateRange=3]="DateRange",e))(We||{}),Ie=(e=>(e[e.DaySelector=0]="DaySelector",e[e.MonthSelector=1]="MonthSelector",e[e.YearSelector=2]="YearSelector",e[e.TimeSelector=3]="TimeSelector",e[e.DateRangeSelector=4]="DateRangeSelector",e))(Ie||{}),fa=(e=>(e[e.Day=0]="Day",e[e.Month=1]="Month",e[e.Year=2]="Year",e[e.Range=3]="Range",e))(fa||{}),Ya=(e=>(e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e))(Ya||{}),_e=(e=>(e[e.TwelveHour=0]="TwelveHour",e[e.TwentyFourHour=1]="TwentyFourHour",e))(_e||{}),Nt=(e=>(e[e.Normal=0]="Normal",e[e.Range=1]="Range",e))(Nt||{}),vn=(e=>(e[e.Right=0]="Right",e[e.Left=1]="Left",e[e.None=2]="None",e))(vn||{}),pe=(e=>(e[e.SetDateSelector=0]="SetDateSelector",e[e.SetViewDate=1]="SetViewDate",e[e.SetSelectedDate=2]="SetSelectedDate",e[e.SetSelectedDateRange=3]="SetSelectedDateRange",e[e.SetSelectedStartDate=4]="SetSelectedStartDate",e[e.SetSelectedEndDate=5]="SetSelectedEndDate",e[e.SetTimeFormat=6]="SetTimeFormat",e[e.ClearDates=7]="ClearDates",e[e.InitializeDates=8]="InitializeDates",e))(pe||{});const Cb=(e,a)=>{switch(a.type){case 0:return a.dateSelector!==void 0?{...e,currentSelector:a.dateSelector,currentViewDate:a.viewDate||e.currentViewDate}:{...e};case 1:return{...e,currentViewDate:a.viewDate||new Date,dateInitialized:!0};case 2:return{...e,selectedDate:a.selectedDate||e.selectedDate,currentViewDate:a.viewDate||e.currentViewDate};case 3:return{...e,selectedStartDate:a.selectedStartDate||e.selectedStartDate,selectedEndDate:a.selectedEndDate||e.selectedEndDate};case 4:return{...e,selectedStartDate:a.selectedStartDate,selectedEndDate:void 0};case 5:return{...e,selectedEndDate:a.selectedEndDate};case 6:return{...e,timeFormat:a.timeFormat||e.timeFormat};case 7:return{currentSelector:e.currentSelector,currentViewDate:e.currentViewDate,timeFormat:e.timeFormat,dateInitialized:!0};case 8:{const t={...e,currentViewDate:zb(a.initialDate),dateInitialized:!0};return Array.isArray(a.initialDate)?{...t,selectedStartDate:a.initialDate[0],selectedEndDate:a.initialDate[1]}:{...t,selectedDate:a.initialDate}}default:return{...e,currentSelector:Ie.DaySelector}}};function zb(e){return e?Array.isArray(e)?e[0]:e:new Date}const wr=(e,a,t)=>{const n=p.useCallback(l=>{t({type:pe.SetViewDate,viewDate:St(a,l)})},[a]),r=p.useCallback(l=>{t({type:pe.SetViewDate,viewDate:rr(a,l)})},[a]),i=p.useCallback(l=>{t({type:pe.SetViewDate,viewDate:Fa(a,l)})},[a]),o=p.useCallback(l=>{t({type:pe.SetViewDate,viewDate:ir(a,l)})},[a]),c=p.useCallback(l=>{t({type:pe.SetDateSelector,dateSelector:l})},[]);return{...e,incrementViewMonths:n,decrementViewMonths:r,incrementViewYears:i,decrementViewYears:o,setDateSelector:c}},yn=({viewDate:e,selectedDate:a,selectedStartDate:t,selectedEndDate:n,selectionMode:r=Nt.Normal,locale:i,onDateSelected:o,selectableDate:c,isValidDate:l,dispatcher:b})=>{var Z;const[g,w]=p.useState(!1),[M,h]=p.useState(),[f,v]=p.useState(),[$,k]=p.useState(),[j,A]=p.useState(),H=p.useRef(),S=p.useRef(),U=p.useContext(vr),V=p.useMemo(()=>U.calendarTemplate,[U.calendarTemplate]),Q=async()=>i||await hs(zo());p.useEffect(()=>{Q().then(L=>{H.current=L,S.current=Sb(H.current),w(!0)}).catch(L=>console.error(L))},[]),p.useEffect(()=>{e&&H.current&&k(ls(e,H.current,r===Nt.Normal))},[e,g]),p.useEffect(()=>{A(a?new Date(a.getFullYear(),a.getMonth(),a.getDate()):void 0)},[a]),p.useEffect(()=>{h(t?new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0).getTime():void 0),v(n?new Date(n.getFullYear(),n.getMonth(),n.getDate(),23,59,59).getTime():void 0)},[t,n]),p.useEffect(()=>{H.current&&i&&(H.current=i,k(ls(e,H.current,r===Nt.Normal)))},[i]);const R=L=>{if(r===Nt.Normal)b==null||b({type:pe.SetSelectedDate,selectedDate:L,viewDate:L}),o==null||o(L);else{if(!o)throw new Error("Range selection mode requires onDateSelected to be set");!t||Mg(L,t)?o(L):t&&!n?o(L,{setEndDate:!0}):t&&n&&o(L)}},se=L=>(j==null?void 0:j.toLocaleDateString())===L.toLocaleDateString(),de=L=>{if(M&&f){const ee=L.getTime();return ee>=M&&ee<=f}return!1},q=wr({viewDate:e,selectedDate:a,selectedStartDate:t,selectedEndDate:n,selectionMode:r,locale:i,weekDays:S.current,monthMatrix:$,selectableDate:c,isValidDate:l,onDateClicked:R,isSelectedDate:se,isInSelectedDateRange:de},e,b),_=V||((L,ee)=>P.jsx("div",{className:"bc-dt-calendar bsc:w-full",children:ee}));return P.jsx(Xt,{props:q,template:_,children:P.jsxs("div",{className:"bc-dt-day-row bsc:grid bsc:min-w-[329px] bsc:grid-cols-7 bsc:gap-3",children:[(Z=S.current)==null?void 0:Z.map((L,ee)=>P.jsx("div",{className:"bc-dt-day-cell bsc:text-center bsc:font-bold",children:L},ee)),$==null?void 0:$.map((L,ee)=>L.map((z,fe)=>{var N,D;const T=z.dayValue!==null&&(c===void 0||c(z.dayValue)),O=ve("bsc:text-center bsc:py-1 bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:hover:bg-mono-light-2 bsc:dark:hover:text-mono-dark-1",{"bsc:text-gray-3":!z.isCurrent,"bsc:bg-primary-1 bsc:text-white bsc:dark:bg-mono-light-1 bsc:dark:text-mono-dark-1":z&&z.dayValue&&(j&&se(z.dayValue)||M&&!f&&Po(M,z.dayValue)||M&&f&&de(z.dayValue)),"bsc:cursor-pointer":T,"bsc:text-error bsc:cursor-not-allowed":!T,"bsc:bg-primary-5 bsc:dark:bg-mono-light-3 bsc:dark:text-mono-dark-1":z.dayValue&&vp(z.dayValue)&&!(se(z.dayValue)||de(z.dayValue))},"bc-dt-date-cell");return P.jsx("div",{className:O,onClick:()=>z&&z.dayValue&&T&&(l===void 0||l(z.dayValue))&&R(z.dayValue),children:(D=z.dayValue)==null?void 0:D.getDate().toLocaleString((N=H.current)==null?void 0:N.code)},ee.toString()+fe.toString())}))]})})},wn=({title:e,scrollerType:a,onTitleClicked:t,onMovePrevious:n,onMoveNext:r,viewDate:i,dispatcher:o})=>{const l=p.useContext(vr).dateScrollerTemplate,b=wr({title:e,scrollerType:a,onTitleClicked:t,onMovePrevious:n,onMoveNext:r},i,o),g="bsc:bg-transparent bsc:cursor-pointer bsc:focus:outline-hidden bsc:hover:bg-primary-1! bsc:hover:text-white! bsc:dark:hover:bg-mono-light-3!",M=l||((h,f)=>P.jsx("div",{className:"bc-dt-scroller bsc:flex bsc:w-full bsc:flex-row bsc:items-center bsc:px-2 bsc:py-1",children:f}));return P.jsxs(Xt,{props:b,template:M,children:[P.jsx("div",{className:"bc-dt-scroller-left bsc:shrink bsc:cursor-pointer",children:P.jsx(lt,{className:g,onClick:n,children:P.jsx(it,{icon:"chevronLeft",size:Ye.Regular})})}),P.jsx("div",{className:"bc-dt-scroller-title bsc:grow bsc:cursor-pointer bsc:text-center bsc:hover:text-primary-2 bsc:dark:hover:text-mono-light-3",onClick:t,children:e}),P.jsx("div",{className:"bc-dt-scroller-right bsc:shrink bsc:cursor-pointer",children:P.jsx(lt,{className:g,onClick:r,children:P.jsx(it,{icon:"chevronRight",size:Ye.Regular})})})]})},_b=({selectedDate:e,viewDate:a,locale:t,showTimeSelector:n,selectableDate:r,isValidDate:i,onChange:o,dispatcher:c})=>{const l=()=>{a&&c({type:pe.SetViewDate,viewDate:rr(a,1)})},b=()=>{a&&c({type:pe.SetViewDate,viewDate:St(a,1)})},g=()=>{c({type:pe.SetDateSelector,dateSelector:Ie.MonthSelector})},w=()=>{c({type:pe.SetDateSelector,dateSelector:Ie.TimeSelector})},M=()=>a?a.toLocaleDateString(t.code,{month:"long",year:"numeric"}):"";return P.jsxs("div",{className:"bc-dt-day-selector bsc:p-2",children:[P.jsx(wn,{title:M(),scrollerType:fa.Day,onTitleClicked:g,onMovePrevious:l,onMoveNext:b,viewDate:a,dispatcher:c}),P.jsx(yn,{viewDate:a,selectedDate:e,locale:t,selectableDate:r,isValidDate:i,onDateSelected:o,dispatcher:c}),n&&P.jsx("div",{className:"bc-dt-time-value-wrapper bsc:flex bsc:w-full bsc:flex-row bsc:justify-center bsc:p-2",children:P.jsx("div",{className:"bc-dt-time-value bsc:cursor-pointer bsc:p-2 bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:bg-mono-dark-1 bsc:dark:text-mono-light-1 bsc:dark:hover:bg-mono-light-2 bsc:dark:hover:text-mono-dark-2",onClick:w,children:(e==null?void 0:e.toLocaleTimeString(t.code))||Eb(t)})})]})},Ob=({viewDate:e,locale:a,dateSelection:t=We.DateTime,dispatcher:n})=>{const r=p.useRef(Tb(a)),i=()=>{const g=ir(e,1);n({type:pe.SetViewDate,viewDate:g})},o=()=>{const g=Fa(e,1);n({type:pe.SetViewDate,viewDate:g})},c=g=>{n({type:pe.SetDateSelector,dateSelector:t!==We.DateRange?Ie.DaySelector:Ie.DateRangeSelector,viewDate:Vp(e,g)})},l=()=>e.toLocaleDateString(a.code,{year:"numeric"}),b=()=>{n({type:pe.SetDateSelector,dateSelector:Ie.YearSelector})};return P.jsxs("div",{className:"bc-dt-month-selector bsc:p-2",style:{minWidth:"20rem"},children:[P.jsx(wn,{title:l(),scrollerType:fa.Month,onTitleClicked:b,onMovePrevious:i,onMoveNext:o,viewDate:e,dispatcher:n}),P.jsx("div",{className:"bc-dt-month-grid bsc:grid bsc:w-full bsc:grid-cols-4 bsc:gap-4",children:r.current.map((g,w)=>g.map((M,h)=>P.jsx("div",{className:"bc-dt-month-cell bsc:cursor-pointer bsc:text-center bsc:py-2 bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:hover:bg-mono-light-2 bsc:dark:hover:text-mono-dark-1",onClick:()=>c(M.monthNumber),children:M.monthName},w.toString()+h.toString())))})]})},Vb=({viewDate:e,selectedStartDate:a,selectedEndDate:t,locale:n,onChange:r,dispatcher:i})=>{const o=fn("screen and (max-device-width: 40rem)"),c=St(e,1),l=(h,f)=>{!f||!f.setEndDate?i({type:pe.SetSelectedStartDate,selectedStartDate:h}):(i({type:pe.SetSelectedEndDate,selectedEndDate:h}),a&&r&&r([a,h]))},b=()=>{i({type:pe.SetDateSelector,dateSelector:Ie.MonthSelector})},g=()=>o?`${e.toLocaleDateString(n.code,{month:"long"})} ${e.toLocaleDateString(n.code,{year:"numeric"})}`:`${e.toLocaleDateString(n.code,{month:"long"})} ${e.toLocaleDateString(n.code,{year:"numeric"})} - ${c.toLocaleDateString(n.code,{month:"long"})} ${c.toLocaleDateString(n.code,{year:"numeric"})}`,w=()=>{e&&i({type:pe.SetViewDate,viewDate:rr(e,1)})},M=()=>{e&&i({type:pe.SetViewDate,viewDate:St(e,1)})};return P.jsxs("div",{className:"bc-dt-range-selector bsc:flex bsc:flex-col",children:[P.jsx("div",{className:"bc-dt-range-scroller-wrapper bsc:shrink",children:P.jsx(wn,{title:g(),scrollerType:fa.Range,onTitleClicked:b,onMovePrevious:w,onMoveNext:M,viewDate:e,dispatcher:i})}),P.jsx("div",{className:"bsc-flex-grow",children:P.jsx(sr,{mobileMarkup:P.jsx("div",{className:"bc-dt-range-calendar bsc:px-2 bsc:py-1",children:P.jsx(yn,{viewDate:e,selectedStartDate:a,selectedEndDate:t,selectionMode:Nt.Range,onDateSelected:l,locale:n,dispatcher:i})}),aboveMobileMarkup:P.jsxs("div",{className:"bc-dt-range-wrapper bsc:flex bsc:flex-row bsc:px-2 bsc:py-1",children:[P.jsx("div",{className:"bc-dt-range-calendar-1 bsc:border-r bsc:border-solid bsc:border-gray-3 bsc:pr-4",children:P.jsx(yn,{viewDate:e,selectedStartDate:a,selectedEndDate:t,selectionMode:Nt.Range,onDateSelected:l,locale:n,dispatcher:i})}),P.jsx("div",{className:"bc-dt-range-calendar-2 bsc:pl-4",children:P.jsx(yn,{viewDate:c,selectedStartDate:a,selectedEndDate:t,selectionMode:Nt.Range,onDateSelected:l,locale:n,dispatcher:i})})]})})})]})},Hb=({viewDate:e,showDateSelector:a,locale:t,timeFormat:n=_e.TwelveHour,timeConstraints:r,onChange:i,dispatcher:o})=>{const c=p.useRef(n===_e.TwelveHour?11:23),l=p.useRef(n===_e.TwelveHour?["12","01","02","03","04","05","06","07","08","09","10","11"]:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"]),b=p.useRef(Ip(0,59,_=>_.toString().padStart(2,"0"))),g=p.useRef(["AM","PM"]),w=p.useRef($f(e)),M=_=>_>11?_-12:_,[h,f]=p.useState(M(e.getHours())),[v,$]=p.useState(e.getMinutes()),[k,j]=p.useState(e.getHours()<=12?0:1),A=p.useRef(e.toLocaleDateString(t.code));p.useEffect(()=>{const _=e.getHours(),Z=e.getMinutes();if(_!==h&&f(n===_e.TwelveHour?M(_):_),Z!==v&&$(Z),n===_e.TwelveHour){const L=_<=11?0:1;L!==k&&j(L)}},[e]);const H=()=>{var L;const _=((L=r==null?void 0:r.hours)==null?void 0:L.step)||1,Z=h<c.current?h+_:0;f(Z),R(Z,v,k)},S=()=>{var L;const _=((L=r==null?void 0:r.hours)==null?void 0:L.step)||1,Z=h>0?h-_:c.current;f(Z),R(Z,v,k)},U=()=>{var L,ee,z;const _=((L=r==null?void 0:r.minutes)==null?void 0:L.step)||1,Z=v+_<(((ee=r==null?void 0:r.minutes)==null?void 0:ee.max)||59)?v+_:((z=r==null?void 0:r.minutes)==null?void 0:z.min)||0;$(Z),R(h,Z,k)},V=()=>{var L,ee,z;const _=((L=r==null?void 0:r.minutes)==null?void 0:L.step)||1,Z=v-_>=(((ee=r==null?void 0:r.minutes)==null?void 0:ee.min)||0)?v-_:(((z=r==null?void 0:r.minutes)==null?void 0:z.max)||60)-_;$(Z),R(h,Z,k)},Q=()=>{const _=k===0?1:0;j(_),R(h,v,_)},R=(_,Z,L)=>{const ee=n===_e.TwelveHour&&L===1?_+12:_;w.current.setHours(ee,Z),o({type:pe.SetSelectedDate,selectedDate:w.current,viewDate:w.current}),i==null||i(w.current)},se=()=>{o({type:pe.SetDateSelector,dateSelector:Ie.DaySelector})},de=ve("bsc:w-full bsc:grid bsc:grid-rows-3 bsc:gap-4 bsc:items-center bc-dt-time-grid",{"bsc:grid-cols-4":n===_e.TwelveHour,"bsc:grid-cols-3":n===_e.TwentyFourHour}),q=ve("bsc:text-center bsc:cursor-pointer bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:text-mono-light-1 bsc:dark:hover:bg-mono-light-1 bsc:dark:hover:text-mono-dark-1 bc-dt-time-date-value",{"bsc:col-span-4":n===_e.TwelveHour,"bsc:col-span-3":n===_e.TwentyFourHour}),X="bsc-bg-transparent bsc:p-2 bsc:cursor-pointer bsc:focus:outline-hidden bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:hover:bg-mono-light-1 bsc:dark:hover:text-mono-dark-1";return P.jsx("div",{className:"bc-dt-time-selector bsc:flex bsc:flex-row bsc:justify-center bsc:p-2",style:{minWidth:n===_e.TwelveHour?"15rem":"11rem"},children:P.jsxs("div",{className:de,children:[a&&P.jsx("div",{className:q,onClick:se,children:A.current}),P.jsx("div",{className:"bc-dt-time-hour-increase bsc:cursor-pointer bsc:text-center",children:P.jsx(lt,{className:X,onClick:H,children:P.jsx(it,{icon:"chevronUp",size:Ye.Regular})})}),P.jsx("div",{}),P.jsx("div",{className:"bc-dt-time-minute-increase bsc:cursor-pointer bsc:text-center",children:P.jsx(lt,{className:X,onClick:U,children:P.jsx(it,{icon:"chevronUp",size:Ye.Regular})})}),n===_e.TwelveHour&&P.jsx("div",{className:"bc-dt-time-meridian-increase bsc:cursor-pointer bsc:text-center",children:P.jsx(lt,{className:X,onClick:Q,children:P.jsx(it,{icon:"chevronUp",size:Ye.Regular})})}),P.jsx("div",{className:"bc-dt-time-hour-value bsc:text-center",children:l.current[h]}),P.jsx("div",{className:"bc-dt-time-separator bsc:text-center",children:":"}),P.jsx("div",{className:"bc-dt-time-minute-value bsc:text-center",children:b.current[v]}),n===_e.TwelveHour&&P.jsx("div",{className:"bc-dt-time-meridian-value bsc:text-center",children:g.current[k]}),P.jsx("div",{className:"bc-dt-time-hour-decrease bsc:cursor-pointer bsc:text-center",children:P.jsx(lt,{className:X,onClick:S,children:P.jsx(it,{icon:"chevronDown",size:Ye.Regular})})}),P.jsx("div",{}),P.jsx("div",{className:"bc-dt-time-minute-decrease bsc:cursor-pointer bsc:text-center",children:P.jsx(lt,{className:X,onClick:V,children:P.jsx(it,{icon:"chevronDown",size:Ye.Regular})})}),n===_e.TwelveHour&&P.jsx("div",{className:"bc-dt-time-meridian-decrease bsc:cursor-pointer bsc:text-center",children:P.jsx(lt,{className:X,onClick:Q,children:P.jsx(it,{icon:"chevronDown",size:Ye.Regular})})})]})})},Ib=({viewDate:e,locale:a,dispatcher:t})=>{const n=Db(e,a),r=()=>{const l=ir(e,10);t({type:pe.SetViewDate,viewDate:l})},i=()=>{const l=Fa(e,10);t({type:pe.SetViewDate,viewDate:l})},o=l=>{const b=parseInt(l);t({type:pe.SetDateSelector,dateSelector:Ie.MonthSelector,viewDate:Hp(e,b)})},c=()=>`${n[0][0].toString()} - ${n[2][1].toString()}`;return P.jsxs("div",{className:"bc-dt-year-selector bsc:p-2",style:{minWidth:"20rem"},children:[P.jsx(wn,{title:c(),scrollerType:fa.Year,onMovePrevious:r,onMoveNext:i,viewDate:e,dispatcher:t}),P.jsx("div",{className:"bc-dt-year-wrapper bsc:w-full",children:P.jsx("div",{className:"bc-dt-year-grid bsc:grid bsc:grid-cols-4 bsc:gap-4",children:n.map((l,b)=>l.map((g,w)=>g.length>0?P.jsx("div",{className:"bc-dt-year-cell bsc:cursor-pointer bsc:text-center bsc:py-2 bsc:hover:bg-primary-2 bsc:hover:text-white bsc:dark:hover:bg-mono-light-2 bsc:dark:hover:text-mono-dark-1",onClick:()=>o(g),children:g},b.toString()+w.toString()):P.jsx("div",{},b.toString()+w.toString())))})})]})};class Fb{constructor(a,t){x(this,"dateFormat");x(this,"timeFormat");x(this,"use24HourTime");x(this,"monthPart");x(this,"dayPart");x(this,"yearPart");x(this,"twelveHourPart");x(this,"twentyFourHourPart");x(this,"minutePart");x(this,"meridianPart");this.dateSelection=a;const n=2023,r=12,i=20,c=new Date(n,r-1,i).toLocaleDateString(t,{year:"numeric",month:"numeric",day:"numeric"});this.dateFormat=c.replace(`${n}`,"YYYY").replace(`${r}`,"MM").replace(`${i}`,"DD");const l=new Date,b=18,g=24,w=37,M=317;l.setHours(b,g,w,M);const h=l.toLocaleTimeString(t);this.use24HourTime=h.startsWith("18"),this.timeFormat=h.replace(`${this.use24HourTime?b:"6"}`,"HH").replace(`${g}`,"MM").replace(`${w}`,"SS").replace(`${M}`,"LLL"),this.createDateParts()}get is24HourTime(){return this.use24HourTime}createInputFormat(){const a={deleteShiftsFormatPart:!1,formatParts:[]};switch(this.dateSelection){case We.DateOnly:return this.createDateFormat(a);case We.TimeOnly:return this.createTimeFormat(a);case We.DateRange:return this.createDateRangeFormat(a);case We.DateTime:return this.createDateTimeFormat(a)}}createDateFormat(a){return this.dateFormat.startsWith("MM")?a.formatParts.push(...this.createMonthDayYearFormatParts()):this.dateFormat.startsWith("DD")?a.formatParts.push(...this.createDayMonthYearFormatParts()):a.formatParts.push(...this.createYearMonthDayFormatParts()),a}createTimeFormat(a){return this.use24HourTime?a.formatParts.push(...this.createTwentyFourHourFormatParts()):a.formatParts.push(...this.createTwelveHourFormatParts()),a}createDateRangeFormat(a){const t=[];this.dateFormat.startsWith("MM")?t.push(...this.createMonthDayYearFormatParts()):this.dateFormat.startsWith("DD")?t.push(...this.createDayMonthYearFormatParts()):t.push(...this.createYearMonthDayFormatParts());const n={characterCount:3,placeholder:" - ",inputText:" - ",isSeparator:!0};return a.formatParts.push(...t,n,...t),a}createDateTimeFormat(a){this.dateFormat.startsWith("MM")?a.formatParts.push(...this.createMonthDayYearFormatParts()):this.dateFormat.startsWith("DD")?a.formatParts.push(...this.createDayMonthYearFormatParts()):a.formatParts.push(...this.createYearMonthDayFormatParts());const t={characterCount:1,placeholder:" ",inputText:" ",isSeparator:!0};return a.formatParts.push(t),this.use24HourTime?a.formatParts.push(...this.createTwentyFourHourFormatParts()):a.formatParts.push(...this.createTwelveHourFormatParts()),a}createMonthDayYearFormatParts(){if(this.monthPart&&this.dayPart&&this.yearPart){let a=this.dateFormat.replace("MM",""),t=a.indexOf("DD"),n=a.substring(0,t);a=a.replace(n,"").replace("DD","");const r={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};t=a.indexOf("YYYY"),n=a.substring(0,t);const i={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};return[this.monthPart,r,this.dayPart,i,this.yearPart]}return[]}createDayMonthYearFormatParts(){if(this.monthPart&&this.dayPart&&this.yearPart){let a=this.dateFormat.replace("DD",""),t=a.indexOf("MM"),n=a.substring(0,t);a=a.replace(n,"").replace("MM","");const r={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};t=a.indexOf("YYYY"),n=a.substring(0,t);const i={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};return[this.dayPart,r,this.monthPart,i,this.yearPart]}return[]}createYearMonthDayFormatParts(){if(this.monthPart&&this.dayPart&&this.yearPart){let a=this.dateFormat.replace("YYYY",""),t=a.indexOf("MM"),n=a.substring(0,t);a=a.replace(n,"").replace("MM","");const r={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};t=a.indexOf("DD"),n=a.substring(0,t);const i={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};return[this.yearPart,r,this.monthPart,i,this.dayPart]}return[]}createTwelveHourFormatParts(){if(this.twelveHourPart&&this.minutePart&&this.meridianPart){const a=this.timeFormat.replace("HH",""),t=a.indexOf("MM"),n=a.substring(0,t),r={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0},i={characterCount:1,placeholder:" ",inputText:" ",isSeparator:!0};return[this.twelveHourPart,r,this.minutePart,i,this.meridianPart]}return[]}createTwentyFourHourFormatParts(){if(this.twentyFourHourPart&&this.minutePart){const a=this.timeFormat.replace("HH",""),t=a.indexOf("MM"),n=a.substring(0,t),r={characterCount:n.length,placeholder:n,inputText:n,isSeparator:!0};return[this.twentyFourHourPart,r,this.minutePart]}return[]}createDateParts(){this.monthPart={characterCount:2,placeholder:"M",inputText:"_",isSeparator:!1,allCharactersRequired:!1,valueType:pt.Numeric,minimumValue:1,maximumValue:12,exceedingMaximumValueCausesTab:!0,padWithZeros:!0},this.dayPart={characterCount:2,placeholder:"D",inputText:"_",isSeparator:!1,allCharactersRequired:!1,valueType:pt.Numeric,minimumValue:1,maximumValue:31,exceedingMaximumValueCausesTab:!0,padWithZeros:!0},this.yearPart={characterCount:4,placeholder:"Y",inputText:"_",isSeparator:!1,allCharactersRequired:!0,valueType:pt.Numeric},this.twelveHourPart={characterCount:2,placeholder:"H",inputText:"_",isSeparator:!1,allCharactersRequired:!1,valueType:pt.Numeric,minimumValue:1,maximumValue:12,exceedingMaximumValueCausesTab:!0,padWithZeros:!0},this.twentyFourHourPart={characterCount:2,placeholder:"H",inputText:"_",isSeparator:!1,allCharactersRequired:!1,valueType:pt.Numeric,minimumValue:0,maximumValue:23,exceedingMaximumValueCausesTab:!0,padWithZeros:!0},this.minutePart={characterCount:2,placeholder:"M",inputText:"_",isSeparator:!1,allCharactersRequired:!1,valueType:pt.Numeric,minimumValue:0,maximumValue:59,exceedingMaximumValueCausesError:!0,padWithZeros:!0},this.meridianPart={characterCount:2,inputText:"_",isSeparator:!1,valueType:pt.Text,possibleValues:["AM","PM"]}}}const Ab=(e,a)=>{var i;const[t,n]=p.useState(),r=p.useRef();return p.useEffect(()=>{a&&!t&&(r.current=new Fb(e,a),n(r.current.createInputFormat()))},[a]),[t,(i=r.current)==null?void 0:i.is24HourTime]},Lb=({value:e,readOnly:a=!1,label:t,useDefaultDateValue:n=!1,useFormattedInput:r=!1,allowClear:i=!1,closeSelector:o=!1,locale:c,className:l,dateSelection:b=We.DateTime,dateFormat:g,timeConstraints:w,icon:M,iconPosition:h=vn.Right,inputElement:f,selectableDate:v,isValidDate:$,onChange:k,calendarTemplate:j,dateScrollerTemplate:A,inputTemplate:H,wrapperTemplate:S})=>{const[U,V]=p.useState(!1),[Q,R]=p.useState(),[se,de]=p.useState(),[q,X,_]=Ic(b),Z=p.useRef(),L=p.useRef(!1),ee=p.useRef(c||zo()),z=p.useRef(),fe=p.useRef(),T=p.useRef(),O=p.useRef(null),N=p.useRef(null),[D,K]=Ab(b,Q),re=p.useRef({calendarTemplate:j,dateScrollerTemplate:A});p.useEffect(()=>{ee.current&&B(ee.current)},[ee]),p.useEffect(()=>{c&&B(c)},[c]),p.useEffect(()=>{if(e){const ie=te();le({type:pe.InitializeDates,initialDate:ie})}else le({type:pe.ClearDates})},[e,z.current]),p.useEffect(()=>{K&&le({type:pe.SetTimeFormat,timeFormat:K?_e.TwentyFourHour:_e.TwelveHour})},[K]),p.useEffect(()=>{f&&(fe.current=f)},[f]),p.useEffect(()=>{le({type:pe.SetDateSelector,dateSelector:Y()})},[q]);const Y=p.useCallback(()=>_.current===We.TimeOnly?Ie.TimeSelector:_.current===We.DateTime||_.current===We.DateOnly?Ie.DaySelector:Ie.DateRangeSelector,[]),B=ie=>{hs(ie).then(be=>{R(be.code),z.current=be;const Te=te();le(e||n?{type:pe.InitializeDates,initialDate:Array.isArray(Te)?Te[0]:Te}:{type:pe.SetViewDate,viewDate:Array.isArray(Te)?Te[0]:Te})}).catch(be=>console.error(be))},te=()=>{const ie=new Date;return ie.setHours(0,0,0,0),e?typeof e=="string"?_.current!==We.DateRange?Ra(e,z.current):yr(e,z.current):e:ie},oe={currentSelector:Y(),currentViewDate:new Date,timeFormat:_e.TwelveHour,dateInitialized:!1},[E,le]=p.useReducer(Cb,oe),F=()=>{ba(),V(!0)},Oe=p.useMemo(()=>Ha(()=>{V(!1)},250),[]),at=p.useMemo(()=>Ha(()=>{Oe.cancel()},5),[Oe]),Fe=ie=>{const be=ie.target.innerText;st(be)},qe=ie=>{if(ie){const be=_.current!==We.DateRange?Ra(ie,z.current):yr(ie,z.current);return be?$?Array.isArray(be)?be.every(Te=>$(Te)):$(be):!0:!1}else return!0},bt=ie=>{st(ie||"")},st=ie=>{const be=_.current!==We.DateRange?Ra(ie,z.current):yr(ie,z.current);be?(Array.isArray(be)?(Nb(be[0],ko(E.currentViewDate),_f(St(E.currentViewDate,1)))||le({type:pe.SetViewDate,viewDate:be[0]}),le({type:pe.SetSelectedDateRange,selectedStartDate:be[0],selectedEndDate:be[1]})):le({type:pe.SetSelectedDate,selectedDate:be,viewDate:be}),k==null||k(be)):ie===""&&(le({type:pe.ClearDates}),k==null||k())},tt=ie=>{_.current===We.DateOnly&&o===!0&&V(!1),k==null||k(ie)},ga=()=>{ba(),V(!U),N.current?N.current.focus():O.current&&O.current.focus()},pa=()=>{le({type:pe.ClearDates}),V(!1),k==null||k()},ut=(ie,be)=>{(!fe.current||Z.current!==be)&&(fe.current=ie,Z.current=be,L.current=!0)},ba=()=>{(!T.current||L.current)&&fe.current&&(T.current=fe.current,de(fe.current),L.current=!1)},va=()=>{V(!1),le({type:pe.SetDateSelector,dateSelector:Y()})},Gt=()=>{switch(g){case Ya.Short:return"short";case Ya.Medium:return"medium";case Ya.Long:return"long";default:return}},vt=()=>{var be,Te,wt,Pt,zt,ka,_t,Ma,Ot,Vt,$a,Wa;const ie=Gt();switch(_.current){case We.DateTime:return E.selectedDate?ie?E.selectedDate.toLocaleString((be=z.current)==null?void 0:be.code,{dateStyle:ie,timeStyle:ie}):E.selectedDate.toLocaleString((Te=z.current)==null?void 0:Te.code):"";case We.DateOnly:return E.selectedDate?ie?E.selectedDate.toLocaleDateString((wt=z.current)==null?void 0:wt.code,{dateStyle:ie}):E.selectedDate.toLocaleDateString((Pt=z.current)==null?void 0:Pt.code):"";case We.TimeOnly:return E.selectedDate?ie?E.selectedDate.toLocaleTimeString((zt=z.current)==null?void 0:zt.code,{timeStyle:ie,hour12:E.timeFormat===_e.TwelveHour,hourCycle:E.timeFormat===_e.TwentyFourHour?"h23":void 0}):E.selectedDate.toLocaleTimeString((ka=z.current)==null?void 0:ka.code,{hour12:E.timeFormat===_e.TwelveHour,hourCycle:E.timeFormat===_e.TwentyFourHour?"h23":void 0}):"";case We.DateRange:return E.selectedStartDate&&E.selectedEndDate?ie?`${E.selectedStartDate.toLocaleDateString((_t=z.current)==null?void 0:_t.code,{dateStyle:ie})} - ${E.selectedEndDate.toLocaleDateString((Ma=z.current)==null?void 0:Ma.code,{dateStyle:ie})}`:`${E.selectedStartDate.toLocaleDateString((Ot=z.current)==null?void 0:Ot.code)} - ${E.selectedEndDate.toLocaleDateString((Vt=z.current)==null?void 0:Vt.code)}`:"";default:return E.selectedDate?ie?E.selectedDate.toLocaleString(($a=z.current)==null?void 0:$a.code,{dateStyle:ie,timeStyle:ie}):E.selectedDate.toLocaleString((Wa=z.current)==null?void 0:Wa.code):""}},yt=q===We.DateTime||q===We.DateOnly||q===We.DateRange,Ua=q===We.DateTime||q===We.TimeOnly,dt=h===vn.None?{}:h===vn.Right?{rightElement:P.jsxs("div",{className:"bsc:flex bsc:text-black bsc:dark:text-mono-light-1",children:[i&&!a&&P.jsx("div",{children:P.jsx(it,{icon:"close",size:Ye.Small,className:"bsc:cursor-pointer bsc:text-sm",onClick:pa})}),P.jsx("div",{className:"bsc:ml-2",onClick:a?void 0:ga,children:M||P.jsx(it,{icon:"calendar",size:Ye.Small,className:a?void 0:"bsc:cursor-pointer"})})]}),rightElementClassName:"bsc:justify-center"}:{leftElement:P.jsxs("div",{className:"bsc:flex bsc:text-black bsc:dark:text-mono-light-1",children:[P.jsx("div",{className:"bsc:mr-2",onClick:a?void 0:ga,children:M||P.jsx(it,{icon:"calendar",size:Ye.Small,className:a?void 0:"bsc:cursor-pointer"})}),i&&!a&&P.jsx("div",{children:P.jsx(it,{icon:"close",size:Ye.Small,className:"bsc:cursor-pointer bsc:text-sm",onClick:pa})})]}),leftElementClassName:"bsc:justify-center"},Qt={setDateSelector:ie=>X(ie)},Za=S||((ie,be)=>P.jsx(P.Fragment,{children:be})),ya=()=>P.jsx(Xt,{props:Qt,template:Za,children:P.jsxs(P.Fragment,{children:[E.currentSelector===Ie.DaySelector&&yt&&E.dateInitialized&&z.current&&P.jsx(_b,{selectedDate:E.selectedDate,viewDate:E.currentViewDate,locale:z.current,showTimeSelector:_.current===We.DateTime,selectableDate:v,isValidDate:$,dispatcher:le,onChange:tt}),E.currentSelector===Ie.MonthSelector&&yt&&E.dateInitialized&&z.current&&P.jsx(Ob,{viewDate:E.currentViewDate,locale:z.current,dateSelection:_.current,dispatcher:le}),E.currentSelector===Ie.YearSelector&&yt&&E.dateInitialized&&z.current&&P.jsx(Ib,{viewDate:E.currentViewDate,locale:z.current,dispatcher:le}),E.currentSelector===Ie.TimeSelector&&Ua&&E.dateInitialized&&z.current&&P.jsx(Hb,{viewDate:E.currentViewDate,showDateSelector:_.current===We.DateTime,locale:z.current,timeFormat:E.timeFormat,timeConstraints:w,onChange:k,dispatcher:le}),E.currentSelector===Ie.DateRangeSelector&&yt&&E.dateInitialized&&z.current&&P.jsx(Vb,{viewDate:E.currentViewDate,selectedStartDate:E.selectedStartDate,selectedEndDate:E.selectedEndDate,locale:z.current,onChange:k,dispatcher:le})]})}),wa=wr({label:t,readOnly:a,allowClear:i,getValue:vt,onFocus:F,onInput:Fe,iconPosition:h,iconElement:dt.rightElement||dt.leftElement},E.currentViewDate,le),Pa=H||((ie,be)=>P.jsx(P.Fragment,{children:be})),Kt=ve("bsc:text-left",{"bc-read-only bsc:bg-gray-4 bsc:dark:bg-mono-dark-3":a,"bsc:bg-white bsc:dark:bg-mono-dark-1":!a},"bc-dt-input",l);return P.jsx(vr.Provider,{value:re.current,children:P.jsxs("div",{className:"bc-date-time",children:[t&&P.jsx(kt,{label:t,readOnly:a,className:"bc-dt-label"}),P.jsx(sr,{mobileMarkup:P.jsxs(P.Fragment,{children:[P.jsx(Xt,{props:wa,template:Pa,children:P.jsx(ln,{ref:O,value:vt(),readOnly:a,inputMode:"none",className:Kt,onFocus:F,onElementCreate:ie=>ut(ie,!1),...dt})}),P.jsx(ns,{visible:U,target:se,hidden:va,unmountWhenHidden:!0,children:ya()})]}),aboveMobileMarkup:P.jsxs(P.Fragment,{children:[P.jsx(Xt,{props:wa,template:Pa,children:r===!1?P.jsx(ln,{ref:O,value:vt(),readOnly:a,className:Kt,onFocus:F,onBlur:Oe,onInput:Fe,onElementCreate:ie=>ut(ie,!1),...dt}):P.jsx(cs,{ref:N,value:vt(),readOnly:a,className:Kt,format:D,isInputValid:qe,onFocus:F,onBlur:Oe,onChange:bt,onElementCreate:ie=>ut(ie,!0),...dt})}),P.jsx(os,{visible:U,target:se,shouldTargetCloseOverlay:!1,shouldScrollCloseOverlay:!0,shouldCheckZIndex:!0,shouldRemainOnScreen:!0,hidden:va,isClickedWithin:at,unmountWhenHidden:!0,children:ya()})]})})]})})};var Pr,fs;function Xb(){if(fs)return Pr;fs=1;function e(h,f){var v,$;if(typeof f=="function")$=f(h),$!==void 0&&(h=$);else if(Array.isArray(f))for(v=0;v<f.length;v++)$=f[v](h),$!==void 0&&(h=$);return h}function a(h,f){return h[0]==="-"&&Array.isArray(f)&&/^-\d+$/.test(h)?f.length+parseInt(h,10):h}function t(h){return/^\d+$/.test(h)}function n(h){return Object.prototype.toString.call(h)==="[object Object]"}function r(h){return Object(h)===h}function i(h){return Object.keys(h).length===0}var o=["__proto__","prototype","constructor"],c=function(h){return o.indexOf(h)===-1};function l(h,f){h.indexOf("[")>=0&&(h=h.replace(/\[/g,f).replace(/]/g,""));var v=h.split(f),$=v.filter(c);if($.length!==v.length)throw Error("Refusing to update blacklisted property "+h);return v}var b=Object.prototype.hasOwnProperty;function g(h,f,v,$){if(!(this instanceof g))return new g(h,f,v,$);typeof f>"u"&&(f=!1),typeof v>"u"&&(v=!0),typeof $>"u"&&($=!0),this.separator=h||".",this.override=f,this.useArray=v,this.useBrackets=$,this.keepArray=!1,this.cleanup=[]}var w=new g(".",!1,!0,!0);function M(h){return function(){return w[h].apply(w,arguments)}}return g.prototype._fill=function(h,f,v,$){var k=h.shift();if(h.length>0){if(f[k]=f[k]||(this.useArray&&t(h[0])?[]:{}),!r(f[k]))if(this.override)f[k]={};else{if(!(r(v)&&i(v)))throw new Error("Trying to redefine `"+k+"` which is a "+typeof f[k]);return}this._fill(h,f[k],v,$)}else{if(!this.override&&r(f[k])&&!i(f[k])){if(!(r(v)&&i(v)))throw new Error("Trying to redefine non-empty obj['"+k+"']");return}f[k]=e(v,$)}},g.prototype.object=function(h,f){var v=this;return Object.keys(h).forEach(function($){var k=f===void 0?null:f[$],j=l($,v.separator).join(v.separator);j.indexOf(v.separator)!==-1?(v._fill(j.split(v.separator),h,h[$],k),delete h[$]):h[$]=e(h[$],k)}),h},g.prototype.str=function(h,f,v,$){var k=l(h,this.separator).join(this.separator);return h.indexOf(this.separator)!==-1?this._fill(k.split(this.separator),v,f,$):v[h]=e(f,$),v},g.prototype.pick=function(h,f,v,$){var k,j,A,H,S;for(j=l(h,this.separator),k=0;k<j.length;k++)if(H=a(j[k],f),f&&typeof f=="object"&&H in f){if(k===j.length-1)return v?(A=f[H],$&&Array.isArray(f)?f.splice(H,1):delete f[H],Array.isArray(f)&&(S=j.slice(0,-1).join("."),this.cleanup.indexOf(S)===-1&&this.cleanup.push(S)),A):f[H];f=f[H]}else return;return v&&Array.isArray(f)&&(f=f.filter(function(U){return U!==void 0})),f},g.prototype.delete=function(h,f){return this.remove(h,f,!0)},g.prototype.remove=function(h,f,v){var $;if(this.cleanup=[],Array.isArray(h)){for($=0;$<h.length;$++)this.pick(h[$],f,!0,v);return v||this._cleanup(f),f}else return this.pick(h,f,!0,v)},g.prototype._cleanup=function(h){var f,v,$,k;if(this.cleanup.length){for(v=0;v<this.cleanup.length;v++)$=this.cleanup[v].split("."),k=$.splice(0,-1).join("."),f=k?this.pick(k,h):h,f=f[$[0]].filter(function(j){return j!==void 0}),this.set(this.cleanup[v],f,h);this.cleanup=[]}},g.prototype.del=g.prototype.remove,g.prototype.move=function(h,f,v,$,k){return typeof $=="function"||Array.isArray($)?this.set(f,e(this.pick(h,v,!0),$),v,k):(k=$,this.set(f,this.pick(h,v,!0),v,k)),v},g.prototype.transfer=function(h,f,v,$,k,j){return typeof k=="function"||Array.isArray(k)?this.set(f,e(this.pick(h,v,!0),k),$,j):(j=k,this.set(f,this.pick(h,v,!0),$,j)),$},g.prototype.copy=function(h,f,v,$,k,j){return typeof k=="function"||Array.isArray(k)?this.set(f,e(JSON.parse(JSON.stringify(this.pick(h,v,!1))),k),$,j):(j=k,this.set(f,this.pick(h,v,!1),$,j)),$},g.prototype.set=function(h,f,v,$){var k,j,A,H;if(typeof f>"u")return v;for(A=l(h,this.separator),k=0;k<A.length;k++){if(H=A[k],k===A.length-1)if($&&n(f)&&n(v[H]))for(j in f)b.call(f,j)&&(v[H][j]=f[j]);else if($&&Array.isArray(v[H])&&Array.isArray(f))for(var S=0;S<f.length;S++)v[A[k]].push(f[S]);else v[H]=f;else(!b.call(v,H)||!n(v[H])&&!Array.isArray(v[H]))&&(/^\d+$/.test(A[k+1])?v[H]=[]:v[H]={});v=v[H]}return v},g.prototype.transform=function(h,f,v){return f=f||{},v=v||{},Object.keys(h).forEach((function($){this.set(h[$],this.pick($,f),v)}).bind(this)),v},g.prototype.dot=function(h,f,v){f=f||{},v=v||[];var $=Array.isArray(h);return Object.keys(h).forEach((function(k){var j=$&&this.useBrackets?"["+k+"]":k;if(r(h[k])&&(n(h[k])&&!i(h[k])||Array.isArray(h[k])&&!this.keepArray&&h[k].length!==0))if($&&this.useBrackets){var A=v[v.length-1]||"";return this.dot(h[k],f,v.slice(0,-1).concat(A+j))}else return this.dot(h[k],f,v.concat(j));else $&&this.useBrackets?f[v.join(this.separator).concat("["+k+"]")]=h[k]:f[v.concat(j).join(this.separator)]=h[k]}).bind(this)),f},g.pick=M("pick"),g.move=M("move"),g.transfer=M("transfer"),g.transform=M("transform"),g.copy=M("copy"),g.object=M("object"),g.str=M("str"),g.set=M("set"),g.delete=M("delete"),g.del=g.remove=M("remove"),g.dot=M("dot"),["override","overwrite"].forEach(function(h){Object.defineProperty(g,h,{get:function(){return w.override},set:function(f){w.override=!!f}})}),["useArray","keepArray","useBrackets"].forEach(function(h){Object.defineProperty(g,h,{get:function(){return w[h]},set:function(f){w[h]=f}})}),g._process=e,Pr=g,Pr}var Rb=Xb();const gs=Wn(Rb),Yb=({name:e,label:a,value:t,data:n,textField:r,valueField:i,readOnly:o=!1,orientation:c=Le.Horizontal,isMultiSelect:l=!1,className:b,onChange:g,itemTemplate:w})=>{const[M,h]=p.useState(),[f,v]=p.useState([]),$=Fn(()=>n,[n]),k=p.useId();p.useEffect(()=>{if(l){const q=Array.isArray(t)?t.map(X=>X.toString()):t?[String(t)]:void 0;v(q??[])}else t&&h(t.toString())},[t]);const j=q=>l?f.findIndex(X=>X===q)>-1:M===q,A=q=>{const X=q.toString();if(l){const _=j(X);let Z;_?Z=f.filter(L=>L!=X):Z=[...f,X],v(Z),g==null||g({name:e,value:Z})}else X!==M&&(h(X),g==null||g({name:e,value:X}))},H=q=>{Array.isArray(q==null?void 0:q.value)?v((q==null?void 0:q.value)??[]):h(q==null?void 0:q.value),g==null||g(q)},S=Ta(Bt.FocusWithin),U=p.useCallback((q,X)=>P.jsx(P.Fragment,{children:X}),[]),V=w||U,Q=(q,X,_)=>{const Z=`element_${k}_${X}`,L=gs.pick(r,q),ee=String(gs.pick(i,q)),z=X===0,fe=X===_.length-1,T=ve("bc-group-button-item bsc:cursor-pointer bsc:border-solid bsc:p-2 bsc:font-medium",{"bsc:has-data-checked:bg-primary-1 bsc:dark:has-data-checked:bg-mono-light-1 bsc:has-data-checked:text-white bsc:dark:has-data-checked:text-mono-dark-1 bsc:dark:text-mono-light-1 bsc:text-gray-2 bsc:border-gray-3 bsc:dark:border-mono-light-2":!o,"bc-read-only bsc:has-data-checked:bg-primary-4 bsc:dark:has-data-checked:bg-mono-light-3 bsc:has-data-checked:text-gray-5 bsc:dark:has-data-checked:text-mono-dark-3 bsc:dark:text-mono-light-3 bsc:text-gray-3 bsc:border-gray-4 bsc:dark:border-mono-light-3 bsc:pointer-events-none":o,"bsc:border-t bsc:border-l bsc:border-b bsc:rounded-l-md bsc:pl-2":z&&c===Le.Horizontal,"bsc:border-t bsc:border-r bsc:border-l bsc:border-b bsc:rounded-r-md bsc:pr-2":fe&&c===Le.Horizontal,"bsc:border-t bsc:border-b":!z&&!fe&&c===Le.Horizontal,"bsc:border-l":!z&&c===Le.Horizontal,"bsc:border-l bsc:border-r bsc:border-t bsc:rounded-t-md":z&&c===Le.Vertical,"bsc:border bsc:rounded-b-md":fe&&c===Le.Vertical,"bsc:border-t bsc:border-l bsc:border-r":!z&&!fe&&c===Le.Vertical},S),O={itemId:Z,selectedValue:l?f:M,itemText:L,itemValue:ee,itemData:q,itemStyles:T,isSelected:j(ee),isFirstItem:z,isLastItem:fe,onItemChanged:A};return l?P.jsx(Xt,{props:O,template:V,children:P.jsx(aa,{className:T,children:P.jsx(Pi,{value:ee,className:"bsc:block bsc:w-full bsc:cursor-pointer",children:L})})},Z):P.jsx(Xt,{props:O,template:V,children:P.jsx(aa,{className:T,children:P.jsx(Si,{value:ee,className:"bsc:block bsc:w-full bsc:cursor-pointer",children:L})})},Z)},R=ve("bsc:flex bsc:flex-col bsc:gap-2",b),se=ve("bsc:flex",{"bsc:flex-col bsc:w-max":c===Le.Vertical}),de=q=>l?P.jsx($i,{name:e,value:f,readOnly:o,onChange:H,className:se,children:q.map(Q)}):P.jsx(ji,{name:e,value:M,readOnly:o,onChange:H,className:se,children:q.map(Q)});return P.jsxs(aa,{className:R,children:[a&&P.jsx(kt,{label:a,readOnly:o}),$&&de($)]})},qb=p.memo(Yb),Gb=({name:e,label:a,value:t,data:n,textField:r,valueField:i,readOnly:o=!1,labelLocation:c=rt.Right,orientation:l=Le.Vertical,className:b,useAnimation:g,onChange:w})=>{const M=Fn(()=>n,[n]),h=p.useId(),f=Vn(g),v=Ta(Bt.FocusWithin),$=ve("bc-radio-container bsc:flex bsc:flex-col bsc:gap-1",b),k=ve("bc-radio-wrapper bsc:flex bsc:gap-1",{"bsc:flex-col":l===Le.Vertical,"bsc:*:pr-2":l===Le.Horizontal}),j=ve("bc-radio-item-wrapper bsc:flex bsc:items-center bsc:*:cursor-pointer",{"bc-read-only":o}),A=ve("bc-radio-item bsc:group bsc:relative bsc:*:size-[21px] bsc:rounded-full",{"bsc:ml-2":c===rt.Left,"bsc:mr-2":c===rt.Right,"bc-read-only":o},v),H=ve("bc-radio-item-svg bsc:stroke-2 bsc:fill-none bsc:rounded-full bsc:stroke-gray-1 bsc:dark:stroke-mono-light-2 bsc:group-data-read-only:stroke-gray-4 bsc:dark:group-data-read-only:stroke-mono-light-3"),S=ve("bsc:group-data-checked:fill-primary-1 bsc:dark:group-data-checked:fill-mono-light-2 bsc:group-data-checked:group-data-read-only:fill-primary-4 bsc:dark:group-data-checked:group-data-read-only:fill-mono-light-3",{"bsc:group-data-checked:animate-bounce":!o&&f}),U=ve("bsc:invisible bsc:group-data-checked:visible bsc:group-data-checked:fill-white bsc:dark:group-data-checked:fill-mono-dark-1",{"bsc:group-data-checked:animate-bounce":!o&&f}),V=(Q,R)=>{const se=Q[r],de=Q[i];return P.jsxs(aa,{className:j,children:[c===rt.Left&&P.jsx(kt,{label:se,readOnly:o}),P.jsx(Si,{value:de,className:A,children:P.jsxs("svg",{viewBox:"0 0 30 30",preserveAspectRatio:"xMidYMid meet",className:H,children:[P.jsx("circle",{cx:15,cy:15,r:15,className:S}),P.jsx("circle",{cx:"50%",cy:"50%",r:7,className:U})]})}),c===rt.Right&&P.jsx(kt,{label:se,readOnly:o})]},`radio_${h}_item${R}`)};return P.jsxs("div",{className:$,children:[a&&P.jsx(kt,{label:a,readOnly:o}),P.jsx(ji,{name:e,value:t,readOnly:o,onChange:w,className:k,children:M&&M.map(V)})]})},Qb=p.memo(Gb),Kb=({name:e,label:a,value:t,checked:n=!1,readOnly:r=!1,useAnimation:i,className:o,onChange:c})=>{const l=Vn(i),b=ve("bc-toggle-wrapper bsc:flex bsc:flex-col",o),g=Ta(Bt.FocusWithin),w=ve("bc-toggle-container bsc:group bsc:flex bsc:mt-0.5 bsc:relative bsc:w-[60px] bsc:h-[26px] bsc:rounded-full bsc:[transition:background-color_1s]",{"bsc:cursor-pointer bsc:bg-gray-3 bsc:dark:bg-mono-dark-3 bsc:has-checked:bg-primary-1 bsc:dark:has-checked:bg-mono-light-2":!r,"bc-read-only bsc:pointer-events-none bsc:bg-gray-4 bsc:dark:bg-mono-dark-2 bsc:has-checked:bg-primary-4 bsc:dark:has-checked:bg-mono-light-3":r},g),M=ve("bc-toggle-switch bsc:absolute bsc:rounded-full bsc:dark:border bsc:dark:border-solid bsc:dark:border-mono-dark-1 bsc:group-data-toggled:translate-x-[35px] bsc:w-[18px] bsc:h-[18px] bsc:top-[4px] bsc:left-[4px]",{"bsc:bg-white bsc:cursor-pointer":!r,"bc-read-only bsc:bg-gray-5 bsc:pointer-events-none":r,"bsc:[transition:0.3s]":!r&&l});return P.jsxs(aa,{className:b,children:[a&&P.jsx(kt,{label:a,readOnly:r}),P.jsx(Nc,{name:e,value:t,toggled:n,onChange:c,className:w,children:P.jsx("div",{className:M})})]})},Jb=p.memo(Kb),Bb={lessThanXSeconds:{one:"minder as 'n sekonde",other:"minder as {{count}} sekondes"},xSeconds:{one:"1 sekonde",other:"{{count}} sekondes"},halfAMinute:"'n halwe minuut",lessThanXMinutes:{one:"minder as 'n minuut",other:"minder as {{count}} minute"},xMinutes:{one:"'n minuut",other:"{{count}} minute"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} ure"},xHours:{one:"1 uur",other:"{{count}} ure"},xDays:{one:"1 dag",other:"{{count}} dae"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weke"},xWeeks:{one:"1 week",other:"{{count}} weke"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maande"},xMonths:{one:"1 maand",other:"{{count}} maande"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer as 1 jaar",other:"meer as {{count}} jaar"},almostXYears:{one:"byna 1 jaar",other:"byna {{count}} jaar"}},Ub=(e,a,t)=>{let n;const r=Bb[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"oor "+n:n+" gelede":n},Zb={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"yyyy/MM/dd"},ev={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},tv={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},av={date:m({formats:Zb,defaultWidth:"full"}),time:m({formats:ev,defaultWidth:"full"}),dateTime:m({formats:tv,defaultWidth:"full"})},nv={lastWeek:"'verlede' eeee 'om' p",yesterday:"'gister om' p",today:"'vandag om' p",tomorrow:"'môre om' p",nextWeek:"eeee 'om' p",other:"P"},rv=(e,a,t,n)=>nv[e],iv={narrow:["vC","nC"],abbreviated:["vC","nC"],wide:["voor Christus","na Christus"]},ov={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ste kwartaal","2de kwartaal","3de kwartaal","4de kwartaal"]},sv={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],wide:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"]},uv={narrow:["S","M","D","W","D","V","S"],short:["So","Ma","Di","Wo","Do","Vr","Sa"],abbreviated:["Son","Maa","Din","Woe","Don","Vry","Sat"],wide:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"]},dv={narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"}},cv={narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"}},lv={ordinalNumber:e=>{const a=Number(e),t=a%100;if(t<20)switch(t){case 1:case 8:return a+"ste";default:return a+"de"}return a+"ste"},era:u({values:iv,defaultWidth:"wide"}),quarter:u({values:ov,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:sv,defaultWidth:"wide"}),day:u({values:uv,defaultWidth:"wide"}),dayPeriod:u({values:dv,defaultWidth:"wide",formattingValues:cv,defaultFormattingWidth:"wide"})},mv=/^(\d+)(ste|de)?/i,hv=/\d+/i,fv={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?C\.?)/,wide:/^((voor|na) Christus)/},gv={any:[/^v/,/^n/]},pv={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](st|d)e kwartaal/i},bv={any:[/1/i,/2/i,/3/i,/4/i]},vv={narrow:/^[jfmasond]/i,abbreviated:/^(Jan|Feb|Mrt|Apr|Mei|Jun|Jul|Aug|Sep|Okt|Nov|Dec)\.?/i,wide:/^(Januarie|Februarie|Maart|April|Mei|Junie|Julie|Augustus|September|Oktober|November|Desember)/i},yv={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:[/^Jan/i,/^Feb/i,/^Mrt/i,/^Apr/i,/^Mei/i,/^Jun/i,/^Jul/i,/^Aug/i,/^Sep/i,/^Okt/i,/^Nov/i,/^Dec/i]},wv={narrow:/^[smdwv]/i,short:/^(So|Ma|Di|Wo|Do|Vr|Sa)/i,abbreviated:/^(Son|Maa|Din|Woe|Don|Vry|Sat)/i,wide:/^(Sondag|Maandag|Dinsdag|Woensdag|Donderdag|Vrydag|Saterdag)/i},Pv={narrow:[/^S/i,/^M/i,/^D/i,/^W/i,/^D/i,/^V/i,/^S/i],any:[/^So/i,/^Ma/i,/^Di/i,/^Wo/i,/^Do/i,/^Vr/i,/^Sa/i]},kv={any:/^(vm|nm|middernag|(?:uur )?die (oggend|middag|aand))/i},Mv={any:{am:/^vm/i,pm:/^nm/i,midnight:/^middernag/i,noon:/^middaguur/i,morning:/oggend/i,afternoon:/middag/i,evening:/laat middag/i,night:/aand/i}},$v={ordinalNumber:I({matchPattern:mv,parsePattern:hv,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:fv,defaultMatchWidth:"wide",parsePatterns:gv,defaultParseWidth:"any"}),quarter:d({matchPatterns:pv,defaultMatchWidth:"wide",parsePatterns:bv,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:vv,defaultMatchWidth:"wide",parsePatterns:yv,defaultParseWidth:"any"}),day:d({matchPatterns:wv,defaultMatchWidth:"wide",parsePatterns:Pv,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:kv,defaultMatchWidth:"any",parsePatterns:Mv,defaultParseWidth:"any"})},ps={code:"af",formatDistance:Ub,formatLong:av,formatRelative:rv,localize:lv,match:$v,options:{weekStartsOn:0,firstWeekContainsDate:1}},Wv=Object.freeze(Object.defineProperty({__proto__:null,af:ps,default:ps},Symbol.toStringTag,{value:"Module"})),xv={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},jv=(e,a,t)=>{t=t||{};const n=xv[e];let r;return typeof n=="string"?r=n:a===1?r=n.one:a===2?r=n.two:a<=10?r=n.threeToTen.replace("{{count}}",String(a)):r=n.other.replace("{{count}}",String(a)),t.addSuffix?t.comparison&&t.comparison>0?"في خلال "+r:"منذ "+r:r},Sv={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Tv={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Dv={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ev={date:m({formats:Sv,defaultWidth:"full"}),time:m({formats:Tv,defaultWidth:"full"}),dateTime:m({formats:Dv,defaultWidth:"full"})},Nv={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},Cv=(e,a,t,n)=>Nv[e],zv={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},_v={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},Ov={narrow:["ج","ف","م","أ","م","ج","ج","أ","س","أ","ن","د"],abbreviated:["جانـ","فيفـ","مارس","أفريل","مايـ","جوانـ","جويـ","أوت","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},Vv={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},Hv={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},Iv={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},Fv={ordinalNumber:e=>String(e),era:u({values:zv,defaultWidth:"wide"}),quarter:u({values:_v,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:u({values:Ov,defaultWidth:"wide"}),day:u({values:Vv,defaultWidth:"wide"}),dayPeriod:u({values:Hv,defaultWidth:"wide",formattingValues:Iv,defaultFormattingWidth:"wide"})},Av=/^(\d+)(th|st|nd|rd)?/i,Lv=/\d+/i,Xv={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},Rv={any:[/^قبل/i,/^بعد/i]},Yv={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},qv={any:[/1/i,/2/i,/3/i,/4/i]},Gv={narrow:/^[جفمأسند]/i,abbreviated:/^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i},Qv={narrow:[/^ج/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ج/i,/^ج/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^جان/i,/^فيف/i,/^مار/i,/^أفر/i,/^ماي/i,/^جوا/i,/^جوي/i,/^أوت/i,/^سبت/i,/^أكت/i,/^نوف/i,/^ديس/i]},Kv={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},Jv={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},Bv={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},Uv={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}},Zv={ordinalNumber:I({matchPattern:Av,parsePattern:Lv,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:Xv,defaultMatchWidth:"wide",parsePatterns:Rv,defaultParseWidth:"any"}),quarter:d({matchPatterns:Yv,defaultMatchWidth:"wide",parsePatterns:qv,defaultParseWidth:"any",valueCallback:e=>Number(e)+1}),month:d({matchPatterns:Gv,defaultMatchWidth:"wide",parsePatterns:Qv,defaultParseWidth:"any"}),day:d({matchPatterns:Kv,defaultMatchWidth:"wide",parsePatterns:Jv,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:Bv,defaultMatchWidth:"any",parsePatterns:Uv,defaultParseWidth:"any"})},bs={code:"ar-DZ",formatDistance:jv,formatLong:Ev,formatRelative:Cv,localize:Fv,match:Zv,options:{weekStartsOn:0,firstWeekContainsDate:1}},ey=Object.freeze(Object.defineProperty({__proto__:null,arDZ:bs,default:bs},Symbol.toStringTag,{value:"Module"})),ty={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من ثانيتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية",two:"ثانيتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نص دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقايق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة",two:"دقيقتين",threeToTen:"{{count}} دقايق",other:"{{count}} دقيقة"},aboutXHours:{one:"حوالي ساعة",two:"حوالي ساعتين",threeToTen:"حوالي {{count}} ساعات",other:"حوالي {{count}} ساعة"},xHours:{one:"ساعة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"حوالي أسبوع",two:"حوالي أسبوعين",threeToTen:"حوالي {{count}} أسابيع",other:"حوالي {{count}} أسبوع"},xWeeks:{one:"أسبوع",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"حوالي شهر",two:"حوالي شهرين",threeToTen:"حوالي {{count}} أشهر",other:"حوالي {{count}} شهر"},xMonths:{one:"شهر",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"حوالي سنة",two:"حوالي سنتين",threeToTen:"حوالي {{count}} سنين",other:"حوالي {{count}} سنة"},xYears:{one:"عام",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من سنة",two:"أكثر من سنتين",threeToTen:"أكثر من {{count}} سنين",other:"أكثر من {{count}} سنة"},almostXYears:{one:"عام تقريبًا",two:"عامين تقريبًا",threeToTen:"{{count}} أعوام تقريبًا",other:"{{count}} عام تقريبًا"}},ay=(e,a,t)=>{let n;const r=ty[e];return typeof r=="string"?n=r:a===1?n=r.one:a===2?n=r.two:a<=10?n=r.threeToTen.replace("{{count}}",String(a)):n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?`في خلال ${n}`:`منذ ${n}`:n},ny={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"dd/MMM/y",short:"d/MM/y"},ry={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},iy={full:"{{date}} 'الساعة' {{time}}",long:"{{date}} 'الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},oy={date:m({formats:ny,defaultWidth:"full"}),time:m({formats:ry,defaultWidth:"full"}),dateTime:m({formats:iy,defaultWidth:"full"})},sy={lastWeek:"eeee 'اللي جاي الساعة' p",yesterday:"'إمبارح الساعة' p",today:"'النهاردة الساعة' p",tomorrow:"'بكرة الساعة' p",nextWeek:"eeee 'الساعة' p",other:"P"},uy=(e,a,t,n)=>sy[e],dy={narrow:["ق","ب"],abbreviated:["ق.م","ب.م"],wide:["قبل الميلاد","بعد الميلاد"]},cy={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},ly={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},my={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},hy={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهراً",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهراً",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءً",night:"ليلاً"}},fy={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهراً",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",morning:"في الصباح",noon:"ظهراً",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"}},gy={ordinalNumber:(e,a)=>String(e),era:u({values:dy,defaultWidth:"wide"}),quarter:u({values:cy,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:ly,defaultWidth:"wide"}),day:u({values:my,defaultWidth:"wide"}),dayPeriod:u({values:hy,defaultWidth:"wide",formattingValues:fy,defaultFormattingWidth:"wide"})},py=/^(\d+)/,by=/\d+/i,vy={narrow:/^(ق|ب)/g,abbreviated:/^(ق.م|ب.م)/g,wide:/^(قبل الميلاد|بعد الميلاد)/g},yy={any:[/^ق/g,/^ب/g]},wy={narrow:/^[1234]/,abbreviated:/^ر[1234]/,wide:/^الربع (الأول|الثاني|الثالث|الرابع)/},Py={wide:[/الربع الأول/,/الربع الثاني/,/الربع الثالث/,/الربع الرابع/],any:[/1/,/2/,/3/,/4/]},ky={narrow:/^(ي|ف|م|أ|س|ن|د)/,abbreviated:/^(ينا|فبر|مارس|أبريل|مايو|يونـ|يولـ|أغسـ|سبتـ|أكتـ|نوفـ|ديسـ)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},My={narrow:[/^ي/,/^ف/,/^م/,/^أ/,/^م/,/^ي/,/^ي/,/^أ/,/^س/,/^أ/,/^ن/,/^د/],any:[/^ينا/,/^فبر/,/^مارس/,/^أبريل/,/^مايو/,/^يون/,/^يول/,/^أغس/,/^سبت/,/^أكت/,/^نوف/,/^ديس/]},$y={narrow:/^(ح|ن|ث|ر|خ|ج|س)/,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/},Wy={narrow:[/^ح/,/^ن/,/^ث/,/^ر/,/^خ/,/^ج/,/^س/],any:[/أحد/,/اثنين/,/ثلاثاء/,/أربعاء/,/خميس/,/جمعة/,/سبت/]},xy={narrow:/^(ص|م|ن|ظ|في الصباح|بعد الظهر|في المساء|في الليل)/,abbreviated:/^(ص|م|نصف الليل|ظهراً|في الصباح|بعد الظهر|في المساء|في الليل)/,wide:/^(ص|م|نصف الليل|في الصباح|ظهراً|بعد الظهر|في المساء|في الليل)/,any:/^(ص|م|صباح|ظهر|مساء|ليل)/},jy={any:{am:/^ص/,pm:/^م/,midnight:/^ن/,noon:/^ظ/,morning:/^ص/,afternoon:/^بعد/,evening:/^م/,night:/^ل/}},Sy={ordinalNumber:I({matchPattern:py,parsePattern:by,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:vy,defaultMatchWidth:"wide",parsePatterns:yy,defaultParseWidth:"any"}),quarter:d({matchPatterns:wy,defaultMatchWidth:"wide",parsePatterns:Py,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:ky,defaultMatchWidth:"wide",parsePatterns:My,defaultParseWidth:"any"}),day:d({matchPatterns:$y,defaultMatchWidth:"wide",parsePatterns:Wy,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:xy,defaultMatchWidth:"any",parsePatterns:jy,defaultParseWidth:"any"})},vs={code:"ar-EG",formatDistance:ay,formatLong:oy,formatRelative:uy,localize:gy,match:Sy,options:{weekStartsOn:0,firstWeekContainsDate:1}},Ty=Object.freeze(Object.defineProperty({__proto__:null,arEG:vs,default:vs},Symbol.toStringTag,{value:"Module"})),Dy={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},Ey=(e,a,t)=>{t=t||{};const n=Dy[e];let r;return typeof n=="string"?r=n:a===1?r=n.one:a===2?r=n.two:a<=10?r=n.threeToTen.replace("{{count}}",String(a)):r=n.other.replace("{{count}}",String(a)),t.addSuffix?t.comparison&&t.comparison>0?"في خلال "+r:"منذ "+r:r},Ny={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Cy={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},zy={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_y={date:m({formats:Ny,defaultWidth:"full"}),time:m({formats:Cy,defaultWidth:"full"}),dateTime:m({formats:zy,defaultWidth:"full"})},Oy={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},Vy=(e,a,t,n)=>Oy[e],Hy={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},Iy={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},Fy={narrow:["ي","ف","م","أ","م","ي","ي","غ","ش","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","ماي","يونـ","يولـ","غشت","شتنـ","أكتـ","نونـ","دجنـ"],wide:["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر"]},Ay={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},Ly={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},Xy={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},Ry={ordinalNumber:e=>String(e),era:u({values:Hy,defaultWidth:"wide"}),quarter:u({values:Iy,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:u({values:Fy,defaultWidth:"wide"}),day:u({values:Ay,defaultWidth:"wide"}),dayPeriod:u({values:Ly,defaultWidth:"wide",formattingValues:Xy,defaultFormattingWidth:"wide"})},Yy=/^(\d+)(th|st|nd|rd)?/i,qy=/\d+/i,Gy={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},Qy={any:[/^قبل/i,/^بعد/i]},Ky={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},Jy={any:[/1/i,/2/i,/3/i,/4/i]},By={narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i},Uy={narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^غ/i,/^ش/i,/^أ/i,/^ن/i,/^د/i],any:[/^ين/i,/^فب/i,/^مار/i,/^أب/i,/^ماي/i,/^يون/i,/^يول/i,/^غشت/i,/^ش/i,/^أك/i,/^ن/i,/^د/i]},Zy={narrow:/^[حنثرخجس]/i,short:/^(أحد|إثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|إثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الإثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},ew={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الإثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^إث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},tw={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},aw={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}},nw={ordinalNumber:I({matchPattern:Yy,parsePattern:qy,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:Gy,defaultMatchWidth:"wide",parsePatterns:Qy,defaultParseWidth:"any"}),quarter:d({matchPatterns:Ky,defaultMatchWidth:"wide",parsePatterns:Jy,defaultParseWidth:"any",valueCallback:e=>Number(e)+1}),month:d({matchPatterns:By,defaultMatchWidth:"wide",parsePatterns:Uy,defaultParseWidth:"any"}),day:d({matchPatterns:Zy,defaultMatchWidth:"wide",parsePatterns:ew,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:tw,defaultMatchWidth:"any",parsePatterns:aw,defaultParseWidth:"any"})},ys={code:"ar-MA",formatDistance:Ey,formatLong:_y,formatRelative:Vy,localize:Ry,match:nw,options:{weekStartsOn:1,firstWeekContainsDate:1}},rw=Object.freeze(Object.defineProperty({__proto__:null,arMA:ys,default:ys},Symbol.toStringTag,{value:"Module"})),iw={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},ow=(e,a,t)=>{let n;const r=iw[e];return typeof r=="string"?n=r:a===1?n=r.one:a===2?n=r.two:a<=10?n=r.threeToTen.replace("{{count}}",String(a)):n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"في خلال "+n:"منذ "+n:n},sw={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},uw={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dw={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cw={date:m({formats:sw,defaultWidth:"full"}),time:m({formats:uw,defaultWidth:"full"}),dateTime:m({formats:dw,defaultWidth:"full"})},lw={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},mw=(e,a,t,n)=>lw[e],hw={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},fw={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},gw={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},pw={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},bw={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},vw={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},yw={ordinalNumber:e=>String(e),era:u({values:hw,defaultWidth:"wide"}),quarter:u({values:fw,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:gw,defaultWidth:"wide"}),day:u({values:pw,defaultWidth:"wide"}),dayPeriod:u({values:bw,defaultWidth:"wide",formattingValues:vw,defaultFormattingWidth:"wide"})},ww=/^(\d+)(th|st|nd|rd)?/i,Pw=/\d+/i,kw={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},Mw={any:[/^قبل/i,/^بعد/i]},$w={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},Ww={any:[/1/i,/2/i,/3/i,/4/i]},xw={narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i},jw={narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^ين/i,/^ف/i,/^مار/i,/^أب/i,/^ماي/i,/^يون/i,/^يول/i,/^أغ/i,/^س/i,/^أك/i,/^ن/i,/^د/i]},Sw={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},Tw={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},Dw={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},Ew={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}},Nw={ordinalNumber:I({matchPattern:ww,parsePattern:Pw,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:kw,defaultMatchWidth:"wide",parsePatterns:Mw,defaultParseWidth:"any"}),quarter:d({matchPatterns:$w,defaultMatchWidth:"wide",parsePatterns:Ww,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:xw,defaultMatchWidth:"wide",parsePatterns:jw,defaultParseWidth:"any"}),day:d({matchPatterns:Sw,defaultMatchWidth:"wide",parsePatterns:Tw,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:Dw,defaultMatchWidth:"any",parsePatterns:Ew,defaultParseWidth:"any"})},ws={code:"ar-SA",formatDistance:ow,formatLong:cw,formatRelative:mw,localize:yw,match:Nw,options:{weekStartsOn:0,firstWeekContainsDate:1}},Cw=Object.freeze(Object.defineProperty({__proto__:null,arSA:ws,default:ws},Symbol.toStringTag,{value:"Module"})),zw={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من زوز ثواني",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية",two:"زوز ثواني",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نص دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقايق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة",two:"دقيقتين",threeToTen:"{{count}} دقايق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة تقريب",two:"ساعتين تقريب",threeToTen:"{{count}} سوايع تقريب",other:"{{count}} ساعة تقريب"},xHours:{one:"ساعة",two:"ساعتين",threeToTen:"{{count}} سوايع",other:"{{count}} ساعة"},xDays:{one:"نهار",two:"نهارين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"جمعة تقريب",two:"جمعتين تقريب",threeToTen:"{{count}} جماع تقريب",other:"{{count}} جمعة تقريب"},xWeeks:{one:"جمعة",two:"جمعتين",threeToTen:"{{count}} جماع",other:"{{count}} جمعة"},aboutXMonths:{one:"شهر تقريب",two:"شهرين تقريب",threeToTen:"{{count}} أشهرة تقريب",other:"{{count}} شهر تقريب"},xMonths:{one:"شهر",two:"شهرين",threeToTen:"{{count}} أشهرة",other:"{{count}} شهر"},aboutXYears:{one:"عام تقريب",two:"عامين تقريب",threeToTen:"{{count}} أعوام تقريب",other:"{{count}} عام تقريب"},xYears:{one:"عام",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام تقريب",two:"عامين تقريب",threeToTen:"{{count}} أعوام تقريب",other:"{{count}} عام تقريب"}},_w=(e,a,t)=>{const n=zw[e];let r;return typeof n=="string"?r=n:a===1?r=n.one:a===2?r=n.two:a<=10?r=n.threeToTen.replace("{{count}}",String(a)):r=n.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"في "+r:"عندو "+r:r},Ow={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},Vw={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},Hw={full:"{{date}} 'مع' {{time}}",long:"{{date}} 'مع' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Iw={date:m({formats:Ow,defaultWidth:"full"}),time:m({formats:Vw,defaultWidth:"full"}),dateTime:m({formats:Hw,defaultWidth:"full"})},Fw={lastWeek:"eeee 'إلي فات مع' p",yesterday:"'البارح مع' p",today:"'اليوم مع' p",tomorrow:"'غدوة مع' p",nextWeek:"eeee 'الجمعة الجاية مع' p 'نهار'",other:"P"},Aw=e=>Fw[e],Lw={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},Xw={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},Rw={narrow:["د","ن","أ","س","أ","ج","ج","م","أ","م","ف","ج"],abbreviated:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},Yw={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},qw={narrow:{am:"ص",pm:"ع",morning:"الصباح",noon:"القايلة",afternoon:"بعد القايلة",evening:"العشية",night:"الليل",midnight:"نص الليل"},abbreviated:{am:"ص",pm:"ع",morning:"الصباح",noon:"القايلة",afternoon:"بعد القايلة",evening:"العشية",night:"الليل",midnight:"نص الليل"},wide:{am:"ص",pm:"ع",morning:"الصباح",noon:"القايلة",afternoon:"بعد القايلة",evening:"العشية",night:"الليل",midnight:"نص الليل"}},Gw={narrow:{am:"ص",pm:"ع",morning:"في الصباح",noon:"في القايلة",afternoon:"بعد القايلة",evening:"في العشية",night:"في الليل",midnight:"نص الليل"},abbreviated:{am:"ص",pm:"ع",morning:"في الصباح",noon:"في القايلة",afternoon:"بعد القايلة",evening:"في العشية",night:"في الليل",midnight:"نص الليل"},wide:{am:"ص",pm:"ع",morning:"في الصباح",noon:"في القايلة",afternoon:"بعد القايلة",evening:"في العشية",night:"في الليل",midnight:"نص الليل"}},Qw={ordinalNumber:e=>String(e),era:u({values:Lw,defaultWidth:"wide"}),quarter:u({values:Xw,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:Rw,defaultWidth:"wide"}),day:u({values:Yw,defaultWidth:"wide"}),dayPeriod:u({values:qw,defaultWidth:"wide",formattingValues:Gw,defaultFormattingWidth:"wide"})},Kw=/^(\d+)(th|st|nd|rd)?/i,Jw=/\d+/i,Bw={narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},Uw={any:[/قبل/,/بعد/]},Zw={narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},eP={any:[/1/i,/2/i,/3/i,/4/i]},tP={narrow:/^[جفمأسند]/,abbreviated:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},aP={narrow:[/^ج/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ج/i,/^ج/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^جانفي/i,/^فيفري/i,/^مارس/i,/^أفريل/i,/^ماي/i,/^جوان/i,/^جويلية/i,/^أوت/i,/^سبتمبر/i,/^أكتوبر/i,/^نوفمبر/i,/^ديسمبر/i]},nP={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},rP={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},iP={narrow:/^(ص|ع|ن ل|ل|(في|مع) (صباح|قايلة|عشية|ليل))/,any:/^([صع]|نص الليل|قايلة|(في|مع) (صباح|قايلة|عشية|ليل))/},oP={any:{am:/^ص/,pm:/^ع/,midnight:/نص الليل/,noon:/قايلة/,afternoon:/بعد القايلة/,morning:/صباح/,evening:/عشية/,night:/ليل/}},sP={ordinalNumber:I({matchPattern:Kw,parsePattern:Jw,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:Bw,defaultMatchWidth:"wide",parsePatterns:Uw,defaultParseWidth:"any"}),quarter:d({matchPatterns:Zw,defaultMatchWidth:"wide",parsePatterns:eP,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:tP,defaultMatchWidth:"wide",parsePatterns:aP,defaultParseWidth:"any"}),day:d({matchPatterns:nP,defaultMatchWidth:"wide",parsePatterns:rP,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:iP,defaultMatchWidth:"any",parsePatterns:oP,defaultParseWidth:"any"})},Ps={code:"ar-TN",formatDistance:_w,formatLong:Iw,formatRelative:Aw,localize:Qw,match:sP,options:{weekStartsOn:1,firstWeekContainsDate:1}},uP=Object.freeze(Object.defineProperty({__proto__:null,arTN:Ps,default:Ps},Symbol.toStringTag,{value:"Module"})),dP={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من ثانيتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانيتان",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتان",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريبا",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتان",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومان",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريبا",two:"أسبوعين تقريبا",threeToTen:"{{count}} أسابيع تقريبا",other:"{{count}} أسبوعا تقريبا"},xWeeks:{one:"أسبوع واحد",two:"أسبوعان",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوعا"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريبا",threeToTen:"{{count}} أشهر تقريبا",other:"{{count}} شهرا تقريباً"},xMonths:{one:"شهر واحد",two:"شهران",threeToTen:"{{count}} أشهر",other:"{{count}} شهرا"},aboutXYears:{one:"سنة واحدة تقريباً",two:"سنتين تقريبا",threeToTen:"{{count}} سنوات تقريباً",other:"{{count}} سنة تقريباً"},xYears:{one:"سنة واحد",two:"سنتان",threeToTen:"{{count}} سنوات",other:"{{count}} سنة"},overXYears:{one:"أكثر من سنة",two:"أكثر من سنتين",threeToTen:"أكثر من {{count}} سنوات",other:"أكثر من {{count}} سنة"},almostXYears:{one:"ما يقارب سنة واحدة",two:"ما يقارب سنتين",threeToTen:"ما يقارب {{count}} سنوات",other:"ما يقارب {{count}} سنة"}},cP=(e,a,t)=>{const n=dP[e];let r;return typeof n=="string"?r=n:a===1?r=n.one:a===2?r=n.two:a<=10?r=n.threeToTen.replace("{{count}}",String(a)):r=n.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"خلال "+r:"منذ "+r:r},lP={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},mP={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},hP={full:"{{date}} 'عند الساعة' {{time}}",long:"{{date}} 'عند الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},fP={date:m({formats:lP,defaultWidth:"full"}),time:m({formats:mP,defaultWidth:"full"}),dateTime:m({formats:hP,defaultWidth:"full"})},gP={lastWeek:"eeee 'الماضي عند الساعة' p",yesterday:"'الأمس عند الساعة' p",today:"'اليوم عند الساعة' p",tomorrow:"'غدا عند الساعة' p",nextWeek:"eeee 'القادم عند الساعة' p",other:"P"},pP=e=>gP[e],bP={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},vP={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},yP={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},wP={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},PP={narrow:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"}},kP={narrow:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"}},MP={ordinalNumber:e=>String(e),era:u({values:bP,defaultWidth:"wide"}),quarter:u({values:vP,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:yP,defaultWidth:"wide"}),day:u({values:wP,defaultWidth:"wide"}),dayPeriod:u({values:PP,defaultWidth:"wide",formattingValues:kP,defaultFormattingWidth:"wide"})},$P=/^(\d+)(th|st|nd|rd)?/i,WP=/\d+/i,xP={narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},jP={any:[/قبل/,/بعد/]},SP={narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},TP={any:[/1/i,/2/i,/3/i,/4/i]},DP={narrow:/^[أيفمسند]/,abbreviated:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},EP={narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^يناير/i,/^فبراير/i,/^مارس/i,/^أبريل/i,/^مايو/i,/^يونيو/i,/^يوليو/i,/^أغسطس/i,/^سبتمبر/i,/^أكتوبر/i,/^نوفمبر/i,/^ديسمبر/i]},NP={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},CP={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},zP={narrow:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/,any:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/},_P={any:{am:/^ص/,pm:/^م/,midnight:/منتصف الليل/,noon:/الظهر/,afternoon:/بعد الظهر/,morning:/في الصباح/,evening:/في المساء/,night:/في الليل/}},OP={ordinalNumber:I({matchPattern:$P,parsePattern:WP,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:xP,defaultMatchWidth:"wide",parsePatterns:jP,defaultParseWidth:"any"}),quarter:d({matchPatterns:SP,defaultMatchWidth:"wide",parsePatterns:TP,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:DP,defaultMatchWidth:"wide",parsePatterns:EP,defaultParseWidth:"any"}),day:d({matchPatterns:NP,defaultMatchWidth:"wide",parsePatterns:CP,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:zP,defaultMatchWidth:"any",parsePatterns:_P,defaultParseWidth:"any"})},ks={code:"ar",formatDistance:cP,formatLong:fP,formatRelative:pP,localize:MP,match:OP,options:{weekStartsOn:6,firstWeekContainsDate:1}},VP=Object.freeze(Object.defineProperty({__proto__:null,ar:ks,default:ks},Symbol.toStringTag,{value:"Module"})),HP={lessThanXSeconds:{one:"bir saniyədən az",other:"{{count}} bir saniyədən az"},xSeconds:{one:"1 saniyə",other:"{{count}} saniyə"},halfAMinute:"yarım dəqiqə",lessThanXMinutes:{one:"bir dəqiqədən az",other:"{{count}} bir dəqiqədən az"},xMinutes:{one:"bir dəqiqə",other:"{{count}} dəqiqə"},aboutXHours:{one:"təxminən 1 saat",other:"təxminən {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"təxminən 1 həftə",other:"təxminən {{count}} həftə"},xWeeks:{one:"1 həftə",other:"{{count}} həftə"},aboutXMonths:{one:"təxminən 1 ay",other:"təxminən {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"təxminən 1 il",other:"təxminən {{count}} il"},xYears:{one:"1 il",other:"{{count}} il"},overXYears:{one:"1 ildən çox",other:"{{count}} ildən çox"},almostXYears:{one:"demək olar ki 1 il",other:"demək olar ki {{count}} il"}},IP=(e,a,t)=>{let n;const r=HP[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+" sonra":n+" əvvəl":n},FP={full:"EEEE, do MMMM y 'il'",long:"do MMMM y 'il'",medium:"d MMM y 'il'",short:"dd.MM.yyyy"},AP={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},LP={full:"{{date}} {{time}} - 'də'",long:"{{date}} {{time}} - 'də'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},XP={date:m({formats:FP,defaultWidth:"full"}),time:m({formats:AP,defaultWidth:"full"}),dateTime:m({formats:LP,defaultWidth:"full"})},RP={lastWeek:"'sonuncu' eeee p -'də'",yesterday:"'dünən' p -'də'",today:"'bugün' p -'də'",tomorrow:"'sabah' p -'də'",nextWeek:"eeee p -'də'",other:"P"},YP=(e,a,t,n)=>RP[e],qP={narrow:["e.ə","b.e"],abbreviated:["e.ə","b.e"],wide:["eramızdan əvvəl","bizim era"]},GP={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ci kvartal","2ci kvartal","3cü kvartal","4cü kvartal"]},QP={narrow:["Y","F","M","A","M","İ","İ","A","S","O","N","D"],abbreviated:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],wide:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"]},KP={narrow:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],short:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],abbreviated:["Baz","Baz.e","Çər.a","Çər","Cüm.a","Cüm","Şə"],wide:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"]},JP={narrow:{am:"am",pm:"pm",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},BP={narrow:{am:"a",pm:"p",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},qa={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},UP=e=>{if(e===0)return e+"-ıncı";const a=e%10,t=e%100-a,n=e>=100?100:null;return qa[a]?qa[a]:qa[t]?qa[t]:n!==null?qa[n]:""},ZP={ordinalNumber:(e,a)=>{const t=Number(e),n=UP(t);return t+n},era:u({values:qP,defaultWidth:"wide"}),quarter:u({values:GP,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:QP,defaultWidth:"wide"}),day:u({values:KP,defaultWidth:"wide"}),dayPeriod:u({values:JP,defaultWidth:"wide",formattingValues:BP,defaultFormattingWidth:"wide"})},e1=/^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i,t1=/\d+/i,a1={narrow:/^(b|a)$/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i,wide:/^(bizim eradan əvvəl|bizim era)$/i},n1={any:[/^b$/i,/^(a|c)$/i]},r1={narrow:/^[1234]$/i,abbreviated:/^K[1234]$/i,wide:/^[1234](ci)? kvartal$/i},i1={any:[/1/i,/2/i,/3/i,/4/i]},o1={narrow:/^[(?-i)yfmaisond]$/i,abbreviated:/^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i,wide:/^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i},s1={narrow:[/^[(?-i)y]$/i,/^[(?-i)f]$/i,/^[(?-i)m]$/i,/^[(?-i)a]$/i,/^[(?-i)m]$/i,/^[(?-i)i]$/i,/^[(?-i)i]$/i,/^[(?-i)a]$/i,/^[(?-i)s]$/i,/^[(?-i)o]$/i,/^[(?-i)n]$/i,/^[(?-i)d]$/i],abbreviated:[/^Yan$/i,/^Fev$/i,/^Mar$/i,/^Apr$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avg$/i,/^Sen$/i,/^Okt$/i,/^Noy$/i,/^Dek$/i],wide:[/^Yanvar$/i,/^Fevral$/i,/^Mart$/i,/^Aprel$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avgust$/i,/^Sentyabr$/i,/^Oktyabr$/i,/^Noyabr$/i,/^Dekabr$/i]},u1={narrow:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,short:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,abbreviated:/^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i,wide:/^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i},d1={narrow:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i],abbreviated:[/^Baz$/i,/^Baz\.e$/i,/^Çər\.a$/i,/^Çər$/i,/^Cüm\.a$/i,/^Cüm$/i,/^Şə$/i],wide:[/^Bazar$/i,/^Bazar ertəsi$/i,/^Çərşənbə axşamı$/i,/^Çərşənbə$/i,/^Cümə axşamı$/i,/^Cümə$/i,/^Şənbə$/i],any:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i]},c1={narrow:/^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i,any:/^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i},l1={any:{am:/^a$/i,pm:/^p$/i,midnight:/^gecəyarı$/i,noon:/^gün$/i,morning:/səhər$/i,afternoon:/gündüz$/i,evening:/axşam$/i,night:/gecə$/i}},m1={ordinalNumber:I({matchPattern:e1,parsePattern:t1,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:a1,defaultMatchWidth:"wide",parsePatterns:n1,defaultParseWidth:"any"}),quarter:d({matchPatterns:r1,defaultMatchWidth:"wide",parsePatterns:i1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:o1,defaultMatchWidth:"wide",parsePatterns:s1,defaultParseWidth:"narrow"}),day:d({matchPatterns:u1,defaultMatchWidth:"wide",parsePatterns:d1,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:c1,defaultMatchWidth:"any",parsePatterns:l1,defaultParseWidth:"any"})},Ms={code:"az",formatDistance:IP,formatLong:XP,formatRelative:YP,localize:ZP,match:m1,options:{weekStartsOn:1,firstWeekContainsDate:1}},h1=Object.freeze(Object.defineProperty({__proto__:null,az:Ms,default:Ms},Symbol.toStringTag,{value:"Module"}));function Ga(e,a){if(e.one!==void 0&&a===1)return e.one;const t=a%10,n=a%100;return t===1&&n!==11?e.singularNominative.replace("{{count}}",String(a)):t>=2&&t<=4&&(n<10||n>20)?e.singularGenitive.replace("{{count}}",String(a)):e.pluralGenitive.replace("{{count}}",String(a))}function Ge(e){return(a,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?e.future?Ga(e.future,a):"праз "+Ga(e.regular,a):e.past?Ga(e.past,a):Ga(e.regular,a)+" таму":Ga(e.regular,a)}const f1=(e,a)=>a&&a.addSuffix?a.comparison&&a.comparison>0?"праз паўхвіліны":"паўхвіліны таму":"паўхвіліны",g1={lessThanXSeconds:Ge({regular:{one:"менш за секунду",singularNominative:"менш за {{count}} секунду",singularGenitive:"менш за {{count}} секунды",pluralGenitive:"менш за {{count}} секунд"},future:{one:"менш, чым праз секунду",singularNominative:"менш, чым праз {{count}} секунду",singularGenitive:"менш, чым праз {{count}} секунды",pluralGenitive:"менш, чым праз {{count}} секунд"}}),xSeconds:Ge({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду таму",singularGenitive:"{{count}} секунды таму",pluralGenitive:"{{count}} секунд таму"},future:{singularNominative:"праз {{count}} секунду",singularGenitive:"праз {{count}} секунды",pluralGenitive:"праз {{count}} секунд"}}),halfAMinute:f1,lessThanXMinutes:Ge({regular:{one:"менш за хвіліну",singularNominative:"менш за {{count}} хвіліну",singularGenitive:"менш за {{count}} хвіліны",pluralGenitive:"менш за {{count}} хвілін"},future:{one:"менш, чым праз хвіліну",singularNominative:"менш, чым праз {{count}} хвіліну",singularGenitive:"менш, чым праз {{count}} хвіліны",pluralGenitive:"менш, чым праз {{count}} хвілін"}}),xMinutes:Ge({regular:{singularNominative:"{{count}} хвіліна",singularGenitive:"{{count}} хвіліны",pluralGenitive:"{{count}} хвілін"},past:{singularNominative:"{{count}} хвіліну таму",singularGenitive:"{{count}} хвіліны таму",pluralGenitive:"{{count}} хвілін таму"},future:{singularNominative:"праз {{count}} хвіліну",singularGenitive:"праз {{count}} хвіліны",pluralGenitive:"праз {{count}} хвілін"}}),aboutXHours:Ge({regular:{singularNominative:"каля {{count}} гадзіны",singularGenitive:"каля {{count}} гадзін",pluralGenitive:"каля {{count}} гадзін"},future:{singularNominative:"прыблізна праз {{count}} гадзіну",singularGenitive:"прыблізна праз {{count}} гадзіны",pluralGenitive:"прыблізна праз {{count}} гадзін"}}),xHours:Ge({regular:{singularNominative:"{{count}} гадзіна",singularGenitive:"{{count}} гадзіны",pluralGenitive:"{{count}} гадзін"},past:{singularNominative:"{{count}} гадзіну таму",singularGenitive:"{{count}} гадзіны таму",pluralGenitive:"{{count}} гадзін таму"},future:{singularNominative:"праз {{count}} гадзіну",singularGenitive:"праз {{count}} гадзіны",pluralGenitive:"праз {{count}} гадзін"}}),xDays:Ge({regular:{singularNominative:"{{count}} дзень",singularGenitive:"{{count}} дні",pluralGenitive:"{{count}} дзён"}}),aboutXWeeks:Ge({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xWeeks:Ge({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXMonths:Ge({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xMonths:Ge({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXYears:Ge({regular:{singularNominative:"каля {{count}} года",singularGenitive:"каля {{count}} гадоў",pluralGenitive:"каля {{count}} гадоў"},future:{singularNominative:"прыблізна праз {{count}} год",singularGenitive:"прыблізна праз {{count}} гады",pluralGenitive:"прыблізна праз {{count}} гадоў"}}),xYears:Ge({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} гады",pluralGenitive:"{{count}} гадоў"}}),overXYears:Ge({regular:{singularNominative:"больш за {{count}} год",singularGenitive:"больш за {{count}} гады",pluralGenitive:"больш за {{count}} гадоў"},future:{singularNominative:"больш, чым праз {{count}} год",singularGenitive:"больш, чым праз {{count}} гады",pluralGenitive:"больш, чым праз {{count}} гадоў"}}),almostXYears:Ge({regular:{singularNominative:"амаль {{count}} год",singularGenitive:"амаль {{count}} гады",pluralGenitive:"амаль {{count}} гадоў"},future:{singularNominative:"амаль праз {{count}} год",singularGenitive:"амаль праз {{count}} гады",pluralGenitive:"амаль праз {{count}} гадоў"}})},p1=(e,a,t)=>(t=t||{},g1[e](a,t)),b1={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},v1={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},y1={any:"{{date}}, {{time}}"},w1={date:m({formats:b1,defaultWidth:"full"}),time:m({formats:v1,defaultWidth:"full"}),dateTime:m({formats:y1,defaultWidth:"any"})},kr=["нядзелю","панядзелак","аўторак","сераду","чацьвер","пятніцу","суботу"];function P1(e){const a=kr[e];switch(e){case 0:case 3:case 5:case 6:return"'у мінулую "+a+" а' p";case 1:case 2:case 4:return"'у мінулы "+a+" а' p"}}function $s(e){return"'у "+kr[e]+" а' p"}function k1(e){const a=kr[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступную "+a+" а' p";case 1:case 2:case 4:return"'у наступны "+a+" а' p"}}const M1={lastWeek:(e,a,t)=>{const n=he(e),r=n.getDay();return ze(n,a,t)?$s(r):P1(r)},yesterday:"'учора а' p",today:"'сёньня а' p",tomorrow:"'заўтра а' p",nextWeek:(e,a,t)=>{const n=he(e),r=n.getDay();return ze(n,a,t)?$s(r):k1(r)},other:"P"},$1=(e,a,t,n)=>{const r=M1[e];return typeof r=="function"?r(a,t,n):r},W1={narrow:["да н.э.","н.э."],abbreviated:["да н. э.","н. э."],wide:["да нашай эры","нашай эры"]},x1={narrow:["1","2","3","4"],abbreviated:["1-ы кв.","2-і кв.","3-і кв.","4-ы кв."],wide:["1-ы квартал","2-і квартал","3-і квартал","4-ы квартал"]},j1={narrow:["С","Л","С","К","Т","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","трав.","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","сьнеж."],wide:["студзень","люты","сакавік","красавік","травень","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","сьнежань"]},S1={narrow:["С","Л","С","К","Т","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","трав.","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","сьнеж."],wide:["студзеня","лютага","сакавіка","красавіка","траўня","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","сьнежня"]},T1={narrow:["Н","П","А","С","Ч","П","С"],short:["нд","пн","аў","ср","чц","пт","сб"],abbreviated:["нядз","пан","аўт","сер","чаць","пят","суб"],wide:["нядзеля","панядзелак","аўторак","серада","чацьвер","пятніца","субота"]},D1={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніца",afternoon:"дзень",evening:"вечар",night:"ноч"}},E1={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніцы",afternoon:"дня",evening:"вечара",night:"ночы"}},N1={ordinalNumber:(e,a)=>{const t=String(a==null?void 0:a.unit),n=Number(e);let r;return t==="date"?r="-га":t==="hour"||t==="minute"||t==="second"?r="-я":r=(n%10===2||n%10===3)&&n%100!==12&&n%100!==13?"-і":"-ы",n+r},era:u({values:W1,defaultWidth:"wide"}),quarter:u({values:x1,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:j1,defaultWidth:"wide",formattingValues:S1,defaultFormattingWidth:"wide"}),day:u({values:T1,defaultWidth:"wide"}),dayPeriod:u({values:D1,defaultWidth:"any",formattingValues:E1,defaultFormattingWidth:"wide"})},C1=/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,z1=/\d+/i,_1={narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},O1={any:[/^д/i,/^н/i]},V1={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},H1={any:[/1/i,/2/i,/3/i,/4/i]},I1={narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|тр(ав)?|чэрв|ліп|жн|вер|кастр|ліст|сьнеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|тра(вень|ўня)|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|сьнеж(ань|ня))/i},F1={narrow:[/^с/i,/^л/i,/^с/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^ж/i,/^в/i,/^к/i,/^л/i,/^с/i],any:[/^ст/i,/^лю/i,/^са/i,/^кр/i,/^тр/i,/^ч/i,/^ліп/i,/^ж/i,/^в/i,/^ка/i,/^ліс/i,/^сн/i]},A1={narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцьв|чаць|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацьв(ер|ярга)|пятніц[аы]|субот[аы])/i},L1={narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},X1={narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},R1={any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},Y1={ordinalNumber:I({matchPattern:C1,parsePattern:z1,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:_1,defaultMatchWidth:"wide",parsePatterns:O1,defaultParseWidth:"any"}),quarter:d({matchPatterns:V1,defaultMatchWidth:"wide",parsePatterns:H1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:I1,defaultMatchWidth:"wide",parsePatterns:F1,defaultParseWidth:"any"}),day:d({matchPatterns:A1,defaultMatchWidth:"wide",parsePatterns:L1,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:X1,defaultMatchWidth:"wide",parsePatterns:R1,defaultParseWidth:"any"})},Ws={code:"be-tarask",formatDistance:p1,formatLong:w1,formatRelative:$1,localize:N1,match:Y1,options:{weekStartsOn:1,firstWeekContainsDate:1}},q1=Object.freeze(Object.defineProperty({__proto__:null,beTarask:Ws,default:Ws},Symbol.toStringTag,{value:"Module"}));function Qa(e,a){if(e.one!==void 0&&a===1)return e.one;const t=a%10,n=a%100;return t===1&&n!==11?e.singularNominative.replace("{{count}}",String(a)):t>=2&&t<=4&&(n<10||n>20)?e.singularGenitive.replace("{{count}}",String(a)):e.pluralGenitive.replace("{{count}}",String(a))}function Qe(e){return(a,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?e.future?Qa(e.future,a):"праз "+Qa(e.regular,a):e.past?Qa(e.past,a):Qa(e.regular,a)+" таму":Qa(e.regular,a)}const G1=(e,a)=>a&&a.addSuffix?a.comparison&&a.comparison>0?"праз паўхвіліны":"паўхвіліны таму":"паўхвіліны",Q1={lessThanXSeconds:Qe({regular:{one:"менш за секунду",singularNominative:"менш за {{count}} секунду",singularGenitive:"менш за {{count}} секунды",pluralGenitive:"менш за {{count}} секунд"},future:{one:"менш, чым праз секунду",singularNominative:"менш, чым праз {{count}} секунду",singularGenitive:"менш, чым праз {{count}} секунды",pluralGenitive:"менш, чым праз {{count}} секунд"}}),xSeconds:Qe({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду таму",singularGenitive:"{{count}} секунды таму",pluralGenitive:"{{count}} секунд таму"},future:{singularNominative:"праз {{count}} секунду",singularGenitive:"праз {{count}} секунды",pluralGenitive:"праз {{count}} секунд"}}),halfAMinute:G1,lessThanXMinutes:Qe({regular:{one:"менш за хвіліну",singularNominative:"менш за {{count}} хвіліну",singularGenitive:"менш за {{count}} хвіліны",pluralGenitive:"менш за {{count}} хвілін"},future:{one:"менш, чым праз хвіліну",singularNominative:"менш, чым праз {{count}} хвіліну",singularGenitive:"менш, чым праз {{count}} хвіліны",pluralGenitive:"менш, чым праз {{count}} хвілін"}}),xMinutes:Qe({regular:{singularNominative:"{{count}} хвіліна",singularGenitive:"{{count}} хвіліны",pluralGenitive:"{{count}} хвілін"},past:{singularNominative:"{{count}} хвіліну таму",singularGenitive:"{{count}} хвіліны таму",pluralGenitive:"{{count}} хвілін таму"},future:{singularNominative:"праз {{count}} хвіліну",singularGenitive:"праз {{count}} хвіліны",pluralGenitive:"праз {{count}} хвілін"}}),aboutXHours:Qe({regular:{singularNominative:"каля {{count}} гадзіны",singularGenitive:"каля {{count}} гадзін",pluralGenitive:"каля {{count}} гадзін"},future:{singularNominative:"прыблізна праз {{count}} гадзіну",singularGenitive:"прыблізна праз {{count}} гадзіны",pluralGenitive:"прыблізна праз {{count}} гадзін"}}),xHours:Qe({regular:{singularNominative:"{{count}} гадзіна",singularGenitive:"{{count}} гадзіны",pluralGenitive:"{{count}} гадзін"},past:{singularNominative:"{{count}} гадзіну таму",singularGenitive:"{{count}} гадзіны таму",pluralGenitive:"{{count}} гадзін таму"},future:{singularNominative:"праз {{count}} гадзіну",singularGenitive:"праз {{count}} гадзіны",pluralGenitive:"праз {{count}} гадзін"}}),xDays:Qe({regular:{singularNominative:"{{count}} дзень",singularGenitive:"{{count}} дні",pluralGenitive:"{{count}} дзён"}}),aboutXWeeks:Qe({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xWeeks:Qe({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXMonths:Qe({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xMonths:Qe({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXYears:Qe({regular:{singularNominative:"каля {{count}} года",singularGenitive:"каля {{count}} гадоў",pluralGenitive:"каля {{count}} гадоў"},future:{singularNominative:"прыблізна праз {{count}} год",singularGenitive:"прыблізна праз {{count}} гады",pluralGenitive:"прыблізна праз {{count}} гадоў"}}),xYears:Qe({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} гады",pluralGenitive:"{{count}} гадоў"}}),overXYears:Qe({regular:{singularNominative:"больш за {{count}} год",singularGenitive:"больш за {{count}} гады",pluralGenitive:"больш за {{count}} гадоў"},future:{singularNominative:"больш, чым праз {{count}} год",singularGenitive:"больш, чым праз {{count}} гады",pluralGenitive:"больш, чым праз {{count}} гадоў"}}),almostXYears:Qe({regular:{singularNominative:"амаль {{count}} год",singularGenitive:"амаль {{count}} гады",pluralGenitive:"амаль {{count}} гадоў"},future:{singularNominative:"амаль праз {{count}} год",singularGenitive:"амаль праз {{count}} гады",pluralGenitive:"амаль праз {{count}} гадоў"}})},K1=(e,a,t)=>(t=t||{},Q1[e](a,t)),J1={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},B1={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},U1={any:"{{date}}, {{time}}"},Z1={date:m({formats:J1,defaultWidth:"full"}),time:m({formats:B1,defaultWidth:"full"}),dateTime:m({formats:U1,defaultWidth:"any"})},Mr=["нядзелю","панядзелак","аўторак","сераду","чацвер","пятніцу","суботу"];function ek(e){const a=Mr[e];switch(e){case 0:case 3:case 5:case 6:return"'у мінулую "+a+" а' p";case 1:case 2:case 4:return"'у мінулы "+a+" а' p"}}function xs(e){return"'у "+Mr[e]+" а' p"}function tk(e){const a=Mr[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступную "+a+" а' p";case 1:case 2:case 4:return"'у наступны "+a+" а' p"}}const ak={lastWeek:(e,a,t)=>{const n=he(e),r=n.getDay();return ze(n,a,t)?xs(r):ek(r)},yesterday:"'учора а' p",today:"'сёння а' p",tomorrow:"'заўтра а' p",nextWeek:(e,a,t)=>{const n=he(e),r=n.getDay();return ze(n,a,t)?xs(r):tk(r)},other:"P"},nk=(e,a,t,n)=>{const r=ak[e];return typeof r=="function"?r(a,t,n):r},rk={narrow:["да н.э.","н.э."],abbreviated:["да н. э.","н. э."],wide:["да нашай эры","нашай эры"]},ik={narrow:["1","2","3","4"],abbreviated:["1-ы кв.","2-і кв.","3-і кв.","4-ы кв."],wide:["1-ы квартал","2-і квартал","3-і квартал","4-ы квартал"]},ok={narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","май","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},sk={narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","мая","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня"]},uk={narrow:["Н","П","А","С","Ч","П","С"],short:["нд","пн","аў","ср","чц","пт","сб"],abbreviated:["нядз","пан","аўт","сер","чац","пят","суб"],wide:["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},dk={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніца",afternoon:"дзень",evening:"вечар",night:"ноч"}},ck={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніцы",afternoon:"дня",evening:"вечара",night:"ночы"}},lk={ordinalNumber:(e,a)=>{const t=String(a==null?void 0:a.unit),n=Number(e);let r;return t==="date"?r="-га":t==="hour"||t==="minute"||t==="second"?r="-я":r=(n%10===2||n%10===3)&&n%100!==12&&n%100!==13?"-і":"-ы",n+r},era:u({values:rk,defaultWidth:"wide"}),quarter:u({values:ik,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:ok,defaultWidth:"wide",formattingValues:sk,defaultFormattingWidth:"wide"}),day:u({values:uk,defaultWidth:"wide"}),dayPeriod:u({values:dk,defaultWidth:"any",formattingValues:ck,defaultFormattingWidth:"wide"})},mk=/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,hk=/\d+/i,fk={narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},gk={any:[/^д/i,/^н/i]},pk={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},bk={any:[/1/i,/2/i,/3/i,/4/i]},vk={narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i},yk={narrow:[/^с/i,/^л/i,/^с/i,/^к/i,/^м/i,/^ч/i,/^л/i,/^ж/i,/^в/i,/^к/i,/^л/i,/^с/i],any:[/^ст/i,/^лю/i,/^са/i,/^кр/i,/^ма/i,/^ч/i,/^ліп/i,/^ж/i,/^в/i,/^ка/i,/^ліс/i,/^сн/i]},wk={narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i},Pk={narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},kk={narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},Mk={any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},$k={ordinalNumber:I({matchPattern:mk,parsePattern:hk,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:fk,defaultMatchWidth:"wide",parsePatterns:gk,defaultParseWidth:"any"}),quarter:d({matchPatterns:pk,defaultMatchWidth:"wide",parsePatterns:bk,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:vk,defaultMatchWidth:"wide",parsePatterns:yk,defaultParseWidth:"any"}),day:d({matchPatterns:wk,defaultMatchWidth:"wide",parsePatterns:Pk,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:kk,defaultMatchWidth:"wide",parsePatterns:Mk,defaultParseWidth:"any"})},js={code:"be",formatDistance:K1,formatLong:Z1,formatRelative:nk,localize:lk,match:$k,options:{weekStartsOn:1,firstWeekContainsDate:1}},Wk=Object.freeze(Object.defineProperty({__proto__:null,be:js,default:js},Symbol.toStringTag,{value:"Module"})),xk={lessThanXSeconds:{one:"по-малко от секунда",other:"по-малко от {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половин минута",lessThanXMinutes:{one:"по-малко от минута",other:"по-малко от {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"около час",other:"около {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дни"},aboutXWeeks:{one:"около седмица",other:"около {{count}} седмици"},xWeeks:{one:"1 седмица",other:"{{count}} седмици"},aboutXMonths:{one:"около месец",other:"около {{count}} месеца"},xMonths:{one:"1 месец",other:"{{count}} месеца"},aboutXYears:{one:"около година",other:"около {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"над година",other:"над {{count}} години"},almostXYears:{one:"почти година",other:"почти {{count}} години"}},jk=(e,a,t)=>{let n;const r=xk[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"след "+n:"преди "+n:n},Sk={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},Tk={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},Dk={any:"{{date}} {{time}}"},Ek={date:m({formats:Sk,defaultWidth:"full"}),time:m({formats:Tk,defaultWidth:"full"}),dateTime:m({formats:Dk,defaultWidth:"any"})},$r=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"];function Nk(e){const a=$r[e];switch(e){case 0:case 3:case 6:return"'миналата "+a+" в' p";case 1:case 2:case 4:case 5:return"'миналия "+a+" в' p"}}function Ss(e){const a=$r[e];return e===2?"'във "+a+" в' p":"'в "+a+" в' p"}function Ck(e){const a=$r[e];switch(e){case 0:case 3:case 6:return"'следващата "+a+" в' p";case 1:case 2:case 4:case 5:return"'следващия "+a+" в' p"}}const zk={lastWeek:(e,a,t)=>{const n=he(e),r=n.getDay();return ze(n,a,t)?Ss(r):Nk(r)},yesterday:"'вчера в' p",today:"'днес в' p",tomorrow:"'утре в' p",nextWeek:(e,a,t)=>{const n=he(e),r=n.getDay();return ze(n,a,t)?Ss(r):Ck(r)},other:"P"},_k=(e,a,t,n)=>{const r=zk[e];return typeof r=="function"?r(a,t,n):r},Ok={narrow:["пр.н.е.","н.е."],abbreviated:["преди н. е.","н. е."],wide:["преди новата ера","новата ера"]},Vk={narrow:["1","2","3","4"],abbreviated:["1-во тримес.","2-ро тримес.","3-то тримес.","4-то тримес."],wide:["1-во тримесечие","2-ро тримесечие","3-то тримесечие","4-то тримесечие"]},Hk={abbreviated:["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],wide:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"]},Ik={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вто","сря","чет","пет","съб"],wide:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},Fk={wide:{am:"преди обяд",pm:"след обяд",midnight:"в полунощ",noon:"на обяд",morning:"сутринта",afternoon:"следобед",evening:"вечерта",night:"през нощта"}};function Ak(e){return e==="year"||e==="week"||e==="minute"||e==="second"}function Lk(e){return e==="quarter"}function qt(e,a,t,n,r){const i=Lk(a)?r:Ak(a)?n:t;return e+"-"+i}const Xk={ordinalNumber:(e,a)=>{const t=Number(e),n=a==null?void 0:a.unit;if(t===0)return qt(0,n,"ев","ева","ево");if(t%1e3===0)return qt(t,n,"ен","на","но");if(t%100===0)return qt(t,n,"тен","тна","тно");const r=t%100;if(r>20||r<10)switch(r%10){case 1:return qt(t,n,"ви","ва","во");case 2:return qt(t,n,"ри","ра","ро");case 7:case 8:return qt(t,n,"ми","ма","мо")}return qt(t,n,"ти","та","то")},era:u({values:Ok,defaultWidth:"wide"}),quarter:u({values:Vk,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:Hk,defaultWidth:"wide"}),day:u({values:Ik,defaultWidth:"wide"}),dayPeriod:u({values:Fk,defaultWidth:"wide"})},Rk=/^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,Yk=/\d+/i,qk={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(преди новата ера|новата ера|нова ера)/i},Gk={any:[/^п/i,/^н/i]},Qk={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?o?)? тримес.?/i,wide:/^[1234](-?[врт]?о?)? тримесечие/i},Kk={any:[/1/i,/2/i,/3/i,/4/i]},Jk={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)/i,abbreviated:/^(нед|пон|вто|сря|чет|пет|съб)/i,wide:/^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i},Bk={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[ъб]/i]},Uk={abbreviated:/^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,wide:/^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i},Zk={any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^юн/i,/^юл/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},eM={any:/^(преди о|след о|в по|на о|през|веч|сут|следо)/i},tM={any:{am:/^преди о/i,pm:/^след о/i,midnight:/^в пол/i,noon:/^на об/i,morning:/^сут/i,afternoon:/^следо/i,evening:/^веч/i,night:/^през н/i}},aM={ordinalNumber:I({matchPattern:Rk,parsePattern:Yk,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:qk,defaultMatchWidth:"wide",parsePatterns:Gk,defaultParseWidth:"any"}),quarter:d({matchPatterns:Qk,defaultMatchWidth:"wide",parsePatterns:Kk,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:Uk,defaultMatchWidth:"wide",parsePatterns:Zk,defaultParseWidth:"any"}),day:d({matchPatterns:Jk,defaultMatchWidth:"wide",parsePatterns:Bk,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:eM,defaultMatchWidth:"any",parsePatterns:tM,defaultParseWidth:"any"})},Ts={code:"bg",formatDistance:jk,formatLong:Ek,formatRelative:_k,localize:Xk,match:aM,options:{weekStartsOn:1,firstWeekContainsDate:1}},nM=Object.freeze(Object.defineProperty({__proto__:null,bg:Ts,default:Ts},Symbol.toStringTag,{value:"Module"})),rM={locale:{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"}},iM={narrow:["খ্রিঃপূঃ","খ্রিঃ"],abbreviated:["খ্রিঃপূর্ব","খ্রিঃ"],wide:["খ্রিস্টপূর্ব","খ্রিস্টাব্দ"]},oM={narrow:["১","২","৩","৪"],abbreviated:["১ত্রৈ","২ত্রৈ","৩ত্রৈ","৪ত্রৈ"],wide:["১ম ত্রৈমাসিক","২য় ত্রৈমাসিক","৩য় ত্রৈমাসিক","৪র্থ ত্রৈমাসিক"]},sM={narrow:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],abbreviated:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],wide:["জানুয়ারি","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"]},uM={narrow:["র","সো","ম","বু","বৃ","শু","শ"],short:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],abbreviated:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],wide:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার ","শুক্রবার","শনিবার"]},dM={narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}},cM={narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}};function lM(e,a){if(e>18&&e<=31)return a+"শে";switch(e){case 1:return a+"লা";case 2:case 3:return a+"রা";case 4:return a+"ঠা";default:return a+"ই"}}const mM=(e,a)=>{const t=Number(e),n=Ds(t);if((a==null?void 0:a.unit)==="date")return lM(t,n);if(t>10||t===0)return n+"তম";switch(t%10){case 2:case 3:return n+"য়";case 4:return n+"র্থ";case 6:return n+"ষ্ঠ";default:return n+"ম"}};function Ds(e){return e.toString().replace(/\d/g,function(a){return rM.locale[a]})}const hM={ordinalNumber:mM,era:u({values:iM,defaultWidth:"wide"}),quarter:u({values:oM,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:sM,defaultWidth:"wide"}),day:u({values:uM,defaultWidth:"wide"}),dayPeriod:u({values:dM,defaultWidth:"wide",formattingValues:cM,defaultFormattingWidth:"wide"})},fM={lessThanXSeconds:{one:"প্রায় ১ সেকেন্ড",other:"প্রায় {{count}} সেকেন্ড"},xSeconds:{one:"১ সেকেন্ড",other:"{{count}} সেকেন্ড"},halfAMinute:"আধ মিনিট",lessThanXMinutes:{one:"প্রায় ১ মিনিট",other:"প্রায় {{count}} মিনিট"},xMinutes:{one:"১ মিনিট",other:"{{count}} মিনিট"},aboutXHours:{one:"প্রায় ১ ঘন্টা",other:"প্রায় {{count}} ঘন্টা"},xHours:{one:"১ ঘন্টা",other:"{{count}} ঘন্টা"},xDays:{one:"১ দিন",other:"{{count}} দিন"},aboutXWeeks:{one:"প্রায় ১ সপ্তাহ",other:"প্রায় {{count}} সপ্তাহ"},xWeeks:{one:"১ সপ্তাহ",other:"{{count}} সপ্তাহ"},aboutXMonths:{one:"প্রায় ১ মাস",other:"প্রায় {{count}} মাস"},xMonths:{one:"১ মাস",other:"{{count}} মাস"},aboutXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"},xYears:{one:"১ বছর",other:"{{count}} বছর"},overXYears:{one:"১ বছরের বেশি",other:"{{count}} বছরের বেশি"},almostXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"}},gM=(e,a,t)=>{let n;const r=fM[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",Ds(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+" এর মধ্যে":n+" আগে":n},pM={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},bM={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vM={full:"{{date}} {{time}} 'সময়'",long:"{{date}} {{time}} 'সময়'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},yM={date:m({formats:pM,defaultWidth:"full"}),time:m({formats:bM,defaultWidth:"full"}),dateTime:m({formats:vM,defaultWidth:"full"})},wM={lastWeek:"'গত' eeee 'সময়' p",yesterday:"'গতকাল' 'সময়' p",today:"'আজ' 'সময়' p",tomorrow:"'আগামীকাল' 'সময়' p",nextWeek:"eeee 'সময়' p",other:"P"},PM=(e,a,t,n)=>wM[e],kM=/^(\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i,MM=/\d+/i,$M={narrow:/^(খ্রিঃপূঃ|খ্রিঃ)/i,abbreviated:/^(খ্রিঃপূর্ব|খ্রিঃ)/i,wide:/^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i},WM={narrow:[/^খ্রিঃপূঃ/i,/^খ্রিঃ/i],abbreviated:[/^খ্রিঃপূর্ব/i,/^খ্রিঃ/i],wide:[/^খ্রিস্টপূর্ব/i,/^খ্রিস্টাব্দ/i]},xM={narrow:/^[১২৩৪]/i,abbreviated:/^[১২৩৪]ত্রৈ/i,wide:/^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i},jM={any:[/১/i,/২/i,/৩/i,/৪/i]},SM={narrow:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,abbreviated:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,wide:/^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i},TM={any:[/^জানু/i,/^ফেব্রু/i,/^মার্চ/i,/^এপ্রিল/i,/^মে/i,/^জুন/i,/^জুলাই/i,/^আগস্ট/i,/^সেপ্ট/i,/^অক্টো/i,/^নভে/i,/^ডিসে/i]},DM={narrow:/^(র|সো|ম|বু|বৃ|শু|শ)+/i,short:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,abbreviated:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,wide:/^(রবিবার|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i},EM={narrow:[/^র/i,/^সো/i,/^ম/i,/^বু/i,/^বৃ/i,/^শু/i,/^শ/i],short:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],abbreviated:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],wide:[/^রবিবার/i,/^সোমবার/i,/^মঙ্গলবার/i,/^বুধবার/i,/^বৃহস্পতিবার /i,/^শুক্রবার/i,/^শনিবার/i]},NM={narrow:/^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,abbreviated:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,wide:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i},CM={any:{am:/^পূ/i,pm:/^অপ/i,midnight:/^মধ্যরাত/i,noon:/^মধ্যাহ্ন/i,morning:/সকাল/i,afternoon:/বিকাল/i,evening:/সন্ধ্যা/i,night:/রাত/i}},zM={ordinalNumber:I({matchPattern:kM,parsePattern:MM,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:$M,defaultMatchWidth:"wide",parsePatterns:WM,defaultParseWidth:"wide"}),quarter:d({matchPatterns:xM,defaultMatchWidth:"wide",parsePatterns:jM,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:SM,defaultMatchWidth:"wide",parsePatterns:TM,defaultParseWidth:"any"}),day:d({matchPatterns:DM,defaultMatchWidth:"wide",parsePatterns:EM,defaultParseWidth:"wide"}),dayPeriod:d({matchPatterns:NM,defaultMatchWidth:"wide",parsePatterns:CM,defaultParseWidth:"any"})},Es={code:"bn",formatDistance:gM,formatLong:yM,formatRelative:PM,localize:hM,match:zM,options:{weekStartsOn:0,firstWeekContainsDate:1}},_M=Object.freeze(Object.defineProperty({__proto__:null,bn:Es,default:Es},Symbol.toStringTag,{value:"Module"})),OM={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 sedmicu",withPrepositionAgo:"oko 1 sedmicu",withPrepositionIn:"oko 1 sedmicu"},dual:"oko {{count}} sedmice",other:"oko {{count}} sedmice"},xWeeks:{one:{standalone:"1 sedmicu",withPrepositionAgo:"1 sedmicu",withPrepositionIn:"1 sedmicu"},dual:"{{count}} sedmice",other:"{{count}} sedmice"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},VM=(e,a,t)=>{let n;const r=OM[e];return typeof r=="string"?n=r:a===1?t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n=r.one.withPrepositionIn:n=r.one.withPrepositionAgo:n=r.one.standalone:a%10>1&&a%10<5&&String(a).substr(-2,1)!=="1"?n=r.dual.replace("{{count}}",String(a)):n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"za "+n:"prije "+n:n},HM={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},IM={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},FM={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},AM={date:m({formats:HM,defaultWidth:"full"}),time:m({formats:IM,defaultWidth:"full"}),dateTime:m({formats:FM,defaultWidth:"full"})},LM={lastWeek:e=>{switch(e.getDay()){case 0:return"'prošle nedjelje u' p";case 3:return"'prošle srijede u' p";case 6:return"'prošle subote u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'juče u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'sljedeće nedjelje u' p";case 3:return"'sljedeću srijedu u' p";case 6:return"'sljedeću subotu u' p";default:return"'sljedeći' EEEE 'u' p"}},other:"P"},XM=(e,a,t,n)=>{const r=LM[e];return typeof r=="function"?r(a):r},RM={narrow:["pr.n.e.","AD"],abbreviated:["pr. Hr.","po. Hr."],wide:["Prije Hrista","Poslije Hrista"]},YM={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},qM={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar"]},GM={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar"]},QM={narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sre","čet","pet","sub"],abbreviated:["ned","pon","uto","sre","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"]},KM={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"poslije podne",evening:"uveče",night:"noću"}},JM={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"poslije podne",evening:"uveče",night:"noću"}},BM={ordinalNumber:(e,a)=>{const t=Number(e);return String(t)+"."},era:u({values:RM,defaultWidth:"wide"}),quarter:u({values:YM,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:qM,defaultWidth:"wide",formattingValues:GM,defaultFormattingWidth:"wide"}),day:u({values:QM,defaultWidth:"wide"}),dayPeriod:u({values:KM,defaultWidth:"wide",formattingValues:JM,defaultFormattingWidth:"wide"})},UM=/^(\d+)\./i,ZM=/\d+/i,e$={narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Hr\.|po\.\s?Hr\.)/i,wide:/^(Prije Hrista|prije nove ere|Poslije Hrista|nova era)/i},t$={any:[/^pr/i,/^(po|nova)/i]},a$={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},n$={any:[/1/i,/2/i,/3/i,/4/i]},r$={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,wide:/^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(juni|juna)|(juli|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i},i$={narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^avg/i,/^s/i,/^o/i,/^n/i,/^d/i]},o$={narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i},s$={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]},u$={any:/^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|poslije podne|ujutru)/i},d$={any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(uvece|uveče)/i,night:/(nocu|noću)/i}},c$={ordinalNumber:I({matchPattern:UM,parsePattern:ZM,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:e$,defaultMatchWidth:"wide",parsePatterns:t$,defaultParseWidth:"any"}),quarter:d({matchPatterns:a$,defaultMatchWidth:"wide",parsePatterns:n$,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:r$,defaultMatchWidth:"wide",parsePatterns:i$,defaultParseWidth:"any"}),day:d({matchPatterns:o$,defaultMatchWidth:"wide",parsePatterns:s$,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:u$,defaultMatchWidth:"any",parsePatterns:d$,defaultParseWidth:"any"})},Ns={code:"bs",formatDistance:VM,formatLong:AM,formatRelative:XM,localize:BM,match:c$,options:{weekStartsOn:1,firstWeekContainsDate:4}},l$=Object.freeze(Object.defineProperty({__proto__:null,bs:Ns,default:Ns},Symbol.toStringTag,{value:"Module"})),m$={lessThanXSeconds:{one:"menys d'un segon",eleven:"menys d'onze segons",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",eleven:"menys d'onze minuts",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXWeeks:{one:"aproximadament una setmana",other:"aproximadament {{count}} setmanes"},xWeeks:{one:"1 setmana",other:"{{count}} setmanes"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"més d'un any",eleven:"més d'onze anys",other:"més de {{count}} anys"},almostXYears:{one:"gairebé un any",other:"gairebé {{count}} anys"}},h$=(e,a,t)=>{let n;const r=m$[e];return typeof r=="string"?n=r:a===1?n=r.one:a===11&&r.eleven?n=r.eleven:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"en "+n:"fa "+n:n},f$={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},g$={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},p$={full:"{{date}} 'a les' {{time}}",long:"{{date}} 'a les' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},b$={date:m({formats:f$,defaultWidth:"full"}),time:m({formats:g$,defaultWidth:"full"}),dateTime:m({formats:p$,defaultWidth:"full"})},v$={lastWeek:"'el' eeee 'passat a la' LT",yesterday:"'ahir a la' p",today:"'avui a la' p",tomorrow:"'demà a la' p",nextWeek:"eeee 'a la' p",other:"P"},y$={lastWeek:"'el' eeee 'passat a les' p",yesterday:"'ahir a les' p",today:"'avui a les' p",tomorrow:"'demà a les' p",nextWeek:"eeee 'a les' p",other:"P"},w$=(e,a,t,n)=>a.getHours()!==1?y$[e]:v$[e],P$={narrow:["aC","dC"],abbreviated:["a. de C.","d. de C."],wide:["abans de Crist","després de Crist"]},k$={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1r trimestre","2n trimestre","3r trimestre","4t trimestre"]},M$={narrow:["GN","FB","MÇ","AB","MG","JN","JL","AG","ST","OC","NV","DS"],abbreviated:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],wide:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]},$$={narrow:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],short:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],wide:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"]},W$={narrow:{am:"am",pm:"pm",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"}},x$={narrow:{am:"am",pm:"pm",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},abbreviated:{am:"AM",pm:"PM",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"}},j$={ordinalNumber:(e,a)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"r";case 2:return t+"n";case 3:return t+"r";case 4:return t+"t"}return t+"è"},era:u({values:P$,defaultWidth:"wide"}),quarter:u({values:k$,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:M$,defaultWidth:"wide"}),day:u({values:$$,defaultWidth:"wide"}),dayPeriod:u({values:W$,defaultWidth:"wide",formattingValues:x$,defaultFormattingWidth:"wide"})},S$=/^(\d+)(è|r|n|r|t)?/i,T$=/\d+/i,D$={narrow:/^(aC|dC)/i,abbreviated:/^(a. de C.|d. de C.)/i,wide:/^(abans de Crist|despr[eé]s de Crist)/i},E$={narrow:[/^aC/i,/^dC/i],abbreviated:[/^(a. de C.)/i,/^(d. de C.)/i],wide:[/^(abans de Crist)/i,/^(despr[eé]s de Crist)/i]},N$={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](è|r|n|r|t)? trimestre/i},C$={any:[/1/i,/2/i,/3/i,/4/i]},z$={narrow:/^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,abbreviated:/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,wide:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i},_$={narrow:[/^GN/i,/^FB/i,/^MÇ/i,/^AB/i,/^MG/i,/^JN/i,/^JL/i,/^AG/i,/^ST/i,/^OC/i,/^NV/i,/^DS/i],abbreviated:[/^gen./i,/^febr./i,/^març/i,/^abr./i,/^maig/i,/^juny/i,/^jul./i,/^ag./i,/^set./i,/^oct./i,/^nov./i,/^des./i],wide:[/^gener/i,/^febrer/i,/^març/i,/^abril/i,/^maig/i,/^juny/i,/^juliol/i,/^agost/i,/^setembre/i,/^octubre/i,/^novembre/i,/^desembre/i]},O$={narrow:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,short:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,abbreviated:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,wide:/^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i},V$={narrow:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],abbreviated:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],wide:[/^diumenge/i,/^dilluns/i,/^dimarts/i,/^dimecres/i,/^dijous/i,/^divendres/i,/^disssabte/i]},H$={narrow:/^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,abbreviated:/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,wide:/^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i},I$={any:{am:/^a/i,pm:/^p/i,midnight:/^mitjanit/i,noon:/^migdia/i,morning:/matí/i,afternoon:/tarda/i,evening:/vespre/i,night:/nit/i}},F$={ordinalNumber:I({matchPattern:S$,parsePattern:T$,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:D$,defaultMatchWidth:"wide",parsePatterns:E$,defaultParseWidth:"wide"}),quarter:d({matchPatterns:N$,defaultMatchWidth:"wide",parsePatterns:C$,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:z$,defaultMatchWidth:"wide",parsePatterns:_$,defaultParseWidth:"wide"}),day:d({matchPatterns:O$,defaultMatchWidth:"wide",parsePatterns:V$,defaultParseWidth:"wide"}),dayPeriod:d({matchPatterns:H$,defaultMatchWidth:"wide",parsePatterns:I$,defaultParseWidth:"any"})},Cs={code:"ca",formatDistance:h$,formatLong:b$,formatRelative:w$,localize:j$,match:F$,options:{weekStartsOn:1,firstWeekContainsDate:4}},A$=Object.freeze(Object.defineProperty({__proto__:null,ca:Cs,default:Cs},Symbol.toStringTag,{value:"Module"})),L$={lessThanXSeconds:{one:{regular:"méně než 1 sekunda",past:"před méně než 1 sekundou",future:"za méně než 1 sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"1 sekunda",past:"před 1 sekundou",future:"za 1 sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než 1 minuta",past:"před méně než 1 minutou",future:"za méně než 1 minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"1 minuta",past:"před 1 minutou",future:"za 1 minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně 1 hodina",past:"přibližně před 1 hodinou",future:"přibližně za 1 hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"1 hodina",past:"před 1 hodinou",future:"za 1 hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"1 den",past:"před 1 dnem",future:"za 1 den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně 1 týden",past:"přibližně před 1 týdnem",future:"přibližně za 1 týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"1 týden",past:"před 1 týdnem",future:"za 1 týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně 1 měsíc",past:"přibližně před 1 měsícem",future:"přibližně za 1 měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"1 měsíc",past:"před 1 měsícem",future:"za 1 měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně 1 rok",past:"přibližně před 1 rokem",future:"přibližně za 1 rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"1 rok",past:"před 1 rokem",future:"za 1 rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než 1 rok",past:"před více než 1 rokem",future:"za více než 1 rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro 1 rok",past:"skoro před 1 rokem",future:"skoro za 1 rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},X$=(e,a,t)=>{let n;const r=L$[e];r.type==="other"?n=r.other:a===1?n=r.one:a>1&&a<5?n=r.few:n=r.many;const i=(t==null?void 0:t.addSuffix)===!0,o=t==null?void 0:t.comparison;let c;return i&&o===-1?c=n.past:i&&o===1?c=n.future:c=n.regular,c.replace("{{count}}",String(a))},R$={full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},Y$={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},q$={full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},G$={date:m({formats:R$,defaultWidth:"full"}),time:m({formats:Y$,defaultWidth:"full"}),dateTime:m({formats:q$,defaultWidth:"full"})},Q$=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],K$={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:e=>{const a=e.getDay();return"'v "+Q$[a]+" o' p"},other:"P"},J$=(e,a)=>{const t=K$[e];return typeof t=="function"?t(a):t},B$={narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},U$={narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},Z$={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},eW={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},tW={narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},aW={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},nW={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},rW={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:B$,defaultWidth:"wide"}),quarter:u({values:U$,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:Z$,defaultWidth:"wide",formattingValues:eW,defaultFormattingWidth:"wide"}),day:u({values:tW,defaultWidth:"wide"}),dayPeriod:u({values:aW,defaultWidth:"wide",formattingValues:nW,defaultFormattingWidth:"wide"})},iW=/^(\d+)\.?/i,oW=/\d+/i,sW={narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},uW={any:[/^p[řr]/i,/^(po|n)/i]},dW={narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},cW={any:[/1/i,/2/i,/3/i,/4/i]},lW={narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},mW={narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},hW={narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},fW={narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},gW={any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},pW={any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},bW={ordinalNumber:I({matchPattern:iW,parsePattern:oW,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:sW,defaultMatchWidth:"wide",parsePatterns:uW,defaultParseWidth:"any"}),quarter:d({matchPatterns:dW,defaultMatchWidth:"wide",parsePatterns:cW,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:lW,defaultMatchWidth:"wide",parsePatterns:mW,defaultParseWidth:"any"}),day:d({matchPatterns:hW,defaultMatchWidth:"wide",parsePatterns:fW,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:gW,defaultMatchWidth:"any",parsePatterns:pW,defaultParseWidth:"any"})},zs={code:"cs",formatDistance:X$,formatLong:G$,formatRelative:J$,localize:rW,match:bW,options:{weekStartsOn:1,firstWeekContainsDate:4}},vW=Object.freeze(Object.defineProperty({__proto__:null,cs:zs,default:zs},Symbol.toStringTag,{value:"Module"})),yW={lessThanXSeconds:{one:"llai na eiliad",other:"llai na {{count}} eiliad"},xSeconds:{one:"1 eiliad",other:"{{count}} eiliad"},halfAMinute:"hanner munud",lessThanXMinutes:{one:"llai na munud",two:"llai na 2 funud",other:"llai na {{count}} munud"},xMinutes:{one:"1 munud",two:"2 funud",other:"{{count}} munud"},aboutXHours:{one:"tua 1 awr",other:"tua {{count}} awr"},xHours:{one:"1 awr",other:"{{count}} awr"},xDays:{one:"1 diwrnod",two:"2 ddiwrnod",other:"{{count}} diwrnod"},aboutXWeeks:{one:"tua 1 wythnos",two:"tua pythefnos",other:"tua {{count}} wythnos"},xWeeks:{one:"1 wythnos",two:"pythefnos",other:"{{count}} wythnos"},aboutXMonths:{one:"tua 1 mis",two:"tua 2 fis",other:"tua {{count}} mis"},xMonths:{one:"1 mis",two:"2 fis",other:"{{count}} mis"},aboutXYears:{one:"tua 1 flwyddyn",two:"tua 2 flynedd",other:"tua {{count}} mlynedd"},xYears:{one:"1 flwyddyn",two:"2 flynedd",other:"{{count}} mlynedd"},overXYears:{one:"dros 1 flwyddyn",two:"dros 2 flynedd",other:"dros {{count}} mlynedd"},almostXYears:{one:"bron 1 flwyddyn",two:"bron 2 flynedd",other:"bron {{count}} mlynedd"}},wW=(e,a,t)=>{let n;const r=yW[e];return typeof r=="string"?n=r:a===1?n=r.one:a===2&&r.two?n=r.two:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"mewn "+n:n+" yn ôl":n},PW={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},kW={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},MW={full:"{{date}} 'am' {{time}}",long:"{{date}} 'am' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$W={date:m({formats:PW,defaultWidth:"full"}),time:m({formats:kW,defaultWidth:"full"}),dateTime:m({formats:MW,defaultWidth:"full"})},WW={lastWeek:"eeee 'diwethaf am' p",yesterday:"'ddoe am' p",today:"'heddiw am' p",tomorrow:"'yfory am' p",nextWeek:"eeee 'am' p",other:"P"},xW=(e,a,t,n)=>WW[e],jW={narrow:["C","O"],abbreviated:["CC","OC"],wide:["Cyn Crist","Ar ôl Crist"]},SW={narrow:["1","2","3","4"],abbreviated:["Ch1","Ch2","Ch3","Ch4"],wide:["Chwarter 1af","2ail chwarter","3ydd chwarter","4ydd chwarter"]},TW={narrow:["I","Ch","Ma","E","Mi","Me","G","A","Md","H","T","Rh"],abbreviated:["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag"],wide:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"]},DW={narrow:["S","Ll","M","M","I","G","S"],short:["Su","Ll","Ma","Me","Ia","Gw","Sa"],abbreviated:["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"],wide:["dydd Sul","dydd Llun","dydd Mawrth","dydd Mercher","dydd Iau","dydd Gwener","dydd Sadwrn"]},EW={narrow:{am:"b",pm:"h",midnight:"hn",noon:"hd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"},abbreviated:{am:"yb",pm:"yh",midnight:"hanner nos",noon:"hanner dydd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"},wide:{am:"y.b.",pm:"y.h.",midnight:"hanner nos",noon:"hanner dydd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"}},NW={narrow:{am:"b",pm:"h",midnight:"hn",noon:"hd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"},abbreviated:{am:"yb",pm:"yh",midnight:"hanner nos",noon:"hanner dydd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"},wide:{am:"y.b.",pm:"y.h.",midnight:"hanner nos",noon:"hanner dydd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"}},CW={ordinalNumber:(e,a)=>{const t=Number(e);if(t<20)switch(t){case 0:return t+"fed";case 1:return t+"af";case 2:return t+"ail";case 3:case 4:return t+"ydd";case 5:case 6:return t+"ed";case 7:case 8:case 9:case 10:case 12:case 15:case 18:return t+"fed";case 11:case 13:case 14:case 16:case 17:case 19:return t+"eg"}else if(t>=50&&t<=60||t===80||t>=100)return t+"fed";return t+"ain"},era:u({values:jW,defaultWidth:"wide"}),quarter:u({values:SW,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:TW,defaultWidth:"wide"}),day:u({values:DW,defaultWidth:"wide"}),dayPeriod:u({values:EW,defaultWidth:"wide",formattingValues:NW,defaultFormattingWidth:"wide"})},zW=/^(\d+)(af|ail|ydd|ed|fed|eg|ain)?/i,_W=/\d+/i,OW={narrow:/^(c|o)/i,abbreviated:/^(c\.?\s?c\.?|o\.?\s?c\.?)/i,wide:/^(cyn christ|ar ôl crist|ar ol crist)/i},VW={wide:[/^c/i,/^(ar ôl crist|ar ol crist)/i],any:[/^c/i,/^o/i]},HW={narrow:/^[1234]/i,abbreviated:/^ch[1234]/i,wide:/^(chwarter 1af)|([234](ail|ydd)? chwarter)/i},IW={any:[/1/i,/2/i,/3/i,/4/i]},FW={narrow:/^(i|ch|m|e|g|a|h|t|rh)/i,abbreviated:/^(ion|chwe|maw|ebr|mai|meh|gor|aws|med|hyd|tach|rhag)/i,wide:/^(ionawr|chwefror|mawrth|ebrill|mai|mehefin|gorffennaf|awst|medi|hydref|tachwedd|rhagfyr)/i},AW={narrow:[/^i/i,/^ch/i,/^m/i,/^e/i,/^m/i,/^m/i,/^g/i,/^a/i,/^m/i,/^h/i,/^t/i,/^rh/i],any:[/^io/i,/^ch/i,/^maw/i,/^e/i,/^mai/i,/^meh/i,/^g/i,/^a/i,/^med/i,/^h/i,/^t/i,/^rh/i]},LW={narrow:/^(s|ll|m|i|g)/i,short:/^(su|ll|ma|me|ia|gw|sa)/i,abbreviated:/^(sul|llun|maw|mer|iau|gwe|sad)/i,wide:/^dydd (sul|llun|mawrth|mercher|iau|gwener|sadwrn)/i},XW={narrow:[/^s/i,/^ll/i,/^m/i,/^m/i,/^i/i,/^g/i,/^s/i],wide:[/^dydd su/i,/^dydd ll/i,/^dydd ma/i,/^dydd me/i,/^dydd i/i,/^dydd g/i,/^dydd sa/i],any:[/^su/i,/^ll/i,/^ma/i,/^me/i,/^i/i,/^g/i,/^sa/i]},RW={narrow:/^(b|h|hn|hd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i,any:/^(y\.?\s?[bh]\.?|hanner nos|hanner dydd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i},YW={any:{am:/^b|(y\.?\s?b\.?)/i,pm:/^h|(y\.?\s?h\.?)|(yr hwyr)/i,midnight:/^hn|hanner nos/i,noon:/^hd|hanner dydd/i,morning:/bore/i,afternoon:/prynhawn/i,evening:/^gyda'r nos$/i,night:/blah/i}},qW={ordinalNumber:I({matchPattern:zW,parsePattern:_W,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:OW,defaultMatchWidth:"wide",parsePatterns:VW,defaultParseWidth:"any"}),quarter:d({matchPatterns:HW,defaultMatchWidth:"wide",parsePatterns:IW,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:FW,defaultMatchWidth:"wide",parsePatterns:AW,defaultParseWidth:"any"}),day:d({matchPatterns:LW,defaultMatchWidth:"wide",parsePatterns:XW,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:RW,defaultMatchWidth:"any",parsePatterns:YW,defaultParseWidth:"any"})},_s={code:"cy",formatDistance:wW,formatLong:$W,formatRelative:xW,localize:CW,match:qW,options:{weekStartsOn:0,firstWeekContainsDate:1}},GW=Object.freeze(Object.defineProperty({__proto__:null,cy:_s,default:_s},Symbol.toStringTag,{value:"Module"})),QW={lessThanXSeconds:{one:"mindre end ét sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"ét halvt minut",lessThanXMinutes:{one:"mindre end ét minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXWeeks:{one:"cirka 1 uge",other:"cirka {{count}} uger"},xWeeks:{one:"1 uge",other:"{{count}} uger"},aboutXMonths:{one:"cirka 1 måned",other:"cirka {{count}} måneder"},xMonths:{one:"1 måned",other:"{{count}} måneder"},aboutXYears:{one:"cirka 1 år",other:"cirka {{count}} år"},xYears:{one:"1 år",other:"{{count}} år"},overXYears:{one:"over 1 år",other:"over {{count}} år"},almostXYears:{one:"næsten 1 år",other:"næsten {{count}} år"}},KW=(e,a,t)=>{let n;const r=QW[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"om "+n:n+" siden":n},JW={full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},BW={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},UW={full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ZW={date:m({formats:JW,defaultWidth:"full"}),time:m({formats:BW,defaultWidth:"full"}),dateTime:m({formats:UW,defaultWidth:"full"})},ex={lastWeek:"'sidste' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"'på' eeee 'kl.' p",other:"P"},tx=(e,a,t,n)=>ex[e],ax={narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["før vesterlandsk tidsregning","vesterlandsk tidsregning"]},nx={narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},rx={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},ix={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn.","man.","tir.","ons.","tor.","fre.","lør."],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},ox={narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"}},sx={narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"}},ux={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:ax,defaultWidth:"wide"}),quarter:u({values:nx,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:rx,defaultWidth:"wide"}),day:u({values:ix,defaultWidth:"wide"}),dayPeriod:u({values:ox,defaultWidth:"wide",formattingValues:sx,defaultFormattingWidth:"wide"})},dx=/^(\d+)(\.)?/i,cx=/\d+/i,lx={narrow:/^(fKr|fvt|eKr|vt)/i,abbreviated:/^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,wide:/^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i},mx={any:[/^f/i,/^(v|e)/i]},hx={narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},fx={any:[/1/i,/2/i,/3/i,/4/i]},gx={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i},px={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,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},bx={narrow:/^[smtofl]/i,short:/^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},vx={narrow:[/^s/i,/^m/i,/^t/i,/^o/i,/^t/i,/^f/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},yx={narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},wx={any:{am:/^a/i,pm:/^p/i,midnight:/midnat/i,noon:/middag/i,morning:/morgen/i,afternoon:/eftermiddag/i,evening:/aften/i,night:/nat/i}},Px={ordinalNumber:I({matchPattern:dx,parsePattern:cx,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:lx,defaultMatchWidth:"wide",parsePatterns:mx,defaultParseWidth:"any"}),quarter:d({matchPatterns:hx,defaultMatchWidth:"wide",parsePatterns:fx,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:gx,defaultMatchWidth:"wide",parsePatterns:px,defaultParseWidth:"any"}),day:d({matchPatterns:bx,defaultMatchWidth:"wide",parsePatterns:vx,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:yx,defaultMatchWidth:"any",parsePatterns:wx,defaultParseWidth:"any"})},Os={code:"da",formatDistance:KW,formatLong:ZW,formatRelative:tx,localize:ux,match:Px,options:{weekStartsOn:1,firstWeekContainsDate:4}},kx=Object.freeze(Object.defineProperty({__proto__:null,da:Os,default:Os},Symbol.toStringTag,{value:"Module"})),Vs={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},Hs=(e,a,t)=>{let n;const r=t!=null&&t.addSuffix?Vs[e].withPreposition:Vs[e].standalone;return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:"vor "+n:n},Mx={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},$x={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Wx={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Is={date:m({formats:Mx,defaultWidth:"full"}),time:m({formats:$x,defaultWidth:"full"}),dateTime:m({formats:Wx,defaultWidth:"full"})},xx={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},Fs=(e,a,t,n)=>xx[e],jx=/^(\d+)(\.)?/i,Sx=/\d+/i,Tx={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},Dx={any:[/^v/i,/^n/i]},Ex={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},Nx={any:[/1/i,/2/i,/3/i,/4/i]},Cx={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},zx={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:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},_x={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},Ox={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},Vx={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},Hx={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},As={ordinalNumber:I({matchPattern:jx,parsePattern:Sx,valueCallback:e=>parseInt(e)}),era:d({matchPatterns:Tx,defaultMatchWidth:"wide",parsePatterns:Dx,defaultParseWidth:"any"}),quarter:d({matchPatterns:Ex,defaultMatchWidth:"wide",parsePatterns:Nx,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:Cx,defaultMatchWidth:"wide",parsePatterns:zx,defaultParseWidth:"any"}),day:d({matchPatterns:_x,defaultMatchWidth:"wide",parsePatterns:Ox,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:Vx,defaultMatchWidth:"wide",parsePatterns:Hx,defaultParseWidth:"any"})},Ix={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},Fx={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},Wr={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jän","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},Ax={narrow:Wr.narrow,abbreviated:["Jän.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:Wr.wide},Lx={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},Xx={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},Rx={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},Yx={ordinalNumber:e=>Number(e)+".",era:u({values:Ix,defaultWidth:"wide"}),quarter:u({values:Fx,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:Wr,formattingValues:Ax,defaultWidth:"wide"}),day:u({values:Lx,defaultWidth:"wide"}),dayPeriod:u({values:Xx,defaultWidth:"wide",formattingValues:Rx,defaultFormattingWidth:"wide"})},Ls={code:"de-AT",formatDistance:Hs,formatLong:Is,formatRelative:Fs,localize:Yx,match:As,options:{weekStartsOn:1,firstWeekContainsDate:4}},qx=Object.freeze(Object.defineProperty({__proto__:null,deAT:Ls,default:Ls},Symbol.toStringTag,{value:"Module"})),Gx={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},Qx={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},xr={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},Kx={narrow:xr.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:xr.wide},Jx={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},Bx={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},Ux={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},Zx={ordinalNumber:e=>Number(e)+".",era:u({values:Gx,defaultWidth:"wide"}),quarter:u({values:Qx,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:xr,formattingValues:Kx,defaultWidth:"wide"}),day:u({values:Jx,defaultWidth:"wide"}),dayPeriod:u({values:Bx,defaultWidth:"wide",formattingValues:Ux,defaultFormattingWidth:"wide"})},Xs={code:"de",formatDistance:Hs,formatLong:Is,formatRelative:Fs,localize:Zx,match:As,options:{weekStartsOn:1,firstWeekContainsDate:4}},ej=Object.freeze(Object.defineProperty({__proto__:null,de:Xs,default:Xs},Symbol.toStringTag,{value:"Module"})),tj={lessThanXSeconds:{one:"λιγότερο από ένα δευτερόλεπτο",other:"λιγότερο από {{count}} δευτερόλεπτα"},xSeconds:{one:"1 δευτερόλεπτο",other:"{{count}} δευτερόλεπτα"},halfAMinute:"μισό λεπτό",lessThanXMinutes:{one:"λιγότερο από ένα λεπτό",other:"λιγότερο από {{count}} λεπτά"},xMinutes:{one:"1 λεπτό",other:"{{count}} λεπτά"},aboutXHours:{one:"περίπου 1 ώρα",other:"περίπου {{count}} ώρες"},xHours:{one:"1 ώρα",other:"{{count}} ώρες"},xDays:{one:"1 ημέρα",other:"{{count}} ημέρες"},aboutXWeeks:{one:"περίπου 1 εβδομάδα",other:"περίπου {{count}} εβδομάδες"},xWeeks:{one:"1 εβδομάδα",other:"{{count}} εβδομάδες"},aboutXMonths:{one:"περίπου 1 μήνας",other:"περίπου {{count}} μήνες"},xMonths:{one:"1 μήνας",other:"{{count}} μήνες"},aboutXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"},xYears:{one:"1 χρόνο",other:"{{count}} χρόνια"},overXYears:{one:"πάνω από 1 χρόνο",other:"πάνω από {{count}} χρόνια"},almostXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"}},aj=(e,a,t)=>{let n;const r=tj[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"σε "+n:n+" πριν":n},nj={full:"EEEE, d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"d/M/yy"},rj={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ij={full:"{{date}} - {{time}}",long:"{{date}} - {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},oj={date:m({formats:nj,defaultWidth:"full"}),time:m({formats:rj,defaultWidth:"full"}),dateTime:m({formats:ij,defaultWidth:"full"})},sj={lastWeek:e=>{switch(e.getDay()){case 6:return"'το προηγούμενο' eeee 'στις' p";default:return"'την προηγούμενη' eeee 'στις' p"}},yesterday:"'χθες στις' p",today:"'σήμερα στις' p",tomorrow:"'αύριο στις' p",nextWeek:"eeee 'στις' p",other:"P"},uj=(e,a)=>{const t=sj[e];return typeof t=="function"?t(a):t},dj={narrow:["πΧ","μΧ"],abbreviated:["π.Χ.","μ.Χ."],wide:["προ Χριστού","μετά Χριστόν"]},cj={narrow:["1","2","3","4"],abbreviated:["Τ1","Τ2","Τ3","Τ4"],wide:["1ο τρίμηνο","2ο τρίμηνο","3ο τρίμηνο","4ο τρίμηνο"]},lj={narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μάρ","Απρ","Μάι","Ιούν","Ιούλ","Αύγ","Σεπ","Οκτ","Νοέ","Δεκ"],wide:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"]},mj={narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μαρ","Απρ","Μαΐ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],wide:["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"]},hj={narrow:["Κ","Δ","T","Τ","Π","Π","Σ"],short:["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά"],abbreviated:["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ"],wide:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},fj={narrow:{am:"πμ",pm:"μμ",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},abbreviated:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},wide:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"}},gj={ordinalNumber:(e,a)=>{const t=Number(e),n=a==null?void 0:a.unit;let r;return n==="year"||n==="month"?r="ος":n==="week"||n==="dayOfYear"||n==="day"||n==="hour"||n==="date"?r="η":r="ο",t+r},era:u({values:dj,defaultWidth:"wide"}),quarter:u({values:cj,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:lj,defaultWidth:"wide",formattingValues:mj,defaultFormattingWidth:"wide"}),day:u({values:hj,defaultWidth:"wide"}),dayPeriod:u({values:fj,defaultWidth:"wide"})},pj=/^(\d+)(ος|η|ο)?/i,bj=/\d+/i,vj={narrow:/^(πΧ|μΧ)/i,abbreviated:/^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,wide:/^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i},yj={any:[/^π/i,/^(μ|κ)/i]},wj={narrow:/^[1234]/i,abbreviated:/^τ[1234]/i,wide:/^[1234]ο? τρ(ί|ι)μηνο/i},Pj={any:[/1/i,/2/i,/3/i,/4/i]},kj={narrow:/^[ιφμαμιιασονδ]/i,abbreviated:/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,wide:/^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i},Mj={narrow:[/^ι/i,/^φ/i,/^μ/i,/^α/i,/^μ/i,/^ι/i,/^ι/i,/^α/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i],any:[/^ια/i,/^φ/i,/^μ[άα]ρ/i,/^απ/i,/^μ[άα][ιΐ]/i,/^ιο[ύυ]ν/i,/^ιο[ύυ]λ/i,/^α[ύυ]/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i]},$j={narrow:/^[κδτπσ]/i,short:/^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,abbreviated:/^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,wide:/^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i},Wj={narrow:[/^κ/i,/^δ/i,/^τ/i,/^τ/i,/^π/i,/^π/i,/^σ/i],any:[/^κ/i,/^δ/i,/^τρ/i,/^τε/i,/^π[εέ]/i,/^π[αά]/i,/^σ/i]},xj={narrow:/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,any:/^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i},jj={any:{am:/^πμ|π\.\s?μ\./i,pm:/^μμ|μ\.\s?μ\./i,midnight:/^μεσάν/i,noon:/^μεσημ(έ|ε)/i,morning:/πρω(ί|ι)/i,afternoon:/απ(ό|ο)γευμα/i,evening:/βρ(ά|α)δυ/i,night:/ν(ύ|υ)χτα/i}},Sj={ordinalNumber:I({matchPattern:pj,parsePattern:bj,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:vj,defaultMatchWidth:"wide",parsePatterns:yj,defaultParseWidth:"any"}),quarter:d({matchPatterns:wj,defaultMatchWidth:"wide",parsePatterns:Pj,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:kj,defaultMatchWidth:"wide",parsePatterns:Mj,defaultParseWidth:"any"}),day:d({matchPatterns:$j,defaultMatchWidth:"wide",parsePatterns:Wj,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:xj,defaultMatchWidth:"any",parsePatterns:jj,defaultParseWidth:"any"})},Rs={code:"el",formatDistance:aj,formatLong:oj,formatRelative:uj,localize:gj,match:Sj,options:{weekStartsOn:1,firstWeekContainsDate:4}},Tj=Object.freeze(Object.defineProperty({__proto__:null,default:Rs,el:Rs},Symbol.toStringTag,{value:"Module"})),Dj={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},Ej={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Nj={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Cj={date:m({formats:Dj,defaultWidth:"full"}),time:m({formats:Ej,defaultWidth:"full"}),dateTime:m({formats:Nj,defaultWidth:"full"})},Ys={code:"en-AU",formatDistance:Lt,formatLong:Cj,formatRelative:Tt,localize:Dt,match:Et,options:{weekStartsOn:1,firstWeekContainsDate:4}},qs=Object.freeze(Object.defineProperty({__proto__:null,default:Ys,enAU:Ys},Symbol.toStringTag,{value:"Module"})),zj={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"a second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"a minute",other:"{{count}} minutes"},aboutXHours:{one:"about an hour",other:"about {{count}} hours"},xHours:{one:"an hour",other:"{{count}} hours"},xDays:{one:"a day",other:"{{count}} days"},aboutXWeeks:{one:"about a week",other:"about {{count}} weeks"},xWeeks:{one:"a week",other:"{{count}} weeks"},aboutXMonths:{one:"about a month",other:"about {{count}} months"},xMonths:{one:"a month",other:"{{count}} months"},aboutXYears:{one:"about a year",other:"about {{count}} years"},xYears:{one:"a year",other:"{{count}} years"},overXYears:{one:"over a year",other:"over {{count}} years"},almostXYears:{one:"almost a year",other:"almost {{count}} years"}},_j=(e,a,t)=>{let n;const r=zj[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n},Oj={full:"EEEE, MMMM do, yyyy",long:"MMMM do, yyyy",medium:"MMM d, yyyy",short:"yyyy-MM-dd"},Vj={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Hj={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ij={date:m({formats:Oj,defaultWidth:"full"}),time:m({formats:Vj,defaultWidth:"full"}),dateTime:m({formats:Hj,defaultWidth:"full"})},Gs={code:"en-CA",formatDistance:_j,formatLong:Ij,formatRelative:Tt,localize:Dt,match:Et,options:{weekStartsOn:0,firstWeekContainsDate:1}},Fj=Object.freeze(Object.defineProperty({__proto__:null,default:Gs,enCA:Gs},Symbol.toStringTag,{value:"Module"})),Aj={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},Lj={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Xj={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Qs={date:m({formats:Aj,defaultWidth:"full"}),time:m({formats:Lj,defaultWidth:"full"}),dateTime:m({formats:Xj,defaultWidth:"full"})},Ks={code:"en-GB",formatDistance:Lt,formatLong:Qs,formatRelative:Tt,localize:Dt,match:Et,options:{weekStartsOn:1,firstWeekContainsDate:4}},Rj=Object.freeze(Object.defineProperty({__proto__:null,default:Ks,enGB:Ks},Symbol.toStringTag,{value:"Module"})),Js={code:"en-IE",formatDistance:Lt,formatLong:Qs,formatRelative:Tt,localize:Dt,match:Et,options:{weekStartsOn:1,firstWeekContainsDate:4}},Yj=Object.freeze(Object.defineProperty({__proto__:null,default:Js,enIE:Js},Symbol.toStringTag,{value:"Module"})),qj={full:"EEEE, d MMMM yyyy",long:"d MMMM, yyyy",medium:"d MMM, yyyy",short:"dd/MM/yyyy"},Gj={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Qj={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Kj={date:m({formats:qj,defaultWidth:"full"}),time:m({formats:Gj,defaultWidth:"full"}),dateTime:m({formats:Qj,defaultWidth:"full"})},Bs={code:"en-IN",formatDistance:Lt,formatLong:Kj,formatRelative:Tt,localize:Dt,match:Et,options:{weekStartsOn:1,firstWeekContainsDate:4}},Jj=Object.freeze(Object.defineProperty({__proto__:null,default:Bs,enIN:Bs},Symbol.toStringTag,{value:"Module"})),Bj={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},Uj={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Zj={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},eS={date:m({formats:Bj,defaultWidth:"full"}),time:m({formats:Uj,defaultWidth:"full"}),dateTime:m({formats:Zj,defaultWidth:"full"})},Us={code:"en-NZ",formatDistance:Lt,formatLong:eS,formatRelative:Tt,localize:Dt,match:Et,options:{weekStartsOn:1,firstWeekContainsDate:4}},tS=Object.freeze(Object.defineProperty({__proto__:null,default:Us,enNZ:Us},Symbol.toStringTag,{value:"Module"})),aS={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"yyyy/MM/dd"},nS={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},rS={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},iS={date:m({formats:aS,defaultWidth:"full"}),time:m({formats:nS,defaultWidth:"full"}),dateTime:m({formats:rS,defaultWidth:"full"})},Zs={code:"en-ZA",formatDistance:Lt,formatLong:iS,formatRelative:Tt,localize:Dt,match:Et,options:{weekStartsOn:0,firstWeekContainsDate:1}},oS=Object.freeze(Object.defineProperty({__proto__:null,default:Zs,enZA:Zs},Symbol.toStringTag,{value:"Module"})),sS={lessThanXSeconds:{one:"malpli ol sekundo",other:"malpli ol {{count}} sekundoj"},xSeconds:{one:"1 sekundo",other:"{{count}} sekundoj"},halfAMinute:"duonminuto",lessThanXMinutes:{one:"malpli ol minuto",other:"malpli ol {{count}} minutoj"},xMinutes:{one:"1 minuto",other:"{{count}} minutoj"},aboutXHours:{one:"proksimume 1 horo",other:"proksimume {{count}} horoj"},xHours:{one:"1 horo",other:"{{count}} horoj"},xDays:{one:"1 tago",other:"{{count}} tagoj"},aboutXMonths:{one:"proksimume 1 monato",other:"proksimume {{count}} monatoj"},xWeeks:{one:"1 semajno",other:"{{count}} semajnoj"},aboutXWeeks:{one:"proksimume 1 semajno",other:"proksimume {{count}} semajnoj"},xMonths:{one:"1 monato",other:"{{count}} monatoj"},aboutXYears:{one:"proksimume 1 jaro",other:"proksimume {{count}} jaroj"},xYears:{one:"1 jaro",other:"{{count}} jaroj"},overXYears:{one:"pli ol 1 jaro",other:"pli ol {{count}} jaroj"},almostXYears:{one:"preskaŭ 1 jaro",other:"preskaŭ {{count}} jaroj"}},uS=(e,a,t)=>{let n;const r=sS[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t!=null&&t.comparison&&t.comparison>0?"post "+n:"antaŭ "+n:n},dS={full:"EEEE, do 'de' MMMM y",long:"y-MMMM-dd",medium:"y-MMM-dd",short:"yyyy-MM-dd"},cS={full:"Ho 'horo kaj' m:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},lS={any:"{{date}} {{time}}"},mS={date:m({formats:dS,defaultWidth:"full"}),time:m({formats:cS,defaultWidth:"full"}),dateTime:m({formats:lS,defaultWidth:"any"})},hS={lastWeek:"'pasinta' eeee 'je' p",yesterday:"'hieraŭ je' p",today:"'hodiaŭ je' p",tomorrow:"'morgaŭ je' p",nextWeek:"eeee 'je' p",other:"P"},fS=(e,a,t,n)=>hS[e],gS={narrow:["aK","pK"],abbreviated:["a.K.E.","p.K.E."],wide:["antaŭ Komuna Erao","Komuna Erao"]},pS={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1-a kvaronjaro","2-a kvaronjaro","3-a kvaronjaro","4-a kvaronjaro"]},bS={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan","feb","mar","apr","maj","jun","jul","aŭg","sep","okt","nov","dec"],wide:["januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"]},vS={narrow:["D","L","M","M","Ĵ","V","S"],short:["di","lu","ma","me","ĵa","ve","sa"],abbreviated:["dim","lun","mar","mer","ĵaŭ","ven","sab"],wide:["dimanĉo","lundo","mardo","merkredo","ĵaŭdo","vendredo","sabato"]},yS={narrow:{am:"a",pm:"p",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"},abbreviated:{am:"a.t.m.",pm:"p.t.m.",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"},wide:{am:"antaŭtagmeze",pm:"posttagmeze",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"}},wS={ordinalNumber:e=>Number(e)+"-a",era:u({values:gS,defaultWidth:"wide"}),quarter:u({values:pS,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:u({values:bS,defaultWidth:"wide"}),day:u({values:vS,defaultWidth:"wide"}),dayPeriod:u({values:yS,defaultWidth:"wide"})},PS=/^(\d+)(-?a)?/i,kS=/\d+/i,MS={narrow:/^([ap]k)/i,abbreviated:/^([ap]\.?\s?k\.?\s?e\.?)/i,wide:/^((antaǔ |post )?komuna erao)/i},$S={any:[/^a/i,/^[kp]/i]},WS={narrow:/^[1234]/i,abbreviated:/^k[1234]/i,wide:/^[1234](-?a)? kvaronjaro/i},xS={any:[/1/i,/2/i,/3/i,/4/i]},jS={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i,wide:/^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i},SS={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,/^maj/i,/^jun/i,/^jul/i,/^a(u|ŭ)/i,/^s/i,/^o/i,/^n/i,/^d/i]},TS={narrow:/^[dlmĵjvs]/i,short:/^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i,wide:/^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i},DS={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^(j|ĵ)/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^(j|ĵ)/i,/^v/i,/^s/i]},ES={narrow:/^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,abbreviated:/^([ap][.\s]?t[.\s]?m[.\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,wide:/^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i},NS={any:{am:/^a/i,pm:/^p/i,midnight:/^noktom/i,noon:/^t/i,morning:/^m/i,afternoon:/^posttagmeze/i,evening:/^v/i,night:/^n/i}},CS={ordinalNumber:I({matchPattern:PS,parsePattern:kS,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:MS,defaultMatchWidth:"wide",parsePatterns:$S,defaultParseWidth:"any"}),quarter:d({matchPatterns:WS,defaultMatchWidth:"wide",parsePatterns:xS,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:jS,defaultMatchWidth:"wide",parsePatterns:SS,defaultParseWidth:"any"}),day:d({matchPatterns:TS,defaultMatchWidth:"wide",parsePatterns:DS,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:ES,defaultMatchWidth:"wide",parsePatterns:NS,defaultParseWidth:"any"})},eu={code:"eo",formatDistance:uS,formatLong:mS,formatRelative:fS,localize:wS,match:CS,options:{weekStartsOn:1,firstWeekContainsDate:4}},zS=Object.freeze(Object.defineProperty({__proto__:null,default:eu,eo:eu},Symbol.toStringTag,{value:"Module"})),_S={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},OS=(e,a,t)=>{let n;const r=_S[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"en "+n:"hace "+n:n},VS={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},HS={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},IS={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},FS={date:m({formats:VS,defaultWidth:"full"}),time:m({formats:HS,defaultWidth:"full"}),dateTime:m({formats:IS,defaultWidth:"full"})},AS={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},LS={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},XS=(e,a,t,n)=>a.getHours()!==1?LS[e]:AS[e],RS={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},YS={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},qS={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},GS={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},QS={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},KS={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},JS={ordinalNumber:(e,a)=>Number(e)+"º",era:u({values:RS,defaultWidth:"wide"}),quarter:u({values:YS,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:u({values:qS,defaultWidth:"wide"}),day:u({values:GS,defaultWidth:"wide"}),dayPeriod:u({values:QS,defaultWidth:"wide",formattingValues:KS,defaultFormattingWidth:"wide"})},BS=/^(\d+)(º)?/i,US=/\d+/i,ZS={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},e0={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},t0={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},a0={any:[/1/i,/2/i,/3/i,/4/i]},n0={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},r0={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},i0={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},o0={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},s0={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},u0={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},d0={ordinalNumber:I({matchPattern:BS,parsePattern:US,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:ZS,defaultMatchWidth:"wide",parsePatterns:e0,defaultParseWidth:"any"}),quarter:d({matchPatterns:t0,defaultMatchWidth:"wide",parsePatterns:a0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:n0,defaultMatchWidth:"wide",parsePatterns:r0,defaultParseWidth:"any"}),day:d({matchPatterns:i0,defaultMatchWidth:"wide",parsePatterns:o0,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:s0,defaultMatchWidth:"any",parsePatterns:u0,defaultParseWidth:"any"})},tu={code:"es",formatDistance:OS,formatLong:FS,formatRelative:XS,localize:JS,match:d0,options:{weekStartsOn:1,firstWeekContainsDate:1}},c0=Object.freeze(Object.defineProperty({__proto__:null,default:tu,es:tu},Symbol.toStringTag,{value:"Module"})),au={lessThanXSeconds:{standalone:{one:"vähem kui üks sekund",other:"vähem kui {{count}} sekundit"},withPreposition:{one:"vähem kui ühe sekundi",other:"vähem kui {{count}} sekundi"}},xSeconds:{standalone:{one:"üks sekund",other:"{{count}} sekundit"},withPreposition:{one:"ühe sekundi",other:"{{count}} sekundi"}},halfAMinute:{standalone:"pool minutit",withPreposition:"poole minuti"},lessThanXMinutes:{standalone:{one:"vähem kui üks minut",other:"vähem kui {{count}} minutit"},withPreposition:{one:"vähem kui ühe minuti",other:"vähem kui {{count}} minuti"}},xMinutes:{standalone:{one:"üks minut",other:"{{count}} minutit"},withPreposition:{one:"ühe minuti",other:"{{count}} minuti"}},aboutXHours:{standalone:{one:"umbes üks tund",other:"umbes {{count}} tundi"},withPreposition:{one:"umbes ühe tunni",other:"umbes {{count}} tunni"}},xHours:{standalone:{one:"üks tund",other:"{{count}} tundi"},withPreposition:{one:"ühe tunni",other:"{{count}} tunni"}},xDays:{standalone:{one:"üks päev",other:"{{count}} päeva"},withPreposition:{one:"ühe päeva",other:"{{count}} päeva"}},aboutXWeeks:{standalone:{one:"umbes üks nädal",other:"umbes {{count}} nädalat"},withPreposition:{one:"umbes ühe nädala",other:"umbes {{count}} nädala"}},xWeeks:{standalone:{one:"üks nädal",other:"{{count}} nädalat"},withPreposition:{one:"ühe nädala",other:"{{count}} nädala"}},aboutXMonths:{standalone:{one:"umbes üks kuu",other:"umbes {{count}} kuud"},withPreposition:{one:"umbes ühe kuu",other:"umbes {{count}} kuu"}},xMonths:{standalone:{one:"üks kuu",other:"{{count}} kuud"},withPreposition:{one:"ühe kuu",other:"{{count}} kuu"}},aboutXYears:{standalone:{one:"umbes üks aasta",other:"umbes {{count}} aastat"},withPreposition:{one:"umbes ühe aasta",other:"umbes {{count}} aasta"}},xYears:{standalone:{one:"üks aasta",other:"{{count}} aastat"},withPreposition:{one:"ühe aasta",other:"{{count}} aasta"}},overXYears:{standalone:{one:"rohkem kui üks aasta",other:"rohkem kui {{count}} aastat"},withPreposition:{one:"rohkem kui ühe aasta",other:"rohkem kui {{count}} aasta"}},almostXYears:{standalone:{one:"peaaegu üks aasta",other:"peaaegu {{count}} aastat"},withPreposition:{one:"peaaegu ühe aasta",other:"peaaegu {{count}} aasta"}}},l0=(e,a,t)=>{const n=t!=null&&t.addSuffix?au[e].withPreposition:au[e].standalone;let r;return typeof n=="string"?r=n:a===1?r=n.one:r=n.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?r+" pärast":r+" eest":r},m0={full:"EEEE, d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},h0={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},f0={full:"{{date}} 'kell' {{time}}",long:"{{date}} 'kell' {{time}}",medium:"{{date}}. {{time}}",short:"{{date}}. {{time}}"},g0={date:m({formats:m0,defaultWidth:"full"}),time:m({formats:h0,defaultWidth:"full"}),dateTime:m({formats:f0,defaultWidth:"full"})},p0={lastWeek:"'eelmine' eeee 'kell' p",yesterday:"'eile kell' p",today:"'täna kell' p",tomorrow:"'homme kell' p",nextWeek:"'järgmine' eeee 'kell' p",other:"P"},b0=(e,a,t,n)=>p0[e],v0={narrow:["e.m.a","m.a.j"],abbreviated:["e.m.a","m.a.j"],wide:["enne meie ajaarvamist","meie ajaarvamise järgi"]},y0={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},nu={narrow:["J","V","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],wide:["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"]},ru={narrow:["P","E","T","K","N","R","L"],short:["P","E","T","K","N","R","L"],abbreviated:["pühap.","esmasp.","teisip.","kolmap.","neljap.","reede.","laup."],wide:["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"]},w0={narrow:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},abbreviated:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},wide:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"}},P0={narrow:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},abbreviated:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},wide:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"}},k0={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:v0,defaultWidth:"wide"}),quarter:u({values:y0,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:nu,defaultWidth:"wide",formattingValues:nu,defaultFormattingWidth:"wide"}),day:u({values:ru,defaultWidth:"wide",formattingValues:ru,defaultFormattingWidth:"wide"}),dayPeriod:u({values:w0,defaultWidth:"wide",formattingValues:P0,defaultFormattingWidth:"wide"})},M0=/^\d+\./i,$0=/\d+/i,W0={narrow:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,abbreviated:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,wide:/^(enne meie ajaarvamist|meie ajaarvamise järgi|enne Kristust|pärast Kristust)/i},x0={any:[/^e/i,/^(m|p)/i]},j0={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](\.)? kvartal/i},S0={any:[/1/i,/2/i,/3/i,/4/i]},T0={narrow:/^[jvmasond]/i,abbreviated:/^(jaan|veebr|märts|apr|mai|juuni|juuli|aug|sept|okt|nov|dets)/i,wide:/^(jaanuar|veebruar|märts|aprill|mai|juuni|juuli|august|september|oktoober|november|detsember)/i},D0={narrow:[/^j/i,/^v/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^v/i,/^mär/i,/^ap/i,/^mai/i,/^juun/i,/^juul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},E0={narrow:/^[petknrl]/i,short:/^[petknrl]/i,abbreviated:/^(püh?|esm?|tei?|kolm?|nel?|ree?|laup?)\.?/i,wide:/^(pühapäev|esmaspäev|teisipäev|kolmapäev|neljapäev|reede|laupäev)/i},N0={any:[/^p/i,/^e/i,/^t/i,/^k/i,/^n/i,/^r/i,/^l/i]},C0={any:/^(am|pm|keskööl?|keskpäev(al)?|hommik(ul)?|pärastlõunal?|õhtul?|öö(sel)?)/i},z0={any:{am:/^a/i,pm:/^p/i,midnight:/^keskö/i,noon:/^keskp/i,morning:/hommik/i,afternoon:/pärastlõuna/i,evening:/õhtu/i,night:/öö/i}},_0={ordinalNumber:I({matchPattern:M0,parsePattern:$0,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:W0,defaultMatchWidth:"wide",parsePatterns:x0,defaultParseWidth:"any"}),quarter:d({matchPatterns:j0,defaultMatchWidth:"wide",parsePatterns:S0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:T0,defaultMatchWidth:"wide",parsePatterns:D0,defaultParseWidth:"any"}),day:d({matchPatterns:E0,defaultMatchWidth:"wide",parsePatterns:N0,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:C0,defaultMatchWidth:"any",parsePatterns:z0,defaultParseWidth:"any"})},iu={code:"et",formatDistance:l0,formatLong:g0,formatRelative:b0,localize:k0,match:_0,options:{weekStartsOn:1,firstWeekContainsDate:4}},O0=Object.freeze(Object.defineProperty({__proto__:null,default:iu,et:iu},Symbol.toStringTag,{value:"Module"})),V0={lessThanXSeconds:{one:"segundo bat baino gutxiago",other:"{{count}} segundo baino gutxiago"},xSeconds:{one:"1 segundo",other:"{{count}} segundo"},halfAMinute:"minutu erdi",lessThanXMinutes:{one:"minutu bat baino gutxiago",other:"{{count}} minutu baino gutxiago"},xMinutes:{one:"1 minutu",other:"{{count}} minutu"},aboutXHours:{one:"1 ordu gutxi gorabehera",other:"{{count}} ordu gutxi gorabehera"},xHours:{one:"1 ordu",other:"{{count}} ordu"},xDays:{one:"1 egun",other:"{{count}} egun"},aboutXWeeks:{one:"aste 1 inguru",other:"{{count}} aste inguru"},xWeeks:{one:"1 aste",other:"{{count}} astean"},aboutXMonths:{one:"1 hilabete gutxi gorabehera",other:"{{count}} hilabete gutxi gorabehera"},xMonths:{one:"1 hilabete",other:"{{count}} hilabete"},aboutXYears:{one:"1 urte gutxi gorabehera",other:"{{count}} urte gutxi gorabehera"},xYears:{one:"1 urte",other:"{{count}} urte"},overXYears:{one:"1 urte baino gehiago",other:"{{count}} urte baino gehiago"},almostXYears:{one:"ia 1 urte",other:"ia {{count}} urte"}},H0=(e,a,t)=>{let n;const r=V0[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"en "+n:"duela "+n:n},I0={full:"EEEE, y'ko' MMMM'ren' d'a' y'ren'",long:"y'ko' MMMM'ren' d'a'",medium:"y MMM d",short:"yy/MM/dd"},F0={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},A0={full:"{{date}} 'tan' {{time}}",long:"{{date}} 'tan' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},L0={date:m({formats:I0,defaultWidth:"full"}),time:m({formats:F0,defaultWidth:"full"}),dateTime:m({formats:A0,defaultWidth:"full"})},X0={lastWeek:"'joan den' eeee, LT",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},R0={lastWeek:"'joan den' eeee, p",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},Y0=(e,a)=>a.getHours()!==1?R0[e]:X0[e],q0={narrow:["k.a.","k.o."],abbreviated:["k.a.","k.o."],wide:["kristo aurretik","kristo ondoren"]},G0={narrow:["1","2","3","4"],abbreviated:["1H","2H","3H","4H"],wide:["1. hiruhilekoa","2. hiruhilekoa","3. hiruhilekoa","4. hiruhilekoa"]},Q0={narrow:["u","o","m","a","m","e","u","a","i","u","a","a"],abbreviated:["urt","ots","mar","api","mai","eka","uzt","abu","ira","urr","aza","abe"],wide:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"]},K0={narrow:["i","a","a","a","o","o","l"],short:["ig","al","as","az","og","or","lr"],abbreviated:["iga","ast","ast","ast","ost","ost","lar"],wide:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"]},J0={narrow:{am:"a",pm:"p",midnight:"ge",noon:"eg",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"},abbreviated:{am:"AM",pm:"PM",midnight:"gauerdia",noon:"eguerdia",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"},wide:{am:"a.m.",pm:"p.m.",midnight:"gauerdia",noon:"eguerdia",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"}},B0={narrow:{am:"a",pm:"p",midnight:"ge",noon:"eg",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"},abbreviated:{am:"AM",pm:"PM",midnight:"gauerdia",noon:"eguerdia",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"},wide:{am:"a.m.",pm:"p.m.",midnight:"gauerdia",noon:"eguerdia",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"}},U0={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:q0,defaultWidth:"wide"}),quarter:u({values:G0,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:Q0,defaultWidth:"wide"}),day:u({values:K0,defaultWidth:"wide"}),dayPeriod:u({values:J0,defaultWidth:"wide",formattingValues:B0,defaultFormattingWidth:"wide"})},Z0=/^(\d+)(.)?/i,eT=/\d+/i,tT={narrow:/^(k.a.|k.o.)/i,abbreviated:/^(k.a.|k.o.)/i,wide:/^(kristo aurretik|kristo ondoren)/i},aT={narrow:[/^k.a./i,/^k.o./i],abbreviated:[/^(k.a.)/i,/^(k.o.)/i],wide:[/^(kristo aurretik)/i,/^(kristo ondoren)/i]},nT={narrow:/^[1234]/i,abbreviated:/^[1234]H/i,wide:/^[1234](.)? hiruhilekoa/i},rT={any:[/1/i,/2/i,/3/i,/4/i]},iT={narrow:/^[uomaei]/i,abbreviated:/^(urt|ots|mar|api|mai|eka|uzt|abu|ira|urr|aza|abe)/i,wide:/^(urtarrila|otsaila|martxoa|apirila|maiatza|ekaina|uztaila|abuztua|iraila|urria|azaroa|abendua)/i},oT={narrow:[/^u/i,/^o/i,/^m/i,/^a/i,/^m/i,/^e/i,/^u/i,/^a/i,/^i/i,/^u/i,/^a/i,/^a/i],any:[/^urt/i,/^ots/i,/^mar/i,/^api/i,/^mai/i,/^eka/i,/^uzt/i,/^abu/i,/^ira/i,/^urr/i,/^aza/i,/^abe/i]},sT={narrow:/^[iaol]/i,short:/^(ig|al|as|az|og|or|lr)/i,abbreviated:/^(iga|ast|ast|ast|ost|ost|lar)/i,wide:/^(igandea|astelehena|asteartea|asteazkena|osteguna|ostirala|larunbata)/i},uT={narrow:[/^i/i,/^a/i,/^a/i,/^a/i,/^o/i,/^o/i,/^l/i],short:[/^ig/i,/^al/i,/^as/i,/^az/i,/^og/i,/^or/i,/^lr/i],abbreviated:[/^iga/i,/^ast/i,/^ast/i,/^ast/i,/^ost/i,/^ost/i,/^lar/i],wide:[/^igandea/i,/^astelehena/i,/^asteartea/i,/^asteazkena/i,/^osteguna/i,/^ostirala/i,/^larunbata/i]},dT={narrow:/^(a|p|ge|eg|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i,any:/^([ap]\.?\s?m\.?|gauerdia|eguerdia|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i},cT={narrow:{am:/^a/i,pm:/^p/i,midnight:/^ge/i,noon:/^eg/i,morning:/goiz/i,afternoon:/arratsaldea/i,evening:/arratsaldea/i,night:/gau/i},any:{am:/^a/i,pm:/^p/i,midnight:/^gauerdia/i,noon:/^eguerdia/i,morning:/goiz/i,afternoon:/arratsaldea/i,evening:/arratsaldea/i,night:/gau/i}},lT={ordinalNumber:I({matchPattern:Z0,parsePattern:eT,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:tT,defaultMatchWidth:"wide",parsePatterns:aT,defaultParseWidth:"wide"}),quarter:d({matchPatterns:nT,defaultMatchWidth:"wide",parsePatterns:rT,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:iT,defaultMatchWidth:"wide",parsePatterns:oT,defaultParseWidth:"any"}),day:d({matchPatterns:sT,defaultMatchWidth:"wide",parsePatterns:uT,defaultParseWidth:"wide"}),dayPeriod:d({matchPatterns:dT,defaultMatchWidth:"any",parsePatterns:cT,defaultParseWidth:"any"})},ou={code:"eu",formatDistance:H0,formatLong:L0,formatRelative:Y0,localize:U0,match:lT,options:{weekStartsOn:1,firstWeekContainsDate:1}},mT=Object.freeze(Object.defineProperty({__proto__:null,default:ou,eu:ou},Symbol.toStringTag,{value:"Module"})),hT={lessThanXSeconds:{one:"کمتر از یک ثانیه",other:"کمتر از {{count}} ثانیه"},xSeconds:{one:"1 ثانیه",other:"{{count}} ثانیه"},halfAMinute:"نیم دقیقه",lessThanXMinutes:{one:"کمتر از یک دقیقه",other:"کمتر از {{count}} دقیقه"},xMinutes:{one:"1 دقیقه",other:"{{count}} دقیقه"},aboutXHours:{one:"حدود 1 ساعت",other:"حدود {{count}} ساعت"},xHours:{one:"1 ساعت",other:"{{count}} ساعت"},xDays:{one:"1 روز",other:"{{count}} روز"},aboutXWeeks:{one:"حدود 1 هفته",other:"حدود {{count}} هفته"},xWeeks:{one:"1 هفته",other:"{{count}} هفته"},aboutXMonths:{one:"حدود 1 ماه",other:"حدود {{count}} ماه"},xMonths:{one:"1 ماه",other:"{{count}} ماه"},aboutXYears:{one:"حدود 1 سال",other:"حدود {{count}} سال"},xYears:{one:"1 سال",other:"{{count}} سال"},overXYears:{one:"بیشتر از 1 سال",other:"بیشتر از {{count}} سال"},almostXYears:{one:"نزدیک 1 سال",other:"نزدیک {{count}} سال"}},fT=(e,a,t)=>{let n;const r=hT[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"در "+n:n+" قبل":n},gT={full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"yyyy/MM/dd"},pT={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},bT={full:"{{date}} 'در' {{time}}",long:"{{date}} 'در' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vT={date:m({formats:gT,defaultWidth:"full"}),time:m({formats:pT,defaultWidth:"full"}),dateTime:m({formats:bT,defaultWidth:"full"})},yT={lastWeek:"eeee 'گذشته در' p",yesterday:"'دیروز در' p",today:"'امروز در' p",tomorrow:"'فردا در' p",nextWeek:"eeee 'در' p",other:"P"},wT=(e,a,t,n)=>yT[e],PT={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل از میلاد","بعد از میلاد"]},kT={narrow:["1","2","3","4"],abbreviated:["س‌م1","س‌م2","س‌م3","س‌م4"],wide:["سه‌ماهه 1","سه‌ماهه 2","سه‌ماهه 3","سه‌ماهه 4"]},MT={narrow:["ژ","ف","م","آ","م","ج","ج","آ","س","ا","ن","د"],abbreviated:["ژانـ","فور","مارس","آپر","می","جون","جولـ","آگو","سپتـ","اکتـ","نوامـ","دسامـ"],wide:["ژانویه","فوریه","مارس","آپریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},$T={narrow:["ی","د","س","چ","پ","ج","ش"],short:["1ش","2ش","3ش","4ش","5ش","ج","ش"],abbreviated:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],wide:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},WT={narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},xT={narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},jT={ordinalNumber:(e,a)=>String(e),era:u({values:PT,defaultWidth:"wide"}),quarter:u({values:kT,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:MT,defaultWidth:"wide"}),day:u({values:$T,defaultWidth:"wide"}),dayPeriod:u({values:WT,defaultWidth:"wide",formattingValues:xT,defaultFormattingWidth:"wide"})},ST=/^(\d+)(th|st|nd|rd)?/i,TT=/\d+/i,DT={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,wide:/^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i},ET={any:[/^قبل/i,/^بعد/i]},NT={narrow:/^[1234]/i,abbreviated:/^س‌م[1234]/i,wide:/^سه‌ماهه [1234]/i},CT={any:[/1/i,/2/i,/3/i,/4/i]},zT={narrow:/^[جژفمآاماسند]/i,abbreviated:/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,wide:/^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i},_T={narrow:[/^(ژ|ج)/i,/^ف/i,/^م/i,/^(آ|ا)/i,/^م/i,/^(ژ|ج)/i,/^(ج|ژ)/i,/^(آ|ا)/i,/^س/i,/^ا/i,/^ن/i,/^د/i],any:[/^ژا/i,/^ف/i,/^ما/i,/^آپ/i,/^(می|مه)/i,/^(ژوئن|جون)/i,/^(ژوئی|جول)/i,/^(اوت|آگ)/i,/^س/i,/^(اوک|اک)/i,/^ن/i,/^د/i]},OT={narrow:/^[شیدسچپج]/i,short:/^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,abbreviated:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i,wide:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i},VT={narrow:[/^ی/i,/^دو/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^(ی|1ش|یکشنبه)/i,/^(د|2ش|دوشنبه)/i,/^(س|3ش|سه‌شنبه)/i,/^(چ|4ش|چهارشنبه)/i,/^(پ|5ش|پنجشنبه)/i,/^(ج|جمعه)/i,/^(ش|شنبه)/i]},HT={narrow:/^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,abbreviated:/^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i,wide:/^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i},IT={any:{am:/^(ق|ق.ظ.|قبل‌ازظهر)/i,pm:/^(ب|ب.ظ.|بعدازظهر)/i,midnight:/^(‌نیمه‌شب|ن)/i,noon:/^(ظ|ظهر)/i,morning:/(ص|صبح)/i,afternoon:/(ب|ب.ظ.|بعدازظهر)/i,evening:/(ع|عصر)/i,night:/(ش|شب)/i}},FT={ordinalNumber:I({matchPattern:ST,parsePattern:TT,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:DT,defaultMatchWidth:"wide",parsePatterns:ET,defaultParseWidth:"any"}),quarter:d({matchPatterns:NT,defaultMatchWidth:"wide",parsePatterns:CT,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:zT,defaultMatchWidth:"wide",parsePatterns:_T,defaultParseWidth:"any"}),day:d({matchPatterns:OT,defaultMatchWidth:"wide",parsePatterns:VT,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:HT,defaultMatchWidth:"wide",parsePatterns:IT,defaultParseWidth:"any"})},su={code:"fa-IR",formatDistance:fT,formatLong:vT,formatRelative:wT,localize:jT,match:FT,options:{weekStartsOn:6,firstWeekContainsDate:1}},AT=Object.freeze(Object.defineProperty({__proto__:null,default:su,faIR:su},Symbol.toStringTag,{value:"Module"}));function uu(e){return e.replace(/sekuntia?/,"sekunnin")}function du(e){return e.replace(/minuuttia?/,"minuutin")}function cu(e){return e.replace(/tuntia?/,"tunnin")}function LT(e){return e.replace(/päivää?/,"päivän")}function lu(e){return e.replace(/(viikko|viikkoa)/,"viikon")}function mu(e){return e.replace(/(kuukausi|kuukautta)/,"kuukauden")}function Pn(e){return e.replace(/(vuosi|vuotta)/,"vuoden")}const XT={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:uu},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:uu},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:e=>"puolen minuutin"},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:du},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:du},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:cu},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:cu},xDays:{one:"päivä",other:"{{count}} päivää",futureTense:LT},aboutXWeeks:{one:"noin viikko",other:"noin {{count}} viikkoa",futureTense:lu},xWeeks:{one:"viikko",other:"{{count}} viikkoa",futureTense:lu},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:mu},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:mu},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:Pn},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:Pn},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:Pn},almostXYears:{one:"lähes vuosi",other:"lähes {{count}} vuotta",futureTense:Pn}},RT=(e,a,t)=>{const n=XT[e],r=a===1?n.one:n.other.replace("{{count}}",String(a));return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n.futureTense(r)+" kuluttua":r+" sitten":r},YT={full:"eeee d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"d.M.y"},qT={full:"HH.mm.ss zzzz",long:"HH.mm.ss z",medium:"HH.mm.ss",short:"HH.mm"},GT={full:"{{date}} 'klo' {{time}}",long:"{{date}} 'klo' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},QT={date:m({formats:YT,defaultWidth:"full"}),time:m({formats:qT,defaultWidth:"full"}),dateTime:m({formats:GT,defaultWidth:"full"})},KT={lastWeek:"'viime' eeee 'klo' p",yesterday:"'eilen klo' p",today:"'tänään klo' p",tomorrow:"'huomenna klo' p",nextWeek:"'ensi' eeee 'klo' p",other:"P"},JT=(e,a,t,n)=>KT[e],BT={narrow:["eaa.","jaa."],abbreviated:["eaa.","jaa."],wide:["ennen ajanlaskun alkua","jälkeen ajanlaskun alun"]},UT={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartaali","2. kvartaali","3. kvartaali","4. kvartaali"]},jr={narrow:["T","H","M","H","T","K","H","E","S","L","M","J"],abbreviated:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],wide:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]},ZT={narrow:jr.narrow,abbreviated:jr.abbreviated,wide:["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kesäkuuta","heinäkuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]},kn={narrow:["S","M","T","K","T","P","L"],short:["su","ma","ti","ke","to","pe","la"],abbreviated:["sunn.","maan.","tiis.","kesk.","torst.","perj.","la"],wide:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},eD={narrow:kn.narrow,short:kn.short,abbreviated:kn.abbreviated,wide:["sunnuntaina","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"]},tD={narrow:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},abbreviated:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},wide:{am:"ap",pm:"ip",midnight:"keskiyöllä",noon:"keskipäivällä",morning:"aamupäivällä",afternoon:"iltapäivällä",evening:"illalla",night:"yöllä"}},aD={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:BT,defaultWidth:"wide"}),quarter:u({values:UT,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:jr,defaultWidth:"wide",formattingValues:ZT,defaultFormattingWidth:"wide"}),day:u({values:kn,defaultWidth:"wide",formattingValues:eD,defaultFormattingWidth:"wide"}),dayPeriod:u({values:tD,defaultWidth:"wide"})},nD=/^(\d+)(\.)/i,rD=/\d+/i,iD={narrow:/^(e|j)/i,abbreviated:/^(eaa.|jaa.)/i,wide:/^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i},oD={any:[/^e/i,/^j/i]},sD={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\.? kvartaali/i},uD={any:[/1/i,/2/i,/3/i,/4/i]},dD={narrow:/^[thmkeslj]/i,abbreviated:/^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,wide:/^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i},cD={narrow:[/^t/i,/^h/i,/^m/i,/^h/i,/^t/i,/^k/i,/^h/i,/^e/i,/^s/i,/^l/i,/^m/i,/^j/i],any:[/^ta/i,/^hel/i,/^maa/i,/^hu/i,/^to/i,/^k/i,/^hei/i,/^e/i,/^s/i,/^l/i,/^mar/i,/^j/i]},lD={narrow:/^[smtkpl]/i,short:/^(su|ma|ti|ke|to|pe|la)/i,abbreviated:/^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,wide:/^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i},mD={narrow:[/^s/i,/^m/i,/^t/i,/^k/i,/^t/i,/^p/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^k/i,/^to/i,/^p/i,/^l/i]},hD={narrow:/^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,any:/^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i},fD={any:{am:/^ap/i,pm:/^ip/i,midnight:/^keskiyö/i,noon:/^keskipäivä/i,morning:/aamupäivällä/i,afternoon:/iltapäivällä/i,evening:/illalla/i,night:/yöllä/i}},gD={ordinalNumber:I({matchPattern:nD,parsePattern:rD,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:iD,defaultMatchWidth:"wide",parsePatterns:oD,defaultParseWidth:"any"}),quarter:d({matchPatterns:sD,defaultMatchWidth:"wide",parsePatterns:uD,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:dD,defaultMatchWidth:"wide",parsePatterns:cD,defaultParseWidth:"any"}),day:d({matchPatterns:lD,defaultMatchWidth:"wide",parsePatterns:mD,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:hD,defaultMatchWidth:"any",parsePatterns:fD,defaultParseWidth:"any"})},hu={code:"fi",formatDistance:RT,formatLong:QT,formatRelative:JT,localize:aD,match:gD,options:{weekStartsOn:1,firstWeekContainsDate:4}},pD=Object.freeze(Object.defineProperty({__proto__:null,default:hu,fi:hu},Symbol.toStringTag,{value:"Module"})),bD={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},Sr=(e,a,t)=>{let n;const r=bD[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"dans "+n:"il y a "+n:n},vD={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},fu=(e,a,t,n)=>vD[e],yD={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},wD={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},PD={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},kD={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},MD={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},$D=(e,a)=>{const t=Number(e),n=a==null?void 0:a.unit;if(t===0)return"0";const r=["year","week","hour","minute","second"];let i;return t===1?i=n&&r.includes(n)?"ère":"er":i="ème",t+i},WD=["MMM","MMMM"],Tr={preprocessor:(e,a)=>e.getDate()===1||!a.some(n=>n.isToken&&WD.includes(n.value))?a:a.map(n=>n.isToken&&n.value==="do"?{isToken:!0,value:"d"}:n),ordinalNumber:$D,era:u({values:yD,defaultWidth:"wide"}),quarter:u({values:wD,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:PD,defaultWidth:"wide"}),day:u({values:kD,defaultWidth:"wide"}),dayPeriod:u({values:MD,defaultWidth:"wide"})},xD=/^(\d+)(ième|ère|ème|er|e)?/i,jD=/\d+/i,SD={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},TD={any:[/^av/i,/^ap/i]},DD={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},ED={any:[/1/i,/2/i,/3/i,/4/i]},ND={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},CD={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,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},zD={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},_D={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},OD={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},VD={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},Dr={ordinalNumber:I({matchPattern:xD,parsePattern:jD,valueCallback:e=>parseInt(e)}),era:d({matchPatterns:SD,defaultMatchWidth:"wide",parsePatterns:TD,defaultParseWidth:"any"}),quarter:d({matchPatterns:DD,defaultMatchWidth:"wide",parsePatterns:ED,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:ND,defaultMatchWidth:"wide",parsePatterns:CD,defaultParseWidth:"any"}),day:d({matchPatterns:zD,defaultMatchWidth:"wide",parsePatterns:_D,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:OD,defaultMatchWidth:"any",parsePatterns:VD,defaultParseWidth:"any"})},HD={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"yy-MM-dd"},ID={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},FD={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},AD={date:m({formats:HD,defaultWidth:"full"}),time:m({formats:ID,defaultWidth:"full"}),dateTime:m({formats:FD,defaultWidth:"full"})},gu={code:"fr-CA",formatDistance:Sr,formatLong:AD,formatRelative:fu,localize:Tr,match:Dr,options:{weekStartsOn:0,firstWeekContainsDate:1}},LD=Object.freeze(Object.defineProperty({__proto__:null,default:gu,frCA:gu},Symbol.toStringTag,{value:"Module"})),XD={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},RD={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},YD={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qD={date:m({formats:XD,defaultWidth:"full"}),time:m({formats:RD,defaultWidth:"full"}),dateTime:m({formats:YD,defaultWidth:"full"})},GD={lastWeek:"eeee 'la semaine dernière à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'la semaine prochaine à' p",other:"P"},pu={code:"fr-CH",formatDistance:Sr,formatLong:qD,formatRelative:(e,a,t,n)=>GD[e],localize:Tr,match:Dr,options:{weekStartsOn:1,firstWeekContainsDate:4}},QD=Object.freeze(Object.defineProperty({__proto__:null,default:pu,frCH:pu},Symbol.toStringTag,{value:"Module"})),KD={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},JD={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},BD={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},UD={date:m({formats:KD,defaultWidth:"full"}),time:m({formats:JD,defaultWidth:"full"}),dateTime:m({formats:BD,defaultWidth:"full"})},bu={code:"fr",formatDistance:Sr,formatLong:UD,formatRelative:fu,localize:Tr,match:Dr,options:{weekStartsOn:1,firstWeekContainsDate:4}},ZD=Object.freeze(Object.defineProperty({__proto__:null,default:bu,fr:bu},Symbol.toStringTag,{value:"Module"})),eE={lessThanXSeconds:{one:"minder as 1 sekonde",other:"minder as {{count}} sekonden"},xSeconds:{one:"1 sekonde",other:"{{count}} sekonden"},halfAMinute:"oardel minút",lessThanXMinutes:{one:"minder as 1 minút",other:"minder as {{count}} minuten"},xMinutes:{one:"1 minút",other:"{{count}} minuten"},aboutXHours:{one:"sawat 1 oere",other:"sawat {{count}} oere"},xHours:{one:"1 oere",other:"{{count}} oere"},xDays:{one:"1 dei",other:"{{count}} dagen"},aboutXWeeks:{one:"sawat 1 wike",other:"sawat {{count}} wiken"},xWeeks:{one:"1 wike",other:"{{count}} wiken"},aboutXMonths:{one:"sawat 1 moanne",other:"sawat {{count}} moannen"},xMonths:{one:"1 moanne",other:"{{count}} moannen"},aboutXYears:{one:"sawat 1 jier",other:"sawat {{count}} jier"},xYears:{one:"1 jier",other:"{{count}} jier"},overXYears:{one:"mear as 1 jier",other:"mear as {{count}}s jier"},almostXYears:{one:"hast 1 jier",other:"hast {{count}} jier"}},tE=(e,a,t)=>{let n;const r=eE[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"oer "+n:n+" lyn":n},aE={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},nE={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},rE={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},iE={date:m({formats:aE,defaultWidth:"full"}),time:m({formats:nE,defaultWidth:"full"}),dateTime:m({formats:rE,defaultWidth:"full"})},oE={lastWeek:"'ôfrûne' eeee 'om' p",yesterday:"'juster om' p",today:"'hjoed om' p",tomorrow:"'moarn om' p",nextWeek:"eeee 'om' p",other:"P"},sE=(e,a,t,n)=>oE[e],uE={narrow:["f.K.","n.K."],abbreviated:["f.Kr.","n.Kr."],wide:["foar Kristus","nei Kristus"]},dE={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e fearnsjier","2e fearnsjier","3e fearnsjier","4e fearnsjier"]},cE={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan.","feb.","mrt.","apr.","mai.","jun.","jul.","aug.","sep.","okt.","nov.","des."],wide:["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber"]},lE={narrow:["s","m","t","w","t","f","s"],short:["si","mo","ti","wo","to","fr","so"],abbreviated:["snein","moa","tii","woa","ton","fre","sneon"],wide:["snein","moandei","tiisdei","woansdei","tongersdei","freed","sneon"]},mE={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"middei",morning:"moarns",afternoon:"middeis",evening:"jûns",night:"nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"middei",morning:"moarns",afternoon:"middeis",evening:"jûns",night:"nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"middei",morning:"moarns",afternoon:"middeis",evening:"jûns",night:"nachts"}},hE={ordinalNumber:(e,a)=>Number(e)+"e",era:u({values:uE,defaultWidth:"wide"}),quarter:u({values:dE,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:cE,defaultWidth:"wide"}),day:u({values:lE,defaultWidth:"wide"}),dayPeriod:u({values:mE,defaultWidth:"wide"})},fE=/^(\d+)e?/i,gE=/\d+/i,pE={narrow:/^([fn]\.? ?K\.?)/,abbreviated:/^([fn]\. ?Kr\.?)/,wide:/^((foar|nei) Kristus)/},bE={any:[/^f/,/^n/]},vE={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e fearnsjier/i},yE={any:[/1/i,/2/i,/3/i,/4/i]},wE={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mai.|jun.|jul.|aug.|sep.|okt.|nov.|des.)/i,wide:/^(jannewaris|febrewaris|maart|april|maaie|juny|july|augustus|septimber|oktober|novimber|desimber)/i},PE={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:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^des/i]},kE={narrow:/^[smtwf]/i,short:/^(si|mo|ti|wo|to|fr|so)/i,abbreviated:/^(snein|moa|tii|woa|ton|fre|sneon)/i,wide:/^(snein|moandei|tiisdei|woansdei|tongersdei|freed|sneon)/i},ME={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^sn/i,/^mo/i,/^ti/i,/^wo/i,/^to/i,/^fr/i,/^sn/i]},$E={any:/^(am|pm|middernacht|middeis|moarns|middei|jûns|nachts)/i},WE={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^middei/i,morning:/moarns/i,afternoon:/^middeis/i,evening:/jûns/i,night:/nachts/i}},xE={ordinalNumber:I({matchPattern:fE,parsePattern:gE,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:pE,defaultMatchWidth:"wide",parsePatterns:bE,defaultParseWidth:"any"}),quarter:d({matchPatterns:vE,defaultMatchWidth:"wide",parsePatterns:yE,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:wE,defaultMatchWidth:"wide",parsePatterns:PE,defaultParseWidth:"any"}),day:d({matchPatterns:kE,defaultMatchWidth:"wide",parsePatterns:ME,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:$E,defaultMatchWidth:"any",parsePatterns:WE,defaultParseWidth:"any"})},vu={code:"fy",formatDistance:tE,formatLong:iE,formatRelative:sE,localize:hE,match:xE,options:{weekStartsOn:1,firstWeekContainsDate:4}},jE=Object.freeze(Object.defineProperty({__proto__:null,default:vu,fy:vu},Symbol.toStringTag,{value:"Module"})),SE={lessThanXSeconds:{one:"nas lugha na diog",other:"nas lugha na {{count}} diogan"},xSeconds:{one:"1 diog",two:"2 dhiog",twenty:"20 diog",other:"{{count}} diogan"},halfAMinute:"leth mhionaid",lessThanXMinutes:{one:"nas lugha na mionaid",other:"nas lugha na {{count}} mionaidean"},xMinutes:{one:"1 mionaid",two:"2 mhionaid",twenty:"20 mionaid",other:"{{count}} mionaidean"},aboutXHours:{one:"mu uair de thìde",other:"mu {{count}} uairean de thìde"},xHours:{one:"1 uair de thìde",two:"2 uair de thìde",twenty:"20 uair de thìde",other:"{{count}} uairean de thìde"},xDays:{one:"1 là",other:"{{count}} là"},aboutXWeeks:{one:"mu 1 seachdain",other:"mu {{count}} seachdainean"},xWeeks:{one:"1 seachdain",other:"{{count}} seachdainean"},aboutXMonths:{one:"mu mhìos",other:"mu {{count}} mìosan"},xMonths:{one:"1 mìos",other:"{{count}} mìosan"},aboutXYears:{one:"mu bhliadhna",other:"mu {{count}} bliadhnaichean"},xYears:{one:"1 bhliadhna",other:"{{count}} bliadhna"},overXYears:{one:"còrr is bliadhna",other:"còrr is {{count}} bliadhnaichean"},almostXYears:{one:"cha mhòr bliadhna",other:"cha mhòr {{count}} bliadhnaichean"}},TE=(e,a,t)=>{let n;const r=SE[e];return typeof r=="string"?n=r:a===1?n=r.one:a===2&&r.two?n=r.two:a===20&&r.twenty?n=r.twenty:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"ann an "+n:"o chionn "+n:n},DE={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},EE={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},NE={full:"{{date}} 'aig' {{time}}",long:"{{date}} 'aig' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},CE={date:m({formats:DE,defaultWidth:"full"}),time:m({formats:EE,defaultWidth:"full"}),dateTime:m({formats:NE,defaultWidth:"full"})},zE={lastWeek:"'mu dheireadh' eeee 'aig' p",yesterday:"'an-dè aig' p",today:"'an-diugh aig' p",tomorrow:"'a-màireach aig' p",nextWeek:"eeee 'aig' p",other:"P"},_E=(e,a,t,n)=>zE[e],OE={narrow:["R","A"],abbreviated:["RC","AD"],wide:["ro Chrìosta","anno domini"]},VE={narrow:["1","2","3","4"],abbreviated:["C1","C2","C3","C4"],wide:["a' chiad chairteal","an dàrna cairteal","an treas cairteal","an ceathramh cairteal"]},HE={narrow:["F","G","M","G","C","Ò","I","L","S","D","S","D"],abbreviated:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],wide:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"]},IE={narrow:["D","L","M","C","A","H","S"],short:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],abbreviated:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],wide:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"]},FE={narrow:{am:"m",pm:"f",midnight:"m.o.",noon:"m.l.",morning:"madainn",afternoon:"feasgar",evening:"feasgar",night:"oidhche"},abbreviated:{am:"M.",pm:"F.",midnight:"meadhan oidhche",noon:"meadhan là",morning:"madainn",afternoon:"feasgar",evening:"feasgar",night:"oidhche"},wide:{am:"m.",pm:"f.",midnight:"meadhan oidhche",noon:"meadhan là",morning:"madainn",afternoon:"feasgar",evening:"feasgar",night:"oidhche"}},AE={narrow:{am:"m",pm:"f",midnight:"m.o.",noon:"m.l.",morning:"sa mhadainn",afternoon:"feasgar",evening:"feasgar",night:"air an oidhche"},abbreviated:{am:"M.",pm:"F.",midnight:"meadhan oidhche",noon:"meadhan là",morning:"sa mhadainn",afternoon:"feasgar",evening:"feasgar",night:"air an oidhche"},wide:{am:"m.",pm:"f.",midnight:"meadhan oidhche",noon:"meadhan là",morning:"sa mhadainn",afternoon:"feasgar",evening:"feasgar",night:"air an oidhche"}},LE={ordinalNumber:e=>{const a=Number(e),t=a%100;if(t>20||t<10)switch(t%10){case 1:return a+"d";case 2:return a+"na"}return t===12?a+"na":a+"mh"},era:u({values:OE,defaultWidth:"wide"}),quarter:u({values:VE,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:HE,defaultWidth:"wide"}),day:u({values:IE,defaultWidth:"wide"}),dayPeriod:u({values:FE,defaultWidth:"wide",formattingValues:AE,defaultFormattingWidth:"wide"})},XE=/^(\d+)(d|na|tr|mh)?/i,RE=/\d+/i,YE={narrow:/^(r|a)/i,abbreviated:/^(r\.?\s?c\.?|r\.?\s?a\.?\s?c\.?|a\.?\s?d\.?|a\.?\s?c\.?)/i,wide:/^(ro Chrìosta|ron aois choitchinn|anno domini|aois choitcheann)/i},qE={any:[/^b/i,/^(a|c)/i]},GE={narrow:/^[1234]/i,abbreviated:/^c[1234]/i,wide:/^[1234](cd|na|tr|mh)? cairteal/i},QE={any:[/1/i,/2/i,/3/i,/4/i]},KE={narrow:/^[fgmcòilsd]/i,abbreviated:/^(faoi|gear|màrt|gibl|cèit|ògmh|iuch|lùn|sult|dàmh|samh|dùbh)/i,wide:/^(am faoilleach|an gearran|am màrt|an giblean|an cèitean|an t-Ògmhios|an t-Iuchar|an lùnastal|an t-Sultain|an dàmhair|an t-Samhain|an dùbhlachd)/i},JE={narrow:[/^f/i,/^g/i,/^m/i,/^g/i,/^c/i,/^ò/i,/^i/i,/^l/i,/^s/i,/^d/i,/^s/i,/^d/i],any:[/^fa/i,/^ge/i,/^mà/i,/^gi/i,/^c/i,/^ò/i,/^i/i,/^l/i,/^su/i,/^d/i,/^sa/i,/^d/i]},BE={narrow:/^[dlmcahs]/i,short:/^(dò|lu|mà|ci|ar|ha|sa)/i,abbreviated:/^(did|dil|dim|dic|dia|dih|dis)/i,wide:/^(didòmhnaich|diluain|dimàirt|diciadain|diardaoin|dihaoine|disathairne)/i},UE={narrow:[/^d/i,/^l/i,/^m/i,/^c/i,/^a/i,/^h/i,/^s/i],any:[/^d/i,/^l/i,/^m/i,/^c/i,/^a/i,/^h/i,/^s/i]},ZE={narrow:/^(a|p|mi|n|(san|aig) (madainn|feasgar|feasgar|oidhche))/i,any:/^([ap]\.?\s?m\.?|meadhan oidhche|meadhan là|(san|aig) (madainn|feasgar|feasgar|oidhche))/i},eN={any:{am:/^m/i,pm:/^f/i,midnight:/^meadhan oidhche/i,noon:/^meadhan là/i,morning:/sa mhadainn/i,afternoon:/feasgar/i,evening:/feasgar/i,night:/air an oidhche/i}},tN={ordinalNumber:I({matchPattern:XE,parsePattern:RE,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:YE,defaultMatchWidth:"wide",parsePatterns:qE,defaultParseWidth:"any"}),quarter:d({matchPatterns:GE,defaultMatchWidth:"wide",parsePatterns:QE,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:KE,defaultMatchWidth:"wide",parsePatterns:JE,defaultParseWidth:"any"}),day:d({matchPatterns:BE,defaultMatchWidth:"wide",parsePatterns:UE,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:ZE,defaultMatchWidth:"any",parsePatterns:eN,defaultParseWidth:"any"})},yu={code:"gd",formatDistance:TE,formatLong:CE,formatRelative:_E,localize:LE,match:tN,options:{weekStartsOn:0,firstWeekContainsDate:1}},aN=Object.freeze(Object.defineProperty({__proto__:null,default:yu,gd:yu},Symbol.toStringTag,{value:"Module"})),nN={lessThanXSeconds:{one:"menos dun segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos dun minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"arredor dunha hora",other:"arredor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"arredor dunha semana",other:"arredor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"arredor de 1 mes",other:"arredor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"arredor dun ano",other:"arredor de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"máis dun ano",other:"máis de {{count}} anos"},almostXYears:{one:"case un ano",other:"case {{count}} anos"}},rN=(e,a,t)=>{let n;const r=nN[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"en "+n:"hai "+n:n},iN={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},oN={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},sN={full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},uN={date:m({formats:iN,defaultWidth:"full"}),time:m({formats:oN,defaultWidth:"full"}),dateTime:m({formats:sN,defaultWidth:"full"})},dN={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},cN={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"},lN=(e,a,t,n)=>a.getHours()!==1?cN[e]:dN[e],mN={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},hN={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},fN={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["xan","feb","mar","abr","mai","xun","xul","ago","set","out","nov","dec"],wide:["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro"]},gN={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","me","xo","ve","sa"],abbreviated:["dom","lun","mar","mer","xov","ven","sab"],wide:["domingo","luns","martes","mércores","xoves","venres","sábado"]},pN={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañá",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"}},bN={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"}},vN={ordinalNumber:(e,a)=>Number(e)+"º",era:u({values:mN,defaultWidth:"wide"}),quarter:u({values:hN,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:fN,defaultWidth:"wide"}),day:u({values:gN,defaultWidth:"wide"}),dayPeriod:u({values:pN,defaultWidth:"wide",formattingValues:bN,defaultFormattingWidth:"wide"})},yN=/^(\d+)(º)?/i,wN=/\d+/i,PN={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i},kN={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},MN={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},$N={any:[/1/i,/2/i,/3/i,/4/i]},WN={narrow:/^[xfmasond]/i,abbreviated:/^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,wide:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i},xN={narrow:[/^x/i,/^f/i,/^m/i,/^a/i,/^m/i,/^x/i,/^x/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xun/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i]},jN={narrow:/^[dlmxvs]/i,short:/^(do|lu|ma|me|xo|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|xov|ven|sab)/i,wide:/^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i},SN={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^x/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^me/i,/^xo/i,/^ve/i,/^sa/i]},TN={narrow:/^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i},DN={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañ[aá]/i,afternoon:/tarde/i,evening:/tardiña/i,night:/noite/i}},EN={ordinalNumber:I({matchPattern:yN,parsePattern:wN,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:PN,defaultMatchWidth:"wide",parsePatterns:kN,defaultParseWidth:"any"}),quarter:d({matchPatterns:MN,defaultMatchWidth:"wide",parsePatterns:$N,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:WN,defaultMatchWidth:"wide",parsePatterns:xN,defaultParseWidth:"any"}),day:d({matchPatterns:jN,defaultMatchWidth:"wide",parsePatterns:SN,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:TN,defaultMatchWidth:"any",parsePatterns:DN,defaultParseWidth:"any"})},wu={code:"gl",formatDistance:rN,formatLong:uN,formatRelative:lN,localize:vN,match:EN,options:{weekStartsOn:1,firstWeekContainsDate:1}},NN=Object.freeze(Object.defineProperty({__proto__:null,default:wu,gl:wu},Symbol.toStringTag,{value:"Module"})),CN={lessThanXSeconds:{one:"હમણાં",other:"​આશરે {{count}} સેકંડ"},xSeconds:{one:"1 સેકંડ",other:"{{count}} સેકંડ"},halfAMinute:"અડધી મિનિટ",lessThanXMinutes:{one:"આ મિનિટ",other:"​આશરે {{count}} મિનિટ"},xMinutes:{one:"1 મિનિટ",other:"{{count}} મિનિટ"},aboutXHours:{one:"​આશરે 1 કલાક",other:"​આશરે {{count}} કલાક"},xHours:{one:"1 કલાક",other:"{{count}} કલાક"},xDays:{one:"1 દિવસ",other:"{{count}} દિવસ"},aboutXWeeks:{one:"આશરે 1 અઠવાડિયું",other:"આશરે {{count}} અઠવાડિયા"},xWeeks:{one:"1 અઠવાડિયું",other:"{{count}} અઠવાડિયા"},aboutXMonths:{one:"આશરે 1 મહિનો",other:"આશરે {{count}} મહિના"},xMonths:{one:"1 મહિનો",other:"{{count}} મહિના"},aboutXYears:{one:"આશરે 1 વર્ષ",other:"આશરે {{count}} વર્ષ"},xYears:{one:"1 વર્ષ",other:"{{count}} વર્ષ"},overXYears:{one:"1 વર્ષથી વધુ",other:"{{count}} વર્ષથી વધુ"},almostXYears:{one:"લગભગ 1 વર્ષ",other:"લગભગ {{count}} વર્ષ"}},zN=(e,a,t)=>{let n;const r=CN[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+"માં":n+" પહેલાં":n},_N={full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},ON={full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},VN={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},HN={date:m({formats:_N,defaultWidth:"full"}),time:m({formats:ON,defaultWidth:"full"}),dateTime:m({formats:VN,defaultWidth:"full"})},IN={lastWeek:"'પાછલા' eeee p",yesterday:"'ગઈકાલે' p",today:"'આજે' p",tomorrow:"'આવતીકાલે' p",nextWeek:"eeee p",other:"P"},FN=(e,a,t,n)=>IN[e],AN={narrow:["ઈસપૂ","ઈસ"],abbreviated:["ઈ.સ.પૂર્વે","ઈ.સ."],wide:["ઈસવીસન પૂર્વે","ઈસવીસન"]},LN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1લો ત્રિમાસ","2જો ત્રિમાસ","3જો ત્રિમાસ","4થો ત્રિમાસ"]},XN={narrow:["જા","ફે","મા","એ","મે","જૂ","જુ","ઓ","સ","ઓ","ન","ડિ"],abbreviated:["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઓક્ટો","નવે","ડિસે"],wide:["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઇ","ઓગસ્ટ","સપ્ટેમ્બર","ઓક્ટોબર","નવેમ્બર","ડિસેમ્બર"]},RN={narrow:["ર","સો","મં","બુ","ગુ","શુ","શ"],short:["ર","સો","મં","બુ","ગુ","શુ","શ"],abbreviated:["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"],wide:["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"]},YN={narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બ.",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},qN={narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},GN={ordinalNumber:(e,a)=>String(e),era:u({values:AN,defaultWidth:"wide"}),quarter:u({values:LN,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:XN,defaultWidth:"wide"}),day:u({values:RN,defaultWidth:"wide"}),dayPeriod:u({values:YN,defaultWidth:"wide",formattingValues:qN,defaultFormattingWidth:"wide"})},QN=/^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i,KN=/\d+/i,JN={narrow:/^(ઈસપૂ|ઈસ)/i,abbreviated:/^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i,wide:/^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i},BN={any:[/^ઈસપૂ/i,/^ઈસ/i]},UN={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](લો|જો|થો)? ત્રિમાસ/i},ZN={any:[/1/i,/2/i,/3/i,/4/i]},eC={narrow:/^[જાફેમાએમેજૂજુઓસઓનડિ]/i,abbreviated:/^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i,wide:/^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i},tC={narrow:[/^જા/i,/^ફે/i,/^મા/i,/^એ/i,/^મે/i,/^જૂ/i,/^જુ/i,/^ઑગ/i,/^સ/i,/^ઓક્ટો/i,/^ન/i,/^ડિ/i],any:[/^જા/i,/^ફે/i,/^મા/i,/^એ/i,/^મે/i,/^જૂ/i,/^જુ/i,/^ઑગ/i,/^સ/i,/^ઓક્ટો/i,/^ન/i,/^ડિ/i]},aC={narrow:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,short:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,abbreviated:/^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i,wide:/^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i},nC={narrow:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i],any:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i]},rC={narrow:/^(a|p|મ\.?|સ|બ|સાં|રા)/i,any:/^(a|p|મ\.?|સ|બ|સાં|રા)/i},iC={any:{am:/^a/i,pm:/^p/i,midnight:/^મ\.?/i,noon:/^બ/i,morning:/સ/i,afternoon:/બ/i,evening:/સાં/i,night:/રા/i}},oC={ordinalNumber:I({matchPattern:QN,parsePattern:KN,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:JN,defaultMatchWidth:"wide",parsePatterns:BN,defaultParseWidth:"any"}),quarter:d({matchPatterns:UN,defaultMatchWidth:"wide",parsePatterns:ZN,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:eC,defaultMatchWidth:"wide",parsePatterns:tC,defaultParseWidth:"any"}),day:d({matchPatterns:aC,defaultMatchWidth:"wide",parsePatterns:nC,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:rC,defaultMatchWidth:"any",parsePatterns:iC,defaultParseWidth:"any"})},Pu={code:"gu",formatDistance:zN,formatLong:HN,formatRelative:FN,localize:GN,match:oC,options:{weekStartsOn:1,firstWeekContainsDate:4}},sC=Object.freeze(Object.defineProperty({__proto__:null,default:Pu,gu:Pu},Symbol.toStringTag,{value:"Module"})),uC={lessThanXSeconds:{one:"פחות משנייה",two:"פחות משתי שניות",other:"פחות מ־{{count}} שניות"},xSeconds:{one:"שנייה",two:"שתי שניות",other:"{{count}} שניות"},halfAMinute:"חצי דקה",lessThanXMinutes:{one:"פחות מדקה",two:"פחות משתי דקות",other:"פחות מ־{{count}} דקות"},xMinutes:{one:"דקה",two:"שתי דקות",other:"{{count}} דקות"},aboutXHours:{one:"כשעה",two:"כשעתיים",other:"כ־{{count}} שעות"},xHours:{one:"שעה",two:"שעתיים",other:"{{count}} שעות"},xDays:{one:"יום",two:"יומיים",other:"{{count}} ימים"},aboutXWeeks:{one:"כשבוע",two:"כשבועיים",other:"כ־{{count}} שבועות"},xWeeks:{one:"שבוע",two:"שבועיים",other:"{{count}} שבועות"},aboutXMonths:{one:"כחודש",two:"כחודשיים",other:"כ־{{count}} חודשים"},xMonths:{one:"חודש",two:"חודשיים",other:"{{count}} חודשים"},aboutXYears:{one:"כשנה",two:"כשנתיים",other:"כ־{{count}} שנים"},xYears:{one:"שנה",two:"שנתיים",other:"{{count}} שנים"},overXYears:{one:"יותר משנה",two:"יותר משנתיים",other:"יותר מ־{{count}} שנים"},almostXYears:{one:"כמעט שנה",two:"כמעט שנתיים",other:"כמעט {{count}} שנים"}},dC=(e,a,t)=>{if(e==="xDays"&&(t!=null&&t.addSuffix)&&a<=2)return t.comparison&&t.comparison>0?a===1?"מחר":"מחרתיים":a===1?"אתמול":"שלשום";let n;const r=uC[e];return typeof r=="string"?n=r:a===1?n=r.one:a===2?n=r.two:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"בעוד "+n:"לפני "+n:n},cC={full:"EEEE, d בMMMM y",long:"d בMMMM y",medium:"d בMMM y",short:"d.M.y"},lC={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},mC={full:"{{date}} 'בשעה' {{time}}",long:"{{date}} 'בשעה' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},hC={date:m({formats:cC,defaultWidth:"full"}),time:m({formats:lC,defaultWidth:"full"}),dateTime:m({formats:mC,defaultWidth:"full"})},fC={lastWeek:"eeee 'שעבר בשעה' p",yesterday:"'אתמול בשעה' p",today:"'היום בשעה' p",tomorrow:"'מחר בשעה' p",nextWeek:"eeee 'בשעה' p",other:"P"},gC=(e,a,t,n)=>fC[e],pC={narrow:["לפנה״ס","לספירה"],abbreviated:["לפנה״ס","לספירה"],wide:["לפני הספירה","לספירה"]},bC={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["רבעון 1","רבעון 2","רבעון 3","רבעון 4"]},vC={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"],wide:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"]},yC={narrow:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],short:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],abbreviated:["יום א׳","יום ב׳","יום ג׳","יום ד׳","יום ה׳","יום ו׳","שבת"],wide:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","יום שבת"]},wC={narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"}},PC={narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"בצהריים",evening:"בערב",night:"בלילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"}},kC={ordinalNumber:(e,a)=>{const t=Number(e);if(t<=0||t>10)return String(t);const n=String(a==null?void 0:a.unit),r=["year","hour","minute","second"].indexOf(n)>=0,i=["ראשון","שני","שלישי","רביעי","חמישי","שישי","שביעי","שמיני","תשיעי","עשירי"],o=["ראשונה","שנייה","שלישית","רביעית","חמישית","שישית","שביעית","שמינית","תשיעית","עשירית"],c=t-1;return r?o[c]:i[c]},era:u({values:pC,defaultWidth:"wide"}),quarter:u({values:bC,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:vC,defaultWidth:"wide"}),day:u({values:yC,defaultWidth:"wide"}),dayPeriod:u({values:wC,defaultWidth:"wide",formattingValues:PC,defaultFormattingWidth:"wide"})},MC=/^(\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i,$C=/^(\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|ע)/i,WC={narrow:/^ל(ספירה|פנה״ס)/i,abbreviated:/^ל(ספירה|פנה״ס)/i,wide:/^ל(פני ה)?ספירה/i},xC={any:[/^לפ/i,/^לס/i]},jC={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^רבעון [1234]/i},SC={any:[/1/i,/2/i,/3/i,/4/i]},TC={narrow:/^\d+/i,abbreviated:/^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i,wide:/^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i},DC={narrow:[/^1$/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ינ/i,/^פ/i,/^מר/i,/^אפ/i,/^מא/i,/^יונ/i,/^יול/i,/^אוג/i,/^ס/i,/^אוק/i,/^נ/i,/^ד/i]},EC={narrow:/^[אבגדהוש]׳/i,short:/^[אבגדהוש]׳/i,abbreviated:/^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i,wide:/^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i},NC={abbreviated:[/א׳$/i,/ב׳$/i,/ג׳$/i,/ד׳$/i,/ה׳$/i,/ו׳$/i,/^ש/i],wide:[/ן$/i,/ני$/i,/לישי$/i,/עי$/i,/מישי$/i,/שישי$/i,/ת$/i],any:[/^א/i,/^ב/i,/^ג/i,/^ד/i,/^ה/i,/^ו/i,/^ש/i]},CC={any:/^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i},zC={any:{am:/^לפ/i,pm:/^אחה/i,midnight:/^ח/i,noon:/^צ/i,morning:/בוקר/i,afternoon:/בצ|אחר/i,evening:/ערב/i,night:/לילה/i}},_C=["רא","שנ","של","רב","ח","שי","שב","שמ","ת","ע"],OC={ordinalNumber:I({matchPattern:MC,parsePattern:$C,valueCallback:e=>{const a=parseInt(e,10);return isNaN(a)?_C.indexOf(e)+1:a}}),era:d({matchPatterns:WC,defaultMatchWidth:"wide",parsePatterns:xC,defaultParseWidth:"any"}),quarter:d({matchPatterns:jC,defaultMatchWidth:"wide",parsePatterns:SC,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:TC,defaultMatchWidth:"wide",parsePatterns:DC,defaultParseWidth:"any"}),day:d({matchPatterns:EC,defaultMatchWidth:"wide",parsePatterns:NC,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:CC,defaultMatchWidth:"any",parsePatterns:zC,defaultParseWidth:"any"})},ku={code:"he",formatDistance:dC,formatLong:hC,formatRelative:gC,localize:kC,match:OC,options:{weekStartsOn:0,firstWeekContainsDate:1}},VC=Object.freeze(Object.defineProperty({__proto__:null,default:ku,he:ku},Symbol.toStringTag,{value:"Module"})),Mu={locale:{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},number:{"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"}},HC={narrow:["ईसा-पूर्व","ईस्वी"],abbreviated:["ईसा-पूर्व","ईस्वी"],wide:["ईसा-पूर्व","ईसवी सन"]},IC={narrow:["1","2","3","4"],abbreviated:["ति1","ति2","ति3","ति4"],wide:["पहली तिमाही","दूसरी तिमाही","तीसरी तिमाही","चौथी तिमाही"]},FC={narrow:["ज","फ़","मा","अ","मई","जू","जु","अग","सि","अक्टू","न","दि"],abbreviated:["जन","फ़र","मार्च","अप्रैल","मई","जून","जुल","अग","सित","अक्टू","नव","दिस"],wide:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},AC={narrow:["र","सो","मं","बु","गु","शु","श"],short:["र","सो","मं","बु","गु","शु","श"],abbreviated:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],wide:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"]},LC={narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},XC={narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},RC=(e,a)=>{const t=Number(e);return $u(t)};function YC(e){const a=e.toString().replace(/[१२३४५६७८९०]/g,function(t){return Mu.number[t]});return Number(a)}function $u(e){return e.toString().replace(/\d/g,function(a){return Mu.locale[a]})}const qC={ordinalNumber:RC,era:u({values:HC,defaultWidth:"wide"}),quarter:u({values:IC,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:FC,defaultWidth:"wide"}),day:u({values:AC,defaultWidth:"wide"}),dayPeriod:u({values:LC,defaultWidth:"wide",formattingValues:XC,defaultFormattingWidth:"wide"})},GC={lessThanXSeconds:{one:"१ सेकंड से कम",other:"{{count}} सेकंड से कम"},xSeconds:{one:"१ सेकंड",other:"{{count}} सेकंड"},halfAMinute:"आधा मिनट",lessThanXMinutes:{one:"१ मिनट से कम",other:"{{count}} मिनट से कम"},xMinutes:{one:"१ मिनट",other:"{{count}} मिनट"},aboutXHours:{one:"लगभग १ घंटा",other:"लगभग {{count}} घंटे"},xHours:{one:"१ घंटा",other:"{{count}} घंटे"},xDays:{one:"१ दिन",other:"{{count}} दिन"},aboutXWeeks:{one:"लगभग १ सप्ताह",other:"लगभग {{count}} सप्ताह"},xWeeks:{one:"१ सप्ताह",other:"{{count}} सप्ताह"},aboutXMonths:{one:"लगभग १ महीना",other:"लगभग {{count}} महीने"},xMonths:{one:"१ महीना",other:"{{count}} महीने"},aboutXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"},xYears:{one:"१ वर्ष",other:"{{count}} वर्ष"},overXYears:{one:"१ वर्ष से अधिक",other:"{{count}} वर्ष से अधिक"},almostXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"}},QC=(e,a,t)=>{let n;const r=GC[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",$u(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+"मे ":n+" पहले":n},KC={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},JC={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},BC={full:"{{date}} 'को' {{time}}",long:"{{date}} 'को' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},UC={date:m({formats:KC,defaultWidth:"full"}),time:m({formats:JC,defaultWidth:"full"}),dateTime:m({formats:BC,defaultWidth:"full"})},ZC={lastWeek:"'पिछले' eeee p",yesterday:"'कल' p",today:"'आज' p",tomorrow:"'कल' p",nextWeek:"eeee 'को' p",other:"P"},ez=(e,a,t,n)=>ZC[e],tz=/^[०१२३४५६७८९]+/i,az=/^[०१२३४५६७८९]+/i,nz={narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},rz={any:[/^b/i,/^(a|c)/i]},iz={narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},oz={any:[/1/i,/2/i,/3/i,/4/i]},sz={narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},uz={narrow:[/^ज/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^न/i,/^दि/i],any:[/^जन/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^नव/i,/^दिस/i]},dz={narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},cz={narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},lz={narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},mz={any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},hz={ordinalNumber:I({matchPattern:tz,parsePattern:az,valueCallback:YC}),era:d({matchPatterns:nz,defaultMatchWidth:"wide",parsePatterns:rz,defaultParseWidth:"any"}),quarter:d({matchPatterns:iz,defaultMatchWidth:"wide",parsePatterns:oz,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:sz,defaultMatchWidth:"wide",parsePatterns:uz,defaultParseWidth:"any"}),day:d({matchPatterns:dz,defaultMatchWidth:"wide",parsePatterns:cz,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:lz,defaultMatchWidth:"any",parsePatterns:mz,defaultParseWidth:"any"})},Wu={code:"hi",formatDistance:QC,formatLong:UC,formatRelative:ez,localize:qC,match:hz,options:{weekStartsOn:0,firstWeekContainsDate:4}},fz=Object.freeze(Object.defineProperty({__proto__:null,default:Wu,hi:Wu},Symbol.toStringTag,{value:"Module"})),gz={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 tjedan",withPrepositionAgo:"oko 1 tjedan",withPrepositionIn:"oko 1 tjedan"},dual:"oko {{count}} tjedna",other:"oko {{count}} tjedana"},xWeeks:{one:{standalone:"1 tjedan",withPrepositionAgo:"1 tjedan",withPrepositionIn:"1 tjedan"},dual:"{{count}} tjedna",other:"{{count}} tjedana"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},pz=(e,a,t)=>{let n;const r=gz[e];return typeof r=="string"?n=r:a===1?t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n=r.one.withPrepositionIn:n=r.one.withPrepositionAgo:n=r.one.standalone:a%10>1&&a%10<5&&String(a).substr(-2,1)!=="1"?n=r.dual.replace("{{count}}",String(a)):n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"za "+n:"prije "+n:n},bz={full:"EEEE, d. MMMM y.",long:"d. MMMM y.",medium:"d. MMM y.",short:"dd. MM. y."},vz={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},yz={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},wz={date:m({formats:bz,defaultWidth:"full"}),time:m({formats:vz,defaultWidth:"full"}),dateTime:m({formats:yz,defaultWidth:"full"})},Pz={lastWeek:e=>{switch(e.getDay()){case 0:return"'prošlu nedjelju u' p";case 3:return"'prošlu srijedu u' p";case 6:return"'prošlu subotu u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'jučer u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'iduću nedjelju u' p";case 3:return"'iduću srijedu u' p";case 6:return"'iduću subotu u' p";default:return"'prošli' EEEE 'u' p"}},other:"P"},kz=(e,a,t,n)=>{const r=Pz[e];return typeof r=="function"?r(a):r},Mz={narrow:["pr.n.e.","AD"],abbreviated:["pr. Kr.","po. Kr."],wide:["Prije Krista","Poslije Krista"]},$z={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},Wz={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"]},xz={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca"]},jz={narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sri","čet","pet","sub"],abbreviated:["ned","pon","uto","sri","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"]},Sz={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},Tz={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},Dz={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:Mz,defaultWidth:"wide"}),quarter:u({values:$z,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:Wz,defaultWidth:"wide",formattingValues:xz,defaultFormattingWidth:"wide"}),day:u({values:jz,defaultWidth:"wide"}),dayPeriod:u({values:Tz,defaultWidth:"wide",formattingValues:Sz,defaultFormattingWidth:"wide"})},Ez=/^(\d+)\./i,Nz=/\d+/i,Cz={narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Kr\.|po\.\s?Kr\.)/i,wide:/^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i},zz={any:[/^pr/i,/^(po|nova)/i]},_z={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},Oz={any:[/1/i,/2/i,/3/i,/4/i]},Vz={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i,wide:/^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i},Hz={narrow:[/1/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i,/8/i,/9/i,/10/i,/11/i,/12/i],abbreviated:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i],wide:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i]},Iz={narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i},Fz={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]},Az={any:/^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i},Lz={any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(navece|naveče)/i,night:/(nocu|noću)/i}},Xz={ordinalNumber:I({matchPattern:Ez,parsePattern:Nz,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:Cz,defaultMatchWidth:"wide",parsePatterns:zz,defaultParseWidth:"any"}),quarter:d({matchPatterns:_z,defaultMatchWidth:"wide",parsePatterns:Oz,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:Vz,defaultMatchWidth:"wide",parsePatterns:Hz,defaultParseWidth:"wide"}),day:d({matchPatterns:Iz,defaultMatchWidth:"wide",parsePatterns:Fz,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:Az,defaultMatchWidth:"any",parsePatterns:Lz,defaultParseWidth:"any"})},xu={code:"hr",formatDistance:pz,formatLong:wz,formatRelative:kz,localize:Dz,match:Xz,options:{weekStartsOn:1,firstWeekContainsDate:1}},Rz=Object.freeze(Object.defineProperty({__proto__:null,default:xu,hr:xu},Symbol.toStringTag,{value:"Module"})),Yz={lessThanXSeconds:{one:"mwens pase yon segond",other:"mwens pase {{count}} segond"},xSeconds:{one:"1 segond",other:"{{count}} segond"},halfAMinute:"30 segond",lessThanXMinutes:{one:"mwens pase yon minit",other:"mwens pase {{count}} minit"},xMinutes:{one:"1 minit",other:"{{count}} minit"},aboutXHours:{one:"anviwon inè",other:"anviwon {{count}} è"},xHours:{one:"1 lè",other:"{{count}} lè"},xDays:{one:"1 jou",other:"{{count}} jou"},aboutXWeeks:{one:"anviwon 1 semèn",other:"anviwon {{count}} semèn"},xWeeks:{one:"1 semèn",other:"{{count}} semèn"},aboutXMonths:{one:"anviwon 1 mwa",other:"anviwon {{count}} mwa"},xMonths:{one:"1 mwa",other:"{{count}} mwa"},aboutXYears:{one:"anviwon 1 an",other:"anviwon {{count}} an"},xYears:{one:"1 an",other:"{{count}} an"},overXYears:{one:"plis pase 1 an",other:"plis pase {{count}} an"},almostXYears:{one:"prèske 1 an",other:"prèske {{count}} an"}},qz=(e,a,t)=>{let n;const r=Yz[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"nan "+n:"sa fè "+n:n},Gz={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},Qz={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Kz={full:"{{date}} 'nan lè' {{time}}",long:"{{date}} 'nan lè' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Jz={date:m({formats:Gz,defaultWidth:"full"}),time:m({formats:Qz,defaultWidth:"full"}),dateTime:m({formats:Kz,defaultWidth:"full"})},Bz={lastWeek:"eeee 'pase nan lè' p",yesterday:"'yè nan lè' p",today:"'jodi a' p",tomorrow:"'demen nan lè' p'",nextWeek:"eeee 'pwochen nan lè' p",other:"P"},Uz=(e,a,t,n)=>Bz[e],Zz={narrow:["av. J.-K","ap. J.-K"],abbreviated:["av. J.-K","ap. J.-K"],wide:["anvan Jezi Kris","apre Jezi Kris"]},e_={narrow:["T1","T2","T3","T4"],abbreviated:["1ye trim.","2yèm trim.","3yèm trim.","4yèm trim."],wide:["1ye trimès","2yèm trimès","3yèm trimès","4yèm trimès"]},t_={narrow:["J","F","M","A","M","J","J","O","S","O","N","D"],abbreviated:["janv.","fevr.","mas","avr.","me","jen","jiyè","out","sept.","okt.","nov.","des."],wide:["janvye","fevrye","mas","avril","me","jen","jiyè","out","septanm","oktòb","novanm","desanm"]},a_={narrow:["D","L","M","M","J","V","S"],short:["di","le","ma","mè","je","va","sa"],abbreviated:["dim.","len.","mad.","mèk.","jed.","van.","sam."],wide:["dimanch","lendi","madi","mèkredi","jedi","vandredi","samdi"]},n_={narrow:{am:"AM",pm:"PM",midnight:"minwit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"swa",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minwit",noon:"midi",morning:"maten",afternoon:"aprèmidi",evening:"swa",night:"maten"},wide:{am:"AM",pm:"PM",midnight:"minwit",noon:"midi",morning:"nan maten",afternoon:"nan aprèmidi",evening:"nan aswè",night:"nan maten"}},r_={ordinalNumber:(e,a)=>{const t=Number(e);return t===0?String(t):t+(t===1?"ye":"yèm")},era:u({values:Zz,defaultWidth:"wide"}),quarter:u({values:e_,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:t_,defaultWidth:"wide"}),day:u({values:a_,defaultWidth:"wide"}),dayPeriod:u({values:n_,defaultWidth:"wide"})},i_=/^(\d+)(ye|yèm)?/i,o_=/\d+/i,s_={narrow:/^(av\.J\.K|ap\.J\.K|ap\.J\.-K)/i,abbreviated:/^(av\.J\.-K|av\.J-K|apr\.J\.-K|apr\.J-K|ap\.J-K)/i,wide:/^(avan Jezi Kris|apre Jezi Kris)/i},u_={any:[/^av/i,/^ap/i]},d_={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](ye|yèm)? trimès/i},c_={any:[/1/i,/2/i,/3/i,/4/i]},l_={narrow:/^[jfmasond]/i,abbreviated:/^(janv|fevr|mas|avr|me|jen|jiyè|out|sept|okt|nov|des)\.?/i,wide:/^(janvye|fevrye|mas|avril|me|jen|jiyè|out|septanm|oktòb|novanm|desanm)/i},m_={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^o/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^av/i,/^me/i,/^je/i,/^ji/i,/^ou/i,/^s/i,/^ok/i,/^n/i,/^d/i]},h_={narrow:/^[lmjvsd]/i,short:/^(di|le|ma|me|je|va|sa)/i,abbreviated:/^(dim|len|mad|mèk|jed|van|sam)\.?/i,wide:/^(dimanch|lendi|madi|mèkredi|jedi|vandredi|samdi)/i},f_={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^le/i,/^ma/i,/^mè/i,/^je/i,/^va/i,/^sa/i]},g_={narrow:/^(a|p|minwit|midi|mat\.?|ap\.?m\.?|swa)/i,any:/^([ap]\.?\s?m\.?|nan maten|nan aprèmidi|nan aswè)/i},p_={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/sw/i,night:/nwit/i}},b_={ordinalNumber:I({matchPattern:i_,parsePattern:o_,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:s_,defaultMatchWidth:"wide",parsePatterns:u_,defaultParseWidth:"any"}),quarter:d({matchPatterns:d_,defaultMatchWidth:"wide",parsePatterns:c_,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:l_,defaultMatchWidth:"wide",parsePatterns:m_,defaultParseWidth:"any"}),day:d({matchPatterns:h_,defaultMatchWidth:"wide",parsePatterns:f_,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:g_,defaultMatchWidth:"any",parsePatterns:p_,defaultParseWidth:"any"})},ju={code:"ht",formatDistance:qz,formatLong:Jz,formatRelative:Uz,localize:r_,match:b_,options:{weekStartsOn:1,firstWeekContainsDate:4}},v_=Object.freeze(Object.defineProperty({__proto__:null,default:ju,ht:ju},Symbol.toStringTag,{value:"Module"})),y_={about:"körülbelül",over:"több mint",almost:"majdnem",lessthan:"kevesebb mint"},w_={xseconds:" másodperc",halfaminute:"fél perc",xminutes:" perc",xhours:" óra",xdays:" nap",xweeks:" hét",xmonths:" hónap",xyears:" év"},P_={xseconds:{"-1":" másodperccel ezelőtt",1:" másodperc múlva",0:" másodperce"},halfaminute:{"-1":"fél perccel ezelőtt",1:"fél perc múlva",0:"fél perce"},xminutes:{"-1":" perccel ezelőtt",1:" perc múlva",0:" perce"},xhours:{"-1":" órával ezelőtt",1:" óra múlva",0:" órája"},xdays:{"-1":" nappal ezelőtt",1:" nap múlva",0:" napja"},xweeks:{"-1":" héttel ezelőtt",1:" hét múlva",0:" hete"},xmonths:{"-1":" hónappal ezelőtt",1:" hónap múlva",0:" hónapja"},xyears:{"-1":" évvel ezelőtt",1:" év múlva",0:" éve"}},k_=(e,a,t)=>{const n=e.match(/about|over|almost|lessthan/i),r=n?e.replace(n[0],""):e,i=(t==null?void 0:t.addSuffix)===!0,o=r.toLowerCase(),c=(t==null?void 0:t.comparison)||0,l=i?P_[o][c]:w_[o];let b=o==="halfaminute"?l:a+l;if(n){const g=n[0].toLowerCase();b=y_[g]+" "+b}return b},M_={full:"y. MMMM d., EEEE",long:"y. MMMM d.",medium:"y. MMM d.",short:"y. MM. dd."},$_={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},W_={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},x_={date:m({formats:M_,defaultWidth:"full"}),time:m({formats:$_,defaultWidth:"full"}),dateTime:m({formats:W_,defaultWidth:"full"})},j_=["vasárnap","hétfőn","kedden","szerdán","csütörtökön","pénteken","szombaton"];function Su(e){return a=>{const t=j_[a.getDay()];return`${e?"":"'múlt' "}'${t}' p'-kor'`}}const S_={lastWeek:Su(!1),yesterday:"'tegnap' p'-kor'",today:"'ma' p'-kor'",tomorrow:"'holnap' p'-kor'",nextWeek:Su(!0),other:"P"},T_=(e,a)=>{const t=S_[e];return typeof t=="function"?t(a):t},D_={narrow:["ie.","isz."],abbreviated:["i. e.","i. sz."],wide:["Krisztus előtt","időszámításunk szerint"]},E_={narrow:["1.","2.","3.","4."],abbreviated:["1. n.év","2. n.év","3. n.év","4. n.év"],wide:["1. negyedév","2. negyedév","3. negyedév","4. negyedév"]},N_={narrow:["I.","II.","III.","IV."],abbreviated:["I. n.év","II. n.év","III. n.év","IV. n.év"],wide:["I. negyedév","II. negyedév","III. negyedév","IV. negyedév"]},C_={narrow:["J","F","M","Á","M","J","J","A","Sz","O","N","D"],abbreviated:["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."],wide:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"]},z_={narrow:["V","H","K","Sz","Cs","P","Sz"],short:["V","H","K","Sze","Cs","P","Szo"],abbreviated:["V","H","K","Sze","Cs","P","Szo"],wide:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"]},__={narrow:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},abbreviated:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},wide:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"délután",evening:"este",night:"éjjel"}},O_={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:D_,defaultWidth:"wide"}),quarter:u({values:E_,defaultWidth:"wide",argumentCallback:e=>e-1,formattingValues:N_,defaultFormattingWidth:"wide"}),month:u({values:C_,defaultWidth:"wide"}),day:u({values:z_,defaultWidth:"wide"}),dayPeriod:u({values:__,defaultWidth:"wide"})},V_=/^(\d+)\.?/i,H_=/\d+/i,I_={narrow:/^(ie\.|isz\.)/i,abbreviated:/^(i\.\s?e\.?|b?\s?c\s?e|i\.\s?sz\.?)/i,wide:/^(Krisztus előtt|időszámításunk előtt|időszámításunk szerint|i\. sz\.)/i},F_={narrow:[/ie/i,/isz/i],abbreviated:[/^(i\.?\s?e\.?|b\s?ce)/i,/^(i\.?\s?sz\.?|c\s?e)/i],any:[/előtt/i,/(szerint|i. sz.)/i]},A_={narrow:/^[1234]\.?/i,abbreviated:/^[1234]?\.?\s?n\.év/i,wide:/^([1234]|I|II|III|IV)?\.?\s?negyedév/i},L_={any:[/1|I$/i,/2|II$/i,/3|III/i,/4|IV/i]},X_={narrow:/^[jfmaásond]|sz/i,abbreviated:/^(jan\.?|febr\.?|márc\.?|ápr\.?|máj\.?|jún\.?|júl\.?|aug\.?|szept\.?|okt\.?|nov\.?|dec\.?)/i,wide:/^(január|február|március|április|május|június|július|augusztus|szeptember|október|november|december)/i},R_={narrow:[/^j/i,/^f/i,/^m/i,/^a|á/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s|sz/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^már/i,/^áp/i,/^máj/i,/^jún/i,/^júl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Y_={narrow:/^([vhkpc]|sz|cs|sz)/i,short:/^([vhkp]|sze|cs|szo)/i,abbreviated:/^([vhkp]|sze|cs|szo)/i,wide:/^(vasárnap|hétfő|kedd|szerda|csütörtök|péntek|szombat)/i},q_={narrow:[/^v/i,/^h/i,/^k/i,/^sz/i,/^c/i,/^p/i,/^sz/i],any:[/^v/i,/^h/i,/^k/i,/^sze/i,/^c/i,/^p/i,/^szo/i]},G_={any:/^((de|du)\.?|éjfél|délután|dél|reggel|este|éjjel)/i},Q_={any:{am:/^de\.?/i,pm:/^du\.?/i,midnight:/^éjf/i,noon:/^dé/i,morning:/reg/i,afternoon:/^délu\.?/i,evening:/es/i,night:/éjj/i}},K_={ordinalNumber:I({matchPattern:V_,parsePattern:H_,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:I_,defaultMatchWidth:"wide",parsePatterns:F_,defaultParseWidth:"any"}),quarter:d({matchPatterns:A_,defaultMatchWidth:"wide",parsePatterns:L_,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:X_,defaultMatchWidth:"wide",parsePatterns:R_,defaultParseWidth:"any"}),day:d({matchPatterns:Y_,defaultMatchWidth:"wide",parsePatterns:q_,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:G_,defaultMatchWidth:"any",parsePatterns:Q_,defaultParseWidth:"any"})},Tu={code:"hu",formatDistance:k_,formatLong:x_,formatRelative:T_,localize:O_,match:K_,options:{weekStartsOn:1,firstWeekContainsDate:4}},J_=Object.freeze(Object.defineProperty({__proto__:null,default:Tu,hu:Tu},Symbol.toStringTag,{value:"Module"})),B_={lessThanXSeconds:{one:"ավելի քիչ քան 1 վայրկյան",other:"ավելի քիչ քան {{count}} վայրկյան"},xSeconds:{one:"1 վայրկյան",other:"{{count}} վայրկյան"},halfAMinute:"կես րոպե",lessThanXMinutes:{one:"ավելի քիչ քան 1 րոպե",other:"ավելի քիչ քան {{count}} րոպե"},xMinutes:{one:"1 րոպե",other:"{{count}} րոպե"},aboutXHours:{one:"մոտ 1 ժամ",other:"մոտ {{count}} ժամ"},xHours:{one:"1 ժամ",other:"{{count}} ժամ"},xDays:{one:"1 օր",other:"{{count}} օր"},aboutXWeeks:{one:"մոտ 1 շաբաթ",other:"մոտ {{count}} շաբաթ"},xWeeks:{one:"1 շաբաթ",other:"{{count}} շաբաթ"},aboutXMonths:{one:"մոտ 1 ամիս",other:"մոտ {{count}} ամիս"},xMonths:{one:"1 ամիս",other:"{{count}} ամիս"},aboutXYears:{one:"մոտ 1 տարի",other:"մոտ {{count}} տարի"},xYears:{one:"1 տարի",other:"{{count}} տարի"},overXYears:{one:"ավելի քան 1 տարի",other:"ավելի քան {{count}} տարի"},almostXYears:{one:"համարյա 1 տարի",other:"համարյա {{count}} տարի"}},U_=(e,a,t)=>{let n;const r=B_[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+" հետո":n+" առաջ":n},Z_={full:"d MMMM, y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd.MM.yyyy"},eO={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},tO={full:"{{date}} 'ժ․'{{time}}",long:"{{date}} 'ժ․'{{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},aO={date:m({formats:Z_,defaultWidth:"full"}),time:m({formats:eO,defaultWidth:"full"}),dateTime:m({formats:tO,defaultWidth:"full"})},nO={lastWeek:"'նախորդ' eeee p'֊ին'",yesterday:"'երեկ' p'֊ին'",today:"'այսօր' p'֊ին'",tomorrow:"'վաղը' p'֊ին'",nextWeek:"'հաջորդ' eeee p'֊ին'",other:"P"},rO=(e,a,t,n)=>nO[e],iO={narrow:["Ք","Մ"],abbreviated:["ՔԱ","ՄԹ"],wide:["Քրիստոսից առաջ","Մեր թվարկության"]},oO={narrow:["1","2","3","4"],abbreviated:["Ք1","Ք2","Ք3","Ք4"],wide:["1֊ին քառորդ","2֊րդ քառորդ","3֊րդ քառորդ","4֊րդ քառորդ"]},sO={narrow:["Հ","Փ","Մ","Ա","Մ","Հ","Հ","Օ","Ս","Հ","Ն","Դ"],abbreviated:["հուն","փետ","մար","ապր","մայ","հուն","հուլ","օգս","սեպ","հոկ","նոյ","դեկ"],wide:["հունվար","փետրվար","մարտ","ապրիլ","մայիս","հունիս","հուլիս","օգոստոս","սեպտեմբեր","հոկտեմբեր","նոյեմբեր","դեկտեմբեր"]},uO={narrow:["Կ","Ե","Ե","Չ","Հ","Ո","Շ"],short:["կր","եր","եք","չք","հգ","ուր","շբ"],abbreviated:["կիր","երկ","երք","չոր","հնգ","ուրբ","շաբ"],wide:["կիրակի","երկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"]},dO={narrow:{am:"a",pm:"p",midnight:"կեսգշ",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"},abbreviated:{am:"AM",pm:"PM",midnight:"կեսգիշեր",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"},wide:{am:"a.m.",pm:"p.m.",midnight:"կեսգիշեր",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"}},cO={narrow:{am:"a",pm:"p",midnight:"կեսգշ",noon:"կեսօր",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"},abbreviated:{am:"AM",pm:"PM",midnight:"կեսգիշերին",noon:"կեսօրին",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"},wide:{am:"a.m.",pm:"p.m.",midnight:"կեսգիշերին",noon:"կեսօրին",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"}},lO={ordinalNumber:(e,a)=>{const t=Number(e),n=t%100;return n<10&&n%10===1?t+"֊ին":t+"֊րդ"},era:u({values:iO,defaultWidth:"wide"}),quarter:u({values:oO,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:sO,defaultWidth:"wide"}),day:u({values:uO,defaultWidth:"wide"}),dayPeriod:u({values:dO,defaultWidth:"wide",formattingValues:cO,defaultFormattingWidth:"wide"})},mO=/^(\d+)((-|֊)?(ին|րդ))?/i,hO=/\d+/i,fO={narrow:/^(Ք|Մ)/i,abbreviated:/^(Ք\.?\s?Ա\.?|Մ\.?\s?Թ\.?\s?Ա\.?|Մ\.?\s?Թ\.?|Ք\.?\s?Հ\.?)/i,wide:/^(քրիստոսից առաջ|մեր թվարկությունից առաջ|մեր թվարկության|քրիստոսից հետո)/i},gO={any:[/^ք/i,/^մ/i]},pO={narrow:/^[1234]/i,abbreviated:/^ք[1234]/i,wide:/^[1234]((-|֊)?(ին|րդ)) քառորդ/i},bO={any:[/1/i,/2/i,/3/i,/4/i]},vO={narrow:/^[հփմաօսնդ]/i,abbreviated:/^(հուն|փետ|մար|ապր|մայ|հուն|հուլ|օգս|սեպ|հոկ|նոյ|դեկ)/i,wide:/^(հունվար|փետրվար|մարտ|ապրիլ|մայիս|հունիս|հուլիս|օգոստոս|սեպտեմբեր|հոկտեմբեր|նոյեմբեր|դեկտեմբեր)/i},yO={narrow:[/^հ/i,/^փ/i,/^մ/i,/^ա/i,/^մ/i,/^հ/i,/^հ/i,/^օ/i,/^ս/i,/^հ/i,/^ն/i,/^դ/i],any:[/^հու/i,/^փ/i,/^մար/i,/^ա/i,/^մայ/i,/^հուն/i,/^հուլ/i,/^օ/i,/^ս/i,/^հոկ/i,/^ն/i,/^դ/i]},wO={narrow:/^[եչհոշկ]/i,short:/^(կր|եր|եք|չք|հգ|ուր|շբ)/i,abbreviated:/^(կիր|երկ|երք|չոր|հնգ|ուրբ|շաբ)/i,wide:/^(կիրակի|երկուշաբթի|երեքշաբթի|չորեքշաբթի|հինգշաբթի|ուրբաթ|շաբաթ)/i},PO={narrow:[/^կ/i,/^ե/i,/^ե/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],short:[/^կ/i,/^եր/i,/^եք/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],abbreviated:[/^կ/i,/^երկ/i,/^երք/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],wide:[/^կ/i,/^երկ/i,/^երե/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i]},kO={narrow:/^([ap]|կեսգշ|կեսօր|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i,any:/^([ap]\.?\s?m\.?|կեսգիշեր(ին)?|կեսօր(ին)?|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i},MO={any:{am:/^a/i,pm:/^p/i,midnight:/կեսգիշեր/i,noon:/կեսօր/i,morning:/առավոտ/i,afternoon:/ցերեկ/i,evening:/երեկո/i,night:/գիշեր/i}},$O={ordinalNumber:I({matchPattern:mO,parsePattern:hO,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:fO,defaultMatchWidth:"wide",parsePatterns:gO,defaultParseWidth:"any"}),quarter:d({matchPatterns:pO,defaultMatchWidth:"wide",parsePatterns:bO,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:vO,defaultMatchWidth:"wide",parsePatterns:yO,defaultParseWidth:"any"}),day:d({matchPatterns:wO,defaultMatchWidth:"wide",parsePatterns:PO,defaultParseWidth:"wide"}),dayPeriod:d({matchPatterns:kO,defaultMatchWidth:"any",parsePatterns:MO,defaultParseWidth:"any"})},Du={code:"hy",formatDistance:U_,formatLong:aO,formatRelative:rO,localize:lO,match:$O,options:{weekStartsOn:1,firstWeekContainsDate:1}},WO=Object.freeze(Object.defineProperty({__proto__:null,default:Du,hy:Du},Symbol.toStringTag,{value:"Module"})),xO={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},jO=(e,a,t)=>{let n;const r=xO[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"dalam waktu "+n:n+" yang lalu":n},SO={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},TO={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},DO={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},EO={date:m({formats:SO,defaultWidth:"full"}),time:m({formats:TO,defaultWidth:"full"}),dateTime:m({formats:DO,defaultWidth:"full"})},NO={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},CO=(e,a,t,n)=>NO[e],zO={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},_O={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},OO={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},VO={narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},HO={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},IO={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},FO={ordinalNumber:(e,a)=>"ke-"+Number(e),era:u({values:zO,defaultWidth:"wide"}),quarter:u({values:_O,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:OO,defaultWidth:"wide"}),day:u({values:VO,defaultWidth:"wide"}),dayPeriod:u({values:HO,defaultWidth:"wide",formattingValues:IO,defaultFormattingWidth:"wide"})},AO=/^ke-(\d+)?/i,LO=/\d+/i,XO={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},RO={any:[/^s/i,/^(m|e)/i]},YO={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},qO={any:[/1/i,/2/i,/3/i,/4/i]},GO={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},QO={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,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},KO={narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},JO={narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},BO={narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},UO={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},ZO={ordinalNumber:I({matchPattern:AO,parsePattern:LO,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:XO,defaultMatchWidth:"wide",parsePatterns:RO,defaultParseWidth:"any"}),quarter:d({matchPatterns:YO,defaultMatchWidth:"wide",parsePatterns:qO,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:GO,defaultMatchWidth:"wide",parsePatterns:QO,defaultParseWidth:"any"}),day:d({matchPatterns:KO,defaultMatchWidth:"wide",parsePatterns:JO,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:BO,defaultMatchWidth:"any",parsePatterns:UO,defaultParseWidth:"any"})},Eu={code:"id",formatDistance:jO,formatLong:EO,formatRelative:CO,localize:FO,match:ZO,options:{weekStartsOn:1,firstWeekContainsDate:1}},e2=Object.freeze(Object.defineProperty({__proto__:null,default:Eu,id:Eu},Symbol.toStringTag,{value:"Module"})),t2={lessThanXSeconds:{one:"minna en 1 sekúnda",other:"minna en {{count}} sekúndur"},xSeconds:{one:"1 sekúnda",other:"{{count}} sekúndur"},halfAMinute:"hálf mínúta",lessThanXMinutes:{one:"minna en 1 mínúta",other:"minna en {{count}} mínútur"},xMinutes:{one:"1 mínúta",other:"{{count}} mínútur"},aboutXHours:{one:"u.þ.b. 1 klukkustund",other:"u.þ.b. {{count}} klukkustundir"},xHours:{one:"1 klukkustund",other:"{{count}} klukkustundir"},xDays:{one:"1 dagur",other:"{{count}} dagar"},aboutXWeeks:{one:"um viku",other:"um {{count}} vikur"},xWeeks:{one:"1 viku",other:"{{count}} vikur"},aboutXMonths:{one:"u.þ.b. 1 mánuður",other:"u.þ.b. {{count}} mánuðir"},xMonths:{one:"1 mánuður",other:"{{count}} mánuðir"},aboutXYears:{one:"u.þ.b. 1 ár",other:"u.þ.b. {{count}} ár"},xYears:{one:"1 ár",other:"{{count}} ár"},overXYears:{one:"meira en 1 ár",other:"meira en {{count}} ár"},almostXYears:{one:"næstum 1 ár",other:"næstum {{count}} ár"}},a2=(e,a,t)=>{let n;const r=t2[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"í "+n:n+" síðan":n},n2={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"d.MM.y"},r2={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},i2={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},o2={date:m({formats:n2,defaultWidth:"full"}),time:m({formats:r2,defaultWidth:"full"}),dateTime:m({formats:i2,defaultWidth:"full"})},s2={lastWeek:"'síðasta' dddd 'kl.' p",yesterday:"'í gær kl.' p",today:"'í dag kl.' p",tomorrow:"'á morgun kl.' p",nextWeek:"dddd 'kl.' p",other:"P"},u2=(e,a,t,n)=>s2[e],d2={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["fyrir Krist","eftir Krist"]},c2={narrow:["1","2","3","4"],abbreviated:["1F","2F","3F","4F"],wide:["1. fjórðungur","2. fjórðungur","3. fjórðungur","4. fjórðungur"]},l2={narrow:["J","F","M","A","M","J","J","Á","S","Ó","N","D"],abbreviated:["jan.","feb.","mars","apríl","maí","júní","júlí","ágúst","sept.","okt.","nóv.","des."],wide:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"]},m2={narrow:["S","M","Þ","M","F","F","L"],short:["Su","Má","Þr","Mi","Fi","Fö","La"],abbreviated:["sun.","mán.","þri.","mið.","fim.","fös.","lau."],wide:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"]},h2={narrow:{am:"f",pm:"e",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"}},f2={narrow:{am:"f",pm:"e",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"}},g2={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:d2,defaultWidth:"wide"}),quarter:u({values:c2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:l2,defaultWidth:"wide"}),day:u({values:m2,defaultWidth:"wide"}),dayPeriod:u({values:h2,defaultWidth:"wide",formattingValues:f2,defaultFormattingWidth:"wide"})},p2=/^(\d+)(\.)?/i,b2=/\d+(\.)?/i,v2={narrow:/^(f\.Kr\.|e\.Kr\.)/i,abbreviated:/^(f\.Kr\.|e\.Kr\.)/i,wide:/^(fyrir Krist|eftir Krist)/i},y2={any:[/^(f\.Kr\.)/i,/^(e\.Kr\.)/i]},w2={narrow:/^[1234]\.?/i,abbreviated:/^q[1234]\.?/i,wide:/^[1234]\.? fjórðungur/i},P2={any:[/1\.?/i,/2\.?/i,/3\.?/i,/4\.?/i]},k2={narrow:/^[jfmásónd]/i,abbreviated:/^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i,wide:/^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i},M2={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^á/i,/^s/i,/^ó/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maí/i,/^jún/i,/^júl/i,/^áu/i,/^s/i,/^ó/i,/^n/i,/^d/i]},$2={narrow:/^[smtwf]/i,short:/^(su|má|þr|mi|fi|fö|la)/i,abbreviated:/^(sun|mán|þri|mið|fim|fös|lau)\.?/i,wide:/^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i},W2={narrow:[/^s/i,/^m/i,/^þ/i,/^m/i,/^f/i,/^f/i,/^l/i],any:[/^su/i,/^má/i,/^þr/i,/^mi/i,/^fi/i,/^fö/i,/^la/i]},x2={narrow:/^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,any:/^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i},j2={any:{am:/^f/i,pm:/^e/i,midnight:/^mi/i,noon:/^há/i,morning:/morgunn/i,afternoon:/síðdegi/i,evening:/kvöld/i,night:/nótt/i}},S2={ordinalNumber:I({matchPattern:p2,parsePattern:b2,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:v2,defaultMatchWidth:"wide",parsePatterns:y2,defaultParseWidth:"any"}),quarter:d({matchPatterns:w2,defaultMatchWidth:"wide",parsePatterns:P2,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:k2,defaultMatchWidth:"wide",parsePatterns:M2,defaultParseWidth:"any"}),day:d({matchPatterns:$2,defaultMatchWidth:"wide",parsePatterns:W2,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:x2,defaultMatchWidth:"any",parsePatterns:j2,defaultParseWidth:"any"})},Nu={code:"is",formatDistance:a2,formatLong:o2,formatRelative:u2,localize:g2,match:S2,options:{weekStartsOn:1,firstWeekContainsDate:4}},T2=Object.freeze(Object.defineProperty({__proto__:null,default:Nu,is:Nu},Symbol.toStringTag,{value:"Module"})),D2={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},Cu=(e,a,t)=>{let n;const r=D2[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"tra "+n:n+" fa":n},Er=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function E2(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+Er[e]+" scorso alle' p"}}function zu(e){return"'"+Er[e]+" alle' p"}function N2(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+Er[e]+" prossimo alle' p"}}const C2={lastWeek:(e,a,t)=>{const n=e.getDay();return ze(e,a,t)?zu(n):E2(n)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,a,t)=>{const n=e.getDay();return ze(e,a,t)?zu(n):N2(n)},other:"P"},_u=(e,a,t,n)=>{const r=C2[e];return typeof r=="function"?r(a,t,n):r},z2={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},_2={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},O2={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},V2={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},H2={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},I2={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},Ou={ordinalNumber:(e,a)=>{const t=Number(e);return String(t)},era:u({values:z2,defaultWidth:"wide"}),quarter:u({values:_2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:O2,defaultWidth:"wide"}),day:u({values:V2,defaultWidth:"wide"}),dayPeriod:u({values:H2,defaultWidth:"wide",formattingValues:I2,defaultFormattingWidth:"wide"})},F2=/^(\d+)(º)?/i,A2=/\d+/i,L2={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},X2={any:[/^a/i,/^(d|e)/i]},R2={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},Y2={any:[/1/i,/2/i,/3/i,/4/i]},q2={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},G2={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},Q2={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},K2={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},J2={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},B2={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},Vu={ordinalNumber:I({matchPattern:F2,parsePattern:A2,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:L2,defaultMatchWidth:"wide",parsePatterns:X2,defaultParseWidth:"any"}),quarter:d({matchPatterns:R2,defaultMatchWidth:"wide",parsePatterns:Y2,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:q2,defaultMatchWidth:"wide",parsePatterns:G2,defaultParseWidth:"any"}),day:d({matchPatterns:Q2,defaultMatchWidth:"wide",parsePatterns:K2,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:J2,defaultMatchWidth:"any",parsePatterns:B2,defaultParseWidth:"any"})},U2={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},Z2={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},eV={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},tV={date:m({formats:U2,defaultWidth:"full"}),time:m({formats:Z2,defaultWidth:"full"}),dateTime:m({formats:eV,defaultWidth:"full"})},Hu={code:"it-CH",formatDistance:Cu,formatLong:tV,formatRelative:_u,localize:Ou,match:Vu,options:{weekStartsOn:1,firstWeekContainsDate:4}},aV=Object.freeze(Object.defineProperty({__proto__:null,default:Hu,itCH:Hu},Symbol.toStringTag,{value:"Module"})),nV={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},rV={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},iV={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},oV={date:m({formats:nV,defaultWidth:"full"}),time:m({formats:rV,defaultWidth:"full"}),dateTime:m({formats:iV,defaultWidth:"full"})},Iu={code:"it",formatDistance:Cu,formatLong:oV,formatRelative:_u,localize:Ou,match:Vu,options:{weekStartsOn:1,firstWeekContainsDate:4}},sV=Object.freeze(Object.defineProperty({__proto__:null,default:Iu,it:Iu},Symbol.toStringTag,{value:"Module"})),uV={lessThanXSeconds:{one:"1びょうみまん",other:"{{count}}びょうみまん",oneWithSuffix:"やく1びょう",otherWithSuffix:"やく{{count}}びょう"},xSeconds:{one:"1びょう",other:"{{count}}びょう"},halfAMinute:"30びょう",lessThanXMinutes:{one:"1ぷんみまん",other:"{{count}}ふんみまん",oneWithSuffix:"やく1ぷん",otherWithSuffix:"やく{{count}}ふん"},xMinutes:{one:"1ぷん",other:"{{count}}ふん"},aboutXHours:{one:"やく1じかん",other:"やく{{count}}じかん"},xHours:{one:"1じかん",other:"{{count}}じかん"},xDays:{one:"1にち",other:"{{count}}にち"},aboutXWeeks:{one:"やく1しゅうかん",other:"やく{{count}}しゅうかん"},xWeeks:{one:"1しゅうかん",other:"{{count}}しゅうかん"},aboutXMonths:{one:"やく1かげつ",other:"やく{{count}}かげつ"},xMonths:{one:"1かげつ",other:"{{count}}かげつ"},aboutXYears:{one:"やく1ねん",other:"やく{{count}}ねん"},xYears:{one:"1ねん",other:"{{count}}ねん"},overXYears:{one:"1ねんいじょう",other:"{{count}}ねんいじょう"},almostXYears:{one:"1ねんちかく",other:"{{count}}ねんちかく"}},dV=(e,a,t)=>{t=t||{};let n;const r=uV[e];return typeof r=="string"?n=r:a===1?t.addSuffix&&r.oneWithSuffix?n=r.oneWithSuffix:n=r.one:t.addSuffix&&r.otherWithSuffix?n=r.otherWithSuffix.replace("{{count}}",String(a)):n=r.other.replace("{{count}}",String(a)),t.addSuffix?t.comparison&&t.comparison>0?n+"あと":n+"まえ":n},cV={full:"yねんMがつdにちEEEE",long:"yねんMがつdにち",medium:"y/MM/dd",short:"y/MM/dd"},lV={full:"Hじmmふんssびょう zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},mV={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},hV={date:m({formats:cV,defaultWidth:"full"}),time:m({formats:lV,defaultWidth:"full"}),dateTime:m({formats:mV,defaultWidth:"full"})},fV={lastWeek:"せんしゅうのeeeeのp",yesterday:"きのうのp",today:"きょうのp",tomorrow:"あしたのp",nextWeek:"よくしゅうのeeeeのp",other:"P"},gV=(e,a,t,n)=>fV[e],pV={narrow:["BC","AC"],abbreviated:["きげんぜん","せいれき"],wide:["きげんぜん","せいれき"]},bV={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["だい1しはんき","だい2しはんき","だい3しはんき","だい4しはんき"]},vV={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1がつ","2がつ","3がつ","4がつ","5がつ","6がつ","7がつ","8がつ","9がつ","10がつ","11がつ","12がつ"],wide:["1がつ","2がつ","3がつ","4がつ","5がつ","6がつ","7がつ","8がつ","9がつ","10がつ","11がつ","12がつ"]},yV={narrow:["にち","げつ","か","すい","もく","きん","ど"],short:["にち","げつ","か","すい","もく","きん","ど"],abbreviated:["にち","げつ","か","すい","もく","きん","ど"],wide:["にちようび","げつようび","かようび","すいようび","もくようび","きんようび","どようび"]},wV={narrow:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"},abbreviated:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"},wide:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"}},PV={narrow:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"},abbreviated:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"},wide:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"}},kV={ordinalNumber:(e,a)=>{const t=Number(e);switch(String(a==null?void 0:a.unit)){case"year":return`${t}ねん`;case"quarter":return`だい${t}しはんき`;case"month":return`${t}がつ`;case"week":return`だい${t}しゅう`;case"date":return`${t}にち`;case"hour":return`${t}じ`;case"minute":return`${t}ふん`;case"second":return`${t}びょう`;default:return`${t}`}},era:u({values:pV,defaultWidth:"wide"}),quarter:u({values:bV,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:u({values:vV,defaultWidth:"wide"}),day:u({values:yV,defaultWidth:"wide"}),dayPeriod:u({values:wV,defaultWidth:"wide",formattingValues:PV,defaultFormattingWidth:"wide"})},MV=/^だ?い?\d+(ねん|しはんき|がつ|しゅう|にち|じ|ふん|びょう)?/i,$V=/\d+/i,WV={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(きげん[前後]|せいれき)/i,wide:/^(きげん[前後]|せいれき)/i},xV={narrow:[/^B/i,/^A/i],any:[/^(きげんぜん)/i,/^(せいれき|きげんご)/i]},jV={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^だい[1234一二三四1234]しはんき/i},SV={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},TV={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])がつ/i,wide:/^([123456789]|1[012])がつ/i},DV={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},EV={narrow:/^(にち|げつ|か|すい|もく|きん|ど)/,short:/^(にち|げつ|か|すい|もく|きん|ど)/,abbreviated:/^(にち|げつ|か|すい|もく|きん|ど)/,wide:/^(にち|げつ|か|すい|もく|きん|ど)ようび/},NV={any:[/^にち/,/^げつ/,/^か/,/^すい/,/^もく/,/^きん/,/^ど/]},CV={any:/^(AM|PM|ごぜん|ごご|しょうご|しんや|まよなか|よる|あさ)/i},zV={any:{am:/^(A|ごぜん)/i,pm:/^(P|ごご)/i,midnight:/^しんや|まよなか/i,noon:/^しょうご/i,morning:/^あさ/i,afternoon:/^ごご/i,evening:/^よる/i,night:/^しんや/i}},_V={ordinalNumber:I({matchPattern:MV,parsePattern:$V,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:WV,defaultMatchWidth:"wide",parsePatterns:xV,defaultParseWidth:"any"}),quarter:d({matchPatterns:jV,defaultMatchWidth:"wide",parsePatterns:SV,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:TV,defaultMatchWidth:"wide",parsePatterns:DV,defaultParseWidth:"any"}),day:d({matchPatterns:EV,defaultMatchWidth:"wide",parsePatterns:NV,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:CV,defaultMatchWidth:"any",parsePatterns:zV,defaultParseWidth:"any"})},Fu={code:"ja-Hira",formatDistance:dV,formatLong:hV,formatRelative:gV,localize:kV,match:_V,options:{weekStartsOn:0,firstWeekContainsDate:1}},OV=Object.freeze(Object.defineProperty({__proto__:null,default:Fu,jaHira:Fu},Symbol.toStringTag,{value:"Module"})),VV={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},HV=(e,a,t)=>{t=t||{};let n;const r=VV[e];return typeof r=="string"?n=r:a===1?t.addSuffix&&r.oneWithSuffix?n=r.oneWithSuffix:n=r.one:t.addSuffix&&r.otherWithSuffix?n=r.otherWithSuffix.replace("{{count}}",String(a)):n=r.other.replace("{{count}}",String(a)),t.addSuffix?t.comparison&&t.comparison>0?n+"後":n+"前":n},IV={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},FV={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},AV={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},LV={date:m({formats:IV,defaultWidth:"full"}),time:m({formats:FV,defaultWidth:"full"}),dateTime:m({formats:AV,defaultWidth:"full"})},XV={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},RV=(e,a,t,n)=>XV[e],YV={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},qV={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},GV={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},QV={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},KV={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},JV={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},BV={ordinalNumber:(e,a)=>{const t=Number(e);switch(String(a==null?void 0:a.unit)){case"year":return`${t}年`;case"quarter":return`第${t}四半期`;case"month":return`${t}月`;case"week":return`第${t}週`;case"date":return`${t}日`;case"hour":return`${t}時`;case"minute":return`${t}分`;case"second":return`${t}秒`;default:return`${t}`}},era:u({values:YV,defaultWidth:"wide"}),quarter:u({values:qV,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:u({values:GV,defaultWidth:"wide"}),day:u({values:QV,defaultWidth:"wide"}),dayPeriod:u({values:KV,defaultWidth:"wide",formattingValues:JV,defaultFormattingWidth:"wide"})},UV=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,ZV=/\d+/i,eH={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},tH={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},aH={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},nH={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},rH={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},iH={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},oH={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},sH={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},uH={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},dH={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},cH={ordinalNumber:I({matchPattern:UV,parsePattern:ZV,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:eH,defaultMatchWidth:"wide",parsePatterns:tH,defaultParseWidth:"any"}),quarter:d({matchPatterns:aH,defaultMatchWidth:"wide",parsePatterns:nH,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:rH,defaultMatchWidth:"wide",parsePatterns:iH,defaultParseWidth:"any"}),day:d({matchPatterns:oH,defaultMatchWidth:"wide",parsePatterns:sH,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:uH,defaultMatchWidth:"any",parsePatterns:dH,defaultParseWidth:"any"})},Au={code:"ja",formatDistance:HV,formatLong:LV,formatRelative:RV,localize:BV,match:cH,options:{weekStartsOn:0,firstWeekContainsDate:1}},lH=Object.freeze(Object.defineProperty({__proto__:null,default:Au,ja:Au},Symbol.toStringTag,{value:"Module"})),mH={lessThanXSeconds:{past:"{{count}} წამზე ნაკლები ხნის წინ",present:"{{count}} წამზე ნაკლები",future:"{{count}} წამზე ნაკლებში"},xSeconds:{past:"{{count}} წამის წინ",present:"{{count}} წამი",future:"{{count}} წამში"},halfAMinute:{past:"ნახევარი წუთის წინ",present:"ნახევარი წუთი",future:"ნახევარი წუთში"},lessThanXMinutes:{past:"{{count}} წუთზე ნაკლები ხნის წინ",present:"{{count}} წუთზე ნაკლები",future:"{{count}} წუთზე ნაკლებში"},xMinutes:{past:"{{count}} წუთის წინ",present:"{{count}} წუთი",future:"{{count}} წუთში"},aboutXHours:{past:"დაახლოებით {{count}} საათის წინ",present:"დაახლოებით {{count}} საათი",future:"დაახლოებით {{count}} საათში"},xHours:{past:"{{count}} საათის წინ",present:"{{count}} საათი",future:"{{count}} საათში"},xDays:{past:"{{count}} დღის წინ",present:"{{count}} დღე",future:"{{count}} დღეში"},aboutXWeeks:{past:"დაახლოებით {{count}} კვირას წინ",present:"დაახლოებით {{count}} კვირა",future:"დაახლოებით {{count}} კვირაში"},xWeeks:{past:"{{count}} კვირას კვირა",present:"{{count}} კვირა",future:"{{count}} კვირაში"},aboutXMonths:{past:"დაახლოებით {{count}} თვის წინ",present:"დაახლოებით {{count}} თვე",future:"დაახლოებით {{count}} თვეში"},xMonths:{past:"{{count}} თვის წინ",present:"{{count}} თვე",future:"{{count}} თვეში"},aboutXYears:{past:"დაახლოებით {{count}} წლის წინ",present:"დაახლოებით {{count}} წელი",future:"დაახლოებით {{count}} წელში"},xYears:{past:"{{count}} წლის წინ",present:"{{count}} წელი",future:"{{count}} წელში"},overXYears:{past:"{{count}} წელზე მეტი ხნის წინ",present:"{{count}} წელზე მეტი",future:"{{count}} წელზე მეტი ხნის შემდეგ"},almostXYears:{past:"თითქმის {{count}} წლის წინ",present:"თითქმის {{count}} წელი",future:"თითქმის {{count}} წელში"}},hH=(e,a,t)=>{let n;const r=mH[e];return typeof r=="string"?n=r:t!=null&&t.addSuffix&&t.comparison&&t.comparison>0?n=r.future.replace("{{count}}",String(a)):t!=null&&t.addSuffix?n=r.past.replace("{{count}}",String(a)):n=r.present.replace("{{count}}",String(a)),n},fH={full:"EEEE, do MMMM, y",long:"do, MMMM, y",medium:"d, MMM, y",short:"dd/MM/yyyy"},gH={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},pH={full:"{{date}} {{time}}'-ზე'",long:"{{date}} {{time}}'-ზე'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bH={date:m({formats:fH,defaultWidth:"full"}),time:m({formats:gH,defaultWidth:"full"}),dateTime:m({formats:pH,defaultWidth:"full"})},vH={lastWeek:"'წინა' eeee p'-ზე'",yesterday:"'გუშინ' p'-ზე'",today:"'დღეს' p'-ზე'",tomorrow:"'ხვალ' p'-ზე'",nextWeek:"'შემდეგი' eeee p'-ზე'",other:"P"},yH=(e,a,t,n)=>vH[e],wH={narrow:["ჩ.წ-მდე","ჩ.წ"],abbreviated:["ჩვ.წ-მდე","ჩვ.წ"],wide:["ჩვენს წელთაღრიცხვამდე","ჩვენი წელთაღრიცხვით"]},PH={narrow:["1","2","3","4"],abbreviated:["1-ლი კვ","2-ე კვ","3-ე კვ","4-ე კვ"],wide:["1-ლი კვარტალი","2-ე კვარტალი","3-ე კვარტალი","4-ე კვარტალი"]},kH={narrow:["ია","თე","მა","აპ","მს","ვნ","ვლ","აგ","სე","ოქ","ნო","დე"],abbreviated:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],wide:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"]},MH={narrow:["კვ","ორ","სა","ოთ","ხუ","პა","შა"],short:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],abbreviated:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],wide:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"]},$H={narrow:{am:"a",pm:"p",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"},abbreviated:{am:"AM",pm:"PM",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"},wide:{am:"a.m.",pm:"p.m.",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"}},WH={narrow:{am:"a",pm:"p",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"},abbreviated:{am:"AM",pm:"PM",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"},wide:{am:"a.m.",pm:"p.m.",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"}},xH={ordinalNumber:e=>{const a=Number(e);return a===1?a+"-ლი":a+"-ე"},era:u({values:wH,defaultWidth:"wide"}),quarter:u({values:PH,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:kH,defaultWidth:"wide"}),day:u({values:MH,defaultWidth:"wide"}),dayPeriod:u({values:$H,defaultWidth:"wide",formattingValues:WH,defaultFormattingWidth:"wide"})},jH=/^(\d+)(-ლი|-ე)?/i,SH=/\d+/i,TH={narrow:/^(ჩვ?\.წ)/i,abbreviated:/^(ჩვ?\.წ)/i,wide:/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i},DH={any:[/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,/^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]},EH={narrow:/^[1234]/i,abbreviated:/^[1234]-(ლი|ე)? კვ/i,wide:/^[1234]-(ლი|ე)? კვარტალი/i},NH={any:[/1/i,/2/i,/3/i,/4/i]},CH={any:/^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i},zH={any:[/^ია/i,/^თ/i,/^მარ/i,/^აპ/i,/^მაი/i,/^ი?ვნ/i,/^ი?ვლ/i,/^აგ/i,/^ს/i,/^ო/i,/^ნ/i,/^დ/i]},_H={narrow:/^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,short:/^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,wide:/^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i},OH={any:[/^კვ/i,/^ორ/i,/^სა/i,/^ოთ/i,/^ხუ/i,/^პა/i,/^შა/i]},VH={any:/^([ap]\.?\s?m\.?|შუაღ|დილ)/i},HH={any:{am:/^a/i,pm:/^p/i,midnight:/^შუაღ/i,noon:/^შუადღ/i,morning:/^დილ/i,afternoon:/ნაშუადღევს/i,evening:/საღამო/i,night:/ღამ/i}},IH={ordinalNumber:I({matchPattern:jH,parsePattern:SH,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:TH,defaultMatchWidth:"wide",parsePatterns:DH,defaultParseWidth:"any"}),quarter:d({matchPatterns:EH,defaultMatchWidth:"wide",parsePatterns:NH,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:CH,defaultMatchWidth:"any",parsePatterns:zH,defaultParseWidth:"any"}),day:d({matchPatterns:_H,defaultMatchWidth:"wide",parsePatterns:OH,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:VH,defaultMatchWidth:"any",parsePatterns:HH,defaultParseWidth:"any"})},Lu={code:"ka",formatDistance:hH,formatLong:bH,formatRelative:yH,localize:xH,match:IH,options:{weekStartsOn:1,firstWeekContainsDate:1}},FH=Object.freeze(Object.defineProperty({__proto__:null,default:Lu,ka:Lu},Symbol.toStringTag,{value:"Module"})),AH={lessThanXSeconds:{regular:{one:"1 секундтан аз",singularNominative:"{{count}} секундтан аз",singularGenitive:"{{count}} секундтан аз",pluralGenitive:"{{count}} секундтан аз"},future:{one:"бір секундтан кейін",singularNominative:"{{count}} секундтан кейін",singularGenitive:"{{count}} секундтан кейін",pluralGenitive:"{{count}} секундтан кейін"}},xSeconds:{regular:{singularNominative:"{{count}} секунд",singularGenitive:"{{count}} секунд",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунд бұрын",singularGenitive:"{{count}} секунд бұрын",pluralGenitive:"{{count}} секунд бұрын"},future:{singularNominative:"{{count}} секундтан кейін",singularGenitive:"{{count}} секундтан кейін",pluralGenitive:"{{count}} секундтан кейін"}},halfAMinute:e=>e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"жарты минут ішінде":"жарты минут бұрын":"жарты минут",lessThanXMinutes:{regular:{one:"1 минуттан аз",singularNominative:"{{count}} минуттан аз",singularGenitive:"{{count}} минуттан аз",pluralGenitive:"{{count}} минуттан аз"},future:{one:"минуттан кем ",singularNominative:"{{count}} минуттан кем",singularGenitive:"{{count}} минуттан кем",pluralGenitive:"{{count}} минуттан кем"}},xMinutes:{regular:{singularNominative:"{{count}} минут",singularGenitive:"{{count}} минут",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минут бұрын",singularGenitive:"{{count}} минут бұрын",pluralGenitive:"{{count}} минут бұрын"},future:{singularNominative:"{{count}} минуттан кейін",singularGenitive:"{{count}} минуттан кейін",pluralGenitive:"{{count}} минуттан кейін"}},aboutXHours:{regular:{singularNominative:"шамамен {{count}} сағат",singularGenitive:"шамамен {{count}} сағат",pluralGenitive:"шамамен {{count}} сағат"},future:{singularNominative:"шамамен {{count}} сағаттан кейін",singularGenitive:"шамамен {{count}} сағаттан кейін",pluralGenitive:"шамамен {{count}} сағаттан кейін"}},xHours:{regular:{singularNominative:"{{count}} сағат",singularGenitive:"{{count}} сағат",pluralGenitive:"{{count}} сағат"}},xDays:{regular:{singularNominative:"{{count}} күн",singularGenitive:"{{count}} күн",pluralGenitive:"{{count}} күн"},future:{singularNominative:"{{count}} күннен кейін",singularGenitive:"{{count}} күннен кейін",pluralGenitive:"{{count}} күннен кейін"}},aboutXWeeks:{type:"weeks",one:"шамамен 1 апта",other:"шамамен {{count}} апта"},xWeeks:{type:"weeks",one:"1 апта",other:"{{count}} апта"},aboutXMonths:{regular:{singularNominative:"шамамен {{count}} ай",singularGenitive:"шамамен {{count}} ай",pluralGenitive:"шамамен {{count}} ай"},future:{singularNominative:"шамамен {{count}} айдан кейін",singularGenitive:"шамамен {{count}} айдан кейін",pluralGenitive:"шамамен {{count}} айдан кейін"}},xMonths:{regular:{singularNominative:"{{count}} ай",singularGenitive:"{{count}} ай",pluralGenitive:"{{count}} ай"}},aboutXYears:{regular:{singularNominative:"шамамен {{count}} жыл",singularGenitive:"шамамен {{count}} жыл",pluralGenitive:"шамамен {{count}} жыл"},future:{singularNominative:"шамамен {{count}} жылдан кейін",singularGenitive:"шамамен {{count}} жылдан кейін",pluralGenitive:"шамамен {{count}} жылдан кейін"}},xYears:{regular:{singularNominative:"{{count}} жыл",singularGenitive:"{{count}} жыл",pluralGenitive:"{{count}} жыл"},future:{singularNominative:"{{count}} жылдан кейін",singularGenitive:"{{count}} жылдан кейін",pluralGenitive:"{{count}} жылдан кейін"}},overXYears:{regular:{singularNominative:"{{count}} жылдан астам",singularGenitive:"{{count}} жылдан астам",pluralGenitive:"{{count}} жылдан астам"},future:{singularNominative:"{{count}} жылдан астам",singularGenitive:"{{count}} жылдан астам",pluralGenitive:"{{count}} жылдан астам"}},almostXYears:{regular:{singularNominative:"{{count}} жылға жақын",singularGenitive:"{{count}} жылға жақын",pluralGenitive:"{{count}} жылға жақын"},future:{singularNominative:"{{count}} жылдан кейін",singularGenitive:"{{count}} жылдан кейін",pluralGenitive:"{{count}} жылдан кейін"}}};function Ka(e,a){if(e.one&&a===1)return e.one;const t=a%10,n=a%100;return t===1&&n!==11?e.singularNominative.replace("{{count}}",String(a)):t>=2&&t<=4&&(n<10||n>20)?e.singularGenitive.replace("{{count}}",String(a)):e.pluralGenitive.replace("{{count}}",String(a))}const LH=(e,a,t)=>{const n=AH[e];return typeof n=="function"?n(t):n.type==="weeks"?a===1?n.one:n.other.replace("{{count}}",String(a)):t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n.future?Ka(n.future,a):Ka(n.regular,a)+" кейін":n.past?Ka(n.past,a):Ka(n.regular,a)+" бұрын":Ka(n.regular,a)},XH={full:"EEEE, do MMMM y 'ж.'",long:"do MMMM y 'ж.'",medium:"d MMM y 'ж.'",short:"dd.MM.yyyy"},RH={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},YH={any:"{{date}}, {{time}}"},qH={date:m({formats:XH,defaultWidth:"full"}),time:m({formats:RH,defaultWidth:"full"}),dateTime:m({formats:YH,defaultWidth:"any"})},Nr=["жексенбіде","дүйсенбіде","сейсенбіде","сәрсенбіде","бейсенбіде","жұмада","сенбіде"];function GH(e){return"'өткен "+Nr[e]+" сағат' p'-де'"}function Xu(e){return"'"+Nr[e]+" сағат' p'-де'"}function QH(e){return"'келесі "+Nr[e]+" сағат' p'-де'"}const KH={lastWeek:(e,a,t)=>{const n=e.getDay();return ze(e,a,t)?Xu(n):GH(n)},yesterday:"'кеше сағат' p'-де'",today:"'бүгін сағат' p'-де'",tomorrow:"'ертең сағат' p'-де'",nextWeek:(e,a,t)=>{const n=e.getDay();return ze(e,a,t)?Xu(n):QH(n)},other:"P"},JH=(e,a,t,n)=>{const r=KH[e];return typeof r=="function"?r(a,t,n):r},BH={narrow:["б.з.д.","б.з."],abbreviated:["б.з.д.","б.з."],wide:["біздің заманымызға дейін","біздің заманымыз"]},UH={narrow:["1","2","3","4"],abbreviated:["1-ші тоқ.","2-ші тоқ.","3-ші тоқ.","4-ші тоқ."],wide:["1-ші тоқсан","2-ші тоқсан","3-ші тоқсан","4-ші тоқсан"]},ZH={narrow:["Қ","А","Н","С","М","М","Ш","Т","Қ","Қ","Қ","Ж"],abbreviated:["қаң","ақп","нау","сәу","мам","мау","шіл","там","қыр","қаз","қар","жел"],wide:["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан"]},e3={narrow:["Қ","А","Н","С","М","М","Ш","Т","Қ","Қ","Қ","Ж"],abbreviated:["қаң","ақп","нау","сәу","мам","мау","шіл","там","қыр","қаз","қар","жел"],wide:["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан"]},t3={narrow:["Ж","Д","С","С","Б","Ж","С"],short:["жс","дс","сс","ср","бс","жм","сб"],abbreviated:["жс","дс","сс","ср","бс","жм","сб"],wide:["жексенбі","дүйсенбі","сейсенбі","сәрсенбі","бейсенбі","жұма","сенбі"]},a3={narrow:{am:"ТД",pm:"ТК",midnight:"түн ортасы",noon:"түс",morning:"таң",afternoon:"күндіз",evening:"кеш",night:"түн"},wide:{am:"ТД",pm:"ТК",midnight:"түн ортасы",noon:"түс",morning:"таң",afternoon:"күндіз",evening:"кеш",night:"түн"}},n3={narrow:{am:"ТД",pm:"ТК",midnight:"түн ортасында",noon:"түс",morning:"таң",afternoon:"күн",evening:"кеш",night:"түн"},wide:{am:"ТД",pm:"ТК",midnight:"түн ортасында",noon:"түсте",morning:"таңертең",afternoon:"күндіз",evening:"кеште",night:"түнде"}},Cr={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},r3={ordinalNumber:(e,a)=>{const t=Number(e),n=t%10,r=t>=100?100:null,i=Cr[t]||Cr[n]||r&&Cr[r]||"";return t+i},era:u({values:BH,defaultWidth:"wide"}),quarter:u({values:UH,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:ZH,defaultWidth:"wide",formattingValues:e3,defaultFormattingWidth:"wide"}),day:u({values:t3,defaultWidth:"wide"}),dayPeriod:u({values:a3,defaultWidth:"any",formattingValues:n3,defaultFormattingWidth:"wide"})},i3=/^(\d+)(-?(ші|шы))?/i,o3=/\d+/i,s3={narrow:/^((б )?з\.?\s?д\.?)/i,abbreviated:/^((б )?з\.?\s?д\.?)/i,wide:/^(біздің заманымызға дейін|біздің заманымыз|біздің заманымыздан)/i},u3={any:[/^б/i,/^з/i]},d3={narrow:/^[1234]/i,abbreviated:/^[1234](-?ші)? тоқ.?/i,wide:/^[1234](-?ші)? тоқсан/i},c3={any:[/1/i,/2/i,/3/i,/4/i]},l3={narrow:/^(қ|а|н|с|м|мау|ш|т|қыр|қаз|қар|ж)/i,abbreviated:/^(қаң|ақп|нау|сәу|мам|мау|шіл|там|қыр|қаз|қар|жел)/i,wide:/^(қаңтар|ақпан|наурыз|сәуір|мамыр|маусым|шілде|тамыз|қыркүйек|қазан|қараша|желтоқсан)/i},m3={narrow:[/^қ/i,/^а/i,/^н/i,/^с/i,/^м/i,/^м/i,/^ш/i,/^т/i,/^қ/i,/^қ/i,/^қ/i,/^ж/i],abbreviated:[/^қаң/i,/^ақп/i,/^нау/i,/^сәу/i,/^мам/i,/^мау/i,/^шіл/i,/^там/i,/^қыр/i,/^қаз/i,/^қар/i,/^жел/i],any:[/^қ/i,/^а/i,/^н/i,/^с/i,/^м/i,/^м/i,/^ш/i,/^т/i,/^қ/i,/^қ/i,/^қ/i,/^ж/i]},h3={narrow:/^(ж|д|с|с|б|ж|с)/i,short:/^(жс|дс|сс|ср|бс|жм|сб)/i,wide:/^(жексенбі|дүйсенбі|сейсенбі|сәрсенбі|бейсенбі|жұма|сенбі)/i},f3={narrow:[/^ж/i,/^д/i,/^с/i,/^с/i,/^б/i,/^ж/i,/^с/i],short:[/^жс/i,/^дс/i,/^сс/i,/^ср/i,/^бс/i,/^жм/i,/^сб/i],any:[/^ж[ек]/i,/^д[үй]/i,/^сe[й]/i,/^сә[р]/i,/^б[ей]/i,/^ж[ұм]/i,/^се[н]/i]},g3={narrow:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,wide:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,any:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i},p3={any:{am:/^ТД/i,pm:/^ТК/i,midnight:/^түн орта/i,noon:/^күндіз/i,morning:/таң/i,afternoon:/түс/i,evening:/кеш/i,night:/түн/i}},b3={ordinalNumber:I({matchPattern:i3,parsePattern:o3,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:s3,defaultMatchWidth:"wide",parsePatterns:u3,defaultParseWidth:"any"}),quarter:d({matchPatterns:d3,defaultMatchWidth:"wide",parsePatterns:c3,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:l3,defaultMatchWidth:"wide",parsePatterns:m3,defaultParseWidth:"any"}),day:d({matchPatterns:h3,defaultMatchWidth:"wide",parsePatterns:f3,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:g3,defaultMatchWidth:"wide",parsePatterns:p3,defaultParseWidth:"any"})},Ru={code:"kk",formatDistance:LH,formatLong:qH,formatRelative:JH,localize:r3,match:b3,options:{weekStartsOn:1,firstWeekContainsDate:1}},v3=Object.freeze(Object.defineProperty({__proto__:null,default:Ru,kk:Ru},Symbol.toStringTag,{value:"Module"})),y3={lessThanXSeconds:"តិចជាង {{count}} វិនាទី",xSeconds:"{{count}} វិនាទី",halfAMinute:"កន្លះនាទី",lessThanXMinutes:"តិចជាង {{count}} នាទី",xMinutes:"{{count}} នាទី",aboutXHours:"ប្រហែល {{count}} ម៉ោង",xHours:"{{count}} ម៉ោង",xDays:"{{count}} ថ្ងៃ",aboutXWeeks:"ប្រហែល {{count}} សប្តាហ៍",xWeeks:"{{count}} សប្តាហ៍",aboutXMonths:"ប្រហែល {{count}} ខែ",xMonths:"{{count}} ខែ",aboutXYears:"ប្រហែល {{count}} ឆ្នាំ",xYears:"{{count}} ឆ្នាំ",overXYears:"ជាង {{count}} ឆ្នាំ",almostXYears:"ជិត {{count}} ឆ្នាំ"},w3=(e,a,t)=>{let r=y3[e];return typeof a=="number"&&(r=r.replace("{{count}}",a.toString())),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"ក្នុងរយៈពេល "+r:r+"មុន":r},P3={full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},k3={full:"h:mm:ss a",long:"h:mm:ss a",medium:"h:mm:ss a",short:"h:mm a"},M3={full:"{{date}} 'ម៉ោង' {{time}}",long:"{{date}} 'ម៉ោង' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$3={date:m({formats:P3,defaultWidth:"full"}),time:m({formats:k3,defaultWidth:"full"}),dateTime:m({formats:M3,defaultWidth:"full"})},W3={lastWeek:"'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​មុនម៉ោង' p",yesterday:"'ម្សិលមិញនៅម៉ោង' p",today:"'ថ្ងៃនេះម៉ោង' p",tomorrow:"'ថ្ងៃស្អែកម៉ោង' p",nextWeek:"'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​ក្រោយម៉ោង' p",other:"P"},x3=(e,a,t,n)=>W3[e],j3={narrow:["ម.គស","គស"],abbreviated:["មុនគ.ស","គ.ស"],wide:["មុនគ្រិស្តសករាជ","នៃគ្រិស្តសករាជ"]},S3={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ត្រីមាសទី 1","ត្រីមាសទី 2","ត្រីមាសទី 3","ត្រីមាសទី 4"]},T3={narrow:["ម.ក","ក.ម","មិ","ម.ស","ឧ.ស","ម.ថ","ក.ដ","សី","កញ","តុ","វិ","ធ"],abbreviated:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],wide:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"]},D3={narrow:["អា","ច","អ","ព","ព្រ","សុ","ស"],short:["អា","ច","អ","ព","ព្រ","សុ","ស"],abbreviated:["អា","ច","អ","ព","ព្រ","សុ","ស"],wide:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"]},E3={narrow:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},abbreviated:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},wide:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"}},N3={narrow:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},abbreviated:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},wide:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"}},C3={ordinalNumber:(e,a)=>Number(e).toString(),era:u({values:j3,defaultWidth:"wide"}),quarter:u({values:S3,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:T3,defaultWidth:"wide"}),day:u({values:D3,defaultWidth:"wide"}),dayPeriod:u({values:E3,defaultWidth:"wide",formattingValues:N3,defaultFormattingWidth:"wide"})},z3=/^(\d+)(th|st|nd|rd)?/i,_3=/\d+/i,O3={narrow:/^(ម\.)?គស/i,abbreviated:/^(មុន)?គ\.ស/i,wide:/^(មុន|នៃ)គ្រិស្តសករាជ/i},V3={any:[/^(ម|មុន)គ\.?ស/i,/^(នៃ)?គ\.?ស/i]},H3={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^(ត្រីមាស)(ទី)?\s?[1234]/i},I3={any:[/1/i,/2/i,/3/i,/4/i]},F3={narrow:/^(ម\.ក|ក\.ម|មិ|ម\.ស|ឧ\.ស|ម\.ថ|ក\.ដ|សី|កញ|តុ|វិ|ធ)/i,abbreviated:/^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i,wide:/^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i},A3={narrow:[/^ម\.ក/i,/^ក\.ម/i,/^មិ/i,/^ម\.ស/i,/^ឧ\.ស/i,/^ម\.ថ/i,/^ក\.ដ/i,/^សី/i,/^កញ/i,/^តុ/i,/^វិ/i,/^ធ/i],any:[/^មក/i,/^កុ/i,/^មីន/i,/^មេ/i,/^ឧស/i,/^មិថ/i,/^កក/i,/^សី/i,/^កញ/i,/^តុ/i,/^វិច/i,/^ធ/i]},L3={narrow:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,short:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,abbreviated:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,wide:/^(អាទិត្យ|ចន្ទ|អង្គារ|ពុធ|ព្រហស្បតិ៍|សុក្រ|សៅរ៍)/i},X3={narrow:[/^អា/i,/^ច/i,/^អ/i,/^ព/i,/^ព្រ/i,/^សុ/i,/^ស/i],any:[/^អា/i,/^ច/i,/^អ/i,/^ព/i,/^ព្រ/i,/^សុ/i,/^សៅ/i]},R3={narrow:/^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i,any:/^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i},Y3={any:{am:/^ព្រឹក/i,pm:/^ល្ងាច/i,midnight:/^ពេលកណ្ដាលអធ្រាត្រ/i,noon:/^ពេលថ្ងៃត្រង់/i,morning:/ពេលព្រឹក/i,afternoon:/ពេលរសៀល/i,evening:/ពេលល្ងាច/i,night:/ពេលយប់/i}},q3={ordinalNumber:I({matchPattern:z3,parsePattern:_3,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:O3,defaultMatchWidth:"wide",parsePatterns:V3,defaultParseWidth:"any"}),quarter:d({matchPatterns:H3,defaultMatchWidth:"wide",parsePatterns:I3,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:F3,defaultMatchWidth:"wide",parsePatterns:A3,defaultParseWidth:"any"}),day:d({matchPatterns:L3,defaultMatchWidth:"wide",parsePatterns:X3,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:R3,defaultMatchWidth:"any",parsePatterns:Y3,defaultParseWidth:"any"})},Yu={code:"km",formatDistance:w3,formatLong:$3,formatRelative:x3,localize:C3,match:q3,options:{weekStartsOn:0,firstWeekContainsDate:1}},G3=Object.freeze(Object.defineProperty({__proto__:null,default:Yu,km:Yu},Symbol.toStringTag,{value:"Module"})),Q3={lessThanXSeconds:{one:{default:"1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ",future:"1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ",past:"1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ"},other:{default:"{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ",future:"{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ",past:"{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ"}},xSeconds:{one:{default:"1 ಸೆಕೆಂಡ್",future:"1 ಸೆಕೆಂಡ್‌ನಲ್ಲಿ",past:"1 ಸೆಕೆಂಡ್ ಹಿಂದೆ"},other:{default:"{{count}} ಸೆಕೆಂಡುಗಳು",future:"{{count}} ಸೆಕೆಂಡ್‌ಗಳಲ್ಲಿ",past:"{{count}} ಸೆಕೆಂಡ್ ಹಿಂದೆ"}},halfAMinute:{other:{default:"ಅರ್ಧ ನಿಮಿಷ",future:"ಅರ್ಧ ನಿಮಿಷದಲ್ಲಿ",past:"ಅರ್ಧ ನಿಮಿಷದ ಹಿಂದೆ"}},lessThanXMinutes:{one:{default:"1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",future:"1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",past:"1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ"},other:{default:"{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",future:"{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",past:"{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ"}},xMinutes:{one:{default:"1 ನಿಮಿಷ",future:"1 ನಿಮಿಷದಲ್ಲಿ",past:"1 ನಿಮಿಷದ ಹಿಂದೆ"},other:{default:"{{count}} ನಿಮಿಷಗಳು",future:"{{count}} ನಿಮಿಷಗಳಲ್ಲಿ",past:"{{count}} ನಿಮಿಷಗಳ ಹಿಂದೆ"}},aboutXHours:{one:{default:"ಸುಮಾರು 1 ಗಂಟೆ",future:"ಸುಮಾರು 1 ಗಂಟೆಯಲ್ಲಿ",past:"ಸುಮಾರು 1 ಗಂಟೆ ಹಿಂದೆ"},other:{default:"ಸುಮಾರು {{count}} ಗಂಟೆಗಳು",future:"ಸುಮಾರು {{count}} ಗಂಟೆಗಳಲ್ಲಿ",past:"ಸುಮಾರು {{count}} ಗಂಟೆಗಳ ಹಿಂದೆ"}},xHours:{one:{default:"1 ಗಂಟೆ",future:"1 ಗಂಟೆಯಲ್ಲಿ",past:"1 ಗಂಟೆ ಹಿಂದೆ"},other:{default:"{{count}} ಗಂಟೆಗಳು",future:"{{count}} ಗಂಟೆಗಳಲ್ಲಿ",past:"{{count}} ಗಂಟೆಗಳ ಹಿಂದೆ"}},xDays:{one:{default:"1 ದಿನ",future:"1 ದಿನದಲ್ಲಿ",past:"1 ದಿನದ ಹಿಂದೆ"},other:{default:"{{count}} ದಿನಗಳು",future:"{{count}} ದಿನಗಳಲ್ಲಿ",past:"{{count}} ದಿನಗಳ ಹಿಂದೆ"}},aboutXMonths:{one:{default:"ಸುಮಾರು 1 ತಿಂಗಳು",future:"ಸುಮಾರು 1 ತಿಂಗಳಲ್ಲಿ",past:"ಸುಮಾರು 1 ತಿಂಗಳ ಹಿಂದೆ"},other:{default:"ಸುಮಾರು {{count}} ತಿಂಗಳು",future:"ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳಲ್ಲಿ",past:"ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ"}},xMonths:{one:{default:"1 ತಿಂಗಳು",future:"1 ತಿಂಗಳಲ್ಲಿ",past:"1 ತಿಂಗಳ ಹಿಂದೆ"},other:{default:"{{count}} ತಿಂಗಳು",future:"{{count}} ತಿಂಗಳುಗಳಲ್ಲಿ",past:"{{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ"}},aboutXYears:{one:{default:"ಸುಮಾರು 1 ವರ್ಷ",future:"ಸುಮಾರು 1 ವರ್ಷದಲ್ಲಿ",past:"ಸುಮಾರು 1 ವರ್ಷದ ಹಿಂದೆ"},other:{default:"ಸುಮಾರು {{count}} ವರ್ಷಗಳು",future:"ಸುಮಾರು {{count}} ವರ್ಷಗಳಲ್ಲಿ",past:"ಸುಮಾರು {{count}} ವರ್ಷಗಳ ಹಿಂದೆ"}},xYears:{one:{default:"1 ವರ್ಷ",future:"1 ವರ್ಷದಲ್ಲಿ",past:"1 ವರ್ಷದ ಹಿಂದೆ"},other:{default:"{{count}} ವರ್ಷಗಳು",future:"{{count}} ವರ್ಷಗಳಲ್ಲಿ",past:"{{count}} ವರ್ಷಗಳ ಹಿಂದೆ"}},overXYears:{one:{default:"1 ವರ್ಷದ ಮೇಲೆ",future:"1 ವರ್ಷದ ಮೇಲೆ",past:"1 ವರ್ಷದ ಮೇಲೆ"},other:{default:"{{count}} ವರ್ಷಗಳ ಮೇಲೆ",future:"{{count}} ವರ್ಷಗಳ ಮೇಲೆ",past:"{{count}} ವರ್ಷಗಳ ಮೇಲೆ"}},almostXYears:{one:{default:"ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ",future:"ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ",past:"ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ"},other:{default:"ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ",future:"ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ",past:"ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ"}}};function qu(e,a){return a!=null&&a.addSuffix?a.comparison&&a.comparison>0?e.future:e.past:e.default}const K3=(e,a,t)=>{let n;const r=Q3[e];return r.one&&a===1?n=qu(r.one,t):n=qu(r.other,t),n.replace("{{count}}",String(a))},J3={full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"d/M/yy"},B3={full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},U3={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Z3={date:m({formats:J3,defaultWidth:"full"}),time:m({formats:B3,defaultWidth:"full"}),dateTime:m({formats:U3,defaultWidth:"full"})},e4={lastWeek:"'ಕಳೆದ' eeee p 'ಕ್ಕೆ'",yesterday:"'ನಿನ್ನೆ' p 'ಕ್ಕೆ'",today:"'ಇಂದು' p 'ಕ್ಕೆ'",tomorrow:"'ನಾಳೆ' p 'ಕ್ಕೆ'",nextWeek:"eeee p 'ಕ್ಕೆ'",other:"P"},t4=(e,a,t,n)=>e4[e],a4={narrow:["ಕ್ರಿ.ಪೂ","ಕ್ರಿ.ಶ"],abbreviated:["ಕ್ರಿ.ಪೂ","ಕ್ರಿ.ಶ"],wide:["ಕ್ರಿಸ್ತ ಪೂರ್ವ","ಕ್ರಿಸ್ತ ಶಕ"]},n4={narrow:["1","2","3","4"],abbreviated:["ತ್ರೈ 1","ತ್ರೈ 2","ತ್ರೈ 3","ತ್ರೈ 4"],wide:["1ನೇ ತ್ರೈಮಾಸಿಕ","2ನೇ ತ್ರೈಮಾಸಿಕ","3ನೇ ತ್ರೈಮಾಸಿಕ","4ನೇ ತ್ರೈಮಾಸಿಕ"]},r4={narrow:["ಜ","ಫೆ","ಮಾ","ಏ","ಮೇ","ಜೂ","ಜು","ಆ","ಸೆ","ಅ","ನ","ಡಿ"],abbreviated:["ಜನ","ಫೆಬ್ರ","ಮಾರ್ಚ್","ಏಪ್ರಿ","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗ","ಸೆಪ್ಟೆಂ","ಅಕ್ಟೋ","ನವೆಂ","ಡಿಸೆಂ"],wide:["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಏಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟೆಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್"]},i4={narrow:["ಭಾ","ಸೋ","ಮಂ","ಬು","ಗು","ಶು","ಶ"],short:["ಭಾನು","ಸೋಮ","ಮಂಗಳ","ಬುಧ","ಗುರು","ಶುಕ್ರ","ಶನಿ"],abbreviated:["ಭಾನು","ಸೋಮ","ಮಂಗಳ","ಬುಧ","ಗುರು","ಶುಕ್ರ","ಶನಿ"],wide:["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"]},o4={narrow:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾಹ್ನ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾಹ್ನ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},abbreviated:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},wide:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"}},s4={narrow:{am:"ಪೂ",pm:"ಅ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},abbreviated:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯ ರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},wide:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯ ರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"}},u4={ordinalNumber:(e,a)=>Number(e)+"ನೇ",era:u({values:a4,defaultWidth:"wide"}),quarter:u({values:n4,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:r4,defaultWidth:"wide"}),day:u({values:i4,defaultWidth:"wide"}),dayPeriod:u({values:o4,defaultWidth:"wide",formattingValues:s4,defaultFormattingWidth:"wide"})},d4=/^(\d+)(ನೇ|ನೆ)?/i,c4=/\d+/i,l4={narrow:/^(ಕ್ರಿ.ಪೂ|ಕ್ರಿ.ಶ)/i,abbreviated:/^(ಕ್ರಿ\.?\s?ಪೂ\.?|ಕ್ರಿ\.?\s?ಶ\.?|ಪ್ರ\.?\s?ಶ\.?)/i,wide:/^(ಕ್ರಿಸ್ತ ಪೂರ್ವ|ಕ್ರಿಸ್ತ ಶಕ|ಪ್ರಸಕ್ತ ಶಕ)/i},m4={any:[/^ಪೂ/i,/^(ಶ|ಪ್ರ)/i]},h4={narrow:/^[1234]/i,abbreviated:/^ತ್ರೈ[1234]|ತ್ರೈ [1234]| [1234]ತ್ರೈ/i,wide:/^[1234](ನೇ)? ತ್ರೈಮಾಸಿಕ/i},f4={any:[/1/i,/2/i,/3/i,/4/i]},g4={narrow:/^(ಜೂ|ಜು|ಜ|ಫೆ|ಮಾ|ಏ|ಮೇ|ಆ|ಸೆ|ಅ|ನ|ಡಿ)/i,abbreviated:/^(ಜನ|ಫೆಬ್ರ|ಮಾರ್ಚ್|ಏಪ್ರಿ|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗ|ಸೆಪ್ಟೆಂ|ಅಕ್ಟೋ|ನವೆಂ|ಡಿಸೆಂ)/i,wide:/^(ಜನವರಿ|ಫೆಬ್ರವರಿ|ಮಾರ್ಚ್|ಏಪ್ರಿಲ್|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗಸ್ಟ್|ಸೆಪ್ಟೆಂಬರ್|ಅಕ್ಟೋಬರ್|ನವೆಂಬರ್|ಡಿಸೆಂಬರ್)/i},p4={narrow:[/^ಜ$/i,/^ಫೆ/i,/^ಮಾ/i,/^ಏ/i,/^ಮೇ/i,/^ಜೂ/i,/^ಜು$/i,/^ಆ/i,/^ಸೆ/i,/^ಅ/i,/^ನ/i,/^ಡಿ/i],any:[/^ಜನ/i,/^ಫೆ/i,/^ಮಾ/i,/^ಏ/i,/^ಮೇ/i,/^ಜೂನ್/i,/^ಜುಲೈ/i,/^ಆ/i,/^ಸೆ/i,/^ಅ/i,/^ನ/i,/^ಡಿ/i]},b4={narrow:/^(ಭಾ|ಸೋ|ಮ|ಬು|ಗು|ಶು|ಶ)/i,short:/^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i,abbreviated:/^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i,wide:/^(ಭಾನುವಾರ|ಸೋಮವಾರ|ಮಂಗಳವಾರ|ಬುಧವಾರ|ಗುರುವಾರ|ಶುಕ್ರವಾರ|ಶನಿವಾರ)/i},v4={narrow:[/^ಭಾ/i,/^ಸೋ/i,/^ಮ/i,/^ಬು/i,/^ಗು/i,/^ಶು/i,/^ಶ/i],any:[/^ಭಾ/i,/^ಸೋ/i,/^ಮ/i,/^ಬು/i,/^ಗು/i,/^ಶು/i,/^ಶ/i]},y4={narrow:/^(ಪೂ|ಅ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i,any:/^(ಪೂರ್ವಾಹ್ನ|ಅಪರಾಹ್ನ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i},w4={any:{am:/^ಪೂ/i,pm:/^ಅ/i,midnight:/ಮಧ್ಯರಾತ್ರಿ/i,noon:/ಮಧ್ಯಾನ್ಹ/i,morning:/ಬೆಳಗ್ಗೆ/i,afternoon:/ಮಧ್ಯಾನ್ಹ/i,evening:/ಸಂಜೆ/i,night:/ರಾತ್ರಿ/i}},P4={ordinalNumber:I({matchPattern:d4,parsePattern:c4,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:l4,defaultMatchWidth:"wide",parsePatterns:m4,defaultParseWidth:"any"}),quarter:d({matchPatterns:h4,defaultMatchWidth:"wide",parsePatterns:f4,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:g4,defaultMatchWidth:"wide",parsePatterns:p4,defaultParseWidth:"any"}),day:d({matchPatterns:b4,defaultMatchWidth:"wide",parsePatterns:v4,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:y4,defaultMatchWidth:"any",parsePatterns:w4,defaultParseWidth:"any"})},Gu={code:"kn",formatDistance:K3,formatLong:Z3,formatRelative:t4,localize:u4,match:P4,options:{weekStartsOn:1,firstWeekContainsDate:1}},k4=Object.freeze(Object.defineProperty({__proto__:null,default:Gu,kn:Gu},Symbol.toStringTag,{value:"Module"})),M4={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},$4=(e,a,t)=>{let n;const r=M4[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+" 후":n+" 전":n},W4={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},x4={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},j4={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},S4={date:m({formats:W4,defaultWidth:"full"}),time:m({formats:x4,defaultWidth:"full"}),dateTime:m({formats:j4,defaultWidth:"full"})},T4={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},D4=(e,a,t,n)=>T4[e],E4={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},N4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},C4={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},z4={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},_4={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},O4={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},V4={ordinalNumber:(e,a)=>{const t=Number(e);switch(String(a==null?void 0:a.unit)){case"minute":case"second":return String(t);case"date":return t+"일";default:return t+"번째"}},era:u({values:E4,defaultWidth:"wide"}),quarter:u({values:N4,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:C4,defaultWidth:"wide"}),day:u({values:z4,defaultWidth:"wide"}),dayPeriod:u({values:_4,defaultWidth:"wide",formattingValues:O4,defaultFormattingWidth:"wide"})},H4=/^(\d+)(일|번째)?/i,I4=/\d+/i,F4={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},A4={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},L4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},X4={any:[/1/i,/2/i,/3/i,/4/i]},R4={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},Y4={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},q4={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},G4={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},Q4={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},K4={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},J4={ordinalNumber:I({matchPattern:H4,parsePattern:I4,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:F4,defaultMatchWidth:"wide",parsePatterns:A4,defaultParseWidth:"any"}),quarter:d({matchPatterns:L4,defaultMatchWidth:"wide",parsePatterns:X4,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:R4,defaultMatchWidth:"wide",parsePatterns:Y4,defaultParseWidth:"any"}),day:d({matchPatterns:q4,defaultMatchWidth:"wide",parsePatterns:G4,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:Q4,defaultMatchWidth:"any",parsePatterns:K4,defaultParseWidth:"any"})},Qu={code:"ko",formatDistance:$4,formatLong:S4,formatRelative:D4,localize:V4,match:J4,options:{weekStartsOn:0,firstWeekContainsDate:1}},B4=Object.freeze(Object.defineProperty({__proto__:null,default:Qu,ko:Qu},Symbol.toStringTag,{value:"Module"})),U4={lessThanXSeconds:{standalone:{one:"manner wéi eng Sekonn",other:"manner wéi {{count}} Sekonnen"},withPreposition:{one:"manner wéi enger Sekonn",other:"manner wéi {{count}} Sekonnen"}},xSeconds:{standalone:{one:"eng Sekonn",other:"{{count}} Sekonnen"},withPreposition:{one:"enger Sekonn",other:"{{count}} Sekonnen"}},halfAMinute:{standalone:"eng hallef Minutt",withPreposition:"enger hallwer Minutt"},lessThanXMinutes:{standalone:{one:"manner wéi eng Minutt",other:"manner wéi {{count}} Minutten"},withPreposition:{one:"manner wéi enger Minutt",other:"manner wéi {{count}} Minutten"}},xMinutes:{standalone:{one:"eng Minutt",other:"{{count}} Minutten"},withPreposition:{one:"enger Minutt",other:"{{count}} Minutten"}},aboutXHours:{standalone:{one:"ongeféier eng Stonn",other:"ongeféier {{count}} Stonnen"},withPreposition:{one:"ongeféier enger Stonn",other:"ongeféier {{count}} Stonnen"}},xHours:{standalone:{one:"eng Stonn",other:"{{count}} Stonnen"},withPreposition:{one:"enger Stonn",other:"{{count}} Stonnen"}},xDays:{standalone:{one:"een Dag",other:"{{count}} Deeg"},withPreposition:{one:"engem Dag",other:"{{count}} Deeg"}},aboutXWeeks:{standalone:{one:"ongeféier eng Woch",other:"ongeféier {{count}} Wochen"},withPreposition:{one:"ongeféier enger Woche",other:"ongeféier {{count}} Wochen"}},xWeeks:{standalone:{one:"eng Woch",other:"{{count}} Wochen"},withPreposition:{one:"enger Woch",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"ongeféier ee Mount",other:"ongeféier {{count}} Méint"},withPreposition:{one:"ongeféier engem Mount",other:"ongeféier {{count}} Méint"}},xMonths:{standalone:{one:"ee Mount",other:"{{count}} Méint"},withPreposition:{one:"engem Mount",other:"{{count}} Méint"}},aboutXYears:{standalone:{one:"ongeféier ee Joer",other:"ongeféier {{count}} Joer"},withPreposition:{one:"ongeféier engem Joer",other:"ongeféier {{count}} Joer"}},xYears:{standalone:{one:"ee Joer",other:"{{count}} Joer"},withPreposition:{one:"engem Joer",other:"{{count}} Joer"}},overXYears:{standalone:{one:"méi wéi ee Joer",other:"méi wéi {{count}} Joer"},withPreposition:{one:"méi wéi engem Joer",other:"méi wéi {{count}} Joer"}},almostXYears:{standalone:{one:"bal ee Joer",other:"bal {{count}} Joer"},withPreposition:{one:"bal engem Joer",other:"bal {{count}} Joer"}}},Z4=["d","h","n","t","z"],eI=["a,","e","i","o","u"],tI=[0,1,2,3,8,9],aI=[40,50,60,70];function Ku(e){const a=e.charAt(0).toLowerCase();if(eI.indexOf(a)!=-1||Z4.indexOf(a)!=-1)return!0;const t=e.split(" ")[0],n=parseInt(t);return!isNaN(n)&&tI.indexOf(n%10)!=-1&&aI.indexOf(parseInt(t.substring(0,2)))==-1}const nI=(e,a,t)=>{let n;const r=U4[e],i=t!=null&&t.addSuffix?r.withPreposition:r.standalone;return typeof i=="string"?n=i:a===1?n=i.one:n=i.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"a"+(Ku(n)?"n":"")+" "+n:"viru"+(Ku(n)?"n":"")+" "+n:n},rI={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.yy"},iI={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},oI={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},sI={date:m({formats:rI,defaultWidth:"full"}),time:m({formats:iI,defaultWidth:"full"}),dateTime:m({formats:oI,defaultWidth:"full"})},uI={lastWeek:e=>{const a=e.getDay();let t="'läschte";return(a===2||a===4)&&(t+="n"),t+="' eeee 'um' p",t},yesterday:"'gëschter um' p",today:"'haut um' p",tomorrow:"'moien um' p",nextWeek:"eeee 'um' p",other:"P"},dI=(e,a,t,n)=>{const r=uI[e];return typeof r=="function"?r(a):r},cI={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["viru Christus","no Christus"]},lI={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},mI={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"]},hI={narrow:["S","M","D","M","D","F","S"],short:["So","Mé","Dë","Më","Do","Fr","Sa"],abbreviated:["So.","Mé.","Dë.","Më.","Do.","Fr.","Sa."],wide:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"]},fI={narrow:{am:"mo.",pm:"nomë.",midnight:"Mëtternuecht",noon:"Mëtteg",morning:"Moien",afternoon:"Nomëtteg",evening:"Owend",night:"Nuecht"},abbreviated:{am:"moies",pm:"nomëttes",midnight:"Mëtternuecht",noon:"Mëtteg",morning:"Moien",afternoon:"Nomëtteg",evening:"Owend",night:"Nuecht"},wide:{am:"moies",pm:"nomëttes",midnight:"Mëtternuecht",noon:"Mëtteg",morning:"Moien",afternoon:"Nomëtteg",evening:"Owend",night:"Nuecht"}},gI={narrow:{am:"mo.",pm:"nom.",midnight:"Mëtternuecht",noon:"mëttes",morning:"moies",afternoon:"nomëttes",evening:"owes",night:"nuets"},abbreviated:{am:"moies",pm:"nomëttes",midnight:"Mëtternuecht",noon:"mëttes",morning:"moies",afternoon:"nomëttes",evening:"owes",night:"nuets"},wide:{am:"moies",pm:"nomëttes",midnight:"Mëtternuecht",noon:"mëttes",morning:"moies",afternoon:"nomëttes",evening:"owes",night:"nuets"}},pI={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:cI,defaultWidth:"wide"}),quarter:u({values:lI,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:mI,defaultWidth:"wide"}),day:u({values:hI,defaultWidth:"wide"}),dayPeriod:u({values:fI,defaultWidth:"wide",formattingValues:gI,defaultFormattingWidth:"wide"})},bI=/^(\d+)(\.)?/i,vI=/\d+/i,yI={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(viru Christus|virun eiser Zäitrechnung|no Christus|eiser Zäitrechnung)/i},wI={any:[/^v/i,/^n/i]},PI={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},kI={any:[/1/i,/2/i,/3/i,/4/i]},MI={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mäe|abr|mee|jun|jul|aug|sep|okt|nov|dez)/i,wide:/^(januar|februar|mäerz|abrëll|mee|juni|juli|august|september|oktober|november|dezember)/i},$I={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,/^mä/i,/^ab/i,/^me/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},WI={narrow:/^[smdf]/i,short:/^(so|mé|dë|më|do|fr|sa)/i,abbreviated:/^(son?|méi?|dën?|mët?|don?|fre?|sam?)\.?/i,wide:/^(sonndeg|méindeg|dënschdeg|mëttwoch|donneschdeg|freideg|samschdeg)/i},xI={any:[/^so/i,/^mé/i,/^dë/i,/^më/i,/^do/i,/^f/i,/^sa/i]},jI={narrow:/^(mo\.?|nomë\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i,abbreviated:/^(moi\.?|nomët\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i,wide:/^(moies|nomëttes|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i},SI={any:{am:/^m/i,pm:/^n/i,midnight:/^Mëtter/i,noon:/^mëttes/i,morning:/moies/i,afternoon:/nomëttes/i,evening:/owes/i,night:/nuets/i}},TI={ordinalNumber:I({matchPattern:bI,parsePattern:vI,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:yI,defaultMatchWidth:"wide",parsePatterns:wI,defaultParseWidth:"any"}),quarter:d({matchPatterns:PI,defaultMatchWidth:"wide",parsePatterns:kI,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:MI,defaultMatchWidth:"wide",parsePatterns:$I,defaultParseWidth:"any"}),day:d({matchPatterns:WI,defaultMatchWidth:"wide",parsePatterns:xI,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:jI,defaultMatchWidth:"wide",parsePatterns:SI,defaultParseWidth:"any"})},Ju={code:"lb",formatDistance:nI,formatLong:sI,formatRelative:dI,localize:pI,match:TI,options:{weekStartsOn:1,firstWeekContainsDate:4}},DI=Object.freeze(Object.defineProperty({__proto__:null,default:Ju,lb:Ju},Symbol.toStringTag,{value:"Module"})),Bu={xseconds_other:"sekundė_sekundžių_sekundes",xminutes_one:"minutė_minutės_minutę",xminutes_other:"minutės_minučių_minutes",xhours_one:"valanda_valandos_valandą",xhours_other:"valandos_valandų_valandas",xdays_one:"diena_dienos_dieną",xdays_other:"dienos_dienų_dienas",xweeks_one:"savaitė_savaitės_savaitę",xweeks_other:"savaitės_savaičių_savaites",xmonths_one:"mėnuo_mėnesio_mėnesį",xmonths_other:"mėnesiai_mėnesių_mėnesius",xyears_one:"metai_metų_metus",xyears_other:"metai_metų_metus",about:"apie",over:"daugiau nei",almost:"beveik",lessthan:"mažiau nei"},Uu=(e,a,t,n)=>a?n?"kelių sekundžių":"kelias sekundes":"kelios sekundės",et=(e,a,t,n)=>a?n?Ct(t)[1]:Ct(t)[2]:Ct(t)[0],Ke=(e,a,t,n)=>{const r=e+" ";return e===1?r+et(e,a,t,n):a?n?r+Ct(t)[1]:r+(Zu(e)?Ct(t)[1]:Ct(t)[2]):r+(Zu(e)?Ct(t)[1]:Ct(t)[0])};function Zu(e){return e%10===0||e>10&&e<20}function Ct(e){return Bu[e].split("_")}const EI={lessThanXSeconds:{one:Uu,other:Ke},xSeconds:{one:Uu,other:Ke},halfAMinute:"pusė minutės",lessThanXMinutes:{one:et,other:Ke},xMinutes:{one:et,other:Ke},aboutXHours:{one:et,other:Ke},xHours:{one:et,other:Ke},xDays:{one:et,other:Ke},aboutXWeeks:{one:et,other:Ke},xWeeks:{one:et,other:Ke},aboutXMonths:{one:et,other:Ke},xMonths:{one:et,other:Ke},aboutXYears:{one:et,other:Ke},xYears:{one:et,other:Ke},overXYears:{one:et,other:Ke},almostXYears:{one:et,other:Ke}},NI=(e,a,t)=>{const n=e.match(/about|over|almost|lessthan/i),r=n?e.replace(n[0],""):e,i=(t==null?void 0:t.comparison)!==void 0&&t.comparison>0;let o;const c=EI[e];if(typeof c=="string"?o=c:a===1?o=c.one(a,(t==null?void 0:t.addSuffix)===!0,r.toLowerCase()+"_one",i):o=c.other(a,(t==null?void 0:t.addSuffix)===!0,r.toLowerCase()+"_other",i),n){const l=n[0].toLowerCase();o=Bu[l]+" "+o}return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"po "+o:"prieš "+o:o},CI={full:"y 'm'. MMMM d 'd'., EEEE",long:"y 'm'. MMMM d 'd'.",medium:"y-MM-dd",short:"y-MM-dd"},zI={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},_I={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},OI={date:m({formats:CI,defaultWidth:"full"}),time:m({formats:zI,defaultWidth:"full"}),dateTime:m({formats:_I,defaultWidth:"full"})},VI={lastWeek:"'Praėjusį' eeee p",yesterday:"'Vakar' p",today:"'Šiandien' p",tomorrow:"'Rytoj' p",nextWeek:"eeee p",other:"P"},HI=(e,a,t,n)=>VI[e],II={narrow:["pr. Kr.","po Kr."],abbreviated:["pr. Kr.","po Kr."],wide:["prieš Kristų","po Kristaus"]},FI={narrow:["1","2","3","4"],abbreviated:["I ketv.","II ketv.","III ketv.","IV ketv."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},AI={narrow:["1","2","3","4"],abbreviated:["I k.","II k.","III k.","IV k."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},LI={narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"]},XI={narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio"]},RI={narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"]},YI={narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienį","pirmadienį","antradienį","trečiadienį","ketvirtadienį","penktadienį","šeštadienį"]},qI={narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"}},GI={narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"}},QI={ordinalNumber:(e,a)=>Number(e)+"-oji",era:u({values:II,defaultWidth:"wide"}),quarter:u({values:FI,defaultWidth:"wide",formattingValues:AI,defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:u({values:LI,defaultWidth:"wide",formattingValues:XI,defaultFormattingWidth:"wide"}),day:u({values:RI,defaultWidth:"wide",formattingValues:YI,defaultFormattingWidth:"wide"}),dayPeriod:u({values:qI,defaultWidth:"wide",formattingValues:GI,defaultFormattingWidth:"wide"})},KI=/^(\d+)(-oji)?/i,JI=/\d+/i,BI={narrow:/^p(r|o)\.?\s?(kr\.?|me)/i,abbreviated:/^(pr\.\s?(kr\.|m\.\s?e\.)|po\s?kr\.|mūsų eroje)/i,wide:/^(prieš Kristų|prieš mūsų erą|po Kristaus|mūsų eroje)/i},UI={wide:[/prieš/i,/(po|mūsų)/i],any:[/^pr/i,/^(po|m)/i]},ZI={narrow:/^([1234])/i,abbreviated:/^(I|II|III|IV)\s?ketv?\.?/i,wide:/^(I|II|III|IV)\s?ketvirtis/i},eF={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/I$/i,/II$/i,/III/i,/IV/i]},tF={narrow:/^[svkbglr]/i,abbreviated:/^(saus\.|vas\.|kov\.|bal\.|geg\.|birž\.|liep\.|rugp\.|rugs\.|spal\.|lapkr\.|gruod\.)/i,wide:/^(sausi(s|o)|vasari(s|o)|kov(a|o)s|balandž?i(s|o)|gegužės?|birželi(s|o)|liep(a|os)|rugpjū(t|č)i(s|o)|rugsėj(is|o)|spali(s|o)|lapkri(t|č)i(s|o)|gruodž?i(s|o))/i},aF={narrow:[/^s/i,/^v/i,/^k/i,/^b/i,/^g/i,/^b/i,/^l/i,/^r/i,/^r/i,/^s/i,/^l/i,/^g/i],any:[/^saus/i,/^vas/i,/^kov/i,/^bal/i,/^geg/i,/^birž/i,/^liep/i,/^rugp/i,/^rugs/i,/^spal/i,/^lapkr/i,/^gruod/i]},nF={narrow:/^[spatkš]/i,short:/^(sk|pr|an|tr|kt|pn|št)/i,abbreviated:/^(sk|pr|an|tr|kt|pn|št)/i,wide:/^(sekmadien(is|į)|pirmadien(is|į)|antradien(is|į)|trečiadien(is|į)|ketvirtadien(is|į)|penktadien(is|į)|šeštadien(is|į))/i},rF={narrow:[/^s/i,/^p/i,/^a/i,/^t/i,/^k/i,/^p/i,/^š/i],wide:[/^se/i,/^pi/i,/^an/i,/^tr/i,/^ke/i,/^pe/i,/^še/i],any:[/^sk/i,/^pr/i,/^an/i,/^tr/i,/^kt/i,/^pn/i,/^št/i]},iF={narrow:/^(pr.\s?p.|pop.|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i,any:/^(priešpiet|popiet$|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i},oF={narrow:{am:/^pr/i,pm:/^pop./i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i},any:{am:/^pr/i,pm:/^popiet$/i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i}},sF={ordinalNumber:I({matchPattern:KI,parsePattern:JI,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:BI,defaultMatchWidth:"wide",parsePatterns:UI,defaultParseWidth:"any"}),quarter:d({matchPatterns:ZI,defaultMatchWidth:"wide",parsePatterns:eF,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:tF,defaultMatchWidth:"wide",parsePatterns:aF,defaultParseWidth:"any"}),day:d({matchPatterns:nF,defaultMatchWidth:"wide",parsePatterns:rF,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:iF,defaultMatchWidth:"any",parsePatterns:oF,defaultParseWidth:"any"})},ed={code:"lt",formatDistance:NI,formatLong:OI,formatRelative:HI,localize:QI,match:sF,options:{weekStartsOn:1,firstWeekContainsDate:4}},uF=Object.freeze(Object.defineProperty({__proto__:null,default:ed,lt:ed},Symbol.toStringTag,{value:"Module"}));function Je(e){return(a,t)=>{if(a===1)return t!=null&&t.addSuffix?e.one[0].replace("{{time}}",e.one[2]):e.one[0].replace("{{time}}",e.one[1]);{const n=a%10===1&&a%100!==11;return t!=null&&t.addSuffix?e.other[0].replace("{{time}}",n?e.other[3]:e.other[4]).replace("{{count}}",String(a)):e.other[0].replace("{{time}}",n?e.other[1]:e.other[2]).replace("{{count}}",String(a))}}}const dF={lessThanXSeconds:Je({one:["mazāk par {{time}}","sekundi","sekundi"],other:["mazāk nekā {{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),xSeconds:Je({one:["1 {{time}}","sekunde","sekundes"],other:["{{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),halfAMinute:(e,a)=>a!=null&&a.addSuffix?"pusminūtes":"pusminūte",lessThanXMinutes:Je({one:["mazāk par {{time}}","minūti","minūti"],other:["mazāk nekā {{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),xMinutes:Je({one:["1 {{time}}","minūte","minūtes"],other:["{{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),aboutXHours:Je({one:["apmēram 1 {{time}}","stunda","stundas"],other:["apmēram {{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xHours:Je({one:["1 {{time}}","stunda","stundas"],other:["{{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xDays:Je({one:["1 {{time}}","diena","dienas"],other:["{{count}} {{time}}","diena","dienas","dienas","dienām"]}),aboutXWeeks:Je({one:["apmēram 1 {{time}}","nedēļa","nedēļas"],other:["apmēram {{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),xWeeks:Je({one:["1 {{time}}","nedēļa","nedēļas"],other:["{{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),aboutXMonths:Je({one:["apmēram 1 {{time}}","mēnesis","mēneša"],other:["apmēram {{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),xMonths:Je({one:["1 {{time}}","mēnesis","mēneša"],other:["{{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),aboutXYears:Je({one:["apmēram 1 {{time}}","gads","gada"],other:["apmēram {{count}} {{time}}","gads","gadi","gada","gadiem"]}),xYears:Je({one:["1 {{time}}","gads","gada"],other:["{{count}} {{time}}","gads","gadi","gada","gadiem"]}),overXYears:Je({one:["ilgāk par 1 {{time}}","gadu","gadu"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]}),almostXYears:Je({one:["gandrīz 1 {{time}}","gads","gada"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]})},cF=(e,a,t)=>{const n=dF[e](a,t);return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"pēc "+n:"pirms "+n:n},lF={full:"EEEE, y. 'gada' d. MMMM",long:"y. 'gada' d. MMMM",medium:"dd.MM.y.",short:"dd.MM.y."},mF={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},hF={full:"{{date}} 'plkst.' {{time}}",long:"{{date}} 'plkst.' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},fF={date:m({formats:lF,defaultWidth:"full"}),time:m({formats:mF,defaultWidth:"full"}),dateTime:m({formats:hF,defaultWidth:"full"})},td=["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"],gF={lastWeek:(e,a,t)=>ze(e,a,t)?"eeee 'plkst.' p":"'Pagājušā "+td[e.getDay()]+" plkst.' p",yesterday:"'Vakar plkst.' p",today:"'Šodien plkst.' p",tomorrow:"'Rīt plkst.' p",nextWeek:(e,a,t)=>ze(e,a,t)?"eeee 'plkst.' p":"'Nākamajā "+td[e.getDay()]+" plkst.' p",other:"P"},pF=(e,a,t,n)=>{const r=gF[e];return typeof r=="function"?r(a,t,n):r},bF={narrow:["p.m.ē","m.ē"],abbreviated:["p. m. ē.","m. ē."],wide:["pirms mūsu ēras","mūsu ērā"]},vF={narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmais ceturksnis","otrais ceturksnis","trešais ceturksnis","ceturtais ceturksnis"]},yF={narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmajā ceturksnī","otrajā ceturksnī","trešajā ceturksnī","ceturtajā ceturksnī"]},wF={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","marts","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"]},PF={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","martā","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī"]},kF={narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"]},MF={narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"]},$F={narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"diena",evening:"vakars",night:"nakts"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"pēcpusd.",evening:"vakars",night:"nakts"},wide:{am:"am",pm:"pm",midnight:"pusnakts",noon:"pusdienlaiks",morning:"rīts",afternoon:"pēcpusdiena",evening:"vakars",night:"nakts"}},WF={narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"dienā",evening:"vakarā",night:"naktī"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"pēcpusd.",evening:"vakarā",night:"naktī"},wide:{am:"am",pm:"pm",midnight:"pusnaktī",noon:"pusdienlaikā",morning:"rītā",afternoon:"pēcpusdienā",evening:"vakarā",night:"naktī"}},xF={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:bF,defaultWidth:"wide"}),quarter:u({values:vF,defaultWidth:"wide",formattingValues:yF,defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:u({values:wF,defaultWidth:"wide",formattingValues:PF,defaultFormattingWidth:"wide"}),day:u({values:kF,defaultWidth:"wide",formattingValues:MF,defaultFormattingWidth:"wide"}),dayPeriod:u({values:$F,defaultWidth:"wide",formattingValues:WF,defaultFormattingWidth:"wide"})},jF=/^(\d+)\./i,SF=/\d+/i,TF={narrow:/^(p\.m\.ē|m\.ē)/i,abbreviated:/^(p\. m\. ē\.|m\. ē\.)/i,wide:/^(pirms mūsu ēras|mūsu ērā)/i},DF={any:[/^p/i,/^m/i]},EF={narrow:/^[1234]/i,abbreviated:/^[1234](\. cet\.)/i,wide:/^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i},NF={narrow:[/^1/i,/^2/i,/^3/i,/^4/i],abbreviated:[/^1/i,/^2/i,/^3/i,/^4/i],wide:[/^p/i,/^o/i,/^t/i,/^c/i]},CF={narrow:/^[jfmasond]/i,abbreviated:/^(janv\.|febr\.|marts|apr\.|maijs|jūn\.|jūl\.|aug\.|sept\.|okt\.|nov\.|dec\.)/i,wide:/^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/i},zF={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,/^mai/i,/^jūn/i,/^jūl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},_F={narrow:/^[spotc]/i,short:/^(sv|pi|o|t|c|pk|s)/i,abbreviated:/^(svētd\.|pirmd\.|otrd.\|trešd\.|ceturtd\.|piektd\.|sestd\.)/i,wide:/^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i},OF={narrow:[/^s/i,/^p/i,/^o/i,/^t/i,/^c/i,/^p/i,/^s/i],any:[/^sv/i,/^pi/i,/^o/i,/^t/i,/^c/i,/^p/i,/^se/i]},VF={narrow:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/,abbreviated:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|pēcpusd\.|vakar(s|ā)|nakt(s|ī))/,wide:/^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i},HF={any:{am:/^am/i,pm:/^pm/i,midnight:/^pusn/i,noon:/^pusd/i,morning:/^r/i,afternoon:/^(d|pēc)/i,evening:/^v/i,night:/^n/i}},IF={ordinalNumber:I({matchPattern:jF,parsePattern:SF,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:TF,defaultMatchWidth:"wide",parsePatterns:DF,defaultParseWidth:"any"}),quarter:d({matchPatterns:EF,defaultMatchWidth:"wide",parsePatterns:NF,defaultParseWidth:"wide",valueCallback:e=>e+1}),month:d({matchPatterns:CF,defaultMatchWidth:"wide",parsePatterns:zF,defaultParseWidth:"any"}),day:d({matchPatterns:_F,defaultMatchWidth:"wide",parsePatterns:OF,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:VF,defaultMatchWidth:"wide",parsePatterns:HF,defaultParseWidth:"any"})},ad={code:"lv",formatDistance:cF,formatLong:fF,formatRelative:pF,localize:xF,match:IF,options:{weekStartsOn:1,firstWeekContainsDate:4}},FF=Object.freeze(Object.defineProperty({__proto__:null,default:ad,lv:ad},Symbol.toStringTag,{value:"Module"})),AF={lessThanXSeconds:{one:"помалку од секунда",other:"помалку од {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половина минута",lessThanXMinutes:{one:"помалку од минута",other:"помалку од {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"околу 1 час",other:"околу {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дена"},aboutXWeeks:{one:"околу 1 недела",other:"околу {{count}} месеци"},xWeeks:{one:"1 недела",other:"{{count}} недели"},aboutXMonths:{one:"околу 1 месец",other:"околу {{count}} недели"},xMonths:{one:"1 месец",other:"{{count}} месеци"},aboutXYears:{one:"околу 1 година",other:"околу {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"повеќе од 1 година",other:"повеќе од {{count}} години"},almostXYears:{one:"безмалку 1 година",other:"безмалку {{count}} години"}},LF=(e,a,t)=>{let n;const r=AF[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"за "+n:"пред "+n:n},XF={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},RF={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},YF={any:"{{date}} {{time}}"},qF={date:m({formats:XF,defaultWidth:"full"}),time:m({formats:RF,defaultWidth:"full"}),dateTime:m({formats:YF,defaultWidth:"any"})},zr=["недела","понеделник","вторник","среда","четврток","петок","сабота"];function GF(e){const a=zr[e];switch(e){case 0:case 3:case 6:return"'минатата "+a+" во' p";case 1:case 2:case 4:case 5:return"'минатиот "+a+" во' p"}}function nd(e){const a=zr[e];switch(e){case 0:case 3:case 6:return"'ова "+a+" вo' p";case 1:case 2:case 4:case 5:return"'овој "+a+" вo' p"}}function QF(e){const a=zr[e];switch(e){case 0:case 3:case 6:return"'следната "+a+" вo' p";case 1:case 2:case 4:case 5:return"'следниот "+a+" вo' p"}}const KF={lastWeek:(e,a,t)=>{const n=e.getDay();return ze(e,a,t)?nd(n):GF(n)},yesterday:"'вчера во' p",today:"'денес во' p",tomorrow:"'утре во' p",nextWeek:(e,a,t)=>{const n=e.getDay();return ze(e,a,t)?nd(n):QF(n)},other:"P"},JF=(e,a,t,n)=>{const r=KF[e];return typeof r=="function"?r(a,t,n):r},BF={narrow:["пр.н.е.","н.е."],abbreviated:["пред н. е.","н. е."],wide:["пред нашата ера","нашата ера"]},UF={narrow:["1","2","3","4"],abbreviated:["1-ви кв.","2-ри кв.","3-ти кв.","4-ти кв."],wide:["1-ви квартал","2-ри квартал","3-ти квартал","4-ти квартал"]},ZF={abbreviated:["јан","фев","мар","апр","мај","јун","јул","авг","септ","окт","ноем","дек"],wide:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"]},eA={narrow:["Н","П","В","С","Ч","П","С"],short:["не","по","вт","ср","че","пе","са"],abbreviated:["нед","пон","вто","сре","чет","пет","саб"],wide:["недела","понеделник","вторник","среда","четврток","петок","сабота"]},tA={wide:{am:"претпладне",pm:"попладне",midnight:"полноќ",noon:"напладне",morning:"наутро",afternoon:"попладне",evening:"навечер",night:"ноќе"}},aA={ordinalNumber:(e,a)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"-ви";case 2:return t+"-ри";case 7:case 8:return t+"-ми"}return t+"-ти"},era:u({values:BF,defaultWidth:"wide"}),quarter:u({values:UF,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:ZF,defaultWidth:"wide"}),day:u({values:eA,defaultWidth:"wide"}),dayPeriod:u({values:tA,defaultWidth:"wide"})},nA=/^(\d+)(-?[врмт][и])?/i,rA=/\d+/i,iA={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(пред нашата ера|нашата ера)/i},oA={any:[/^п/i,/^н/i]},sA={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?и?)? кв.?/i,wide:/^[1234](-?[врт]?и?)? квартал/i},uA={any:[/1/i,/2/i,/3/i,/4/i]},dA={narrow:/^[нпвсч]/i,short:/^(не|по|вт|ср|че|пе|са)/i,abbreviated:/^(нед|пон|вто|сре|чет|пет|саб)/i,wide:/^(недела|понеделник|вторник|среда|четврток|петок|сабота)/i},cA={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[аб]/i]},lA={abbreviated:/^(јан|фев|мар|апр|мај|јун|јул|авг|сеп|окт|ноем|дек)/i,wide:/^(јануари|февруари|март|април|мај|јуни|јули|август|септември|октомври|ноември|декември)/i},mA={any:[/^ја/i,/^Ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},hA={any:/^(претп|попл|полноќ|утро|пладне|вечер|ноќ)/i},fA={any:{am:/претпладне/i,pm:/попладне/i,midnight:/полноќ/i,noon:/напладне/i,morning:/наутро/i,afternoon:/попладне/i,evening:/навечер/i,night:/ноќе/i}},gA={ordinalNumber:I({matchPattern:nA,parsePattern:rA,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:iA,defaultMatchWidth:"wide",parsePatterns:oA,defaultParseWidth:"any"}),quarter:d({matchPatterns:sA,defaultMatchWidth:"wide",parsePatterns:uA,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:lA,defaultMatchWidth:"wide",parsePatterns:mA,defaultParseWidth:"any"}),day:d({matchPatterns:dA,defaultMatchWidth:"wide",parsePatterns:cA,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:hA,defaultMatchWidth:"any",parsePatterns:fA,defaultParseWidth:"any"})},rd={code:"mk",formatDistance:LF,formatLong:qF,formatRelative:JF,localize:aA,match:gA,options:{weekStartsOn:1,firstWeekContainsDate:4}},pA=Object.freeze(Object.defineProperty({__proto__:null,default:rd,mk:rd},Symbol.toStringTag,{value:"Module"})),bA={lessThanXSeconds:{one:"секунд хүрэхгүй",other:"{{count}} секунд хүрэхгүй"},xSeconds:{one:"1 секунд",other:"{{count}} секунд"},halfAMinute:"хагас минут",lessThanXMinutes:{one:"минут хүрэхгүй",other:"{{count}} минут хүрэхгүй"},xMinutes:{one:"1 минут",other:"{{count}} минут"},aboutXHours:{one:"ойролцоогоор 1 цаг",other:"ойролцоогоор {{count}} цаг"},xHours:{one:"1 цаг",other:"{{count}} цаг"},xDays:{one:"1 өдөр",other:"{{count}} өдөр"},aboutXWeeks:{one:"ойролцоогоор 1 долоо хоног",other:"ойролцоогоор {{count}} долоо хоног"},xWeeks:{one:"1 долоо хоног",other:"{{count}} долоо хоног"},aboutXMonths:{one:"ойролцоогоор 1 сар",other:"ойролцоогоор {{count}} сар"},xMonths:{one:"1 сар",other:"{{count}} сар"},aboutXYears:{one:"ойролцоогоор 1 жил",other:"ойролцоогоор {{count}} жил"},xYears:{one:"1 жил",other:"{{count}} жил"},overXYears:{one:"1 жил гаран",other:"{{count}} жил гаран"},almostXYears:{one:"бараг 1 жил",other:"бараг {{count}} жил"}},vA=(e,a,t)=>{let n;const r=bA[e];if(typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix){const i=n.split(" "),o=i.pop();switch(n=i.join(" "),o){case"секунд":n+=" секундийн";break;case"минут":n+=" минутын";break;case"цаг":n+=" цагийн";break;case"өдөр":n+=" өдрийн";break;case"сар":n+=" сарын";break;case"жил":n+=" жилийн";break;case"хоног":n+=" хоногийн";break;case"гаран":n+=" гараны";break;case"хүрэхгүй":n+=" хүрэхгүй хугацааны";break;default:n+=o+"-н"}return t.comparison&&t.comparison>0?n+" дараа":n+" өмнө"}return n},yA={full:"y 'оны' MMMM'ын' d, EEEE 'гараг'",long:"y 'оны' MMMM'ын' d",medium:"y 'оны' MMM'ын' d",short:"y.MM.dd"},wA={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},PA={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},kA={date:m({formats:yA,defaultWidth:"full"}),time:m({formats:wA,defaultWidth:"full"}),dateTime:m({formats:PA,defaultWidth:"full"})},MA={lastWeek:"'өнгөрсөн' eeee 'гарагийн' p 'цагт'",yesterday:"'өчигдөр' p 'цагт'",today:"'өнөөдөр' p 'цагт'",tomorrow:"'маргааш' p 'цагт'",nextWeek:"'ирэх' eeee 'гарагийн' p 'цагт'",other:"P"},$A=(e,a,t,n)=>MA[e],WA={narrow:["НТӨ","НТ"],abbreviated:["НТӨ","НТ"],wide:["нийтийн тооллын өмнөх","нийтийн тооллын"]},xA={narrow:["I","II","III","IV"],abbreviated:["I улирал","II улирал","III улирал","IV улирал"],wide:["1-р улирал","2-р улирал","3-р улирал","4-р улирал"]},jA={narrow:["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII"],abbreviated:["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],wide:["Нэгдүгээр сар","Хоёрдугаар сар","Гуравдугаар сар","Дөрөвдүгээр сар","Тавдугаар сар","Зургаадугаар сар","Долоодугаар сар","Наймдугаар сар","Есдүгээр сар","Аравдугаар сар","Арваннэгдүгээр сар","Арван хоёрдугаар сар"]},SA={narrow:["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII"],abbreviated:["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],wide:["нэгдүгээр сар","хоёрдугаар сар","гуравдугаар сар","дөрөвдүгээр сар","тавдугаар сар","зургаадугаар сар","долоодугаар сар","наймдугаар сар","есдүгээр сар","аравдугаар сар","арваннэгдүгээр сар","арван хоёрдугаар сар"]},TA={narrow:["Н","Д","М","Л","П","Б","Б"],short:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],abbreviated:["Ням","Дав","Мяг","Лха","Пүр","Баа","Бям"],wide:["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"]},DA={narrow:["Н","Д","М","Л","П","Б","Б"],short:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],abbreviated:["Ням","Дав","Мяг","Лха","Пүр","Баа","Бям"],wide:["ням","даваа","мягмар","лхагва","пүрэв","баасан","бямба"]},EA={narrow:{am:"ү.ө.",pm:"ү.х.",midnight:"шөнө дунд",noon:"үд дунд",morning:"өглөө",afternoon:"өдөр",evening:"орой",night:"шөнө"},abbreviated:{am:"ү.ө.",pm:"ү.х.",midnight:"шөнө дунд",noon:"үд дунд",morning:"өглөө",afternoon:"өдөр",evening:"орой",night:"шөнө"},wide:{am:"ү.ө.",pm:"ү.х.",midnight:"шөнө дунд",noon:"үд дунд",morning:"өглөө",afternoon:"өдөр",evening:"орой",night:"шөнө"}},NA={ordinalNumber:(e,a)=>String(e),era:u({values:WA,defaultWidth:"wide"}),quarter:u({values:xA,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:jA,defaultWidth:"wide",formattingValues:SA,defaultFormattingWidth:"wide"}),day:u({values:TA,defaultWidth:"wide",formattingValues:DA,defaultFormattingWidth:"wide"}),dayPeriod:u({values:EA,defaultWidth:"wide"})},CA=/\d+/i,zA=/\d+/i,_A={narrow:/^(нтө|нт)/i,abbreviated:/^(нтө|нт)/i,wide:/^(нийтийн тооллын өмнө|нийтийн тооллын)/i},OA={any:[/^(нтө|нийтийн тооллын өмнө)/i,/^(нт|нийтийн тооллын)/i]},VA={narrow:/^(iv|iii|ii|i)/i,abbreviated:/^(iv|iii|ii|i) улирал/i,wide:/^[1-4]-р улирал/i},HA={any:[/^(i(\s|$)|1)/i,/^(ii(\s|$)|2)/i,/^(iii(\s|$)|3)/i,/^(iv(\s|$)|4)/i]},IA={narrow:/^(xii|xi|x|ix|viii|vii|vi|v|iv|iii|ii|i)/i,abbreviated:/^(1-р сар|2-р сар|3-р сар|4-р сар|5-р сар|6-р сар|7-р сар|8-р сар|9-р сар|10-р сар|11-р сар|12-р сар)/i,wide:/^(нэгдүгээр сар|хоёрдугаар сар|гуравдугаар сар|дөрөвдүгээр сар|тавдугаар сар|зургаадугаар сар|долоодугаар сар|наймдугаар сар|есдүгээр сар|аравдугаар сар|арван нэгдүгээр сар|арван хоёрдугаар сар)/i},FA={narrow:[/^i$/i,/^ii$/i,/^iii$/i,/^iv$/i,/^v$/i,/^vi$/i,/^vii$/i,/^viii$/i,/^ix$/i,/^x$/i,/^xi$/i,/^xii$/i],any:[/^(1|нэгдүгээр)/i,/^(2|хоёрдугаар)/i,/^(3|гуравдугаар)/i,/^(4|дөрөвдүгээр)/i,/^(5|тавдугаар)/i,/^(6|зургаадугаар)/i,/^(7|долоодугаар)/i,/^(8|наймдугаар)/i,/^(9|есдүгээр)/i,/^(10|аравдугаар)/i,/^(11|арван нэгдүгээр)/i,/^(12|арван хоёрдугаар)/i]},AA={narrow:/^[ндмлпбб]/i,short:/^(ня|да|мя|лх|пү|ба|бя)/i,abbreviated:/^(ням|дав|мяг|лха|пүр|баа|бям)/i,wide:/^(ням|даваа|мягмар|лхагва|пүрэв|баасан|бямба)/i},LA={narrow:[/^н/i,/^д/i,/^м/i,/^л/i,/^п/i,/^б/i,/^б/i],any:[/^ня/i,/^да/i,/^мя/i,/^лх/i,/^пү/i,/^ба/i,/^бя/i]},XA={narrow:/^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i,any:/^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i},RA={any:{am:/^ү\.ө\./i,pm:/^ү\.х\./i,midnight:/^шөнө дунд/i,noon:/^үд дунд/i,morning:/өглөө/i,afternoon:/өдөр/i,evening:/орой/i,night:/шөнө/i}},YA={ordinalNumber:I({matchPattern:CA,parsePattern:zA,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:_A,defaultMatchWidth:"wide",parsePatterns:OA,defaultParseWidth:"any"}),quarter:d({matchPatterns:VA,defaultMatchWidth:"wide",parsePatterns:HA,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:IA,defaultMatchWidth:"wide",parsePatterns:FA,defaultParseWidth:"any"}),day:d({matchPatterns:AA,defaultMatchWidth:"wide",parsePatterns:LA,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:XA,defaultMatchWidth:"any",parsePatterns:RA,defaultParseWidth:"any"})},id={code:"mn",formatDistance:vA,formatLong:kA,formatRelative:$A,localize:NA,match:YA,options:{weekStartsOn:1,firstWeekContainsDate:1}},qA=Object.freeze(Object.defineProperty({__proto__:null,default:id,mn:id},Symbol.toStringTag,{value:"Module"})),GA={lessThanXSeconds:{one:"kurang dari 1 saat",other:"kurang dari {{count}} saat"},xSeconds:{one:"1 saat",other:"{{count}} saat"},halfAMinute:"setengah minit",lessThanXMinutes:{one:"kurang dari 1 minit",other:"kurang dari {{count}} minit"},xMinutes:{one:"1 minit",other:"{{count}} minit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},QA=(e,a,t)=>{let n;const r=GA[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"dalam masa "+n:n+" yang lalu":n},KA={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},JA={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},BA={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},UA={date:m({formats:KA,defaultWidth:"full"}),time:m({formats:JA,defaultWidth:"full"}),dateTime:m({formats:BA,defaultWidth:"full"})},ZA={lastWeek:"eeee 'lepas pada jam' p",yesterday:"'Semalam pada jam' p",today:"'Hari ini pada jam' p",tomorrow:"'Esok pada jam' p",nextWeek:"eeee 'pada jam' p",other:"P"},eL=(e,a,t,n)=>ZA[e],tL={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masihi","Masihi"]},aL={narrow:["1","2","3","4"],abbreviated:["S1","S2","S3","S4"],wide:["Suku pertama","Suku kedua","Suku ketiga","Suku keempat"]},nL={narrow:["J","F","M","A","M","J","J","O","S","O","N","D"],abbreviated:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],wide:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"]},rL={narrow:["A","I","S","R","K","J","S"],short:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],abbreviated:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],wide:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"]},iL={narrow:{am:"am",pm:"pm",midnight:"tgh malam",noon:"tgh hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},oL={narrow:{am:"am",pm:"pm",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},sL={ordinalNumber:(e,a)=>"ke-"+Number(e),era:u({values:tL,defaultWidth:"wide"}),quarter:u({values:aL,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:nL,defaultWidth:"wide"}),day:u({values:rL,defaultWidth:"wide"}),dayPeriod:u({values:iL,defaultWidth:"wide",formattingValues:oL,defaultFormattingWidth:"wide"})},uL=/^ke-(\d+)?/i,dL=/petama|\d+/i,cL={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|m\.?)/i,wide:/^(sebelum masihi|masihi)/i},lL={any:[/^s/i,/^(m)/i]},mL={narrow:/^[1234]/i,abbreviated:/^S[1234]/i,wide:/Suku (pertama|kedua|ketiga|keempat)/i},hL={any:[/pertama|1/i,/kedua|2/i,/ketiga|3/i,/keempat|4/i]},fL={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mac|apr|mei|jun|jul|ogo|sep|okt|nov|dis)/i,wide:/^(januari|februari|mac|april|mei|jun|julai|ogos|september|oktober|november|disember)/i},gL={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^o/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^og/i,/^s/i,/^ok/i,/^n/i,/^d/i]},pL={narrow:/^[aisrkj]/i,short:/^(ahd|isn|sel|rab|kha|jum|sab)/i,abbreviated:/^(ahd|isn|sel|rab|kha|jum|sab)/i,wide:/^(ahad|isnin|selasa|rabu|khamis|jumaat|sabtu)/i},bL={narrow:[/^a/i,/^i/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^a/i,/^i/i,/^se/i,/^r/i,/^k/i,/^j/i,/^sa/i]},vL={narrow:/^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|pagi|petang|malam)/i},yL={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pa/i,afternoon:/tengah h/i,evening:/pe/i,night:/m/i}},wL={ordinalNumber:I({matchPattern:uL,parsePattern:dL,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:cL,defaultMatchWidth:"wide",parsePatterns:lL,defaultParseWidth:"any"}),quarter:d({matchPatterns:mL,defaultMatchWidth:"wide",parsePatterns:hL,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:fL,defaultMatchWidth:"wide",parsePatterns:gL,defaultParseWidth:"any"}),day:d({matchPatterns:pL,defaultMatchWidth:"wide",parsePatterns:bL,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:vL,defaultMatchWidth:"any",parsePatterns:yL,defaultParseWidth:"any"})},od={code:"ms",formatDistance:QA,formatLong:UA,formatRelative:eL,localize:sL,match:wL,options:{weekStartsOn:1,firstWeekContainsDate:1}},PL=Object.freeze(Object.defineProperty({__proto__:null,default:od,ms:od},Symbol.toStringTag,{value:"Module"})),kL={lessThanXSeconds:{one:"inqas minn sekonda",other:"inqas minn {{count}} sekondi"},xSeconds:{one:"sekonda",other:"{{count}} sekondi"},halfAMinute:"nofs minuta",lessThanXMinutes:{one:"inqas minn minuta",other:"inqas minn {{count}} minuti"},xMinutes:{one:"minuta",other:"{{count}} minuti"},aboutXHours:{one:"madwar siegħa",other:"madwar {{count}} siegħat"},xHours:{one:"siegħa",other:"{{count}} siegħat"},xDays:{one:"ġurnata",other:"{{count}} ġranet"},aboutXWeeks:{one:"madwar ġimgħa",other:"madwar {{count}} ġimgħat"},xWeeks:{one:"ġimgħa",other:"{{count}} ġimgħat"},aboutXMonths:{one:"madwar xahar",other:"madwar {{count}} xhur"},xMonths:{one:"xahar",other:"{{count}} xhur"},aboutXYears:{one:"madwar sena",two:"madwar sentejn",other:"madwar {{count}} snin"},xYears:{one:"sena",two:"sentejn",other:"{{count}} snin"},overXYears:{one:"aktar minn sena",two:"aktar minn sentejn",other:"aktar minn {{count}} snin"},almostXYears:{one:"kważi sena",two:"kważi sentejn",other:"kważi {{count}} snin"}},ML=(e,a,t)=>{let n;const r=kL[e];return typeof r=="string"?n=r:a===1?n=r.one:a===2&&r.two?n=r.two:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"f'"+n:n+" ilu":n},$L={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},WL={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},xL={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},jL={date:m({formats:$L,defaultWidth:"full"}),time:m({formats:WL,defaultWidth:"full"}),dateTime:m({formats:xL,defaultWidth:"full"})},SL={lastWeek:"eeee 'li għadda' 'fil-'p",yesterday:"'Il-bieraħ fil-'p",today:"'Illum fil-'p",tomorrow:"'Għada fil-'p",nextWeek:"eeee 'fil-'p",other:"P"},TL=(e,a,t,n)=>SL[e],DL={narrow:["Q","W"],abbreviated:["QK","WK"],wide:["qabel Kristu","wara Kristu"]},EL={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1. kwart","2. kwart","3. kwart","4. kwart"]},NL={narrow:["J","F","M","A","M","Ġ","L","A","S","O","N","D"],abbreviated:["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Aww","Set","Ott","Nov","Diċ"],wide:["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awwissu","Settembru","Ottubru","Novembru","Diċembru"]},CL={narrow:["Ħ","T","T","E","Ħ","Ġ","S"],short:["Ħa","Tn","Tl","Er","Ħa","Ġi","Si"],abbreviated:["Ħad","Tne","Tli","Erb","Ħam","Ġim","Sib"],wide:["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"]},zL={narrow:{am:"a",pm:"p",midnight:"nofsillejl",noon:"nofsinhar",morning:"għodwa",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"lejl"},abbreviated:{am:"AM",pm:"PM",midnight:"nofsillejl",noon:"nofsinhar",morning:"għodwa",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"lejl"},wide:{am:"a.m.",pm:"p.m.",midnight:"nofsillejl",noon:"nofsinhar",morning:"għodwa",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"lejl"}},_L={narrow:{am:"a",pm:"p",midnight:"f'nofsillejl",noon:"f'nofsinhar",morning:"filgħodu",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"billejl"},abbreviated:{am:"AM",pm:"PM",midnight:"f'nofsillejl",noon:"f'nofsinhar",morning:"filgħodu",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"billejl"},wide:{am:"a.m.",pm:"p.m.",midnight:"f'nofsillejl",noon:"f'nofsinhar",morning:"filgħodu",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"billejl"}},OL={ordinalNumber:(e,a)=>Number(e)+"º",era:u({values:DL,defaultWidth:"wide"}),quarter:u({values:EL,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:NL,defaultWidth:"wide"}),day:u({values:CL,defaultWidth:"wide"}),dayPeriod:u({values:zL,defaultWidth:"wide",formattingValues:_L,defaultFormattingWidth:"wide"})},VL=/^(\d+)(º)?/i,HL=/\d+/i,IL={narrow:/^(q|w)/i,abbreviated:/^(q\.?\s?k\.?|b\.?\s?c\.?\s?e\.?|w\.?\s?k\.?)/i,wide:/^(qabel kristu|before common era|wara kristu|common era)/i},FL={any:[/^(q|b)/i,/^(w|c)/i]},AL={narrow:/^[1234]/i,abbreviated:/^k[1234]/i,wide:/^[1234](\.)? kwart/i},LL={any:[/1/i,/2/i,/3/i,/4/i]},XL={narrow:/^[jfmaglsond]/i,abbreviated:/^(jan|fra|mar|apr|mej|ġun|lul|aww|set|ott|nov|diċ)/i,wide:/^(jannar|frar|marzu|april|mejju|ġunju|lulju|awwissu|settembru|ottubru|novembru|diċembru)/i},RL={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^ġ/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mej/i,/^ġ/i,/^l/i,/^aw/i,/^s/i,/^o/i,/^n/i,/^d/i]},YL={narrow:/^[ħteġs]/i,short:/^(ħa|tn|tl|er|ħa|ġi|si)/i,abbreviated:/^(ħad|tne|tli|erb|ħam|ġim|sib)/i,wide:/^(il-ħadd|it-tnejn|it-tlieta|l-erbgħa|il-ħamis|il-ġimgħa|is-sibt)/i},qL={narrow:[/^ħ/i,/^t/i,/^t/i,/^e/i,/^ħ/i,/^ġ/i,/^s/i],any:[/^(il-)?ħad/i,/^(it-)?tn/i,/^(it-)?tl/i,/^(l-)?er/i,/^(il-)?ham/i,/^(il-)?ġi/i,/^(is-)?si/i]},GL={narrow:/^(a|p|f'nofsillejl|f'nofsinhar|(ta') (għodwa|wara nofsinhar|filgħaxija|lejl))/i,any:/^([ap]\.?\s?m\.?|f'nofsillejl|f'nofsinhar|(ta') (għodwa|wara nofsinhar|filgħaxija|lejl))/i},QL={any:{am:/^a/i,pm:/^p/i,midnight:/^f'nofsillejl/i,noon:/^f'nofsinhar/i,morning:/għodwa/i,afternoon:/wara(\s.*)nofsinhar/i,evening:/filgħaxija/i,night:/lejl/i}},KL={ordinalNumber:I({matchPattern:VL,parsePattern:HL,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:IL,defaultMatchWidth:"wide",parsePatterns:FL,defaultParseWidth:"any"}),quarter:d({matchPatterns:AL,defaultMatchWidth:"wide",parsePatterns:LL,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:XL,defaultMatchWidth:"wide",parsePatterns:RL,defaultParseWidth:"any"}),day:d({matchPatterns:YL,defaultMatchWidth:"wide",parsePatterns:qL,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:GL,defaultMatchWidth:"any",parsePatterns:QL,defaultParseWidth:"any"})},sd={code:"mt",formatDistance:ML,formatLong:jL,formatRelative:TL,localize:OL,match:KL,options:{weekStartsOn:1,firstWeekContainsDate:4}},JL=Object.freeze(Object.defineProperty({__proto__:null,default:sd,mt:sd},Symbol.toStringTag,{value:"Module"})),BL={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"omtrent en time",other:"omtrent {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXWeeks:{one:"omtrent en uke",other:"omtrent {{count}} uker"},xWeeks:{one:"en uke",other:"{{count}} uker"},aboutXMonths:{one:"omtrent en måned",other:"omtrent {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"omtrent ett år",other:"omtrent {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}},UL=(e,a,t)=>{let n;const r=BL[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"om "+n:n+" siden":n},ZL={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},eX={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},tX={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},aX={date:m({formats:ZL,defaultWidth:"full"}),time:m({formats:eX,defaultWidth:"full"}),dateTime:m({formats:tX,defaultWidth:"full"})},nX={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},rX=(e,a,t,n)=>nX[e],iX={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},oX={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},sX={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},uX={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},dX={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgenen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natten"}},cX={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:iX,defaultWidth:"wide"}),quarter:u({values:oX,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:sX,defaultWidth:"wide"}),day:u({values:uX,defaultWidth:"wide"}),dayPeriod:u({values:dX,defaultWidth:"wide"})},lX=/^(\d+)\.?/i,mX=/\d+/i,hX={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},fX={any:[/^f/i,/^e/i]},gX={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},pX={any:[/1/i,/2/i,/3/i,/4/i]},bX={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},vX={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,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},yX={narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},wX={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},PX={narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},kX={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},MX={ordinalNumber:I({matchPattern:lX,parsePattern:mX,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:hX,defaultMatchWidth:"wide",parsePatterns:fX,defaultParseWidth:"any"}),quarter:d({matchPatterns:gX,defaultMatchWidth:"wide",parsePatterns:pX,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:bX,defaultMatchWidth:"wide",parsePatterns:vX,defaultParseWidth:"any"}),day:d({matchPatterns:yX,defaultMatchWidth:"wide",parsePatterns:wX,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:PX,defaultMatchWidth:"any",parsePatterns:kX,defaultParseWidth:"any"})},ud={code:"nb",formatDistance:UL,formatLong:aX,formatRelative:rX,localize:cX,match:MX,options:{weekStartsOn:1,firstWeekContainsDate:4}},$X=Object.freeze(Object.defineProperty({__proto__:null,default:ud,nb:ud},Symbol.toStringTag,{value:"Module"})),WX={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},xX=(e,a,t)=>{let n;const r=WX[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"over "+n:n+" geleden":n},jX={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},SX={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},TX={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},DX={date:m({formats:jX,defaultWidth:"full"}),time:m({formats:SX,defaultWidth:"full"}),dateTime:m({formats:TX,defaultWidth:"full"})},EX={lastWeek:"'vorige' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},NX=(e,a,t,n)=>EX[e],CX={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},zX={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},_X={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},OX={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},VX={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middag",morning:"'s ochtends",afternoon:"'s namiddags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middag",morning:"'s ochtends",afternoon:"'s namiddags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middag",morning:"'s ochtends",afternoon:"'s namiddags",evening:"'s avonds",night:"'s nachts"}},HX={ordinalNumber:(e,a)=>Number(e)+"e",era:u({values:CX,defaultWidth:"wide"}),quarter:u({values:zX,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:_X,defaultWidth:"wide"}),day:u({values:OX,defaultWidth:"wide"}),dayPeriod:u({values:VX,defaultWidth:"wide"})},IX=/^(\d+)e?/i,FX=/\d+/i,AX={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},LX={any:[/^v/,/^n/]},XX={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},RX={any:[/1/i,/2/i,/3/i,/4/i]},YX={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},qX={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:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},GX={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},QX={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},KX={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},JX={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},BX={ordinalNumber:I({matchPattern:IX,parsePattern:FX,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:AX,defaultMatchWidth:"wide",parsePatterns:LX,defaultParseWidth:"any"}),quarter:d({matchPatterns:XX,defaultMatchWidth:"wide",parsePatterns:RX,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:YX,defaultMatchWidth:"wide",parsePatterns:qX,defaultParseWidth:"any"}),day:d({matchPatterns:GX,defaultMatchWidth:"wide",parsePatterns:QX,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:KX,defaultMatchWidth:"any",parsePatterns:JX,defaultParseWidth:"any"})},dd={code:"nl-BE",formatDistance:xX,formatLong:DX,formatRelative:NX,localize:HX,match:BX,options:{weekStartsOn:1,firstWeekContainsDate:4}},UX=Object.freeze(Object.defineProperty({__proto__:null,default:dd,nlBE:dd},Symbol.toStringTag,{value:"Module"})),ZX={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},eR=(e,a,t)=>{let n;const r=ZX[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"over "+n:n+" geleden":n},tR={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},aR={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},nR={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},rR={date:m({formats:tR,defaultWidth:"full"}),time:m({formats:aR,defaultWidth:"full"}),dateTime:m({formats:nR,defaultWidth:"full"})},iR={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},oR=(e,a,t,n)=>iR[e],sR={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},uR={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},dR={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},cR={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},lR={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},mR={ordinalNumber:(e,a)=>Number(e)+"e",era:u({values:sR,defaultWidth:"wide"}),quarter:u({values:uR,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:dR,defaultWidth:"wide"}),day:u({values:cR,defaultWidth:"wide"}),dayPeriod:u({values:lR,defaultWidth:"wide"})},hR=/^(\d+)e?/i,fR=/\d+/i,gR={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},pR={any:[/^v/,/^n/]},bR={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},vR={any:[/1/i,/2/i,/3/i,/4/i]},yR={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},wR={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:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},PR={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},kR={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},MR={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},$R={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},WR={ordinalNumber:I({matchPattern:hR,parsePattern:fR,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:gR,defaultMatchWidth:"wide",parsePatterns:pR,defaultParseWidth:"any"}),quarter:d({matchPatterns:bR,defaultMatchWidth:"wide",parsePatterns:vR,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:yR,defaultMatchWidth:"wide",parsePatterns:wR,defaultParseWidth:"any"}),day:d({matchPatterns:PR,defaultMatchWidth:"wide",parsePatterns:kR,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:MR,defaultMatchWidth:"any",parsePatterns:$R,defaultParseWidth:"any"})},cd={code:"nl",formatDistance:eR,formatLong:rR,formatRelative:oR,localize:mR,match:WR,options:{weekStartsOn:1,firstWeekContainsDate:4}},xR=Object.freeze(Object.defineProperty({__proto__:null,default:cd,nl:cd},Symbol.toStringTag,{value:"Module"})),jR={lessThanXSeconds:{one:"mindre enn eitt sekund",other:"mindre enn {{count}} sekund"},xSeconds:{one:"eitt sekund",other:"{{count}} sekund"},halfAMinute:"eit halvt minutt",lessThanXMinutes:{one:"mindre enn eitt minutt",other:"mindre enn {{count}} minutt"},xMinutes:{one:"eitt minutt",other:"{{count}} minutt"},aboutXHours:{one:"omtrent ein time",other:"omtrent {{count}} timar"},xHours:{one:"ein time",other:"{{count}} timar"},xDays:{one:"ein dag",other:"{{count}} dagar"},aboutXWeeks:{one:"omtrent ei veke",other:"omtrent {{count}} veker"},xWeeks:{one:"ei veke",other:"{{count}} veker"},aboutXMonths:{one:"omtrent ein månad",other:"omtrent {{count}} månader"},xMonths:{one:"ein månad",other:"{{count}} månader"},aboutXYears:{one:"omtrent eitt år",other:"omtrent {{count}} år"},xYears:{one:"eitt år",other:"{{count}} år"},overXYears:{one:"over eitt år",other:"over {{count}} år"},almostXYears:{one:"nesten eitt år",other:"nesten {{count}} år"}},SR=["null","ein","to","tre","fire","fem","seks","sju","åtte","ni","ti","elleve","tolv"],TR=(e,a,t)=>{let n;const r=jR[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a<13?SR[a]:String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"om "+n:n+" sidan":n},DR={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},ER={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},NR={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},CR={date:m({formats:DR,defaultWidth:"full"}),time:m({formats:ER,defaultWidth:"full"}),dateTime:m({formats:NR,defaultWidth:"full"})},zR={lastWeek:"'førre' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},_R=(e,a,t,n)=>zR[e],OR={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},VR={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},HR={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},IR={narrow:["S","M","T","O","T","F","L"],short:["su","må","ty","on","to","fr","lau"],abbreviated:["sun","mån","tys","ons","tor","fre","laur"],wide:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"]},FR={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natta"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natta"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natta"}},AR={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:OR,defaultWidth:"wide"}),quarter:u({values:VR,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:HR,defaultWidth:"wide"}),day:u({values:IR,defaultWidth:"wide"}),dayPeriod:u({values:FR,defaultWidth:"wide"})},LR=/^(\d+)\.?/i,XR=/\d+/i,RR={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},YR={any:[/^f/i,/^e/i]},qR={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},GR={any:[/1/i,/2/i,/3/i,/4/i]},QR={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},KR={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,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},JR={narrow:/^[smtofl]/i,short:/^(su|må|ty|on|to|fr|la)/i,abbreviated:/^(sun|mån|tys|ons|tor|fre|laur)/i,wide:/^(sundag|måndag|tysdag|onsdag|torsdag|fredag|laurdag)/i},BR={any:[/^s/i,/^m/i,/^ty/i,/^o/i,/^to/i,/^f/i,/^l/i]},UR={narrow:/^(midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta))/i},ZR={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},eY={ordinalNumber:I({matchPattern:LR,parsePattern:XR,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:RR,defaultMatchWidth:"wide",parsePatterns:YR,defaultParseWidth:"any"}),quarter:d({matchPatterns:qR,defaultMatchWidth:"wide",parsePatterns:GR,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:QR,defaultMatchWidth:"wide",parsePatterns:KR,defaultParseWidth:"any"}),day:d({matchPatterns:JR,defaultMatchWidth:"wide",parsePatterns:BR,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:UR,defaultMatchWidth:"any",parsePatterns:ZR,defaultParseWidth:"any"})},ld={code:"nn",formatDistance:TR,formatLong:CR,formatRelative:_R,localize:AR,match:eY,options:{weekStartsOn:1,firstWeekContainsDate:4}},tY=Object.freeze(Object.defineProperty({__proto__:null,default:ld,nn:ld},Symbol.toStringTag,{value:"Module"})),aY={lessThanXSeconds:{one:"mens d’una segonda",other:"mens de {{count}} segondas"},xSeconds:{one:"1 segonda",other:"{{count}} segondas"},halfAMinute:"30 segondas",lessThanXMinutes:{one:"mens d’una minuta",other:"mens de {{count}} minutas"},xMinutes:{one:"1 minuta",other:"{{count}} minutas"},aboutXHours:{one:"environ 1 ora",other:"environ {{count}} oras"},xHours:{one:"1 ora",other:"{{count}} oras"},xDays:{one:"1 jorn",other:"{{count}} jorns"},aboutXWeeks:{one:"environ 1 setmana",other:"environ {{count}} setmanas"},xWeeks:{one:"1 setmana",other:"{{count}} setmanas"},aboutXMonths:{one:"environ 1 mes",other:"environ {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"mai d’un an",other:"mai de {{count}} ans"},almostXYears:{one:"gaireben un an",other:"gaireben {{count}} ans"}},nY=(e,a,t)=>{let n;const r=aY[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"d’aquí "+n:"fa "+n:n},rY={full:"EEEE d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},iY={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},oY={full:"{{date}} 'a' {{time}}",long:"{{date}} 'a' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},sY={date:m({formats:rY,defaultWidth:"full"}),time:m({formats:iY,defaultWidth:"full"}),dateTime:m({formats:oY,defaultWidth:"full"})},uY={lastWeek:"eeee 'passat a' p",yesterday:"'ièr a' p",today:"'uèi a' p",tomorrow:"'deman a' p",nextWeek:"eeee 'a' p",other:"P"},dY=(e,a,t,n)=>uY[e],cY={narrow:["ab. J.C.","apr. J.C."],abbreviated:["ab. J.C.","apr. J.C."],wide:["abans Jèsus-Crist","après Jèsus-Crist"]},lY={narrow:["T1","T2","T3","T4"],abbreviated:["1èr trim.","2nd trim.","3en trim.","4en trim."],wide:["1èr trimèstre","2nd trimèstre","3en trimèstre","4en trimèstre"]},mY={narrow:["GN","FB","MÇ","AB","MA","JN","JL","AG","ST","OC","NV","DC"],abbreviated:["gen.","febr.","març","abr.","mai","junh","jul.","ag.","set.","oct.","nov.","dec."],wide:["genièr","febrièr","març","abril","mai","junh","julhet","agost","setembre","octòbre","novembre","decembre"]},hY={narrow:["dg.","dl.","dm.","dc.","dj.","dv.","ds."],short:["dg.","dl.","dm.","dc.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dm.","dc.","dj.","dv.","ds."],wide:["dimenge","diluns","dimars","dimècres","dijòus","divendres","dissabte"]},fY={narrow:{am:"am",pm:"pm",midnight:"mièjanuèch",noon:"miègjorn",morning:"matin",afternoon:"aprèp-miègjorn",evening:"vèspre",night:"nuèch"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mièjanuèch",noon:"miègjorn",morning:"matin",afternoon:"aprèp-miègjorn",evening:"vèspre",night:"nuèch"},wide:{am:"a.m.",pm:"p.m.",midnight:"mièjanuèch",noon:"miègjorn",morning:"matin",afternoon:"aprèp-miègjorn",evening:"vèspre",night:"nuèch"}},gY={narrow:{am:"am",pm:"pm",midnight:"mièjanuèch",noon:"miègjorn",morning:"del matin",afternoon:"de l’aprèp-miègjorn",evening:"del ser",night:"de la nuèch"},abbreviated:{am:"AM",pm:"PM",midnight:"mièjanuèch",noon:"miègjorn",morning:"del matin",afternoon:"de l’aprèp-miègjorn",evening:"del ser",night:"de la nuèch"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mièjanuèch",noon:"miègjorn",morning:"del matin",afternoon:"de l’aprèp-miègjorn",evening:"del ser",night:"de la nuèch"}},pY={ordinalNumber:(e,a)=>{const t=Number(e),n=a==null?void 0:a.unit;let r;switch(t){case 1:r="èr";break;case 2:r="nd";break;default:r="en"}return(n==="year"||n==="week"||n==="hour"||n==="minute"||n==="second")&&(r+="a"),t+r},era:u({values:cY,defaultWidth:"wide"}),quarter:u({values:lY,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:mY,defaultWidth:"wide"}),day:u({values:hY,defaultWidth:"wide"}),dayPeriod:u({values:fY,defaultWidth:"wide",formattingValues:gY,defaultFormattingWidth:"wide"})},bY=/^(\d+)(èr|nd|en)?[a]?/i,vY=/\d+/i,yY={narrow:/^(ab\.J\.C|apr\.J\.C|apr\.J\.-C)/i,abbreviated:/^(ab\.J\.-C|ab\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(abans Jèsus-Crist|après Jèsus-Crist)/i},wY={any:[/^ab/i,/^ap/i]},PY={narrow:/^T[1234]/i,abbreviated:/^[1234](èr|nd|en)? trim\.?/i,wide:/^[1234](èr|nd|en)? trimèstre/i},kY={any:[/1/i,/2/i,/3/i,/4/i]},MY={narrow:/^(GN|FB|MÇ|AB|MA|JN|JL|AG|ST|OC|NV|DC)/i,abbreviated:/^(gen|febr|març|abr|mai|junh|jul|ag|set|oct|nov|dec)\.?/i,wide:/^(genièr|febrièr|març|abril|mai|junh|julhet|agost|setembre|octòbre|novembre|decembre)/i},$Y={any:[/^g/i,/^f/i,/^ma[r?]|MÇ/i,/^ab/i,/^ma[i?]/i,/^ju[n?]|JN/i,/^ju[l?]|JL/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},WY={narrow:/^d[glmcjvs]\.?/i,short:/^d[glmcjvs]\.?/i,abbreviated:/^d[glmcjvs]\.?/i,wide:/^(dimenge|diluns|dimars|dimècres|dijòus|divendres|dissabte)/i},xY={narrow:[/^dg/i,/^dl/i,/^dm/i,/^dc/i,/^dj/i,/^dv/i,/^ds/i],short:[/^dg/i,/^dl/i,/^dm/i,/^dc/i,/^dj/i,/^dv/i,/^ds/i],abbreviated:[/^dg/i,/^dl/i,/^dm/i,/^dc/i,/^dj/i,/^dv/i,/^ds/i],any:[/^dg|dime/i,/^dl|dil/i,/^dm|dima/i,/^dc|dimè/i,/^dj|dij/i,/^dv|div/i,/^ds|dis/i]},jY={any:/(^(a\.?m|p\.?m))|(ante meridiem|post meridiem)|((del |de la |de l’)(matin|aprèp-miègjorn|vèspre|ser|nuèch))/i},SY={any:{am:/(^a)|ante meridiem/i,pm:/(^p)|post meridiem/i,midnight:/^mièj/i,noon:/^mièg/i,morning:/matin/i,afternoon:/aprèp-miègjorn/i,evening:/vèspre|ser/i,night:/nuèch/i}},TY={ordinalNumber:I({matchPattern:bY,parsePattern:vY,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:yY,defaultMatchWidth:"wide",parsePatterns:wY,defaultParseWidth:"any"}),quarter:d({matchPatterns:PY,defaultMatchWidth:"wide",parsePatterns:kY,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:MY,defaultMatchWidth:"wide",parsePatterns:$Y,defaultParseWidth:"any"}),day:d({matchPatterns:WY,defaultMatchWidth:"wide",parsePatterns:xY,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:jY,defaultMatchWidth:"any",parsePatterns:SY,defaultParseWidth:"any"})},md={code:"oc",formatDistance:nY,formatLong:sY,formatRelative:dY,localize:pY,match:TY,options:{weekStartsOn:1,firstWeekContainsDate:4}},DY=Object.freeze(Object.defineProperty({__proto__:null,default:md,oc:md},Symbol.toStringTag,{value:"Module"})),EY={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function NY(e,a){if(a===1)return e.one;const t=a%100;if(t<=20&&t>10)return e.other;const n=t%10;return n>=2&&n<=4?e.twoFour:e.other}function _r(e,a,t){const n=NY(e,a);return(typeof n=="string"?n:n[t]).replace("{{count}}",String(a))}const CY=(e,a,t)=>{const n=EY[e];return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"za "+_r(n,a,"future"):_r(n,a,"past")+" temu":_r(n,a,"regular")},zY={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},_Y={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},OY={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},VY={date:m({formats:zY,defaultWidth:"full"}),time:m({formats:_Y,defaultWidth:"full"}),dateTime:m({formats:OY,defaultWidth:"full"})},HY={masculine:"ostatni",feminine:"ostatnia"},IY={masculine:"ten",feminine:"ta"},FY={masculine:"następny",feminine:"następna"},AY={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function hd(e,a,t,n){let r;if(ze(a,t,n))r=IY;else if(e==="lastWeek")r=HY;else if(e==="nextWeek")r=FY;else throw new Error(`Cannot determine adjectives for token ${e}`);const i=a.getDay(),o=AY[i];return`'${r[o]}' eeee 'o' p`}const LY={lastWeek:hd,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:hd,other:"P"},XY=(e,a,t,n)=>{const r=LY[e];return typeof r=="function"?r(e,a,t,n):r},RY={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},YY={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},qY={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},GY={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},QY={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},KY={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},JY={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},BY={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},UY={ordinalNumber:(e,a)=>String(e),era:u({values:RY,defaultWidth:"wide"}),quarter:u({values:YY,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:qY,defaultWidth:"wide",formattingValues:GY,defaultFormattingWidth:"wide"}),day:u({values:QY,defaultWidth:"wide",formattingValues:KY,defaultFormattingWidth:"wide"}),dayPeriod:u({values:JY,defaultWidth:"wide",formattingValues:BY,defaultFormattingWidth:"wide"})},ZY=/^(\d+)?/i,eq=/\d+/i,tq={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},aq={any:[/^p/i,/^n/i]},nq={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},rq={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},iq={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},oq={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},sq={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},uq={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},dq={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},cq={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},lq={ordinalNumber:I({matchPattern:ZY,parsePattern:eq,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:tq,defaultMatchWidth:"wide",parsePatterns:aq,defaultParseWidth:"any"}),quarter:d({matchPatterns:nq,defaultMatchWidth:"wide",parsePatterns:rq,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:iq,defaultMatchWidth:"wide",parsePatterns:oq,defaultParseWidth:"any"}),day:d({matchPatterns:sq,defaultMatchWidth:"wide",parsePatterns:uq,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:dq,defaultMatchWidth:"any",parsePatterns:cq,defaultParseWidth:"any"})},fd={code:"pl",formatDistance:CY,formatLong:VY,formatRelative:XY,localize:UY,match:lq,options:{weekStartsOn:1,firstWeekContainsDate:4}},mq=Object.freeze(Object.defineProperty({__proto__:null,default:fd,pl:fd},Symbol.toStringTag,{value:"Module"})),hq={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},fq=(e,a,t)=>{let n;const r=hq[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"em "+n:"há "+n:n},gq={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},pq={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},bq={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vq={date:m({formats:gq,defaultWidth:"full"}),time:m({formats:pq,defaultWidth:"full"}),dateTime:m({formats:bq,defaultWidth:"full"})},yq={lastWeek:e=>{const a=e.getDay();return"'"+(a===0||a===6?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},wq=(e,a,t,n)=>{const r=yq[e];return typeof r=="function"?r(a):r},Pq={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},kq={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Mq={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},$q={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},Wq={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},xq={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},jq={ordinalNumber:(e,a)=>{const t=Number(e);return(a==null?void 0:a.unit)==="week"?t+"ª":t+"º"},era:u({values:Pq,defaultWidth:"wide"}),quarter:u({values:kq,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:Mq,defaultWidth:"wide"}),day:u({values:$q,defaultWidth:"wide"}),dayPeriod:u({values:Wq,defaultWidth:"wide",formattingValues:xq,defaultFormattingWidth:"wide"})},Sq=/^(\d+)[ºªo]?/i,Tq=/\d+/i,Dq={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},Eq={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},Nq={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Cq={any:[/1/i,/2/i,/3/i,/4/i]},zq={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},_q={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,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},Oq={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},Vq={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},Hq={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},Iq={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},Fq={ordinalNumber:I({matchPattern:Sq,parsePattern:Tq,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:Dq,defaultMatchWidth:"wide",parsePatterns:Eq,defaultParseWidth:"any"}),quarter:d({matchPatterns:Nq,defaultMatchWidth:"wide",parsePatterns:Cq,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:zq,defaultMatchWidth:"wide",parsePatterns:_q,defaultParseWidth:"any"}),day:d({matchPatterns:Oq,defaultMatchWidth:"wide",parsePatterns:Vq,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:Hq,defaultMatchWidth:"any",parsePatterns:Iq,defaultParseWidth:"any"})},gd={code:"pt-BR",formatDistance:fq,formatLong:vq,formatRelative:wq,localize:jq,match:Fq,options:{weekStartsOn:0,firstWeekContainsDate:1}},Aq=Object.freeze(Object.defineProperty({__proto__:null,default:gd,ptBR:gd},Symbol.toStringTag,{value:"Module"})),Lq={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},Xq=(e,a,t)=>{let n;const r=Lq[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"daqui a "+n:"há "+n:n},Rq={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},Yq={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},qq={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Gq={date:m({formats:Rq,defaultWidth:"full"}),time:m({formats:Yq,defaultWidth:"full"}),dateTime:m({formats:qq,defaultWidth:"full"})},Qq={lastWeek:e=>{const a=e.getDay();return"'"+(a===0||a===6?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},Kq=(e,a,t,n)=>{const r=Qq[e];return typeof r=="function"?r(a):r},Jq={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},Bq={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Uq={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},Zq={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},eG={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},tG={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},aG={ordinalNumber:(e,a)=>Number(e)+"º",era:u({values:Jq,defaultWidth:"wide"}),quarter:u({values:Bq,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:Uq,defaultWidth:"wide"}),day:u({values:Zq,defaultWidth:"wide"}),dayPeriod:u({values:eG,defaultWidth:"wide",formattingValues:tG,defaultFormattingWidth:"wide"})},nG=/^(\d+)(º|ª)?/i,rG=/\d+/i,iG={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},oG={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},sG={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},uG={any:[/1/i,/2/i,/3/i,/4/i]},dG={narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},cG={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,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},lG={narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},mG={narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},hG={narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},fG={any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},gG={ordinalNumber:I({matchPattern:nG,parsePattern:rG,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:iG,defaultMatchWidth:"wide",parsePatterns:oG,defaultParseWidth:"any"}),quarter:d({matchPatterns:sG,defaultMatchWidth:"wide",parsePatterns:uG,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:dG,defaultMatchWidth:"wide",parsePatterns:cG,defaultParseWidth:"any"}),day:d({matchPatterns:lG,defaultMatchWidth:"wide",parsePatterns:mG,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:hG,defaultMatchWidth:"any",parsePatterns:fG,defaultParseWidth:"any"})},pd={code:"pt",formatDistance:Xq,formatLong:Gq,formatRelative:Kq,localize:aG,match:gG,options:{weekStartsOn:1,firstWeekContainsDate:4}},pG=Object.freeze(Object.defineProperty({__proto__:null,default:pd,pt:pd},Symbol.toStringTag,{value:"Module"})),bG={lessThanXSeconds:{one:"mai puțin de o secundă",other:"mai puțin de {{count}} secunde"},xSeconds:{one:"1 secundă",other:"{{count}} secunde"},halfAMinute:"jumătate de minut",lessThanXMinutes:{one:"mai puțin de un minut",other:"mai puțin de {{count}} minute"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"circa 1 oră",other:"circa {{count}} ore"},xHours:{one:"1 oră",other:"{{count}} ore"},xDays:{one:"1 zi",other:"{{count}} zile"},aboutXWeeks:{one:"circa o săptămână",other:"circa {{count}} săptămâni"},xWeeks:{one:"1 săptămână",other:"{{count}} săptămâni"},aboutXMonths:{one:"circa 1 lună",other:"circa {{count}} luni"},xMonths:{one:"1 lună",other:"{{count}} luni"},aboutXYears:{one:"circa 1 an",other:"circa {{count}} ani"},xYears:{one:"1 an",other:"{{count}} ani"},overXYears:{one:"peste 1 an",other:"peste {{count}} ani"},almostXYears:{one:"aproape 1 an",other:"aproape {{count}} ani"}},vG=(e,a,t)=>{let n;const r=bG[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"în "+n:n+" în urmă":n},yG={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd.MM.yyyy"},wG={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},PG={full:"{{date}} 'la' {{time}}",long:"{{date}} 'la' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},kG={date:m({formats:yG,defaultWidth:"full"}),time:m({formats:wG,defaultWidth:"full"}),dateTime:m({formats:PG,defaultWidth:"full"})},MG={lastWeek:"eeee 'trecută la' p",yesterday:"'ieri la' p",today:"'astăzi la' p",tomorrow:"'mâine la' p",nextWeek:"eeee 'viitoare la' p",other:"P"},$G=(e,a,t,n)=>MG[e],WG={narrow:["Î","D"],abbreviated:["Î.d.C.","D.C."],wide:["Înainte de Cristos","După Cristos"]},xG={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["primul trimestru","al doilea trimestru","al treilea trimestru","al patrulea trimestru"]},jG={narrow:["I","F","M","A","M","I","I","A","S","O","N","D"],abbreviated:["ian","feb","mar","apr","mai","iun","iul","aug","sep","oct","noi","dec"],wide:["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"]},SG={narrow:["d","l","m","m","j","v","s"],short:["du","lu","ma","mi","jo","vi","sâ"],abbreviated:["dum","lun","mar","mie","joi","vin","sâm"],wide:["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"]},TG={narrow:{am:"a",pm:"p",midnight:"mn",noon:"ami",morning:"dim",afternoon:"da",evening:"s",night:"n"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},DG={narrow:{am:"a",pm:"p",midnight:"mn",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},EG={ordinalNumber:(e,a)=>String(e),era:u({values:WG,defaultWidth:"wide"}),quarter:u({values:xG,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:jG,defaultWidth:"wide"}),day:u({values:SG,defaultWidth:"wide"}),dayPeriod:u({values:TG,defaultWidth:"wide",formattingValues:DG,defaultFormattingWidth:"wide"})},NG=/^(\d+)?/i,CG=/\d+/i,zG={narrow:/^(Î|D)/i,abbreviated:/^(Î\.?\s?d\.?\s?C\.?|Î\.?\s?e\.?\s?n\.?|D\.?\s?C\.?|e\.?\s?n\.?)/i,wide:/^(Înainte de Cristos|Înaintea erei noastre|După Cristos|Era noastră)/i},_G={any:[/^ÎC/i,/^DC/i],wide:[/^(Înainte de Cristos|Înaintea erei noastre)/i,/^(După Cristos|Era noastră)/i]},OG={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^trimestrul [1234]/i},VG={any:[/1/i,/2/i,/3/i,/4/i]},HG={narrow:/^[ifmaasond]/i,abbreviated:/^(ian|feb|mar|apr|mai|iun|iul|aug|sep|oct|noi|dec)/i,wide:/^(ianuarie|februarie|martie|aprilie|mai|iunie|iulie|august|septembrie|octombrie|noiembrie|decembrie)/i},IG={narrow:[/^i/i,/^f/i,/^m/i,/^a/i,/^m/i,/^i/i,/^i/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ia/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^iun/i,/^iul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},FG={narrow:/^[dlmjvs]/i,short:/^(d|l|ma|mi|j|v|s)/i,abbreviated:/^(dum|lun|mar|mie|jo|vi|sâ)/i,wide:/^(duminica|luni|marţi|miercuri|joi|vineri|sâmbătă)/i},AG={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^mi/i,/^j/i,/^v/i,/^s/i]},LG={narrow:/^(a|p|mn|a|(dimineaţa|după-amiaza|seara|noaptea))/i,any:/^([ap]\.?\s?m\.?|miezul nopții|amiaza|(dimineaţa|după-amiaza|seara|noaptea))/i},XG={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/amiaza/i,morning:/dimineaţa/i,afternoon:/după-amiaza/i,evening:/seara/i,night:/noaptea/i}},RG={ordinalNumber:I({matchPattern:NG,parsePattern:CG,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:zG,defaultMatchWidth:"wide",parsePatterns:_G,defaultParseWidth:"any"}),quarter:d({matchPatterns:OG,defaultMatchWidth:"wide",parsePatterns:VG,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:HG,defaultMatchWidth:"wide",parsePatterns:IG,defaultParseWidth:"any"}),day:d({matchPatterns:FG,defaultMatchWidth:"wide",parsePatterns:AG,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:LG,defaultMatchWidth:"any",parsePatterns:XG,defaultParseWidth:"any"})},bd={code:"ro",formatDistance:vG,formatLong:kG,formatRelative:$G,localize:EG,match:RG,options:{weekStartsOn:1,firstWeekContainsDate:1}},YG=Object.freeze(Object.defineProperty({__proto__:null,default:bd,ro:bd},Symbol.toStringTag,{value:"Module"}));function Ja(e,a){if(e.one!==void 0&&a===1)return e.one;const t=a%10,n=a%100;return t===1&&n!==11?e.singularNominative.replace("{{count}}",String(a)):t>=2&&t<=4&&(n<10||n>20)?e.singularGenitive.replace("{{count}}",String(a)):e.pluralGenitive.replace("{{count}}",String(a))}function Be(e){return(a,t)=>t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e.future?Ja(e.future,a):"через "+Ja(e.regular,a):e.past?Ja(e.past,a):Ja(e.regular,a)+" назад":Ja(e.regular,a)}const qG={lessThanXSeconds:Be({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:Be({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,a)=>a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:Be({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:Be({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:Be({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:Be({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:Be({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:Be({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:Be({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:Be({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:Be({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:Be({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:Be({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:Be({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:Be({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},GG=(e,a,t)=>qG[e](a,t),QG={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},KG={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},JG={any:"{{date}}, {{time}}"},BG={date:m({formats:QG,defaultWidth:"full"}),time:m({formats:KG,defaultWidth:"full"}),dateTime:m({formats:JG,defaultWidth:"any"})},Or=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function UG(e){const a=Or[e];switch(e){case 0:return"'в прошлое "+a+" в' p";case 1:case 2:case 4:return"'в прошлый "+a+" в' p";case 3:case 5:case 6:return"'в прошлую "+a+" в' p"}}function vd(e){const a=Or[e];return e===2?"'во "+a+" в' p":"'в "+a+" в' p"}function ZG(e){const a=Or[e];switch(e){case 0:return"'в следующее "+a+" в' p";case 1:case 2:case 4:return"'в следующий "+a+" в' p";case 3:case 5:case 6:return"'в следующую "+a+" в' p"}}const eQ={lastWeek:(e,a,t)=>{const n=e.getDay();return ze(e,a,t)?vd(n):UG(n)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,a,t)=>{const n=e.getDay();return ze(e,a,t)?vd(n):ZG(n)},other:"P"},tQ=(e,a,t,n)=>{const r=eQ[e];return typeof r=="function"?r(a,t,n):r},aQ={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},nQ={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},rQ={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},iQ={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},oQ={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},sQ={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},uQ={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},dQ={ordinalNumber:(e,a)=>{const t=Number(e),n=a==null?void 0:a.unit;let r;return n==="date"?r="-е":n==="week"||n==="minute"||n==="second"?r="-я":r="-й",t+r},era:u({values:aQ,defaultWidth:"wide"}),quarter:u({values:nQ,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:rQ,defaultWidth:"wide",formattingValues:iQ,defaultFormattingWidth:"wide"}),day:u({values:oQ,defaultWidth:"wide"}),dayPeriod:u({values:sQ,defaultWidth:"any",formattingValues:uQ,defaultFormattingWidth:"wide"})},cQ=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,lQ=/\d+/i,mQ={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},hQ={any:[/^д/i,/^н/i]},fQ={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},gQ={any:[/1/i,/2/i,/3/i,/4/i]},pQ={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},bQ={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},vQ={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},yQ={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},wQ={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},PQ={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},kQ={ordinalNumber:I({matchPattern:cQ,parsePattern:lQ,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:mQ,defaultMatchWidth:"wide",parsePatterns:hQ,defaultParseWidth:"any"}),quarter:d({matchPatterns:fQ,defaultMatchWidth:"wide",parsePatterns:gQ,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:pQ,defaultMatchWidth:"wide",parsePatterns:bQ,defaultParseWidth:"any"}),day:d({matchPatterns:vQ,defaultMatchWidth:"wide",parsePatterns:yQ,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:wQ,defaultMatchWidth:"wide",parsePatterns:PQ,defaultParseWidth:"any"})},yd={code:"ru",formatDistance:GG,formatLong:BG,formatRelative:tQ,localize:dQ,match:kQ,options:{weekStartsOn:1,firstWeekContainsDate:1}},MQ=Object.freeze(Object.defineProperty({__proto__:null,default:yd,ru:yd},Symbol.toStringTag,{value:"Module"}));function $Q(e,a){return a===1&&e.one?e.one:a>=2&&a<=4&&e.twoFour?e.twoFour:e.other}function Vr(e,a,t){return $Q(e,a)[t].replace("{{count}}",String(a))}function WQ(e){return["lessThan","about","over","almost"].filter(function(t){return!!e.match(new RegExp("^"+t))})[0]}function Hr(e){let a="";return e==="almost"&&(a="takmer"),e==="about"&&(a="približne"),a.length>0?a+" ":""}function Ir(e){let a="";return e==="lessThan"&&(a="menej než"),e==="over"&&(a="viac než"),a.length>0?a+" ":""}function xQ(e){return e.charAt(0).toLowerCase()+e.slice(1)}const jQ={xSeconds:{one:{present:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{present:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{present:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{present:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{present:"minúta",past:"minútou",future:"minútu"},twoFour:{present:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{present:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{present:"hodina",past:"hodinou",future:"hodinu"},twoFour:{present:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{present:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{present:"deň",past:"dňom",future:"deň"},twoFour:{present:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{present:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xWeeks:{one:{present:"týždeň",past:"týždňom",future:"týždeň"},twoFour:{present:"{{count}} týždne",past:"{{count}} týždňami",future:"{{count}} týždne"},other:{present:"{{count}} týždňov",past:"{{count}} týždňami",future:"{{count}} týždňov"}},xMonths:{one:{present:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{present:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{present:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{present:"rok",past:"rokom",future:"rok"},twoFour:{present:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{present:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}},SQ=(e,a,t)=>{const n=WQ(e)||"",r=xQ(e.substring(n.length)),i=jQ[r];return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?Hr(n)+"o "+Ir(n)+Vr(i,a,"future"):Hr(n)+"pred "+Ir(n)+Vr(i,a,"past"):Hr(n)+Ir(n)+Vr(i,a,"present")},TQ={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. M. y",short:"d. M. y"},DQ={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},EQ={full:"{{date}}, {{time}}",long:"{{date}}, {{time}}",medium:"{{date}}, {{time}}",short:"{{date}} {{time}}"},NQ={date:m({formats:TQ,defaultWidth:"full"}),time:m({formats:DQ,defaultWidth:"full"}),dateTime:m({formats:EQ,defaultWidth:"full"})},Fr=["nedeľu","pondelok","utorok","stredu","štvrtok","piatok","sobotu"];function CQ(e){const a=Fr[e];switch(e){case 0:case 3:case 6:return"'minulú "+a+" o' p";default:return"'minulý' eeee 'o' p"}}function wd(e){const a=Fr[e];return e===4?"'vo' eeee 'o' p":"'v "+a+" o' p"}function zQ(e){const a=Fr[e];switch(e){case 0:case 4:case 6:return"'budúcu "+a+" o' p";default:return"'budúci' eeee 'o' p"}}const _Q={lastWeek:(e,a,t)=>{const n=e.getDay();return ze(e,a,t)?wd(n):CQ(n)},yesterday:"'včera o' p",today:"'dnes o' p",tomorrow:"'zajtra o' p",nextWeek:(e,a,t)=>{const n=e.getDay();return ze(e,a,t)?wd(n):zQ(n)},other:"P"},OQ=(e,a,t,n)=>{const r=_Q[e];return typeof r=="function"?r(a,t,n):r},VQ={narrow:["pred Kr.","po Kr."],abbreviated:["pred Kr.","po Kr."],wide:["pred Kristom","po Kristovi"]},HQ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. štvrťrok","2. štvrťrok","3. štvrťrok","4. štvrťrok"]},IQ={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"]},FQ={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra"]},AQ={narrow:["n","p","u","s","š","p","s"],short:["ne","po","ut","st","št","pi","so"],abbreviated:["ne","po","ut","st","št","pi","so"],wide:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"]},LQ={narrow:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"polnoc",noon:"poludnie",morning:"ráno",afternoon:"popoludnie",evening:"večer",night:"noc"}},XQ={narrow:{am:"AM",pm:"PM",midnight:"o poln.",noon:"nap.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"v n."},abbreviated:{am:"AM",pm:"PM",midnight:"o poln.",noon:"napol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"v noci"},wide:{am:"AM",pm:"PM",midnight:"o polnoci",noon:"napoludnie",morning:"ráno",afternoon:"popoludní",evening:"večer",night:"v noci"}},RQ={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:VQ,defaultWidth:"wide"}),quarter:u({values:HQ,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:IQ,defaultWidth:"wide",formattingValues:FQ,defaultFormattingWidth:"wide"}),day:u({values:AQ,defaultWidth:"wide"}),dayPeriod:u({values:LQ,defaultWidth:"wide",formattingValues:XQ,defaultFormattingWidth:"wide"})},YQ=/^(\d+)\.?/i,qQ=/\d+/i,GQ={narrow:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i},QQ={any:[/^pr/i,/^(po|n)/i]},KQ={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\. [šs]tvr[ťt]rok/i},JQ={any:[/1/i,/2/i,/3/i,/4/i]},BQ={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,wide:/^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i},UQ={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,/^m[áa]j/i,/^j[úu]n/i,/^j[úu]l/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ZQ={narrow:/^[npusšp]/i,short:/^(ne|po|ut|st|št|pi|so)/i,abbreviated:/^(ne|po|ut|st|št|pi|so)/i,wide:/^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i},e5={narrow:[/^n/i,/^p/i,/^u/i,/^s/i,/^š/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^u/i,/^st/i,/^(št|stv)/i,/^pi/i,/^so/i]},t5={narrow:/^(am|pm|(o )?poln\.?|(nap\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]\.?|(v n\.?|noc))/i,abbreviated:/^(am|pm|(o )?poln\.?|(napol\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]er|(v )?noci?)/i,any:/^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i},a5={any:{am:/^am/i,pm:/^pm/i,midnight:/poln/i,noon:/^(nap|(na)?pol(\.|u))/i,morning:/^r[áa]no/i,afternoon:/^pop/i,evening:/^ve[čc]/i,night:/^(noc|v n\.)/i}},n5={ordinalNumber:I({matchPattern:YQ,parsePattern:qQ,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:GQ,defaultMatchWidth:"wide",parsePatterns:QQ,defaultParseWidth:"any"}),quarter:d({matchPatterns:KQ,defaultMatchWidth:"wide",parsePatterns:JQ,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:BQ,defaultMatchWidth:"wide",parsePatterns:UQ,defaultParseWidth:"any"}),day:d({matchPatterns:ZQ,defaultMatchWidth:"wide",parsePatterns:e5,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:t5,defaultMatchWidth:"any",parsePatterns:a5,defaultParseWidth:"any"})},Pd={code:"sk",formatDistance:SQ,formatLong:NQ,formatRelative:OQ,localize:RQ,match:n5,options:{weekStartsOn:1,firstWeekContainsDate:4}},r5=Object.freeze(Object.defineProperty({__proto__:null,default:Pd,sk:Pd},Symbol.toStringTag,{value:"Module"}));function i5(e){return e.one!==void 0}const o5={lessThanXSeconds:{present:{one:"manj kot {{count}} sekunda",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"},past:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundama",few:"manj kot {{count}} sekundami",other:"manj kot {{count}} sekundami"},future:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"}},xSeconds:{present:{one:"{{count}} sekunda",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"},past:{one:"{{count}} sekundo",two:"{{count}} sekundama",few:"{{count}} sekundami",other:"{{count}} sekundami"},future:{one:"{{count}} sekundo",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"}},halfAMinute:"pol minute",lessThanXMinutes:{present:{one:"manj kot {{count}} minuta",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"},past:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minutama",few:"manj kot {{count}} minutami",other:"manj kot {{count}} minutami"},future:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"}},xMinutes:{present:{one:"{{count}} minuta",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"},past:{one:"{{count}} minuto",two:"{{count}} minutama",few:"{{count}} minutami",other:"{{count}} minutami"},future:{one:"{{count}} minuto",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"}},aboutXHours:{present:{one:"približno {{count}} ura",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"},past:{one:"približno {{count}} uro",two:"približno {{count}} urama",few:"približno {{count}} urami",other:"približno {{count}} urami"},future:{one:"približno {{count}} uro",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"}},xHours:{present:{one:"{{count}} ura",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"},past:{one:"{{count}} uro",two:"{{count}} urama",few:"{{count}} urami",other:"{{count}} urami"},future:{one:"{{count}} uro",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"}},xDays:{present:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"},past:{one:"{{count}} dnem",two:"{{count}} dnevoma",few:"{{count}} dnevi",other:"{{count}} dnevi"},future:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"}},aboutXWeeks:{one:"približno {{count}} teden",two:"približno {{count}} tedna",few:"približno {{count}} tedne",other:"približno {{count}} tednov"},xWeeks:{one:"{{count}} teden",two:"{{count}} tedna",few:"{{count}} tedne",other:"{{count}} tednov"},aboutXMonths:{present:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"},past:{one:"približno {{count}} mesecem",two:"približno {{count}} mesecema",few:"približno {{count}} meseci",other:"približno {{count}} meseci"},future:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"}},xMonths:{present:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} meseci",other:"{{count}} mesecev"},past:{one:"{{count}} mesecem",two:"{{count}} mesecema",few:"{{count}} meseci",other:"{{count}} meseci"},future:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} mesece",other:"{{count}} mesecev"}},aboutXYears:{present:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"},past:{one:"približno {{count}} letom",two:"približno {{count}} letoma",few:"približno {{count}} leti",other:"približno {{count}} leti"},future:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"}},xYears:{present:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"},past:{one:"{{count}} letom",two:"{{count}} letoma",few:"{{count}} leti",other:"{{count}} leti"},future:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"}},overXYears:{present:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"},past:{one:"več kot {{count}} letom",two:"več kot {{count}} letoma",few:"več kot {{count}} leti",other:"več kot {{count}} leti"},future:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"}},almostXYears:{present:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"},past:{one:"skoraj {{count}} letom",two:"skoraj {{count}} letoma",few:"skoraj {{count}} leti",other:"skoraj {{count}} leti"},future:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"}}};function s5(e){switch(e%100){case 1:return"one";case 2:return"two";case 3:case 4:return"few";default:return"other"}}const u5=(e,a,t)=>{let n="",r="present";t!=null&&t.addSuffix&&(t.comparison&&t.comparison>0?(r="future",n="čez "):(r="past",n="pred "));const i=o5[e];if(typeof i=="string")n+=i;else{const o=s5(a);i5(i)?n+=i[o].replace("{{count}}",String(a)):n+=i[r][o].replace("{{count}}",String(a))}return n},d5={full:"EEEE, dd. MMMM y",long:"dd. MMMM y",medium:"d. MMM y",short:"d. MM. yy"},c5={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},l5={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},m5={date:m({formats:d5,defaultWidth:"full"}),time:m({formats:c5,defaultWidth:"full"}),dateTime:m({formats:l5,defaultWidth:"full"})},h5={lastWeek:e=>{switch(e.getDay()){case 0:return"'prejšnjo nedeljo ob' p";case 3:return"'prejšnjo sredo ob' p";case 6:return"'prejšnjo soboto ob' p";default:return"'prejšnji' EEEE 'ob' p"}},yesterday:"'včeraj ob' p",today:"'danes ob' p",tomorrow:"'jutri ob' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'naslednjo nedeljo ob' p";case 3:return"'naslednjo sredo ob' p";case 6:return"'naslednjo soboto ob' p";default:return"'naslednji' EEEE 'ob' p"}},other:"P"},f5=(e,a,t,n)=>{const r=h5[e];return typeof r=="function"?r(a):r},g5={narrow:["pr. n. št.","po n. št."],abbreviated:["pr. n. št.","po n. št."],wide:["pred našim štetjem","po našem štetju"]},p5={narrow:["1","2","3","4"],abbreviated:["1. čet.","2. čet.","3. čet.","4. čet."],wide:["1. četrtletje","2. četrtletje","3. četrtletje","4. četrtletje"]},b5={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","avg.","sep.","okt.","nov.","dec."],wide:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"]},v5={narrow:["n","p","t","s","č","p","s"],short:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],abbreviated:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],wide:["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"]},y5={narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"j",afternoon:"p",evening:"v",night:"n"},abbreviated:{am:"dop.",pm:"pop.",midnight:"poln.",noon:"pold.",morning:"jut.",afternoon:"pop.",evening:"več.",night:"noč"},wide:{am:"dop.",pm:"pop.",midnight:"polnoč",noon:"poldne",morning:"jutro",afternoon:"popoldne",evening:"večer",night:"noč"}},w5={narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"zj",afternoon:"p",evening:"zv",night:"po"},abbreviated:{am:"dop.",pm:"pop.",midnight:"opoln.",noon:"opold.",morning:"zjut.",afternoon:"pop.",evening:"zveč.",night:"ponoči"},wide:{am:"dop.",pm:"pop.",midnight:"opolnoči",noon:"opoldne",morning:"zjutraj",afternoon:"popoldan",evening:"zvečer",night:"ponoči"}},P5={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:g5,defaultWidth:"wide"}),quarter:u({values:p5,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:b5,defaultWidth:"wide"}),day:u({values:v5,defaultWidth:"wide"}),dayPeriod:u({values:y5,defaultWidth:"wide",formattingValues:w5,defaultFormattingWidth:"wide"})},k5=/^(\d+)\./i,M5=/\d+/i,$5={abbreviated:/^(pr\. n\. št\.|po n\. št\.)/i,wide:/^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i},W5={any:[/^pr/i,/^(po|na[sš]em)/i]},x5={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?[čc]et\.?/i,wide:/^[1234]\. [čc]etrtletje/i},j5={any:[/1/i,/2/i,/3/i,/4/i]},S5={narrow:/^[jfmasond]/i,abbreviated:/^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,wide:/^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i},T5={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],abbreviated:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i],wide:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i]},D5={narrow:/^[nptsčc]/i,short:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,abbreviated:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,wide:/^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i},E5={narrow:[/^n/i,/^p/i,/^t/i,/^s/i,/^[cč]/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^t/i,/^sr/i,/^[cč]/i,/^pe/i,/^so/i]},N5={narrow:/^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,any:/^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i},C5={narrow:{am:/^d/i,pm:/^p/i,midnight:/^24/i,noon:/^12/i,morning:/^(z?j)/i,afternoon:/^p/i,evening:/^(z?v)/i,night:/^(n|po)/i},any:{am:/^dop\./i,pm:/^pop\./i,midnight:/^o?poln/i,noon:/^o?pold/i,morning:/j/i,afternoon:/^pop\./i,evening:/^z?ve/i,night:/(po)?no/i}},z5={ordinalNumber:I({matchPattern:k5,parsePattern:M5,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:$5,defaultMatchWidth:"wide",parsePatterns:W5,defaultParseWidth:"any"}),quarter:d({matchPatterns:x5,defaultMatchWidth:"wide",parsePatterns:j5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:S5,defaultMatchWidth:"wide",parsePatterns:T5,defaultParseWidth:"wide"}),day:d({matchPatterns:D5,defaultMatchWidth:"wide",parsePatterns:E5,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:N5,defaultMatchWidth:"any",parsePatterns:C5,defaultParseWidth:"any"})},kd={code:"sl",formatDistance:u5,formatLong:m5,formatRelative:f5,localize:P5,match:z5,options:{weekStartsOn:1,firstWeekContainsDate:1}},_5=Object.freeze(Object.defineProperty({__proto__:null,default:kd,sl:kd},Symbol.toStringTag,{value:"Module"})),O5={lessThanXSeconds:{one:"më pak se një sekondë",other:"më pak se {{count}} sekonda"},xSeconds:{one:"1 sekondë",other:"{{count}} sekonda"},halfAMinute:"gjysëm minuti",lessThanXMinutes:{one:"më pak se një minute",other:"më pak se {{count}} minuta"},xMinutes:{one:"1 minutë",other:"{{count}} minuta"},aboutXHours:{one:"rreth 1 orë",other:"rreth {{count}} orë"},xHours:{one:"1 orë",other:"{{count}} orë"},xDays:{one:"1 ditë",other:"{{count}} ditë"},aboutXWeeks:{one:"rreth 1 javë",other:"rreth {{count}} javë"},xWeeks:{one:"1 javë",other:"{{count}} javë"},aboutXMonths:{one:"rreth 1 muaj",other:"rreth {{count}} muaj"},xMonths:{one:"1 muaj",other:"{{count}} muaj"},aboutXYears:{one:"rreth 1 vit",other:"rreth {{count}} vite"},xYears:{one:"1 vit",other:"{{count}} vite"},overXYears:{one:"mbi 1 vit",other:"mbi {{count}} vite"},almostXYears:{one:"pothuajse 1 vit",other:"pothuajse {{count}} vite"}},V5=(e,a,t)=>{let n;const r=O5[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"në "+n:n+" më parë":n},H5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},I5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},F5={full:"{{date}} 'në' {{time}}",long:"{{date}} 'në' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},A5={date:m({formats:H5,defaultWidth:"full"}),time:m({formats:I5,defaultWidth:"full"}),dateTime:m({formats:F5,defaultWidth:"full"})},L5={lastWeek:"'të' eeee 'e shkuar në' p",yesterday:"'dje në' p",today:"'sot në' p",tomorrow:"'nesër në' p",nextWeek:"eeee 'at' p",other:"P"},X5=(e,a,t,n)=>L5[e],R5={narrow:["P","M"],abbreviated:["PK","MK"],wide:["Para Krishtit","Mbas Krishtit"]},Y5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["4-mujori I","4-mujori II","4-mujori III","4-mujori IV"]},q5={narrow:["J","S","M","P","M","Q","K","G","S","T","N","D"],abbreviated:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","Nën","Dhj"],wide:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"]},G5={narrow:["D","H","M","M","E","P","S"],short:["Di","Hë","Ma","Më","En","Pr","Sh"],abbreviated:["Die","Hën","Mar","Mër","Enj","Pre","Sht"],wide:["Dielë","Hënë","Martë","Mërkurë","Enjte","Premte","Shtunë"]},Q5={narrow:{am:"p",pm:"m",midnight:"m",noon:"d",morning:"mëngjes",afternoon:"dite",evening:"mbrëmje",night:"natë"},abbreviated:{am:"PD",pm:"MD",midnight:"mesnëtë",noon:"drek",morning:"mëngjes",afternoon:"mbasdite",evening:"mbrëmje",night:"natë"},wide:{am:"p.d.",pm:"m.d.",midnight:"mesnëtë",noon:"drek",morning:"mëngjes",afternoon:"mbasdite",evening:"mbrëmje",night:"natë"}},K5={narrow:{am:"p",pm:"m",midnight:"m",noon:"d",morning:"në mëngjes",afternoon:"në mbasdite",evening:"në mbrëmje",night:"në mesnatë"},abbreviated:{am:"PD",pm:"MD",midnight:"mesnatë",noon:"drek",morning:"në mëngjes",afternoon:"në mbasdite",evening:"në mbrëmje",night:"në mesnatë"},wide:{am:"p.d.",pm:"m.d.",midnight:"mesnatë",noon:"drek",morning:"në mëngjes",afternoon:"në mbasdite",evening:"në mbrëmje",night:"në mesnatë"}},J5={ordinalNumber:(e,a)=>{const t=Number(e);return(a==null?void 0:a.unit)==="hour"?String(t):t===1?t+"-rë":t===4?t+"t":t+"-të"},era:u({values:R5,defaultWidth:"wide"}),quarter:u({values:Y5,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:q5,defaultWidth:"wide"}),day:u({values:G5,defaultWidth:"wide"}),dayPeriod:u({values:Q5,defaultWidth:"wide",formattingValues:K5,defaultFormattingWidth:"wide"})},B5=/^(\d+)(-rë|-të|t|)?/i,U5=/\d+/i,Z5={narrow:/^(p|m)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(para krishtit|mbas krishtit)/i},eK={any:[/^b/i,/^(p|m)/i]},tK={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]-mujori (i{1,3}|iv)/i},aK={any:[/1/i,/2/i,/3/i,/4/i]},nK={narrow:/^[jsmpqkftnd]/i,abbreviated:/^(jan|shk|mar|pri|maj|qer|kor|gus|sht|tet|nën|dhj)/i,wide:/^(janar|shkurt|mars|prill|maj|qershor|korrik|gusht|shtator|tetor|nëntor|dhjetor)/i},rK={narrow:[/^j/i,/^s/i,/^m/i,/^p/i,/^m/i,/^q/i,/^k/i,/^g/i,/^s/i,/^t/i,/^n/i,/^d/i],any:[/^ja/i,/^shk/i,/^mar/i,/^pri/i,/^maj/i,/^qer/i,/^kor/i,/^gu/i,/^sht/i,/^tet/i,/^n/i,/^d/i]},iK={narrow:/^[dhmeps]/i,short:/^(di|hë|ma|më|en|pr|sh)/i,abbreviated:/^(die|hën|mar|mër|enj|pre|sht)/i,wide:/^(dielë|hënë|martë|mërkurë|enjte|premte|shtunë)/i},oK={narrow:[/^d/i,/^h/i,/^m/i,/^m/i,/^e/i,/^p/i,/^s/i],any:[/^d/i,/^h/i,/^ma/i,/^më/i,/^e/i,/^p/i,/^s/i]},sK={narrow:/^(p|m|me|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,any:/^([pm]\.?\s?d\.?|drek|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i},uK={any:{am:/^p/i,pm:/^m/i,midnight:/^me/i,noon:/^dr/i,morning:/mëngjes/i,afternoon:/mbasdite/i,evening:/mbrëmje/i,night:/natë/i}},dK={ordinalNumber:I({matchPattern:B5,parsePattern:U5,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:Z5,defaultMatchWidth:"wide",parsePatterns:eK,defaultParseWidth:"any"}),quarter:d({matchPatterns:tK,defaultMatchWidth:"wide",parsePatterns:aK,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:nK,defaultMatchWidth:"wide",parsePatterns:rK,defaultParseWidth:"any"}),day:d({matchPatterns:iK,defaultMatchWidth:"wide",parsePatterns:oK,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:sK,defaultMatchWidth:"any",parsePatterns:uK,defaultParseWidth:"any"})},Md={code:"sq",formatDistance:V5,formatLong:A5,formatRelative:X5,localize:J5,match:dK,options:{weekStartsOn:1,firstWeekContainsDate:1}},cK=Object.freeze(Object.defineProperty({__proto__:null,default:Md,sq:Md},Symbol.toStringTag,{value:"Module"})),lK={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 nedelju",withPrepositionAgo:"oko 1 nedelju",withPrepositionIn:"oko 1 nedelju"},dual:"oko {{count}} nedelje",other:"oko {{count}} nedelje"},xWeeks:{one:{standalone:"1 nedelju",withPrepositionAgo:"1 nedelju",withPrepositionIn:"1 nedelju"},dual:"{{count}} nedelje",other:"{{count}} nedelje"},aboutXMonths:{one:{standalone:"oko 1 mesec",withPrepositionAgo:"oko 1 mesec",withPrepositionIn:"oko 1 mesec"},dual:"oko {{count}} meseca",other:"oko {{count}} meseci"},xMonths:{one:{standalone:"1 mesec",withPrepositionAgo:"1 mesec",withPrepositionIn:"1 mesec"},dual:"{{count}} meseca",other:"{{count}} meseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},mK=(e,a,t)=>{let n;const r=lK[e];return typeof r=="string"?n=r:a===1?t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n=r.one.withPrepositionIn:n=r.one.withPrepositionAgo:n=r.one.standalone:a%10>1&&a%10<5&&String(a).substr(-2,1)!=="1"?n=r.dual.replace("{{count}}",String(a)):n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"za "+n:"pre "+n:n},hK={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},fK={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},gK={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},pK={date:m({formats:hK,defaultWidth:"full"}),time:m({formats:fK,defaultWidth:"full"}),dateTime:m({formats:gK,defaultWidth:"full"})},bK={lastWeek:e=>{switch(e.getDay()){case 0:return"'prošle nedelje u' p";case 3:return"'prošle srede u' p";case 6:return"'prošle subote u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'juče u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'sledeće nedelje u' p";case 3:return"'sledeću sredu u' p";case 6:return"'sledeću subotu u' p";default:return"'sledeći' EEEE 'u' p"}},other:"P"},vK=(e,a,t,n)=>{const r=bK[e];return typeof r=="function"?r(a):r},yK={narrow:["pr.n.e.","AD"],abbreviated:["pr. Hr.","po. Hr."],wide:["Pre Hrista","Posle Hrista"]},wK={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},PK={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"]},kK={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"]},MK={narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sre","čet","pet","sub"],abbreviated:["ned","pon","uto","sre","čet","pet","sub"],wide:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"]},$K={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"posle podne",evening:"uveče",night:"noću"}},WK={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"posle podne",evening:"uveče",night:"noću"}},xK={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:yK,defaultWidth:"wide"}),quarter:u({values:wK,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:PK,defaultWidth:"wide",formattingValues:kK,defaultFormattingWidth:"wide"}),day:u({values:MK,defaultWidth:"wide"}),dayPeriod:u({values:WK,defaultWidth:"wide",formattingValues:$K,defaultFormattingWidth:"wide"})},jK=/^(\d+)\./i,SK=/\d+/i,TK={narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Hr\.|po\.\s?Hr\.)/i,wide:/^(Pre Hrista|pre nove ere|Posle Hrista|nova era)/i},DK={any:[/^pr/i,/^(po|nova)/i]},EK={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},NK={any:[/1/i,/2/i,/3/i,/4/i]},CK={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,wide:/^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(jun|juna)|(jul|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i},zK={narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^avg/i,/^s/i,/^o/i,/^n/i,/^d/i]},_K={narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,wide:/^(nedelja|ponedeljak|utorak|sreda|(četvrtak|cetvrtak)|petak|subota)/i},OK={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]},VK={any:/^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|posle podne|ujutru)/i},HK={any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(posle\s|po)+podne/i,evening:/(uvece|uveče)/i,night:/(nocu|noću)/i}},IK={ordinalNumber:I({matchPattern:jK,parsePattern:SK,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:TK,defaultMatchWidth:"wide",parsePatterns:DK,defaultParseWidth:"any"}),quarter:d({matchPatterns:EK,defaultMatchWidth:"wide",parsePatterns:NK,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:CK,defaultMatchWidth:"wide",parsePatterns:zK,defaultParseWidth:"any"}),day:d({matchPatterns:_K,defaultMatchWidth:"wide",parsePatterns:OK,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:VK,defaultMatchWidth:"any",parsePatterns:HK,defaultParseWidth:"any"})},$d={code:"sr-Latn",formatDistance:mK,formatLong:pK,formatRelative:vK,localize:xK,match:IK,options:{weekStartsOn:1,firstWeekContainsDate:1}},FK=Object.freeze(Object.defineProperty({__proto__:null,default:$d,srLatn:$d},Symbol.toStringTag,{value:"Module"})),AK={lessThanXSeconds:{one:{standalone:"мање од 1 секунде",withPrepositionAgo:"мање од 1 секунде",withPrepositionIn:"мање од 1 секунду"},dual:"мање од {{count}} секунде",other:"мање од {{count}} секунди"},xSeconds:{one:{standalone:"1 секунда",withPrepositionAgo:"1 секунде",withPrepositionIn:"1 секунду"},dual:"{{count}} секунде",other:"{{count}} секунди"},halfAMinute:"пола минуте",lessThanXMinutes:{one:{standalone:"мање од 1 минуте",withPrepositionAgo:"мање од 1 минуте",withPrepositionIn:"мање од 1 минуту"},dual:"мање од {{count}} минуте",other:"мање од {{count}} минута"},xMinutes:{one:{standalone:"1 минута",withPrepositionAgo:"1 минуте",withPrepositionIn:"1 минуту"},dual:"{{count}} минуте",other:"{{count}} минута"},aboutXHours:{one:{standalone:"око 1 сат",withPrepositionAgo:"око 1 сат",withPrepositionIn:"око 1 сат"},dual:"око {{count}} сата",other:"око {{count}} сати"},xHours:{one:{standalone:"1 сат",withPrepositionAgo:"1 сат",withPrepositionIn:"1 сат"},dual:"{{count}} сата",other:"{{count}} сати"},xDays:{one:{standalone:"1 дан",withPrepositionAgo:"1 дан",withPrepositionIn:"1 дан"},dual:"{{count}} дана",other:"{{count}} дана"},aboutXWeeks:{one:{standalone:"око 1 недељу",withPrepositionAgo:"око 1 недељу",withPrepositionIn:"око 1 недељу"},dual:"око {{count}} недеље",other:"око {{count}} недеље"},xWeeks:{one:{standalone:"1 недељу",withPrepositionAgo:"1 недељу",withPrepositionIn:"1 недељу"},dual:"{{count}} недеље",other:"{{count}} недеље"},aboutXMonths:{one:{standalone:"око 1 месец",withPrepositionAgo:"око 1 месец",withPrepositionIn:"око 1 месец"},dual:"око {{count}} месеца",other:"око {{count}} месеци"},xMonths:{one:{standalone:"1 месец",withPrepositionAgo:"1 месец",withPrepositionIn:"1 месец"},dual:"{{count}} месеца",other:"{{count}} месеци"},aboutXYears:{one:{standalone:"око 1 годину",withPrepositionAgo:"око 1 годину",withPrepositionIn:"око 1 годину"},dual:"око {{count}} године",other:"око {{count}} година"},xYears:{one:{standalone:"1 година",withPrepositionAgo:"1 године",withPrepositionIn:"1 годину"},dual:"{{count}} године",other:"{{count}} година"},overXYears:{one:{standalone:"преко 1 годину",withPrepositionAgo:"преко 1 годину",withPrepositionIn:"преко 1 годину"},dual:"преко {{count}} године",other:"преко {{count}} година"},almostXYears:{one:{standalone:"готово 1 годину",withPrepositionAgo:"готово 1 годину",withPrepositionIn:"готово 1 годину"},dual:"готово {{count}} године",other:"готово {{count}} година"}},LK=(e,a,t)=>{let n;const r=AK[e];return typeof r=="string"?n=r:a===1?t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n=r.one.withPrepositionIn:n=r.one.withPrepositionAgo:n=r.one.standalone:a%10>1&&a%10<5&&String(a).substr(-2,1)!=="1"?n=r.dual.replace("{{count}}",String(a)):n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"за "+n:"пре "+n:n},XK={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},RK={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},YK={full:"{{date}} 'у' {{time}}",long:"{{date}} 'у' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},qK={date:m({formats:XK,defaultWidth:"full"}),time:m({formats:RK,defaultWidth:"full"}),dateTime:m({formats:YK,defaultWidth:"full"})},GK={lastWeek:e=>{switch(e.getDay()){case 0:return"'прошле недеље у' p";case 3:return"'прошле среде у' p";case 6:return"'прошле суботе у' p";default:return"'прошли' EEEE 'у' p"}},yesterday:"'јуче у' p",today:"'данас у' p",tomorrow:"'сутра у' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'следеће недеље у' p";case 3:return"'следећу среду у' p";case 6:return"'следећу суботу у' p";default:return"'следећи' EEEE 'у' p"}},other:"P"},QK=(e,a,t,n)=>{const r=GK[e];return typeof r=="function"?r(a):r},KK={narrow:["пр.н.е.","АД"],abbreviated:["пр. Хр.","по. Хр."],wide:["Пре Христа","После Христа"]},JK={narrow:["1.","2.","3.","4."],abbreviated:["1. кв.","2. кв.","3. кв.","4. кв."],wide:["1. квартал","2. квартал","3. квартал","4. квартал"]},BK={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},UK={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},ZK={narrow:["Н","П","У","С","Ч","П","С"],short:["нед","пон","уто","сре","чет","пет","суб"],abbreviated:["нед","пон","уто","сре","чет","пет","суб"],wide:["недеља","понедељак","уторак","среда","четвртак","петак","субота"]},eJ={narrow:{am:"АМ",pm:"ПМ",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},abbreviated:{am:"АМ",pm:"ПМ",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},wide:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"после подне",evening:"увече",night:"ноћу"}},tJ={narrow:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},abbreviated:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},wide:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"после подне",evening:"увече",night:"ноћу"}},aJ={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:KK,defaultWidth:"wide"}),quarter:u({values:JK,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:BK,defaultWidth:"wide",formattingValues:UK,defaultFormattingWidth:"wide"}),day:u({values:ZK,defaultWidth:"wide"}),dayPeriod:u({values:tJ,defaultWidth:"wide",formattingValues:eJ,defaultFormattingWidth:"wide"})},nJ=/^(\d+)\./i,rJ=/\d+/i,iJ={narrow:/^(пр\.н\.е\.|АД)/i,abbreviated:/^(пр\.\s?Хр\.|по\.\s?Хр\.)/i,wide:/^(Пре Христа|пре нове ере|После Христа|нова ера)/i},oJ={any:[/^пр/i,/^(по|нова)/i]},sJ={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?кв\.?/i,wide:/^[1234]\. квартал/i},uJ={any:[/1/i,/2/i,/3/i,/4/i]},dJ={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i,wide:/^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i},cJ={narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ја/i,/^ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^авг/i,/^с/i,/^о/i,/^н/i,/^д/i]},lJ={narrow:/^[пусчн]/i,short:/^(нед|пон|уто|сре|чет|пет|суб)/i,abbreviated:/^(нед|пон|уто|сре|чет|пет|суб)/i,wide:/^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i},mJ={narrow:[/^п/i,/^у/i,/^с/i,/^ч/i,/^п/i,/^с/i,/^н/i],any:[/^нед/i,/^пон/i,/^уто/i,/^сре/i,/^чет/i,/^пет/i,/^суб/i]},hJ={any:/^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i},fJ={any:{am:/^a/i,pm:/^p/i,midnight:/^поно/i,noon:/^под/i,morning:/ујутру/i,afternoon:/(после\s|по)+подне/i,evening:/(увече)/i,night:/(ноћу)/i}},gJ={ordinalNumber:I({matchPattern:nJ,parsePattern:rJ,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:iJ,defaultMatchWidth:"wide",parsePatterns:oJ,defaultParseWidth:"any"}),quarter:d({matchPatterns:sJ,defaultMatchWidth:"wide",parsePatterns:uJ,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:dJ,defaultMatchWidth:"wide",parsePatterns:cJ,defaultParseWidth:"any"}),day:d({matchPatterns:lJ,defaultMatchWidth:"wide",parsePatterns:mJ,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:hJ,defaultMatchWidth:"any",parsePatterns:fJ,defaultParseWidth:"any"})},Wd={code:"sr",formatDistance:LK,formatLong:qK,formatRelative:QK,localize:aJ,match:gJ,options:{weekStartsOn:1,firstWeekContainsDate:1}},pJ=Object.freeze(Object.defineProperty({__proto__:null,default:Wd,sr:Wd},Symbol.toStringTag,{value:"Module"})),bJ={lessThanXSeconds:{one:"mindre än en sekund",other:"mindre än {{count}} sekunder"},xSeconds:{one:"en sekund",other:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{one:"mindre än en minut",other:"mindre än {{count}} minuter"},xMinutes:{one:"en minut",other:"{{count}} minuter"},aboutXHours:{one:"ungefär en timme",other:"ungefär {{count}} timmar"},xHours:{one:"en timme",other:"{{count}} timmar"},xDays:{one:"en dag",other:"{{count}} dagar"},aboutXWeeks:{one:"ungefär en vecka",other:"ungefär {{count}} veckor"},xWeeks:{one:"en vecka",other:"{{count}} veckor"},aboutXMonths:{one:"ungefär en månad",other:"ungefär {{count}} månader"},xMonths:{one:"en månad",other:"{{count}} månader"},aboutXYears:{one:"ungefär ett år",other:"ungefär {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"över ett år",other:"över {{count}} år"},almostXYears:{one:"nästan ett år",other:"nästan {{count}} år"}},vJ=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"],yJ=(e,a,t)=>{let n;const r=bJ[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a<13?vJ[a]:String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"om "+n:n+" sedan":n},wJ={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},PJ={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},kJ={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},MJ={date:m({formats:wJ,defaultWidth:"full"}),time:m({formats:PJ,defaultWidth:"full"}),dateTime:m({formats:kJ,defaultWidth:"full"})},$J={lastWeek:"'i' EEEE's kl.' p",yesterday:"'igår kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},WJ=(e,a,t,n)=>$J[e],xJ={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["före Kristus","efter Kristus"]},jJ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},SJ={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},TJ={narrow:["S","M","T","O","T","F","L"],short:["sö","må","ti","on","to","fr","lö"],abbreviated:["sön","mån","tis","ons","tors","fre","lör"],wide:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"]},DJ={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kväll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kväll",night:"natt"},wide:{am:"förmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kväll",night:"natt"}},EJ={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på eftermiddagen",evening:"på kvällen",night:"på natten"}},NJ={ordinalNumber:(e,a)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:case 2:return t+":a"}return t+":e"},era:u({values:xJ,defaultWidth:"wide"}),quarter:u({values:jJ,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:SJ,defaultWidth:"wide"}),day:u({values:TJ,defaultWidth:"wide"}),dayPeriod:u({values:DJ,defaultWidth:"wide",formattingValues:EJ,defaultFormattingWidth:"wide"})},CJ=/^(\d+)(:a|:e)?/i,zJ=/\d+/i,_J={narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},OJ={any:[/^f/i,/^[ev]/i]},VJ={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},HJ={any:[/1/i,/2/i,/3/i,/4/i]},IJ={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i},FJ={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,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},AJ={narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tors|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},LJ={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},XJ={any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i},RJ={any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},YJ={ordinalNumber:I({matchPattern:CJ,parsePattern:zJ,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:_J,defaultMatchWidth:"wide",parsePatterns:OJ,defaultParseWidth:"any"}),quarter:d({matchPatterns:VJ,defaultMatchWidth:"wide",parsePatterns:HJ,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:IJ,defaultMatchWidth:"wide",parsePatterns:FJ,defaultParseWidth:"any"}),day:d({matchPatterns:AJ,defaultMatchWidth:"wide",parsePatterns:LJ,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:XJ,defaultMatchWidth:"any",parsePatterns:RJ,defaultParseWidth:"any"})},xd={code:"sv",formatDistance:yJ,formatLong:MJ,formatRelative:WJ,localize:NJ,match:YJ,options:{weekStartsOn:1,firstWeekContainsDate:4}},qJ=Object.freeze(Object.defineProperty({__proto__:null,default:xd,sv:xd},Symbol.toStringTag,{value:"Module"}));function GJ(e){return e.one!==void 0}const QJ={lessThanXSeconds:{one:{default:"ஒரு வினாடிக்கு குறைவாக",in:"ஒரு வினாடிக்குள்",ago:"ஒரு வினாடிக்கு முன்பு"},other:{default:"{{count}} வினாடிகளுக்கு குறைவாக",in:"{{count}} வினாடிகளுக்குள்",ago:"{{count}} வினாடிகளுக்கு முன்பு"}},xSeconds:{one:{default:"1 வினாடி",in:"1 வினாடியில்",ago:"1 வினாடி முன்பு"},other:{default:"{{count}} விநாடிகள்",in:"{{count}} வினாடிகளில்",ago:"{{count}} விநாடிகளுக்கு முன்பு"}},halfAMinute:{default:"அரை நிமிடம்",in:"அரை நிமிடத்தில்",ago:"அரை நிமிடம் முன்பு"},lessThanXMinutes:{one:{default:"ஒரு நிமிடத்திற்கும் குறைவாக",in:"ஒரு நிமிடத்திற்குள்",ago:"ஒரு நிமிடத்திற்கு முன்பு"},other:{default:"{{count}} நிமிடங்களுக்கும் குறைவாக",in:"{{count}} நிமிடங்களுக்குள்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},xMinutes:{one:{default:"1 நிமிடம்",in:"1 நிமிடத்தில்",ago:"1 நிமிடம் முன்பு"},other:{default:"{{count}} நிமிடங்கள்",in:"{{count}} நிமிடங்களில்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},aboutXHours:{one:{default:"சுமார் 1 மணி நேரம்",in:"சுமார் 1 மணி நேரத்தில்",ago:"சுமார் 1 மணி நேரத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மணி நேரம்",in:"சுமார் {{count}} மணி நேரத்திற்கு முன்பு",ago:"சுமார் {{count}} மணி நேரத்தில்"}},xHours:{one:{default:"1 மணி நேரம்",in:"1 மணி நேரத்தில்",ago:"1 மணி நேரத்திற்கு முன்பு"},other:{default:"{{count}} மணி நேரம்",in:"{{count}} மணி நேரத்தில்",ago:"{{count}} மணி நேரத்திற்கு முன்பு"}},xDays:{one:{default:"1 நாள்",in:"1 நாளில்",ago:"1 நாள் முன்பு"},other:{default:"{{count}} நாட்கள்",in:"{{count}} நாட்களில்",ago:"{{count}} நாட்களுக்கு முன்பு"}},aboutXWeeks:{one:{default:"சுமார் 1 வாரம்",in:"சுமார் 1 வாரத்தில்",ago:"சுமார் 1 வாரம் முன்பு"},other:{default:"சுமார் {{count}} வாரங்கள்",in:"சுமார் {{count}} வாரங்களில்",ago:"சுமார் {{count}} வாரங்களுக்கு முன்பு"}},xWeeks:{one:{default:"1 வாரம்",in:"1 வாரத்தில்",ago:"1 வாரம் முன்பு"},other:{default:"{{count}} வாரங்கள்",in:"{{count}} வாரங்களில்",ago:"{{count}} வாரங்களுக்கு முன்பு"}},aboutXMonths:{one:{default:"சுமார் 1 மாதம்",in:"சுமார் 1 மாதத்தில்",ago:"சுமார் 1 மாதத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மாதங்கள்",in:"சுமார் {{count}} மாதங்களில்",ago:"சுமார் {{count}} மாதங்களுக்கு முன்பு"}},xMonths:{one:{default:"1 மாதம்",in:"1 மாதத்தில்",ago:"1 மாதம் முன்பு"},other:{default:"{{count}} மாதங்கள்",in:"{{count}} மாதங்களில்",ago:"{{count}} மாதங்களுக்கு முன்பு"}},aboutXYears:{one:{default:"சுமார் 1 வருடம்",in:"சுமார் 1 ஆண்டில்",ago:"சுமார் 1 வருடம் முன்பு"},other:{default:"சுமார் {{count}} ஆண்டுகள்",in:"சுமார் {{count}} ஆண்டுகளில்",ago:"சுமார் {{count}} ஆண்டுகளுக்கு முன்பு"}},xYears:{one:{default:"1 வருடம்",in:"1 ஆண்டில்",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகள்",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},overXYears:{one:{default:"1 வருடத்திற்கு மேல்",in:"1 வருடத்திற்கும் மேலாக",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகளுக்கும் மேலாக",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},almostXYears:{one:{default:"கிட்டத்தட்ட 1 வருடம்",in:"கிட்டத்தட்ட 1 ஆண்டில்",ago:"கிட்டத்தட்ட 1 வருடம் முன்பு"},other:{default:"கிட்டத்தட்ட {{count}} ஆண்டுகள்",in:"கிட்டத்தட்ட {{count}} ஆண்டுகளில்",ago:"கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு"}}},KJ=(e,a,t)=>{const n=t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in":"ago":"default",r=QJ[e];return GJ(r)?a===1?r.one[n]:r.other[n].replace("{{count}}",String(a)):r[n]},JJ={full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},BJ={full:"a h:mm:ss zzzz",long:"a h:mm:ss z",medium:"a h:mm:ss",short:"a h:mm"},UJ={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ZJ={date:m({formats:JJ,defaultWidth:"full"}),time:m({formats:BJ,defaultWidth:"full"}),dateTime:m({formats:UJ,defaultWidth:"full"})},e6={lastWeek:"'கடந்த' eeee p 'மணிக்கு'",yesterday:"'நேற்று ' p 'மணிக்கு'",today:"'இன்று ' p 'மணிக்கு'",tomorrow:"'நாளை ' p 'மணிக்கு'",nextWeek:"eeee p 'மணிக்கு'",other:"P"},t6=(e,a,t,n)=>e6[e],a6={narrow:["கி.மு.","கி.பி."],abbreviated:["கி.மு.","கி.பி."],wide:["கிறிஸ்துவுக்கு முன்","அன்னோ டோமினி"]},n6={narrow:["1","2","3","4"],abbreviated:["காலா.1","காலா.2","காலா.3","காலா.4"],wide:["ஒன்றாம் காலாண்டு","இரண்டாம் காலாண்டு","மூன்றாம் காலாண்டு","நான்காம் காலாண்டு"]},r6={narrow:["ஜ","பி","மா","ஏ","மே","ஜூ","ஜூ","ஆ","செ","அ","ந","டி"],abbreviated:["ஜன.","பிப்.","மார்.","ஏப்.","மே","ஜூன்","ஜூலை","ஆக.","செப்.","அக்.","நவ.","டிச."],wide:["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"]},i6={narrow:["ஞா","தி","செ","பு","வி","வெ","ச"],short:["ஞா","தி","செ","பு","வி","வெ","ச"],abbreviated:["ஞாயி.","திங்.","செவ்.","புத.","வியா.","வெள்.","சனி"],wide:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"]},o6={narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},s6={narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},u6={ordinalNumber:(e,a)=>String(e),era:u({values:a6,defaultWidth:"wide"}),quarter:u({values:n6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:r6,defaultWidth:"wide"}),day:u({values:i6,defaultWidth:"wide"}),dayPeriod:u({values:o6,defaultWidth:"wide",formattingValues:s6,defaultFormattingWidth:"wide"})},d6=/^(\d+)(வது)?/i,c6=/\d+/i,l6={narrow:/^(கி.மு.|கி.பி.)/i,abbreviated:/^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/,wide:/^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i},m6={any:[/கி\.?\s?மு\.?/,/கி\.?\s?பி\.?/]},h6={narrow:/^[1234]/i,abbreviated:/^காலா.[1234]/i,wide:/^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i},f6={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/(1|காலா.1|ஒன்றாம்)/i,/(2|காலா.2|இரண்டாம்)/i,/(3|காலா.3|மூன்றாம்)/i,/(4|காலா.4|நான்காம்)/i]},g6={narrow:/^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i,abbreviated:/^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i,wide:/^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i},p6={narrow:[/^ஜ$/i,/^பி/i,/^மா/i,/^ஏ/i,/^மே/i,/^ஜூ/i,/^ஜூ/i,/^ஆ/i,/^செ/i,/^அ/i,/^ந/i,/^டி/i],any:[/^ஜன/i,/^பி/i,/^மா/i,/^ஏ/i,/^மே/i,/^ஜூன்/i,/^ஜூலை/i,/^ஆ/i,/^செ/i,/^அ/i,/^ந/i,/^டி/i]},b6={narrow:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,short:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,abbreviated:/^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i,wide:/^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i},v6={narrow:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i],any:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i]},y6={narrow:/^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i,any:/^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i},w6={any:{am:/^மு/i,pm:/^பி/i,midnight:/^நள்/i,noon:/^நண்/i,morning:/காலை/i,afternoon:/மதியம்/i,evening:/மாலை/i,night:/இரவு/i}},P6={ordinalNumber:I({matchPattern:d6,parsePattern:c6,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:l6,defaultMatchWidth:"wide",parsePatterns:m6,defaultParseWidth:"any"}),quarter:d({matchPatterns:h6,defaultMatchWidth:"wide",parsePatterns:f6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:g6,defaultMatchWidth:"wide",parsePatterns:p6,defaultParseWidth:"any"}),day:d({matchPatterns:b6,defaultMatchWidth:"wide",parsePatterns:v6,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:y6,defaultMatchWidth:"any",parsePatterns:w6,defaultParseWidth:"any"})},jd={code:"ta",formatDistance:KJ,formatLong:ZJ,formatRelative:t6,localize:u6,match:P6,options:{weekStartsOn:1,firstWeekContainsDate:4}},k6=Object.freeze(Object.defineProperty({__proto__:null,default:jd,ta:jd},Symbol.toStringTag,{value:"Module"})),Sd={lessThanXSeconds:{standalone:{one:"సెకను కన్నా తక్కువ",other:"{{count}} సెకన్ల కన్నా తక్కువ"},withPreposition:{one:"సెకను",other:"{{count}} సెకన్ల"}},xSeconds:{standalone:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"},withPreposition:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"}},halfAMinute:{standalone:"అర నిమిషం",withPreposition:"అర నిమిషం"},lessThanXMinutes:{standalone:{one:"ఒక నిమిషం కన్నా తక్కువ",other:"{{count}} నిమిషాల కన్నా తక్కువ"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},xMinutes:{standalone:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాలు"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},aboutXHours:{standalone:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటలు"},withPreposition:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటల"}},xHours:{standalone:{one:"ఒక గంట",other:"{{count}} గంటలు"},withPreposition:{one:"ఒక గంట",other:"{{count}} గంటల"}},xDays:{standalone:{one:"ఒక రోజు",other:"{{count}} రోజులు"},withPreposition:{one:"ఒక రోజు",other:"{{count}} రోజుల"}},aboutXWeeks:{standalone:{one:"సుమారు ఒక వారం",other:"సుమారు {{count}} వారాలు"},withPreposition:{one:"సుమారు ఒక వారం",other:"సుమారు {{count}} వారాలల"}},xWeeks:{standalone:{one:"ఒక వారం",other:"{{count}} వారాలు"},withPreposition:{one:"ఒక వారం",other:"{{count}} వారాలల"}},aboutXMonths:{standalone:{one:"సుమారు ఒక నెల",other:"సుమారు {{count}} నెలలు"},withPreposition:{one:"సుమారు ఒక నెల",other:"సుమారు {{count}} నెలల"}},xMonths:{standalone:{one:"ఒక నెల",other:"{{count}} నెలలు"},withPreposition:{one:"ఒక నెల",other:"{{count}} నెలల"}},aboutXYears:{standalone:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాలు"},withPreposition:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాల"}},xYears:{standalone:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాలు"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},overXYears:{standalone:{one:"ఒక సంవత్సరం పైగా",other:"{{count}} సంవత్సరాలకు పైగా"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},almostXYears:{standalone:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాలు"},withPreposition:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాల"}}},M6=(e,a,t)=>{let n;const r=t!=null&&t.addSuffix?Sd[e].withPreposition:Sd[e].standalone;return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+"లో":n+" క్రితం":n},$6={full:"d, MMMM y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd-MM-yy"},W6={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},x6={full:"{{date}} {{time}}'కి'",long:"{{date}} {{time}}'కి'",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},j6={date:m({formats:$6,defaultWidth:"full"}),time:m({formats:W6,defaultWidth:"full"}),dateTime:m({formats:x6,defaultWidth:"full"})},S6={lastWeek:"'గత' eeee p",yesterday:"'నిన్న' p",today:"'ఈ రోజు' p",tomorrow:"'రేపు' p",nextWeek:"'తదుపరి' eeee p",other:"P"},T6=(e,a,t,n)=>S6[e],D6={narrow:["క్రీ.పూ.","క్రీ.శ."],abbreviated:["క్రీ.పూ.","క్రీ.శ."],wide:["క్రీస్తు పూర్వం","క్రీస్తుశకం"]},E6={narrow:["1","2","3","4"],abbreviated:["త్రై1","త్రై2","త్రై3","త్రై4"],wide:["1వ త్రైమాసికం","2వ త్రైమాసికం","3వ త్రైమాసికం","4వ త్రైమాసికం"]},N6={narrow:["జ","ఫి","మా","ఏ","మే","జూ","జు","ఆ","సె","అ","న","డి"],abbreviated:["జన","ఫిబ్ర","మార్చి","ఏప్రి","మే","జూన్","జులై","ఆగ","సెప్టెం","అక్టో","నవం","డిసెం"],wide:["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జులై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్"]},C6={narrow:["ఆ","సో","మ","బు","గు","శు","శ"],short:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],abbreviated:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],wide:["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"]},z6={narrow:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},abbreviated:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},wide:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"}},_6={narrow:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},abbreviated:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},wide:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"}},O6={ordinalNumber:(e,a)=>Number(e)+"వ",era:u({values:D6,defaultWidth:"wide"}),quarter:u({values:E6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:N6,defaultWidth:"wide"}),day:u({values:C6,defaultWidth:"wide"}),dayPeriod:u({values:z6,defaultWidth:"wide",formattingValues:_6,defaultFormattingWidth:"wide"})},V6=/^(\d+)(వ)?/i,H6=/\d+/i,I6={narrow:/^(క్రీ\.పూ\.|క్రీ\.శ\.)/i,abbreviated:/^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i,wide:/^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i},F6={any:[/^(పూ|శ)/i,/^సా/i]},A6={narrow:/^[1234]/i,abbreviated:/^త్రై[1234]/i,wide:/^[1234](వ)? త్రైమాసికం/i},L6={any:[/1/i,/2/i,/3/i,/4/i]},X6={narrow:/^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,abbreviated:/^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,wide:/^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i},R6={narrow:[/^జ/i,/^ఫి/i,/^మా/i,/^ఏ/i,/^మే/i,/^జూ/i,/^జు/i,/^ఆ/i,/^సె/i,/^అ/i,/^న/i,/^డి/i],any:[/^జన/i,/^ఫి/i,/^మా/i,/^ఏ/i,/^మే/i,/^జూన్/i,/^జులై/i,/^ఆగ/i,/^సె/i,/^అ/i,/^న/i,/^డి/i]},Y6={narrow:/^(ఆ|సో|మ|బు|గు|శు|శ)/i,short:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,abbreviated:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,wide:/^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i},q6={narrow:[/^ఆ/i,/^సో/i,/^మ/i,/^బు/i,/^గు/i,/^శు/i,/^శ/i],any:[/^ఆది/i,/^సోమ/i,/^మం/i,/^బుధ/i,/^గురు/i,/^శుక్ర/i,/^శని/i]},G6={narrow:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,any:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i},Q6={any:{am:/^పూర్వాహ్నం/i,pm:/^అపరాహ్నం/i,midnight:/^అర్ధ/i,noon:/^మిట్ట/i,morning:/ఉదయం/i,afternoon:/మధ్యాహ్నం/i,evening:/సాయంత్రం/i,night:/రాత్రి/i}},K6={ordinalNumber:I({matchPattern:V6,parsePattern:H6,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:I6,defaultMatchWidth:"wide",parsePatterns:F6,defaultParseWidth:"any"}),quarter:d({matchPatterns:A6,defaultMatchWidth:"wide",parsePatterns:L6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:X6,defaultMatchWidth:"wide",parsePatterns:R6,defaultParseWidth:"any"}),day:d({matchPatterns:Y6,defaultMatchWidth:"wide",parsePatterns:q6,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:G6,defaultMatchWidth:"any",parsePatterns:Q6,defaultParseWidth:"any"})},Td={code:"te",formatDistance:M6,formatLong:j6,formatRelative:T6,localize:O6,match:K6,options:{weekStartsOn:0,firstWeekContainsDate:1}},J6=Object.freeze(Object.defineProperty({__proto__:null,default:Td,te:Td},Symbol.toStringTag,{value:"Module"})),B6={lessThanXSeconds:{one:"น้อยกว่า 1 วินาที",other:"น้อยกว่า {{count}} วินาที"},xSeconds:{one:"1 วินาที",other:"{{count}} วินาที"},halfAMinute:"ครึ่งนาที",lessThanXMinutes:{one:"น้อยกว่า 1 นาที",other:"น้อยกว่า {{count}} นาที"},xMinutes:{one:"1 นาที",other:"{{count}} นาที"},aboutXHours:{one:"ประมาณ 1 ชั่วโมง",other:"ประมาณ {{count}} ชั่วโมง"},xHours:{one:"1 ชั่วโมง",other:"{{count}} ชั่วโมง"},xDays:{one:"1 วัน",other:"{{count}} วัน"},aboutXWeeks:{one:"ประมาณ 1 สัปดาห์",other:"ประมาณ {{count}} สัปดาห์"},xWeeks:{one:"1 สัปดาห์",other:"{{count}} สัปดาห์"},aboutXMonths:{one:"ประมาณ 1 เดือน",other:"ประมาณ {{count}} เดือน"},xMonths:{one:"1 เดือน",other:"{{count}} เดือน"},aboutXYears:{one:"ประมาณ 1 ปี",other:"ประมาณ {{count}} ปี"},xYears:{one:"1 ปี",other:"{{count}} ปี"},overXYears:{one:"มากกว่า 1 ปี",other:"มากกว่า {{count}} ปี"},almostXYears:{one:"เกือบ 1 ปี",other:"เกือบ {{count}} ปี"}},U6=(e,a,t)=>{let n;const r=B6[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e==="halfAMinute"?"ใน"+n:"ใน "+n:n+"ที่ผ่านมา":n},Z6={full:"วันEEEEที่ do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},eB={full:"H:mm:ss น. zzzz",long:"H:mm:ss น. z",medium:"H:mm:ss น.",short:"H:mm น."},tB={full:"{{date}} 'เวลา' {{time}}",long:"{{date}} 'เวลา' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},aB={date:m({formats:Z6,defaultWidth:"full"}),time:m({formats:eB,defaultWidth:"medium"}),dateTime:m({formats:tB,defaultWidth:"full"})},nB={lastWeek:"eeee'ที่แล้วเวลา' p",yesterday:"'เมื่อวานนี้เวลา' p",today:"'วันนี้เวลา' p",tomorrow:"'พรุ่งนี้เวลา' p",nextWeek:"eeee 'เวลา' p",other:"P"},rB=(e,a,t,n)=>nB[e],iB={narrow:["B","คศ"],abbreviated:["BC","ค.ศ."],wide:["ปีก่อนคริสตกาล","คริสต์ศักราช"]},oB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ไตรมาสแรก","ไตรมาสที่สอง","ไตรมาสที่สาม","ไตรมาสที่สี่"]},sB={narrow:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],short:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],abbreviated:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],wide:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"]},uB={narrow:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],abbreviated:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],wide:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"]},dB={narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"}},cB={narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"}},lB={ordinalNumber:(e,a)=>String(e),era:u({values:iB,defaultWidth:"wide"}),quarter:u({values:oB,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:uB,defaultWidth:"wide"}),day:u({values:sB,defaultWidth:"wide"}),dayPeriod:u({values:dB,defaultWidth:"wide",formattingValues:cB,defaultFormattingWidth:"wide"})},mB=/^\d+/i,hB=/\d+/i,fB={narrow:/^([bB]|[aA]|คศ)/i,abbreviated:/^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i,wide:/^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i},gB={any:[/^[bB]/i,/^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i]},pB={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^ไตรมาส(ที่)? ?[1234]/i},bB={any:[/(1|แรก|หนึ่ง)/i,/(2|สอง)/i,/(3|สาม)/i,/(4|สี่)/i]},vB={narrow:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i,abbreviated:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i,wide:/^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i},yB={wide:[/^มก/i,/^กุม/i,/^มี/i,/^เม/i,/^พฤษ/i,/^มิ/i,/^กรก/i,/^ส/i,/^กัน/i,/^ต/i,/^พฤศ/i,/^ธ/i],any:[/^ม\.?ค\.?/i,/^ก\.?พ\.?/i,/^มี\.?ค\.?/i,/^เม\.?ย\.?/i,/^พ\.?ค\.?/i,/^มิ\.?ย\.?/i,/^ก\.?ค\.?/i,/^ส\.?ค\.?/i,/^ก\.?ย\.?/i,/^ต\.?ค\.?/i,/^พ\.?ย\.?/i,/^ธ\.?ค\.?/i]},wB={narrow:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,short:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,abbreviated:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,wide:/^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i},PB={wide:[/^อา/i,/^จั/i,/^อั/i,/^พุธ/i,/^พฤ/i,/^ศ/i,/^เส/i],any:[/^อา/i,/^จ/i,/^อ/i,/^พ(?!ฤ)/i,/^พฤ/i,/^ศ/i,/^ส/i]},kB={any:/^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i},MB={any:{am:/^ก่อนเที่ยง/i,pm:/^หลังเที่ยง/i,midnight:/^เที่ยงคืน/i,noon:/^เที่ยง/i,morning:/เช้า/i,afternoon:/บ่าย/i,evening:/เย็น/i,night:/กลางคืน/i}},$B={ordinalNumber:I({matchPattern:mB,parsePattern:hB,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:fB,defaultMatchWidth:"wide",parsePatterns:gB,defaultParseWidth:"any"}),quarter:d({matchPatterns:pB,defaultMatchWidth:"wide",parsePatterns:bB,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:vB,defaultMatchWidth:"wide",parsePatterns:yB,defaultParseWidth:"any"}),day:d({matchPatterns:wB,defaultMatchWidth:"wide",parsePatterns:PB,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:kB,defaultMatchWidth:"any",parsePatterns:MB,defaultParseWidth:"any"})},Dd={code:"th",formatDistance:U6,formatLong:aB,formatRelative:rB,localize:lB,match:$B,options:{weekStartsOn:0,firstWeekContainsDate:1}},WB=Object.freeze(Object.defineProperty({__proto__:null,default:Dd,th:Dd},Symbol.toStringTag,{value:"Module"})),xB={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},jB=(e,a,t)=>{let n;const r=xB[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+" sonra":n+" önce":n},SB={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},TB={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},DB={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},EB={date:m({formats:SB,defaultWidth:"full"}),time:m({formats:TB,defaultWidth:"full"}),dateTime:m({formats:DB,defaultWidth:"full"})},NB={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},CB=(e,a,t,n)=>NB[e],zB={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},_B={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},OB={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},VB={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},HB={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},IB={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},FB={ordinalNumber:(e,a)=>Number(e)+".",era:u({values:zB,defaultWidth:"wide"}),quarter:u({values:_B,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:u({values:OB,defaultWidth:"wide"}),day:u({values:VB,defaultWidth:"wide"}),dayPeriod:u({values:HB,defaultWidth:"wide",formattingValues:IB,defaultFormattingWidth:"wide"})},AB=/^(\d+)(\.)?/i,LB=/\d+/i,XB={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},RB={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},YB={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},qB={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},GB={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},QB={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},KB={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},JB={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},BB={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},UB={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},ZB={ordinalNumber:I({matchPattern:AB,parsePattern:LB,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:XB,defaultMatchWidth:"wide",parsePatterns:RB,defaultParseWidth:"any"}),quarter:d({matchPatterns:YB,defaultMatchWidth:"wide",parsePatterns:qB,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:GB,defaultMatchWidth:"wide",parsePatterns:QB,defaultParseWidth:"any"}),day:d({matchPatterns:KB,defaultMatchWidth:"wide",parsePatterns:JB,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:BB,defaultMatchWidth:"any",parsePatterns:UB,defaultParseWidth:"any"})},Ed={code:"tr",formatDistance:jB,formatLong:EB,formatRelative:CB,localize:FB,match:ZB,options:{weekStartsOn:1,firstWeekContainsDate:1}},e8=Object.freeze(Object.defineProperty({__proto__:null,default:Ed,tr:Ed},Symbol.toStringTag,{value:"Module"})),t8={lessThanXSeconds:{one:"بىر سىكۇنت ئىچىدە",other:"سىكۇنت ئىچىدە {{count}}"},xSeconds:{one:"بىر سىكۇنت",other:"سىكۇنت {{count}}"},halfAMinute:"يىرىم مىنۇت",lessThanXMinutes:{one:"بىر مىنۇت ئىچىدە",other:"مىنۇت ئىچىدە {{count}}"},xMinutes:{one:"بىر مىنۇت",other:"مىنۇت {{count}}"},aboutXHours:{one:"تەخمىنەن بىر سائەت",other:"سائەت {{count}} تەخمىنەن"},xHours:{one:"بىر سائەت",other:"سائەت {{count}}"},xDays:{one:"بىر كۈن",other:"كۈن {{count}}"},aboutXWeeks:{one:"تەخمىنەن بىرھەپتە",other:"ھەپتە {{count}} تەخمىنەن"},xWeeks:{one:"بىرھەپتە",other:"ھەپتە {{count}}"},aboutXMonths:{one:"تەخمىنەن بىر ئاي",other:"ئاي {{count}} تەخمىنەن"},xMonths:{one:"بىر ئاي",other:"ئاي {{count}}"},aboutXYears:{one:"تەخمىنەن بىر يىل",other:"يىل {{count}} تەخمىنەن"},xYears:{one:"بىر يىل",other:"يىل {{count}}"},overXYears:{one:"بىر يىلدىن ئارتۇق",other:"يىلدىن ئارتۇق {{count}}"},almostXYears:{one:"ئاساسەن بىر يىل",other:"يىل {{count}} ئاساسەن"}},a8=(e,a,t)=>{let n;const r=t8[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n:n+" بولدى":n},n8={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},r8={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},i8={full:"{{date}} 'دە' {{time}}",long:"{{date}} 'دە' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},o8={date:m({formats:n8,defaultWidth:"full"}),time:m({formats:r8,defaultWidth:"full"}),dateTime:m({formats:i8,defaultWidth:"full"})},s8={lastWeek:"'ئ‍ۆتكەن' eeee 'دە' p",yesterday:"'تۈنۈگۈن دە' p",today:"'بۈگۈن دە' p",tomorrow:"'ئەتە دە' p",nextWeek:"eeee 'دە' p",other:"P"},u8=(e,a,t,n)=>s8[e],d8={narrow:["ب","ك"],abbreviated:["ب","ك"],wide:["مىيلادىدىن بۇرۇن","مىيلادىدىن كىيىن"]},c8={narrow:["1","2","3","4"],abbreviated:["1","2","3","4"],wide:["بىرىنجى چارەك","ئىككىنجى چارەك","ئۈچىنجى چارەك","تۆتىنجى چارەك"]},l8={narrow:["ي","ف","م","ا","م","ى","ى","ا","س","ۆ","ن","د"],abbreviated:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"],wide:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"]},m8={narrow:["ي","د","س","چ","پ","ج","ش"],short:["ي","د","س","چ","پ","ج","ش"],abbreviated:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"],wide:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"]},h8={narrow:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"},abbreviated:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"},wide:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"}},f8={narrow:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"},abbreviated:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"},wide:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"}},g8={ordinalNumber:(e,a)=>String(e),era:u({values:d8,defaultWidth:"wide"}),quarter:u({values:c8,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:l8,defaultWidth:"wide"}),day:u({values:m8,defaultWidth:"wide"}),dayPeriod:u({values:h8,defaultWidth:"wide",formattingValues:f8,defaultFormattingWidth:"wide"})},p8=/^(\d+)(th|st|nd|rd)?/i,b8=/\d+/i,v8={narrow:/^(ب|ك)/i,wide:/^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i},y8={any:[/^بۇرۇن/i,/^كىيىن/i]},w8={narrow:/^[1234]/i,abbreviated:/^چ[1234]/i,wide:/^چارەك [1234]/i},P8={any:[/1/i,/2/i,/3/i,/4/i]},k8={narrow:/^[يفمئامئ‍ئاسۆند]/i,abbreviated:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,wide:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i},M8={narrow:[/^ي/i,/^ف/i,/^م/i,/^ا/i,/^م/i,/^ى‍/i,/^ى‍/i,/^ا‍/i,/^س/i,/^ۆ/i,/^ن/i,/^د/i],any:[/^يان/i,/^فېۋ/i,/^مار/i,/^ئاپ/i,/^ماي/i,/^ئىيۇن/i,/^ئىيول/i,/^ئاۋ/i,/^سىن/i,/^ئۆك/i,/^نوي/i,/^دىك/i]},$8={narrow:/^[دسچپجشي]/i,short:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,abbreviated:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,wide:/^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i},W8={narrow:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i]},x8={narrow:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,any:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i},j8={any:{am:/^ئە/i,pm:/^چ/i,midnight:/^ك/i,noon:/^چ/i,morning:/ئەتىگەن/i,afternoon:/چۈشتىن كىيىن/i,evening:/ئاخشىم/i,night:/كىچە/i}},S8={ordinalNumber:I({matchPattern:p8,parsePattern:b8,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:v8,defaultMatchWidth:"wide",parsePatterns:y8,defaultParseWidth:"any"}),quarter:d({matchPatterns:w8,defaultMatchWidth:"wide",parsePatterns:P8,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:k8,defaultMatchWidth:"wide",parsePatterns:M8,defaultParseWidth:"any"}),day:d({matchPatterns:$8,defaultMatchWidth:"wide",parsePatterns:W8,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:x8,defaultMatchWidth:"any",parsePatterns:j8,defaultParseWidth:"any"})},Nd={code:"ug",formatDistance:a8,formatLong:o8,formatRelative:u8,localize:g8,match:S8,options:{weekStartsOn:0,firstWeekContainsDate:1}},T8=Object.freeze(Object.defineProperty({__proto__:null,default:Nd,ug:Nd},Symbol.toStringTag,{value:"Module"}));function Ba(e,a){if(e.one!==void 0&&a===1)return e.one;const t=a%10,n=a%100;return t===1&&n!==11?e.singularNominative.replace("{{count}}",String(a)):t>=2&&t<=4&&(n<10||n>20)?e.singularGenitive.replace("{{count}}",String(a)):e.pluralGenitive.replace("{{count}}",String(a))}function Ue(e){return(a,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?e.future?Ba(e.future,a):"за "+Ba(e.regular,a):e.past?Ba(e.past,a):Ba(e.regular,a)+" тому":Ba(e.regular,a)}const D8=(e,a)=>a&&a.addSuffix?a.comparison&&a.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини",E8={lessThanXSeconds:Ue({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:Ue({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:D8,lessThanXMinutes:Ue({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:Ue({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:Ue({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:Ue({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:Ue({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:Ue({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:Ue({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:Ue({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:Ue({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:Ue({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:Ue({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:Ue({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:Ue({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},N8=(e,a,t)=>(t=t||{},E8[e](a,t)),C8={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},z8={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},_8={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},O8={date:m({formats:C8,defaultWidth:"full"}),time:m({formats:z8,defaultWidth:"full"}),dateTime:m({formats:_8,defaultWidth:"full"})},Ar=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function V8(e){const a=Ar[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+a+" о' p";case 1:case 2:case 4:return"'у минулий "+a+" о' p"}}function Cd(e){return"'у "+Ar[e]+" о' p"}function H8(e){const a=Ar[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+a+" о' p";case 1:case 2:case 4:return"'у наступний "+a+" о' p"}}const I8={lastWeek:(e,a,t)=>{const n=he(e),r=n.getDay();return ze(n,a,t)?Cd(r):V8(r)},yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:(e,a,t)=>{const n=he(e),r=n.getDay();return ze(n,a,t)?Cd(r):H8(r)},other:"P"},F8=(e,a,t,n)=>{const r=I8[e];return typeof r=="function"?r(a,t,n):r},A8={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},L8={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},X8={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},R8={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},Y8={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},q8={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},G8={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},Q8={ordinalNumber:(e,a)=>{const t=String(a==null?void 0:a.unit),n=Number(e);let r;return t==="date"?n===3||n===23?r="-є":r="-е":t==="minute"||t==="second"||t==="hour"?r="-а":r="-й",n+r},era:u({values:A8,defaultWidth:"wide"}),quarter:u({values:L8,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:X8,defaultWidth:"wide",formattingValues:R8,defaultFormattingWidth:"wide"}),day:u({values:Y8,defaultWidth:"wide"}),dayPeriod:u({values:q8,defaultWidth:"any",formattingValues:G8,defaultFormattingWidth:"wide"})},K8=/^(\d+)(-?(е|й|є|а|я))?/i,J8=/\d+/i,B8={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},U8={any:[/^д/i,/^н/i]},Z8={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},e7={any:[/1/i,/2/i,/3/i,/4/i]},t7={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},a7={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},n7={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},r7={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},i7={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},o7={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},s7={ordinalNumber:I({matchPattern:K8,parsePattern:J8,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:B8,defaultMatchWidth:"wide",parsePatterns:U8,defaultParseWidth:"any"}),quarter:d({matchPatterns:Z8,defaultMatchWidth:"wide",parsePatterns:e7,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:t7,defaultMatchWidth:"wide",parsePatterns:a7,defaultParseWidth:"any"}),day:d({matchPatterns:n7,defaultMatchWidth:"wide",parsePatterns:r7,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:i7,defaultMatchWidth:"wide",parsePatterns:o7,defaultParseWidth:"any"})},zd={code:"uk",formatDistance:N8,formatLong:O8,formatRelative:F8,localize:Q8,match:s7,options:{weekStartsOn:1,firstWeekContainsDate:1}},u7=Object.freeze(Object.defineProperty({__proto__:null,default:zd,uk:zd},Symbol.toStringTag,{value:"Module"})),d7={lessThanXSeconds:{one:"1 сониядан кам",other:"{{count}} сониядан кам"},xSeconds:{one:"1 сония",other:"{{count}} сония"},halfAMinute:"ярим дақиқа",lessThanXMinutes:{one:"1 дақиқадан кам",other:"{{count}} дақиқадан кам"},xMinutes:{one:"1 дақиқа",other:"{{count}} дақиқа"},aboutXHours:{one:"тахминан 1 соат",other:"тахминан {{count}} соат"},xHours:{one:"1 соат",other:"{{count}} соат"},xDays:{one:"1 кун",other:"{{count}} кун"},aboutXWeeks:{one:"тахминан 1 хафта",other:"тахминан {{count}} хафта"},xWeeks:{one:"1 хафта",other:"{{count}} хафта"},aboutXMonths:{one:"тахминан 1 ой",other:"тахминан {{count}} ой"},xMonths:{one:"1 ой",other:"{{count}} ой"},aboutXYears:{one:"тахминан 1 йил",other:"тахминан {{count}} йил"},xYears:{one:"1 йил",other:"{{count}} йил"},overXYears:{one:"1 йилдан кўп",other:"{{count}} йилдан кўп"},almostXYears:{one:"деярли 1 йил",other:"деярли {{count}} йил"}},c7=(e,a,t)=>{let n;const r=d7[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+"дан кейин":n+" олдин":n},l7={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},m7={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},h7={any:"{{date}}, {{time}}"},f7={date:m({formats:l7,defaultWidth:"full"}),time:m({formats:m7,defaultWidth:"full"}),dateTime:m({formats:h7,defaultWidth:"any"})},g7={lastWeek:"'ўтган' eeee p 'да'",yesterday:"'кеча' p 'да'",today:"'бугун' p 'да'",tomorrow:"'эртага' p 'да'",nextWeek:"eeee p 'да'",other:"P"},p7=(e,a,t,n)=>g7[e],b7={narrow:["М.А","М"],abbreviated:["М.А","М"],wide:["Милоддан Аввалги","Милодий"]},v7={narrow:["1","2","3","4"],abbreviated:["1-чор.","2-чор.","3-чор.","4-чор."],wide:["1-чорак","2-чорак","3-чорак","4-чорак"]},y7={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"],wide:["январ","феврал","март","апрел","май","июн","июл","август","сентабр","октабр","ноябр","декабр"]},w7={narrow:["Я","Д","С","Ч","П","Ж","Ш"],short:["як","ду","се","чо","па","жу","ша"],abbreviated:["якш","душ","сеш","чор","пай","жум","шан"],wide:["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"]},P7={any:{am:"П.О.",pm:"П.К.",midnight:"ярим тун",noon:"пешин",morning:"эрталаб",afternoon:"пешиндан кейин",evening:"кечаси",night:"тун"}},k7={any:{am:"П.О.",pm:"П.К.",midnight:"ярим тун",noon:"пешин",morning:"эрталаб",afternoon:"пешиндан кейин",evening:"кечаси",night:"тун"}},M7={ordinalNumber:(e,a)=>String(e),era:u({values:b7,defaultWidth:"wide"}),quarter:u({values:v7,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:y7,defaultWidth:"wide"}),day:u({values:w7,defaultWidth:"wide"}),dayPeriod:u({values:P7,defaultWidth:"any",formattingValues:k7,defaultFormattingWidth:"any"})},$7=/^(\d+)(чи)?/i,W7=/\d+/i,x7={narrow:/^(м\.а|м\.)/i,abbreviated:/^(м\.а|м\.)/i,wide:/^(милоддан аввал|милоддан кейин)/i},j7={any:[/^м/i,/^а/i]},S7={narrow:/^[1234]/i,abbreviated:/^[1234]-чор./i,wide:/^[1234]-чорак/i},T7={any:[/1/i,/2/i,/3/i,/4/i]},D7={narrow:/^[яфмамииасонд]/i,abbreviated:/^(янв|фев|мар|апр|май|июн|июл|авг|сен|окт|ноя|дек)/i,wide:/^(январ|феврал|март|апрел|май|июн|июл|август|сентабр|октабр|ноябр|декабр)/i},E7={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^д/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},N7={narrow:/^[ядсчпжш]/i,short:/^(як|ду|се|чо|па|жу|ша)/i,abbreviated:/^(якш|душ|сеш|чор|пай|жум|шан)/i,wide:/^(якшанба|душанба|сешанба|чоршанба|пайшанба|жума|шанба)/i},C7={narrow:[/^я/i,/^д/i,/^с/i,/^ч/i,/^п/i,/^ж/i,/^ш/i],any:[/^як/i,/^ду/i,/^се/i,/^чор/i,/^пай/i,/^жу/i,/^шан/i]},z7={any:/^(п\.о\.|п\.к\.|ярим тун|пешиндан кейин|(эрталаб|пешиндан кейин|кечаси|тун))/i},_7={any:{am:/^п\.о\./i,pm:/^п\.к\./i,midnight:/^ярим тун/i,noon:/^пешиндан кейин/i,morning:/эрталаб/i,afternoon:/пешиндан кейин/i,evening:/кечаси/i,night:/тун/i}},O7={ordinalNumber:I({matchPattern:$7,parsePattern:W7,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:x7,defaultMatchWidth:"wide",parsePatterns:j7,defaultParseWidth:"any"}),quarter:d({matchPatterns:S7,defaultMatchWidth:"wide",parsePatterns:T7,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:D7,defaultMatchWidth:"wide",parsePatterns:E7,defaultParseWidth:"any"}),day:d({matchPatterns:N7,defaultMatchWidth:"wide",parsePatterns:C7,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:z7,defaultMatchWidth:"any",parsePatterns:_7,defaultParseWidth:"any"})},_d={code:"uz-Cyrl",formatDistance:c7,formatLong:f7,formatRelative:p7,localize:M7,match:O7,options:{weekStartsOn:1,firstWeekContainsDate:1}},V7=Object.freeze(Object.defineProperty({__proto__:null,default:_d,uzCyrl:_d},Symbol.toStringTag,{value:"Module"})),H7={lessThanXSeconds:{one:"sekunddan kam",other:"{{count}} sekunddan kam"},xSeconds:{one:"1 sekund",other:"{{count}} sekund"},halfAMinute:"yarim minut",lessThanXMinutes:{one:"bir minutdan kam",other:"{{count}} minutdan kam"},xMinutes:{one:"1 minut",other:"{{count}} minut"},aboutXHours:{one:"tahminan 1 soat",other:"tahminan {{count}} soat"},xHours:{one:"1 soat",other:"{{count}} soat"},xDays:{one:"1 kun",other:"{{count}} kun"},aboutXWeeks:{one:"tahminan 1 hafta",other:"tahminan {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"tahminan 1 oy",other:"tahminan {{count}} oy"},xMonths:{one:"1 oy",other:"{{count}} oy"},aboutXYears:{one:"tahminan 1 yil",other:"tahminan {{count}} yil"},xYears:{one:"1 yil",other:"{{count}} yil"},overXYears:{one:"1 yildan ko'p",other:"{{count}} yildan ko'p"},almostXYears:{one:"deyarli 1 yil",other:"deyarli {{count}} yil"}},I7=(e,a,t)=>{let n;const r=H7[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+" dan keyin":n+" oldin":n},F7={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},A7={full:"h:mm:ss zzzz",long:"h:mm:ss z",medium:"h:mm:ss",short:"h:mm"},L7={any:"{{date}}, {{time}}"},X7={date:m({formats:F7,defaultWidth:"full"}),time:m({formats:A7,defaultWidth:"full"}),dateTime:m({formats:L7,defaultWidth:"any"})},R7={lastWeek:"'oldingi' eeee p 'da'",yesterday:"'kecha' p 'da'",today:"'bugun' p 'da'",tomorrow:"'ertaga' p 'da'",nextWeek:"eeee p 'da'",other:"P"},Y7=(e,a,t,n)=>R7[e],q7={narrow:["M.A","M."],abbreviated:["M.A","M."],wide:["Miloddan Avvalgi","Milodiy"]},G7={narrow:["1","2","3","4"],abbreviated:["CH.1","CH.2","CH.3","CH.4"],wide:["1-chi chorak","2-chi chorak","3-chi chorak","4-chi chorak"]},Q7={narrow:["Y","F","M","A","M","I","I","A","S","O","N","D"],abbreviated:["Yan","Fev","Mar","Apr","May","Iyun","Iyul","Avg","Sen","Okt","Noy","Dek"],wide:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avgust","Sentabr","Oktabr","Noyabr","Dekabr"]},K7={narrow:["Y","D","S","CH","P","J","SH"],short:["Ya","Du","Se","Cho","Pa","Ju","Sha"],abbreviated:["Yak","Dush","Sesh","Chor","Pay","Jum","Shan"],wide:["Yakshanba","Dushanba","Seshanba","Chorshanba","Payshanba","Juma","Shanba"]},J7={narrow:{am:"a",pm:"p",midnight:"y.t",noon:"p.",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},abbreviated:{am:"AM",pm:"PM",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},wide:{am:"a.m.",pm:"p.m.",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"}},B7={narrow:{am:"a",pm:"p",midnight:"y.t",noon:"p.",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},abbreviated:{am:"AM",pm:"PM",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},wide:{am:"a.m.",pm:"p.m.",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"}},U7={ordinalNumber:(e,a)=>String(e),era:u({values:q7,defaultWidth:"wide"}),quarter:u({values:G7,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:Q7,defaultWidth:"wide"}),day:u({values:K7,defaultWidth:"wide"}),dayPeriod:u({values:J7,defaultWidth:"wide",formattingValues:B7,defaultFormattingWidth:"wide"})},Z7=/^(\d+)(chi)?/i,e9=/\d+/i,t9={narrow:/^(m\.a|m\.)/i,abbreviated:/^(m\.a\.?\s?m\.?)/i,wide:/^(miloddan avval|miloddan keyin)/i},a9={any:[/^b/i,/^(a|c)/i]},n9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](chi)? chorak/i},r9={any:[/1/i,/2/i,/3/i,/4/i]},i9={narrow:/^[yfmasond]/i,abbreviated:/^(yan|fev|mar|apr|may|iyun|iyul|avg|sen|okt|noy|dek)/i,wide:/^(yanvar|fevral|mart|aprel|may|iyun|iyul|avgust|sentabr|oktabr|noyabr|dekabr)/i},o9={narrow:[/^y/i,/^f/i,/^m/i,/^a/i,/^m/i,/^i/i,/^i/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ya/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^iyun/i,/^iyul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i]},s9={narrow:/^[ydschj]/i,short:/^(ya|du|se|cho|pa|ju|sha)/i,abbreviated:/^(yak|dush|sesh|chor|pay|jum|shan)/i,wide:/^(yakshanba|dushanba|seshanba|chorshanba|payshanba|juma|shanba)/i},u9={narrow:[/^y/i,/^d/i,/^s/i,/^ch/i,/^p/i,/^j/i,/^sh/i],any:[/^ya/i,/^d/i,/^se/i,/^ch/i,/^p/i,/^j/i,/^sh/i]},d9={narrow:/^(a|p|y\.t|p| (ertalab|tushdan keyin|kechqurun|tun))/i,any:/^([ap]\.?\s?m\.?|yarim tun|peshin| (ertalab|tushdan keyin|kechqurun|tun))/i},c9={any:{am:/^a/i,pm:/^p/i,midnight:/^y\.t/i,noon:/^pe/i,morning:/ertalab/i,afternoon:/tushdan keyin/i,evening:/kechqurun/i,night:/tun/i}},l9={ordinalNumber:I({matchPattern:Z7,parsePattern:e9,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:t9,defaultMatchWidth:"wide",parsePatterns:a9,defaultParseWidth:"any"}),quarter:d({matchPatterns:n9,defaultMatchWidth:"wide",parsePatterns:r9,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:i9,defaultMatchWidth:"wide",parsePatterns:o9,defaultParseWidth:"any"}),day:d({matchPatterns:s9,defaultMatchWidth:"wide",parsePatterns:u9,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:d9,defaultMatchWidth:"any",parsePatterns:c9,defaultParseWidth:"any"})},Od={code:"uz",formatDistance:I7,formatLong:X7,formatRelative:Y7,localize:U7,match:l9,options:{weekStartsOn:1,firstWeekContainsDate:1}},m9=Object.freeze(Object.defineProperty({__proto__:null,default:Od,uz:Od},Symbol.toStringTag,{value:"Module"})),h9={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},f9=(e,a,t)=>{let n;const r=h9[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+" nữa":n+" trước":n},g9={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},p9={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},b9={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v9={date:m({formats:g9,defaultWidth:"full"}),time:m({formats:p9,defaultWidth:"full"}),dateTime:m({formats:b9,defaultWidth:"full"})},y9={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},w9=(e,a,t,n)=>y9[e],P9={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},k9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},M9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},$9={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},W9={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},x9={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},j9={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},S9={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},T9={ordinalNumber:(e,a)=>{const t=Number(e),n=a==null?void 0:a.unit;if(n==="quarter")switch(t){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(n==="day")switch(t){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(n==="week")return t===1?"thứ nhất":"thứ "+t;if(n==="dayOfYear")return t===1?"đầu tiên":"thứ "+t}return String(t)},era:u({values:P9,defaultWidth:"wide"}),quarter:u({values:k9,defaultWidth:"wide",formattingValues:M9,defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:u({values:$9,defaultWidth:"wide",formattingValues:W9,defaultFormattingWidth:"wide"}),day:u({values:x9,defaultWidth:"wide"}),dayPeriod:u({values:j9,defaultWidth:"wide",formattingValues:S9,defaultFormattingWidth:"wide"})},D9=/^(\d+)/i,E9=/\d+/i,N9={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},C9={any:[/^t/i,/^s/i]},z9={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},_9={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},O9={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},V9={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},H9={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},I9={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},F9={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},A9={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},L9={ordinalNumber:I({matchPattern:D9,parsePattern:E9,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:N9,defaultMatchWidth:"wide",parsePatterns:C9,defaultParseWidth:"any"}),quarter:d({matchPatterns:z9,defaultMatchWidth:"wide",parsePatterns:_9,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:O9,defaultMatchWidth:"wide",parsePatterns:V9,defaultParseWidth:"wide"}),day:d({matchPatterns:H9,defaultMatchWidth:"wide",parsePatterns:I9,defaultParseWidth:"wide"}),dayPeriod:d({matchPatterns:F9,defaultMatchWidth:"wide",parsePatterns:A9,defaultParseWidth:"any"})},Vd={code:"vi",formatDistance:f9,formatLong:v9,formatRelative:w9,localize:T9,match:L9,options:{weekStartsOn:1,firstWeekContainsDate:1}},X9=Object.freeze(Object.defineProperty({__proto__:null,default:Vd,vi:Vd},Symbol.toStringTag,{value:"Module"})),R9={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},Y9=(e,a,t)=>{let n;const r=R9[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+"内":n+"前":n},q9={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},G9={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},Q9={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},K9={date:m({formats:q9,defaultWidth:"full"}),time:m({formats:G9,defaultWidth:"full"}),dateTime:m({formats:Q9,defaultWidth:"full"})};function Hd(e,a,t){const n="eeee p";return ze(e,a,t)?n:e.getTime()>a.getTime()?"'下个'"+n:"'上个'"+n}const J9={lastWeek:Hd,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:Hd,other:"PP p"},B9=(e,a,t,n)=>{const r=J9[e];return typeof r=="function"?r(a,t,n):r},U9={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},Z9={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},eU={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},tU={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},aU={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},nU={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},rU={ordinalNumber:(e,a)=>{const t=Number(e);switch(a==null?void 0:a.unit){case"date":return t.toString()+"日";case"hour":return t.toString()+"时";case"minute":return t.toString()+"分";case"second":return t.toString()+"秒";default:return"第 "+t.toString()}},era:u({values:U9,defaultWidth:"wide"}),quarter:u({values:Z9,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:eU,defaultWidth:"wide"}),day:u({values:tU,defaultWidth:"wide"}),dayPeriod:u({values:aU,defaultWidth:"wide",formattingValues:nU,defaultFormattingWidth:"wide"})},iU=/^(第\s*)?\d+(日|时|分|秒)?/i,oU=/\d+/i,sU={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},uU={any:[/^(前)/i,/^(公元)/i]},dU={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},cU={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},lU={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},mU={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},hU={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},fU={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},gU={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},pU={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},bU={ordinalNumber:I({matchPattern:iU,parsePattern:oU,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:sU,defaultMatchWidth:"wide",parsePatterns:uU,defaultParseWidth:"any"}),quarter:d({matchPatterns:dU,defaultMatchWidth:"wide",parsePatterns:cU,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:lU,defaultMatchWidth:"wide",parsePatterns:mU,defaultParseWidth:"any"}),day:d({matchPatterns:hU,defaultMatchWidth:"wide",parsePatterns:fU,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:gU,defaultMatchWidth:"any",parsePatterns:pU,defaultParseWidth:"any"})},Id={code:"zh-CN",formatDistance:Y9,formatLong:K9,formatRelative:B9,localize:rU,match:bU,options:{weekStartsOn:1,firstWeekContainsDate:4}},vU=Object.freeze(Object.defineProperty({__proto__:null,default:Id,zhCN:Id},Symbol.toStringTag,{value:"Module"})),yU={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},wU=(e,a,t)=>{let n;const r=yU[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+"內":n+"前":n},PU={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},kU={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},MU={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},$U={date:m({formats:PU,defaultWidth:"full"}),time:m({formats:kU,defaultWidth:"full"}),dateTime:m({formats:MU,defaultWidth:"full"})},WU={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},xU=(e,a,t,n)=>WU[e],jU={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},SU={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},TU={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},DU={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},EU={narrow:{am:"上",pm:"下",midnight:"午夜",noon:"晌",morning:"早",afternoon:"午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"},wide:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"}},NU={narrow:{am:"上",pm:"下",midnight:"午夜",noon:"晌",morning:"早",afternoon:"午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"},wide:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"}},CU={ordinalNumber:(e,a)=>{const t=Number(e);switch(a==null?void 0:a.unit){case"date":return t+"日";case"hour":return t+"時";case"minute":return t+"分";case"second":return t+"秒";default:return"第 "+t}},era:u({values:jU,defaultWidth:"wide"}),quarter:u({values:SU,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:TU,defaultWidth:"wide"}),day:u({values:DU,defaultWidth:"wide"}),dayPeriod:u({values:EU,defaultWidth:"wide",formattingValues:NU,defaultFormattingWidth:"wide"})},zU=/^(第\s*)?\d+(日|時|分|秒)?/i,_U=/\d+/i,OU={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},VU={any:[/^(前)/i,/^(公元)/i]},HU={narrow:/^[1234]/i,abbreviated:/^第[一二三四]季/i,wide:/^第[一二三四]季度/i},IU={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},FU={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},AU={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},LU={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},XU={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},RU={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},YU={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},qU={ordinalNumber:I({matchPattern:zU,parsePattern:_U,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:OU,defaultMatchWidth:"wide",parsePatterns:VU,defaultParseWidth:"any"}),quarter:d({matchPatterns:HU,defaultMatchWidth:"wide",parsePatterns:IU,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:FU,defaultMatchWidth:"wide",parsePatterns:AU,defaultParseWidth:"any"}),day:d({matchPatterns:LU,defaultMatchWidth:"wide",parsePatterns:XU,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:RU,defaultMatchWidth:"any",parsePatterns:YU,defaultParseWidth:"any"})},Fd={code:"zh-HK",formatDistance:wU,formatLong:$U,formatRelative:xU,localize:CU,match:qU,options:{weekStartsOn:0,firstWeekContainsDate:1}},GU=Object.freeze(Object.defineProperty({__proto__:null,default:Fd,zhHK:Fd},Symbol.toStringTag,{value:"Module"})),QU={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},KU=(e,a,t)=>{let n;const r=QU[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",String(a)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?n+"內":n+"前":n},JU={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},BU={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},UU={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ZU={date:m({formats:JU,defaultWidth:"full"}),time:m({formats:BU,defaultWidth:"full"}),dateTime:m({formats:UU,defaultWidth:"full"})},eZ={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},tZ=(e,a,t,n)=>eZ[e],aZ={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},nZ={narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},rZ={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},iZ={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},oZ={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},sZ={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},uZ={ordinalNumber:(e,a)=>{const t=Number(e);switch(a==null?void 0:a.unit){case"date":return t+"日";case"hour":return t+"時";case"minute":return t+"分";case"second":return t+"秒";default:return"第 "+t}},era:u({values:aZ,defaultWidth:"wide"}),quarter:u({values:nZ,defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:rZ,defaultWidth:"wide"}),day:u({values:iZ,defaultWidth:"wide"}),dayPeriod:u({values:oZ,defaultWidth:"wide",formattingValues:sZ,defaultFormattingWidth:"wide"})},dZ=/^(第\s*)?\d+(日|時|分|秒)?/i,cZ=/\d+/i,lZ={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},mZ={any:[/^(前)/i,/^(公元)/i]},hZ={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},fZ={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},gZ={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},pZ={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},bZ={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},vZ={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},yZ={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},wZ={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},PZ={ordinalNumber:I({matchPattern:dZ,parsePattern:cZ,valueCallback:e=>parseInt(e,10)}),era:d({matchPatterns:lZ,defaultMatchWidth:"wide",parsePatterns:mZ,defaultParseWidth:"any"}),quarter:d({matchPatterns:hZ,defaultMatchWidth:"wide",parsePatterns:fZ,defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:gZ,defaultMatchWidth:"wide",parsePatterns:pZ,defaultParseWidth:"any"}),day:d({matchPatterns:bZ,defaultMatchWidth:"wide",parsePatterns:vZ,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:yZ,defaultMatchWidth:"any",parsePatterns:wZ,defaultParseWidth:"any"})},Ad={code:"zh-TW",formatDistance:KU,formatLong:ZU,formatRelative:tZ,localize:uZ,match:PZ,options:{weekStartsOn:1,firstWeekContainsDate:4}},kZ=Object.freeze(Object.defineProperty({__proto__:null,default:Ad,zhTW:Ad},Symbol.toStringTag,{value:"Module"}));ue.BeeSoftProvider=qd,ue.Button=lt,ue.Checkbox=Ti,ue.CheckboxGroup=Ac,ue.ContentEditableInput=ln,ue.DateFormatType=Ya,ue.DateScrollerType=fa,ue.DateSelectionType=We,ue.DateTime=Lb,ue.FormGroupItemOrientation=Le,ue.FormattedInput=cs,ue.GroupButton=qb,ue.MediaQuery=sr,ue.MobileOverlayPanel=ns,ue.OverlayPanel=os,ue.RadioButton=Qb,ue.SelectionLabelLocation=rt,ue.Toggle=Jb,ue.applyBeeSoftTheme=Rp,ue.createBeeSoftTheme=Yp,Object.defineProperty(ue,Symbol.toStringTag,{value:"Module"})});