@das-fed/upf-utils 6.4.0-hot.11 → 6.4.0-hot.13

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 (204) hide show
  1. package/api-services/es5.d.ts +2 -0
  2. package/api-services/es5.js +1125 -1074
  3. package/api-services/i18n/es5.d.ts +63 -0
  4. package/api-services/index.js +852 -813
  5. package/api-services/index.js.gz +0 -0
  6. package/api-services/modules/app-manage/es5.d.ts +2 -0
  7. package/api-services/modules/app-manage/es5.js +957 -909
  8. package/api-services/modules/app-manage/index.js +746 -711
  9. package/api-services/modules/app-manage/index.js.gz +0 -0
  10. package/api-services/modules/authentication/es5.d.ts +2 -0
  11. package/api-services/modules/authentication/es5.js +1650 -1587
  12. package/api-services/modules/authentication/index.js +1410 -1353
  13. package/api-services/modules/authentication/index.js.gz +0 -0
  14. package/api-services/modules/bems/es5.d.ts +6 -0
  15. package/api-services/modules/bems/es5.js +1645 -1582
  16. package/api-services/modules/bems/index.js +1404 -1347
  17. package/api-services/modules/bems/index.js.gz +0 -0
  18. package/api-services/modules/contract/es5.d.ts +2 -0
  19. package/api-services/modules/contract/es5.js +1250 -1199
  20. package/api-services/modules/contract/index.js +1035 -996
  21. package/api-services/modules/contract/index.js.gz +0 -0
  22. package/api-services/modules/duty-manage/es5.d.ts +7 -0
  23. package/api-services/modules/duty-manage/es5.js +963 -912
  24. package/api-services/modules/duty-manage/index.js +755 -716
  25. package/api-services/modules/duty-manage/index.js.gz +0 -0
  26. package/api-services/modules/enterpriseright/es5.d.ts +2 -0
  27. package/api-services/modules/enterpriseright/es5.js +1250 -1199
  28. package/api-services/modules/enterpriseright/index.js +1035 -996
  29. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  30. package/api-services/modules/es5.d.ts +21 -0
  31. package/api-services/modules/es5.js +1113 -1062
  32. package/api-services/modules/file/es5.d.ts +37 -0
  33. package/api-services/modules/file/es5.js +1005 -954
  34. package/api-services/modules/file/index.js +786 -747
  35. package/api-services/modules/file/index.js.gz +0 -0
  36. package/api-services/modules/gateway-edge/es5.d.ts +2 -0
  37. package/api-services/modules/gateway-edge/es5.js +1250 -1199
  38. package/api-services/modules/gateway-edge/index.js +1035 -996
  39. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  40. package/api-services/modules/index.js +856 -817
  41. package/api-services/modules/index.js.gz +0 -0
  42. package/api-services/modules/iot/es5.d.ts +16 -0
  43. package/api-services/modules/iot/es5.js +1389 -1350
  44. package/api-services/modules/iot/index.js +1153 -1132
  45. package/api-services/modules/iot/index.js.gz +0 -0
  46. package/api-services/modules/justauth/es5.d.ts +3 -0
  47. package/api-services/modules/justauth/es5.js +1327 -1285
  48. package/api-services/modules/justauth/index.js +1111 -1086
  49. package/api-services/modules/justauth/index.js.gz +0 -0
  50. package/api-services/modules/knowledge/es5.d.ts +2 -0
  51. package/api-services/modules/knowledge/es5.js +1052 -998
  52. package/api-services/modules/knowledge/index.js +822 -779
  53. package/api-services/modules/knowledge/index.js.gz +0 -0
  54. package/api-services/modules/link/es5.d.ts +2 -0
  55. package/api-services/modules/link/es5.js +1250 -1199
  56. package/api-services/modules/link/index.js +1035 -996
  57. package/api-services/modules/link/index.js.gz +0 -0
  58. package/api-services/modules/permission/es5.d.ts +2 -0
  59. package/api-services/modules/permission/es5.js +1250 -1199
  60. package/api-services/modules/permission/index.js +1035 -996
  61. package/api-services/modules/permission/index.js.gz +0 -0
  62. package/api-services/modules/platformManage/es5.d.ts +14 -0
  63. package/api-services/modules/platformManage/es5.js +1334 -1274
  64. package/api-services/modules/platformManage/index.js +1123 -1070
  65. package/api-services/modules/platformManage/index.js.gz +0 -0
  66. package/api-services/modules/portal/es5.d.ts +2 -0
  67. package/api-services/modules/portal/es5.js +1250 -1199
  68. package/api-services/modules/portal/index.js +1035 -996
  69. package/api-services/modules/portal/index.js.gz +0 -0
  70. package/api-services/modules/space-manage/es5.d.ts +2 -0
  71. package/api-services/modules/space-manage/es5.js +968 -917
  72. package/api-services/modules/space-manage/index.js +763 -724
  73. package/api-services/modules/space-manage/index.js.gz +0 -0
  74. package/api-services/modules/super-admin/es5.d.ts +8 -0
  75. package/api-services/modules/super-admin/es5.js +1260 -1209
  76. package/api-services/modules/super-admin/index.js +1038 -999
  77. package/api-services/modules/super-admin/index.js.gz +0 -0
  78. package/api-services/modules/supplier/es5.d.ts +6 -0
  79. package/api-services/modules/supplier/es5.js +1249 -1198
  80. package/api-services/modules/supplier/index.js +1032 -993
  81. package/api-services/modules/supplier/index.js.gz +0 -0
  82. package/api-services/modules/supplychain-manage/es5.d.ts +2 -0
  83. package/api-services/modules/supplychain-manage/es5.js +983 -932
  84. package/api-services/modules/supplychain-manage/index.js +775 -736
  85. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  86. package/api-services/modules/systemConfiguration/es5.d.ts +2 -0
  87. package/api-services/modules/systemConfiguration/es5.js +1250 -1199
  88. package/api-services/modules/systemConfiguration/index.js +1035 -996
  89. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  90. package/api-services/modules/tool/es5.d.ts +2 -0
  91. package/api-services/modules/tool/es5.js +971 -920
  92. package/api-services/modules/tool/index.js +764 -725
  93. package/api-services/modules/tool/index.js.gz +0 -0
  94. package/api-services/src/create-service/es5.d.ts +1 -0
  95. package/api-services/src/create-service/es5.js +1396 -1357
  96. package/api-services/src/create-service/index.js +1170 -1149
  97. package/api-services/src/create-service/index.js.gz +0 -0
  98. package/atob/es5.d.ts +2 -0
  99. package/common-info/es5.d.ts +73 -0
  100. package/common-info/es5.js +2155 -2063
  101. package/common-info/getIframeUrl/es5.d.ts +9 -0
  102. package/common-info/getInfoFromUrl/es5.d.ts +8 -0
  103. package/common-info/getPermissionMethod/es5.d.ts +77 -0
  104. package/common-info/getPermissionMethod/es5.js +1414 -1313
  105. package/common-info/getPermissionMethod/index.d.ts +57 -6
  106. package/common-info/getPermissionMethod/index.js +1155 -1073
  107. package/common-info/getPermissionMethod/index.js.gz +0 -0
  108. package/common-info/index.d.ts +5 -8
  109. package/common-info/index.js +1818 -1751
  110. package/common-info/index.js.gz +0 -0
  111. package/common-info/set-personal-info/es5.d.ts +5 -0
  112. package/common-info/type.d.ts +2 -2
  113. package/common-tools/arr-tools/es5.d.ts +15 -0
  114. package/common-tools/calc-text-width/es5.d.ts +1 -0
  115. package/common-tools/date-format/es5.d.ts +7 -0
  116. package/common-tools/es5.d.ts +15 -0
  117. package/common-tools/es5.js +9 -0
  118. package/common-tools/extract-file-name/es5.d.ts +1 -0
  119. package/common-tools/get-file-extension/es5.d.ts +6 -0
  120. package/common-tools/get-url-params/es5.d.ts +46 -0
  121. package/common-tools/handle-data/es5.d.ts +34 -0
  122. package/common-tools/handle-data/es5.js +44 -6
  123. package/common-tools/handle-data/index.d.ts +16 -1
  124. package/common-tools/handle-data/index.js +1 -1
  125. package/common-tools/handle-data/index.js.gz +0 -0
  126. package/common-tools/index.d.ts +1 -0
  127. package/common-tools/index.js +1 -0
  128. package/common-tools/nest-tree-format/es5.d.ts +30 -0
  129. package/common-tools/obj-tools/es5.d.ts +7 -0
  130. package/common-tools/platform-tools/es5.d.ts +19 -0
  131. package/common-tools/queue-promise/es5.d.ts +6 -0
  132. package/common-tools/setHtmlMinWH/es5.d.ts +5 -0
  133. package/common-tools/timezone-format/es5.d.ts +132 -0
  134. package/common-tools/timezone-format/es5.js +822 -0
  135. package/common-tools/timezone-format/get-iana-data/dayjs-timezone-iana-plugin.d.ts +72 -0
  136. package/common-tools/timezone-format/get-iana-data/iana-api-fetch.d.ts +21 -0
  137. package/common-tools/timezone-format/get-iana-data/moment-iana-loader.d.ts +29 -0
  138. package/common-tools/timezone-format/index.d.ts +132 -0
  139. package/common-tools/timezone-format/index.js +439 -0
  140. package/common-tools/timezone-format/index.js.gz +0 -0
  141. package/common-tools/update-browser-title/es5.d.ts +1 -0
  142. package/common-tools/update-fav-icon/es5.d.ts +11 -0
  143. package/config/es5.d.ts +2 -0
  144. package/create-api-service/access-token-auto-refresh/es5.d.ts +20 -0
  145. package/create-api-service/access-token-auto-refresh/es5.js +27 -26
  146. package/create-api-service/access-token-auto-refresh/index.js +27 -26
  147. package/create-api-service/access-token-auto-refresh/index.js.gz +0 -0
  148. package/create-api-service/check-token/es5.d.ts +12 -0
  149. package/create-api-service/es5.d.ts +8 -0
  150. package/create-api-service/es5.js +1397 -1358
  151. package/create-api-service/i18n/es5.d.ts +39 -0
  152. package/create-api-service/index.js +1171 -1150
  153. package/create-api-service/index.js.gz +0 -0
  154. package/create-api-service/proxy-sso/es5.d.ts +3 -0
  155. package/create-api-service/sso/es5.d.ts +21 -0
  156. package/create-api-service/token-refresh-shared/es5.d.ts +30 -0
  157. package/curring-http/es5.d.ts +12 -0
  158. package/dimple-canvas/es5.d.ts +3 -0
  159. package/directive/auth/es5.d.ts +8 -0
  160. package/directive/auth/es5.js +50 -42
  161. package/directive/auth/index.d.ts +1 -1
  162. package/directive/auth/index.js +42 -34
  163. package/directive/auth/index.js.gz +0 -0
  164. package/directive/clickOutside/es5.d.ts +6 -0
  165. package/directive/es5.d.ts +3 -0
  166. package/directive/hoverInside/es5.d.ts +6 -0
  167. package/directive/utils/es5.d.ts +7 -0
  168. package/dom-check-in/es5.d.ts +6 -0
  169. package/dom-watcher/es5.d.ts +25 -0
  170. package/esm-map.json +66 -3
  171. package/hooks/popup-manager/use-zindex/es5.d.ts +3 -0
  172. package/hooks/use-get-auth/apis.d.ts +4 -0
  173. package/hooks/use-get-auth/es5.d.ts +8 -0
  174. package/hooks/use-get-auth/es5.js +325 -57
  175. package/hooks/use-get-auth/index.d.ts +8 -4
  176. package/hooks/use-get-auth/index.js +71 -16
  177. package/hooks/use-get-auth/index.js.gz +0 -0
  178. package/i18n-bridge/es5.d.ts +10 -0
  179. package/index.d.ts +2 -0
  180. package/index.js +2 -0
  181. package/load-js/es5.d.ts +3 -0
  182. package/nextTiken/es5.d.ts +12 -0
  183. package/oss/es5.d.ts +2 -0
  184. package/package.json +4 -3
  185. package/pinyin-first-character/es5.d.ts +2 -0
  186. package/process-engine-info/es5.d.ts +13 -0
  187. package/pure-image-src/es5.d.ts +2 -0
  188. package/size-watcher/es5.d.ts +6 -0
  189. package/style/es5.d.ts +2 -0
  190. package/theme/es5.d.ts +111 -0
  191. package/theme/es5.js +1676 -0
  192. package/theme/index.d.ts +111 -0
  193. package/theme/index.js +1118 -0
  194. package/theme/index.js.gz +0 -0
  195. package/token-tools/es5.d.ts +21 -0
  196. package/use-low-code/es5.d.ts +1 -0
  197. package/use-low-code/es5.js +37 -53
  198. package/use-low-code/index.js +36 -31
  199. package/use-low-code/index.js.gz +0 -0
  200. package/vue/es5.d.ts +1 -0
  201. package/vue/hooks/use-model-value/es5.d.ts +9 -0
  202. package/webSocket-service/es5.d.ts +41 -0
  203. package/with-install/es5.d.ts +11 -0
  204. package/use-low-code/style.css +0 -1
@@ -0,0 +1,822 @@
1
+ 'use strict';
2
+
3
+ var _excluded = ["url"];
4
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
5
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
7
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
8
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
10
+ function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
11
+ function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { if (r) i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n;else { var o = function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); }; o("next", 0), o("throw", 1), o("return", 2); } }, _regeneratorDefine2(e, r, n, t); }
12
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
14
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
15
+ function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
16
+ function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
17
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
20
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
21
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
22
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
23
+ var f = require('dayjs');
24
+ var tt = require('dayjs/plugin/utc');
25
+ var et = require('dayjs/plugin/timezone');
26
+ require('@das-fed/upf-utils/config/es5');
27
+ var P = "/api/admin/basic-application/sys-info/v1/license/time-zone-packed-data";
28
+ function nt() {
29
+ if ((typeof localStorage === "undefined" ? "undefined" : _typeof(localStorage)) > "u") return null;
30
+ try {
31
+ return localStorage.getItem("accessToken");
32
+ } catch (_unused) {
33
+ return null;
34
+ }
35
+ }
36
+ function ot() {
37
+ var t = nt();
38
+ if (!(t == null || t === "")) return t.trim().startsWith("Bearer ") ? t.trim() : "Bearer ".concat(t.trim());
39
+ }
40
+ function $() {
41
+ var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
42
+ var e = t.authorization !== undefined ? t.authorization === "" || t.authorization == null ? undefined : t.authorization : ot(),
43
+ n = _objectSpread({}, t.headers || {});
44
+ if (e != null && e !== "" && (n.Authorization = e), Object.keys(n).length !== 0) return {
45
+ headers: n
46
+ };
47
+ }
48
+ var L = null,
49
+ I = null;
50
+ function _(t) {
51
+ if (!t || _typeof(t) != "object") throw new Error("Invalid IANA response: expected an object");
52
+ var e = t;
53
+ if (!Array.isArray(e.zones)) throw new Error("Invalid IANA response: missing zones array");
54
+ var n = e.links;
55
+ return {
56
+ version: typeof e.version == "string" ? e.version : undefined,
57
+ zones: e.zones,
58
+ links: Array.isArray(n) ? n : []
59
+ };
60
+ }
61
+ function rt(_x, _x2) {
62
+ return _rt.apply(this, arguments);
63
+ }
64
+ function _rt() {
65
+ _rt = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(t, e) {
66
+ var n;
67
+ return _regenerator().w(function (_context4) {
68
+ while (1) switch (_context4.n) {
69
+ case 0:
70
+ if (!(typeof fetch != "function")) {
71
+ _context4.n = 1;
72
+ break;
73
+ }
74
+ throw new Error("fetch is not available. Pass preloadFromApi options.fetchJson.");
75
+ case 1:
76
+ _context4.n = 2;
77
+ return fetch(t, e);
78
+ case 2:
79
+ n = _context4.v;
80
+ if (n.ok) {
81
+ _context4.n = 3;
82
+ break;
83
+ }
84
+ throw new Error("IANA request failed: ".concat(n.status, " ").concat(n.statusText));
85
+ case 3:
86
+ return _context4.a(2, n.json());
87
+ }
88
+ }, _callee4);
89
+ }));
90
+ return _rt.apply(this, arguments);
91
+ }
92
+ function V(t) {
93
+ return I = _(t), L = mt(I), I;
94
+ }
95
+ function at() {
96
+ return I;
97
+ }
98
+ function st() {
99
+ return _st.apply(this, arguments);
100
+ }
101
+ function _st() {
102
+ _st = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
103
+ var _t$url, _t$fetchJson;
104
+ var t,
105
+ e,
106
+ n,
107
+ o,
108
+ a,
109
+ _args5 = arguments;
110
+ return _regenerator().w(function (_context5) {
111
+ while (1) switch (_context5.n) {
112
+ case 0:
113
+ t = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {};
114
+ e = (_t$url = t.url) !== null && _t$url !== void 0 ? _t$url : P;
115
+ n = $({
116
+ authorization: t.authorization,
117
+ headers: t.headers
118
+ });
119
+ _context5.n = 1;
120
+ return ((_t$fetchJson = t.fetchJson) !== null && _t$fetchJson !== void 0 ? _t$fetchJson : rt)(e, n);
121
+ case 1:
122
+ o = _context5.v;
123
+ a = t.parseResponse ? t.parseResponse(o) : _(o);
124
+ return _context5.a(2, V(a));
125
+ }
126
+ }, _callee5);
127
+ }));
128
+ return _st.apply(this, arguments);
129
+ }
130
+ function it() {
131
+ L = null, I = null;
132
+ }
133
+ function F(t) {
134
+ return t > 96 ? t - 87 : t > 64 ? t - 29 : t - 48;
135
+ }
136
+ function ct(t) {
137
+ var e = 1,
138
+ n = 0,
139
+ r = 0,
140
+ o = 1;
141
+ var a = t.split("."),
142
+ c = a[0],
143
+ i = a[1] || "";
144
+ t.charCodeAt(0) === 45 && (e = -1);
145
+ for (var s = 0; s < c.length; s++) {
146
+ var l = c.charCodeAt(s);
147
+ l !== 45 && (n = 60 * n + F(l));
148
+ }
149
+ for (var _s = 0; _s < i.length; _s++) o = o / 60, r += F(i.charCodeAt(_s)) * o;
150
+ return (n + r) * e;
151
+ }
152
+ function v(t) {
153
+ var e = [];
154
+ var _iterator = _createForOfIteratorHelper(t),
155
+ _step;
156
+ try {
157
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
158
+ var n = _step.value;
159
+ e.push(ct(n));
160
+ }
161
+ } catch (err) {
162
+ _iterator.e(err);
163
+ } finally {
164
+ _iterator.f();
165
+ }
166
+ return e;
167
+ }
168
+ function ft(t) {
169
+ var e = 0;
170
+ var n = [];
171
+ var _iterator2 = _createForOfIteratorHelper(t),
172
+ _step2;
173
+ try {
174
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
175
+ var r = _step2.value;
176
+ e += r, n.push(Math.round(e * 6e4));
177
+ }
178
+ } catch (err) {
179
+ _iterator2.e(err);
180
+ } finally {
181
+ _iterator2.f();
182
+ }
183
+ return n.push(1 / 0), n;
184
+ }
185
+ function lt(t, e) {
186
+ var n = [];
187
+ var _iterator3 = _createForOfIteratorHelper(e),
188
+ _step3;
189
+ try {
190
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
191
+ var r = _step3.value;
192
+ n.push(t[r]);
193
+ }
194
+ } catch (err) {
195
+ _iterator3.e(err);
196
+ } finally {
197
+ _iterator3.f();
198
+ }
199
+ return n;
200
+ }
201
+ function ut(t) {
202
+ var e = t.split("|");
203
+ if (e.length < 5) throw new Error("Invalid packed zone format");
204
+ var n = e[0].toLowerCase(),
205
+ r = v(e[2].split(" ")),
206
+ o = v(e[3].split("")),
207
+ a = ft(v(e[4].split(" "))),
208
+ c = lt(r, o);
209
+ return {
210
+ name: n,
211
+ rule: {
212
+ u: a,
213
+ o: c
214
+ }
215
+ };
216
+ }
217
+ function mt(t) {
218
+ if (!t || !Array.isArray(t.zones)) throw new TypeError("packed iana data must contain zones array");
219
+ var e = {};
220
+ var _iterator4 = _createForOfIteratorHelper(t.zones),
221
+ _step4;
222
+ try {
223
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
224
+ var r = _step4.value;
225
+ var o = ut(r);
226
+ e[o.name] = o.rule;
227
+ }
228
+ } catch (err) {
229
+ _iterator4.e(err);
230
+ } finally {
231
+ _iterator4.f();
232
+ }
233
+ var n = t.links || [];
234
+ var _iterator5 = _createForOfIteratorHelper(n),
235
+ _step5;
236
+ try {
237
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
238
+ var _r = _step5.value;
239
+ var _o = _r.split("|");
240
+ if (_o.length < 2) continue;
241
+ var a = _o[0].toLowerCase(),
242
+ c = _o[1].toLowerCase(),
243
+ i = e[c];
244
+ i && (e[a] = i);
245
+ }
246
+ } catch (err) {
247
+ _iterator5.e(err);
248
+ } finally {
249
+ _iterator5.f();
250
+ }
251
+ return e;
252
+ }
253
+ function dt() {
254
+ if (!L) throw new Error("IANA data not loaded. Await dayjsTimezoneIanaPlugin.preloadFromApi({ url: ... }) before dayjs.extend(dayjsTimezoneIanaPlugin).");
255
+ return L;
256
+ }
257
+ function ht(t, e, n) {
258
+ var r = typeof e == "string" ? e.toLowerCase() : "",
259
+ o = n[r];
260
+ if (o === undefined) throw Error("Unknown Time Zone " + e);
261
+ var a = o.o,
262
+ c = o.u,
263
+ i = c.length - 1;
264
+ for (var s = 0; s < i; s++) {
265
+ var l = a[s];
266
+ var u = a[s && s - 1];
267
+ if (l > u && (l = u), t < c[s] - l * 6e4) return a[s];
268
+ }
269
+ return a[i];
270
+ }
271
+ var Tt = function Tt(t, e, n) {
272
+ var s, l;
273
+ var r = "";
274
+ var o = n.tz,
275
+ a = (s = o == null ? undefined : o.guess) == null ? undefined : s.bind(o),
276
+ c = (l = o == null ? undefined : o.setDefault) == null ? undefined : l.bind(o),
277
+ i = function i(u, h, p) {
278
+ var Z = p || h || r,
279
+ T = p ? h : undefined;
280
+ return (typeof n.utc == "function" ? n.utc(u, T) : n(u, T).utc()).tz(Z);
281
+ };
282
+ o && Object.assign(i, o), i.setDefault = function (u) {
283
+ r = u, c == null || c(u);
284
+ }, i.guess = function () {
285
+ return a ? a() : (typeof Intl === "undefined" ? "undefined" : _typeof(Intl)) < "u" && typeof Intl.DateTimeFormat == "function" ? Intl.DateTimeFormat().resolvedOptions().timeZone || r || "UTC" : r || "UTC";
286
+ }, n.tz = i, e.prototype.tz = function () {
287
+ var u = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : r;
288
+ var h = arguments.length > 1 ? arguments[1] : undefined;
289
+ var g;
290
+ var p = u || ((g = i.guess) == null ? undefined : g.call(i)) || "UTC",
291
+ Z = this.utc().valueOf(),
292
+ T = ht(Z, p, dt());
293
+ return this.utcOffset(-T, h);
294
+ };
295
+ },
296
+ m = Tt;
297
+ m.preloadFromApi = st;
298
+ m.preloadFromData = V;
299
+ m.getCachedPackedData = at;
300
+ m.clearIanaCache = it;
301
+ function yt(t) {
302
+ if (!t || _typeof(t) != "object") throw new Error("Invalid IANA response: expected an object");
303
+ var e = t;
304
+ if (!Array.isArray(e.zones)) throw new Error("Invalid IANA response: missing zones array");
305
+ var n = e.links;
306
+ return {
307
+ version: typeof e.version == "string" ? e.version : undefined,
308
+ zones: e.zones,
309
+ links: Array.isArray(n) ? n : []
310
+ };
311
+ }
312
+ function Y(t, e) {
313
+ if (!t || _typeof(t.tz) != "object" || typeof t.tz.load != "function") throw new Error("moment.tz.load is missing. Import moment-timezone before calling loadIanaData.");
314
+ if (!e || !Array.isArray(e.zones)) throw new Error("Invalid packed IANA data: zones must be an array");
315
+ t.tz.load(e);
316
+ }
317
+ function pt(_x3, _x4) {
318
+ return _pt.apply(this, arguments);
319
+ }
320
+ function _pt() {
321
+ _pt = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(t, e) {
322
+ var n;
323
+ return _regenerator().w(function (_context6) {
324
+ while (1) switch (_context6.n) {
325
+ case 0:
326
+ if (!(typeof fetch != "function")) {
327
+ _context6.n = 1;
328
+ break;
329
+ }
330
+ throw new Error("fetch is not available. Pass loadIanaFromApi options.fetchJson in Node or polyfill fetch.");
331
+ case 1:
332
+ _context6.n = 2;
333
+ return fetch(t, e);
334
+ case 2:
335
+ n = _context6.v;
336
+ if (n.ok) {
337
+ _context6.n = 3;
338
+ break;
339
+ }
340
+ throw new Error("IANA request failed: ".concat(n.status, " ").concat(n.statusText));
341
+ case 3:
342
+ return _context6.a(2, n.json());
343
+ }
344
+ }, _callee6);
345
+ }));
346
+ return _pt.apply(this, arguments);
347
+ }
348
+ function O(_x5, _x6, _x7) {
349
+ return _O.apply(this, arguments);
350
+ }
351
+ function _O() {
352
+ _O = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(t, e, n) {
353
+ var _o$fetchJson;
354
+ var r, o, a, i, s;
355
+ return _regenerator().w(function (_context7) {
356
+ while (1) switch (_context7.n) {
357
+ case 0:
358
+ r = P, o = {};
359
+ typeof e == "string" ? (r = e, o = n !== null && n !== void 0 ? n : {}) : e != null && (o = e);
360
+ a = $({
361
+ authorization: o.authorization,
362
+ headers: o.headers
363
+ });
364
+ _context7.n = 1;
365
+ return ((_o$fetchJson = o.fetchJson) !== null && _o$fetchJson !== void 0 ? _o$fetchJson : pt)(r, a);
366
+ case 1:
367
+ i = _context7.v;
368
+ s = o.parseResponse ? o.parseResponse(i) : yt(i);
369
+ return _context7.a(2, (Y(t, s), s));
370
+ }
371
+ }, _callee7);
372
+ }));
373
+ return _O.apply(this, arguments);
374
+ }
375
+ f.extend(tt);
376
+ f.extend(et);
377
+ var D = "zh-CN",
378
+ gt = "YYYY.MM.DD HH:mm:ss",
379
+ S = "YYYY-MM-DD HH:mm:ss",
380
+ H = "YYYY-MM-DD HH:mm",
381
+ M = "UTC",
382
+ j = {
383
+ zh: "夏令时",
384
+ "default": "DST"
385
+ },
386
+ y = /* @__PURE__ */new Set();
387
+ var U, N;
388
+ var Dt = (N = (U = f.tz) == null ? undefined : U.guess) == null ? undefined : N.bind(f.tz);
389
+ var b = false;
390
+ var w = function w(t) {
391
+ return (t || "").trim();
392
+ },
393
+ It = function It() {
394
+ if (!((typeof Intl === "undefined" ? "undefined" : _typeof(Intl)) > "u" || typeof Intl.DateTimeFormat != "function")) try {
395
+ return Intl.DateTimeFormat().resolvedOptions().timeZone;
396
+ } catch (_unused2) {
397
+ return;
398
+ }
399
+ },
400
+ wt = function wt(t) {
401
+ if (!t) return false;
402
+ if ((typeof Intl === "undefined" ? "undefined" : _typeof(Intl)) > "u" || typeof Intl.DateTimeFormat != "function") return true;
403
+ try {
404
+ return new Intl.DateTimeFormat(void 0, {
405
+ timeZone: t
406
+ }), !0;
407
+ } catch (_unused3) {
408
+ return false;
409
+ }
410
+ },
411
+ z = function z(t) {
412
+ var e = w(t);
413
+ return e ? y.size ? y.has(e) : wt(e) : false;
414
+ },
415
+ C = function C(t) {
416
+ return y.clear(), t.zones.forEach(function (e) {
417
+ var n = e.split("|")[0];
418
+ n && y.add(n);
419
+ }), (t.links || []).forEach(function (e) {
420
+ e.split("|").forEach(function (n) {
421
+ n && y.add(n);
422
+ });
423
+ }), Array.from(y);
424
+ },
425
+ Yt = function Yt() {
426
+ return Array.from(y);
427
+ },
428
+ Ht = /*#__PURE__*/function () {
429
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(t) {
430
+ var e,
431
+ n,
432
+ r,
433
+ _args = arguments;
434
+ return _regenerator().w(function (_context) {
435
+ while (1) switch (_context.n) {
436
+ case 0:
437
+ e = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
438
+ n = m.preloadFromData(t), r = C(n);
439
+ return _context.a(2, (b || (f.extend(m), b = true), J(e.defaultTimeZone), {
440
+ data: n,
441
+ knownTimeZones: r
442
+ }));
443
+ }
444
+ }, _callee);
445
+ }));
446
+ return function Ht(_x8) {
447
+ return _ref.apply(this, arguments);
448
+ };
449
+ }(),
450
+ Jt = /*#__PURE__*/function () {
451
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
452
+ var t,
453
+ e,
454
+ n,
455
+ _args2 = arguments;
456
+ return _regenerator().w(function (_context2) {
457
+ while (1) switch (_context2.n) {
458
+ case 0:
459
+ t = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
460
+ _context2.n = 1;
461
+ return m.preloadFromApi(t);
462
+ case 1:
463
+ e = _context2.v;
464
+ n = C(e);
465
+ return _context2.a(2, (b || (f.extend(m), b = true), J(t.defaultTimeZone), {
466
+ data: e,
467
+ knownTimeZones: n
468
+ }));
469
+ }
470
+ }, _callee2);
471
+ }));
472
+ return function Jt() {
473
+ return _ref2.apply(this, arguments);
474
+ };
475
+ }(),
476
+ Rt = function Rt(t, e) {
477
+ return Y(t, e), C(e), e;
478
+ },
479
+ Bt = /*#__PURE__*/function () {
480
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(t) {
481
+ var e,
482
+ n,
483
+ r,
484
+ o,
485
+ _args3 = arguments,
486
+ _t;
487
+ return _regenerator().w(function (_context3) {
488
+ while (1) switch (_context3.n) {
489
+ case 0:
490
+ e = _args3.length > 1 && _args3[1] !== undefined ? _args3[1] : {};
491
+ n = e.url;
492
+ r = _objectWithoutProperties(e, _excluded);
493
+ if (!n) {
494
+ _context3.n = 2;
495
+ break;
496
+ }
497
+ _context3.n = 1;
498
+ return O(t, n, r);
499
+ case 1:
500
+ _t = _context3.v;
501
+ _context3.n = 4;
502
+ break;
503
+ case 2:
504
+ _context3.n = 3;
505
+ return O(t, r);
506
+ case 3:
507
+ _t = _context3.v;
508
+ case 4:
509
+ o = _t;
510
+ return _context3.a(2, (C(o), o));
511
+ }
512
+ }, _callee3);
513
+ }));
514
+ return function Bt(_x9) {
515
+ return _ref3.apply(this, arguments);
516
+ };
517
+ }(),
518
+ zt = function zt() {
519
+ var n;
520
+ var t = (n = f.tz) == null ? undefined : n.guess,
521
+ e = typeof t == "function" ? t : Dt;
522
+ try {
523
+ return e == null ? void 0 : e();
524
+ } catch (_unused4) {
525
+ return;
526
+ }
527
+ },
528
+ At = function At() {
529
+ var t = "";
530
+ try {
531
+ t = (typeof sessionStorage === "undefined" ? "undefined" : _typeof(sessionStorage)) > "u" ? "" : sessionStorage.getItem("timeZone") || "";
532
+ } catch (_unused5) {
533
+ t = "";
534
+ }
535
+ var e = t || zt() || It();
536
+ return z(e) ? w(e) : M;
537
+ },
538
+ d = function d(t) {
539
+ var e = w(t) || At();
540
+ return z(e) ? e : M;
541
+ },
542
+ J = function J(t) {
543
+ var r, o;
544
+ var e = w(t),
545
+ n = f.tz;
546
+ return e ? z(e) ? ((o = n == null ? undefined : n.setDefault) == null || o.call(n, e), true) : false : ((r = n == null ? undefined : n.setDefault) == null || r.call(n, M), true);
547
+ },
548
+ Zt = function Zt() {
549
+ var t;
550
+ return (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && (t = window.navigator) != null && t.language ? window.navigator.language : D;
551
+ },
552
+ Lt = function Lt(t) {
553
+ var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
554
+ var r = t || Zt() || D,
555
+ o = r.toLowerCase();
556
+ if (!e.length) return o === "en" ? "en-US" : o === "zh" || o === "zh-cn" ? D : r;
557
+ var a = e.find(function (s) {
558
+ return s.toLowerCase() === o;
559
+ });
560
+ if (a) return a;
561
+ var c = o.split("-")[0],
562
+ i = e.find(function (s) {
563
+ return s.toLowerCase().split("-")[0] === c;
564
+ });
565
+ return i || (c === "en" ? e.find(function (s) {
566
+ return s.toLowerCase().startsWith("en-");
567
+ }) || r : c === "zh" ? e.find(function (s) {
568
+ return s.toLowerCase().startsWith("zh-");
569
+ }) || D : r);
570
+ },
571
+ A = function A(t) {
572
+ if (f.isDayjs(t)) return t;
573
+ if (t == null || t === "") return f();
574
+ var e = f(t);
575
+ return e.isValid() ? e : f();
576
+ },
577
+ k = function k(t) {
578
+ return t == null || t === "";
579
+ },
580
+ R = function R(t) {
581
+ return f.isDayjs(t) ? t : k(t) ? f() : f(t);
582
+ },
583
+ B = function B(t) {
584
+ var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
585
+ var n = w(t);
586
+ return n ? d(n) : e ? d() : "";
587
+ },
588
+ bt = function bt(t, e) {
589
+ return A(t).tz(d(e)).utcOffset();
590
+ },
591
+ kt = function kt(t, e) {
592
+ var n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : H;
593
+ return A(t).tz(d(e)).format(n);
594
+ },
595
+ St = function St(t, e) {
596
+ return R(t).format(e.format);
597
+ },
598
+ W = function W(t, e) {
599
+ var n = e.format || S,
600
+ r = B(e.timeZone, e.useClientTimeZone);
601
+ if (!r) return St(t, {
602
+ format: n
603
+ });
604
+ if (e.inputMode === "local") return k(t) ? f().tz(r).format(n) : f.tz(t, r).format(n);
605
+ var o = R(t);
606
+ return o.isValid() ? o.tz(r).format(n) : o.format(n);
607
+ },
608
+ Ct = function Ct(t) {
609
+ return typeof t == "function";
610
+ },
611
+ Et = function Et(t, e) {
612
+ var s, l;
613
+ var n = e.moment,
614
+ r = e.format || S;
615
+ if (!Ct(n)) return W(t, _objectSpread(_objectSpread({}, e), {}, {
616
+ dateLibrary: "dayjs"
617
+ }));
618
+ var o = k(t) ? undefined : t,
619
+ a = B(e.timeZone, e.useClientTimeZone);
620
+ if (!a || typeof n.tz != "function") return n(o).format(r);
621
+ if (e.inputMode === "local") return k(t) ? ((l = (s = n()).tz) == null ? undefined : l.call(s, a).format(r)) || n().format(r) : n.tz(o, a).format(r);
622
+ var c = n(o);
623
+ return (typeof c.tz == "function" ? c.tz(a) : n.tz(o, a)).format(r);
624
+ },
625
+ vt = function vt(t) {
626
+ var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
627
+ var n = typeof e == "string" ? {
628
+ format: e
629
+ } : e || {},
630
+ r = _objectSpread(_objectSpread({}, n), {}, {
631
+ format: n.format || S
632
+ });
633
+ return r.dateLibrary === "moment" ? Et(t, r) : W(t, r);
634
+ },
635
+ Wt = function Wt(t) {
636
+ var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : S;
637
+ var n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
638
+ return vt(t, _objectSpread(_objectSpread({}, n), {}, {
639
+ format: e
640
+ }));
641
+ },
642
+ x = function x(t) {
643
+ return String(t).padStart(2, "0");
644
+ },
645
+ G = function G(t) {
646
+ return "UTC".concat(t);
647
+ },
648
+ K = function K(t, e) {
649
+ var n = bt(t, e),
650
+ r = n >= 0 ? "+" : "-",
651
+ o = Math.abs(n);
652
+ return "UTC".concat(r).concat(x(Math.floor(o / 60)), ":").concat(x(o % 60));
653
+ },
654
+ Mt = function Mt(t) {
655
+ var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : /* @__PURE__ */new Date();
656
+ var n = t.currentUtcOffsetText || t.baseUtcOffsetText;
657
+ return n ? "UTC".concat(n) : K(e, t.timeZoneId);
658
+ },
659
+ Ft = function Ft(t, e) {
660
+ var n = t.match(/([+-]\d{1,2})(?::?(\d{2}))?/) || [];
661
+ if (!n[1]) return e;
662
+ var r = n[1].startsWith("-") ? "-" : "+",
663
+ o = n[1].replace(/[+-]/, "").padStart(2, "0"),
664
+ a = n[2] || "00";
665
+ return "UTC".concat(r).concat(o, ":").concat(a);
666
+ },
667
+ Ot = function Ot(t, e, n) {
668
+ var o, a;
669
+ var r = G(n.format("Z"));
670
+ try {
671
+ var c = Intl.DateTimeFormat.supportedLocalesOf([e])[0] || e,
672
+ i = (a = (o = new Intl.DateTimeFormat(c, {
673
+ timeZone: t,
674
+ timeZoneName: "long"
675
+ }).formatToParts(n.toDate()).find(function (s) {
676
+ return s.type === "timeZoneName";
677
+ })) == null ? void 0 : o.value) == null ? void 0 : a.trim();
678
+ return i ? /^(gmt|utc)/i.test(i) ? Ft(i, r) : i : r;
679
+ } catch (_unused6) {
680
+ return r;
681
+ }
682
+ },
683
+ q = function q(t, e) {
684
+ var n = e.year();
685
+ return Array.from(new Set(Array.from({
686
+ length: 12
687
+ }, function (r, o) {
688
+ var a = "".concat(o + 1).padStart(2, "0"),
689
+ c = "".concat(n, "-").concat(a, "-15 12:00:00");
690
+ return f.tz(c, t).utcOffset();
691
+ })));
692
+ },
693
+ Q = function Q(t, e) {
694
+ var n = d(t);
695
+ if (!z(n)) return false;
696
+ var r = A(e).tz(n);
697
+ return q(n, r).length > 1;
698
+ },
699
+ E = function E(t, e) {
700
+ var n = d(t);
701
+ if (!z(n)) return false;
702
+ var r = A(e).tz(n),
703
+ o = q(n, r);
704
+ return o.length <= 1 ? false : r.utcOffset() === Math.max.apply(Math, _toConsumableArray(o));
705
+ },
706
+ Gt = function Gt(t, e) {
707
+ return E(t, e);
708
+ },
709
+ X = function X(t) {
710
+ if (t === 1 || t === "1") return true;
711
+ if (t === 0 || t === "0") return false;
712
+ },
713
+ jt = function jt(t, e) {
714
+ var n = X(t.dynamicOffsetFlag);
715
+ return typeof n == "boolean" ? n : Q(t.timeZoneId, e);
716
+ },
717
+ xt = function xt(t, e) {
718
+ var n = X(t.currentDstFlag);
719
+ return typeof n == "boolean" ? n : E(t.timeZoneId, e);
720
+ },
721
+ Kt = function Kt(t) {
722
+ var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : /* @__PURE__ */new Date();
723
+ return t.map(function (n) {
724
+ var r = n.tzShowName || Mt(n, e),
725
+ o = jt(n, e);
726
+ return {
727
+ value: n.timeZoneId,
728
+ zoneName: r,
729
+ label: r,
730
+ hasDST: o,
731
+ isDST: o ? xt(n, e) : false
732
+ };
733
+ });
734
+ },
735
+ Ut = function Ut(t) {
736
+ var e = t.toLowerCase().split("-")[0];
737
+ return j[e] || j["default"];
738
+ },
739
+ Nt = function Nt(t) {
740
+ var _t$showDaylightSaving;
741
+ return typeof t.showDaylightSavingLabel == "boolean" ? t.showDaylightSavingLabel : (_t$showDaylightSaving = t.showDaylightSavingMarker) !== null && _t$showDaylightSaving !== void 0 ? _t$showDaylightSaving : true;
742
+ },
743
+ qt = function qt(t, e) {
744
+ var n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
745
+ var _n$showZoneLabel = n.showZoneLabel,
746
+ r = _n$showZoneLabel === void 0 ? true : _n$showZoneLabel,
747
+ o = n.zoneLabel,
748
+ a = n.hasDST,
749
+ c = n.isDST,
750
+ i = n.standardTimeLabel,
751
+ s = n.daylightSavingLabel,
752
+ _n$format = n.format,
753
+ l = _n$format === void 0 ? H : _n$format,
754
+ u = d(e),
755
+ h = kt(t, u, l),
756
+ p = typeof a == "boolean" ? a : Q(u, t),
757
+ T = (typeof c == "boolean" ? c : E(u, t)) ? s : i,
758
+ g = p && T ? "[".concat(T, "]") : "";
759
+ return r ? [h, o || K(t, u), g].filter(Boolean).join(" ") : [h, g].filter(Boolean).join(" ");
760
+ },
761
+ Qt = function Qt() {
762
+ var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
763
+ var e = Lt(t.locale, t.supportedLocales),
764
+ n = d(t.timeZone),
765
+ r = A(t.value).tz(n),
766
+ o = Ot(n, e, r),
767
+ a = G(r.format("Z")),
768
+ c = E(n, r),
769
+ i = c ? Ut(e) : "",
770
+ s = Nt(t),
771
+ l = c && s ? "".concat(o, " - ").concat(i) : o;
772
+ return {
773
+ formattedValue: r.format(t.format || gt),
774
+ locale: e,
775
+ timeZone: n,
776
+ timeZoneName: o,
777
+ timeZoneLabel: l,
778
+ offsetLabel: a,
779
+ offsetMinutes: r.utcOffset(),
780
+ isDaylightSavingTime: c,
781
+ daylightSavingLabel: i
782
+ };
783
+ };
784
+ exports.TIME_ZONE_PACKED_DATA_URL = P;
785
+ exports.applyDayjsIanaTimeZoneData = Ht;
786
+ exports.applyMomentIanaTimeZoneData = Rt;
787
+ exports.assertPackedIanaData = _;
788
+ exports.assertPackedIanaTzData = yt;
789
+ exports.buildIanaFetchInit = $;
790
+ exports.buildTimeZoneDisplayOptions = Kt;
791
+ exports.clearDayjsIanaCache = it;
792
+ exports.createIanaDbFromPackedData = mt;
793
+ exports.dayjsTimezoneIanaPlugin = m;
794
+ exports.formatClientLocalDateTimeLine = qt;
795
+ exports.formatInTimeZone = kt;
796
+ exports.formatLocalDateTime = vt;
797
+ exports.formatTimeZoneOffsetLabel = K;
798
+ exports.getAccessTokenFromLocalStorage = nt;
799
+ exports.getCachedDayjsPackedIanaData = at;
800
+ exports.getClientTimeZone = At;
801
+ exports.getDefaultIanaAuthorization = ot;
802
+ exports.getKnownTimeZoneIds = Yt;
803
+ exports.getTimeZoneDisplayInfo = Qt;
804
+ exports.getZoneUtcOffset = bt;
805
+ exports.isDaylightSavingTime = Gt;
806
+ exports.isKnownTimeZone = z;
807
+ exports.loadDayjsIanaTimeZoneData = Jt;
808
+ exports.loadIanaData = Y;
809
+ exports.loadIanaFromApi = O;
810
+ exports.loadMomentIanaData = Y;
811
+ exports.loadMomentIanaFromApi = O;
812
+ exports.loadMomentIanaTimeZoneData = Bt;
813
+ exports.normalizeLocaleCode = Lt;
814
+ exports.preloadDayjsIanaFromApi = st;
815
+ exports.preloadDayjsIanaFromData = V;
816
+ exports.rebuildKnownTimeZoneIds = C;
817
+ exports.resolveTimeZone = d;
818
+ exports.resolveUtcOffsetFallback = Mt;
819
+ exports.setDefaultTimeZone = J;
820
+ exports.timeZoneHasDST = Q;
821
+ exports.timeZoneIsDST = E;
822
+ exports.toLocalDate = Wt;