@fewangsit/wangsvue-fats 1.0.1-alpha.6 → 1.0.1-alpha.61

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 (1227) hide show
  1. package/{components/animation/Animation.vue.d.ts → animation/index.d.ts} +14 -2
  2. package/animation/index.es.js +54 -0
  3. package/{components/approverinfo/ApproverInfo.vue.d.ts → approverinfo/index.d.ts} +4 -0
  4. package/approverinfo/index.es.js +134 -0
  5. package/{components/assetinfo/AssetInfo.vue.d.ts → assetinfo/index.d.ts} +2 -6
  6. package/assetinfo/index.es.js +162 -0
  7. package/assets/lottiejs/loading-page.es.js +15 -0
  8. package/assets/lottiejs/loading-plane.es.js +4 -0
  9. package/assets/lottiejs/loading-table.es.js +15 -0
  10. package/assets/lottiejs/no-data.es.js +15 -0
  11. package/assets/lottiejs/scan-qr.es.js +4 -0
  12. package/backgroundimagecropper/index.es.js +57 -0
  13. package/{components/badge/Badge.vue.d.ts → badge/index.d.ts} +11 -1
  14. package/badge/index.es.js +101 -0
  15. package/{components/badgegroup/BadgeGroup.vue.d.ts → badgegroup/index.d.ts} +1 -1
  16. package/badgegroup/index.es.js +70 -0
  17. package/basecalendar/index.es.js +888 -0
  18. package/basecalendartimezone/index.es.js +1033 -0
  19. package/basetree/index.es.js +169 -0
  20. package/breadcrumb/index.es.js +46 -0
  21. package/{components/button/Button.vue.d.ts → button/index.d.ts} +3 -2
  22. package/button/index.es.js +120 -0
  23. package/{components/buttonImportExcel/ButtonImportExcel.vue.d.ts → buttonImportExcel/index.d.ts} +2 -2
  24. package/{components/buttonaddbyscan/ButtonAddByScan.vue.d.ts → buttonaddbyscan/index.d.ts} +2 -2
  25. package/buttonaddbyscan/index.es.js +148 -0
  26. package/buttonbulkaction/index.es.js +187 -0
  27. package/buttoncopy/index.es.js +31 -0
  28. package/{components/buttondownload/ButtonDownload.vue.d.ts → buttondownload/index.d.ts} +1 -1
  29. package/buttondownload/index.es.js +113 -0
  30. package/buttonfilter/index.es.js +31 -0
  31. package/buttonradio/index.es.js +93 -0
  32. package/{components/buttonscan/ButtonScan.vue.d.ts → buttonscan/index.d.ts} +6 -4
  33. package/buttonscan/index.es.js +417 -0
  34. package/buttonsearch/index.es.js +70 -0
  35. package/{components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts → buttonsearchbyscan/index.d.ts} +2 -2
  36. package/buttonsearchbyscan/index.es.js +90 -0
  37. package/{components/buttonselecttree/ButtonSelectTree.vue.d.ts → buttonselecttree/index.d.ts} +2 -2
  38. package/buttonselecttree/index.es.js +220 -0
  39. package/buttonselectuser/index.d.ts +7 -0
  40. package/buttonselectuser/index.es.js +101 -0
  41. package/{components/buttonsplit/ButtonSplit.vue.d.ts → buttonsplit/index.d.ts} +1 -1
  42. package/buttonsync/index.es.js +29 -0
  43. package/{components/buttontoggle/ButtonToggle.vue.d.ts → buttontoggle/index.d.ts} +1 -4
  44. package/buttontoggle/index.es.js +11 -0
  45. package/{components/buttonviewlog/ButtonViewLog.vue.d.ts → buttonviewlog/index.d.ts} +1 -1
  46. package/buttonviewlog/index.es.js +21 -0
  47. package/{components/calendar/Calendar.vue.d.ts → calendar/index.d.ts} +1 -1
  48. package/calendar/index.es.js +142 -0
  49. package/card/index.es.js +47 -0
  50. package/{components/carousel/Carousel.vue.d.ts → carousel/index.d.ts} +1 -1
  51. package/carousel/index.es.js +65 -0
  52. package/checkbox/index.es.js +135 -0
  53. package/codesnippet/index.es.js +118 -0
  54. package/codesnippetadapter/index.es.js +26 -0
  55. package/columnlist/index.es.js +229 -0
  56. package/components.d.ts +84 -0
  57. package/config/defaultProps.es.js +133 -0
  58. package/config/index.es.js +12 -0
  59. package/config/locale.es.js +128 -0
  60. package/{components/customcolumn/CustomColumn.vue.d.ts → customcolumn/index.d.ts} +6 -2
  61. package/customcolumn/index.es.js +138 -0
  62. package/{components/datatable/DataTable.vue.d.ts → datatable/index.d.ts} +58 -5
  63. package/datatable/index.es.js +1022 -0
  64. package/{components/datepicker/DatePicker.vue.d.ts → datepicker/index.d.ts} +13 -2
  65. package/datepicker/index.es.js +154 -0
  66. package/{components/daypicker/DayPicker.vue.d.ts → daypicker/index.d.ts} +13 -2
  67. package/daypicker/index.es.js +148 -0
  68. package/dialog/index.es.js +127 -0
  69. package/dialogassetnamedetail/index.es.js +246 -0
  70. package/dialogassetnamedetail/options/columns.d.ts +2 -0
  71. package/dialogassetnamedetail/options/filter.d.ts +2 -0
  72. package/dialogbasictransferlog/index.es.js +225 -0
  73. package/{components/dialogconfirm/DialogConfirm.vue.d.ts → dialogconfirm/index.d.ts} +1 -1
  74. package/dialogconfirm/index.es.js +140 -0
  75. package/dialogdamagelog/index.d.ts +7 -0
  76. package/dialogdamagelog/index.es.js +249 -0
  77. package/{components/dialogform/DialogForm.vue.d.ts → dialogform/index.d.ts} +2 -2
  78. package/dialogform/index.es.js +223 -0
  79. package/dialogfulltransferlog/index.es.js +237 -0
  80. package/{components/dialoglinkedasset/DialogLinkedAsset.vue.d.ts → dialoglinkedasset/index.d.ts} +0 -3
  81. package/dialoglinkedasset/index.es.js +158 -0
  82. package/{components/dialogprintqr/DialogPrintQR.vue.d.ts → dialogprintqr/index.d.ts} +1 -1
  83. package/dialogprintqr/index.es.js +334 -0
  84. package/{components/dialogreportdamage/DialogReportDamage.vue.d.ts → dialogreportdamage/index.d.ts} +1 -1
  85. package/dialogreportdamage/index.es.js +242 -0
  86. package/{components/dialogreportmissing/DialogReportMissing.vue.d.ts → dialogreportmissing/index.d.ts} +1 -1
  87. package/dialogreportmissing/index.es.js +118 -0
  88. package/{components/dialogreporttag/DialogReportTag.vue.d.ts → dialogreporttag/index.d.ts} +1 -1
  89. package/dialogreporttag/index.es.js +130 -0
  90. package/{components/dialogselecttree/DialogSelectTree.vue.d.ts → dialogselecttree/index.d.ts} +3 -3
  91. package/dialogselecttree/index.es.js +269 -0
  92. package/{components/dialogselectuser/DialogSelectUser.vue.d.ts → dialogselectuser/index.d.ts} +6 -8
  93. package/dialogselectuser/index.es.js +185 -0
  94. package/{components/dialogselectuser → dialogselectuser}/options/columns.d.ts +1 -1
  95. package/dialogselectuserfilter/index.es.js +40 -0
  96. package/{components/dialogtransferlog/DialogTransferLog.vue.d.ts → dialogtransferlog/index.d.ts} +1 -1
  97. package/dialogtransferlog/index.es.js +32 -0
  98. package/directives/focus.es.js +13 -0
  99. package/directives/index.d.ts +1 -0
  100. package/directives/index.es.js +2 -0
  101. package/directives/tooltip.d.ts +1 -0
  102. package/directives/tooltip.es.js +1 -0
  103. package/disposalreport/index.d.ts +69 -0
  104. package/disposalreport/index.es.js +35 -0
  105. package/disposalreportbulkaction/index.es.js +83 -0
  106. package/disposalreportdialogselectasset/index.es.js +238 -0
  107. package/disposalreporttable/index.es.js +457 -0
  108. package/disposalreporttablefilter/index.es.js +46 -0
  109. package/{components/dropdown/Dropdown.vue.d.ts → dropdown/index.d.ts} +4 -3
  110. package/dropdown/index.es.js +253 -0
  111. package/editor/index.es.js +964 -0
  112. package/editorbutton/index.es.js +28 -0
  113. package/event-bus/index.d.ts +2 -2
  114. package/event-bus/index.es.js +6 -0
  115. package/event-bus/mitt.es.js +53 -0
  116. package/fieldwrapper/index.es.js +40 -0
  117. package/{components/fileupload/FileUpload.vue.d.ts → fileupload/index.d.ts} +3 -3
  118. package/fileupload/index.es.js +176 -0
  119. package/{components/filtercontainer/FilterContainer.vue.d.ts → filtercontainer/index.d.ts} +13 -11
  120. package/filtercontainer/index.es.js +291 -0
  121. package/form/index.es.js +188 -0
  122. package/hardwaresync/index.es.js +236 -0
  123. package/headercell/index.es.js +40 -0
  124. package/{components/icon/Icon.vue.d.ts → icon/index.d.ts} +4 -0
  125. package/icon/index.es.js +82 -0
  126. package/{components/image/Image.vue.d.ts → image/index.d.ts} +14 -6
  127. package/image/index.es.js +197 -0
  128. package/{components/imagecompressor/ImageCompressor.vue.d.ts → imagecompressor/index.d.ts} +1 -1
  129. package/imagecompressor/index.es.js +529 -0
  130. package/imageinputinfo/index.es.js +46 -0
  131. package/inlinemessage/index.es.js +94 -0
  132. package/{components/inputbadge/InputBadge.vue.d.ts → inputbadge/index.d.ts} +34 -1
  133. package/inputbadge/index.es.js +201 -0
  134. package/{components/inputcurrency/helpers/currency.helper.d.ts → inputcurrency/helpers/index.d.ts} +1 -1
  135. package/{components/inputcurrency/InputCurrency.vue.d.ts → inputcurrency/index.d.ts} +1 -1
  136. package/inputcurrency/index.es.js +167 -0
  137. package/{components/inputemail/InputEmail.vue.d.ts → inputemail/index.d.ts} +1 -1
  138. package/inputemail/index.es.js +49 -0
  139. package/inputgroup/index.es.js +31 -0
  140. package/{components/inputnumber/InputNumber.vue.d.ts → inputnumber/index.d.ts} +1 -1
  141. package/inputnumber/index.es.js +245 -0
  142. package/inputotp/index.es.js +30 -0
  143. package/{components/inputpassword/InputPassword.vue.d.ts → inputpassword/index.d.ts} +1 -1
  144. package/inputpassword/index.es.js +121 -0
  145. package/{components/inputphonenumber/InputPhoneNumber.vue.d.ts → inputphonenumber/index.d.ts} +4 -1
  146. package/inputphonenumber/index.es.js +603 -0
  147. package/{components/inputrangenumber/InputRangeNumber.vue.d.ts → inputrangenumber/index.d.ts} +1 -1
  148. package/inputrangenumber/index.es.js +134 -0
  149. package/{components/inputsearch/InputSearch.vue.d.ts → inputsearch/index.d.ts} +1 -4
  150. package/inputsearch/index.es.js +53 -0
  151. package/{components/inputtext/InputText.vue.d.ts → inputtext/index.d.ts} +1 -1
  152. package/inputtext/index.es.js +242 -0
  153. package/{components/inputurl/InputURL.vue.d.ts → inputurl/index.d.ts} +1 -4
  154. package/inputurl/index.es.js +61 -0
  155. package/invisiblefield/index.es.js +27 -0
  156. package/{components/languagedropdown/LanguageDropdown.vue.d.ts → languagedropdown/index.d.ts} +1 -4
  157. package/languagedropdownoption/index.es.js +51 -0
  158. package/languageswitcher/index.es.js +89 -0
  159. package/{components/litedropdown/LiteDropdown.vue.d.ts → litedropdown/index.d.ts} +1 -1
  160. package/litedropdown/index.es.js +102 -0
  161. package/loading/index.es.js +24 -0
  162. package/mentionlist/index.es.js +58 -0
  163. package/mentionsection/index.es.js +52 -0
  164. package/menu/index.es.js +73 -0
  165. package/menuitem/index.d.ts +34 -0
  166. package/menuitem/index.es.js +65 -0
  167. package/multirow/index.es.js +52 -0
  168. package/{components/multiselect/MultiSelect.vue.d.ts → multiselect/index.d.ts} +7 -6
  169. package/multiselect/index.es.js +202 -0
  170. package/overlaypanel/index.es.js +49 -0
  171. package/package.json +9 -12
  172. package/paginator/index.es.js +50 -0
  173. package/plugins/VueHtmlToPaper.es.js +40 -0
  174. package/plugins/WangsVue.d.ts +32 -47
  175. package/plugins/WangsVue.es.js +347 -0
  176. package/plugins/basei18n.d.ts +103 -0
  177. package/plugins/basei18n.es.js +89 -0
  178. package/plugins/formValidation.es.js +15 -0
  179. package/plugins/i18n.d.ts +4 -102
  180. package/plugins/i18n.es.js +6 -0
  181. package/scan-qr-C6V4afHJ.js +4 -0
  182. package/scan-qr-ER7xYaNh.js +1 -0
  183. package/stats.html +1 -1
  184. package/{components/steps/Steps.vue.d.ts → steps/index.d.ts} +1 -1
  185. package/steps/index.es.js +42 -0
  186. package/style.css +2 -2
  187. package/{components/tabmenu/TabMenu.vue.d.ts → tabmenu/index.d.ts} +1 -1
  188. package/tabmenu/index.es.js +29 -0
  189. package/tagtype/index.es.js +53 -0
  190. package/{components/textarea/Textarea.vue.d.ts → textarea/index.d.ts} +1 -1
  191. package/textarea/index.es.js +108 -0
  192. package/{components/timeline/Timeline.vue.d.ts → timeline/index.d.ts} +7 -2
  193. package/timeline/index.es.js +133 -0
  194. package/timelinecontentbytype/index.es.js +111 -0
  195. package/{components/toast/Toast.vue.d.ts → toast/index.d.ts} +1 -1
  196. package/toast/index.es.js +74 -0
  197. package/toast/service/index.d.ts +1 -0
  198. package/toggleswitch/index.es.js +90 -0
  199. package/transactionroles/index.es.js +223 -0
  200. package/{components/tree → tree}/helpers/flattenTreeNodeChildren.helper.d.ts +1 -1
  201. package/{components/tree/Tree.vue.d.ts → tree/index.d.ts} +4 -3
  202. package/tree/index.es.js +274 -0
  203. package/{components/basetree/TreeNode.vue.d.ts → treenode/index.d.ts} +1 -1
  204. package/treenode/index.es.js +506 -0
  205. package/treesearchinput/index.es.js +56 -0
  206. package/username/index.es.js +146 -0
  207. package/{components/userwithicon/UserWithIcon.vue.d.ts → userwithicon/index.d.ts} +1 -1
  208. package/userwithicon/index.es.js +18 -0
  209. package/utils/addAttachment.util.es.js +10 -0
  210. package/utils/baseToast.util.d.ts +120 -0
  211. package/utils/baseToast.util.es.js +44 -0
  212. package/utils/cookie.util.d.ts +18 -0
  213. package/utils/cookie.util.es.js +19 -0
  214. package/utils/date.util.d.ts +14 -1
  215. package/utils/date.util.es.js +230 -0
  216. package/utils/exportToExcel.util.d.ts +2 -6
  217. package/utils/exportToExcel.util.es.js +55 -0
  218. package/utils/filterOptions.util.es.js +4 -0
  219. package/utils/formatTagCode.util.es.js +18 -0
  220. package/utils/genPlaceholder.util.es.js +37 -0
  221. package/utils/getStatusSeverity.util.d.ts +1 -1
  222. package/utils/getStatusSeverity.util.es.js +37 -0
  223. package/utils/index.d.ts +9 -3
  224. package/utils/index.es.js +3 -0
  225. package/utils/isBasic.util.es.js +4 -0
  226. package/utils/listenSidebarChanges.util.d.ts +1 -1
  227. package/utils/listenSidebarChanges.util.es.js +15 -0
  228. package/utils/mergePropsWithDefaults.util.es.js +9 -0
  229. package/utils/object.util.es.js +61 -0
  230. package/utils/role.util.d.ts +1 -1
  231. package/utils/role.util.es.js +68 -0
  232. package/utils/textFormatter.util.es.js +21 -0
  233. package/utils/toast.util.d.ts +4 -119
  234. package/utils/toast.util.es.js +15 -0
  235. package/utils/xlsx.util.d.ts +6 -1
  236. package/utils/xlsx.util.es.js +9 -0
  237. package/validatormessage/index.es.js +19 -0
  238. package/vendor/@popperjs/core/lib/createPopper.es.js +122 -0
  239. package/vendor/@popperjs/core/lib/dom-utils/contains.es.js +18 -0
  240. package/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.es.js +23 -0
  241. package/vendor/@popperjs/core/lib/dom-utils/getClippingRect.es.js +37 -0
  242. package/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.es.js +32 -0
  243. package/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.es.js +7 -0
  244. package/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.es.js +10 -0
  245. package/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.es.js +17 -0
  246. package/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.es.js +9 -0
  247. package/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.es.js +13 -0
  248. package/vendor/@popperjs/core/lib/dom-utils/getNodeName.es.js +6 -0
  249. package/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.es.js +10 -0
  250. package/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.es.js +35 -0
  251. package/vendor/@popperjs/core/lib/dom-utils/getParentNode.es.js +18 -0
  252. package/vendor/@popperjs/core/lib/dom-utils/getScrollParent.es.js +10 -0
  253. package/vendor/@popperjs/core/lib/dom-utils/getViewportRect.es.js +21 -0
  254. package/vendor/@popperjs/core/lib/dom-utils/getWindow.es.js +12 -0
  255. package/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.es.js +11 -0
  256. package/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.es.js +9 -0
  257. package/vendor/@popperjs/core/lib/dom-utils/instanceOf.es.js +20 -0
  258. package/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.es.js +7 -0
  259. package/vendor/@popperjs/core/lib/dom-utils/isScrollParent.es.js +8 -0
  260. package/vendor/@popperjs/core/lib/dom-utils/isTableElement.es.js +7 -0
  261. package/vendor/@popperjs/core/lib/dom-utils/listScrollParents.es.js +16 -0
  262. package/vendor/@popperjs/core/lib/enums.es.js +22 -0
  263. package/vendor/@popperjs/core/lib/index.es.js +1 -0
  264. package/vendor/@popperjs/core/lib/modifiers/applyStyles.es.js +47 -0
  265. package/vendor/@popperjs/core/lib/modifiers/arrow.es.js +37 -0
  266. package/vendor/@popperjs/core/lib/modifiers/computeStyles.es.js +98 -0
  267. package/vendor/@popperjs/core/lib/modifiers/eventListeners.es.js +26 -0
  268. package/vendor/@popperjs/core/lib/modifiers/flip.es.js +74 -0
  269. package/vendor/@popperjs/core/lib/modifiers/hide.es.js +44 -0
  270. package/vendor/@popperjs/core/lib/modifiers/index.es.js +1 -0
  271. package/vendor/@popperjs/core/lib/modifiers/offset.es.js +30 -0
  272. package/vendor/@popperjs/core/lib/modifiers/popperOffsets.es.js +19 -0
  273. package/vendor/@popperjs/core/lib/modifiers/preventOverflow.es.js +54 -0
  274. package/vendor/@popperjs/core/lib/popper-lite.es.js +1 -0
  275. package/vendor/@popperjs/core/lib/popper.es.js +16 -0
  276. package/vendor/@popperjs/core/lib/utils/computeAutoPlacement.es.js +27 -0
  277. package/vendor/@popperjs/core/lib/utils/computeOffsets.es.js +54 -0
  278. package/vendor/@popperjs/core/lib/utils/debounce.es.js +13 -0
  279. package/vendor/@popperjs/core/lib/utils/detectOverflow.es.js +33 -0
  280. package/vendor/@popperjs/core/lib/utils/expandToHashMap.es.js +8 -0
  281. package/vendor/@popperjs/core/lib/utils/getAltAxis.es.js +6 -0
  282. package/vendor/@popperjs/core/lib/utils/getBasePlacement.es.js +6 -0
  283. package/vendor/@popperjs/core/lib/utils/getFreshSideObject.es.js +11 -0
  284. package/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.es.js +6 -0
  285. package/vendor/@popperjs/core/lib/utils/getOppositePlacement.es.js +14 -0
  286. package/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.es.js +12 -0
  287. package/vendor/@popperjs/core/lib/utils/getVariation.es.js +6 -0
  288. package/vendor/@popperjs/core/lib/utils/math.es.js +6 -0
  289. package/vendor/@popperjs/core/lib/utils/mergeByName.es.js +15 -0
  290. package/vendor/@popperjs/core/lib/utils/mergePaddingObject.es.js +7 -0
  291. package/vendor/@popperjs/core/lib/utils/orderModifiers.es.js +31 -0
  292. package/vendor/@popperjs/core/lib/utils/rectToClientRect.es.js +11 -0
  293. package/vendor/@popperjs/core/lib/utils/userAgent.es.js +9 -0
  294. package/vendor/@popperjs/core/lib/utils/within.es.js +12 -0
  295. package/vendor/@tiptap/core/dist/index.es.js +2868 -0
  296. package/vendor/@tiptap/extension-bold/dist/index.es.js +71 -0
  297. package/vendor/@tiptap/extension-bubble-menu/dist/index.es.js +128 -0
  298. package/vendor/@tiptap/extension-bullet-list/dist/index.es.js +53 -0
  299. package/vendor/@tiptap/extension-code/dist/index.es.js +51 -0
  300. package/vendor/@tiptap/extension-document/dist/index.es.js +9 -0
  301. package/vendor/@tiptap/extension-floating-menu/dist/index.es.js +99 -0
  302. package/vendor/@tiptap/extension-heading/dist/index.es.js +54 -0
  303. package/vendor/@tiptap/extension-history/dist/index.es.js +35 -0
  304. package/vendor/@tiptap/extension-image/dist/index.es.js +64 -0
  305. package/vendor/@tiptap/extension-italic/dist/index.es.js +70 -0
  306. package/vendor/@tiptap/extension-link/dist/index.es.js +262 -0
  307. package/vendor/@tiptap/extension-list-item/dist/index.es.js +33 -0
  308. package/vendor/@tiptap/extension-mention/dist/index.es.js +130 -0
  309. package/vendor/@tiptap/extension-ordered-list/dist/index.es.js +71 -0
  310. package/vendor/@tiptap/extension-paragraph/dist/index.es.js +33 -0
  311. package/vendor/@tiptap/extension-placeholder/dist/index.es.js +52 -0
  312. package/vendor/@tiptap/extension-text/dist/index.es.js +8 -0
  313. package/vendor/@tiptap/extension-underline/dist/index.es.js +40 -0
  314. package/vendor/@tiptap/pm/commands/dist/index.es.js +1 -0
  315. package/vendor/@tiptap/pm/history/dist/index.es.js +1 -0
  316. package/vendor/@tiptap/pm/keymap/dist/index.es.js +1 -0
  317. package/vendor/@tiptap/pm/model/dist/index.es.js +1 -0
  318. package/vendor/@tiptap/pm/schema-list/dist/index.es.js +1 -0
  319. package/vendor/@tiptap/pm/state/dist/index.es.js +1 -0
  320. package/vendor/@tiptap/pm/transform/dist/index.es.js +1 -0
  321. package/vendor/@tiptap/pm/view/dist/index.es.js +1 -0
  322. package/vendor/@tiptap/suggestion/dist/index.es.js +131 -0
  323. package/vendor/@tiptap/vue-3/dist/index.es.js +436 -0
  324. package/vendor/@vueuse/core/index.es.js +41 -0
  325. package/vendor/@vueuse/shared/index.es.js +7 -0
  326. package/vendor/@wangs-ui/core/components/p-BU8h34na.es.js +19 -0
  327. package/vendor/@wangs-ui/core/components/p-C5lMEBcj.es.js +149 -0
  328. package/vendor/@wangs-ui/core/components/p-CKYwZoTo.es.js +57 -0
  329. package/vendor/@wangs-ui/core/components/p-CsoK-EWG.es.js +158 -0
  330. package/vendor/@wangs-ui/core/components/p-DPHEi31J.es.js +135 -0
  331. package/vendor/@wangs-ui/core/components/p-DTTCzifR.es.js +700 -0
  332. package/vendor/@wangs-ui/core/components/p-Duri5p90.es.js +173 -0
  333. package/vendor/@wangs-ui/core/components/wangs-button.es.js +34 -0
  334. package/vendor/@wangs-ui/core/components/wangs-icon.es.js +5 -0
  335. package/vendor/@wangs-ui/core/components/wangs-input-otp.es.js +5 -0
  336. package/vendor/@wangs-ui/core/components/wangs-tab-menu.es.js +5 -0
  337. package/vendor/@wangs-ui/core/dist/esm/index-DCkh3cGv.es.js +326 -0
  338. package/vendor/@wangs-ui/core/dist/esm/index.es.js +1 -0
  339. package/vendor/@wangs-ui/core/dist/index.es.js +1 -0
  340. package/vendor/@wangs-ui/vue/dist/index.es.js +98 -0
  341. package/vendor/base64toblob/base64toblob.es.js +21 -0
  342. package/vendor/dijkstrajs/dijkstra.es.js +71 -0
  343. package/vendor/highlight.js/es/core.es.js +7 -0
  344. package/vendor/highlight.js/es/languages/javascript.es.js +656 -0
  345. package/vendor/highlight.js/es/languages/json.es.js +38 -0
  346. package/vendor/highlight.js/es/languages/typescript.es.js +743 -0
  347. package/vendor/highlight.js/es/languages/vbscript-html.es.js +16 -0
  348. package/vendor/highlight.js/lib/core.es.js +1063 -0
  349. package/vendor/linkifyjs/dist/linkify.es.es.js +705 -0
  350. package/vendor/lodash/_Symbol.es.js +11 -0
  351. package/vendor/lodash/_baseGetTag.es.js +16 -0
  352. package/vendor/lodash/_baseTrim.es.js +14 -0
  353. package/vendor/lodash/_freeGlobal.es.js +11 -0
  354. package/vendor/lodash/_getRawTag.es.js +21 -0
  355. package/vendor/lodash/_objectToString.es.js +13 -0
  356. package/vendor/lodash/_root.es.js +11 -0
  357. package/vendor/lodash/_trimmedEndIndex.es.js +15 -0
  358. package/vendor/lodash/debounce.es.js +60 -0
  359. package/vendor/lodash/isObject.es.js +13 -0
  360. package/vendor/lodash/isObjectLike.es.js +12 -0
  361. package/vendor/lodash/isSymbol.es.js +15 -0
  362. package/vendor/lodash/now.es.js +13 -0
  363. package/vendor/lodash/throttle.es.js +22 -0
  364. package/vendor/lodash/toNumber.es.js +28 -0
  365. package/vendor/lodash-es/_DataView.es.js +6 -0
  366. package/vendor/lodash-es/_Hash.es.js +20 -0
  367. package/vendor/lodash-es/_LazyWrapper.es.js +1 -0
  368. package/vendor/lodash-es/_ListCache.es.js +20 -0
  369. package/vendor/lodash-es/_LodashWrapper.es.js +1 -0
  370. package/vendor/lodash-es/_Map.es.js +6 -0
  371. package/vendor/lodash-es/_MapCache.es.js +20 -0
  372. package/vendor/lodash-es/_Promise.es.js +6 -0
  373. package/vendor/lodash-es/_Set.es.js +6 -0
  374. package/vendor/lodash-es/_SetCache.es.js +13 -0
  375. package/vendor/lodash-es/_Stack.es.js +18 -0
  376. package/vendor/lodash-es/_Symbol.es.js +5 -0
  377. package/vendor/lodash-es/_Uint8Array.es.js +5 -0
  378. package/vendor/lodash-es/_WeakMap.es.js +6 -0
  379. package/vendor/lodash-es/_apply.es.js +1 -0
  380. package/vendor/lodash-es/_arrayAggregator.es.js +1 -0
  381. package/vendor/lodash-es/_arrayEach.es.js +8 -0
  382. package/vendor/lodash-es/_arrayEachRight.es.js +1 -0
  383. package/vendor/lodash-es/_arrayEvery.es.js +1 -0
  384. package/vendor/lodash-es/_arrayFilter.es.js +10 -0
  385. package/vendor/lodash-es/_arrayIncludes.es.js +1 -0
  386. package/vendor/lodash-es/_arrayIncludesWith.es.js +1 -0
  387. package/vendor/lodash-es/_arrayLikeKeys.es.js +20 -0
  388. package/vendor/lodash-es/_arrayMap.es.js +1 -0
  389. package/vendor/lodash-es/_arrayPush.es.js +8 -0
  390. package/vendor/lodash-es/_arrayReduce.es.js +1 -0
  391. package/vendor/lodash-es/_arrayReduceRight.es.js +1 -0
  392. package/vendor/lodash-es/_arraySample.es.js +1 -0
  393. package/vendor/lodash-es/_arraySampleSize.es.js +1 -0
  394. package/vendor/lodash-es/_arrayShuffle.es.js +1 -0
  395. package/vendor/lodash-es/_arraySome.es.js +9 -0
  396. package/vendor/lodash-es/_asciiSize.es.js +1 -0
  397. package/vendor/lodash-es/_asciiToArray.es.js +1 -0
  398. package/vendor/lodash-es/_asciiWords.es.js +1 -0
  399. package/vendor/lodash-es/_assignMergeValue.es.js +1 -0
  400. package/vendor/lodash-es/_assignValue.es.js +10 -0
  401. package/vendor/lodash-es/_assocIndexOf.es.js +10 -0
  402. package/vendor/lodash-es/_baseAggregator.es.js +1 -0
  403. package/vendor/lodash-es/_baseAssign.es.js +1 -0
  404. package/vendor/lodash-es/_baseAssignIn.es.js +1 -0
  405. package/vendor/lodash-es/_baseAssignValue.es.js +12 -0
  406. package/vendor/lodash-es/_baseAt.es.js +1 -0
  407. package/vendor/lodash-es/_baseClamp.es.js +1 -0
  408. package/vendor/lodash-es/_baseClone.es.js +55 -0
  409. package/vendor/lodash-es/_baseConforms.es.js +1 -0
  410. package/vendor/lodash-es/_baseConformsTo.es.js +1 -0
  411. package/vendor/lodash-es/_baseCreate.es.js +17 -0
  412. package/vendor/lodash-es/_baseDelay.es.js +1 -0
  413. package/vendor/lodash-es/_baseDifference.es.js +1 -0
  414. package/vendor/lodash-es/_baseEach.es.js +1 -0
  415. package/vendor/lodash-es/_baseEachRight.es.js +1 -0
  416. package/vendor/lodash-es/_baseEvery.es.js +1 -0
  417. package/vendor/lodash-es/_baseExtremum.es.js +1 -0
  418. package/vendor/lodash-es/_baseFill.es.js +1 -0
  419. package/vendor/lodash-es/_baseFilter.es.js +1 -0
  420. package/vendor/lodash-es/_baseFindIndex.es.js +1 -0
  421. package/vendor/lodash-es/_baseFindKey.es.js +1 -0
  422. package/vendor/lodash-es/_baseFlatten.es.js +1 -0
  423. package/vendor/lodash-es/_baseFor.es.js +1 -0
  424. package/vendor/lodash-es/_baseForOwn.es.js +1 -0
  425. package/vendor/lodash-es/_baseForOwnRight.es.js +1 -0
  426. package/vendor/lodash-es/_baseForRight.es.js +1 -0
  427. package/vendor/lodash-es/_baseFunctions.es.js +1 -0
  428. package/vendor/lodash-es/_baseGet.es.js +1 -0
  429. package/vendor/lodash-es/_baseGetAllKeys.es.js +9 -0
  430. package/vendor/lodash-es/_baseGetTag.es.js +10 -0
  431. package/vendor/lodash-es/_baseGt.es.js +1 -0
  432. package/vendor/lodash-es/_baseHas.es.js +1 -0
  433. package/vendor/lodash-es/_baseHasIn.es.js +1 -0
  434. package/vendor/lodash-es/_baseInRange.es.js +1 -0
  435. package/vendor/lodash-es/_baseIndexOf.es.js +1 -0
  436. package/vendor/lodash-es/_baseIndexOfWith.es.js +1 -0
  437. package/vendor/lodash-es/_baseIntersection.es.js +1 -0
  438. package/vendor/lodash-es/_baseInverter.es.js +1 -0
  439. package/vendor/lodash-es/_baseInvoke.es.js +1 -0
  440. package/vendor/lodash-es/_baseIsArguments.es.js +9 -0
  441. package/vendor/lodash-es/_baseIsArrayBuffer.es.js +1 -0
  442. package/vendor/lodash-es/_baseIsDate.es.js +1 -0
  443. package/vendor/lodash-es/_baseIsEqual.es.js +8 -0
  444. package/vendor/lodash-es/_baseIsEqualDeep.es.js +32 -0
  445. package/vendor/lodash-es/_baseIsMap.es.js +9 -0
  446. package/vendor/lodash-es/_baseIsMatch.es.js +1 -0
  447. package/vendor/lodash-es/_baseIsNaN.es.js +1 -0
  448. package/vendor/lodash-es/_baseIsNative.es.js +16 -0
  449. package/vendor/lodash-es/_baseIsRegExp.es.js +1 -0
  450. package/vendor/lodash-es/_baseIsSet.es.js +9 -0
  451. package/vendor/lodash-es/_baseIsTypedArray.es.js +12 -0
  452. package/vendor/lodash-es/_baseIteratee.es.js +1 -0
  453. package/vendor/lodash-es/_baseKeys.es.js +14 -0
  454. package/vendor/lodash-es/_baseKeysIn.es.js +1 -0
  455. package/vendor/lodash-es/_baseLodash.es.js +1 -0
  456. package/vendor/lodash-es/_baseLt.es.js +1 -0
  457. package/vendor/lodash-es/_baseMap.es.js +1 -0
  458. package/vendor/lodash-es/_baseMatches.es.js +1 -0
  459. package/vendor/lodash-es/_baseMatchesProperty.es.js +1 -0
  460. package/vendor/lodash-es/_baseMean.es.js +1 -0
  461. package/vendor/lodash-es/_baseMerge.es.js +1 -0
  462. package/vendor/lodash-es/_baseMergeDeep.es.js +1 -0
  463. package/vendor/lodash-es/_baseNth.es.js +1 -0
  464. package/vendor/lodash-es/_baseOrderBy.es.js +1 -0
  465. package/vendor/lodash-es/_basePick.es.js +1 -0
  466. package/vendor/lodash-es/_basePickBy.es.js +1 -0
  467. package/vendor/lodash-es/_baseProperty.es.js +1 -0
  468. package/vendor/lodash-es/_basePropertyDeep.es.js +1 -0
  469. package/vendor/lodash-es/_basePropertyOf.es.js +1 -0
  470. package/vendor/lodash-es/_basePullAll.es.js +1 -0
  471. package/vendor/lodash-es/_basePullAt.es.js +1 -0
  472. package/vendor/lodash-es/_baseRandom.es.js +1 -0
  473. package/vendor/lodash-es/_baseRange.es.js +1 -0
  474. package/vendor/lodash-es/_baseReduce.es.js +1 -0
  475. package/vendor/lodash-es/_baseRepeat.es.js +1 -0
  476. package/vendor/lodash-es/_baseRest.es.js +1 -0
  477. package/vendor/lodash-es/_baseSample.es.js +1 -0
  478. package/vendor/lodash-es/_baseSampleSize.es.js +1 -0
  479. package/vendor/lodash-es/_baseSet.es.js +1 -0
  480. package/vendor/lodash-es/_baseSetData.es.js +1 -0
  481. package/vendor/lodash-es/_baseSetToString.es.js +1 -0
  482. package/vendor/lodash-es/_baseShuffle.es.js +1 -0
  483. package/vendor/lodash-es/_baseSlice.es.js +1 -0
  484. package/vendor/lodash-es/_baseSome.es.js +1 -0
  485. package/vendor/lodash-es/_baseSortBy.es.js +1 -0
  486. package/vendor/lodash-es/_baseSortedIndex.es.js +1 -0
  487. package/vendor/lodash-es/_baseSortedIndexBy.es.js +1 -0
  488. package/vendor/lodash-es/_baseSortedUniq.es.js +1 -0
  489. package/vendor/lodash-es/_baseSum.es.js +1 -0
  490. package/vendor/lodash-es/_baseTimes.es.js +8 -0
  491. package/vendor/lodash-es/_baseToNumber.es.js +1 -0
  492. package/vendor/lodash-es/_baseToPairs.es.js +1 -0
  493. package/vendor/lodash-es/_baseToString.es.js +1 -0
  494. package/vendor/lodash-es/_baseTrim.es.js +8 -0
  495. package/vendor/lodash-es/_baseUnary.es.js +8 -0
  496. package/vendor/lodash-es/_baseUniq.es.js +1 -0
  497. package/vendor/lodash-es/_baseUnset.es.js +1 -0
  498. package/vendor/lodash-es/_baseUpdate.es.js +1 -0
  499. package/vendor/lodash-es/_baseValues.es.js +1 -0
  500. package/vendor/lodash-es/_baseWhile.es.js +1 -0
  501. package/vendor/lodash-es/_baseWrapperValue.es.js +1 -0
  502. package/vendor/lodash-es/_baseXor.es.js +1 -0
  503. package/vendor/lodash-es/_baseZipObject.es.js +1 -0
  504. package/vendor/lodash-es/_cacheHas.es.js +6 -0
  505. package/vendor/lodash-es/_castArrayLikeObject.es.js +1 -0
  506. package/vendor/lodash-es/_castFunction.es.js +1 -0
  507. package/vendor/lodash-es/_castPath.es.js +1 -0
  508. package/vendor/lodash-es/_castRest.es.js +1 -0
  509. package/vendor/lodash-es/_castSlice.es.js +1 -0
  510. package/vendor/lodash-es/_charsEndIndex.es.js +1 -0
  511. package/vendor/lodash-es/_charsStartIndex.es.js +1 -0
  512. package/vendor/lodash-es/_cloneArrayBuffer.es.js +8 -0
  513. package/vendor/lodash-es/_cloneBuffer.es.js +9 -0
  514. package/vendor/lodash-es/_cloneDataView.es.js +8 -0
  515. package/vendor/lodash-es/_cloneRegExp.es.js +8 -0
  516. package/vendor/lodash-es/_cloneSymbol.es.js +8 -0
  517. package/vendor/lodash-es/_cloneTypedArray.es.js +8 -0
  518. package/vendor/lodash-es/_compareAscending.es.js +1 -0
  519. package/vendor/lodash-es/_compareMultiple.es.js +1 -0
  520. package/vendor/lodash-es/_composeArgs.es.js +1 -0
  521. package/vendor/lodash-es/_composeArgsRight.es.js +1 -0
  522. package/vendor/lodash-es/_copyArray.es.js +1 -0
  523. package/vendor/lodash-es/_copyObject.es.js +1 -0
  524. package/vendor/lodash-es/_copySymbols.es.js +1 -0
  525. package/vendor/lodash-es/_copySymbolsIn.es.js +1 -0
  526. package/vendor/lodash-es/_coreJsData.es.js +5 -0
  527. package/vendor/lodash-es/_countHolders.es.js +1 -0
  528. package/vendor/lodash-es/_createAggregator.es.js +1 -0
  529. package/vendor/lodash-es/_createAssigner.es.js +1 -0
  530. package/vendor/lodash-es/_createBaseEach.es.js +1 -0
  531. package/vendor/lodash-es/_createBaseFor.es.js +1 -0
  532. package/vendor/lodash-es/_createBind.es.js +1 -0
  533. package/vendor/lodash-es/_createCaseFirst.es.js +1 -0
  534. package/vendor/lodash-es/_createCompounder.es.js +1 -0
  535. package/vendor/lodash-es/_createCtor.es.js +1 -0
  536. package/vendor/lodash-es/_createCurry.es.js +1 -0
  537. package/vendor/lodash-es/_createFind.es.js +1 -0
  538. package/vendor/lodash-es/_createFlow.es.js +1 -0
  539. package/vendor/lodash-es/_createHybrid.es.js +1 -0
  540. package/vendor/lodash-es/_createInverter.es.js +1 -0
  541. package/vendor/lodash-es/_createMathOperation.es.js +1 -0
  542. package/vendor/lodash-es/_createOver.es.js +1 -0
  543. package/vendor/lodash-es/_createPadding.es.js +1 -0
  544. package/vendor/lodash-es/_createPartial.es.js +1 -0
  545. package/vendor/lodash-es/_createRange.es.js +1 -0
  546. package/vendor/lodash-es/_createRecurry.es.js +1 -0
  547. package/vendor/lodash-es/_createRelationalOperation.es.js +1 -0
  548. package/vendor/lodash-es/_createRound.es.js +1 -0
  549. package/vendor/lodash-es/_createSet.es.js +1 -0
  550. package/vendor/lodash-es/_createToPairs.es.js +1 -0
  551. package/vendor/lodash-es/_createWrap.es.js +1 -0
  552. package/vendor/lodash-es/_customDefaultsAssignIn.es.js +1 -0
  553. package/vendor/lodash-es/_customDefaultsMerge.es.js +1 -0
  554. package/vendor/lodash-es/_customOmitClone.es.js +1 -0
  555. package/vendor/lodash-es/_deburrLetter.es.js +1 -0
  556. package/vendor/lodash-es/_defineProperty.es.js +11 -0
  557. package/vendor/lodash-es/_equalArrays.es.js +40 -0
  558. package/vendor/lodash-es/_equalByTag.es.js +45 -0
  559. package/vendor/lodash-es/_equalObjects.es.js +36 -0
  560. package/vendor/lodash-es/_escapeHtmlChar.es.js +1 -0
  561. package/vendor/lodash-es/_escapeStringChar.es.js +1 -0
  562. package/vendor/lodash-es/_flatRest.es.js +1 -0
  563. package/vendor/lodash-es/_freeGlobal.es.js +4 -0
  564. package/vendor/lodash-es/_getAllKeys.es.js +9 -0
  565. package/vendor/lodash-es/_getAllKeysIn.es.js +1 -0
  566. package/vendor/lodash-es/_getData.es.js +1 -0
  567. package/vendor/lodash-es/_getFuncName.es.js +1 -0
  568. package/vendor/lodash-es/_getHolder.es.js +1 -0
  569. package/vendor/lodash-es/_getMapData.es.js +8 -0
  570. package/vendor/lodash-es/_getMatchData.es.js +1 -0
  571. package/vendor/lodash-es/_getNative.es.js +9 -0
  572. package/vendor/lodash-es/_getPrototype.es.js +5 -0
  573. package/vendor/lodash-es/_getRawTag.es.js +15 -0
  574. package/vendor/lodash-es/_getSymbols.es.js +10 -0
  575. package/vendor/lodash-es/_getSymbolsIn.es.js +1 -0
  576. package/vendor/lodash-es/_getTag.es.js +28 -0
  577. package/vendor/lodash-es/_getValue.es.js +6 -0
  578. package/vendor/lodash-es/_getView.es.js +1 -0
  579. package/vendor/lodash-es/_getWrapDetails.es.js +1 -0
  580. package/vendor/lodash-es/_hasPath.es.js +1 -0
  581. package/vendor/lodash-es/_hasUnicode.es.js +1 -0
  582. package/vendor/lodash-es/_hasUnicodeWord.es.js +1 -0
  583. package/vendor/lodash-es/_hashClear.es.js +7 -0
  584. package/vendor/lodash-es/_hashDelete.es.js +7 -0
  585. package/vendor/lodash-es/_hashGet.es.js +13 -0
  586. package/vendor/lodash-es/_hashHas.es.js +9 -0
  587. package/vendor/lodash-es/_hashSet.es.js +9 -0
  588. package/vendor/lodash-es/_initCloneArray.es.js +8 -0
  589. package/vendor/lodash-es/_initCloneByTag.es.js +42 -0
  590. package/vendor/lodash-es/_initCloneObject.es.js +9 -0
  591. package/vendor/lodash-es/_insertWrapDetails.es.js +1 -0
  592. package/vendor/lodash-es/_isFlattenable.es.js +1 -0
  593. package/vendor/lodash-es/_isIndex.es.js +8 -0
  594. package/vendor/lodash-es/_isIterateeCall.es.js +1 -0
  595. package/vendor/lodash-es/_isKey.es.js +1 -0
  596. package/vendor/lodash-es/_isKeyable.es.js +7 -0
  597. package/vendor/lodash-es/_isLaziable.es.js +1 -0
  598. package/vendor/lodash-es/_isMaskable.es.js +1 -0
  599. package/vendor/lodash-es/_isMasked.es.js +11 -0
  600. package/vendor/lodash-es/_isPrototype.es.js +8 -0
  601. package/vendor/lodash-es/_isStrictComparable.es.js +1 -0
  602. package/vendor/lodash-es/_iteratorToArray.es.js +1 -0
  603. package/vendor/lodash-es/_lazyClone.es.js +1 -0
  604. package/vendor/lodash-es/_lazyReverse.es.js +1 -0
  605. package/vendor/lodash-es/_lazyValue.es.js +1 -0
  606. package/vendor/lodash-es/_listCacheClear.es.js +6 -0
  607. package/vendor/lodash-es/_listCacheDelete.es.js +12 -0
  608. package/vendor/lodash-es/_listCacheGet.es.js +8 -0
  609. package/vendor/lodash-es/_listCacheHas.es.js +7 -0
  610. package/vendor/lodash-es/_listCacheSet.es.js +8 -0
  611. package/vendor/lodash-es/_mapCacheClear.es.js +13 -0
  612. package/vendor/lodash-es/_mapCacheDelete.es.js +8 -0
  613. package/vendor/lodash-es/_mapCacheGet.es.js +7 -0
  614. package/vendor/lodash-es/_mapCacheHas.es.js +7 -0
  615. package/vendor/lodash-es/_mapCacheSet.es.js +8 -0
  616. package/vendor/lodash-es/_mapToArray.es.js +9 -0
  617. package/vendor/lodash-es/_matchesStrictComparable.es.js +1 -0
  618. package/vendor/lodash-es/_memoizeCapped.es.js +1 -0
  619. package/vendor/lodash-es/_mergeData.es.js +1 -0
  620. package/vendor/lodash-es/_metaMap.es.js +1 -0
  621. package/vendor/lodash-es/_nativeCreate.es.js +5 -0
  622. package/vendor/lodash-es/_nativeKeys.es.js +5 -0
  623. package/vendor/lodash-es/_nativeKeysIn.es.js +1 -0
  624. package/vendor/lodash-es/_nodeUtil.es.js +11 -0
  625. package/vendor/lodash-es/_objectToString.es.js +7 -0
  626. package/vendor/lodash-es/_overArg.es.js +8 -0
  627. package/vendor/lodash-es/_overRest.es.js +1 -0
  628. package/vendor/lodash-es/_parent.es.js +1 -0
  629. package/vendor/lodash-es/_reEscape.es.js +1 -0
  630. package/vendor/lodash-es/_reEvaluate.es.js +1 -0
  631. package/vendor/lodash-es/_reInterpolate.es.js +1 -0
  632. package/vendor/lodash-es/_realNames.es.js +1 -0
  633. package/vendor/lodash-es/_reorder.es.js +1 -0
  634. package/vendor/lodash-es/_replaceHolders.es.js +1 -0
  635. package/vendor/lodash-es/_root.es.js +5 -0
  636. package/vendor/lodash-es/_safeGet.es.js +1 -0
  637. package/vendor/lodash-es/_setCacheAdd.es.js +7 -0
  638. package/vendor/lodash-es/_setCacheHas.es.js +6 -0
  639. package/vendor/lodash-es/_setData.es.js +1 -0
  640. package/vendor/lodash-es/_setToArray.es.js +9 -0
  641. package/vendor/lodash-es/_setToPairs.es.js +1 -0
  642. package/vendor/lodash-es/_setToString.es.js +1 -0
  643. package/vendor/lodash-es/_setWrapToString.es.js +1 -0
  644. package/vendor/lodash-es/_shortOut.es.js +1 -0
  645. package/vendor/lodash-es/_shuffleSelf.es.js +1 -0
  646. package/vendor/lodash-es/_stackClear.es.js +7 -0
  647. package/vendor/lodash-es/_stackDelete.es.js +7 -0
  648. package/vendor/lodash-es/_stackGet.es.js +6 -0
  649. package/vendor/lodash-es/_stackHas.es.js +6 -0
  650. package/vendor/lodash-es/_stackSet.es.js +17 -0
  651. package/vendor/lodash-es/_strictIndexOf.es.js +1 -0
  652. package/vendor/lodash-es/_strictLastIndexOf.es.js +1 -0
  653. package/vendor/lodash-es/_stringSize.es.js +1 -0
  654. package/vendor/lodash-es/_stringToArray.es.js +1 -0
  655. package/vendor/lodash-es/_stringToPath.es.js +1 -0
  656. package/vendor/lodash-es/_toKey.es.js +1 -0
  657. package/vendor/lodash-es/_toSource.es.js +17 -0
  658. package/vendor/lodash-es/_trimmedEndIndex.es.js +9 -0
  659. package/vendor/lodash-es/_unescapeHtmlChar.es.js +1 -0
  660. package/vendor/lodash-es/_unicodeSize.es.js +1 -0
  661. package/vendor/lodash-es/_unicodeToArray.es.js +1 -0
  662. package/vendor/lodash-es/_unicodeWords.es.js +1 -0
  663. package/vendor/lodash-es/_updateWrapDetails.es.js +1 -0
  664. package/vendor/lodash-es/_wrapperClone.es.js +1 -0
  665. package/vendor/lodash-es/add.es.js +1 -0
  666. package/vendor/lodash-es/after.es.js +1 -0
  667. package/vendor/lodash-es/array.default.es.js +1 -0
  668. package/vendor/lodash-es/array.es.js +1 -0
  669. package/vendor/lodash-es/ary.es.js +1 -0
  670. package/vendor/lodash-es/assign.es.js +1 -0
  671. package/vendor/lodash-es/assignIn.es.js +1 -0
  672. package/vendor/lodash-es/assignInWith.es.js +1 -0
  673. package/vendor/lodash-es/assignWith.es.js +1 -0
  674. package/vendor/lodash-es/at.es.js +1 -0
  675. package/vendor/lodash-es/attempt.es.js +1 -0
  676. package/vendor/lodash-es/before.es.js +1 -0
  677. package/vendor/lodash-es/bind.es.js +1 -0
  678. package/vendor/lodash-es/bindAll.es.js +1 -0
  679. package/vendor/lodash-es/bindKey.es.js +1 -0
  680. package/vendor/lodash-es/camelCase.es.js +1 -0
  681. package/vendor/lodash-es/capitalize.es.js +1 -0
  682. package/vendor/lodash-es/castArray.es.js +1 -0
  683. package/vendor/lodash-es/ceil.es.js +1 -0
  684. package/vendor/lodash-es/chain.es.js +1 -0
  685. package/vendor/lodash-es/chunk.es.js +1 -0
  686. package/vendor/lodash-es/clamp.es.js +1 -0
  687. package/vendor/lodash-es/clone.es.js +1 -0
  688. package/vendor/lodash-es/cloneDeep.es.js +8 -0
  689. package/vendor/lodash-es/cloneDeepWith.es.js +1 -0
  690. package/vendor/lodash-es/cloneWith.es.js +1 -0
  691. package/vendor/lodash-es/collection.default.es.js +1 -0
  692. package/vendor/lodash-es/collection.es.js +1 -0
  693. package/vendor/lodash-es/commit.es.js +1 -0
  694. package/vendor/lodash-es/compact.es.js +1 -0
  695. package/vendor/lodash-es/concat.es.js +1 -0
  696. package/vendor/lodash-es/cond.es.js +1 -0
  697. package/vendor/lodash-es/conforms.es.js +1 -0
  698. package/vendor/lodash-es/conformsTo.es.js +1 -0
  699. package/vendor/lodash-es/constant.es.js +1 -0
  700. package/vendor/lodash-es/countBy.es.js +1 -0
  701. package/vendor/lodash-es/create.es.js +1 -0
  702. package/vendor/lodash-es/curry.es.js +1 -0
  703. package/vendor/lodash-es/curryRight.es.js +1 -0
  704. package/vendor/lodash-es/date.default.es.js +1 -0
  705. package/vendor/lodash-es/date.es.js +1 -0
  706. package/vendor/lodash-es/debounce.es.js +54 -0
  707. package/vendor/lodash-es/deburr.es.js +1 -0
  708. package/vendor/lodash-es/defaultTo.es.js +1 -0
  709. package/vendor/lodash-es/defaults.es.js +1 -0
  710. package/vendor/lodash-es/defaultsDeep.es.js +1 -0
  711. package/vendor/lodash-es/defer.es.js +1 -0
  712. package/vendor/lodash-es/delay.es.js +1 -0
  713. package/vendor/lodash-es/difference.es.js +1 -0
  714. package/vendor/lodash-es/differenceBy.es.js +1 -0
  715. package/vendor/lodash-es/differenceWith.es.js +1 -0
  716. package/vendor/lodash-es/divide.es.js +1 -0
  717. package/vendor/lodash-es/drop.es.js +1 -0
  718. package/vendor/lodash-es/dropRight.es.js +1 -0
  719. package/vendor/lodash-es/dropRightWhile.es.js +1 -0
  720. package/vendor/lodash-es/dropWhile.es.js +1 -0
  721. package/vendor/lodash-es/each.es.js +1 -0
  722. package/vendor/lodash-es/eachRight.es.js +1 -0
  723. package/vendor/lodash-es/endsWith.es.js +1 -0
  724. package/vendor/lodash-es/entries.es.js +1 -0
  725. package/vendor/lodash-es/entriesIn.es.js +1 -0
  726. package/vendor/lodash-es/eq.es.js +6 -0
  727. package/vendor/lodash-es/escape.es.js +1 -0
  728. package/vendor/lodash-es/escapeRegExp.es.js +1 -0
  729. package/vendor/lodash-es/every.es.js +1 -0
  730. package/vendor/lodash-es/extend.es.js +1 -0
  731. package/vendor/lodash-es/extendWith.es.js +1 -0
  732. package/vendor/lodash-es/fill.es.js +1 -0
  733. package/vendor/lodash-es/filter.es.js +1 -0
  734. package/vendor/lodash-es/find.es.js +1 -0
  735. package/vendor/lodash-es/findIndex.es.js +1 -0
  736. package/vendor/lodash-es/findKey.es.js +1 -0
  737. package/vendor/lodash-es/findLast.es.js +1 -0
  738. package/vendor/lodash-es/findLastIndex.es.js +1 -0
  739. package/vendor/lodash-es/findLastKey.es.js +1 -0
  740. package/vendor/lodash-es/first.es.js +1 -0
  741. package/vendor/lodash-es/flatMap.es.js +1 -0
  742. package/vendor/lodash-es/flatMapDeep.es.js +1 -0
  743. package/vendor/lodash-es/flatMapDepth.es.js +1 -0
  744. package/vendor/lodash-es/flatten.es.js +1 -0
  745. package/vendor/lodash-es/flattenDeep.es.js +1 -0
  746. package/vendor/lodash-es/flattenDepth.es.js +1 -0
  747. package/vendor/lodash-es/flip.es.js +1 -0
  748. package/vendor/lodash-es/floor.es.js +1 -0
  749. package/vendor/lodash-es/flow.es.js +1 -0
  750. package/vendor/lodash-es/flowRight.es.js +1 -0
  751. package/vendor/lodash-es/forEach.es.js +1 -0
  752. package/vendor/lodash-es/forEachRight.es.js +1 -0
  753. package/vendor/lodash-es/forIn.es.js +1 -0
  754. package/vendor/lodash-es/forInRight.es.js +1 -0
  755. package/vendor/lodash-es/forOwn.es.js +1 -0
  756. package/vendor/lodash-es/forOwnRight.es.js +1 -0
  757. package/vendor/lodash-es/fromPairs.es.js +1 -0
  758. package/vendor/lodash-es/function.default.es.js +1 -0
  759. package/vendor/lodash-es/function.es.js +1 -0
  760. package/vendor/lodash-es/functions.es.js +1 -0
  761. package/vendor/lodash-es/functionsIn.es.js +1 -0
  762. package/vendor/lodash-es/get.es.js +1 -0
  763. package/vendor/lodash-es/groupBy.es.js +1 -0
  764. package/vendor/lodash-es/gt.es.js +1 -0
  765. package/vendor/lodash-es/gte.es.js +1 -0
  766. package/vendor/lodash-es/has.es.js +1 -0
  767. package/vendor/lodash-es/hasIn.es.js +1 -0
  768. package/vendor/lodash-es/head.es.js +1 -0
  769. package/vendor/lodash-es/identity.es.js +1 -0
  770. package/vendor/lodash-es/inRange.es.js +1 -0
  771. package/vendor/lodash-es/includes.es.js +1 -0
  772. package/vendor/lodash-es/indexOf.es.js +1 -0
  773. package/vendor/lodash-es/initial.es.js +1 -0
  774. package/vendor/lodash-es/intersection.es.js +1 -0
  775. package/vendor/lodash-es/intersectionBy.es.js +1 -0
  776. package/vendor/lodash-es/intersectionWith.es.js +1 -0
  777. package/vendor/lodash-es/invert.es.js +1 -0
  778. package/vendor/lodash-es/invertBy.es.js +1 -0
  779. package/vendor/lodash-es/invoke.es.js +1 -0
  780. package/vendor/lodash-es/invokeMap.es.js +1 -0
  781. package/vendor/lodash-es/isArguments.es.js +10 -0
  782. package/vendor/lodash-es/isArray.es.js +4 -0
  783. package/vendor/lodash-es/isArrayBuffer.es.js +1 -0
  784. package/vendor/lodash-es/isArrayLike.es.js +8 -0
  785. package/vendor/lodash-es/isArrayLikeObject.es.js +1 -0
  786. package/vendor/lodash-es/isBoolean.es.js +1 -0
  787. package/vendor/lodash-es/isBuffer.es.js +6 -0
  788. package/vendor/lodash-es/isDate.es.js +1 -0
  789. package/vendor/lodash-es/isElement.es.js +1 -0
  790. package/vendor/lodash-es/isEmpty.es.js +1 -0
  791. package/vendor/lodash-es/isEqual.es.js +7 -0
  792. package/vendor/lodash-es/isEqualWith.es.js +1 -0
  793. package/vendor/lodash-es/isError.es.js +1 -0
  794. package/vendor/lodash-es/isFinite.es.js +1 -0
  795. package/vendor/lodash-es/isFunction.es.js +12 -0
  796. package/vendor/lodash-es/isInteger.es.js +1 -0
  797. package/vendor/lodash-es/isLength.es.js +7 -0
  798. package/vendor/lodash-es/isMap.es.js +7 -0
  799. package/vendor/lodash-es/isMatch.es.js +1 -0
  800. package/vendor/lodash-es/isMatchWith.es.js +1 -0
  801. package/vendor/lodash-es/isNaN.es.js +1 -0
  802. package/vendor/lodash-es/isNative.es.js +1 -0
  803. package/vendor/lodash-es/isNil.es.js +1 -0
  804. package/vendor/lodash-es/isNull.es.js +1 -0
  805. package/vendor/lodash-es/isNumber.es.js +1 -0
  806. package/vendor/lodash-es/isObject.es.js +7 -0
  807. package/vendor/lodash-es/isObjectLike.es.js +6 -0
  808. package/vendor/lodash-es/isPlainObject.es.js +1 -0
  809. package/vendor/lodash-es/isRegExp.es.js +1 -0
  810. package/vendor/lodash-es/isSafeInteger.es.js +1 -0
  811. package/vendor/lodash-es/isSet.es.js +7 -0
  812. package/vendor/lodash-es/isString.es.js +1 -0
  813. package/vendor/lodash-es/isSymbol.es.js +9 -0
  814. package/vendor/lodash-es/isTypedArray.es.js +7 -0
  815. package/vendor/lodash-es/isUndefined.es.js +1 -0
  816. package/vendor/lodash-es/isWeakMap.es.js +1 -0
  817. package/vendor/lodash-es/isWeakSet.es.js +1 -0
  818. package/vendor/lodash-es/iteratee.es.js +1 -0
  819. package/vendor/lodash-es/join.es.js +1 -0
  820. package/vendor/lodash-es/kebabCase.es.js +1 -0
  821. package/vendor/lodash-es/keyBy.es.js +1 -0
  822. package/vendor/lodash-es/keys.es.js +9 -0
  823. package/vendor/lodash-es/keysIn.es.js +1 -0
  824. package/vendor/lodash-es/lang.default.es.js +1 -0
  825. package/vendor/lodash-es/lang.es.js +1 -0
  826. package/vendor/lodash-es/last.es.js +1 -0
  827. package/vendor/lodash-es/lastIndexOf.es.js +1 -0
  828. package/vendor/lodash-es/lodash.default.es.js +1 -0
  829. package/vendor/lodash-es/lodash.es.js +1 -0
  830. package/vendor/lodash-es/lowerCase.es.js +1 -0
  831. package/vendor/lodash-es/lowerFirst.es.js +1 -0
  832. package/vendor/lodash-es/lt.es.js +1 -0
  833. package/vendor/lodash-es/lte.es.js +1 -0
  834. package/vendor/lodash-es/map.es.js +1 -0
  835. package/vendor/lodash-es/mapKeys.es.js +1 -0
  836. package/vendor/lodash-es/mapValues.es.js +1 -0
  837. package/vendor/lodash-es/matches.es.js +1 -0
  838. package/vendor/lodash-es/matchesProperty.es.js +1 -0
  839. package/vendor/lodash-es/math.default.es.js +1 -0
  840. package/vendor/lodash-es/math.es.js +1 -0
  841. package/vendor/lodash-es/max.es.js +1 -0
  842. package/vendor/lodash-es/maxBy.es.js +1 -0
  843. package/vendor/lodash-es/mean.es.js +1 -0
  844. package/vendor/lodash-es/meanBy.es.js +1 -0
  845. package/vendor/lodash-es/memoize.es.js +1 -0
  846. package/vendor/lodash-es/merge.es.js +1 -0
  847. package/vendor/lodash-es/mergeWith.es.js +1 -0
  848. package/vendor/lodash-es/method.es.js +1 -0
  849. package/vendor/lodash-es/methodOf.es.js +1 -0
  850. package/vendor/lodash-es/min.es.js +1 -0
  851. package/vendor/lodash-es/minBy.es.js +1 -0
  852. package/vendor/lodash-es/mixin.es.js +1 -0
  853. package/vendor/lodash-es/multiply.es.js +1 -0
  854. package/vendor/lodash-es/negate.es.js +1 -0
  855. package/vendor/lodash-es/next.es.js +1 -0
  856. package/vendor/lodash-es/noop.es.js +1 -0
  857. package/vendor/lodash-es/now.es.js +7 -0
  858. package/vendor/lodash-es/nth.es.js +1 -0
  859. package/vendor/lodash-es/nthArg.es.js +1 -0
  860. package/vendor/lodash-es/number.default.es.js +1 -0
  861. package/vendor/lodash-es/number.es.js +1 -0
  862. package/vendor/lodash-es/object.default.es.js +1 -0
  863. package/vendor/lodash-es/object.es.js +1 -0
  864. package/vendor/lodash-es/omit.es.js +1 -0
  865. package/vendor/lodash-es/omitBy.es.js +1 -0
  866. package/vendor/lodash-es/once.es.js +1 -0
  867. package/vendor/lodash-es/orderBy.es.js +1 -0
  868. package/vendor/lodash-es/over.es.js +1 -0
  869. package/vendor/lodash-es/overArgs.es.js +1 -0
  870. package/vendor/lodash-es/overEvery.es.js +1 -0
  871. package/vendor/lodash-es/overSome.es.js +1 -0
  872. package/vendor/lodash-es/pad.es.js +1 -0
  873. package/vendor/lodash-es/padEnd.es.js +1 -0
  874. package/vendor/lodash-es/padStart.es.js +1 -0
  875. package/vendor/lodash-es/parseInt.es.js +1 -0
  876. package/vendor/lodash-es/partial.es.js +1 -0
  877. package/vendor/lodash-es/partialRight.es.js +1 -0
  878. package/vendor/lodash-es/partition.es.js +1 -0
  879. package/vendor/lodash-es/pick.es.js +1 -0
  880. package/vendor/lodash-es/pickBy.es.js +1 -0
  881. package/vendor/lodash-es/plant.es.js +1 -0
  882. package/vendor/lodash-es/property.es.js +1 -0
  883. package/vendor/lodash-es/propertyOf.es.js +1 -0
  884. package/vendor/lodash-es/pull.es.js +1 -0
  885. package/vendor/lodash-es/pullAll.es.js +1 -0
  886. package/vendor/lodash-es/pullAllBy.es.js +1 -0
  887. package/vendor/lodash-es/pullAllWith.es.js +1 -0
  888. package/vendor/lodash-es/pullAt.es.js +1 -0
  889. package/vendor/lodash-es/random.es.js +1 -0
  890. package/vendor/lodash-es/range.es.js +1 -0
  891. package/vendor/lodash-es/rangeRight.es.js +1 -0
  892. package/vendor/lodash-es/rearg.es.js +1 -0
  893. package/vendor/lodash-es/reduce.es.js +1 -0
  894. package/vendor/lodash-es/reduceRight.es.js +1 -0
  895. package/vendor/lodash-es/reject.es.js +1 -0
  896. package/vendor/lodash-es/remove.es.js +1 -0
  897. package/vendor/lodash-es/repeat.es.js +1 -0
  898. package/vendor/lodash-es/replace.es.js +1 -0
  899. package/vendor/lodash-es/rest.es.js +1 -0
  900. package/vendor/lodash-es/result.es.js +1 -0
  901. package/vendor/lodash-es/reverse.es.js +1 -0
  902. package/vendor/lodash-es/round.es.js +1 -0
  903. package/vendor/lodash-es/sample.es.js +1 -0
  904. package/vendor/lodash-es/sampleSize.es.js +1 -0
  905. package/vendor/lodash-es/seq.default.es.js +1 -0
  906. package/vendor/lodash-es/seq.es.js +1 -0
  907. package/vendor/lodash-es/set.es.js +1 -0
  908. package/vendor/lodash-es/setWith.es.js +1 -0
  909. package/vendor/lodash-es/shuffle.es.js +1 -0
  910. package/vendor/lodash-es/size.es.js +1 -0
  911. package/vendor/lodash-es/slice.es.js +1 -0
  912. package/vendor/lodash-es/snakeCase.es.js +1 -0
  913. package/vendor/lodash-es/some.es.js +1 -0
  914. package/vendor/lodash-es/sortBy.es.js +1 -0
  915. package/vendor/lodash-es/sortedIndex.es.js +1 -0
  916. package/vendor/lodash-es/sortedIndexBy.es.js +1 -0
  917. package/vendor/lodash-es/sortedIndexOf.es.js +1 -0
  918. package/vendor/lodash-es/sortedLastIndex.es.js +1 -0
  919. package/vendor/lodash-es/sortedLastIndexBy.es.js +1 -0
  920. package/vendor/lodash-es/sortedLastIndexOf.es.js +1 -0
  921. package/vendor/lodash-es/sortedUniq.es.js +1 -0
  922. package/vendor/lodash-es/sortedUniqBy.es.js +1 -0
  923. package/vendor/lodash-es/split.es.js +1 -0
  924. package/vendor/lodash-es/spread.es.js +1 -0
  925. package/vendor/lodash-es/startCase.es.js +1 -0
  926. package/vendor/lodash-es/startsWith.es.js +1 -0
  927. package/vendor/lodash-es/string.default.es.js +1 -0
  928. package/vendor/lodash-es/string.es.js +1 -0
  929. package/vendor/lodash-es/stubArray.es.js +6 -0
  930. package/vendor/lodash-es/stubFalse.es.js +6 -0
  931. package/vendor/lodash-es/stubObject.es.js +1 -0
  932. package/vendor/lodash-es/stubString.es.js +1 -0
  933. package/vendor/lodash-es/stubTrue.es.js +1 -0
  934. package/vendor/lodash-es/subtract.es.js +1 -0
  935. package/vendor/lodash-es/sum.es.js +1 -0
  936. package/vendor/lodash-es/sumBy.es.js +1 -0
  937. package/vendor/lodash-es/tail.es.js +1 -0
  938. package/vendor/lodash-es/take.es.js +1 -0
  939. package/vendor/lodash-es/takeRight.es.js +1 -0
  940. package/vendor/lodash-es/takeRightWhile.es.js +1 -0
  941. package/vendor/lodash-es/takeWhile.es.js +1 -0
  942. package/vendor/lodash-es/tap.es.js +1 -0
  943. package/vendor/lodash-es/template.es.js +1 -0
  944. package/vendor/lodash-es/templateSettings.es.js +1 -0
  945. package/vendor/lodash-es/throttle.es.js +1 -0
  946. package/vendor/lodash-es/thru.es.js +1 -0
  947. package/vendor/lodash-es/times.es.js +1 -0
  948. package/vendor/lodash-es/toArray.es.js +1 -0
  949. package/vendor/lodash-es/toFinite.es.js +1 -0
  950. package/vendor/lodash-es/toInteger.es.js +1 -0
  951. package/vendor/lodash-es/toIterator.es.js +1 -0
  952. package/vendor/lodash-es/toJSON.es.js +1 -0
  953. package/vendor/lodash-es/toLength.es.js +1 -0
  954. package/vendor/lodash-es/toLower.es.js +1 -0
  955. package/vendor/lodash-es/toNumber.es.js +22 -0
  956. package/vendor/lodash-es/toPairs.es.js +1 -0
  957. package/vendor/lodash-es/toPairsIn.es.js +1 -0
  958. package/vendor/lodash-es/toPath.es.js +1 -0
  959. package/vendor/lodash-es/toPlainObject.es.js +1 -0
  960. package/vendor/lodash-es/toSafeInteger.es.js +1 -0
  961. package/vendor/lodash-es/toString.es.js +6 -0
  962. package/vendor/lodash-es/toUpper.es.js +1 -0
  963. package/vendor/lodash-es/transform.es.js +1 -0
  964. package/vendor/lodash-es/trim.es.js +1 -0
  965. package/vendor/lodash-es/trimEnd.es.js +1 -0
  966. package/vendor/lodash-es/trimStart.es.js +1 -0
  967. package/vendor/lodash-es/truncate.es.js +1 -0
  968. package/vendor/lodash-es/unary.es.js +1 -0
  969. package/vendor/lodash-es/unescape.es.js +1 -0
  970. package/vendor/lodash-es/union.es.js +1 -0
  971. package/vendor/lodash-es/unionBy.es.js +1 -0
  972. package/vendor/lodash-es/unionWith.es.js +1 -0
  973. package/vendor/lodash-es/uniq.es.js +1 -0
  974. package/vendor/lodash-es/uniqBy.es.js +1 -0
  975. package/vendor/lodash-es/uniqWith.es.js +1 -0
  976. package/vendor/lodash-es/uniqueId.es.js +9 -0
  977. package/vendor/lodash-es/unset.es.js +1 -0
  978. package/vendor/lodash-es/unzip.es.js +1 -0
  979. package/vendor/lodash-es/unzipWith.es.js +1 -0
  980. package/vendor/lodash-es/update.es.js +1 -0
  981. package/vendor/lodash-es/updateWith.es.js +1 -0
  982. package/vendor/lodash-es/upperCase.es.js +1 -0
  983. package/vendor/lodash-es/upperFirst.es.js +1 -0
  984. package/vendor/lodash-es/util.default.es.js +1 -0
  985. package/vendor/lodash-es/util.es.js +1 -0
  986. package/vendor/lodash-es/value.es.js +1 -0
  987. package/vendor/lodash-es/valueOf.es.js +1 -0
  988. package/vendor/lodash-es/values.es.js +1 -0
  989. package/vendor/lodash-es/valuesIn.es.js +1 -0
  990. package/vendor/lodash-es/without.es.js +1 -0
  991. package/vendor/lodash-es/words.es.js +1 -0
  992. package/vendor/lodash-es/wrap.es.js +1 -0
  993. package/vendor/lodash-es/wrapperAt.es.js +1 -0
  994. package/vendor/lodash-es/wrapperChain.es.js +1 -0
  995. package/vendor/lodash-es/wrapperLodash.es.js +1 -0
  996. package/vendor/lodash-es/wrapperReverse.es.js +1 -0
  997. package/vendor/lodash-es/wrapperValue.es.js +1 -0
  998. package/vendor/lodash-es/xor.es.js +1 -0
  999. package/vendor/lodash-es/xorBy.es.js +1 -0
  1000. package/vendor/lodash-es/xorWith.es.js +1 -0
  1001. package/vendor/lodash-es/zip.es.js +1 -0
  1002. package/vendor/lodash-es/zipObject.es.js +1 -0
  1003. package/vendor/lodash-es/zipObjectDeep.es.js +1 -0
  1004. package/vendor/lodash-es/zipWith.es.js +1 -0
  1005. package/vendor/luxon/src/datetime.es.js +1845 -0
  1006. package/vendor/luxon/src/duration.es.js +734 -0
  1007. package/vendor/luxon/src/errors.es.js +40 -0
  1008. package/vendor/luxon/src/impl/conversions.es.js +92 -0
  1009. package/vendor/luxon/src/impl/diff.es.js +36 -0
  1010. package/vendor/luxon/src/impl/digits.es.js +77 -0
  1011. package/vendor/luxon/src/impl/english.es.js +132 -0
  1012. package/vendor/luxon/src/impl/formats.es.js +150 -0
  1013. package/vendor/luxon/src/impl/formatter.es.js +274 -0
  1014. package/vendor/luxon/src/impl/invalid.es.js +11 -0
  1015. package/vendor/luxon/src/impl/locale.es.js +293 -0
  1016. package/vendor/luxon/src/impl/regexParser.es.js +202 -0
  1017. package/vendor/luxon/src/impl/tokenParser.es.js +344 -0
  1018. package/vendor/luxon/src/impl/util.es.js +217 -0
  1019. package/vendor/luxon/src/impl/zoneUtil.es.js +19 -0
  1020. package/vendor/luxon/src/info.es.js +180 -0
  1021. package/vendor/luxon/src/interval.es.js +477 -0
  1022. package/vendor/luxon/src/luxon.es.js +2 -0
  1023. package/vendor/luxon/src/settings.es.js +150 -0
  1024. package/vendor/luxon/src/zone.es.js +88 -0
  1025. package/vendor/luxon/src/zones/IANAZone.es.js +181 -0
  1026. package/vendor/luxon/src/zones/fixedOffsetZone.es.js +125 -0
  1027. package/vendor/luxon/src/zones/invalidZone.es.js +41 -0
  1028. package/vendor/luxon/src/zones/systemZone.es.js +47 -0
  1029. package/vendor/orderedmap/dist/index.es.js +103 -0
  1030. package/vendor/primevue/api/api.esm.es.js +183 -0
  1031. package/vendor/primevue/badge/badge.esm.es.js +42 -0
  1032. package/vendor/primevue/badge/style/badgestyle.esm.es.js +25 -0
  1033. package/vendor/primevue/base/style/basestyle.esm.es.js +140 -0
  1034. package/vendor/primevue/basecomponent/basecomponent.esm.es.js +409 -0
  1035. package/vendor/primevue/basedirective/basedirective.esm.es.js +255 -0
  1036. package/vendor/primevue/baseicon/baseicon.esm.es.js +81 -0
  1037. package/vendor/primevue/baseicon/style/baseiconstyle.esm.es.js +39 -0
  1038. package/vendor/primevue/button/button.esm.es.js +163 -0
  1039. package/vendor/primevue/button/style/buttonstyle.esm.es.js +56 -0
  1040. package/vendor/primevue/card/card.esm.es.js +40 -0
  1041. package/vendor/primevue/card/style/cardstyle.esm.es.js +17 -0
  1042. package/vendor/primevue/checkbox/checkbox.esm.es.js +189 -0
  1043. package/vendor/primevue/checkbox/style/checkboxstyle.esm.es.js +21 -0
  1044. package/vendor/primevue/config/config.esm.es.js +212 -0
  1045. package/vendor/primevue/dialog/dialog.esm.es.js +501 -0
  1046. package/vendor/primevue/dialog/style/dialogstyle.esm.es.js +55 -0
  1047. package/vendor/primevue/dropdown/dropdown.esm.es.js +1229 -0
  1048. package/vendor/primevue/dropdown/style/dropdownstyle.esm.es.js +65 -0
  1049. package/vendor/primevue/fileupload/fileupload.esm.es.js +761 -0
  1050. package/vendor/primevue/fileupload/style/fileuploadstyle.esm.es.js +36 -0
  1051. package/vendor/primevue/focustrap/focustrap.esm.es.js +129 -0
  1052. package/vendor/primevue/focustrap/style/focustrapstyle.esm.es.js +4 -0
  1053. package/vendor/primevue/icons/angledoubleleft/index.esm.es.js +24 -0
  1054. package/vendor/primevue/icons/angledoubleright/index.esm.es.js +24 -0
  1055. package/vendor/primevue/icons/angledown/index.esm.es.js +22 -0
  1056. package/vendor/primevue/icons/angleleft/index.esm.es.js +22 -0
  1057. package/vendor/primevue/icons/angleright/index.esm.es.js +22 -0
  1058. package/vendor/primevue/icons/angleup/index.esm.es.js +22 -0
  1059. package/vendor/primevue/icons/blank/index.esm.es.js +24 -0
  1060. package/vendor/primevue/icons/check/index.esm.es.js +22 -0
  1061. package/vendor/primevue/icons/chevrondown/index.esm.es.js +22 -0
  1062. package/vendor/primevue/icons/exclamationtriangle/index.esm.es.js +28 -0
  1063. package/vendor/primevue/icons/eye/index.esm.es.js +24 -0
  1064. package/vendor/primevue/icons/eyeslash/index.esm.es.js +24 -0
  1065. package/vendor/primevue/icons/infocircle/index.esm.es.js +24 -0
  1066. package/vendor/primevue/icons/plus/index.esm.es.js +22 -0
  1067. package/vendor/primevue/icons/refresh/index.esm.es.js +24 -0
  1068. package/vendor/primevue/icons/search/index.esm.es.js +24 -0
  1069. package/vendor/primevue/icons/searchminus/index.esm.es.js +24 -0
  1070. package/vendor/primevue/icons/searchplus/index.esm.es.js +24 -0
  1071. package/vendor/primevue/icons/spinner/index.esm.es.js +22 -0
  1072. package/vendor/primevue/icons/times/index.esm.es.js +22 -0
  1073. package/vendor/primevue/icons/timescircle/index.esm.es.js +24 -0
  1074. package/vendor/primevue/icons/undo/index.esm.es.js +24 -0
  1075. package/vendor/primevue/icons/upload/index.esm.es.js +24 -0
  1076. package/vendor/primevue/icons/windowmaximize/index.esm.es.js +24 -0
  1077. package/vendor/primevue/icons/windowminimize/index.esm.es.js +24 -0
  1078. package/vendor/primevue/image/image.esm.es.js +381 -0
  1079. package/vendor/primevue/image/style/imagestyle.esm.es.js +39 -0
  1080. package/vendor/primevue/inputgroup/inputgroup.esm.es.js +26 -0
  1081. package/vendor/primevue/inputgroup/style/inputgroupstyle.esm.es.js +10 -0
  1082. package/vendor/primevue/inputgroupaddon/inputgroupaddon.esm.es.js +26 -0
  1083. package/vendor/primevue/inputgroupaddon/style/inputgroupaddonstyle.esm.es.js +10 -0
  1084. package/vendor/primevue/inputnumber/inputnumber.esm.es.js +937 -0
  1085. package/vendor/primevue/inputnumber/style/inputnumberstyle.esm.es.js +39 -0
  1086. package/vendor/primevue/inputtext/inputtext.esm.es.js +66 -0
  1087. package/vendor/primevue/inputtext/style/inputtextstyle.esm.es.js +19 -0
  1088. package/vendor/primevue/menu/menu.esm.es.js +508 -0
  1089. package/vendor/primevue/menu/style/menustyle.esm.es.js +32 -0
  1090. package/vendor/primevue/message/message.esm.es.js +201 -0
  1091. package/vendor/primevue/message/style/messagestyle.esm.es.js +18 -0
  1092. package/vendor/primevue/multiselect/multiselect.esm.es.js +1383 -0
  1093. package/vendor/primevue/multiselect/style/multiselectstyle.esm.es.js +74 -0
  1094. package/vendor/primevue/overlayeventbus/overlayeventbus.esm.es.js +5 -0
  1095. package/vendor/primevue/overlaypanel/overlaypanel.esm.es.js +294 -0
  1096. package/vendor/primevue/overlaypanel/style/overlaypanelstyle.esm.es.js +18 -0
  1097. package/vendor/primevue/paginator/paginator.esm.es.js +838 -0
  1098. package/vendor/primevue/paginator/style/paginatorstyle.esm.es.js +81 -0
  1099. package/vendor/primevue/password/password.esm.es.js +443 -0
  1100. package/vendor/primevue/password/style/passwordstyle.esm.es.js +45 -0
  1101. package/vendor/primevue/portal/portal.esm.es.js +40 -0
  1102. package/vendor/primevue/progressbar/progressbar.esm.es.js +72 -0
  1103. package/vendor/primevue/progressbar/style/progressbarstyle.esm.es.js +19 -0
  1104. package/vendor/primevue/ripple/ripple.esm.es.js +90 -0
  1105. package/vendor/primevue/ripple/style/ripplestyle.esm.es.js +10 -0
  1106. package/vendor/primevue/selectbutton/selectbutton.esm.es.js +278 -0
  1107. package/vendor/primevue/selectbutton/style/selectbuttonstyle.esm.es.js +24 -0
  1108. package/vendor/primevue/skeleton/skeleton.esm.es.js +67 -0
  1109. package/vendor/primevue/skeleton/style/skeletonstyle.esm.es.js +21 -0
  1110. package/vendor/primevue/textarea/style/textareastyle.esm.es.js +18 -0
  1111. package/vendor/primevue/textarea/textarea.esm.es.js +70 -0
  1112. package/vendor/primevue/timeline/style/timelinestyle.esm.es.js +19 -0
  1113. package/vendor/primevue/timeline/timeline.esm.es.js +86 -0
  1114. package/vendor/primevue/toast/style/toaststyle.esm.es.js +73 -0
  1115. package/vendor/primevue/toast/toast.esm.es.js +451 -0
  1116. package/vendor/primevue/toasteventbus/toasteventbus.esm.es.js +5 -0
  1117. package/vendor/primevue/toastservice/toastservice.esm.es.js +24 -0
  1118. package/vendor/primevue/tooltip/style/tooltipstyle.esm.es.js +12 -0
  1119. package/vendor/primevue/tooltip/tooltip.esm.es.js +256 -0
  1120. package/vendor/primevue/usestyle/usestyle.esm.es.js +85 -0
  1121. package/vendor/primevue/usetoast/usetoast.esm.es.js +12 -0
  1122. package/vendor/primevue/utils/utils.esm.es.js +1080 -0
  1123. package/vendor/primevue/virtualscroller/style/virtualscrollerstyle.esm.es.js +71 -0
  1124. package/vendor/primevue/virtualscroller/virtualscroller.esm.es.js +704 -0
  1125. package/vendor/prosemirror-commands/dist/index.es.js +383 -0
  1126. package/vendor/prosemirror-history/dist/index.es.js +248 -0
  1127. package/vendor/prosemirror-keymap/dist/index.es.js +60 -0
  1128. package/vendor/prosemirror-model/dist/index.es.js +2736 -0
  1129. package/vendor/prosemirror-schema-list/dist/index.es.js +87 -0
  1130. package/vendor/prosemirror-state/dist/index.es.js +820 -0
  1131. package/vendor/prosemirror-transform/dist/index.es.js +1507 -0
  1132. package/vendor/prosemirror-view/dist/index.es.js +3742 -0
  1133. package/vendor/qrcode/lib/browser.es.js +43 -0
  1134. package/vendor/qrcode/lib/can-promise.es.js +9 -0
  1135. package/vendor/qrcode/lib/core/alignment-pattern.es.js +25 -0
  1136. package/vendor/qrcode/lib/core/alphanumeric-data.es.js +73 -0
  1137. package/vendor/qrcode/lib/core/bit-buffer.es.js +28 -0
  1138. package/vendor/qrcode/lib/core/bit-matrix.es.js +23 -0
  1139. package/vendor/qrcode/lib/core/byte-data.es.js +23 -0
  1140. package/vendor/qrcode/lib/core/error-correction-code.es.js +361 -0
  1141. package/vendor/qrcode/lib/core/error-correction-level.es.js +40 -0
  1142. package/vendor/qrcode/lib/core/finder-pattern.es.js +21 -0
  1143. package/vendor/qrcode/lib/core/format-info.es.js +17 -0
  1144. package/vendor/qrcode/lib/core/galois-field.es.js +23 -0
  1145. package/vendor/qrcode/lib/core/kanji-data.es.js +36 -0
  1146. package/vendor/qrcode/lib/core/mask-pattern.es.js +101 -0
  1147. package/vendor/qrcode/lib/core/mode.es.js +67 -0
  1148. package/vendor/qrcode/lib/core/numeric-data.es.js +26 -0
  1149. package/vendor/qrcode/lib/core/polynomial.es.js +33 -0
  1150. package/vendor/qrcode/lib/core/qrcode.es.js +153 -0
  1151. package/vendor/qrcode/lib/core/reed-solomon-encoder.es.js +27 -0
  1152. package/vendor/qrcode/lib/core/regex.es.js +22 -0
  1153. package/vendor/qrcode/lib/core/segments.es.js +145 -0
  1154. package/vendor/qrcode/lib/core/utils.es.js +73 -0
  1155. package/vendor/qrcode/lib/core/version-check.es.js +9 -0
  1156. package/vendor/qrcode/lib/core/version.es.js +74 -0
  1157. package/vendor/qrcode/lib/renderer/canvas.es.js +31 -0
  1158. package/vendor/qrcode/lib/renderer/svg-tag.es.js +31 -0
  1159. package/vendor/qrcode/lib/renderer/utils.es.js +57 -0
  1160. package/vendor/rope-sequence/dist/index.es.js +100 -0
  1161. package/vendor/simplebar-core/dist/index.es.js +339 -0
  1162. package/vendor/simplebar-vue/dist/simplebar-vue.esm.es.js +176 -0
  1163. package/vendor/single-spa/lib/es2015/esm/single-spa.min.es.js +668 -0
  1164. package/vendor/tippy.js/dist/tippy.esm.es.js +722 -0
  1165. package/vendor/uuid/dist/esm-browser/index.es.js +1 -0
  1166. package/vendor/uuid/dist/esm-browser/md5.es.js +1 -0
  1167. package/vendor/uuid/dist/esm-browser/native.es.js +6 -0
  1168. package/vendor/uuid/dist/esm-browser/nil.es.js +1 -0
  1169. package/vendor/uuid/dist/esm-browser/parse.es.js +1 -0
  1170. package/vendor/uuid/dist/esm-browser/regex.es.js +1 -0
  1171. package/vendor/uuid/dist/esm-browser/rng.es.js +10 -0
  1172. package/vendor/uuid/dist/esm-browser/sha1.es.js +1 -0
  1173. package/vendor/uuid/dist/esm-browser/stringify.es.js +9 -0
  1174. package/vendor/uuid/dist/esm-browser/v1.es.js +1 -0
  1175. package/vendor/uuid/dist/esm-browser/v3.es.js +1 -0
  1176. package/vendor/uuid/dist/esm-browser/v35.es.js +1 -0
  1177. package/vendor/uuid/dist/esm-browser/v4.es.js +13 -0
  1178. package/vendor/uuid/dist/esm-browser/v5.es.js +1 -0
  1179. package/vendor/uuid/dist/esm-browser/validate.es.js +1 -0
  1180. package/vendor/uuid/dist/esm-browser/version.es.js +1 -0
  1181. package/vendor/vee-validate/dist/vee-validate.esm.es.js +1309 -0
  1182. package/vendor/vue-advanced-cropper/dist/index.esm-bundler.es.js +1380 -0
  1183. package/vendor/vue-demi/lib/index.es.js +1 -0
  1184. package/vendor/w3c-keyname/index.es.js +92 -0
  1185. package/{main.d.ts → wangsvue-fats.d.ts} +4 -6
  1186. package/wangsvue-fats.es.js +229 -0
  1187. package/{wangsvue-fats.js → wangsvue-fats.esm.browser.js} +47786 -40517
  1188. package/wangsvue-fats.system.js +88 -88
  1189. package/components/dialogassetnamedetail/options/columns.d.ts +0 -2
  1190. package/components/dialogassetnamedetail/options/filter.d.ts +0 -2
  1191. package/components/index.d.ts +0 -83
  1192. package/components/menuitem/index.d.ts +0 -106
  1193. package/plugins/i18n-extension.d.ts +0 -4
  1194. /package/{components/basecomponent → basecomponent}/index.d.ts +0 -0
  1195. /package/{components/basetree/BaseTree.vue.d.ts → basetree/index.d.ts} +0 -0
  1196. /package/{components/breadcrumb/Breadcrumb.vue.d.ts → breadcrumb/index.d.ts} +0 -0
  1197. /package/{components/buttonbulkaction/ButtonBulkAction.vue.d.ts → buttonbulkaction/index.d.ts} +0 -0
  1198. /package/{components/buttoncopy/ButtonCopy.vue.d.ts → buttoncopy/index.d.ts} +0 -0
  1199. /package/{components/buttonfilter/ButtonFilter.vue.d.ts → buttonfilter/index.d.ts} +0 -0
  1200. /package/{components/buttonradio/ButtonRadio.vue.d.ts → buttonradio/index.d.ts} +0 -0
  1201. /package/{components/buttonsearch/ButtonSearch.vue.d.ts → buttonsearch/index.d.ts} +0 -0
  1202. /package/{components/buttonsync/ButtonSync.vue.d.ts → buttonsync/index.d.ts} +0 -0
  1203. /package/{components/card/Card.vue.d.ts → card/index.d.ts} +0 -0
  1204. /package/{components/checkbox/Checkbox.vue.d.ts → checkbox/index.d.ts} +0 -0
  1205. /package/{components/dialog/Dialog.vue.d.ts → dialog/index.d.ts} +0 -0
  1206. /package/{components/dialogassetnamedetail/DialogAssetNameDetail.vue.d.ts → dialogassetnamedetail/index.d.ts} +0 -0
  1207. /package/{components/editor/Editor.vue.d.ts → editor/index.d.ts} +0 -0
  1208. /package/{components/fieldwrapper/FieldWrapper.vue.d.ts → fieldwrapper/index.d.ts} +0 -0
  1209. /package/{components/form/Form.vue.d.ts → form/index.d.ts} +0 -0
  1210. /package/{components/inlinemessage/InlineMessage.vue.d.ts → inlinemessage/index.d.ts} +0 -0
  1211. /package/{components/inputotp/InputOtp.vue.d.ts → inputotp/index.d.ts} +0 -0
  1212. /package/{components/invisiblefield/InvisibleField.vue.d.ts → invisiblefield/index.d.ts} +0 -0
  1213. /package/{components/languageswitcher/LanguageSwitcher.vue.d.ts → languageswitcher/index.d.ts} +0 -0
  1214. /package/{components/loading/Loading.vue.d.ts → loading/index.d.ts} +0 -0
  1215. /package/{components/loading/store/loading.store.d.ts → loading/store/index.d.ts} +0 -0
  1216. /package/{components/menu/Menu.vue.d.ts → menu/index.d.ts} +0 -0
  1217. /package/{components/overlaypanel/OverlayPanel.vue.d.ts → overlaypanel/index.d.ts} +0 -0
  1218. /package/{components/paginator/Paginator.vue.d.ts → paginator/index.d.ts} +0 -0
  1219. /package/{components/passthrough → passthrough}/index.d.ts +0 -0
  1220. /package/{components/tagtype/TagType.vue.d.ts → tagtype/index.d.ts} +0 -0
  1221. /package/{components/toggleswitch/ToggleSwitch.vue.d.ts → toggleswitch/index.d.ts} +0 -0
  1222. /package/{components/transactionroles/TransactionRoles.vue.d.ts → transactionroles/index.d.ts} +0 -0
  1223. /package/{components/tree → tree}/helpers/filterNodeKeys.helper.d.ts +0 -0
  1224. /package/{components/treesearchinput/TreeSearchInput.vue.d.ts → treesearchinput/index.d.ts} +0 -0
  1225. /package/{components/ts-helpers.d.ts → ts-helpers.d.ts} +0 -0
  1226. /package/{components/username/UserName.vue.d.ts → username/index.d.ts} +0 -0
  1227. /package/{components/validatormessage/ValidatorMessage.vue.d.ts → validatormessage/index.d.ts} +0 -0
@@ -0,0 +1,1845 @@
1
+ import { D as E } from "./duration.es.js";
2
+ import { I as Ie } from "./interval.es.js";
3
+ import { S as T } from "./settings.es.js";
4
+ import { I as p } from "./info.es.js";
5
+ import { F as O } from "./impl/formatter.es.js";
6
+ import { F as ee } from "./zones/fixedOffsetZone.es.js";
7
+ import { L as y } from "./impl/locale.es.js";
8
+ import { i as f, a as C, b as Ne, n as te, o as J, c as De, d as P, e as Me, w as se, m as be, f as ne, p as m, r as ve } from "./impl/util.es.js";
9
+ import { n as S } from "./impl/zoneUtil.es.js";
10
+ import { d as _e } from "./impl/diff.es.js";
11
+ import { p as Ve, a as We, b as Fe, c as pe } from "./impl/regexParser.es.js";
12
+ import { p as Le, f as ze, e as He, a as Ce, T as Ue } from "./impl/tokenParser.es.js";
13
+ import { u as re, g as Y, a as j, h as Ae, b as xe, c as me, d as ye, w as ie, o as ae } from "./impl/conversions.es.js";
14
+ import { D as oe, a as Ye, b as Ze, c as je, d as qe, T as Ge, e as Re, f as $e, g as Pe, h as Qe, i as Je, j as Ke, k as Be, l as Xe, m as et, n as tt, o as st, p as nt, q as rt, r as it, s as at, t as ot } from "./impl/formats.es.js";
15
+ import { I as w, C as L, a as lt, b as ut } from "./errors.es.js";
16
+ import { I } from "./impl/invalid.es.js";
17
+ const q = "Invalid DateTime", ct = 864e13;
18
+ function v(s) {
19
+ return new I("unsupported zone", `the zone "${s.name}" is not supported`);
20
+ }
21
+ function G(s) {
22
+ return s.weekData === null && (s.weekData = Y(s.c)), s.weekData;
23
+ }
24
+ function R(s) {
25
+ return s.localWeekData === null && (s.localWeekData = Y(
26
+ s.c,
27
+ s.loc.getMinDaysInFirstWeek(),
28
+ s.loc.getStartOfWeek()
29
+ )), s.localWeekData;
30
+ }
31
+ function k(s, e) {
32
+ const t = {
33
+ ts: s.ts,
34
+ zone: s.zone,
35
+ c: s.c,
36
+ o: s.o,
37
+ loc: s.loc,
38
+ invalid: s.invalid
39
+ };
40
+ return new u({ ...t, ...e, old: t });
41
+ }
42
+ function Te(s, e, t) {
43
+ let n = s - e * 60 * 1e3;
44
+ const r = t.offset(n);
45
+ if (e === r)
46
+ return [n, e];
47
+ n -= (r - e) * 60 * 1e3;
48
+ const i = t.offset(n);
49
+ return r === i ? [n, r] : [s - Math.min(r, i) * 60 * 1e3, Math.max(r, i)];
50
+ }
51
+ function z(s, e) {
52
+ s += e * 60 * 1e3;
53
+ const t = new Date(s);
54
+ return {
55
+ year: t.getUTCFullYear(),
56
+ month: t.getUTCMonth() + 1,
57
+ day: t.getUTCDate(),
58
+ hour: t.getUTCHours(),
59
+ minute: t.getUTCMinutes(),
60
+ second: t.getUTCSeconds(),
61
+ millisecond: t.getUTCMilliseconds()
62
+ };
63
+ }
64
+ function U(s, e, t) {
65
+ return Te(J(s), e, t);
66
+ }
67
+ function le(s, e) {
68
+ const t = s.o, n = s.c.year + Math.trunc(e.years), r = s.c.month + Math.trunc(e.months) + Math.trunc(e.quarters) * 3, i = {
69
+ ...s.c,
70
+ year: n,
71
+ month: r,
72
+ day: Math.min(s.c.day, P(n, r)) + Math.trunc(e.days) + Math.trunc(e.weeks) * 7
73
+ }, l = E.fromObject({
74
+ years: e.years - Math.trunc(e.years),
75
+ quarters: e.quarters - Math.trunc(e.quarters),
76
+ months: e.months - Math.trunc(e.months),
77
+ weeks: e.weeks - Math.trunc(e.weeks),
78
+ days: e.days - Math.trunc(e.days),
79
+ hours: e.hours,
80
+ minutes: e.minutes,
81
+ seconds: e.seconds,
82
+ milliseconds: e.milliseconds
83
+ }).as("milliseconds"), o = J(i);
84
+ let [a, c] = Te(o, t, s.zone);
85
+ return l !== 0 && (a += l, c = s.zone.offset(a)), { ts: a, o: c };
86
+ }
87
+ function g(s, e, t, n, r, i) {
88
+ const { setZone: l, zone: o } = t;
89
+ if (s && Object.keys(s).length !== 0 || e) {
90
+ const a = e || o, c = u.fromObject(s, {
91
+ ...t,
92
+ zone: a,
93
+ specificOffset: i
94
+ });
95
+ return l ? c : c.setZone(o);
96
+ } else
97
+ return u.invalid(
98
+ new I("unparsable", `the input "${r}" can't be parsed as ${n}`)
99
+ );
100
+ }
101
+ function H(s, e, t = !0) {
102
+ return s.isValid ? O.create(y.create("en-US"), {
103
+ allowZ: t,
104
+ forceSimple: !0
105
+ }).formatDateTimeFromString(s, e) : null;
106
+ }
107
+ function $(s, e, t) {
108
+ const n = s.c.year > 9999 || s.c.year < 0;
109
+ let r = "";
110
+ if (n && s.c.year >= 0 && (r += "+"), r += m(s.c.year, n ? 6 : 4), t === "year") return r;
111
+ if (e) {
112
+ if (r += "-", r += m(s.c.month), t === "month") return r;
113
+ r += "-";
114
+ } else if (r += m(s.c.month), t === "month") return r;
115
+ return r += m(s.c.day), r;
116
+ }
117
+ function ue(s, e, t, n, r, i, l) {
118
+ let o = !t || s.c.millisecond !== 0 || s.c.second !== 0, a = "";
119
+ switch (l) {
120
+ case "day":
121
+ case "month":
122
+ case "year":
123
+ break;
124
+ default:
125
+ if (a += m(s.c.hour), l === "hour") break;
126
+ if (e) {
127
+ if (a += ":", a += m(s.c.minute), l === "minute") break;
128
+ o && (a += ":", a += m(s.c.second));
129
+ } else {
130
+ if (a += m(s.c.minute), l === "minute") break;
131
+ o && (a += m(s.c.second));
132
+ }
133
+ if (l === "second") break;
134
+ o && (!n || s.c.millisecond !== 0) && (a += ".", a += m(s.c.millisecond, 3));
135
+ }
136
+ return r && (s.isOffsetFixed && s.offset === 0 && !i ? a += "Z" : s.o < 0 ? (a += "-", a += m(Math.trunc(-s.o / 60)), a += ":", a += m(Math.trunc(-s.o % 60))) : (a += "+", a += m(Math.trunc(s.o / 60)), a += ":", a += m(Math.trunc(s.o % 60)))), i && (a += "[" + s.zone.ianaName + "]"), a;
137
+ }
138
+ const we = {
139
+ month: 1,
140
+ day: 1,
141
+ hour: 0,
142
+ minute: 0,
143
+ second: 0,
144
+ millisecond: 0
145
+ }, ft = {
146
+ weekNumber: 1,
147
+ weekday: 1,
148
+ hour: 0,
149
+ minute: 0,
150
+ second: 0,
151
+ millisecond: 0
152
+ }, dt = {
153
+ ordinal: 1,
154
+ hour: 0,
155
+ minute: 0,
156
+ second: 0,
157
+ millisecond: 0
158
+ }, A = ["year", "month", "day", "hour", "minute", "second", "millisecond"], ht = [
159
+ "weekYear",
160
+ "weekNumber",
161
+ "weekday",
162
+ "hour",
163
+ "minute",
164
+ "second",
165
+ "millisecond"
166
+ ], mt = ["year", "ordinal", "hour", "minute", "second", "millisecond"];
167
+ function x(s) {
168
+ const e = {
169
+ year: "year",
170
+ years: "year",
171
+ month: "month",
172
+ months: "month",
173
+ day: "day",
174
+ days: "day",
175
+ hour: "hour",
176
+ hours: "hour",
177
+ minute: "minute",
178
+ minutes: "minute",
179
+ quarter: "quarter",
180
+ quarters: "quarter",
181
+ second: "second",
182
+ seconds: "second",
183
+ millisecond: "millisecond",
184
+ milliseconds: "millisecond",
185
+ weekday: "weekday",
186
+ weekdays: "weekday",
187
+ weeknumber: "weekNumber",
188
+ weeksnumber: "weekNumber",
189
+ weeknumbers: "weekNumber",
190
+ weekyear: "weekYear",
191
+ weekyears: "weekYear",
192
+ ordinal: "ordinal"
193
+ }[s.toLowerCase()];
194
+ if (!e) throw new ut(s);
195
+ return e;
196
+ }
197
+ function ce(s) {
198
+ switch (s.toLowerCase()) {
199
+ case "localweekday":
200
+ case "localweekdays":
201
+ return "localWeekday";
202
+ case "localweeknumber":
203
+ case "localweeknumbers":
204
+ return "localWeekNumber";
205
+ case "localweekyear":
206
+ case "localweekyears":
207
+ return "localWeekYear";
208
+ default:
209
+ return x(s);
210
+ }
211
+ }
212
+ function yt(s) {
213
+ if (_ === void 0 && (_ = T.now()), s.type !== "iana")
214
+ return s.offset(_);
215
+ const e = s.name;
216
+ let t = Q.get(e);
217
+ return t === void 0 && (t = s.offset(_), Q.set(e, t)), t;
218
+ }
219
+ function fe(s, e) {
220
+ const t = S(e.zone, T.defaultZone);
221
+ if (!t.isValid)
222
+ return u.invalid(v(t));
223
+ const n = y.fromObject(e);
224
+ let r, i;
225
+ if (f(s.year))
226
+ r = T.now();
227
+ else {
228
+ for (const a of A)
229
+ f(s[a]) && (s[a] = we[a]);
230
+ const l = me(s) || ye(s);
231
+ if (l)
232
+ return u.invalid(l);
233
+ const o = yt(t);
234
+ [r, i] = U(s, o, t);
235
+ }
236
+ return new u({ ts: r, zone: t, loc: n, o: i });
237
+ }
238
+ function de(s, e, t) {
239
+ const n = f(t.round) ? !0 : t.round, r = f(t.rounding) ? "trunc" : t.rounding, i = (o, a) => (o = ve(o, n || t.calendary ? 0 : 2, t.calendary ? "round" : r), e.loc.clone(t).relFormatter(t).format(o, a)), l = (o) => t.calendary ? e.hasSame(s, o) ? 0 : e.startOf(o).diff(s.startOf(o), o).get(o) : e.diff(s, o).get(o);
240
+ if (t.unit)
241
+ return i(l(t.unit), t.unit);
242
+ for (const o of t.units) {
243
+ const a = l(o);
244
+ if (Math.abs(a) >= 1)
245
+ return i(a, o);
246
+ }
247
+ return i(s > e ? -0 : 0, t.units[t.units.length - 1]);
248
+ }
249
+ function he(s) {
250
+ let e = {}, t;
251
+ return s.length > 0 && typeof s[s.length - 1] == "object" ? (e = s[s.length - 1], t = Array.from(s).slice(0, s.length - 1)) : t = Array.from(s), [e, t];
252
+ }
253
+ let _;
254
+ const Q = /* @__PURE__ */ new Map();
255
+ class u {
256
+ /**
257
+ * @access private
258
+ */
259
+ constructor(e) {
260
+ const t = e.zone || T.defaultZone;
261
+ let n = e.invalid || (Number.isNaN(e.ts) ? new I("invalid input") : null) || (t.isValid ? null : v(t));
262
+ this.ts = f(e.ts) ? T.now() : e.ts;
263
+ let r = null, i = null;
264
+ if (!n)
265
+ if (e.old && e.old.ts === this.ts && e.old.zone.equals(t))
266
+ [r, i] = [e.old.c, e.old.o];
267
+ else {
268
+ const o = C(e.o) && !e.old ? e.o : t.offset(this.ts);
269
+ r = z(this.ts, o), n = Number.isNaN(r.year) ? new I("invalid input") : null, r = n ? null : r, i = n ? null : o;
270
+ }
271
+ this._zone = t, this.loc = e.loc || y.create(), this.invalid = n, this.weekData = null, this.localWeekData = null, this.c = r, this.o = i, this.isLuxonDateTime = !0;
272
+ }
273
+ // CONSTRUCT
274
+ /**
275
+ * Create a DateTime for the current instant, in the system's time zone.
276
+ *
277
+ * Use Settings to override these default values if needed.
278
+ * @example DateTime.now().toISO() //~> now in the ISO format
279
+ * @return {DateTime}
280
+ */
281
+ static now() {
282
+ return new u({});
283
+ }
284
+ /**
285
+ * Create a local DateTime
286
+ * @param {number} [year] - The calendar year. If omitted (as in, call `local()` with no arguments), the current time will be used
287
+ * @param {number} [month=1] - The month, 1-indexed
288
+ * @param {number} [day=1] - The day of the month, 1-indexed
289
+ * @param {number} [hour=0] - The hour of the day, in 24-hour time
290
+ * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
291
+ * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
292
+ * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
293
+ * @example DateTime.local() //~> now
294
+ * @example DateTime.local({ zone: "America/New_York" }) //~> now, in US east coast time
295
+ * @example DateTime.local(2017) //~> 2017-01-01T00:00:00
296
+ * @example DateTime.local(2017, 3) //~> 2017-03-01T00:00:00
297
+ * @example DateTime.local(2017, 3, 12, { locale: "fr" }) //~> 2017-03-12T00:00:00, with a French locale
298
+ * @example DateTime.local(2017, 3, 12, 5) //~> 2017-03-12T05:00:00
299
+ * @example DateTime.local(2017, 3, 12, 5, { zone: "utc" }) //~> 2017-03-12T05:00:00, in UTC
300
+ * @example DateTime.local(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00
301
+ * @example DateTime.local(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10
302
+ * @example DateTime.local(2017, 3, 12, 5, 45, 10, 765) //~> 2017-03-12T05:45:10.765
303
+ * @return {DateTime}
304
+ */
305
+ static local() {
306
+ const [e, t] = he(arguments), [n, r, i, l, o, a, c] = t;
307
+ return fe({ year: n, month: r, day: i, hour: l, minute: o, second: a, millisecond: c }, e);
308
+ }
309
+ /**
310
+ * Create a DateTime in UTC
311
+ * @param {number} [year] - The calendar year. If omitted (as in, call `utc()` with no arguments), the current time will be used
312
+ * @param {number} [month=1] - The month, 1-indexed
313
+ * @param {number} [day=1] - The day of the month
314
+ * @param {number} [hour=0] - The hour of the day, in 24-hour time
315
+ * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
316
+ * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
317
+ * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
318
+ * @param {Object} options - configuration options for the DateTime
319
+ * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
320
+ * @param {string} [options.outputCalendar] - the output calendar to set on the resulting DateTime instance
321
+ * @param {string} [options.numberingSystem] - the numbering system to set on the resulting DateTime instance
322
+ * @param {string} [options.weekSettings] - the week settings to set on the resulting DateTime instance
323
+ * @example DateTime.utc() //~> now
324
+ * @example DateTime.utc(2017) //~> 2017-01-01T00:00:00Z
325
+ * @example DateTime.utc(2017, 3) //~> 2017-03-01T00:00:00Z
326
+ * @example DateTime.utc(2017, 3, 12) //~> 2017-03-12T00:00:00Z
327
+ * @example DateTime.utc(2017, 3, 12, 5) //~> 2017-03-12T05:00:00Z
328
+ * @example DateTime.utc(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00Z
329
+ * @example DateTime.utc(2017, 3, 12, 5, 45, { locale: "fr" }) //~> 2017-03-12T05:45:00Z with a French locale
330
+ * @example DateTime.utc(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10Z
331
+ * @example DateTime.utc(2017, 3, 12, 5, 45, 10, 765, { locale: "fr" }) //~> 2017-03-12T05:45:10.765Z with a French locale
332
+ * @return {DateTime}
333
+ */
334
+ static utc() {
335
+ const [e, t] = he(arguments), [n, r, i, l, o, a, c] = t;
336
+ return e.zone = ee.utcInstance, fe({ year: n, month: r, day: i, hour: l, minute: o, second: a, millisecond: c }, e);
337
+ }
338
+ /**
339
+ * Create a DateTime from a JavaScript Date object. Uses the default zone.
340
+ * @param {Date} date - a JavaScript Date object
341
+ * @param {Object} options - configuration options for the DateTime
342
+ * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
343
+ * @return {DateTime}
344
+ */
345
+ static fromJSDate(e, t = {}) {
346
+ const n = Ne(e) ? e.valueOf() : NaN;
347
+ if (Number.isNaN(n))
348
+ return u.invalid("invalid input");
349
+ const r = S(t.zone, T.defaultZone);
350
+ return r.isValid ? new u({
351
+ ts: n,
352
+ zone: r,
353
+ loc: y.fromObject(t)
354
+ }) : u.invalid(v(r));
355
+ }
356
+ /**
357
+ * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
358
+ * @param {number} milliseconds - a number of milliseconds since 1970 UTC
359
+ * @param {Object} options - configuration options for the DateTime
360
+ * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
361
+ * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
362
+ * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
363
+ * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
364
+ * @param {string} options.weekSettings - the week settings to set on the resulting DateTime instance
365
+ * @return {DateTime}
366
+ */
367
+ static fromMillis(e, t = {}) {
368
+ if (C(e))
369
+ return e < -864e13 || e > ct ? u.invalid("Timestamp out of range") : new u({
370
+ ts: e,
371
+ zone: S(t.zone, T.defaultZone),
372
+ loc: y.fromObject(t)
373
+ });
374
+ throw new w(
375
+ `fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`
376
+ );
377
+ }
378
+ /**
379
+ * Create a DateTime from a number of seconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
380
+ * @param {number} seconds - a number of seconds since 1970 UTC
381
+ * @param {Object} options - configuration options for the DateTime
382
+ * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
383
+ * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
384
+ * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
385
+ * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
386
+ * @param {string} options.weekSettings - the week settings to set on the resulting DateTime instance
387
+ * @return {DateTime}
388
+ */
389
+ static fromSeconds(e, t = {}) {
390
+ if (C(e))
391
+ return new u({
392
+ ts: e * 1e3,
393
+ zone: S(t.zone, T.defaultZone),
394
+ loc: y.fromObject(t)
395
+ });
396
+ throw new w("fromSeconds requires a numerical input");
397
+ }
398
+ /**
399
+ * Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
400
+ * @param {Object} obj - the object to create the DateTime from
401
+ * @param {number} obj.year - a year, such as 1987
402
+ * @param {number} obj.month - a month, 1-12
403
+ * @param {number} obj.day - a day of the month, 1-31, depending on the month
404
+ * @param {number} obj.ordinal - day of the year, 1-365 or 366
405
+ * @param {number} obj.weekYear - an ISO week year
406
+ * @param {number} obj.weekNumber - an ISO week number, between 1 and 52 or 53, depending on the year
407
+ * @param {number} obj.weekday - an ISO weekday, 1-7, where 1 is Monday and 7 is Sunday
408
+ * @param {number} obj.localWeekYear - a week year, according to the locale
409
+ * @param {number} obj.localWeekNumber - a week number, between 1 and 52 or 53, depending on the year, according to the locale
410
+ * @param {number} obj.localWeekday - a weekday, 1-7, where 1 is the first and 7 is the last day of the week, according to the locale
411
+ * @param {number} obj.hour - hour of the day, 0-23
412
+ * @param {number} obj.minute - minute of the hour, 0-59
413
+ * @param {number} obj.second - second of the minute, 0-59
414
+ * @param {number} obj.millisecond - millisecond of the second, 0-999
415
+ * @param {Object} opts - options for creating this DateTime
416
+ * @param {string|Zone} [opts.zone='local'] - interpret the numbers in the context of a particular zone. Can take any value taken as the first argument to setZone()
417
+ * @param {string} [opts.locale='system\'s locale'] - a locale to set on the resulting DateTime instance
418
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
419
+ * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
420
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
421
+ * @example DateTime.fromObject({ year: 1982, month: 5, day: 25}).toISODate() //=> '1982-05-25'
422
+ * @example DateTime.fromObject({ year: 1982 }).toISODate() //=> '1982-01-01'
423
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }) //~> today at 10:26:06
424
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'utc' }),
425
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'local' })
426
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'America/New_York' })
427
+ * @example DateTime.fromObject({ weekYear: 2016, weekNumber: 2, weekday: 3 }).toISODate() //=> '2016-01-13'
428
+ * @example DateTime.fromObject({ localWeekYear: 2022, localWeekNumber: 1, localWeekday: 1 }, { locale: "en-US" }).toISODate() //=> '2021-12-26'
429
+ * @return {DateTime}
430
+ */
431
+ static fromObject(e, t = {}) {
432
+ e = e || {};
433
+ const n = S(t.zone, T.defaultZone);
434
+ if (!n.isValid)
435
+ return u.invalid(v(n));
436
+ const r = y.fromObject(t), i = te(e, ce), { minDaysInFirstWeek: l, startOfWeek: o } = re(i, r), a = T.now(), c = f(t.specificOffset) ? n.offset(a) : t.specificOffset, d = !f(i.ordinal), h = !f(i.year), V = !f(i.month) || !f(i.day), N = h || V, K = i.weekYear || i.weekNumber;
437
+ if ((N || d) && K)
438
+ throw new L(
439
+ "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
440
+ );
441
+ if (V && d)
442
+ throw new L("Can't mix ordinal dates with month/day");
443
+ const Z = K || i.weekday && !N;
444
+ let W, F, D = z(a, c);
445
+ Z ? (W = ht, F = ft, D = Y(D, l, o)) : d ? (W = mt, F = dt, D = j(D)) : (W = A, F = we);
446
+ let B = !1;
447
+ for (const b of W) {
448
+ const Se = i[b];
449
+ f(Se) ? B ? i[b] = F[b] : i[b] = D[b] : B = !0;
450
+ }
451
+ const ke = Z ? Ae(i, l, o) : d ? xe(i) : me(i), X = ke || ye(i);
452
+ if (X)
453
+ return u.invalid(X);
454
+ const ge = Z ? ie(i, l, o) : d ? ae(i) : i, [Ee, Oe] = U(ge, c, n), M = new u({
455
+ ts: Ee,
456
+ zone: n,
457
+ o: Oe,
458
+ loc: r
459
+ });
460
+ return i.weekday && N && e.weekday !== M.weekday ? u.invalid(
461
+ "mismatched weekday",
462
+ `you can't specify both a weekday of ${i.weekday} and a date of ${M.toISO()}`
463
+ ) : M.isValid ? M : u.invalid(M.invalid);
464
+ }
465
+ /**
466
+ * Create a DateTime from an ISO 8601 string
467
+ * @param {string} text - the ISO string
468
+ * @param {Object} opts - options to affect the creation
469
+ * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the time to this zone
470
+ * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
471
+ * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
472
+ * @param {string} [opts.outputCalendar] - the output calendar to set on the resulting DateTime instance
473
+ * @param {string} [opts.numberingSystem] - the numbering system to set on the resulting DateTime instance
474
+ * @param {string} [opts.weekSettings] - the week settings to set on the resulting DateTime instance
475
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123')
476
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00')
477
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00', {setZone: true})
478
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123', {zone: 'utc'})
479
+ * @example DateTime.fromISO('2016-W05-4')
480
+ * @return {DateTime}
481
+ */
482
+ static fromISO(e, t = {}) {
483
+ const [n, r] = Ve(e);
484
+ return g(n, r, t, "ISO 8601", e);
485
+ }
486
+ /**
487
+ * Create a DateTime from an RFC 2822 string
488
+ * @param {string} text - the RFC 2822 string
489
+ * @param {Object} opts - options to affect the creation
490
+ * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since the offset is always specified in the string itself, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
491
+ * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
492
+ * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
493
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
494
+ * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
495
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
496
+ * @example DateTime.fromRFC2822('25 Nov 2016 13:23:12 GMT')
497
+ * @example DateTime.fromRFC2822('Fri, 25 Nov 2016 13:23:12 +0600')
498
+ * @example DateTime.fromRFC2822('25 Nov 2016 13:23 Z')
499
+ * @return {DateTime}
500
+ */
501
+ static fromRFC2822(e, t = {}) {
502
+ const [n, r] = We(e);
503
+ return g(n, r, t, "RFC 2822", e);
504
+ }
505
+ /**
506
+ * Create a DateTime from an HTTP header date
507
+ * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
508
+ * @param {string} text - the HTTP header date
509
+ * @param {Object} opts - options to affect the creation
510
+ * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since HTTP dates are always in UTC, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
511
+ * @param {boolean} [opts.setZone=false] - override the zone with the fixed-offset zone specified in the string. For HTTP dates, this is always UTC, so this option is equivalent to setting the `zone` option to 'utc', but this option is included for consistency with similar methods.
512
+ * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
513
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
514
+ * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
515
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
516
+ * @example DateTime.fromHTTP('Sun, 06 Nov 1994 08:49:37 GMT')
517
+ * @example DateTime.fromHTTP('Sunday, 06-Nov-94 08:49:37 GMT')
518
+ * @example DateTime.fromHTTP('Sun Nov 6 08:49:37 1994')
519
+ * @return {DateTime}
520
+ */
521
+ static fromHTTP(e, t = {}) {
522
+ const [n, r] = Fe(e);
523
+ return g(n, r, t, "HTTP", t);
524
+ }
525
+ /**
526
+ * Create a DateTime from an input string and format string.
527
+ * Defaults to en-US if no locale has been specified, regardless of the system's locale. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/parsing?id=table-of-tokens).
528
+ * @param {string} text - the string to parse
529
+ * @param {string} fmt - the format the string is expected to be in (see the link below for the formats)
530
+ * @param {Object} opts - options to affect the creation
531
+ * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
532
+ * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
533
+ * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
534
+ * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
535
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
536
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
537
+ * @return {DateTime}
538
+ */
539
+ static fromFormat(e, t, n = {}) {
540
+ if (f(e) || f(t))
541
+ throw new w("fromFormat requires an input string and a format");
542
+ const { locale: r = null, numberingSystem: i = null } = n, l = y.fromOpts({
543
+ locale: r,
544
+ numberingSystem: i,
545
+ defaultToEN: !0
546
+ }), [o, a, c, d] = Le(l, e, t);
547
+ return d ? u.invalid(d) : g(o, a, n, `format ${t}`, e, c);
548
+ }
549
+ /**
550
+ * @deprecated use fromFormat instead
551
+ */
552
+ static fromString(e, t, n = {}) {
553
+ return u.fromFormat(e, t, n);
554
+ }
555
+ /**
556
+ * Create a DateTime from a SQL date, time, or datetime
557
+ * Defaults to en-US if no locale has been specified, regardless of the system's locale
558
+ * @param {string} text - the string to parse
559
+ * @param {Object} opts - options to affect the creation
560
+ * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
561
+ * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
562
+ * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
563
+ * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
564
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
565
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
566
+ * @example DateTime.fromSQL('2017-05-15')
567
+ * @example DateTime.fromSQL('2017-05-15 09:12:34')
568
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342')
569
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342+06:00')
570
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles')
571
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles', { setZone: true })
572
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342', { zone: 'America/Los_Angeles' })
573
+ * @example DateTime.fromSQL('09:12:34.342')
574
+ * @return {DateTime}
575
+ */
576
+ static fromSQL(e, t = {}) {
577
+ const [n, r] = pe(e);
578
+ return g(n, r, t, "SQL", e);
579
+ }
580
+ /**
581
+ * Create an invalid DateTime.
582
+ * @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent.
583
+ * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
584
+ * @return {DateTime}
585
+ */
586
+ static invalid(e, t = null) {
587
+ if (!e)
588
+ throw new w("need to specify a reason the DateTime is invalid");
589
+ const n = e instanceof I ? e : new I(e, t);
590
+ if (T.throwOnInvalid)
591
+ throw new lt(n);
592
+ return new u({ invalid: n });
593
+ }
594
+ /**
595
+ * Check if an object is an instance of DateTime. Works across context boundaries
596
+ * @param {object} o
597
+ * @return {boolean}
598
+ */
599
+ static isDateTime(e) {
600
+ return e && e.isLuxonDateTime || !1;
601
+ }
602
+ /**
603
+ * Produce the format string for a set of options
604
+ * @param formatOpts
605
+ * @param localeOpts
606
+ * @returns {string}
607
+ */
608
+ static parseFormatForOpts(e, t = {}) {
609
+ const n = ze(e, y.fromObject(t));
610
+ return n ? n.map((r) => r ? r.val : null).join("") : null;
611
+ }
612
+ /**
613
+ * Produce the the fully expanded format token for the locale
614
+ * Does NOT quote characters, so quoted tokens will not round trip correctly
615
+ * @param fmt
616
+ * @param localeOpts
617
+ * @returns {string}
618
+ */
619
+ static expandFormat(e, t = {}) {
620
+ return He(O.parseFormat(e), y.fromObject(t)).map((r) => r.val).join("");
621
+ }
622
+ static resetCache() {
623
+ _ = void 0, Q.clear();
624
+ }
625
+ // INFO
626
+ /**
627
+ * Get the value of unit.
628
+ * @param {string} unit - a unit such as 'minute' or 'day'
629
+ * @example DateTime.local(2017, 7, 4).get('month'); //=> 7
630
+ * @example DateTime.local(2017, 7, 4).get('day'); //=> 4
631
+ * @return {number}
632
+ */
633
+ get(e) {
634
+ return this[e];
635
+ }
636
+ /**
637
+ * Returns whether the DateTime is valid. Invalid DateTimes occur when:
638
+ * * The DateTime was created from invalid calendar information, such as the 13th month or February 30
639
+ * * The DateTime was created by an operation on another invalid date
640
+ * @type {boolean}
641
+ */
642
+ get isValid() {
643
+ return this.invalid === null;
644
+ }
645
+ /**
646
+ * Returns an error code if this DateTime is invalid, or null if the DateTime is valid
647
+ * @type {string}
648
+ */
649
+ get invalidReason() {
650
+ return this.invalid ? this.invalid.reason : null;
651
+ }
652
+ /**
653
+ * Returns an explanation of why this DateTime became invalid, or null if the DateTime is valid
654
+ * @type {string}
655
+ */
656
+ get invalidExplanation() {
657
+ return this.invalid ? this.invalid.explanation : null;
658
+ }
659
+ /**
660
+ * Get the locale of a DateTime, such 'en-GB'. The locale is used when formatting the DateTime
661
+ *
662
+ * @type {string}
663
+ */
664
+ get locale() {
665
+ return this.isValid ? this.loc.locale : null;
666
+ }
667
+ /**
668
+ * Get the numbering system of a DateTime, such 'beng'. The numbering system is used when formatting the DateTime
669
+ *
670
+ * @type {string}
671
+ */
672
+ get numberingSystem() {
673
+ return this.isValid ? this.loc.numberingSystem : null;
674
+ }
675
+ /**
676
+ * Get the output calendar of a DateTime, such 'islamic'. The output calendar is used when formatting the DateTime
677
+ *
678
+ * @type {string}
679
+ */
680
+ get outputCalendar() {
681
+ return this.isValid ? this.loc.outputCalendar : null;
682
+ }
683
+ /**
684
+ * Get the time zone associated with this DateTime.
685
+ * @type {Zone}
686
+ */
687
+ get zone() {
688
+ return this._zone;
689
+ }
690
+ /**
691
+ * Get the name of the time zone.
692
+ * @type {string}
693
+ */
694
+ get zoneName() {
695
+ return this.isValid ? this.zone.name : null;
696
+ }
697
+ /**
698
+ * Get the year
699
+ * @example DateTime.local(2017, 5, 25).year //=> 2017
700
+ * @type {number}
701
+ */
702
+ get year() {
703
+ return this.isValid ? this.c.year : NaN;
704
+ }
705
+ /**
706
+ * Get the quarter
707
+ * @example DateTime.local(2017, 5, 25).quarter //=> 2
708
+ * @type {number}
709
+ */
710
+ get quarter() {
711
+ return this.isValid ? Math.ceil(this.c.month / 3) : NaN;
712
+ }
713
+ /**
714
+ * Get the month (1-12).
715
+ * @example DateTime.local(2017, 5, 25).month //=> 5
716
+ * @type {number}
717
+ */
718
+ get month() {
719
+ return this.isValid ? this.c.month : NaN;
720
+ }
721
+ /**
722
+ * Get the day of the month (1-30ish).
723
+ * @example DateTime.local(2017, 5, 25).day //=> 25
724
+ * @type {number}
725
+ */
726
+ get day() {
727
+ return this.isValid ? this.c.day : NaN;
728
+ }
729
+ /**
730
+ * Get the hour of the day (0-23).
731
+ * @example DateTime.local(2017, 5, 25, 9).hour //=> 9
732
+ * @type {number}
733
+ */
734
+ get hour() {
735
+ return this.isValid ? this.c.hour : NaN;
736
+ }
737
+ /**
738
+ * Get the minute of the hour (0-59).
739
+ * @example DateTime.local(2017, 5, 25, 9, 30).minute //=> 30
740
+ * @type {number}
741
+ */
742
+ get minute() {
743
+ return this.isValid ? this.c.minute : NaN;
744
+ }
745
+ /**
746
+ * Get the second of the minute (0-59).
747
+ * @example DateTime.local(2017, 5, 25, 9, 30, 52).second //=> 52
748
+ * @type {number}
749
+ */
750
+ get second() {
751
+ return this.isValid ? this.c.second : NaN;
752
+ }
753
+ /**
754
+ * Get the millisecond of the second (0-999).
755
+ * @example DateTime.local(2017, 5, 25, 9, 30, 52, 654).millisecond //=> 654
756
+ * @type {number}
757
+ */
758
+ get millisecond() {
759
+ return this.isValid ? this.c.millisecond : NaN;
760
+ }
761
+ /**
762
+ * Get the week year
763
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
764
+ * @example DateTime.local(2014, 12, 31).weekYear //=> 2015
765
+ * @type {number}
766
+ */
767
+ get weekYear() {
768
+ return this.isValid ? G(this).weekYear : NaN;
769
+ }
770
+ /**
771
+ * Get the week number of the week year (1-52ish).
772
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
773
+ * @example DateTime.local(2017, 5, 25).weekNumber //=> 21
774
+ * @type {number}
775
+ */
776
+ get weekNumber() {
777
+ return this.isValid ? G(this).weekNumber : NaN;
778
+ }
779
+ /**
780
+ * Get the day of the week.
781
+ * 1 is Monday and 7 is Sunday
782
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
783
+ * @example DateTime.local(2014, 11, 31).weekday //=> 4
784
+ * @type {number}
785
+ */
786
+ get weekday() {
787
+ return this.isValid ? G(this).weekday : NaN;
788
+ }
789
+ /**
790
+ * Returns true if this date is on a weekend according to the locale, false otherwise
791
+ * @returns {boolean}
792
+ */
793
+ get isWeekend() {
794
+ return this.isValid && this.loc.getWeekendDays().includes(this.weekday);
795
+ }
796
+ /**
797
+ * Get the day of the week according to the locale.
798
+ * 1 is the first day of the week and 7 is the last day of the week.
799
+ * If the locale assigns Sunday as the first day of the week, then a date which is a Sunday will return 1,
800
+ * @returns {number}
801
+ */
802
+ get localWeekday() {
803
+ return this.isValid ? R(this).weekday : NaN;
804
+ }
805
+ /**
806
+ * Get the week number of the week year according to the locale. Different locales assign week numbers differently,
807
+ * because the week can start on different days of the week (see localWeekday) and because a different number of days
808
+ * is required for a week to count as the first week of a year.
809
+ * @returns {number}
810
+ */
811
+ get localWeekNumber() {
812
+ return this.isValid ? R(this).weekNumber : NaN;
813
+ }
814
+ /**
815
+ * Get the week year according to the locale. Different locales assign week numbers (and therefor week years)
816
+ * differently, see localWeekNumber.
817
+ * @returns {number}
818
+ */
819
+ get localWeekYear() {
820
+ return this.isValid ? R(this).weekYear : NaN;
821
+ }
822
+ /**
823
+ * Get the ordinal (meaning the day of the year)
824
+ * @example DateTime.local(2017, 5, 25).ordinal //=> 145
825
+ * @type {number|DateTime}
826
+ */
827
+ get ordinal() {
828
+ return this.isValid ? j(this.c).ordinal : NaN;
829
+ }
830
+ /**
831
+ * Get the human readable short month name, such as 'Oct'.
832
+ * Defaults to the system's locale if no locale has been specified
833
+ * @example DateTime.local(2017, 10, 30).monthShort //=> Oct
834
+ * @type {string}
835
+ */
836
+ get monthShort() {
837
+ return this.isValid ? p.months("short", { locObj: this.loc })[this.month - 1] : null;
838
+ }
839
+ /**
840
+ * Get the human readable long month name, such as 'October'.
841
+ * Defaults to the system's locale if no locale has been specified
842
+ * @example DateTime.local(2017, 10, 30).monthLong //=> October
843
+ * @type {string}
844
+ */
845
+ get monthLong() {
846
+ return this.isValid ? p.months("long", { locObj: this.loc })[this.month - 1] : null;
847
+ }
848
+ /**
849
+ * Get the human readable short weekday, such as 'Mon'.
850
+ * Defaults to the system's locale if no locale has been specified
851
+ * @example DateTime.local(2017, 10, 30).weekdayShort //=> Mon
852
+ * @type {string}
853
+ */
854
+ get weekdayShort() {
855
+ return this.isValid ? p.weekdays("short", { locObj: this.loc })[this.weekday - 1] : null;
856
+ }
857
+ /**
858
+ * Get the human readable long weekday, such as 'Monday'.
859
+ * Defaults to the system's locale if no locale has been specified
860
+ * @example DateTime.local(2017, 10, 30).weekdayLong //=> Monday
861
+ * @type {string}
862
+ */
863
+ get weekdayLong() {
864
+ return this.isValid ? p.weekdays("long", { locObj: this.loc })[this.weekday - 1] : null;
865
+ }
866
+ /**
867
+ * Get the UTC offset of this DateTime in minutes
868
+ * @example DateTime.now().offset //=> -240
869
+ * @example DateTime.utc().offset //=> 0
870
+ * @type {number}
871
+ */
872
+ get offset() {
873
+ return this.isValid ? +this.o : NaN;
874
+ }
875
+ /**
876
+ * Get the short human name for the zone's current offset, for example "EST" or "EDT".
877
+ * Defaults to the system's locale if no locale has been specified
878
+ * @type {string}
879
+ */
880
+ get offsetNameShort() {
881
+ return this.isValid ? this.zone.offsetName(this.ts, {
882
+ format: "short",
883
+ locale: this.locale
884
+ }) : null;
885
+ }
886
+ /**
887
+ * Get the long human name for the zone's current offset, for example "Eastern Standard Time" or "Eastern Daylight Time".
888
+ * Defaults to the system's locale if no locale has been specified
889
+ * @type {string}
890
+ */
891
+ get offsetNameLong() {
892
+ return this.isValid ? this.zone.offsetName(this.ts, {
893
+ format: "long",
894
+ locale: this.locale
895
+ }) : null;
896
+ }
897
+ /**
898
+ * Get whether this zone's offset ever changes, as in a DST.
899
+ * @type {boolean}
900
+ */
901
+ get isOffsetFixed() {
902
+ return this.isValid ? this.zone.isUniversal : null;
903
+ }
904
+ /**
905
+ * Get whether the DateTime is in a DST.
906
+ * @type {boolean}
907
+ */
908
+ get isInDST() {
909
+ return this.isOffsetFixed ? !1 : this.offset > this.set({ month: 1, day: 1 }).offset || this.offset > this.set({ month: 5 }).offset;
910
+ }
911
+ /**
912
+ * Get those DateTimes which have the same local time as this DateTime, but a different offset from UTC
913
+ * in this DateTime's zone. During DST changes local time can be ambiguous, for example
914
+ * `2023-10-29T02:30:00` in `Europe/Berlin` can have offset `+01:00` or `+02:00`.
915
+ * This method will return both possible DateTimes if this DateTime's local time is ambiguous.
916
+ * @returns {DateTime[]}
917
+ */
918
+ getPossibleOffsets() {
919
+ if (!this.isValid || this.isOffsetFixed)
920
+ return [this];
921
+ const e = 864e5, t = 6e4, n = J(this.c), r = this.zone.offset(n - e), i = this.zone.offset(n + e), l = this.zone.offset(n - r * t), o = this.zone.offset(n - i * t);
922
+ if (l === o)
923
+ return [this];
924
+ const a = n - l * t, c = n - o * t, d = z(a, l), h = z(c, o);
925
+ return d.hour === h.hour && d.minute === h.minute && d.second === h.second && d.millisecond === h.millisecond ? [k(this, { ts: a }), k(this, { ts: c })] : [this];
926
+ }
927
+ /**
928
+ * Returns true if this DateTime is in a leap year, false otherwise
929
+ * @example DateTime.local(2016).isInLeapYear //=> true
930
+ * @example DateTime.local(2013).isInLeapYear //=> false
931
+ * @type {boolean}
932
+ */
933
+ get isInLeapYear() {
934
+ return De(this.year);
935
+ }
936
+ /**
937
+ * Returns the number of days in this DateTime's month
938
+ * @example DateTime.local(2016, 2).daysInMonth //=> 29
939
+ * @example DateTime.local(2016, 3).daysInMonth //=> 31
940
+ * @type {number}
941
+ */
942
+ get daysInMonth() {
943
+ return P(this.year, this.month);
944
+ }
945
+ /**
946
+ * Returns the number of days in this DateTime's year
947
+ * @example DateTime.local(2016).daysInYear //=> 366
948
+ * @example DateTime.local(2013).daysInYear //=> 365
949
+ * @type {number}
950
+ */
951
+ get daysInYear() {
952
+ return this.isValid ? Me(this.year) : NaN;
953
+ }
954
+ /**
955
+ * Returns the number of weeks in this DateTime's year
956
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
957
+ * @example DateTime.local(2004).weeksInWeekYear //=> 53
958
+ * @example DateTime.local(2013).weeksInWeekYear //=> 52
959
+ * @type {number}
960
+ */
961
+ get weeksInWeekYear() {
962
+ return this.isValid ? se(this.weekYear) : NaN;
963
+ }
964
+ /**
965
+ * Returns the number of weeks in this DateTime's local week year
966
+ * @example DateTime.local(2020, 6, {locale: 'en-US'}).weeksInLocalWeekYear //=> 52
967
+ * @example DateTime.local(2020, 6, {locale: 'de-DE'}).weeksInLocalWeekYear //=> 53
968
+ * @type {number}
969
+ */
970
+ get weeksInLocalWeekYear() {
971
+ return this.isValid ? se(
972
+ this.localWeekYear,
973
+ this.loc.getMinDaysInFirstWeek(),
974
+ this.loc.getStartOfWeek()
975
+ ) : NaN;
976
+ }
977
+ /**
978
+ * Returns the resolved Intl options for this DateTime.
979
+ * This is useful in understanding the behavior of formatting methods
980
+ * @param {Object} opts - the same options as toLocaleString
981
+ * @return {Object}
982
+ */
983
+ resolvedLocaleOptions(e = {}) {
984
+ const { locale: t, numberingSystem: n, calendar: r } = O.create(
985
+ this.loc.clone(e),
986
+ e
987
+ ).resolvedOptions(this);
988
+ return { locale: t, numberingSystem: n, outputCalendar: r };
989
+ }
990
+ // TRANSFORM
991
+ /**
992
+ * "Set" the DateTime's zone to UTC. Returns a newly-constructed DateTime.
993
+ *
994
+ * Equivalent to {@link DateTime#setZone}('utc')
995
+ * @param {number} [offset=0] - optionally, an offset from UTC in minutes
996
+ * @param {Object} [opts={}] - options to pass to `setZone()`
997
+ * @return {DateTime}
998
+ */
999
+ toUTC(e = 0, t = {}) {
1000
+ return this.setZone(ee.instance(e), t);
1001
+ }
1002
+ /**
1003
+ * "Set" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.
1004
+ *
1005
+ * Equivalent to `setZone('local')`
1006
+ * @return {DateTime}
1007
+ */
1008
+ toLocal() {
1009
+ return this.setZone(T.defaultZone);
1010
+ }
1011
+ /**
1012
+ * "Set" the DateTime's zone to specified zone. Returns a newly-constructed DateTime.
1013
+ *
1014
+ * By default, the setter keeps the underlying time the same (as in, the same timestamp), but the new instance will report different local times and consider DSTs when making computations, as with {@link DateTime#plus}. You may wish to use {@link DateTime#toLocal} and {@link DateTime#toUTC} which provide simple convenience wrappers for commonly used zones.
1015
+ * @param {string|Zone} [zone='local'] - a zone identifier. As a string, that can be any IANA zone supported by the host environment, or a fixed-offset name of the form 'UTC+3', or the strings 'local' or 'utc'. You may also supply an instance of a {@link DateTime#Zone} class.
1016
+ * @param {Object} opts - options
1017
+ * @param {boolean} [opts.keepLocalTime=false] - If true, adjust the underlying time so that the local time stays the same, but in the target zone. You should rarely need this.
1018
+ * @return {DateTime}
1019
+ */
1020
+ setZone(e, { keepLocalTime: t = !1, keepCalendarTime: n = !1 } = {}) {
1021
+ if (e = S(e, T.defaultZone), e.equals(this.zone))
1022
+ return this;
1023
+ if (e.isValid) {
1024
+ let r = this.ts;
1025
+ if (t || n) {
1026
+ const i = e.offset(this.ts), l = this.toObject();
1027
+ [r] = U(l, i, e);
1028
+ }
1029
+ return k(this, { ts: r, zone: e });
1030
+ } else
1031
+ return u.invalid(v(e));
1032
+ }
1033
+ /**
1034
+ * "Set" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.
1035
+ * @param {Object} properties - the properties to set
1036
+ * @example DateTime.local(2017, 5, 25).reconfigure({ locale: 'en-GB' })
1037
+ * @return {DateTime}
1038
+ */
1039
+ reconfigure({ locale: e, numberingSystem: t, outputCalendar: n } = {}) {
1040
+ const r = this.loc.clone({ locale: e, numberingSystem: t, outputCalendar: n });
1041
+ return k(this, { loc: r });
1042
+ }
1043
+ /**
1044
+ * "Set" the locale. Returns a newly-constructed DateTime.
1045
+ * Just a convenient alias for reconfigure({ locale })
1046
+ * @example DateTime.local(2017, 5, 25).setLocale('en-GB')
1047
+ * @return {DateTime}
1048
+ */
1049
+ setLocale(e) {
1050
+ return this.reconfigure({ locale: e });
1051
+ }
1052
+ /**
1053
+ * "Set" the values of specified units. Returns a newly-constructed DateTime.
1054
+ * You can only set units with this method; for "setting" metadata, see {@link DateTime#reconfigure} and {@link DateTime#setZone}.
1055
+ *
1056
+ * This method also supports setting locale-based week units, i.e. `localWeekday`, `localWeekNumber` and `localWeekYear`.
1057
+ * They cannot be mixed with ISO-week units like `weekday`.
1058
+ * @param {Object} values - a mapping of units to numbers
1059
+ * @example dt.set({ year: 2017 })
1060
+ * @example dt.set({ hour: 8, minute: 30 })
1061
+ * @example dt.set({ weekday: 5 })
1062
+ * @example dt.set({ year: 2005, ordinal: 234 })
1063
+ * @return {DateTime}
1064
+ */
1065
+ set(e) {
1066
+ if (!this.isValid) return this;
1067
+ const t = te(e, ce), { minDaysInFirstWeek: n, startOfWeek: r } = re(t, this.loc), i = !f(t.weekYear) || !f(t.weekNumber) || !f(t.weekday), l = !f(t.ordinal), o = !f(t.year), a = !f(t.month) || !f(t.day), c = o || a, d = t.weekYear || t.weekNumber;
1068
+ if ((c || l) && d)
1069
+ throw new L(
1070
+ "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
1071
+ );
1072
+ if (a && l)
1073
+ throw new L("Can't mix ordinal dates with month/day");
1074
+ let h;
1075
+ i ? h = ie(
1076
+ { ...Y(this.c, n, r), ...t },
1077
+ n,
1078
+ r
1079
+ ) : f(t.ordinal) ? (h = { ...this.toObject(), ...t }, f(t.day) && (h.day = Math.min(P(h.year, h.month), h.day))) : h = ae({ ...j(this.c), ...t });
1080
+ const [V, N] = U(h, this.o, this.zone);
1081
+ return k(this, { ts: V, o: N });
1082
+ }
1083
+ /**
1084
+ * Add a period of time to this DateTime and return the resulting DateTime
1085
+ *
1086
+ * Adding hours, minutes, seconds, or milliseconds increases the timestamp by the right number of milliseconds. Adding days, months, or years shifts the calendar, accounting for DSTs and leap years along the way. Thus, `dt.plus({ hours: 24 })` may result in a different time than `dt.plus({ days: 1 })` if there's a DST shift in between.
1087
+ * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
1088
+ * @example DateTime.now().plus(123) //~> in 123 milliseconds
1089
+ * @example DateTime.now().plus({ minutes: 15 }) //~> in 15 minutes
1090
+ * @example DateTime.now().plus({ days: 1 }) //~> this time tomorrow
1091
+ * @example DateTime.now().plus({ days: -1 }) //~> this time yesterday
1092
+ * @example DateTime.now().plus({ hours: 3, minutes: 13 }) //~> in 3 hr, 13 min
1093
+ * @example DateTime.now().plus(Duration.fromObject({ hours: 3, minutes: 13 })) //~> in 3 hr, 13 min
1094
+ * @return {DateTime}
1095
+ */
1096
+ plus(e) {
1097
+ if (!this.isValid) return this;
1098
+ const t = E.fromDurationLike(e);
1099
+ return k(this, le(this, t));
1100
+ }
1101
+ /**
1102
+ * Subtract a period of time to this DateTime and return the resulting DateTime
1103
+ * See {@link DateTime#plus}
1104
+ * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
1105
+ @return {DateTime}
1106
+ */
1107
+ minus(e) {
1108
+ if (!this.isValid) return this;
1109
+ const t = E.fromDurationLike(e).negate();
1110
+ return k(this, le(this, t));
1111
+ }
1112
+ /**
1113
+ * "Set" this DateTime to the beginning of a unit of time.
1114
+ * @param {string} unit - The unit to go to the beginning of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
1115
+ * @param {Object} opts - options
1116
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week
1117
+ * @example DateTime.local(2014, 3, 3).startOf('month').toISODate(); //=> '2014-03-01'
1118
+ * @example DateTime.local(2014, 3, 3).startOf('year').toISODate(); //=> '2014-01-01'
1119
+ * @example DateTime.local(2014, 3, 3).startOf('week').toISODate(); //=> '2014-03-03', weeks always start on Mondays
1120
+ * @example DateTime.local(2014, 3, 3, 5, 30).startOf('day').toISOTime(); //=> '00:00.000-05:00'
1121
+ * @example DateTime.local(2014, 3, 3, 5, 30).startOf('hour').toISOTime(); //=> '05:00:00.000-05:00'
1122
+ * @return {DateTime}
1123
+ */
1124
+ startOf(e, { useLocaleWeeks: t = !1 } = {}) {
1125
+ if (!this.isValid) return this;
1126
+ const n = {}, r = E.normalizeUnit(e);
1127
+ switch (r) {
1128
+ case "years":
1129
+ n.month = 1;
1130
+ // falls through
1131
+ case "quarters":
1132
+ case "months":
1133
+ n.day = 1;
1134
+ // falls through
1135
+ case "weeks":
1136
+ case "days":
1137
+ n.hour = 0;
1138
+ // falls through
1139
+ case "hours":
1140
+ n.minute = 0;
1141
+ // falls through
1142
+ case "minutes":
1143
+ n.second = 0;
1144
+ // falls through
1145
+ case "seconds":
1146
+ n.millisecond = 0;
1147
+ break;
1148
+ }
1149
+ if (r === "weeks")
1150
+ if (t) {
1151
+ const i = this.loc.getStartOfWeek(), { weekday: l } = this;
1152
+ l < i && (n.weekNumber = this.weekNumber - 1), n.weekday = i;
1153
+ } else
1154
+ n.weekday = 1;
1155
+ if (r === "quarters") {
1156
+ const i = Math.ceil(this.month / 3);
1157
+ n.month = (i - 1) * 3 + 1;
1158
+ }
1159
+ return this.set(n);
1160
+ }
1161
+ /**
1162
+ * "Set" this DateTime to the end (meaning the last millisecond) of a unit of time
1163
+ * @param {string} unit - The unit to go to the end of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
1164
+ * @param {Object} opts - options
1165
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week
1166
+ * @example DateTime.local(2014, 3, 3).endOf('month').toISO(); //=> '2014-03-31T23:59:59.999-05:00'
1167
+ * @example DateTime.local(2014, 3, 3).endOf('year').toISO(); //=> '2014-12-31T23:59:59.999-05:00'
1168
+ * @example DateTime.local(2014, 3, 3).endOf('week').toISO(); // => '2014-03-09T23:59:59.999-05:00', weeks start on Mondays
1169
+ * @example DateTime.local(2014, 3, 3, 5, 30).endOf('day').toISO(); //=> '2014-03-03T23:59:59.999-05:00'
1170
+ * @example DateTime.local(2014, 3, 3, 5, 30).endOf('hour').toISO(); //=> '2014-03-03T05:59:59.999-05:00'
1171
+ * @return {DateTime}
1172
+ */
1173
+ endOf(e, t) {
1174
+ return this.isValid ? this.plus({ [e]: 1 }).startOf(e, t).minus(1) : this;
1175
+ }
1176
+ // OUTPUT
1177
+ /**
1178
+ * Returns a string representation of this DateTime formatted according to the specified format string.
1179
+ * **You may not want this.** See {@link DateTime#toLocaleString} for a more flexible formatting tool. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).
1180
+ * Defaults to en-US if no locale has been specified, regardless of the system's locale.
1181
+ * @param {string} fmt - the format string
1182
+ * @param {Object} opts - opts to override the configuration options on this DateTime
1183
+ * @example DateTime.now().toFormat('yyyy LLL dd') //=> '2017 Apr 22'
1184
+ * @example DateTime.now().setLocale('fr').toFormat('yyyy LLL dd') //=> '2017 avr. 22'
1185
+ * @example DateTime.now().toFormat('yyyy LLL dd', { locale: "fr" }) //=> '2017 avr. 22'
1186
+ * @example DateTime.now().toFormat("HH 'hours and' mm 'minutes'") //=> '20 hours and 55 minutes'
1187
+ * @return {string}
1188
+ */
1189
+ toFormat(e, t = {}) {
1190
+ return this.isValid ? O.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this, e) : q;
1191
+ }
1192
+ /**
1193
+ * Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.
1194
+ * The exact behavior of this method is browser-specific, but in general it will return an appropriate representation
1195
+ * of the DateTime in the assigned locale.
1196
+ * Defaults to the system's locale if no locale has been specified
1197
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
1198
+ * @param formatOpts {Object} - Intl.DateTimeFormat constructor options and configuration options
1199
+ * @param {Object} opts - opts to override the configuration options on this DateTime
1200
+ * @example DateTime.now().toLocaleString(); //=> 4/20/2017
1201
+ * @example DateTime.now().setLocale('en-gb').toLocaleString(); //=> '20/04/2017'
1202
+ * @example DateTime.now().toLocaleString(DateTime.DATE_FULL); //=> 'April 20, 2017'
1203
+ * @example DateTime.now().toLocaleString(DateTime.DATE_FULL, { locale: 'fr' }); //=> '28 août 2022'
1204
+ * @example DateTime.now().toLocaleString(DateTime.TIME_SIMPLE); //=> '11:32 AM'
1205
+ * @example DateTime.now().toLocaleString(DateTime.DATETIME_SHORT); //=> '4/20/2017, 11:32 AM'
1206
+ * @example DateTime.now().toLocaleString({ weekday: 'long', month: 'long', day: '2-digit' }); //=> 'Thursday, April 20'
1207
+ * @example DateTime.now().toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> 'Thu, Apr 20, 11:27 AM'
1208
+ * @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }); //=> '11:32'
1209
+ * @return {string}
1210
+ */
1211
+ toLocaleString(e = oe, t = {}) {
1212
+ return this.isValid ? O.create(this.loc.clone(t), e).formatDateTime(this) : q;
1213
+ }
1214
+ /**
1215
+ * Returns an array of format "parts", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.
1216
+ * Defaults to the system's locale if no locale has been specified
1217
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToParts
1218
+ * @param opts {Object} - Intl.DateTimeFormat constructor options, same as `toLocaleString`.
1219
+ * @example DateTime.now().toLocaleParts(); //=> [
1220
+ * //=> { type: 'day', value: '25' },
1221
+ * //=> { type: 'literal', value: '/' },
1222
+ * //=> { type: 'month', value: '05' },
1223
+ * //=> { type: 'literal', value: '/' },
1224
+ * //=> { type: 'year', value: '1982' }
1225
+ * //=> ]
1226
+ */
1227
+ toLocaleParts(e = {}) {
1228
+ return this.isValid ? O.create(this.loc.clone(e), e).formatDateTimeParts(this) : [];
1229
+ }
1230
+ /**
1231
+ * Returns an ISO 8601-compliant string representation of this DateTime
1232
+ * @param {Object} opts - options
1233
+ * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
1234
+ * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
1235
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
1236
+ * @param {boolean} [opts.extendedZone=false] - add the time zone format extension
1237
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
1238
+ * @param {string} [opts.precision='milliseconds'] - truncate output to desired presicion: 'years', 'months', 'days', 'hours', 'minutes', 'seconds' or 'milliseconds'. When precision and suppressSeconds or suppressMilliseconds are used together, precision sets the maximum unit shown in the output, however seconds or milliseconds will still be suppressed if they are 0.
1239
+ * @example DateTime.utc(1983, 5, 25).toISO() //=> '1982-05-25T00:00:00.000Z'
1240
+ * @example DateTime.now().toISO() //=> '2017-04-22T20:47:05.335-04:00'
1241
+ * @example DateTime.now().toISO({ includeOffset: false }) //=> '2017-04-22T20:47:05.335'
1242
+ * @example DateTime.now().toISO({ format: 'basic' }) //=> '20170422T204705.335-0400'
1243
+ * @example DateTime.now().toISO({ precision: 'day' }) //=> '2017-04-22Z'
1244
+ * @example DateTime.now().toISO({ precision: 'minute' }) //=> '2017-04-22T20:47Z'
1245
+ * @return {string|null}
1246
+ */
1247
+ toISO({
1248
+ format: e = "extended",
1249
+ suppressSeconds: t = !1,
1250
+ suppressMilliseconds: n = !1,
1251
+ includeOffset: r = !0,
1252
+ extendedZone: i = !1,
1253
+ precision: l = "milliseconds"
1254
+ } = {}) {
1255
+ if (!this.isValid)
1256
+ return null;
1257
+ l = x(l);
1258
+ const o = e === "extended";
1259
+ let a = $(this, o, l);
1260
+ return A.indexOf(l) >= 3 && (a += "T"), a += ue(
1261
+ this,
1262
+ o,
1263
+ t,
1264
+ n,
1265
+ r,
1266
+ i,
1267
+ l
1268
+ ), a;
1269
+ }
1270
+ /**
1271
+ * Returns an ISO 8601-compliant string representation of this DateTime's date component
1272
+ * @param {Object} opts - options
1273
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
1274
+ * @param {string} [opts.precision='day'] - truncate output to desired precision: 'years', 'months', or 'days'.
1275
+ * @example DateTime.utc(1982, 5, 25).toISODate() //=> '1982-05-25'
1276
+ * @example DateTime.utc(1982, 5, 25).toISODate({ format: 'basic' }) //=> '19820525'
1277
+ * @example DateTime.utc(1982, 5, 25).toISODate({ precision: 'month' }) //=> '1982-05'
1278
+ * @return {string|null}
1279
+ */
1280
+ toISODate({ format: e = "extended", precision: t = "day" } = {}) {
1281
+ return this.isValid ? $(this, e === "extended", x(t)) : null;
1282
+ }
1283
+ /**
1284
+ * Returns an ISO 8601-compliant string representation of this DateTime's week date
1285
+ * @example DateTime.utc(1982, 5, 25).toISOWeekDate() //=> '1982-W21-2'
1286
+ * @return {string}
1287
+ */
1288
+ toISOWeekDate() {
1289
+ return H(this, "kkkk-'W'WW-c");
1290
+ }
1291
+ /**
1292
+ * Returns an ISO 8601-compliant string representation of this DateTime's time component
1293
+ * @param {Object} opts - options
1294
+ * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
1295
+ * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
1296
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
1297
+ * @param {boolean} [opts.extendedZone=true] - add the time zone format extension
1298
+ * @param {boolean} [opts.includePrefix=false] - include the `T` prefix
1299
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
1300
+ * @param {string} [opts.precision='milliseconds'] - truncate output to desired presicion: 'hours', 'minutes', 'seconds' or 'milliseconds'. When precision and suppressSeconds or suppressMilliseconds are used together, precision sets the maximum unit shown in the output, however seconds or milliseconds will still be suppressed if they are 0.
1301
+ * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime() //=> '07:34:19.361Z'
1302
+ * @example DateTime.utc().set({ hour: 7, minute: 34, seconds: 0, milliseconds: 0 }).toISOTime({ suppressSeconds: true }) //=> '07:34Z'
1303
+ * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ format: 'basic' }) //=> '073419.361Z'
1304
+ * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ includePrefix: true }) //=> 'T07:34:19.361Z'
1305
+ * @example DateTime.utc().set({ hour: 7, minute: 34, second: 56 }).toISOTime({ precision: 'minute' }) //=> '07:34Z'
1306
+ * @return {string}
1307
+ */
1308
+ toISOTime({
1309
+ suppressMilliseconds: e = !1,
1310
+ suppressSeconds: t = !1,
1311
+ includeOffset: n = !0,
1312
+ includePrefix: r = !1,
1313
+ extendedZone: i = !1,
1314
+ format: l = "extended",
1315
+ precision: o = "milliseconds"
1316
+ } = {}) {
1317
+ return this.isValid ? (o = x(o), (r && A.indexOf(o) >= 3 ? "T" : "") + ue(
1318
+ this,
1319
+ l === "extended",
1320
+ t,
1321
+ e,
1322
+ n,
1323
+ i,
1324
+ o
1325
+ )) : null;
1326
+ }
1327
+ /**
1328
+ * Returns an RFC 2822-compatible string representation of this DateTime
1329
+ * @example DateTime.utc(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 +0000'
1330
+ * @example DateTime.local(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 -0400'
1331
+ * @return {string}
1332
+ */
1333
+ toRFC2822() {
1334
+ return H(this, "EEE, dd LLL yyyy HH:mm:ss ZZZ", !1);
1335
+ }
1336
+ /**
1337
+ * Returns a string representation of this DateTime appropriate for use in HTTP headers. The output is always expressed in GMT.
1338
+ * Specifically, the string conforms to RFC 1123.
1339
+ * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
1340
+ * @example DateTime.utc(2014, 7, 13).toHTTP() //=> 'Sun, 13 Jul 2014 00:00:00 GMT'
1341
+ * @example DateTime.utc(2014, 7, 13, 19).toHTTP() //=> 'Sun, 13 Jul 2014 19:00:00 GMT'
1342
+ * @return {string}
1343
+ */
1344
+ toHTTP() {
1345
+ return H(this.toUTC(), "EEE, dd LLL yyyy HH:mm:ss 'GMT'");
1346
+ }
1347
+ /**
1348
+ * Returns a string representation of this DateTime appropriate for use in SQL Date
1349
+ * @example DateTime.utc(2014, 7, 13).toSQLDate() //=> '2014-07-13'
1350
+ * @return {string|null}
1351
+ */
1352
+ toSQLDate() {
1353
+ return this.isValid ? $(this, !0) : null;
1354
+ }
1355
+ /**
1356
+ * Returns a string representation of this DateTime appropriate for use in SQL Time
1357
+ * @param {Object} opts - options
1358
+ * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
1359
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
1360
+ * @param {boolean} [opts.includeOffsetSpace=true] - include the space between the time and the offset, such as '05:15:16.345 -04:00'
1361
+ * @example DateTime.utc().toSQL() //=> '05:15:16.345'
1362
+ * @example DateTime.now().toSQL() //=> '05:15:16.345 -04:00'
1363
+ * @example DateTime.now().toSQL({ includeOffset: false }) //=> '05:15:16.345'
1364
+ * @example DateTime.now().toSQL({ includeZone: false }) //=> '05:15:16.345 America/New_York'
1365
+ * @return {string}
1366
+ */
1367
+ toSQLTime({ includeOffset: e = !0, includeZone: t = !1, includeOffsetSpace: n = !0 } = {}) {
1368
+ let r = "HH:mm:ss.SSS";
1369
+ return (t || e) && (n && (r += " "), t ? r += "z" : e && (r += "ZZ")), H(this, r, !0);
1370
+ }
1371
+ /**
1372
+ * Returns a string representation of this DateTime appropriate for use in SQL DateTime
1373
+ * @param {Object} opts - options
1374
+ * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
1375
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
1376
+ * @param {boolean} [opts.includeOffsetSpace=true] - include the space between the time and the offset, such as '05:15:16.345 -04:00'
1377
+ * @example DateTime.utc(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 Z'
1378
+ * @example DateTime.local(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 -04:00'
1379
+ * @example DateTime.local(2014, 7, 13).toSQL({ includeOffset: false }) //=> '2014-07-13 00:00:00.000'
1380
+ * @example DateTime.local(2014, 7, 13).toSQL({ includeZone: true }) //=> '2014-07-13 00:00:00.000 America/New_York'
1381
+ * @return {string}
1382
+ */
1383
+ toSQL(e = {}) {
1384
+ return this.isValid ? `${this.toSQLDate()} ${this.toSQLTime(e)}` : null;
1385
+ }
1386
+ /**
1387
+ * Returns a string representation of this DateTime appropriate for debugging
1388
+ * @return {string}
1389
+ */
1390
+ toString() {
1391
+ return this.isValid ? this.toISO() : q;
1392
+ }
1393
+ /**
1394
+ * Returns a string representation of this DateTime appropriate for the REPL.
1395
+ * @return {string}
1396
+ */
1397
+ [Symbol.for("nodejs.util.inspect.custom")]() {
1398
+ return this.isValid ? `DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }` : `DateTime { Invalid, reason: ${this.invalidReason} }`;
1399
+ }
1400
+ /**
1401
+ * Returns the epoch milliseconds of this DateTime. Alias of {@link DateTime#toMillis}
1402
+ * @return {number}
1403
+ */
1404
+ valueOf() {
1405
+ return this.toMillis();
1406
+ }
1407
+ /**
1408
+ * Returns the epoch milliseconds of this DateTime.
1409
+ * @return {number}
1410
+ */
1411
+ toMillis() {
1412
+ return this.isValid ? this.ts : NaN;
1413
+ }
1414
+ /**
1415
+ * Returns the epoch seconds (including milliseconds in the fractional part) of this DateTime.
1416
+ * @return {number}
1417
+ */
1418
+ toSeconds() {
1419
+ return this.isValid ? this.ts / 1e3 : NaN;
1420
+ }
1421
+ /**
1422
+ * Returns the epoch seconds (as a whole number) of this DateTime.
1423
+ * @return {number}
1424
+ */
1425
+ toUnixInteger() {
1426
+ return this.isValid ? Math.floor(this.ts / 1e3) : NaN;
1427
+ }
1428
+ /**
1429
+ * Returns an ISO 8601 representation of this DateTime appropriate for use in JSON.
1430
+ * @return {string}
1431
+ */
1432
+ toJSON() {
1433
+ return this.toISO();
1434
+ }
1435
+ /**
1436
+ * Returns a BSON serializable equivalent to this DateTime.
1437
+ * @return {Date}
1438
+ */
1439
+ toBSON() {
1440
+ return this.toJSDate();
1441
+ }
1442
+ /**
1443
+ * Returns a JavaScript object with this DateTime's year, month, day, and so on.
1444
+ * @param opts - options for generating the object
1445
+ * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output
1446
+ * @example DateTime.now().toObject() //=> { year: 2017, month: 4, day: 22, hour: 20, minute: 49, second: 42, millisecond: 268 }
1447
+ * @return {Object}
1448
+ */
1449
+ toObject(e = {}) {
1450
+ if (!this.isValid) return {};
1451
+ const t = { ...this.c };
1452
+ return e.includeConfig && (t.outputCalendar = this.outputCalendar, t.numberingSystem = this.loc.numberingSystem, t.locale = this.loc.locale), t;
1453
+ }
1454
+ /**
1455
+ * Returns a JavaScript Date equivalent to this DateTime.
1456
+ * @return {Date}
1457
+ */
1458
+ toJSDate() {
1459
+ return new Date(this.isValid ? this.ts : NaN);
1460
+ }
1461
+ // COMPARE
1462
+ /**
1463
+ * Return the difference between two DateTimes as a Duration.
1464
+ * @param {DateTime} otherDateTime - the DateTime to compare this one to
1465
+ * @param {string|string[]} [unit=['milliseconds']] - the unit or array of units (such as 'hours' or 'days') to include in the duration.
1466
+ * @param {Object} opts - options that affect the creation of the Duration
1467
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
1468
+ * @example
1469
+ * var i1 = DateTime.fromISO('1982-05-25T09:45'),
1470
+ * i2 = DateTime.fromISO('1983-10-14T10:30');
1471
+ * i2.diff(i1).toObject() //=> { milliseconds: 43807500000 }
1472
+ * i2.diff(i1, 'hours').toObject() //=> { hours: 12168.75 }
1473
+ * i2.diff(i1, ['months', 'days']).toObject() //=> { months: 16, days: 19.03125 }
1474
+ * i2.diff(i1, ['months', 'days', 'hours']).toObject() //=> { months: 16, days: 19, hours: 0.75 }
1475
+ * @return {Duration}
1476
+ */
1477
+ diff(e, t = "milliseconds", n = {}) {
1478
+ if (!this.isValid || !e.isValid)
1479
+ return E.invalid("created by diffing an invalid DateTime");
1480
+ const r = { locale: this.locale, numberingSystem: this.numberingSystem, ...n }, i = be(t).map(E.normalizeUnit), l = e.valueOf() > this.valueOf(), o = l ? this : e, a = l ? e : this, c = _e(o, a, i, r);
1481
+ return l ? c.negate() : c;
1482
+ }
1483
+ /**
1484
+ * Return the difference between this DateTime and right now.
1485
+ * See {@link DateTime#diff}
1486
+ * @param {string|string[]} [unit=['milliseconds']] - the unit or units units (such as 'hours' or 'days') to include in the duration
1487
+ * @param {Object} opts - options that affect the creation of the Duration
1488
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
1489
+ * @return {Duration}
1490
+ */
1491
+ diffNow(e = "milliseconds", t = {}) {
1492
+ return this.diff(u.now(), e, t);
1493
+ }
1494
+ /**
1495
+ * Return an Interval spanning between this DateTime and another DateTime
1496
+ * @param {DateTime} otherDateTime - the other end point of the Interval
1497
+ * @return {Interval|DateTime}
1498
+ */
1499
+ until(e) {
1500
+ return this.isValid ? Ie.fromDateTimes(this, e) : this;
1501
+ }
1502
+ /**
1503
+ * Return whether this DateTime is in the same unit of time as another DateTime.
1504
+ * Higher-order units must also be identical for this function to return `true`.
1505
+ * Note that time zones are **ignored** in this comparison, which compares the **local** calendar time. Use {@link DateTime#setZone} to convert one of the dates if needed.
1506
+ * @param {DateTime} otherDateTime - the other DateTime
1507
+ * @param {string} unit - the unit of time to check sameness on
1508
+ * @param {Object} opts - options
1509
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week; only the locale of this DateTime is used
1510
+ * @example DateTime.now().hasSame(otherDT, 'day'); //~> true if otherDT is in the same current calendar day
1511
+ * @return {boolean}
1512
+ */
1513
+ hasSame(e, t, n) {
1514
+ if (!this.isValid) return !1;
1515
+ const r = e.valueOf(), i = this.setZone(e.zone, { keepLocalTime: !0 });
1516
+ return i.startOf(t, n) <= r && r <= i.endOf(t, n);
1517
+ }
1518
+ /**
1519
+ * Equality check
1520
+ * Two DateTimes are equal if and only if they represent the same millisecond, have the same zone and location, and are both valid.
1521
+ * To compare just the millisecond values, use `+dt1 === +dt2`.
1522
+ * @param {DateTime} other - the other DateTime
1523
+ * @return {boolean}
1524
+ */
1525
+ equals(e) {
1526
+ return this.isValid && e.isValid && this.valueOf() === e.valueOf() && this.zone.equals(e.zone) && this.loc.equals(e.loc);
1527
+ }
1528
+ /**
1529
+ * Returns a string representation of a this time relative to now, such as "in two days". Can only internationalize if your
1530
+ * platform supports Intl.RelativeTimeFormat. Rounds towards zero by default.
1531
+ * @param {Object} options - options that affect the output
1532
+ * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
1533
+ * @param {string} [options.style="long"] - the style of units, must be "long", "short", or "narrow"
1534
+ * @param {string|string[]} options.unit - use a specific unit or array of units; if omitted, or an array, the method will pick the best unit. Use an array or one of "years", "quarters", "months", "weeks", "days", "hours", "minutes", or "seconds"
1535
+ * @param {boolean} [options.round=true] - whether to round the numbers in the output.
1536
+ * @param {string} [options.rounding="trunc"] - rounding method to use when rounding the numbers in the output. Can be "trunc" (toward zero), "expand" (away from zero), "round", "floor", or "ceil".
1537
+ * @param {number} [options.padding=0] - padding in milliseconds. This allows you to round up the result if it fits inside the threshold. Don't use in combination with {round: false} because the decimal output will include the padding.
1538
+ * @param {string} options.locale - override the locale of this DateTime
1539
+ * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
1540
+ * @example DateTime.now().plus({ days: 1 }).toRelative() //=> "in 1 day"
1541
+ * @example DateTime.now().setLocale("es").toRelative({ days: 1 }) //=> "dentro de 1 día"
1542
+ * @example DateTime.now().plus({ days: 1 }).toRelative({ locale: "fr" }) //=> "dans 23 heures"
1543
+ * @example DateTime.now().minus({ days: 2 }).toRelative() //=> "2 days ago"
1544
+ * @example DateTime.now().minus({ days: 2 }).toRelative({ unit: "hours" }) //=> "48 hours ago"
1545
+ * @example DateTime.now().minus({ hours: 36 }).toRelative({ round: false }) //=> "1.5 days ago"
1546
+ */
1547
+ toRelative(e = {}) {
1548
+ if (!this.isValid) return null;
1549
+ const t = e.base || u.fromObject({}, { zone: this.zone }), n = e.padding ? this < t ? -e.padding : e.padding : 0;
1550
+ let r = ["years", "months", "days", "hours", "minutes", "seconds"], i = e.unit;
1551
+ return Array.isArray(e.unit) && (r = e.unit, i = void 0), de(t, this.plus(n), {
1552
+ ...e,
1553
+ numeric: "always",
1554
+ units: r,
1555
+ unit: i
1556
+ });
1557
+ }
1558
+ /**
1559
+ * Returns a string representation of this date relative to today, such as "yesterday" or "next month".
1560
+ * Only internationalizes on platforms that supports Intl.RelativeTimeFormat.
1561
+ * @param {Object} options - options that affect the output
1562
+ * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
1563
+ * @param {string} options.locale - override the locale of this DateTime
1564
+ * @param {string} options.unit - use a specific unit; if omitted, the method will pick the unit. Use one of "years", "quarters", "months", "weeks", or "days"
1565
+ * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
1566
+ * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar() //=> "tomorrow"
1567
+ * @example DateTime.now().setLocale("es").plus({ days: 1 }).toRelative() //=> ""mañana"
1568
+ * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar({ locale: "fr" }) //=> "demain"
1569
+ * @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
1570
+ */
1571
+ toRelativeCalendar(e = {}) {
1572
+ return this.isValid ? de(e.base || u.fromObject({}, { zone: this.zone }), this, {
1573
+ ...e,
1574
+ numeric: "auto",
1575
+ units: ["years", "months", "days"],
1576
+ calendary: !0
1577
+ }) : null;
1578
+ }
1579
+ /**
1580
+ * Return the min of several date times
1581
+ * @param {...DateTime} dateTimes - the DateTimes from which to choose the minimum
1582
+ * @return {DateTime} the min DateTime, or undefined if called with no argument
1583
+ */
1584
+ static min(...e) {
1585
+ if (!e.every(u.isDateTime))
1586
+ throw new w("min requires all arguments be DateTimes");
1587
+ return ne(e, (t) => t.valueOf(), Math.min);
1588
+ }
1589
+ /**
1590
+ * Return the max of several date times
1591
+ * @param {...DateTime} dateTimes - the DateTimes from which to choose the maximum
1592
+ * @return {DateTime} the max DateTime, or undefined if called with no argument
1593
+ */
1594
+ static max(...e) {
1595
+ if (!e.every(u.isDateTime))
1596
+ throw new w("max requires all arguments be DateTimes");
1597
+ return ne(e, (t) => t.valueOf(), Math.max);
1598
+ }
1599
+ // MISC
1600
+ /**
1601
+ * Explain how a string would be parsed by fromFormat()
1602
+ * @param {string} text - the string to parse
1603
+ * @param {string} fmt - the format the string is expected to be in (see description)
1604
+ * @param {Object} options - options taken by fromFormat()
1605
+ * @return {Object}
1606
+ */
1607
+ static fromFormatExplain(e, t, n = {}) {
1608
+ const { locale: r = null, numberingSystem: i = null } = n, l = y.fromOpts({
1609
+ locale: r,
1610
+ numberingSystem: i,
1611
+ defaultToEN: !0
1612
+ });
1613
+ return Ce(l, e, t);
1614
+ }
1615
+ /**
1616
+ * @deprecated use fromFormatExplain instead
1617
+ */
1618
+ static fromStringExplain(e, t, n = {}) {
1619
+ return u.fromFormatExplain(e, t, n);
1620
+ }
1621
+ /**
1622
+ * Build a parser for `fmt` using the given locale. This parser can be passed
1623
+ * to {@link DateTime.fromFormatParser} to a parse a date in this format. This
1624
+ * can be used to optimize cases where many dates need to be parsed in a
1625
+ * specific format.
1626
+ *
1627
+ * @param {String} fmt - the format the string is expected to be in (see
1628
+ * description)
1629
+ * @param {Object} options - options used to set locale and numberingSystem
1630
+ * for parser
1631
+ * @returns {TokenParser} - opaque object to be used
1632
+ */
1633
+ static buildFormatParser(e, t = {}) {
1634
+ const { locale: n = null, numberingSystem: r = null } = t, i = y.fromOpts({
1635
+ locale: n,
1636
+ numberingSystem: r,
1637
+ defaultToEN: !0
1638
+ });
1639
+ return new Ue(i, e);
1640
+ }
1641
+ /**
1642
+ * Create a DateTime from an input string and format parser.
1643
+ *
1644
+ * The format parser must have been created with the same locale as this call.
1645
+ *
1646
+ * @param {String} text - the string to parse
1647
+ * @param {TokenParser} formatParser - parser from {@link DateTime.buildFormatParser}
1648
+ * @param {Object} opts - options taken by fromFormat()
1649
+ * @returns {DateTime}
1650
+ */
1651
+ static fromFormatParser(e, t, n = {}) {
1652
+ if (f(e) || f(t))
1653
+ throw new w(
1654
+ "fromFormatParser requires an input string and a format parser"
1655
+ );
1656
+ const { locale: r = null, numberingSystem: i = null } = n, l = y.fromOpts({
1657
+ locale: r,
1658
+ numberingSystem: i,
1659
+ defaultToEN: !0
1660
+ });
1661
+ if (!l.equals(t.locale))
1662
+ throw new w(
1663
+ `fromFormatParser called with a locale of ${l}, but the format parser was created for ${t.locale}`
1664
+ );
1665
+ const { result: o, zone: a, specificOffset: c, invalidReason: d } = t.explainFromTokens(e);
1666
+ return d ? u.invalid(d) : g(
1667
+ o,
1668
+ a,
1669
+ n,
1670
+ `format ${t.format}`,
1671
+ e,
1672
+ c
1673
+ );
1674
+ }
1675
+ // FORMAT PRESETS
1676
+ /**
1677
+ * {@link DateTime#toLocaleString} format like 10/14/1983
1678
+ * @type {Object}
1679
+ */
1680
+ static get DATE_SHORT() {
1681
+ return oe;
1682
+ }
1683
+ /**
1684
+ * {@link DateTime#toLocaleString} format like 'Oct 14, 1983'
1685
+ * @type {Object}
1686
+ */
1687
+ static get DATE_MED() {
1688
+ return Ye;
1689
+ }
1690
+ /**
1691
+ * {@link DateTime#toLocaleString} format like 'Fri, Oct 14, 1983'
1692
+ * @type {Object}
1693
+ */
1694
+ static get DATE_MED_WITH_WEEKDAY() {
1695
+ return Ze;
1696
+ }
1697
+ /**
1698
+ * {@link DateTime#toLocaleString} format like 'October 14, 1983'
1699
+ * @type {Object}
1700
+ */
1701
+ static get DATE_FULL() {
1702
+ return je;
1703
+ }
1704
+ /**
1705
+ * {@link DateTime#toLocaleString} format like 'Tuesday, October 14, 1983'
1706
+ * @type {Object}
1707
+ */
1708
+ static get DATE_HUGE() {
1709
+ return qe;
1710
+ }
1711
+ /**
1712
+ * {@link DateTime#toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.
1713
+ * @type {Object}
1714
+ */
1715
+ static get TIME_SIMPLE() {
1716
+ return Ge;
1717
+ }
1718
+ /**
1719
+ * {@link DateTime#toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.
1720
+ * @type {Object}
1721
+ */
1722
+ static get TIME_WITH_SECONDS() {
1723
+ return Re;
1724
+ }
1725
+ /**
1726
+ * {@link DateTime#toLocaleString} format like '09:30:23 AM EDT'. Only 12-hour if the locale is.
1727
+ * @type {Object}
1728
+ */
1729
+ static get TIME_WITH_SHORT_OFFSET() {
1730
+ return $e;
1731
+ }
1732
+ /**
1733
+ * {@link DateTime#toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.
1734
+ * @type {Object}
1735
+ */
1736
+ static get TIME_WITH_LONG_OFFSET() {
1737
+ return Pe;
1738
+ }
1739
+ /**
1740
+ * {@link DateTime#toLocaleString} format like '09:30', always 24-hour.
1741
+ * @type {Object}
1742
+ */
1743
+ static get TIME_24_SIMPLE() {
1744
+ return Qe;
1745
+ }
1746
+ /**
1747
+ * {@link DateTime#toLocaleString} format like '09:30:23', always 24-hour.
1748
+ * @type {Object}
1749
+ */
1750
+ static get TIME_24_WITH_SECONDS() {
1751
+ return Je;
1752
+ }
1753
+ /**
1754
+ * {@link DateTime#toLocaleString} format like '09:30:23 EDT', always 24-hour.
1755
+ * @type {Object}
1756
+ */
1757
+ static get TIME_24_WITH_SHORT_OFFSET() {
1758
+ return Ke;
1759
+ }
1760
+ /**
1761
+ * {@link DateTime#toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.
1762
+ * @type {Object}
1763
+ */
1764
+ static get TIME_24_WITH_LONG_OFFSET() {
1765
+ return Be;
1766
+ }
1767
+ /**
1768
+ * {@link DateTime#toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.
1769
+ * @type {Object}
1770
+ */
1771
+ static get DATETIME_SHORT() {
1772
+ return Xe;
1773
+ }
1774
+ /**
1775
+ * {@link DateTime#toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.
1776
+ * @type {Object}
1777
+ */
1778
+ static get DATETIME_SHORT_WITH_SECONDS() {
1779
+ return et;
1780
+ }
1781
+ /**
1782
+ * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.
1783
+ * @type {Object}
1784
+ */
1785
+ static get DATETIME_MED() {
1786
+ return tt;
1787
+ }
1788
+ /**
1789
+ * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.
1790
+ * @type {Object}
1791
+ */
1792
+ static get DATETIME_MED_WITH_SECONDS() {
1793
+ return st;
1794
+ }
1795
+ /**
1796
+ * {@link DateTime#toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.
1797
+ * @type {Object}
1798
+ */
1799
+ static get DATETIME_MED_WITH_WEEKDAY() {
1800
+ return nt;
1801
+ }
1802
+ /**
1803
+ * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30 AM EDT'. Only 12-hour if the locale is.
1804
+ * @type {Object}
1805
+ */
1806
+ static get DATETIME_FULL() {
1807
+ return rt;
1808
+ }
1809
+ /**
1810
+ * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.
1811
+ * @type {Object}
1812
+ */
1813
+ static get DATETIME_FULL_WITH_SECONDS() {
1814
+ return it;
1815
+ }
1816
+ /**
1817
+ * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.
1818
+ * @type {Object}
1819
+ */
1820
+ static get DATETIME_HUGE() {
1821
+ return at;
1822
+ }
1823
+ /**
1824
+ * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.
1825
+ * @type {Object}
1826
+ */
1827
+ static get DATETIME_HUGE_WITH_SECONDS() {
1828
+ return ot;
1829
+ }
1830
+ }
1831
+ function Ft(s) {
1832
+ if (u.isDateTime(s))
1833
+ return s;
1834
+ if (s && s.valueOf && C(s.valueOf()))
1835
+ return u.fromJSDate(s);
1836
+ if (s && typeof s == "object")
1837
+ return u.fromObject(s);
1838
+ throw new w(
1839
+ `Unknown datetime argument: ${s}, of type ${typeof s}`
1840
+ );
1841
+ }
1842
+ export {
1843
+ u as D,
1844
+ Ft as f
1845
+ };