@robot-admin/naive-ui-components 0.43.0 → 0.43.1

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 (321) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -1
  3. package/README_EN.md +1 -1
  4. package/dist/ActionOverflow.cjs +1 -1
  5. package/dist/ActionOverflow.js +1 -1
  6. package/dist/BPMN.cjs +1 -1
  7. package/dist/C_ActionBar.css +54 -54
  8. package/dist/C_ActionBar2.cjs +1 -1
  9. package/dist/C_ActionBar2.js +1 -1
  10. package/dist/C_AntV2.cjs +1 -1
  11. package/dist/C_ApprovalViewer2.cjs +1 -1
  12. package/dist/C_Attachments2.cjs +1 -1
  13. package/dist/C_AudioPlayer2.cjs +1 -1
  14. package/dist/C_AutoComplete2.cjs +1 -1
  15. package/dist/C_AvatarGroup2.cjs +1 -1
  16. package/dist/C_Barcode2.cjs +1 -1
  17. package/dist/C_BatchResult2.cjs +1 -1
  18. package/dist/C_Breadcrumb2.cjs +1 -1
  19. package/dist/C_Captcha2.cjs +1 -1
  20. package/dist/C_Cascade2.cjs +1 -1
  21. package/dist/C_ChangeReview2.cjs +1 -1
  22. package/dist/C_Chat2.cjs +1 -1
  23. package/dist/C_City2.cjs +1 -1
  24. package/dist/C_Code2.cjs +1 -1
  25. package/dist/C_CollapsePanel2.cjs +1 -1
  26. package/dist/C_ContextMenu2.cjs +1 -1
  27. package/dist/C_Cron2.cjs +1 -1
  28. package/dist/C_DataPicker2.cjs +1 -1
  29. package/dist/C_Date2.cjs +1 -1
  30. package/dist/C_Density2.cjs +1 -1
  31. package/dist/C_Descriptions2.cjs +1 -1
  32. package/dist/C_Draggable2.cjs +1 -1
  33. package/dist/C_Editor2.cjs +1 -1
  34. package/dist/C_ErrorSummary2.cjs +1 -1
  35. package/dist/C_FilePreview2.cjs +1 -1
  36. package/dist/C_FilterBuilder2.cjs +1 -1
  37. package/dist/C_Form.cjs +1 -1
  38. package/dist/C_FormModal.cjs +1 -1
  39. package/dist/C_FormModal.css +55 -55
  40. package/dist/C_FormModal.d.cts +2 -2
  41. package/dist/C_FormModal.d.ts +2 -2
  42. package/dist/C_FormModal.js +1 -1
  43. package/dist/C_FullCalendar2.cjs +1 -1
  44. package/dist/C_GlobalSearch2.cjs +1 -1
  45. package/dist/C_Guide.d.cts +1 -1
  46. package/dist/C_Guide.d.ts +1 -1
  47. package/dist/C_Guide2.cjs +1 -1
  48. package/dist/C_Icon.d.cts +1 -1
  49. package/dist/C_Icon.d.ts +1 -1
  50. package/dist/C_Icon2.cjs +1 -1
  51. package/dist/C_ImageAnnotator.d.cts +1 -1
  52. package/dist/C_ImageAnnotator.d.ts +1 -1
  53. package/dist/C_ImageAnnotator2.cjs +1 -1
  54. package/dist/C_ImageCropper2.cjs +1 -1
  55. package/dist/C_ImportWizard.d.cts +1 -1
  56. package/dist/C_ImportWizard.d.ts +1 -1
  57. package/dist/C_ImportWizard2.cjs +1 -1
  58. package/dist/C_Language.d.cts +1 -1
  59. package/dist/C_Language.d.ts +1 -1
  60. package/dist/C_Language2.cjs +1 -1
  61. package/dist/C_Loading.d.cts +1 -1
  62. package/dist/C_Loading.d.ts +1 -1
  63. package/dist/C_Loading2.cjs +1 -1
  64. package/dist/C_Login.d.cts +1 -1
  65. package/dist/C_Login.d.ts +1 -1
  66. package/dist/C_Login2.cjs +1 -1
  67. package/dist/C_Map2.cjs +1 -1
  68. package/dist/C_Markdown.d.cts +1 -1
  69. package/dist/C_Markdown.d.ts +1 -1
  70. package/dist/C_Markdown2.cjs +1 -1
  71. package/dist/C_Menu.d.ts +1 -1
  72. package/dist/C_Menu2.cjs +1 -1
  73. package/dist/C_NotificationCenter2.cjs +1 -1
  74. package/dist/C_NotificationInbox.d.cts +1 -1
  75. package/dist/C_NotificationInbox.d.ts +1 -1
  76. package/dist/C_NotificationInbox2.cjs +1 -1
  77. package/dist/C_OrgChart.d.cts +1 -1
  78. package/dist/C_OrgChart.d.ts +1 -1
  79. package/dist/C_OrgChart2.cjs +1 -1
  80. package/dist/C_Progress.d.cts +1 -1
  81. package/dist/C_Progress.d.ts +1 -1
  82. package/dist/C_Progress2.cjs +1 -1
  83. package/dist/C_QRCode2.cjs +1 -1
  84. package/dist/C_RecordList.d.cts +1 -1
  85. package/dist/C_RecordList.d.ts +1 -1
  86. package/dist/C_RecordList2.cjs +1 -1
  87. package/dist/C_RecurrenceEditor2.cjs +1 -1
  88. package/dist/C_RelationshipExplorer.d.cts +1 -1
  89. package/dist/C_RelationshipExplorer.d.ts +1 -1
  90. package/dist/C_RelationshipExplorer2.cjs +1 -1
  91. package/dist/C_ResourceSchedule.d.cts +1 -1
  92. package/dist/C_ResourceSchedule.d.ts +1 -1
  93. package/dist/C_ResourceSchedule2.cjs +1 -1
  94. package/dist/C_ScanInput.d.cts +1 -1
  95. package/dist/C_ScanInput.d.ts +1 -1
  96. package/dist/C_ScanInput2.cjs +1 -1
  97. package/dist/C_SectionNav.d.cts +1 -1
  98. package/dist/C_SectionNav.d.ts +1 -1
  99. package/dist/C_SectionNav2.cjs +1 -1
  100. package/dist/C_Select.d.cts +1 -1
  101. package/dist/C_Select.d.ts +1 -1
  102. package/dist/C_Select2.cjs +1 -1
  103. package/dist/C_Signature2.cjs +1 -1
  104. package/dist/C_Skeleton.d.cts +1 -1
  105. package/dist/C_Skeleton.d.ts +1 -1
  106. package/dist/C_Skeleton2.cjs +1 -1
  107. package/dist/C_SplitPane2.cjs +1 -1
  108. package/dist/C_Steps.d.cts +1 -1
  109. package/dist/C_Steps.d.ts +1 -1
  110. package/dist/C_Steps2.cjs +1 -1
  111. package/dist/C_Table.base.css +54 -54
  112. package/dist/C_Table.css +54 -54
  113. package/dist/C_Table.d.ts +5 -5
  114. package/dist/C_Table2.cjs +3 -3
  115. package/dist/C_Table2.js +3 -3
  116. package/dist/C_TagsView.d.cts +1 -1
  117. package/dist/C_TagsView.d.ts +1 -1
  118. package/dist/C_TagsView2.cjs +1 -1
  119. package/dist/C_TaskBoard.d.cts +1 -1
  120. package/dist/C_TaskBoard.d.ts +1 -1
  121. package/dist/C_TaskBoard2.cjs +1 -1
  122. package/dist/C_TaskPanel.d.cts +1 -1
  123. package/dist/C_TaskPanel.d.ts +1 -1
  124. package/dist/C_TaskPanel2.cjs +1 -1
  125. package/dist/C_Theme.d.cts +1 -1
  126. package/dist/C_Theme.d.ts +1 -1
  127. package/dist/C_Theme2.cjs +1 -1
  128. package/dist/C_Time2.cjs +1 -1
  129. package/dist/C_Timeline.d.cts +1 -1
  130. package/dist/C_Timeline.d.ts +1 -1
  131. package/dist/C_Timeline2.cjs +1 -1
  132. package/dist/C_Transfer.d.cts +1 -1
  133. package/dist/C_Transfer.d.ts +1 -1
  134. package/dist/C_Transfer2.cjs +1 -1
  135. package/dist/C_Tree.d.cts +1 -1
  136. package/dist/C_Tree.d.ts +5 -5
  137. package/dist/C_Tree2.cjs +1 -1
  138. package/dist/C_Upload2.cjs +1 -1
  139. package/dist/C_VideoPlayer2.cjs +1 -1
  140. package/dist/C_WaterFall2.cjs +1 -1
  141. package/dist/C_WorkFlow2.cjs +1 -1
  142. package/dist/Card.cjs +1 -1
  143. package/dist/ColumnSettingsDrawer.cjs +1 -1
  144. package/dist/Custom.cjs +1 -1
  145. package/dist/Dynamic.cjs +1 -1
  146. package/dist/ER.cjs +1 -1
  147. package/dist/ExportMenu.cjs +1 -1
  148. package/dist/NodeConfigModal.cjs +1 -1
  149. package/dist/NotificationItem.cjs +1 -1
  150. package/dist/OptionStatus.cjs +1 -1
  151. package/dist/SearchFieldSettings.cjs +1 -1
  152. package/dist/Steps.cjs +1 -1
  153. package/dist/Tabs.cjs +1 -1
  154. package/dist/UML.cjs +1 -1
  155. package/dist/actionIcon.cjs +1 -1
  156. package/dist/cascader.cjs +1 -1
  157. package/dist/color-picker.cjs +1 -1
  158. package/dist/config.cjs +1 -1
  159. package/dist/config.d.cts +2 -2
  160. package/dist/config.d.ts +2 -2
  161. package/dist/config.js +1 -1
  162. package/dist/constants3.d.cts +6 -6
  163. package/dist/constants3.d.ts +6 -6
  164. package/dist/constants4.d.cts +6 -6
  165. package/dist/constants4.d.ts +6 -6
  166. package/dist/createPageLoading.cjs +1 -1
  167. package/dist/data2.cjs +1 -1
  168. package/dist/data2.d.cts +9 -9
  169. package/dist/data2.d.ts +9 -9
  170. package/dist/data3.cjs +1 -1
  171. package/dist/date-picker.cjs +1 -1
  172. package/dist/editors.cjs +1 -1
  173. package/dist/editors.d.cts +8 -12
  174. package/dist/editors.d.ts +7 -7
  175. package/dist/feedback.cjs +1 -1
  176. package/dist/feedback.js +1 -1
  177. package/dist/fieldRenderers.cjs +1 -1
  178. package/dist/fieldRenderers.js +1 -1
  179. package/dist/formValidation.cjs +1 -1
  180. package/dist/graphics.cjs +1 -1
  181. package/dist/graphics.d.cts +1 -1
  182. package/dist/graphics.d.ts +1 -1
  183. package/dist/html2.cjs +1 -1
  184. package/dist/index.cjs +1 -1
  185. package/dist/index.d.cts +29 -29
  186. package/dist/index.d.ts +28 -28
  187. package/dist/index.js +1 -1
  188. package/dist/index14.vue.d.ts +1 -1
  189. package/dist/index15.vue.d.cts +1 -1
  190. package/dist/index17.vue.d.ts +1 -1
  191. package/dist/index18.vue.d.cts +1 -1
  192. package/dist/index19.vue.d.ts +129 -63
  193. package/dist/index2.vue.d.cts +2 -2
  194. package/dist/index2.vue.d.ts +2 -2
  195. package/dist/index20.vue.d.cts +129 -63
  196. package/dist/index20.vue.d.ts +51 -130
  197. package/dist/index21.vue.d.cts +51 -130
  198. package/dist/index21.vue.d.ts +33 -53
  199. package/dist/index22.vue.d.cts +33 -53
  200. package/dist/index22.vue.d.ts +71 -29
  201. package/dist/index23.vue.d.cts +71 -29
  202. package/dist/index23.vue.d.ts +19 -73
  203. package/dist/index24.vue.d.cts +19 -73
  204. package/dist/index24.vue.d.ts +13 -21
  205. package/dist/index25.vue.d.cts +13 -21
  206. package/dist/index25.vue.d.ts +128 -13
  207. package/dist/index26.vue.d.cts +128 -13
  208. package/dist/index26.vue.d.ts +77 -127
  209. package/dist/index27.vue.d.cts +77 -127
  210. package/dist/index27.vue.d.ts +74 -79
  211. package/dist/index28.vue.d.cts +64 -78
  212. package/dist/index28.vue.d.ts +55 -64
  213. package/dist/index29.vue.d.cts +119 -52
  214. package/dist/index29.vue.d.ts +119 -52
  215. package/dist/index3.vue.d.cts +4 -4
  216. package/dist/index3.vue.d.ts +4 -4
  217. package/dist/index30.vue.d.cts +50 -131
  218. package/dist/index30.vue.d.ts +50 -131
  219. package/dist/index31.vue.d.cts +55 -50
  220. package/dist/index31.vue.d.ts +55 -50
  221. package/dist/index32.vue.d.cts +36 -40
  222. package/dist/index32.vue.d.ts +36 -40
  223. package/dist/index33.vue.d.cts +53 -36
  224. package/dist/index33.vue.d.ts +53 -36
  225. package/dist/index34.vue.d.cts +33 -66
  226. package/dist/index34.vue.d.ts +33 -66
  227. package/dist/index35.vue.d.cts +27 -32
  228. package/dist/index35.vue.d.ts +27 -32
  229. package/dist/index36.vue.d.cts +18 -25
  230. package/dist/index36.vue.d.ts +18 -25
  231. package/dist/index37.vue.d.cts +98 -25
  232. package/dist/index37.vue.d.ts +98 -25
  233. package/dist/index38.vue.d.cts +30 -95
  234. package/dist/index38.vue.d.ts +30 -95
  235. package/dist/index39.vue.d.cts +12 -31
  236. package/dist/index39.vue.d.ts +12 -31
  237. package/dist/index40.vue.d.cts +79 -9
  238. package/dist/index40.vue.d.ts +79 -9
  239. package/dist/index41.vue.d.cts +99 -78
  240. package/dist/index41.vue.d.ts +99 -78
  241. package/dist/index42.vue.d.cts +73 -94
  242. package/dist/index42.vue.d.ts +73 -94
  243. package/dist/index43.vue.d.cts +51 -69
  244. package/dist/index43.vue.d.ts +51 -69
  245. package/dist/index44.vue.d.cts +29 -50
  246. package/dist/index44.vue.d.ts +29 -50
  247. package/dist/index5.vue.d.cts +1 -1
  248. package/dist/index5.vue.d.ts +1 -1
  249. package/dist/index6.vue.d.cts +1 -1
  250. package/dist/index6.vue.d.ts +1 -1
  251. package/dist/localSource.cjs +1 -1
  252. package/dist/localTime.cjs +1 -1
  253. package/dist/locale.cjs +1 -1
  254. package/dist/locale.js +1 -1
  255. package/dist/mapUtils.d.cts +3 -3
  256. package/dist/mapUtils.d.ts +3 -3
  257. package/dist/presets.d.cts +1 -1
  258. package/dist/presets.d.ts +2 -1
  259. package/dist/rate.cjs +1 -1
  260. package/dist/serializeSearch.cjs +1 -1
  261. package/dist/slider.cjs +1 -1
  262. package/dist/source.cjs +1 -1
  263. package/dist/sourceControls.cjs +1 -1
  264. package/dist/style.css +55 -55
  265. package/dist/theme.cjs +1 -1
  266. package/dist/theme.d.cts +9 -3
  267. package/dist/theme.d.ts +2 -2
  268. package/dist/theme.js +1 -1
  269. package/dist/theme2.cjs +1 -1
  270. package/dist/theme2.js +1 -1
  271. package/dist/time-picker.cjs +1 -1
  272. package/dist/tree-select.cjs +1 -1
  273. package/dist/upload.cjs +1 -1
  274. package/dist/useActionTask.cjs +1 -1
  275. package/dist/useCollapsePanel.d.cts +5 -5
  276. package/dist/useCollapsePanel.d.ts +5 -5
  277. package/dist/useComponentDensity.cjs +1 -1
  278. package/dist/useComponentLocale.cjs +1 -1
  279. package/dist/useComponentTheme.cjs +1 -1
  280. package/dist/useCropperCore.d.cts +6 -6
  281. package/dist/useCropperCore.d.ts +6 -6
  282. package/dist/useDataResource.cjs +1 -1
  283. package/dist/useDynamicFormState.cjs +1 -1
  284. package/dist/useDynamicFormState.d.cts +2 -2
  285. package/dist/useDynamicFormState.d.ts +2 -2
  286. package/dist/useEdgeInteraction.d.cts +1 -1
  287. package/dist/useEdgeInteraction.d.ts +1 -1
  288. package/dist/useFormArray.cjs +1 -1
  289. package/dist/useFormConfig.cjs +1 -1
  290. package/dist/useFormModalEditor.cjs +1 -0
  291. package/dist/useFormModalEditor.d.cts +82 -0
  292. package/dist/useFormModalEditor.d.ts +82 -0
  293. package/dist/useFormModalEditor.js +1 -0
  294. package/dist/useFormulaEvaluator.cjs +1 -1
  295. package/dist/useFullscreen.d.cts +3 -3
  296. package/dist/useFullscreen.d.ts +3 -3
  297. package/dist/useGraphExport.cjs +1 -1
  298. package/dist/useGridWidth.cjs +1 -1
  299. package/dist/useInfiniteScroll.d.cts +2 -2
  300. package/dist/useInfiniteScroll.d.ts +2 -2
  301. package/dist/useLocalFileUrl.cjs +1 -1
  302. package/dist/useQRCode.d.cts +3 -3
  303. package/dist/useQRCode.d.ts +3 -3
  304. package/dist/useScopedComponentLocale.cjs +1 -1
  305. package/dist/useSignatureHistory.d.cts +3 -3
  306. package/dist/useSignatureHistory.d.ts +3 -3
  307. package/dist/useSplitResize.d.cts +5 -5
  308. package/dist/useSplitResize.d.ts +5 -5
  309. package/dist/useWorkflowValidation.d.cts +86 -86
  310. package/dist/useWorkflowValidation.d.ts +86 -86
  311. package/dist/verification.d.cts +2 -2
  312. package/dist/verification.d.ts +2 -2
  313. package/dist/virtualList.cjs +1 -1
  314. package/dist/xlsx2.cjs +1 -1
  315. package/docs/guides/usage.md +10 -1
  316. package/package.json +1 -1
  317. package/dist/C_FormModal2.cjs +0 -1
  318. package/dist/C_FormModal2.js +0 -1
  319. package/dist/index45.vue.d.cts +0 -50
  320. package/dist/index45.vue.d.ts +0 -50
  321. /package/dist/{chunk.cjs → rolldown-runtime.cjs} +0 -0
@@ -315,16 +315,16 @@ declare const __VLS_base: vue.DefineComponent<WorkflowProps, {
315
315
  "node-click": (node: WorkflowNode<NodeType>) => any;
316
316
  "update:modelValue": (value: WorkflowData) => any;
317
317
  change: (value: WorkflowData) => any;
318
+ "edge-click": (edge: WorkflowEdge) => any;
318
319
  save: (data: WorkflowData) => any;
319
320
  "validate-error": (errors: ValidationError[]) => any;
320
- "edge-click": (edge: WorkflowEdge) => any;
321
321
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
322
322
  "onNode-click"?: ((node: WorkflowNode<NodeType>) => any) | undefined;
323
323
  "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
324
324
  onChange?: ((value: WorkflowData) => any) | undefined;
325
+ "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
325
326
  onSave?: ((data: WorkflowData) => any) | undefined;
326
327
  "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
327
- "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
328
328
  }>, {
329
329
  readonly: boolean;
330
330
  users: User[];
@@ -362,20 +362,10 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
362
362
  zIndex?: number | undefined;
363
363
  extent?: "parent" | [[number, number], [number, number]] | undefined;
364
364
  expandParent?: boolean | undefined;
365
- type: "copy";
365
+ type: "start";
366
366
  data: {
367
- copyUsers?: {
368
- id: string;
369
- name: string;
370
- avatar?: string | undefined;
371
- department: string;
372
- departmentId?: string | undefined;
373
- role: string;
374
- email?: string | undefined;
375
- phone?: string | undefined;
376
- }[] | undefined;
377
367
  title: string;
378
- status?: NodeStatus | undefined;
368
+ status: "active";
379
369
  config?: Record<string, unknown> | undefined;
380
370
  initiators?: {
381
371
  id: string;
@@ -406,10 +396,20 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
406
396
  zIndex?: number | undefined;
407
397
  extent?: "parent" | [[number, number], [number, number]] | undefined;
408
398
  expandParent?: boolean | undefined;
409
- type: "start";
399
+ type: "copy";
410
400
  data: {
401
+ copyUsers?: {
402
+ id: string;
403
+ name: string;
404
+ avatar?: string | undefined;
405
+ department: string;
406
+ departmentId?: string | undefined;
407
+ role: string;
408
+ email?: string | undefined;
409
+ phone?: string | undefined;
410
+ }[] | undefined;
411
411
  title: string;
412
- status: "active";
412
+ status?: NodeStatus | undefined;
413
413
  config?: Record<string, unknown> | undefined;
414
414
  initiators?: {
415
415
  id: string;
@@ -529,20 +529,10 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
529
529
  zIndex?: number | undefined;
530
530
  extent?: "parent" | [[number, number], [number, number]] | undefined;
531
531
  expandParent?: boolean | undefined;
532
- type: "copy";
532
+ type: "start";
533
533
  data: {
534
- copyUsers?: {
535
- id: string;
536
- name: string;
537
- avatar?: string | undefined;
538
- department: string;
539
- departmentId?: string | undefined;
540
- role: string;
541
- email?: string | undefined;
542
- phone?: string | undefined;
543
- }[] | undefined;
544
534
  title: string;
545
- status?: NodeStatus | undefined;
535
+ status: "active";
546
536
  config?: Record<string, unknown> | undefined;
547
537
  initiators?: {
548
538
  id: string;
@@ -573,10 +563,20 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
573
563
  zIndex?: number | undefined;
574
564
  extent?: "parent" | [[number, number], [number, number]] | undefined;
575
565
  expandParent?: boolean | undefined;
576
- type: "start";
566
+ type: "copy";
577
567
  data: {
568
+ copyUsers?: {
569
+ id: string;
570
+ name: string;
571
+ avatar?: string | undefined;
572
+ department: string;
573
+ departmentId?: string | undefined;
574
+ role: string;
575
+ email?: string | undefined;
576
+ phone?: string | undefined;
577
+ }[] | undefined;
578
578
  title: string;
579
- status: "active";
579
+ status?: NodeStatus | undefined;
580
580
  config?: Record<string, unknown> | undefined;
581
581
  initiators?: {
582
582
  id: string;
@@ -749,20 +749,10 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
749
749
  zIndex?: number | undefined;
750
750
  extent?: "parent" | [[number, number], [number, number]] | undefined;
751
751
  expandParent?: boolean | undefined;
752
- type: "copy";
752
+ type: "start";
753
753
  data: {
754
- copyUsers?: {
755
- id: string;
756
- name: string;
757
- avatar?: string | undefined;
758
- department: string;
759
- departmentId?: string | undefined;
760
- role: string;
761
- email?: string | undefined;
762
- phone?: string | undefined;
763
- }[] | undefined;
764
754
  title: string;
765
- status?: NodeStatus | undefined;
755
+ status: "active";
766
756
  config?: Record<string, unknown> | undefined;
767
757
  initiators?: {
768
758
  id: string;
@@ -793,10 +783,20 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
793
783
  zIndex?: number | undefined;
794
784
  extent?: "parent" | [[number, number], [number, number]] | undefined;
795
785
  expandParent?: boolean | undefined;
796
- type: "start";
786
+ type: "copy";
797
787
  data: {
788
+ copyUsers?: {
789
+ id: string;
790
+ name: string;
791
+ avatar?: string | undefined;
792
+ department: string;
793
+ departmentId?: string | undefined;
794
+ role: string;
795
+ email?: string | undefined;
796
+ phone?: string | undefined;
797
+ }[] | undefined;
798
798
  title: string;
799
- status: "active";
799
+ status?: NodeStatus | undefined;
800
800
  config?: Record<string, unknown> | undefined;
801
801
  initiators?: {
802
802
  id: string;
@@ -916,20 +916,10 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
916
916
  zIndex?: number | undefined;
917
917
  extent?: "parent" | [[number, number], [number, number]] | undefined;
918
918
  expandParent?: boolean | undefined;
919
- type: "copy";
919
+ type: "start";
920
920
  data: {
921
- copyUsers?: {
922
- id: string;
923
- name: string;
924
- avatar?: string | undefined;
925
- department: string;
926
- departmentId?: string | undefined;
927
- role: string;
928
- email?: string | undefined;
929
- phone?: string | undefined;
930
- }[] | undefined;
931
921
  title: string;
932
- status?: NodeStatus | undefined;
922
+ status: "active";
933
923
  config?: Record<string, unknown> | undefined;
934
924
  initiators?: {
935
925
  id: string;
@@ -960,10 +950,20 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn$1, vueFlowR
960
950
  zIndex?: number | undefined;
961
951
  extent?: "parent" | [[number, number], [number, number]] | undefined;
962
952
  expandParent?: boolean | undefined;
963
- type: "start";
953
+ type: "copy";
964
954
  data: {
955
+ copyUsers?: {
956
+ id: string;
957
+ name: string;
958
+ avatar?: string | undefined;
959
+ department: string;
960
+ departmentId?: string | undefined;
961
+ role: string;
962
+ email?: string | undefined;
963
+ phone?: string | undefined;
964
+ }[] | undefined;
965
965
  title: string;
966
- status: "active";
966
+ status?: NodeStatus | undefined;
967
967
  config?: Record<string, unknown> | undefined;
968
968
  initiators?: {
969
969
  id: string;
@@ -1157,20 +1157,10 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1157
1157
  zIndex?: number | undefined;
1158
1158
  extent?: "parent" | [[number, number], [number, number]] | undefined;
1159
1159
  expandParent?: boolean | undefined;
1160
- type: "copy";
1160
+ type: "start";
1161
1161
  data: {
1162
- copyUsers?: {
1163
- id: string;
1164
- name: string;
1165
- avatar?: string | undefined;
1166
- department: string;
1167
- departmentId?: string | undefined;
1168
- role: string;
1169
- email?: string | undefined;
1170
- phone?: string | undefined;
1171
- }[] | undefined;
1172
1162
  title: string;
1173
- status?: NodeStatus | undefined;
1163
+ status: "active";
1174
1164
  config?: Record<string, unknown> | undefined;
1175
1165
  initiators?: {
1176
1166
  id: string;
@@ -1201,10 +1191,20 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1201
1191
  zIndex?: number | undefined;
1202
1192
  extent?: "parent" | [[number, number], [number, number]] | undefined;
1203
1193
  expandParent?: boolean | undefined;
1204
- type: "start";
1194
+ type: "copy";
1205
1195
  data: {
1196
+ copyUsers?: {
1197
+ id: string;
1198
+ name: string;
1199
+ avatar?: string | undefined;
1200
+ department: string;
1201
+ departmentId?: string | undefined;
1202
+ role: string;
1203
+ email?: string | undefined;
1204
+ phone?: string | undefined;
1205
+ }[] | undefined;
1206
1206
  title: string;
1207
- status: "active";
1207
+ status?: NodeStatus | undefined;
1208
1208
  config?: Record<string, unknown> | undefined;
1209
1209
  initiators?: {
1210
1210
  id: string;
@@ -1347,20 +1347,10 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1347
1347
  zIndex?: number | undefined;
1348
1348
  extent?: "parent" | [[number, number], [number, number]] | undefined;
1349
1349
  expandParent?: boolean | undefined;
1350
- type: "copy";
1350
+ type: "start";
1351
1351
  data: {
1352
- copyUsers?: {
1353
- id: string;
1354
- name: string;
1355
- avatar?: string | undefined;
1356
- department: string;
1357
- departmentId?: string | undefined;
1358
- role: string;
1359
- email?: string | undefined;
1360
- phone?: string | undefined;
1361
- }[] | undefined;
1362
1352
  title: string;
1363
- status?: NodeStatus | undefined;
1353
+ status: "active";
1364
1354
  config?: Record<string, unknown> | undefined;
1365
1355
  initiators?: {
1366
1356
  id: string;
@@ -1391,10 +1381,20 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
1391
1381
  zIndex?: number | undefined;
1392
1382
  extent?: "parent" | [[number, number], [number, number]] | undefined;
1393
1383
  expandParent?: boolean | undefined;
1394
- type: "start";
1384
+ type: "copy";
1395
1385
  data: {
1386
+ copyUsers?: {
1387
+ id: string;
1388
+ name: string;
1389
+ avatar?: string | undefined;
1390
+ department: string;
1391
+ departmentId?: string | undefined;
1392
+ role: string;
1393
+ email?: string | undefined;
1394
+ phone?: string | undefined;
1395
+ }[] | undefined;
1396
1396
  title: string;
1397
- status: "active";
1397
+ status?: NodeStatus | undefined;
1398
1398
  config?: Record<string, unknown> | undefined;
1399
1399
  initiators?: {
1400
1400
  id: string;
@@ -77,20 +77,20 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
77
77
  show: () => void;
78
78
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
79
79
  change: (valid: boolean) => any;
80
+ reset: () => any;
80
81
  success: (data: CaptchaSuccessPayload) => any;
81
82
  fail: (error: string) => any;
82
83
  "verify-error": (error: unknown) => any;
83
84
  "load-error": (error: unknown) => any;
84
85
  "visible-change": (visible: boolean) => any;
85
- reset: () => any;
86
86
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
87
87
  onChange?: ((valid: boolean) => any) | undefined;
88
+ onReset?: (() => any) | undefined;
88
89
  onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
89
90
  onFail?: ((error: string) => any) | undefined;
90
91
  "onVerify-error"?: ((error: unknown) => any) | undefined;
91
92
  "onLoad-error"?: ((error: unknown) => any) | undefined;
92
93
  "onVisible-change"?: ((visible: boolean) => any) | undefined;
93
- onReset?: (() => any) | undefined;
94
94
  }>, {
95
95
  disabled: boolean;
96
96
  provider: CaptchaProvider;
@@ -77,20 +77,20 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
77
77
  show: () => void;
78
78
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
79
79
  change: (valid: boolean) => any;
80
+ reset: () => any;
80
81
  success: (data: CaptchaSuccessPayload) => any;
81
82
  fail: (error: string) => any;
82
83
  "verify-error": (error: unknown) => any;
83
84
  "load-error": (error: unknown) => any;
84
85
  "visible-change": (visible: boolean) => any;
85
- reset: () => any;
86
86
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
87
87
  onChange?: ((valid: boolean) => any) | undefined;
88
+ onReset?: (() => any) | undefined;
88
89
  onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
89
90
  onFail?: ((error: string) => any) | undefined;
90
91
  "onVerify-error"?: ((error: unknown) => any) | undefined;
91
92
  "onLoad-error"?: ((error: unknown) => any) | undefined;
92
93
  "onVisible-change"?: ((visible: boolean) => any) | undefined;
93
- onReset?: (() => any) | undefined;
94
94
  }>, {
95
95
  disabled: boolean;
96
96
  provider: CaptchaProvider;
@@ -1 +1 @@
1
- const e=require(`./chunk.cjs`);let t=require(`vueuc`);t=e.n(t);const n=t.VVirtualList??Reflect.get(t,`default`).VVirtualList;Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
1
+ const e=require(`./rolldown-runtime.cjs`);let t=require(`vueuc`);t=e.n(t);const n=t.VVirtualList??Reflect.get(t,`default`).VVirtualList;Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
package/dist/xlsx2.cjs CHANGED
@@ -1,4 +1,4 @@
1
- var e=require(`./chunk.cjs`).t({CFB:()=>H,SSF:()=>rt,default:()=>Qb,parse_xlscfb:()=>G_,parse_zip:()=>Yy,read:()=>sb,readFile:()=>cb,readFileSync:()=>cb,set_cptable:()=>v,set_fs:()=>ft,stream:()=>Xb,utils:()=>Ub,version:()=>Zb,write:()=>yb,writeFile:()=>xb,writeFileAsync:()=>Cb,writeFileSync:()=>xb,writeFileXLSX:()=>Sb,writeXLSX:()=>vb}),t={};t.version=`0.20.3`;var n=1200,r=1252,i,a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],o={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},s=function(e){a.indexOf(e)!=-1&&(r=o[0]=e)};function c(){s(1252)}var l=function(e){n=e,s(e)};function u(){l(1200),c()}function d(e){for(var t=[],n=0,r=e.length;n<r;++n)t[n]=e.charCodeAt(n);return t}function f(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join(``)}function p(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e[2*n]+(e[2*n+1]<<8));return t.join(``)}function m(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join(``)}var h=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return t==255&&n==254?f(e.slice(2)):t==254&&n==255?m(e.slice(2)):t==65279?e.slice(1):e},g=function(e){return String.fromCharCode(e)},_=function(e){return String.fromCharCode(e)};function v(e){i=e,l=function(e){n=e,s(e)},h=function(e){return e.charCodeAt(0)===255&&e.charCodeAt(1)===254?i.utils.decode(1200,d(e.slice(2))):e},g=function(e){return n===1200?String.fromCharCode(e):i.utils.decode(n,[e&255,e>>8])[0]},_=function(e){return i.utils.decode(r,[e])[0]},Tr()}var y=null,b=!0,x=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;function S(e){for(var t=``,n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0;l<e.length;)n=e.charCodeAt(l++),a=n>>2,r=e.charCodeAt(l++),o=(n&3)<<4|r>>4,i=e.charCodeAt(l++),s=(r&15)<<2|i>>6,c=i&63,isNaN(r)?s=c=64:isNaN(i)&&(c=64),t+=x.charAt(a)+x.charAt(o)+x.charAt(s)+x.charAt(c);return t}function C(e){for(var t=``,n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0;l<e.length;)n=e.charCodeAt(l++),n>255&&(n=95),a=n>>2,r=e.charCodeAt(l++),r>255&&(r=95),o=(n&3)<<4|r>>4,i=e.charCodeAt(l++),i>255&&(i=95),s=(r&15)<<2|i>>6,c=i&63,isNaN(r)?s=c=64:isNaN(i)&&(c=64),t+=x.charAt(a)+x.charAt(o)+x.charAt(s)+x.charAt(c);return t}function w(e){for(var t=``,n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0;l<e.length;)n=e[l++],a=n>>2,r=e[l++],o=(n&3)<<4|r>>4,i=e[l++],s=(r&15)<<2|i>>6,c=i&63,isNaN(r)?s=c=64:isNaN(i)&&(c=64),t+=x.charAt(a)+x.charAt(o)+x.charAt(s)+x.charAt(c);return t}function T(e){var t=``,n=0,r=0,i=0,a=0,o=0,s=0,c=0;if(e.slice(0,5)==`data:`){var l=e.slice(0,1024).indexOf(`;base64,`);l>-1&&(e=e.slice(l+8))}e=e.replace(/[^\w\+\/\=]/g,``);for(var l=0;l<e.length;)a=x.indexOf(e.charAt(l++)),o=x.indexOf(e.charAt(l++)),n=a<<2|o>>4,t+=String.fromCharCode(n),s=x.indexOf(e.charAt(l++)),r=(o&15)<<4|s>>2,s!==64&&(t+=String.fromCharCode(r)),c=x.indexOf(e.charAt(l++)),i=(s&3)<<6|c,c!==64&&(t+=String.fromCharCode(i));return t}var E=(function(){return typeof Buffer<`u`&&typeof process<`u`&&process.versions!==void 0&&!!process.versions.node})(),D=(function(){if(typeof Buffer<`u`){var e=!Buffer.from;if(!e)try{Buffer.from(`foo`,`utf8`)}catch{e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}})(),O=(function(){if(typeof Buffer>`u`)return!1;var e=D([65,0]);return e?e.toString(`utf16le`).length==1:!1})();function k(e){return E?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<`u`?new Uint8Array(e):Array(e)}function A(e){return E?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<`u`?new Uint8Array(e):Array(e)}var j=function(e){return E?D(e,`binary`):e.split(``).map(function(e){return e.charCodeAt(0)&255})};function ee(e){if(typeof ArrayBuffer>`u`)return j(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=e.charCodeAt(r)&255;return t}function M(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join(``);for(var t=[],n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join(``)}function N(e){if(typeof Uint8Array>`u`)throw Error(`Unsupported`);return new Uint8Array(e)}function P(e){if(typeof ArrayBuffer>`u`)throw Error(`Unsupported`);if(e instanceof ArrayBuffer)return P(new Uint8Array(e));for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t}var F=E?function(e){return Buffer.concat(e.map(function(e){return Buffer.isBuffer(e)?e:D(e)}))}:function(e){if(typeof Uint8Array<`u`){var t=0,n=0;for(t=0;t<e.length;++t)n+=e[t].length;var r=new Uint8Array(n),i=0;for(t=0,n=0;t<e.length;n+=i,++t)i=e[t].length,e[t]instanceof Uint8Array?r.set(e[t],n):typeof e[t]==`string`?r.set(new Uint8Array(j(e[t])),n):r.set(new Uint8Array(e[t]),n);return r}return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}))};function I(e){for(var t=[],n=0,r=e.length+250,i=k(e.length+255),a=0;a<e.length;++a){var o=e.charCodeAt(a);if(o<128)i[n++]=o;else if(o<2048)i[n++]=192|o>>6&31,i[n++]=128|o&63;else if(o>=55296&&o<57344){o=(o&1023)+64;var s=e.charCodeAt(++a)&1023;i[n++]=240|o>>8&7,i[n++]=128|o>>2&63,i[n++]=128|s>>6&15|(o&3)<<4,i[n++]=128|s&63}else i[n++]=224|o>>12&15,i[n++]=128|o>>6&63,i[n++]=128|o&63;n>r&&(t.push(i.slice(0,n)),n=0,i=k(65535),r=65530)}return t.push(i.slice(0,n)),F(t)}var L=/\u0000/g,te=/[\u0001-\u0006]/g;function ne(e){for(var t=``,n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function R(e,t){var n=``+e;return n.length>=t?n:Nt(`0`,t-n.length)+n}function z(e,t){var n=``+e;return n.length>=t?n:Nt(` `,t-n.length)+n}function re(e,t){var n=``+e;return n.length>=t?n:n+Nt(` `,t-n.length)}function ie(e,t){var n=``+Math.round(e);return n.length>=t?n:Nt(`0`,t-n.length)+n}function ae(e,t){var n=``+e;return n.length>=t?n:Nt(`0`,t-n.length)+n}var oe=2**32;function se(e,t){return e>oe||e<-oe?ie(e,t):ae(Math.round(e),t)}function ce(e,t){return t||=0,e.length>=7+t&&(e.charCodeAt(t)|32)==103&&(e.charCodeAt(t+1)|32)==101&&(e.charCodeAt(t+2)|32)==110&&(e.charCodeAt(t+3)|32)==101&&(e.charCodeAt(t+4)|32)==114&&(e.charCodeAt(t+5)|32)==97&&(e.charCodeAt(t+6)|32)==108}var le=[[`Sun`,`Sunday`],[`Mon`,`Monday`],[`Tue`,`Tuesday`],[`Wed`,`Wednesday`],[`Thu`,`Thursday`],[`Fri`,`Friday`],[`Sat`,`Saturday`]],ue=[[`J`,`Jan`,`January`],[`F`,`Feb`,`February`],[`M`,`Mar`,`March`],[`A`,`Apr`,`April`],[`M`,`May`,`May`],[`J`,`Jun`,`June`],[`J`,`Jul`,`July`],[`A`,`Aug`,`August`],[`S`,`Sep`,`September`],[`O`,`Oct`,`October`],[`N`,`Nov`,`November`],[`D`,`Dec`,`December`]];function B(e){return e||={},e[0]=`General`,e[1]=`0`,e[2]=`0.00`,e[3]=`#,##0`,e[4]=`#,##0.00`,e[9]=`0%`,e[10]=`0.00%`,e[11]=`0.00E+00`,e[12]=`# ?/?`,e[13]=`# ??/??`,e[14]=`m/d/yy`,e[15]=`d-mmm-yy`,e[16]=`d-mmm`,e[17]=`mmm-yy`,e[18]=`h:mm AM/PM`,e[19]=`h:mm:ss AM/PM`,e[20]=`h:mm`,e[21]=`h:mm:ss`,e[22]=`m/d/yy h:mm`,e[37]=`#,##0 ;(#,##0)`,e[38]=`#,##0 ;[Red](#,##0)`,e[39]=`#,##0.00;(#,##0.00)`,e[40]=`#,##0.00;[Red](#,##0.00)`,e[45]=`mm:ss`,e[46]=`[h]:mm:ss`,e[47]=`mmss.0`,e[48]=`##0.0E+0`,e[49]=`@`,e[56]=`"上午/下午 "hh"時"mm"分"ss"秒 "`,e}var V={0:`General`,1:`0`,2:`0.00`,3:`#,##0`,4:`#,##0.00`,9:`0%`,10:`0.00%`,11:`0.00E+00`,12:`# ?/?`,13:`# ??/??`,14:`m/d/yy`,15:`d-mmm-yy`,16:`d-mmm`,17:`mmm-yy`,18:`h:mm AM/PM`,19:`h:mm:ss AM/PM`,20:`h:mm`,21:`h:mm:ss`,22:`m/d/yy h:mm`,37:`#,##0 ;(#,##0)`,38:`#,##0 ;[Red](#,##0)`,39:`#,##0.00;(#,##0.00)`,40:`#,##0.00;[Red](#,##0.00)`,45:`mm:ss`,46:`[h]:mm:ss`,47:`mmss.0`,48:`##0.0E+0`,49:`@`,56:`"上午/下午 "hh"時"mm"分"ss"秒 "`},de={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},fe={5:`"$"#,##0_);\\("$"#,##0\\)`,63:`"$"#,##0_);\\("$"#,##0\\)`,6:`"$"#,##0_);[Red]\\("$"#,##0\\)`,64:`"$"#,##0_);[Red]\\("$"#,##0\\)`,7:`"$"#,##0.00_);\\("$"#,##0.00\\)`,65:`"$"#,##0.00_);\\("$"#,##0.00\\)`,8:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,66:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,41:`_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)`,42:`_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)`,43:`_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)`,44:`_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)`};function pe(e,t,n){for(var r=e<0?-1:1,i=e*r,a=0,o=1,s=0,c=1,l=0,u=0,d=Math.floor(i);l<t&&(d=Math.floor(i),s=d*o+a,u=d*l+c,!(i-d<5e-8));)i=1/(i-d),a=o,o=s,c=l,l=u;if(u>t&&(l>t?(u=c,s=a):(u=l,s=o)),!n)return[0,r*s,u];var f=Math.floor(r*s/u);return[f,r*s-f*u,u]}function me(e){var t=e.toPrecision(16);if(t.indexOf(`e`)>-1){var n=t.slice(0,t.indexOf(`e`));return n=n.indexOf(`.`)>-1?n.slice(0,n.slice(0,2)==`0.`?17:16):n.slice(0,15)+Nt(`0`,n.length-15),n+t.slice(t.indexOf(`e`))}var r=t.indexOf(`.`)>-1?t.slice(0,t.slice(0,2)==`0.`?17:16):t.slice(0,15)+Nt(`0`,t.length-15);return Number(r)}function he(e,t,n){if(e>2958465||e<0)return null;e=me(e);var r=e|0,i=Math.floor(86400*(e-r)),a=0,o=[],s={D:r,T:i,u:86400*(e-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,++i==86400&&(s.T=i=0,++r,++s.D)),r===60)o=n?[1317,10,29]:[1900,2,29],a=3;else if(r===0)o=n?[1317,8,29]:[1900,1,0],a=6;else{r>60&&--r;var c=new Date(1900,0,1);c.setDate(c.getDate()+r-1),o=[c.getFullYear(),c.getMonth()+1,c.getDate()],a=c.getDay(),r<60&&(a=(a+6)%7),n&&(a=Se(c,o))}return s.y=o[0],s.m=o[1],s.d=o[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=a,s}function ge(e){return e.indexOf(`.`)==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,`$1`)}function _e(e){return e.indexOf(`E`)==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,`$1E`).replace(/(E[+-])(\d)$/,`$10$2`)}function ve(e){var t=e<0?12:11,n=ge(e.toFixed(12));return n.length<=t||(n=e.toPrecision(10),n.length<=t)?n:e.toExponential(5)}function ye(e){var t=ge(e.toFixed(11));return t.length>(e<0?12:11)||t===`0`||t===`-0`?e.toPrecision(6):t}function be(e){if(!isFinite(e))return isNaN(e)?`#NUM!`:`#DIV/0!`;var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return ge(_e((t>=-4&&t<=-1?e.toPrecision(10+t):Math.abs(t)<=9?ve(e):t===10?e.toFixed(10).substr(0,12):ye(e)).toUpperCase()))}function xe(e,t){switch(typeof e){case`string`:return e;case`boolean`:return e?`TRUE`:`FALSE`;case`number`:return(e|0)===e?e.toString(10):be(e);case`undefined`:return``;case`object`:if(e==null)return``;if(e instanceof Date)return $e(14,wt(e,t&&t.date1904),t)}throw Error(`unsupported value in General format: `+e)}function Se(e,t){t[0]-=581;var n=e.getDay();return e<60&&(n=(n+6)%7),n}function Ce(e,t,n,r){var i=``,a=0,o=0,s=n.y,c,l=0;switch(e){case 98:s=n.y+543;case 121:switch(t.length){case 1:case 2:c=s%100,l=2;break;default:c=s%1e4,l=4;break}break;case 109:switch(t.length){case 1:case 2:c=n.m,l=t.length;break;case 3:return ue[n.m-1][1];case 5:return ue[n.m-1][0];default:return ue[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:c=n.d,l=t.length;break;case 3:return le[n.q][0];default:return le[n.q][1]}break;case 104:switch(t.length){case 1:case 2:c=1+(n.H+11)%12,l=t.length;break;default:throw`bad hour format: `+t}break;case 72:switch(t.length){case 1:case 2:c=n.H,l=t.length;break;default:throw`bad hour format: `+t}break;case 77:switch(t.length){case 1:case 2:c=n.M,l=t.length;break;default:throw`bad minute format: `+t}break;case 115:if(t!=`s`&&t!=`ss`&&t!=`.0`&&t!=`.00`&&t!=`.000`)throw`bad second format: `+t;return n.u===0&&(t==`s`||t==`ss`)?R(n.S,t.length):(o=r>=2?r===3?1e3:100:r===1?10:1,a=Math.round(o*(n.S+n.u)),a>=60*o&&(a=0),t===`s`?a===0?`0`:``+a/o:(i=R(a,2+r),t===`ss`?i.substr(0,2):`.`+i.substr(2,t.length-1)));case 90:switch(t){case`[h]`:case`[hh]`:c=n.D*24+n.H;break;case`[m]`:case`[mm]`:c=(n.D*24+n.H)*60+n.M;break;case`[s]`:case`[ss]`:c=((n.D*24+n.H)*60+n.M)*60+(r==0?Math.round(n.S+n.u):n.S);break;default:throw`bad abstime format: `+t}l=t.length===3?1:2;break;case 101:c=s,l=1;break}return l>0?R(c,l):``}function we(e){var t=3;if(e.length<=t)return e;for(var n=e.length%t,r=e.substr(0,n);n!=e.length;n+=t)r+=(r.length>0?`,`:``)+e.substr(n,t);return r}var Te=/%/g;function Ee(e,t,n){var r=t.replace(Te,``),i=t.length-r.length;return Ge(e,r,n*10**(2*i))+Nt(`%`,i)}function De(e,t,n){for(var r=t.length-1;t.charCodeAt(r-1)===44;)--r;return Ge(e,t.substr(0,r),n/10**(3*(t.length-r)))}function Oe(e,t){var n,r=e.indexOf(`E`)-e.indexOf(`.`)-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return`0.0E+0`;if(t<0)return`-`+Oe(e,-t);var i=e.indexOf(`.`);i===-1&&(i=e.indexOf(`E`));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),n=(t/10**a).toPrecision(r+1+(i+a)%i),n.indexOf(`e`)===-1){var o=Math.floor(Math.log(t)*Math.LOG10E);for(n.indexOf(`.`)===-1?n=n.charAt(0)+`.`+n.substr(1)+`E+`+(o-n.length+a):n+=`E+`+(o-a);n.substr(0,2)===`0.`;)n=n.charAt(0)+n.substr(2,i)+`.`+n.substr(2+i),n=n.replace(/^0+([1-9])/,`$1`).replace(/^0+\./,`0.`);n=n.replace(/\+-/,`-`)}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(i+a)%i)+`.`+r.substr(a)+`E`})}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+`0`+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,`e`)),n.replace(`e`,`E`)}var ke=/# (\?+)( ?)\/( ?)(\d+)/;function Ae(e,t,n){var r=parseInt(e[4],10),i=Math.round(t*r),a=Math.floor(i/r),o=i-a*r,s=r;return n+(a===0?``:``+a)+` `+(o===0?Nt(` `,e[1].length+1+e[4].length):z(o,e[1].length)+e[2]+`/`+e[3]+R(s,e[4].length))}function je(e,t,n){return n+(t===0?``:``+t)+Nt(` `,e[1].length+2+e[4].length)}var Me=/^#*0*\.([0#]+)/,Ne=/\)[^)]*[0#]/,Pe=/\(###\) ###\\?-####/;function Fe(e){for(var t=``,n,r=0;r!=e.length;++r)switch(n=e.charCodeAt(r)){case 35:break;case 63:t+=` `;break;case 48:t+=`0`;break;default:t+=String.fromCharCode(n)}return t}function Ie(e,t){var n=10**t;return``+Math.round(e*n)/n}function Le(e,t){var n=e-Math.floor(e),r=10**t;return t<(``+Math.round(n*r)).length?0:Math.round(n*r)}function Re(e,t){return t<(``+Math.round((e-Math.floor(e))*10**t)).length?1:0}function ze(e){return e<2147483647&&e>-2147483648?``+(e>=0?e|0:e-1|0):``+Math.floor(e)}function Be(e,t,n){if(e.charCodeAt(0)===40&&!t.match(Ne)){var r=t.replace(/\( */,``).replace(/ \)/,``).replace(/\)/,``);return n>=0?Be(`n`,r,n):`(`+Be(`n`,r,-n)+`)`}if(t.charCodeAt(t.length-1)===44)return De(e,t,n);if(t.indexOf(`%`)!==-1)return Ee(e,t,n);if(t.indexOf(`E`)!==-1)return Oe(t,n);if(t.charCodeAt(0)===36)return`$`+Be(e,t.substr(t.charAt(1)==` `?2:1),n);var i,a,o,s,c=Math.abs(n),l=n<0?`-`:``;if(t.match(/^00+$/))return l+se(c,t.length);if(t.match(/^[#?]+$/))return i=se(n,0),i===`0`&&(i=``),i.length>t.length?i:Fe(t.substr(0,t.length-i.length))+i;if(a=t.match(ke))return Ae(a,c,l);if(t.match(/^#+0+$/))return l+se(c,t.length-t.indexOf(`0`));if(a=t.match(Me))return i=Ie(n,a[1].length).replace(/^([^\.]+)$/,`$1.`+Fe(a[1])).replace(/\.$/,`.`+Fe(a[1])).replace(/\.(\d*)$/,function(e,t){return`.`+t+Nt(`0`,Fe(a[1]).length-t.length)}),t.indexOf(`0.`)===-1?i.replace(/^0\./,`.`):i;if(t=t.replace(/^#+([0.])/,`$1`),a=t.match(/^(0*)\.(#*)$/))return l+Ie(c,a[2].length).replace(/\.(\d*[1-9])0*$/,`.$1`).replace(/^(-?\d*)$/,`$1.`).replace(/^0\./,a[1].length?`0.`:`.`);if(a=t.match(/^#{1,3},##0(\.?)$/))return l+we(se(c,0));if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?`-`+Be(e,t,-n):we(``+(Math.floor(n)+Re(n,a[1].length)))+`.`+R(Le(n,a[1].length),a[1].length);if(a=t.match(/^#,#*,#0/))return Be(e,t.replace(/^#,#*,/,``),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=ne(Be(e,t.replace(/[\\-]/g,``),n)),o=0,ne(ne(t.replace(/\\/g,``)).replace(/[0#]/g,function(e){return o<i.length?i.charAt(o++):e===`0`?`0`:``}));if(t.match(Pe))return i=Be(e,`##########`,n),`(`+i.substr(0,3)+`) `+i.substr(3,3)+`-`+i.substr(6);var u=``;if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(a[4].length,7),s=pe(c,10**o-1,!1),i=``+l,u=Ge(`n`,a[1],s[1]),u.charAt(u.length-1)==` `&&(u=u.substr(0,u.length-1)+`0`),i+=u+a[2]+`/`+a[3],u=re(s[2],o),u.length<a[4].length&&(u=Fe(a[4].substr(a[4].length-u.length))+u),i+=u,i;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(a[1].length,a[4].length),7),s=pe(c,10**o-1,!0),l+(s[0]||(s[1]?``:`0`))+` `+(s[1]?z(s[1],o)+a[2]+`/`+a[3]+re(s[2],o):Nt(` `,2*o+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return i=se(n,0),t.length<=i.length?i:Fe(t.substr(0,t.length-i.length))+i;if(a=t.match(/^([#0?]+)\.([#0]+)$/)){i=``+n.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,`$1`),o=i.indexOf(`.`);var d=t.indexOf(`.`)-o,f=t.length-i.length-d;return Fe(t.substr(0,d)+i+t.substr(t.length-f))}if(a=t.match(/^00,000\.([#0]*0)$/))return o=Le(n,a[1].length),n<0?`-`+Be(e,t,-n):we(ze(n)).replace(/^\d,\d{3}$/,`0$&`).replace(/^\d*$/,function(e){return`00,`+(e.length<3?R(0,3-e.length):``)+e})+`.`+R(o,a[1].length);switch(t){case`###,##0.00`:return Be(e,`#,##0.00`,n);case`###,###`:case`##,###`:case`#,###`:var p=we(se(c,0));return p===`0`?``:l+p;case`###,###.00`:return Be(e,`###,##0.00`,n).replace(/^0\./,`.`);case`#,###.00`:return Be(e,`#,##0.00`,n).replace(/^0\./,`.`);default:}throw Error(`unsupported format |`+t+`|`)}function Ve(e,t,n){for(var r=t.length-1;t.charCodeAt(r-1)===44;)--r;return Ge(e,t.substr(0,r),n/10**(3*(t.length-r)))}function He(e,t,n){var r=t.replace(Te,``),i=t.length-r.length;return Ge(e,r,n*10**(2*i))+Nt(`%`,i)}function Ue(e,t){var n,r=e.indexOf(`E`)-e.indexOf(`.`)-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return`0.0E+0`;if(t<0)return`-`+Ue(e,-t);var i=e.indexOf(`.`);i===-1&&(i=e.indexOf(`E`));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),n=(t/10**a).toPrecision(r+1+(i+a)%i),!n.match(/[Ee]/)){var o=Math.floor(Math.log(t)*Math.LOG10E);n.indexOf(`.`)===-1?n=n.charAt(0)+`.`+n.substr(1)+`E+`+(o-n.length+a):n+=`E+`+(o-a),n=n.replace(/\+-/,`-`)}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(i+a)%i)+`.`+r.substr(a)+`E`})}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+`0`+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,`e`)),n.replace(`e`,`E`)}function We(e,t,n){if(e.charCodeAt(0)===40&&!t.match(Ne)){var r=t.replace(/\( */,``).replace(/ \)/,``).replace(/\)/,``);return n>=0?We(`n`,r,n):`(`+We(`n`,r,-n)+`)`}if(t.charCodeAt(t.length-1)===44)return Ve(e,t,n);if(t.indexOf(`%`)!==-1)return He(e,t,n);if(t.indexOf(`E`)!==-1)return Ue(t,n);if(t.charCodeAt(0)===36)return`$`+We(e,t.substr(t.charAt(1)==` `?2:1),n);var i,a,o,s,c=Math.abs(n),l=n<0?`-`:``;if(t.match(/^00+$/))return l+R(c,t.length);if(t.match(/^[#?]+$/))return i=``+n,n===0&&(i=``),i.length>t.length?i:Fe(t.substr(0,t.length-i.length))+i;if(a=t.match(ke))return je(a,c,l);if(t.match(/^#+0+$/))return l+R(c,t.length-t.indexOf(`0`));if(a=t.match(Me))return i=(``+n).replace(/^([^\.]+)$/,`$1.`+Fe(a[1])).replace(/\.$/,`.`+Fe(a[1])),i=i.replace(/\.(\d*)$/,function(e,t){return`.`+t+Nt(`0`,Fe(a[1]).length-t.length)}),t.indexOf(`0.`)===-1?i.replace(/^0\./,`.`):i;if(t=t.replace(/^#+([0.])/,`$1`),a=t.match(/^(0*)\.(#*)$/))return l+(``+c).replace(/\.(\d*[1-9])0*$/,`.$1`).replace(/^(-?\d*)$/,`$1.`).replace(/^0\./,a[1].length?`0.`:`.`);if(a=t.match(/^#{1,3},##0(\.?)$/))return l+we(``+c);if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?`-`+We(e,t,-n):we(``+n)+`.`+Nt(`0`,a[1].length);if(a=t.match(/^#,#*,#0/))return We(e,t.replace(/^#,#*,/,``),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=ne(We(e,t.replace(/[\\-]/g,``),n)),o=0,ne(ne(t.replace(/\\/g,``)).replace(/[0#]/g,function(e){return o<i.length?i.charAt(o++):e===`0`?`0`:``}));if(t.match(Pe))return i=We(e,`##########`,n),`(`+i.substr(0,3)+`) `+i.substr(3,3)+`-`+i.substr(6);var u=``;if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(a[4].length,7),s=pe(c,10**o-1,!1),i=``+l,u=Ge(`n`,a[1],s[1]),u.charAt(u.length-1)==` `&&(u=u.substr(0,u.length-1)+`0`),i+=u+a[2]+`/`+a[3],u=re(s[2],o),u.length<a[4].length&&(u=Fe(a[4].substr(a[4].length-u.length))+u),i+=u,i;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(a[1].length,a[4].length),7),s=pe(c,10**o-1,!0),l+(s[0]||(s[1]?``:`0`))+` `+(s[1]?z(s[1],o)+a[2]+`/`+a[3]+re(s[2],o):Nt(` `,2*o+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return i=``+n,t.length<=i.length?i:Fe(t.substr(0,t.length-i.length))+i;if(a=t.match(/^([#0]+)\.([#0]+)$/)){i=``+n.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,`$1`),o=i.indexOf(`.`);var d=t.indexOf(`.`)-o,f=t.length-i.length-d;return Fe(t.substr(0,d)+i+t.substr(t.length-f))}if(a=t.match(/^00,000\.([#0]*0)$/))return n<0?`-`+We(e,t,-n):we(``+n).replace(/^\d,\d{3}$/,`0$&`).replace(/^\d*$/,function(e){return`00,`+(e.length<3?R(0,3-e.length):``)+e})+`.`+R(0,a[1].length);switch(t){case`###,###`:case`##,###`:case`#,###`:var p=we(``+c);return p===`0`?``:l+p;default:if(t.match(/\.[0#?]*$/))return We(e,t.slice(0,t.lastIndexOf(`.`)),n)+Fe(t.slice(t.lastIndexOf(`.`)))}throw Error(`unsupported format |`+t+`|`)}function Ge(e,t,n){return(n|0)===n?We(e,t,n):Be(e,t,n)}function Ke(e){for(var t=[],n=!1,r=0,i=0;r<e.length;++r)switch(e.charCodeAt(r)){case 34:n=!n;break;case 95:case 42:case 92:++r;break;case 59:t[t.length]=e.substr(i,r-i),i=r+1}if(t[t.length]=e.substr(i),n===!0)throw Error(`Format |`+e+`| unterminated string `);return t}var qe=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Je(e){for(var t=0,n=``,r=``;t<e.length;)switch(n=e.charAt(t)){case`G`:ce(e,t)&&(t+=6),t++;break;case`"`:for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case`\\`:t+=2;break;case`_`:t+=2;break;case`@`:++t;break;case`B`:case`b`:if(e.charAt(t+1)===`1`||e.charAt(t+1)===`2`)return!0;case`M`:case`D`:case`Y`:case`H`:case`S`:case`E`:case`m`:case`d`:case`y`:case`h`:case`s`:case`e`:case`g`:return!0;case`A`:case`a`:case`上`:if(e.substr(t,3).toUpperCase()===`A/P`||e.substr(t,5).toUpperCase()===`AM/PM`||e.substr(t,5).toUpperCase()===`上午/下午`)return!0;++t;break;case`[`:for(r=n;e.charAt(t++)!==`]`&&t<e.length;)r+=e.charAt(t);if(r.match(qe))return!0;break;case`.`:case`0`:case`#`:for(;t<e.length&&(`0#?.,E+-%`.indexOf(n=e.charAt(++t))>-1||n==`\\`&&e.charAt(t+1)==`-`&&`0#`.indexOf(e.charAt(t+2))>-1););break;case`?`:for(;e.charAt(++t)===n;);break;case`*`:++t,(e.charAt(t)==` `||e.charAt(t)==`*`)&&++t;break;case`(`:case`)`:++t;break;case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:for(;t<e.length&&`0123456789`.indexOf(e.charAt(++t))>-1;);break;case` `:++t;break;default:++t;break}return!1}function Ye(e,t,n,r){for(var i=[],a=``,o=0,s=``,c=`t`,l,u,d,f=`H`;o<e.length;)switch(s=e.charAt(o)){case`G`:if(!ce(e,o))throw Error(`unrecognized character `+s+` in `+e);i[i.length]={t:`G`,v:`General`},o+=7;break;case`"`:for(a=``;(d=e.charCodeAt(++o))!==34&&o<e.length;)a+=String.fromCharCode(d);i[i.length]={t:`t`,v:a},++o;break;case`\\`:var p=e.charAt(++o),m=p===`(`||p===`)`?p:`t`;i[i.length]={t:m,v:p},++o;break;case`_`:i[i.length]={t:`t`,v:` `},o+=2;break;case`@`:i[i.length]={t:`T`,v:t},++o;break;case`B`:case`b`:if(e.charAt(o+1)===`1`||e.charAt(o+1)===`2`){if(l==null&&(l=he(t,n,e.charAt(o+1)===`2`),l==null))return``;i[i.length]={t:`X`,v:e.substr(o,2)},c=s,o+=2;break}case`M`:case`D`:case`Y`:case`H`:case`S`:case`E`:s=s.toLowerCase();case`m`:case`d`:case`y`:case`h`:case`s`:case`e`:case`g`:if(t<0||l==null&&(l=he(t,n),l==null))return``;for(a=s;++o<e.length&&e.charAt(o).toLowerCase()===s;)a+=s;s===`m`&&c.toLowerCase()===`h`&&(s=`M`),s===`h`&&(s=f),i[i.length]={t:s,v:a},c=s;break;case`A`:case`a`:case`上`:var h={t:s,v:s};if(l??=he(t,n),e.substr(o,3).toUpperCase()===`A/P`?(l!=null&&(h.v=l.H>=12?e.charAt(o+2):s),h.t=`T`,f=`h`,o+=3):e.substr(o,5).toUpperCase()===`AM/PM`?(l!=null&&(h.v=l.H>=12?`PM`:`AM`),h.t=`T`,o+=5,f=`h`):e.substr(o,5).toUpperCase()===`上午/下午`?(l!=null&&(h.v=l.H>=12?`下午`:`上午`),h.t=`T`,o+=5,f=`h`):(h.t=`t`,++o),l==null&&h.t===`T`)return``;i[i.length]=h,c=s;break;case`[`:for(a=s;e.charAt(o++)!==`]`&&o<e.length;)a+=e.charAt(o);if(a.slice(-1)!==`]`)throw`unterminated "[" block: |`+a+`|`;if(a.match(qe)){if(l==null&&(l=he(t,n),l==null))return``;i[i.length]={t:`Z`,v:a.toLowerCase()},c=a.charAt(1)}else a.indexOf(`$`)>-1&&(a=(a.match(/\$([^-\[\]]*)/)||[])[1]||`$`,Je(e)||(i[i.length]={t:`t`,v:a}));break;case`.`:if(l!=null){for(a=s;++o<e.length&&(s=e.charAt(o))===`0`;)a+=s;i[i.length]={t:`s`,v:a};break}case`0`:case`#`:for(a=s;++o<e.length&&`0#?.,E+-%`.indexOf(s=e.charAt(o))>-1;)a+=s;i[i.length]={t:`n`,v:a};break;case`?`:for(a=s;e.charAt(++o)===s;)a+=s;i[i.length]={t:s,v:a},c=s;break;case`*`:++o,(e.charAt(o)==` `||e.charAt(o)==`*`)&&++o;break;case`(`:case`)`:i[i.length]={t:r===1?`t`:s,v:s},++o;break;case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:for(a=s;o<e.length&&`0123456789`.indexOf(e.charAt(++o))>-1;)a+=e.charAt(o);i[i.length]={t:`D`,v:a};break;case` `:i[i.length]={t:s,v:s},++o;break;case`$`:i[i.length]={t:`t`,v:`$`},++o;break;default:if(`,$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP`.indexOf(s)===-1)throw Error(`unrecognized character `+s+` in `+e);i[i.length]={t:`t`,v:s},++o;break}var g=0,_=0,v;for(o=i.length-1,c=`t`;o>=0;--o)switch(i[o].t){case`h`:case`H`:i[o].t=f,c=`h`,g<1&&(g=1);break;case`s`:(v=i[o].v.match(/\.0+$/))&&(_=Math.max(_,v[0].length-1),g=4),g<3&&(g=3);case`d`:case`y`:case`e`:c=i[o].t;break;case`M`:c=i[o].t,g<2&&(g=2);break;case`m`:c===`s`&&(i[o].t=`M`,g<2&&(g=2));break;case`X`:break;case`Z`:g<1&&i[o].v.match(/[Hh]/)&&(g=1),g<2&&i[o].v.match(/[Mm]/)&&(g=2),g<3&&i[o].v.match(/[Ss]/)&&(g=3)}var y;switch(g){case 0:break;case 1:case 2:case 3:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H),l.H>=24&&(l.H=0,++l.D,y=he(l.D),y.u=l.u,y.S=l.S,y.M=l.M,y.H=l.H,l=y);break;case 4:switch(_){case 1:l.u=Math.round(l.u*10)/10;break;case 2:l.u=Math.round(l.u*100)/100;break;case 3:l.u=Math.round(l.u*1e3)/1e3;break}l.u>=1&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H),l.H>=24&&(l.H=0,++l.D,y=he(l.D),y.u=l.u,y.S=l.S,y.M=l.M,y.H=l.H,l=y);break}var b=``,x;for(o=0;o<i.length;++o)switch(i[o].t){case`t`:case`T`:case` `:case`D`:break;case`X`:i[o].v=``,i[o].t=`;`;break;case`d`:case`m`:case`y`:case`h`:case`H`:case`M`:case`s`:case`e`:case`b`:case`Z`:i[o].v=Ce(i[o].t.charCodeAt(0),i[o].v,l,_),i[o].t=`t`;break;case`n`:case`?`:for(x=o+1;i[x]!=null&&((s=i[x].t)===`?`||s===`D`||(s===` `||s===`t`)&&i[x+1]!=null&&(i[x+1].t===`?`||i[x+1].t===`t`&&i[x+1].v===`/`)||i[o].t===`(`&&(s===` `||s===`n`||s===`)`)||s===`t`&&(i[x].v===`/`||i[x].v===` `&&i[x+1]!=null&&i[x+1].t==`?`));)i[o].v+=i[x].v,i[x]={v:``,t:`;`},++x;b+=i[o].v,o=x-1;break;case`G`:i[o].t=`t`,i[o].v=xe(t,n);break}var S=``,C,w;if(b.length>0){b.charCodeAt(0)==40?(C=t<0&&b.charCodeAt(0)===45?-t:t,w=Ge(`n`,b,C)):(C=t<0&&r>1?-t:t,w=Ge(`n`,b,C),C<0&&i[0]&&i[0].t==`t`&&(w=w.substr(1),i[0].v=`-`+i[0].v)),x=w.length-1;var T=i.length;for(o=0;o<i.length;++o)if(i[o]!=null&&i[o].t!=`t`&&i[o].v.indexOf(`.`)>-1){T=o;break}var E=i.length;if(T===i.length&&w.indexOf(`E`)===-1){for(o=i.length-1;o>=0;--o)i[o]==null||`n?`.indexOf(i[o].t)===-1||(x>=i[o].v.length-1?(x-=i[o].v.length,i[o].v=w.substr(x+1,i[o].v.length)):x<0?i[o].v=``:(i[o].v=w.substr(0,x+1),x=-1),i[o].t=`t`,E=o);x>=0&&E<i.length&&(i[E].v=w.substr(0,x+1)+i[E].v)}else if(T!==i.length&&w.indexOf(`E`)===-1){for(x=w.indexOf(`.`)-1,o=T;o>=0;--o)if(!(i[o]==null||`n?`.indexOf(i[o].t)===-1)){for(u=i[o].v.indexOf(`.`)>-1&&o===T?i[o].v.indexOf(`.`)-1:i[o].v.length-1,S=i[o].v.substr(u+1);u>=0;--u)x>=0&&(i[o].v.charAt(u)===`0`||i[o].v.charAt(u)===`#`)&&(S=w.charAt(x--)+S);i[o].v=S,i[o].t=`t`,E=o}for(x>=0&&E<i.length&&(i[E].v=w.substr(0,x+1)+i[E].v),x=w.indexOf(`.`)+1,o=T;o<i.length;++o)if(!(i[o]==null||`n?(`.indexOf(i[o].t)===-1&&o!==T)){for(u=i[o].v.indexOf(`.`)>-1&&o===T?i[o].v.indexOf(`.`)+1:0,S=i[o].v.substr(0,u);u<i[o].v.length;++u)x<w.length&&(S+=w.charAt(x++));i[o].v=S,i[o].t=`t`,E=o}}}for(o=0;o<i.length;++o)i[o]!=null&&`n?`.indexOf(i[o].t)>-1&&(C=r>1&&t<0&&o>0&&i[o-1].v===`-`?-t:t,i[o].v=Ge(i[o].t,i[o].v,C),i[o].t=`t`);var D=``;for(o=0;o!==i.length;++o)i[o]!=null&&(D+=i[o].v);return D}var Xe=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Ze(e,t){if(t==null)return!1;var n=parseFloat(t[2]);switch(t[1]){case`=`:if(e==n)return!0;break;case`>`:if(e>n)return!0;break;case`<`:if(e<n)return!0;break;case`<>`:if(e!=n)return!0;break;case`>=`:if(e>=n)return!0;break;case`<=`:if(e<=n)return!0;break}return!1}function Qe(e,t){var n=Ke(e),r=n.length,i=n[r-1].indexOf(`@`);if(r<4&&i>-1&&--r,n.length>4)throw Error(`cannot find right format for |`+n.join(`|`)+`|`);if(typeof t!=`number`)return[4,n.length===4||i>-1?n[n.length-1]:`@`];switch(typeof t==`number`&&!isFinite(t)&&(t=0),n.length){case 1:n=i>-1?[`General`,`General`,`General`,n[0]]:[n[0],n[0],n[0],`@`];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],`@`];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],`@`];break;case 4:break}var a=t>0?n[0]:t<0?n[1]:n[2];if(n[0].indexOf(`[`)===-1&&n[1].indexOf(`[`)===-1)return[r,a];if(n[0].match(/\[[=<>]/)!=null||n[1].match(/\[[=<>]/)!=null){var o=n[0].match(Xe),s=n[1].match(Xe);return Ze(t,o)?[r,n[0]]:Ze(t,s)?[r,n[1]]:[r,n[o!=null&&s!=null?2:1]]}return[r,a]}function $e(e,t,n){n??={};var r=``;switch(typeof e){case`string`:r=e==`m/d/yy`&&n.dateNF?n.dateNF:e;break;case`number`:r=e==14&&n.dateNF?n.dateNF:(n.table==null?V:n.table)[e],r??=n.table&&n.table[de[e]]||V[de[e]],r??=fe[e]||`General`;break}if(ce(r,0))return xe(t,n);t instanceof Date&&(t=wt(t,n.date1904));var i=Qe(r,t);if(ce(i[1]))return xe(t,n);if(t===!0)t=`TRUE`;else if(t===!1)t=`FALSE`;else if(t===``||t==null)return``;else if(isNaN(t)&&i[1].indexOf(`0`)>-1)return`#NUM!`;else if(!isFinite(t)&&i[1].indexOf(`0`)>-1)return`#DIV/0!`;return Ye(i[1],t,n,i[0])}function et(e,t){if(typeof t!=`number`){t=+t||-1;for(var n=0;n<392;++n){if(V[n]==null){t<0&&(t=n);continue}if(V[n]==e){t=n;break}}t<0&&(t=391)}return V[t]=e,t}function tt(e){for(var t=0;t!=392;++t)e[t]!==void 0&&et(e[t],t)}function nt(){V=B()}var rt={format:$e,load:et,_table:V,load_table:tt,parse_date_code:he,is_date:Je,get_table:function(){return rt._table=V}},it={5:`"$"#,##0_);\\("$"#,##0\\)`,6:`"$"#,##0_);[Red]\\("$"#,##0\\)`,7:`"$"#,##0.00_);\\("$"#,##0.00\\)`,8:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,23:`General`,24:`General`,25:`General`,26:`General`,27:`m/d/yy`,28:`m/d/yy`,29:`m/d/yy`,30:`m/d/yy`,31:`m/d/yy`,32:`h:mm:ss`,33:`h:mm:ss`,34:`h:mm:ss`,35:`h:mm:ss`,36:`m/d/yy`,41:`_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)`,42:`_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)`,43:`_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)`,44:`_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)`,50:`m/d/yy`,51:`m/d/yy`,52:`m/d/yy`,53:`m/d/yy`,54:`m/d/yy`,55:`m/d/yy`,56:`m/d/yy`,57:`m/d/yy`,58:`m/d/yy`,59:`0`,60:`0.00`,61:`#,##0`,62:`#,##0.00`,63:`"$"#,##0_);\\("$"#,##0\\)`,64:`"$"#,##0_);[Red]\\("$"#,##0\\)`,65:`"$"#,##0.00_);\\("$"#,##0.00\\)`,66:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,67:`0%`,68:`0.00%`,69:`# ?/?`,70:`# ??/??`,71:`m/d/yy`,72:`m/d/yy`,73:`d-mmm-yy`,74:`d-mmm`,75:`mmm-yy`,76:`h:mm`,77:`h:mm:ss`,78:`m/d/yy h:mm`,79:`mm:ss`,80:`[h]:mm:ss`,81:`mmss.0`},at=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function ot(e){var t=typeof e==`number`?V[e]:e;return t=t.replace(at,`(\\d+)`),at.lastIndex=0,RegExp(`^`+t+`$`)}function st(e,t,n){var r=-1,i=-1,a=-1,o=-1,s=-1,c=-1;(t.match(at)||[]).forEach(function(e,t){var l=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case`y`:r=l;break;case`d`:a=l;break;case`h`:o=l;break;case`s`:c=l;break;case`m`:o>=0?s=l:i=l;break}}),at.lastIndex=0,c>=0&&s==-1&&i>=0&&(s=i,i=-1);var l=(``+(r>=0?r:new Date().getFullYear())).slice(-4)+`-`+(`00`+(i>=1?i:1)).slice(-2)+`-`+(`00`+(a>=1?a:1)).slice(-2);l.length==7&&(l=`0`+l),l.length==8&&(l=`20`+l);var u=(`00`+(o>=0?o:0)).slice(-2)+`:`+(`00`+(s>=0?s:0)).slice(-2)+`:`+(`00`+(c>=0?c:0)).slice(-2);return o==-1&&s==-1&&c==-1?l:r==-1&&i==-1&&a==-1?u:l+`T`+u}var ct={"d.m":`d\\.m`};function lt(e,t){return et(ct[e]||e,t)}var ut=(function(){var e={};e.version=`1.2.0`;function t(){for(var e=0,t=Array(256),n=0;n!=256;++n)e=n,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,t[n]=e;return typeof Int32Array<`u`?new Int32Array(t):t}var n=t();function r(e){var t=0,n=0,r=0,i=typeof Int32Array<`u`?new Int32Array(4096):Array(4096);for(r=0;r!=256;++r)i[r]=e[r];for(r=0;r!=256;++r)for(n=e[r],t=256+r;t<4096;t+=256)n=i[t]=n>>>8^e[n&255];var a=[];for(r=1;r!=16;++r)a[r-1]=typeof Int32Array<`u`&&typeof i.subarray==`function`?i.subarray(r*256,r*256+256):i.slice(r*256,r*256+256);return a}var i=r(n),a=i[0],o=i[1],s=i[2],c=i[3],l=i[4],u=i[5],d=i[6],f=i[7],p=i[8],m=i[9],h=i[10],g=i[11],_=i[12],v=i[13],y=i[14];function b(e,t){for(var r=t^-1,i=0,a=e.length;i<a;)r=r>>>8^n[(r^e.charCodeAt(i++))&255];return~r}function x(e,t){for(var r=t^-1,i=e.length-15,b=0;b<i;)r=y[e[b++]^r&255]^v[e[b++]^r>>8&255]^_[e[b++]^r>>16&255]^g[e[b++]^r>>>24]^h[e[b++]]^m[e[b++]]^p[e[b++]]^f[e[b++]]^d[e[b++]]^u[e[b++]]^l[e[b++]]^c[e[b++]]^s[e[b++]]^o[e[b++]]^a[e[b++]]^n[e[b++]];for(i+=15;b<i;)r=r>>>8^n[(r^e[b++])&255];return~r}function S(e,t){for(var r=t^-1,i=0,a=e.length,o=0,s=0;i<a;)o=e.charCodeAt(i++),o<128?r=r>>>8^n[(r^o)&255]:o<2048?(r=r>>>8^n[(r^(192|o>>6&31))&255],r=r>>>8^n[(r^(128|o&63))&255]):o>=55296&&o<57344?(o=(o&1023)+64,s=e.charCodeAt(i++)&1023,r=r>>>8^n[(r^(240|o>>8&7))&255],r=r>>>8^n[(r^(128|o>>2&63))&255],r=r>>>8^n[(r^(128|s>>6&15|(o&3)<<4))&255],r=r>>>8^n[(r^(128|s&63))&255]):(r=r>>>8^n[(r^(224|o>>12&15))&255],r=r>>>8^n[(r^(128|o>>6&63))&255],r=r>>>8^n[(r^(128|o&63))&255]);return~r}return e.table=n,e.bstr=b,e.buf=x,e.str=S,e})(),H=(function(){var e={};e.version=`1.2.2`;function t(e,t){for(var n=e.split(`/`),r=t.split(`/`),i=0,a=0,o=Math.min(n.length,r.length);i<o;++i){if(a=n[i].length-r[i].length)return a;if(n[i]!=r[i])return n[i]<r[i]?-1:1}return n.length-r.length}function n(e){if(e.charAt(e.length-1)==`/`)return e.slice(0,-1).indexOf(`/`)===-1?e:n(e.slice(0,-1));var t=e.lastIndexOf(`/`);return t===-1?e:e.slice(0,t+1)}function r(e){if(e.charAt(e.length-1)==`/`)return r(e.slice(0,-1));var t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)}function i(e,t){typeof t==`string`&&(t=new Date(t));var n=t.getHours();n=n<<6|t.getMinutes(),n=n<<5|t.getSeconds()>>>1,e.write_shift(2,n);var r=t.getFullYear()-1980;r=r<<4|t.getMonth()+1,r=r<<5|t.getDate(),e.write_shift(2,r)}function a(e){var t=e.read_shift(2)&65535,n=e.read_shift(2)&65535,r=new Date,i=n&31;n>>>=5;var a=n&15;n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(a-1),r.setDate(i);var o=t&31;t>>>=5;var s=t&63;return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(o<<1),r}function o(e){Rr(e,0);for(var t={},n=0;e.l<=e.length-4;){var r=e.read_shift(2),i=e.read_shift(2),a=e.l+i,o={};switch(r){case 21589:n=e.read_shift(1),n&1&&(o.mtime=e.read_shift(4)),i>5&&(n&2&&(o.atime=e.read_shift(4)),n&4&&(o.ctime=e.read_shift(4))),o.mtime&&(o.mt=new Date(o.mtime*1e3));break;case 1:var s=e.read_shift(4),c=e.read_shift(4);o.usz=c*2**32+s,s=e.read_shift(4),c=e.read_shift(4),o.csz=c*2**32+s;break}e.l=a,t[r]=o}return t}var s;function c(){return s||=dt}function l(e,t){if(e[0]==80&&e[1]==75)return Ue(e,t);if((e[0]|32)==109&&(e[1]|32)==105)return Qe(e,t);if(e.length<512)throw Error(`CFB file size `+e.length+` < 512`);var n=3,r=512,i=0,a=0,o=0,s=0,c=0,l=[],m=e.slice(0,512);Rr(m,0);var g=u(m);switch(n=g[0],n){case 3:r=512;break;case 4:r=4096;break;case 0:if(g[1]==0)return Ue(e,t);default:throw Error(`Major Version: Expected 3 or 4 saw `+n)}r!==512&&(m=e.slice(0,r),Rr(m,28));var y=e.slice(0,r);d(m,n);var b=m.read_shift(4,`i`);if(n===3&&b!==0)throw Error(`# Directory Sectors: Expected 0 saw `+b);m.l+=4,o=m.read_shift(4,`i`),m.l+=4,m.chk(`00100000`,`Mini Stream Cutoff Size: `),s=m.read_shift(4,`i`),i=m.read_shift(4,`i`),c=m.read_shift(4,`i`),a=m.read_shift(4,`i`);for(var x=-1,S=0;S<109&&(x=m.read_shift(4,`i`),!(x<0));++S)l[S]=x;var C=f(e,r);h(c,a,C,r,l);var w=_(C,o,l,r);o<w.length&&(w[o].name=`!Directory`),i>0&&s!==P&&(w[s].name=`!MiniFAT`),w[l[0]].name=`!FAT`,w.fat_addrs=l,w.ssz=r;var T={},E=[],D=[],O=[];v(o,w,C,E,i,T,D,s),p(D,O,E),E.shift();var k={FileIndex:D,FullPaths:O};return t&&t.raw&&(k.raw={header:y,sectors:C}),k}function u(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(I,`Header Signature: `),e.l+=16;var t=e.read_shift(2,`u`);return[e.read_shift(2,`u`),t]}function d(e,t){var n=9;switch(e.l+=2,n=e.read_shift(2)){case 9:if(t!=3)throw Error(`Sector Shift: Expected 9 saw `+n);break;case 12:if(t!=4)throw Error(`Sector Shift: Expected 12 saw `+n);break;default:throw Error(`Sector Shift: Expected 9 or 12 saw `+n)}e.chk(`0600`,`Mini Sector Shift: `),e.chk(`000000000000`,`Reserved: `)}function f(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],i=1;i<n;++i)r[i-1]=e.slice(i*t,(i+1)*t);return r[n-1]=e.slice(n*t),r}function p(e,t,n){for(var r=0,i=0,a=0,o=0,s=0,c=n.length,l=[],u=[];r<c;++r)l[r]=u[r]=r,t[r]=n[r];for(;s<u.length;++s)r=u[s],i=e[r].L,a=e[r].R,o=e[r].C,l[r]===r&&(i!==-1&&l[i]!==i&&(l[r]=l[i]),a!==-1&&l[a]!==a&&(l[r]=l[a])),o!==-1&&(l[o]=r),i!==-1&&r!=l[r]&&(l[i]=l[r],u.lastIndexOf(i)<s&&u.push(i)),a!==-1&&r!=l[r]&&(l[a]=l[r],u.lastIndexOf(a)<s&&u.push(a));for(r=1;r<c;++r)l[r]===r&&(a!==-1&&l[a]!==a?l[r]=l[a]:i!==-1&&l[i]!==i&&(l[r]=l[i]));for(r=1;r<c;++r)if(e[r].type!==0){if(s=r,s!=l[s])do s=l[s],t[r]=t[s]+`/`+t[r];while(s!==0&&l[s]!==-1&&s!=l[s]);l[r]=-1}for(t[0]+=`/`,r=1;r<c;++r)e[r].type!==2&&(t[r]+=`/`)}function m(e,t,n){for(var r=e.start,i=e.size,a=[],o=r;n&&i>0&&o>=0;)a.push(t.slice(o*N,o*N+N)),i-=N,o=Ar(n,o*4);return a.length===0?G(0):F(a).slice(0,e.size)}function h(e,t,n,r,i){var a=P;if(e===P){if(t!==0)throw Error(`DIFAT chain shorter than expected`)}else if(e!==-1){var o=n[e],s=(r>>>2)-1;if(!o)return;for(var c=0;c<s&&(a=Ar(o,c*4))!==P;++c)i.push(a);t>=1&&h(Ar(o,r-4),t-1,n,r,i)}}function g(e,t,n,r,i){var a=[],o=[];i||=[];var s=r-1,c=0,l=0;for(c=t;c>=0;){i[c]=!0,a[a.length]=c,o.push(e[c]);var u=n[Math.floor(c*4/r)];if(l=c*4&s,r<4+l)throw Error(`FAT boundary crossed: `+c+` 4 `+r);if(!e[u])break;c=Ar(e[u],l)}return{nodes:a,data:ar([o])}}function _(e,t,n,r){var i=e.length,a=[],o=[],s=[],c=[],l=r-1,u=0,d=0,f=0,p=0;for(u=0;u<i;++u)if(s=[],f=u+t,f>=i&&(f-=i),!o[f]){c=[];var m=[];for(d=f;d>=0;){m[d]=!0,o[d]=!0,s[s.length]=d,c.push(e[d]);var h=n[Math.floor(d*4/r)];if(p=d*4&l,r<4+p)throw Error(`FAT boundary crossed: `+d+` 4 `+r);if(!e[h]||(d=Ar(e[h],p),m[d]))break}a[f]={nodes:s,data:ar([c])}}return a}function v(e,t,n,r,i,a,o,s){for(var c=0,l=r.length?2:0,u=t[e].data,d=0,f=0,p;d<u.length;d+=128){var h=u.slice(d,d+128);Rr(h,64),f=h.read_shift(2),p=sr(h,0,f-l),r.push(p);var _={name:p,type:h.read_shift(1),color:h.read_shift(1),L:h.read_shift(4,`i`),R:h.read_shift(4,`i`),C:h.read_shift(4,`i`),clsid:h.read_shift(16),state:h.read_shift(4,`i`),start:0,size:0};h.read_shift(2)+h.read_shift(2)+h.read_shift(2)+h.read_shift(2)!==0&&(_.ct=y(h,h.l-8)),h.read_shift(2)+h.read_shift(2)+h.read_shift(2)+h.read_shift(2)!==0&&(_.mt=y(h,h.l-8)),_.start=h.read_shift(4,`i`),_.size=h.read_shift(4,`i`),_.size<0&&_.start<0&&(_.size=_.type=0,_.start=P,_.name=``),_.type===5?(c=_.start,i>0&&c!==P&&(t[c].name=`!StreamData`)):_.size>=4096?(_.storage=`fat`,t[_.start]===void 0&&(t[_.start]=g(n,_.start,t.fat_addrs,t.ssz)),t[_.start].name=_.name,_.content=t[_.start].data.slice(0,_.size)):(_.storage=`minifat`,_.size<0?_.size=0:c!==P&&_.start!==P&&t[c]&&(_.content=m(_,t[c].data,(t[s]||{}).data))),_.content&&Rr(_.content,0),a[p]=_,o.push(_)}}function y(e,t){return new Date((kr(e,t+4)/1e7*2**32+kr(e,t)/1e7-11644473600)*1e3)}function b(e,t){return c(),l(s.readFileSync(e),t)}function x(e,t){var n=t&&t.type;switch(n||E&&Buffer.isBuffer(e)&&(n=`buffer`),n||`base64`){case`file`:return b(e,t);case`base64`:return l(j(T(e)),t);case`binary`:return l(j(e),t)}return l(e,t)}function C(e,t){var n=t||{},r=n.root||`Root Entry`;if(e.FullPaths||=[],e.FileIndex||=[],e.FullPaths.length!==e.FileIndex.length)throw Error(`inconsistent CFB structure`);e.FullPaths.length===0&&(e.FullPaths[0]=r+`/`,e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),w(e)}function w(e){var t=`Sh33tJ5`;if(!H.find(e,`/`+t)){var n=G(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),O(e)}}function O(e,i){C(e);for(var a=!1,o=!1,s=e.FullPaths.length-1;s>=0;--s){var c=e.FileIndex[s];switch(c.type){case 0:o?a=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(c.R*c.L*c.C)&&(a=!0),c.R>-1&&c.L>-1&&c.R==c.L&&(a=!0);break;default:a=!0;break}}if(!(!a&&!i)){var l=new Date(1987,1,19),u=0,d=Object.create?Object.create(null):{},f=[];for(s=0;s<e.FullPaths.length;++s)d[e.FullPaths[s]]=!0,e.FileIndex[s].type!==0&&f.push([e.FullPaths[s],e.FileIndex[s]]);for(s=0;s<f.length;++s){var p=n(f[s][0]);for(o=d[p];!o;){for(;n(p)&&!d[n(p)];)p=n(p);f.push([p,{name:r(p).replace(`/`,``),type:1,clsid:R,ct:l,mt:l,content:null}]),d[p]=!0,p=n(f[s][0]),o=d[p]}}for(f.sort(function(e,n){return t(e[0],n[0])}),e.FullPaths=[],e.FileIndex=[],s=0;s<f.length;++s)e.FullPaths[s]=f[s][0],e.FileIndex[s]=f[s][1];for(s=0;s<f.length;++s){var m=e.FileIndex[s],h=e.FullPaths[s];if(m.name=r(h).replace(`/`,``),m.L=m.R=m.C=-(m.color=1),m.size=m.content?m.content.length:0,m.start=0,m.clsid=m.clsid||R,s===0)m.C=f.length>1?1:-1,m.size=0,m.type=5;else if(h.slice(-1)==`/`){for(u=s+1;u<f.length&&n(e.FullPaths[u])!=h;++u);for(m.C=u>=f.length?-1:u,u=s+1;u<f.length&&n(e.FullPaths[u])!=n(h);++u);m.R=u>=f.length?-1:u,m.type=1}else n(e.FullPaths[s+1]||``)==n(h)&&(m.R=s+1),m.type=2}}}function ee(e,t){var n=t||{};if(n.fileType==`mad`)return $e(e,n);switch(O(e),n.fileType){case`zip`:return Ge(e,n)}var r=(function(e){for(var t=0,n=0,r=0;r<e.FileIndex.length;++r){var i=e.FileIndex[r];if(i.content){var a=i.content.length;a>0&&(a<4096?t+=a+63>>6:n+=a+511>>9)}}for(var o=e.FullPaths.length+3>>2,s=t+7>>3,c=t+127>>7,l=s+n+o+c,u=l+127>>7,d=u<=109?0:Math.ceil((u-109)/127);l+u+d+127>>7>u;)d=++u<=109?0:Math.ceil((u-109)/127);var f=[1,d,u,c,o,n,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f})(e),i=G(r[7]<<9),a=0,o=0;for(a=0;a<8;++a)i.write_shift(1,ne[a]);for(a=0;a<8;++a)i.write_shift(2,0);for(i.write_shift(2,62),i.write_shift(2,3),i.write_shift(2,65534),i.write_shift(2,9),i.write_shift(2,6),a=0;a<3;++a)i.write_shift(2,0);for(i.write_shift(4,0),i.write_shift(4,r[2]),i.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),i.write_shift(4,0),i.write_shift(4,4096),i.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:P),i.write_shift(4,r[3]),i.write_shift(-4,r[1]?r[0]-1:P),i.write_shift(4,r[1]),a=0;a<109;++a)i.write_shift(-4,a<r[2]?r[1]+a:-1);if(r[1])for(o=0;o<r[1];++o){for(;a<236+o*127;++a)i.write_shift(-4,a<r[2]?r[1]+a:-1);i.write_shift(-4,o===r[1]-1?P:o+1)}var s=function(e){for(o+=e;a<o-1;++a)i.write_shift(-4,a+1);e&&(++a,i.write_shift(-4,P))};for(o=a=0,o+=r[1];a<o;++a)i.write_shift(-4,z.DIFSECT);for(o+=r[2];a<o;++a)i.write_shift(-4,z.FATSECT);s(r[3]),s(r[4]);for(var c=0,l=0,u=e.FileIndex[0];c<e.FileIndex.length;++c)u=e.FileIndex[c],u.content&&(l=u.content.length,!(l<4096)&&(u.start=o,s(l+511>>9)));for(s(r[6]+7>>3);i.l&511;)i.write_shift(-4,z.ENDOFCHAIN);for(o=a=0,c=0;c<e.FileIndex.length;++c)u=e.FileIndex[c],u.content&&(l=u.content.length,!(!l||l>=4096)&&(u.start=o,s(l+63>>6)));for(;i.l&511;)i.write_shift(-4,z.ENDOFCHAIN);for(a=0;a<r[4]<<2;++a){var d=e.FullPaths[a];if(!d||d.length===0){for(c=0;c<17;++c)i.write_shift(4,0);for(c=0;c<3;++c)i.write_shift(4,-1);for(c=0;c<12;++c)i.write_shift(4,0);continue}u=e.FileIndex[a],a===0&&(u.start=u.size?u.start-1:P);var f=a===0&&n.root||u.name;if(f.length>31&&(console.error(`Name `+f+` will be truncated to `+f.slice(0,31)),f=f.slice(0,31)),l=2*(f.length+1),i.write_shift(64,f,`utf16le`),i.write_shift(2,l),i.write_shift(1,u.type),i.write_shift(1,u.color),i.write_shift(-4,u.L),i.write_shift(-4,u.R),i.write_shift(-4,u.C),u.clsid)i.write_shift(16,u.clsid,`hex`);else for(c=0;c<4;++c)i.write_shift(4,0);i.write_shift(4,u.state||0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,u.start),i.write_shift(4,u.size),i.write_shift(4,0)}for(a=1;a<e.FileIndex.length;++a)if(u=e.FileIndex[a],u.size>=4096)if(i.l=u.start+1<<9,E&&Buffer.isBuffer(u.content))u.content.copy(i,i.l,0,u.size),i.l+=u.size+511&-512;else{for(c=0;c<u.size;++c)i.write_shift(1,u.content[c]);for(;c&511;++c)i.write_shift(1,0)}for(a=1;a<e.FileIndex.length;++a)if(u=e.FileIndex[a],u.size>0&&u.size<4096)if(E&&Buffer.isBuffer(u.content))u.content.copy(i,i.l,0,u.size),i.l+=u.size+63&-64;else{for(c=0;c<u.size;++c)i.write_shift(1,u.content[c]);for(;c&63;++c)i.write_shift(1,0)}if(E)i.l=i.length;else for(;i.l<i.length;)i.write_shift(1,0);return i}function M(e,t){var n=e.FullPaths.map(function(e){return e.toUpperCase()}),r=n.map(function(e){var t=e.split(`/`);return t[t.length-(e.slice(-1)==`/`?2:1)]}),i=!1;t.charCodeAt(0)===47?(i=!0,t=n[0].slice(0,-1)+t):i=t.indexOf(`/`)!==-1;var a=t.toUpperCase(),o=i===!0?n.indexOf(a):r.indexOf(a);if(o!==-1)return e.FileIndex[o];var s=!a.match(te);for(a=a.replace(L,``),s&&(a=a.replace(te,`!`)),o=0;o<n.length;++o)if((s?n[o].replace(te,`!`):n[o]).replace(L,``)==a||(s?r[o].replace(te,`!`):r[o]).replace(L,``)==a)return e.FileIndex[o];return null}var N=64,P=-2,I=`d0cf11e0a1b11ae1`,ne=[208,207,17,224,161,177,26,225],R=`00000000000000000000000000000000`,z={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:P,FREESECT:-1,HEADER_SIGNATURE:I,HEADER_MINOR_VERSION:`3e00`,MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:R,EntryTypes:[`unknown`,`storage`,`stream`,`lockbytes`,`property`,`root`]};function re(e,t,n){c();var r=ee(e,n);s.writeFileSync(t,r)}function ie(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join(``)}function ae(e,t){var n=ee(e,t);switch(t&&t.type||`buffer`){case`file`:return c(),s.writeFileSync(t.filename,n),n;case`binary`:return typeof n==`string`?n:ie(n);case`base64`:return S(typeof n==`string`?n:ie(n));case`buffer`:if(E)return Buffer.isBuffer(n)?n:D(n);case`array`:return typeof n==`string`?j(n):n}return n}var oe;function se(e){try{var t=e.InflateRaw,n=new t;if(n._processChunk(new Uint8Array([3,0]),n._finishFlushFlag),n.bytesRead)oe=e;else throw Error(`zlib does not expose bytesRead`)}catch(e){console.error(`cannot use native zlib: `+(e.message||e))}}function ce(e,t){if(!oe)return Ve(e,t);var n=oe.InflateRaw,r=new n,i=r._processChunk(e.slice(e.l),r._finishFlushFlag);return e.l+=r.bytesRead,i}function le(e){return oe?oe.deflateRawSync(e):Ne(e)}var ue=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],B=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],V=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function de(e){var t=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(t>>16|t>>8|t)&255}for(var fe=typeof Uint8Array<`u`,pe=fe?new Uint8Array(256):[],me=0;me<256;++me)pe[me]=de(me);function he(e,t){var n=pe[e&255];return t<=8?n>>>8-t:(n=n<<8|pe[e>>8&255],t<=16?n>>>16-t:(n=n<<8|pe[e>>16&255],n>>>24-t))}function ge(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function _e(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function ve(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}function ye(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function be(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function xe(e,t,n){var r=t&7,i=t>>>3,a=(1<<n)-1,o=e[i]>>>r;return n<8-r||(o|=e[i+1]<<8-r,n<16-r)||(o|=e[i+2]<<16-r,n<24-r)||(o|=e[i+3]<<24-r),o&a}function Se(e,t,n){var r=t&7,i=t>>>3;return r<=5?e[i]|=(n&7)<<r:(e[i]|=n<<r&255,e[i+1]=(n&7)>>8-r),t+3}function Ce(e,t,n){var r=t&7,i=t>>>3;return n=(n&1)<<r,e[i]|=n,t+1}function we(e,t,n){var r=t&7,i=t>>>3;return n<<=r,e[i]|=n&255,n>>>=8,e[i+1]=n,t+8}function Te(e,t,n){var r=t&7,i=t>>>3;return n<<=r,e[i]|=n&255,n>>>=8,e[i+1]=n&255,e[i+2]=n>>>8,t+16}function Ee(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(E){var a=A(r);if(e.copy)e.copy(a);else for(;i<e.length;++i)a[i]=e[i];return a}else if(fe){var o=new Uint8Array(r);if(o.set)o.set(e);else for(;i<n;++i)o[i]=e[i];return o}return e.length=r,e}function De(e){for(var t=Array(e),n=0;n<e;++n)t[n]=0;return t}function Oe(e,t,n){var r=1,i=0,a=0,o=0,s=0,c=e.length,l=fe?new Uint16Array(32):De(32);for(a=0;a<32;++a)l[a]=0;for(a=c;a<n;++a)e[a]=0;c=e.length;var u=fe?new Uint16Array(c):De(c);for(a=0;a<c;++a)l[i=e[a]]++,r<i&&(r=i),u[a]=0;for(l[0]=0,a=1;a<=r;++a)l[a+16]=s=s+l[a-1]<<1;for(a=0;a<c;++a)s=e[a],s!=0&&(u[a]=l[s+16]++);var d=0;for(a=0;a<c;++a)if(d=e[a],d!=0)for(s=he(u[a],r)>>r-d,o=(1<<r+4-d)-1;o>=0;--o)t[s|o<<d]=d&15|a<<4;return r}var ke=fe?new Uint16Array(512):De(512),Ae=fe?new Uint16Array(32):De(32);if(!fe){for(var je=0;je<512;++je)ke[je]=0;for(je=0;je<32;++je)Ae[je]=0}(function(){for(var e=[],t=0;t<32;t++)e.push(5);Oe(e,Ae,32);var n=[];for(t=0;t<=143;t++)n.push(8);for(;t<=255;t++)n.push(9);for(;t<=279;t++)n.push(7);for(;t<=287;t++)n.push(8);Oe(n,ke,288)})();var Me=(function(){for(var e=fe?new Uint8Array(32768):[],t=0,n=0;t<V.length-1;++t)for(;n<V[t+1];++n)e[n]=t;for(;n<32768;++n)e[n]=29;var r=fe?new Uint8Array(259):[];for(t=0,n=0;t<B.length-1;++t)for(;n<B[t+1];++n)r[n]=t;function i(e,t){for(var n=0;n<e.length;){var r=Math.min(65535,e.length-n),i=n+r==e.length;for(t.write_shift(1,+i),t.write_shift(2,r),t.write_shift(2,~r&65535);r-- >0;)t[t.l++]=e[n++]}return t.l}function a(t,n){for(var i=0,a=0,o=fe?new Uint16Array(32768):[];a<t.length;){var s=Math.min(65535,t.length-a);if(s<10){for(i=Se(n,i,+(a+s==t.length)),i&7&&(i+=8-(i&7)),n.l=i/8|0,n.write_shift(2,s),n.write_shift(2,~s&65535);s-- >0;)n[n.l++]=t[a++];i=n.l*8;continue}i=Se(n,i,+(a+s==t.length)+2);for(var c=0;s-- >0;){var l=t[a];c=(c<<5^l)&32767;var u=-1,d=0;if((u=o[c])&&(u|=a&-32768,u>a&&(u-=32768),u<a))for(;t[u+d]==t[a+d]&&d<250;)++d;if(d>2){l=r[d],l<=22?i=we(n,i,pe[l+1]>>1)-1:(we(n,i,3),i+=5,we(n,i,pe[l-23]>>5),i+=3);var f=l<8?0:l-4>>2;f>0&&(Te(n,i,d-B[l]),i+=f),l=e[a-u],i=we(n,i,pe[l]>>3),i-=3;var p=l<4?0:l-2>>1;p>0&&(Te(n,i,a-u-V[l]),i+=p);for(var m=0;m<d;++m)o[c]=a&32767,c=(c<<5^t[a])&32767,++a;s-=d-1}else l<=143?l+=48:i=Ce(n,i,1),i=we(n,i,pe[l]),o[c]=a&32767,++a}i=we(n,i,0)-1}return n.l=(i+7)/8|0,n.l}return function(e,t){return e.length<8?i(e,t):a(e,t)}})();function Ne(e){var t=G(50+Math.floor(e.length*1.1)),n=Me(e,t);return t.slice(0,n)}var Pe=fe?new Uint16Array(32768):De(32768),Fe=fe?new Uint16Array(32768):De(32768),Ie=fe?new Uint16Array(128):De(128),Le=1,Re=1;function ze(e,t){var n=ye(e,t)+257;t+=5;var r=ye(e,t)+1;t+=5;var i=ve(e,t)+4;t+=4;for(var a=0,o=fe?new Uint8Array(19):De(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=fe?new Uint8Array(8):De(8),u=fe?new Uint8Array(8):De(8),d=o.length,f=0;f<i;++f)o[ue[f]]=a=_e(e,t),c<a&&(c=a),l[a]++,t+=3;var p=0;for(l[0]=0,f=1;f<=c;++f)u[f]=p=p+l[f-1]<<1;for(f=0;f<d;++f)(p=o[f])!=0&&(s[f]=u[p]++);var m=0;for(f=0;f<d;++f)if(m=o[f],m!=0){p=pe[s[f]]>>8-m;for(var h=(1<<7-m)-1;h>=0;--h)Ie[p|h<<m]=m&7|f<<3}var g=[];for(c=1;g.length<n+r;)switch(p=Ie[be(e,t)],t+=p&7,p>>>=3){case 16:for(a=3+ge(e,t),t+=2,p=g[g.length-1];a-- >0;)g.push(p);break;case 17:for(a=3+_e(e,t),t+=3;a-- >0;)g.push(0);break;case 18:for(a=11+be(e,t),t+=7;a-- >0;)g.push(0);break;default:g.push(p),c<p&&(c=p);break}var _=g.slice(0,n),v=g.slice(n);for(f=n;f<286;++f)_[f]=0;for(f=r;f<30;++f)v[f]=0;return Le=Oe(_,Pe,286),Re=Oe(v,Fe,30),t}function Be(e,t){if(e[0]==3&&!(e[1]&3))return[k(t),2];for(var n=0,r=0,i=A(t||1<<18),a=0,o=i.length>>>0,s=0,c=0;!(r&1);){if(r=_e(e,n),n+=3,r>>>1)r>>1==1?(s=9,c=5):(n=ze(e,n),s=Le,c=Re);else{n&7&&(n+=8-(n&7));var l=e[n>>>3]|e[(n>>>3)+1]<<8;if(n+=32,l>0)for(!t&&o<a+l&&(i=Ee(i,a+l),o=i.length);l-- >0;)i[a++]=e[n>>>3],n+=8;continue}for(;;){!t&&o<a+32767&&(i=Ee(i,a+32767),o=i.length);var u=xe(e,n,s),d=r>>>1==1?ke[u]:Pe[u];if(n+=d&15,d>>>=4,!(d>>>8&255))i[a++]=d;else if(d==256)break;else{d-=257;var f=d<8?0:d-4>>2;f>5&&(f=0);var p=a+B[d];f>0&&(p+=xe(e,n,f),n+=f),u=xe(e,n,c),d=r>>>1==1?Ae[u]:Fe[u],n+=d&15,d>>>=4;var m=d<4?0:d-2>>1,h=V[d];for(m>0&&(h+=xe(e,n,m),n+=m),!t&&o<p&&(i=Ee(i,p+100),o=i.length);a<p;)i[a]=i[a-h],++a}}}return t?[i,n+7>>>3]:[i.slice(0,a),n+7>>>3]}function Ve(e,t){var n=Be(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function He(e,t){if(e)typeof console<`u`&&console.error(t);else throw Error(t)}function Ue(e,t){var n=e;Rr(n,0);var r={FileIndex:[],FullPaths:[]};C(r,{root:t.root});for(var i=n.length-4;(n[i]!=80||n[i+1]!=75||n[i+2]!=5||n[i+3]!=6)&&i>=0;)--i;n.l=i+4,n.l+=4;var a=n.read_shift(2);for(n.l+=6,n.l=n.read_shift(4),i=0;i<a;++i){n.l+=20;var s=n.read_shift(4),c=n.read_shift(4),l=n.read_shift(2),u=n.read_shift(2),d=n.read_shift(2);n.l+=8;var f=n.read_shift(4),p=o(n.slice(n.l+l,n.l+l+u));n.l+=l+u+d;var m=n.l;n.l=f+4,p&&p[1]&&((p[1]||{}).usz&&(c=p[1].usz),(p[1]||{}).csz&&(s=p[1].csz)),We(n,s,c,r,p),n.l=m}return r}function We(e,t,n,r,i){e.l+=2;var s=e.read_shift(2),c=e.read_shift(2),l=a(e);if(s&8257)throw Error(`Unsupported ZIP encryption`);for(var u=e.read_shift(4),d=e.read_shift(4),f=e.read_shift(4),p=e.read_shift(2),m=e.read_shift(2),h=``,g=0;g<p;++g)h+=String.fromCharCode(e[e.l++]);if(m){var _=o(e.slice(e.l,e.l+m));(_[21589]||{}).mt&&(l=_[21589].mt),(_[1]||{}).usz&&(f=_[1].usz),(_[1]||{}).csz&&(d=_[1].csz),i&&((i[21589]||{}).mt&&(l=i[21589].mt),(i[1]||{}).usz&&(f=i[1].usz),(i[1]||{}).csz&&(d=i[1].csz))}e.l+=m;var v=e.slice(e.l,e.l+d);switch(c){case 8:v=ce(e,f);break;case 0:e.l+=d;break;default:throw Error(`Unsupported ZIP Compression method `+c)}var y=!1;s&8&&(u=e.read_shift(4),u==134695760&&(u=e.read_shift(4),y=!0),d=e.read_shift(4),f=e.read_shift(4)),d!=t&&He(y,`Bad compressed size: `+t+` != `+d),f!=n&&He(y,`Bad uncompressed size: `+n+` != `+f),tt(r,h,v,{unsafe:!0,mt:l})}function Ge(e,t){var n=t||{},r=[],a=[],o=G(1),s=n.compression?8:0,c=0,l=0,u=0,d=0,f=0,p=e.FullPaths[0],m=p,h=e.FileIndex[0],g=[],_=0;for(l=1;l<e.FullPaths.length;++l)if(m=e.FullPaths[l].slice(p.length),h=e.FileIndex[l],!(!h.size||!h.content||Array.isArray(h.content)&&h.content.length==0||m==`Sh33tJ5`)){var v=d,y=G(m.length);for(u=0;u<m.length;++u)y.write_shift(1,m.charCodeAt(u)&127);y=y.slice(0,y.l),g[f]=typeof h.content==`string`?ut.bstr(h.content,0):ut.buf(h.content,0);var b=typeof h.content==`string`?j(h.content):h.content;s==8&&(b=le(b)),o=G(30),o.write_shift(4,67324752),o.write_shift(2,20),o.write_shift(2,c),o.write_shift(2,s),h.mt?i(o,h.mt):o.write_shift(4,0),o.write_shift(-4,c&8?0:g[f]),o.write_shift(4,c&8?0:b.length),o.write_shift(4,c&8?0:h.content.length),o.write_shift(2,y.length),o.write_shift(2,0),d+=o.length,r.push(o),d+=y.length,r.push(y),d+=b.length,r.push(b),c&8&&(o=G(12),o.write_shift(-4,g[f]),o.write_shift(4,b.length),o.write_shift(4,h.content.length),d+=o.l,r.push(o)),o=G(46),o.write_shift(4,33639248),o.write_shift(2,0),o.write_shift(2,20),o.write_shift(2,c),o.write_shift(2,s),o.write_shift(4,0),o.write_shift(-4,g[f]),o.write_shift(4,b.length),o.write_shift(4,h.content.length),o.write_shift(2,y.length),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(4,0),o.write_shift(4,v),_+=o.l,a.push(o),_+=y.length,a.push(y),++f}return o=G(22),o.write_shift(4,101010256),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,f),o.write_shift(2,f),o.write_shift(4,_),o.write_shift(4,d),o.write_shift(2,0),F([F(r),F(a),o])}var Ke={htm:`text/html`,xml:`text/xml`,gif:`image/gif`,jpg:`image/jpeg`,png:`image/png`,mso:`application/x-mso`,thmx:`application/vnd.ms-officetheme`,sh33tj5:`application/octet-stream`};function qe(e,t){if(e.ctype)return e.ctype;var n=e.name||``,r=n.match(/\.([^\.]+)$/);return r&&Ke[r[1]]||t&&(r=(n=t).match(/[\.\\]([^\.\\])+$/),r&&Ke[r[1]])?Ke[r[1]]:`application/octet-stream`}function Je(e){for(var t=S(e),n=[],r=0;r<t.length;r+=76)n.push(t.slice(r,r+76));return n.join(`\r
1
+ var e=require(`./rolldown-runtime.cjs`).t({CFB:()=>H,SSF:()=>rt,default:()=>Qb,parse_xlscfb:()=>G_,parse_zip:()=>Yy,read:()=>sb,readFile:()=>cb,readFileSync:()=>cb,set_cptable:()=>v,set_fs:()=>ft,stream:()=>Xb,utils:()=>Ub,version:()=>Zb,write:()=>yb,writeFile:()=>xb,writeFileAsync:()=>Cb,writeFileSync:()=>xb,writeFileXLSX:()=>Sb,writeXLSX:()=>vb}),t={};t.version=`0.20.3`;var n=1200,r=1252,i,a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],o={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},s=function(e){a.indexOf(e)!=-1&&(r=o[0]=e)};function c(){s(1252)}var l=function(e){n=e,s(e)};function u(){l(1200),c()}function d(e){for(var t=[],n=0,r=e.length;n<r;++n)t[n]=e.charCodeAt(n);return t}function f(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join(``)}function p(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e[2*n]+(e[2*n+1]<<8));return t.join(``)}function m(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join(``)}var h=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return t==255&&n==254?f(e.slice(2)):t==254&&n==255?m(e.slice(2)):t==65279?e.slice(1):e},g=function(e){return String.fromCharCode(e)},_=function(e){return String.fromCharCode(e)};function v(e){i=e,l=function(e){n=e,s(e)},h=function(e){return e.charCodeAt(0)===255&&e.charCodeAt(1)===254?i.utils.decode(1200,d(e.slice(2))):e},g=function(e){return n===1200?String.fromCharCode(e):i.utils.decode(n,[e&255,e>>8])[0]},_=function(e){return i.utils.decode(r,[e])[0]},Tr()}var y=null,b=!0,x=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;function S(e){for(var t=``,n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0;l<e.length;)n=e.charCodeAt(l++),a=n>>2,r=e.charCodeAt(l++),o=(n&3)<<4|r>>4,i=e.charCodeAt(l++),s=(r&15)<<2|i>>6,c=i&63,isNaN(r)?s=c=64:isNaN(i)&&(c=64),t+=x.charAt(a)+x.charAt(o)+x.charAt(s)+x.charAt(c);return t}function C(e){for(var t=``,n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0;l<e.length;)n=e.charCodeAt(l++),n>255&&(n=95),a=n>>2,r=e.charCodeAt(l++),r>255&&(r=95),o=(n&3)<<4|r>>4,i=e.charCodeAt(l++),i>255&&(i=95),s=(r&15)<<2|i>>6,c=i&63,isNaN(r)?s=c=64:isNaN(i)&&(c=64),t+=x.charAt(a)+x.charAt(o)+x.charAt(s)+x.charAt(c);return t}function w(e){for(var t=``,n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0;l<e.length;)n=e[l++],a=n>>2,r=e[l++],o=(n&3)<<4|r>>4,i=e[l++],s=(r&15)<<2|i>>6,c=i&63,isNaN(r)?s=c=64:isNaN(i)&&(c=64),t+=x.charAt(a)+x.charAt(o)+x.charAt(s)+x.charAt(c);return t}function T(e){var t=``,n=0,r=0,i=0,a=0,o=0,s=0,c=0;if(e.slice(0,5)==`data:`){var l=e.slice(0,1024).indexOf(`;base64,`);l>-1&&(e=e.slice(l+8))}e=e.replace(/[^\w\+\/\=]/g,``);for(var l=0;l<e.length;)a=x.indexOf(e.charAt(l++)),o=x.indexOf(e.charAt(l++)),n=a<<2|o>>4,t+=String.fromCharCode(n),s=x.indexOf(e.charAt(l++)),r=(o&15)<<4|s>>2,s!==64&&(t+=String.fromCharCode(r)),c=x.indexOf(e.charAt(l++)),i=(s&3)<<6|c,c!==64&&(t+=String.fromCharCode(i));return t}var E=(function(){return typeof Buffer<`u`&&typeof process<`u`&&process.versions!==void 0&&!!process.versions.node})(),D=(function(){if(typeof Buffer<`u`){var e=!Buffer.from;if(!e)try{Buffer.from(`foo`,`utf8`)}catch{e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}})(),O=(function(){if(typeof Buffer>`u`)return!1;var e=D([65,0]);return e?e.toString(`utf16le`).length==1:!1})();function k(e){return E?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<`u`?new Uint8Array(e):Array(e)}function A(e){return E?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<`u`?new Uint8Array(e):Array(e)}var j=function(e){return E?D(e,`binary`):e.split(``).map(function(e){return e.charCodeAt(0)&255})};function ee(e){if(typeof ArrayBuffer>`u`)return j(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=e.charCodeAt(r)&255;return t}function M(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join(``);for(var t=[],n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join(``)}function N(e){if(typeof Uint8Array>`u`)throw Error(`Unsupported`);return new Uint8Array(e)}function P(e){if(typeof ArrayBuffer>`u`)throw Error(`Unsupported`);if(e instanceof ArrayBuffer)return P(new Uint8Array(e));for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t}var F=E?function(e){return Buffer.concat(e.map(function(e){return Buffer.isBuffer(e)?e:D(e)}))}:function(e){if(typeof Uint8Array<`u`){var t=0,n=0;for(t=0;t<e.length;++t)n+=e[t].length;var r=new Uint8Array(n),i=0;for(t=0,n=0;t<e.length;n+=i,++t)i=e[t].length,e[t]instanceof Uint8Array?r.set(e[t],n):typeof e[t]==`string`?r.set(new Uint8Array(j(e[t])),n):r.set(new Uint8Array(e[t]),n);return r}return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}))};function I(e){for(var t=[],n=0,r=e.length+250,i=k(e.length+255),a=0;a<e.length;++a){var o=e.charCodeAt(a);if(o<128)i[n++]=o;else if(o<2048)i[n++]=192|o>>6&31,i[n++]=128|o&63;else if(o>=55296&&o<57344){o=(o&1023)+64;var s=e.charCodeAt(++a)&1023;i[n++]=240|o>>8&7,i[n++]=128|o>>2&63,i[n++]=128|s>>6&15|(o&3)<<4,i[n++]=128|s&63}else i[n++]=224|o>>12&15,i[n++]=128|o>>6&63,i[n++]=128|o&63;n>r&&(t.push(i.slice(0,n)),n=0,i=k(65535),r=65530)}return t.push(i.slice(0,n)),F(t)}var L=/\u0000/g,te=/[\u0001-\u0006]/g;function ne(e){for(var t=``,n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function R(e,t){var n=``+e;return n.length>=t?n:Nt(`0`,t-n.length)+n}function z(e,t){var n=``+e;return n.length>=t?n:Nt(` `,t-n.length)+n}function re(e,t){var n=``+e;return n.length>=t?n:n+Nt(` `,t-n.length)}function ie(e,t){var n=``+Math.round(e);return n.length>=t?n:Nt(`0`,t-n.length)+n}function ae(e,t){var n=``+e;return n.length>=t?n:Nt(`0`,t-n.length)+n}var oe=2**32;function se(e,t){return e>oe||e<-oe?ie(e,t):ae(Math.round(e),t)}function ce(e,t){return t||=0,e.length>=7+t&&(e.charCodeAt(t)|32)==103&&(e.charCodeAt(t+1)|32)==101&&(e.charCodeAt(t+2)|32)==110&&(e.charCodeAt(t+3)|32)==101&&(e.charCodeAt(t+4)|32)==114&&(e.charCodeAt(t+5)|32)==97&&(e.charCodeAt(t+6)|32)==108}var le=[[`Sun`,`Sunday`],[`Mon`,`Monday`],[`Tue`,`Tuesday`],[`Wed`,`Wednesday`],[`Thu`,`Thursday`],[`Fri`,`Friday`],[`Sat`,`Saturday`]],ue=[[`J`,`Jan`,`January`],[`F`,`Feb`,`February`],[`M`,`Mar`,`March`],[`A`,`Apr`,`April`],[`M`,`May`,`May`],[`J`,`Jun`,`June`],[`J`,`Jul`,`July`],[`A`,`Aug`,`August`],[`S`,`Sep`,`September`],[`O`,`Oct`,`October`],[`N`,`Nov`,`November`],[`D`,`Dec`,`December`]];function B(e){return e||={},e[0]=`General`,e[1]=`0`,e[2]=`0.00`,e[3]=`#,##0`,e[4]=`#,##0.00`,e[9]=`0%`,e[10]=`0.00%`,e[11]=`0.00E+00`,e[12]=`# ?/?`,e[13]=`# ??/??`,e[14]=`m/d/yy`,e[15]=`d-mmm-yy`,e[16]=`d-mmm`,e[17]=`mmm-yy`,e[18]=`h:mm AM/PM`,e[19]=`h:mm:ss AM/PM`,e[20]=`h:mm`,e[21]=`h:mm:ss`,e[22]=`m/d/yy h:mm`,e[37]=`#,##0 ;(#,##0)`,e[38]=`#,##0 ;[Red](#,##0)`,e[39]=`#,##0.00;(#,##0.00)`,e[40]=`#,##0.00;[Red](#,##0.00)`,e[45]=`mm:ss`,e[46]=`[h]:mm:ss`,e[47]=`mmss.0`,e[48]=`##0.0E+0`,e[49]=`@`,e[56]=`"上午/下午 "hh"時"mm"分"ss"秒 "`,e}var V={0:`General`,1:`0`,2:`0.00`,3:`#,##0`,4:`#,##0.00`,9:`0%`,10:`0.00%`,11:`0.00E+00`,12:`# ?/?`,13:`# ??/??`,14:`m/d/yy`,15:`d-mmm-yy`,16:`d-mmm`,17:`mmm-yy`,18:`h:mm AM/PM`,19:`h:mm:ss AM/PM`,20:`h:mm`,21:`h:mm:ss`,22:`m/d/yy h:mm`,37:`#,##0 ;(#,##0)`,38:`#,##0 ;[Red](#,##0)`,39:`#,##0.00;(#,##0.00)`,40:`#,##0.00;[Red](#,##0.00)`,45:`mm:ss`,46:`[h]:mm:ss`,47:`mmss.0`,48:`##0.0E+0`,49:`@`,56:`"上午/下午 "hh"時"mm"分"ss"秒 "`},de={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},fe={5:`"$"#,##0_);\\("$"#,##0\\)`,63:`"$"#,##0_);\\("$"#,##0\\)`,6:`"$"#,##0_);[Red]\\("$"#,##0\\)`,64:`"$"#,##0_);[Red]\\("$"#,##0\\)`,7:`"$"#,##0.00_);\\("$"#,##0.00\\)`,65:`"$"#,##0.00_);\\("$"#,##0.00\\)`,8:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,66:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,41:`_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)`,42:`_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)`,43:`_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)`,44:`_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)`};function pe(e,t,n){for(var r=e<0?-1:1,i=e*r,a=0,o=1,s=0,c=1,l=0,u=0,d=Math.floor(i);l<t&&(d=Math.floor(i),s=d*o+a,u=d*l+c,!(i-d<5e-8));)i=1/(i-d),a=o,o=s,c=l,l=u;if(u>t&&(l>t?(u=c,s=a):(u=l,s=o)),!n)return[0,r*s,u];var f=Math.floor(r*s/u);return[f,r*s-f*u,u]}function me(e){var t=e.toPrecision(16);if(t.indexOf(`e`)>-1){var n=t.slice(0,t.indexOf(`e`));return n=n.indexOf(`.`)>-1?n.slice(0,n.slice(0,2)==`0.`?17:16):n.slice(0,15)+Nt(`0`,n.length-15),n+t.slice(t.indexOf(`e`))}var r=t.indexOf(`.`)>-1?t.slice(0,t.slice(0,2)==`0.`?17:16):t.slice(0,15)+Nt(`0`,t.length-15);return Number(r)}function he(e,t,n){if(e>2958465||e<0)return null;e=me(e);var r=e|0,i=Math.floor(86400*(e-r)),a=0,o=[],s={D:r,T:i,u:86400*(e-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,++i==86400&&(s.T=i=0,++r,++s.D)),r===60)o=n?[1317,10,29]:[1900,2,29],a=3;else if(r===0)o=n?[1317,8,29]:[1900,1,0],a=6;else{r>60&&--r;var c=new Date(1900,0,1);c.setDate(c.getDate()+r-1),o=[c.getFullYear(),c.getMonth()+1,c.getDate()],a=c.getDay(),r<60&&(a=(a+6)%7),n&&(a=Se(c,o))}return s.y=o[0],s.m=o[1],s.d=o[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=a,s}function ge(e){return e.indexOf(`.`)==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,`$1`)}function _e(e){return e.indexOf(`E`)==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,`$1E`).replace(/(E[+-])(\d)$/,`$10$2`)}function ve(e){var t=e<0?12:11,n=ge(e.toFixed(12));return n.length<=t||(n=e.toPrecision(10),n.length<=t)?n:e.toExponential(5)}function ye(e){var t=ge(e.toFixed(11));return t.length>(e<0?12:11)||t===`0`||t===`-0`?e.toPrecision(6):t}function be(e){if(!isFinite(e))return isNaN(e)?`#NUM!`:`#DIV/0!`;var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return ge(_e((t>=-4&&t<=-1?e.toPrecision(10+t):Math.abs(t)<=9?ve(e):t===10?e.toFixed(10).substr(0,12):ye(e)).toUpperCase()))}function xe(e,t){switch(typeof e){case`string`:return e;case`boolean`:return e?`TRUE`:`FALSE`;case`number`:return(e|0)===e?e.toString(10):be(e);case`undefined`:return``;case`object`:if(e==null)return``;if(e instanceof Date)return $e(14,wt(e,t&&t.date1904),t)}throw Error(`unsupported value in General format: `+e)}function Se(e,t){t[0]-=581;var n=e.getDay();return e<60&&(n=(n+6)%7),n}function Ce(e,t,n,r){var i=``,a=0,o=0,s=n.y,c,l=0;switch(e){case 98:s=n.y+543;case 121:switch(t.length){case 1:case 2:c=s%100,l=2;break;default:c=s%1e4,l=4;break}break;case 109:switch(t.length){case 1:case 2:c=n.m,l=t.length;break;case 3:return ue[n.m-1][1];case 5:return ue[n.m-1][0];default:return ue[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:c=n.d,l=t.length;break;case 3:return le[n.q][0];default:return le[n.q][1]}break;case 104:switch(t.length){case 1:case 2:c=1+(n.H+11)%12,l=t.length;break;default:throw`bad hour format: `+t}break;case 72:switch(t.length){case 1:case 2:c=n.H,l=t.length;break;default:throw`bad hour format: `+t}break;case 77:switch(t.length){case 1:case 2:c=n.M,l=t.length;break;default:throw`bad minute format: `+t}break;case 115:if(t!=`s`&&t!=`ss`&&t!=`.0`&&t!=`.00`&&t!=`.000`)throw`bad second format: `+t;return n.u===0&&(t==`s`||t==`ss`)?R(n.S,t.length):(o=r>=2?r===3?1e3:100:r===1?10:1,a=Math.round(o*(n.S+n.u)),a>=60*o&&(a=0),t===`s`?a===0?`0`:``+a/o:(i=R(a,2+r),t===`ss`?i.substr(0,2):`.`+i.substr(2,t.length-1)));case 90:switch(t){case`[h]`:case`[hh]`:c=n.D*24+n.H;break;case`[m]`:case`[mm]`:c=(n.D*24+n.H)*60+n.M;break;case`[s]`:case`[ss]`:c=((n.D*24+n.H)*60+n.M)*60+(r==0?Math.round(n.S+n.u):n.S);break;default:throw`bad abstime format: `+t}l=t.length===3?1:2;break;case 101:c=s,l=1;break}return l>0?R(c,l):``}function we(e){var t=3;if(e.length<=t)return e;for(var n=e.length%t,r=e.substr(0,n);n!=e.length;n+=t)r+=(r.length>0?`,`:``)+e.substr(n,t);return r}var Te=/%/g;function Ee(e,t,n){var r=t.replace(Te,``),i=t.length-r.length;return Ge(e,r,n*10**(2*i))+Nt(`%`,i)}function De(e,t,n){for(var r=t.length-1;t.charCodeAt(r-1)===44;)--r;return Ge(e,t.substr(0,r),n/10**(3*(t.length-r)))}function Oe(e,t){var n,r=e.indexOf(`E`)-e.indexOf(`.`)-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return`0.0E+0`;if(t<0)return`-`+Oe(e,-t);var i=e.indexOf(`.`);i===-1&&(i=e.indexOf(`E`));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),n=(t/10**a).toPrecision(r+1+(i+a)%i),n.indexOf(`e`)===-1){var o=Math.floor(Math.log(t)*Math.LOG10E);for(n.indexOf(`.`)===-1?n=n.charAt(0)+`.`+n.substr(1)+`E+`+(o-n.length+a):n+=`E+`+(o-a);n.substr(0,2)===`0.`;)n=n.charAt(0)+n.substr(2,i)+`.`+n.substr(2+i),n=n.replace(/^0+([1-9])/,`$1`).replace(/^0+\./,`0.`);n=n.replace(/\+-/,`-`)}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(i+a)%i)+`.`+r.substr(a)+`E`})}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+`0`+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,`e`)),n.replace(`e`,`E`)}var ke=/# (\?+)( ?)\/( ?)(\d+)/;function Ae(e,t,n){var r=parseInt(e[4],10),i=Math.round(t*r),a=Math.floor(i/r),o=i-a*r,s=r;return n+(a===0?``:``+a)+` `+(o===0?Nt(` `,e[1].length+1+e[4].length):z(o,e[1].length)+e[2]+`/`+e[3]+R(s,e[4].length))}function je(e,t,n){return n+(t===0?``:``+t)+Nt(` `,e[1].length+2+e[4].length)}var Me=/^#*0*\.([0#]+)/,Ne=/\)[^)]*[0#]/,Pe=/\(###\) ###\\?-####/;function Fe(e){for(var t=``,n,r=0;r!=e.length;++r)switch(n=e.charCodeAt(r)){case 35:break;case 63:t+=` `;break;case 48:t+=`0`;break;default:t+=String.fromCharCode(n)}return t}function Ie(e,t){var n=10**t;return``+Math.round(e*n)/n}function Le(e,t){var n=e-Math.floor(e),r=10**t;return t<(``+Math.round(n*r)).length?0:Math.round(n*r)}function Re(e,t){return t<(``+Math.round((e-Math.floor(e))*10**t)).length?1:0}function ze(e){return e<2147483647&&e>-2147483648?``+(e>=0?e|0:e-1|0):``+Math.floor(e)}function Be(e,t,n){if(e.charCodeAt(0)===40&&!t.match(Ne)){var r=t.replace(/\( */,``).replace(/ \)/,``).replace(/\)/,``);return n>=0?Be(`n`,r,n):`(`+Be(`n`,r,-n)+`)`}if(t.charCodeAt(t.length-1)===44)return De(e,t,n);if(t.indexOf(`%`)!==-1)return Ee(e,t,n);if(t.indexOf(`E`)!==-1)return Oe(t,n);if(t.charCodeAt(0)===36)return`$`+Be(e,t.substr(t.charAt(1)==` `?2:1),n);var i,a,o,s,c=Math.abs(n),l=n<0?`-`:``;if(t.match(/^00+$/))return l+se(c,t.length);if(t.match(/^[#?]+$/))return i=se(n,0),i===`0`&&(i=``),i.length>t.length?i:Fe(t.substr(0,t.length-i.length))+i;if(a=t.match(ke))return Ae(a,c,l);if(t.match(/^#+0+$/))return l+se(c,t.length-t.indexOf(`0`));if(a=t.match(Me))return i=Ie(n,a[1].length).replace(/^([^\.]+)$/,`$1.`+Fe(a[1])).replace(/\.$/,`.`+Fe(a[1])).replace(/\.(\d*)$/,function(e,t){return`.`+t+Nt(`0`,Fe(a[1]).length-t.length)}),t.indexOf(`0.`)===-1?i.replace(/^0\./,`.`):i;if(t=t.replace(/^#+([0.])/,`$1`),a=t.match(/^(0*)\.(#*)$/))return l+Ie(c,a[2].length).replace(/\.(\d*[1-9])0*$/,`.$1`).replace(/^(-?\d*)$/,`$1.`).replace(/^0\./,a[1].length?`0.`:`.`);if(a=t.match(/^#{1,3},##0(\.?)$/))return l+we(se(c,0));if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?`-`+Be(e,t,-n):we(``+(Math.floor(n)+Re(n,a[1].length)))+`.`+R(Le(n,a[1].length),a[1].length);if(a=t.match(/^#,#*,#0/))return Be(e,t.replace(/^#,#*,/,``),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=ne(Be(e,t.replace(/[\\-]/g,``),n)),o=0,ne(ne(t.replace(/\\/g,``)).replace(/[0#]/g,function(e){return o<i.length?i.charAt(o++):e===`0`?`0`:``}));if(t.match(Pe))return i=Be(e,`##########`,n),`(`+i.substr(0,3)+`) `+i.substr(3,3)+`-`+i.substr(6);var u=``;if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(a[4].length,7),s=pe(c,10**o-1,!1),i=``+l,u=Ge(`n`,a[1],s[1]),u.charAt(u.length-1)==` `&&(u=u.substr(0,u.length-1)+`0`),i+=u+a[2]+`/`+a[3],u=re(s[2],o),u.length<a[4].length&&(u=Fe(a[4].substr(a[4].length-u.length))+u),i+=u,i;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(a[1].length,a[4].length),7),s=pe(c,10**o-1,!0),l+(s[0]||(s[1]?``:`0`))+` `+(s[1]?z(s[1],o)+a[2]+`/`+a[3]+re(s[2],o):Nt(` `,2*o+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return i=se(n,0),t.length<=i.length?i:Fe(t.substr(0,t.length-i.length))+i;if(a=t.match(/^([#0?]+)\.([#0]+)$/)){i=``+n.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,`$1`),o=i.indexOf(`.`);var d=t.indexOf(`.`)-o,f=t.length-i.length-d;return Fe(t.substr(0,d)+i+t.substr(t.length-f))}if(a=t.match(/^00,000\.([#0]*0)$/))return o=Le(n,a[1].length),n<0?`-`+Be(e,t,-n):we(ze(n)).replace(/^\d,\d{3}$/,`0$&`).replace(/^\d*$/,function(e){return`00,`+(e.length<3?R(0,3-e.length):``)+e})+`.`+R(o,a[1].length);switch(t){case`###,##0.00`:return Be(e,`#,##0.00`,n);case`###,###`:case`##,###`:case`#,###`:var p=we(se(c,0));return p===`0`?``:l+p;case`###,###.00`:return Be(e,`###,##0.00`,n).replace(/^0\./,`.`);case`#,###.00`:return Be(e,`#,##0.00`,n).replace(/^0\./,`.`);default:}throw Error(`unsupported format |`+t+`|`)}function Ve(e,t,n){for(var r=t.length-1;t.charCodeAt(r-1)===44;)--r;return Ge(e,t.substr(0,r),n/10**(3*(t.length-r)))}function He(e,t,n){var r=t.replace(Te,``),i=t.length-r.length;return Ge(e,r,n*10**(2*i))+Nt(`%`,i)}function Ue(e,t){var n,r=e.indexOf(`E`)-e.indexOf(`.`)-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return`0.0E+0`;if(t<0)return`-`+Ue(e,-t);var i=e.indexOf(`.`);i===-1&&(i=e.indexOf(`E`));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),n=(t/10**a).toPrecision(r+1+(i+a)%i),!n.match(/[Ee]/)){var o=Math.floor(Math.log(t)*Math.LOG10E);n.indexOf(`.`)===-1?n=n.charAt(0)+`.`+n.substr(1)+`E+`+(o-n.length+a):n+=`E+`+(o-a),n=n.replace(/\+-/,`-`)}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(i+a)%i)+`.`+r.substr(a)+`E`})}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+`0`+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,`e`)),n.replace(`e`,`E`)}function We(e,t,n){if(e.charCodeAt(0)===40&&!t.match(Ne)){var r=t.replace(/\( */,``).replace(/ \)/,``).replace(/\)/,``);return n>=0?We(`n`,r,n):`(`+We(`n`,r,-n)+`)`}if(t.charCodeAt(t.length-1)===44)return Ve(e,t,n);if(t.indexOf(`%`)!==-1)return He(e,t,n);if(t.indexOf(`E`)!==-1)return Ue(t,n);if(t.charCodeAt(0)===36)return`$`+We(e,t.substr(t.charAt(1)==` `?2:1),n);var i,a,o,s,c=Math.abs(n),l=n<0?`-`:``;if(t.match(/^00+$/))return l+R(c,t.length);if(t.match(/^[#?]+$/))return i=``+n,n===0&&(i=``),i.length>t.length?i:Fe(t.substr(0,t.length-i.length))+i;if(a=t.match(ke))return je(a,c,l);if(t.match(/^#+0+$/))return l+R(c,t.length-t.indexOf(`0`));if(a=t.match(Me))return i=(``+n).replace(/^([^\.]+)$/,`$1.`+Fe(a[1])).replace(/\.$/,`.`+Fe(a[1])),i=i.replace(/\.(\d*)$/,function(e,t){return`.`+t+Nt(`0`,Fe(a[1]).length-t.length)}),t.indexOf(`0.`)===-1?i.replace(/^0\./,`.`):i;if(t=t.replace(/^#+([0.])/,`$1`),a=t.match(/^(0*)\.(#*)$/))return l+(``+c).replace(/\.(\d*[1-9])0*$/,`.$1`).replace(/^(-?\d*)$/,`$1.`).replace(/^0\./,a[1].length?`0.`:`.`);if(a=t.match(/^#{1,3},##0(\.?)$/))return l+we(``+c);if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?`-`+We(e,t,-n):we(``+n)+`.`+Nt(`0`,a[1].length);if(a=t.match(/^#,#*,#0/))return We(e,t.replace(/^#,#*,/,``),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=ne(We(e,t.replace(/[\\-]/g,``),n)),o=0,ne(ne(t.replace(/\\/g,``)).replace(/[0#]/g,function(e){return o<i.length?i.charAt(o++):e===`0`?`0`:``}));if(t.match(Pe))return i=We(e,`##########`,n),`(`+i.substr(0,3)+`) `+i.substr(3,3)+`-`+i.substr(6);var u=``;if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(a[4].length,7),s=pe(c,10**o-1,!1),i=``+l,u=Ge(`n`,a[1],s[1]),u.charAt(u.length-1)==` `&&(u=u.substr(0,u.length-1)+`0`),i+=u+a[2]+`/`+a[3],u=re(s[2],o),u.length<a[4].length&&(u=Fe(a[4].substr(a[4].length-u.length))+u),i+=u,i;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(a[1].length,a[4].length),7),s=pe(c,10**o-1,!0),l+(s[0]||(s[1]?``:`0`))+` `+(s[1]?z(s[1],o)+a[2]+`/`+a[3]+re(s[2],o):Nt(` `,2*o+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return i=``+n,t.length<=i.length?i:Fe(t.substr(0,t.length-i.length))+i;if(a=t.match(/^([#0]+)\.([#0]+)$/)){i=``+n.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,`$1`),o=i.indexOf(`.`);var d=t.indexOf(`.`)-o,f=t.length-i.length-d;return Fe(t.substr(0,d)+i+t.substr(t.length-f))}if(a=t.match(/^00,000\.([#0]*0)$/))return n<0?`-`+We(e,t,-n):we(``+n).replace(/^\d,\d{3}$/,`0$&`).replace(/^\d*$/,function(e){return`00,`+(e.length<3?R(0,3-e.length):``)+e})+`.`+R(0,a[1].length);switch(t){case`###,###`:case`##,###`:case`#,###`:var p=we(``+c);return p===`0`?``:l+p;default:if(t.match(/\.[0#?]*$/))return We(e,t.slice(0,t.lastIndexOf(`.`)),n)+Fe(t.slice(t.lastIndexOf(`.`)))}throw Error(`unsupported format |`+t+`|`)}function Ge(e,t,n){return(n|0)===n?We(e,t,n):Be(e,t,n)}function Ke(e){for(var t=[],n=!1,r=0,i=0;r<e.length;++r)switch(e.charCodeAt(r)){case 34:n=!n;break;case 95:case 42:case 92:++r;break;case 59:t[t.length]=e.substr(i,r-i),i=r+1}if(t[t.length]=e.substr(i),n===!0)throw Error(`Format |`+e+`| unterminated string `);return t}var qe=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Je(e){for(var t=0,n=``,r=``;t<e.length;)switch(n=e.charAt(t)){case`G`:ce(e,t)&&(t+=6),t++;break;case`"`:for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case`\\`:t+=2;break;case`_`:t+=2;break;case`@`:++t;break;case`B`:case`b`:if(e.charAt(t+1)===`1`||e.charAt(t+1)===`2`)return!0;case`M`:case`D`:case`Y`:case`H`:case`S`:case`E`:case`m`:case`d`:case`y`:case`h`:case`s`:case`e`:case`g`:return!0;case`A`:case`a`:case`上`:if(e.substr(t,3).toUpperCase()===`A/P`||e.substr(t,5).toUpperCase()===`AM/PM`||e.substr(t,5).toUpperCase()===`上午/下午`)return!0;++t;break;case`[`:for(r=n;e.charAt(t++)!==`]`&&t<e.length;)r+=e.charAt(t);if(r.match(qe))return!0;break;case`.`:case`0`:case`#`:for(;t<e.length&&(`0#?.,E+-%`.indexOf(n=e.charAt(++t))>-1||n==`\\`&&e.charAt(t+1)==`-`&&`0#`.indexOf(e.charAt(t+2))>-1););break;case`?`:for(;e.charAt(++t)===n;);break;case`*`:++t,(e.charAt(t)==` `||e.charAt(t)==`*`)&&++t;break;case`(`:case`)`:++t;break;case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:for(;t<e.length&&`0123456789`.indexOf(e.charAt(++t))>-1;);break;case` `:++t;break;default:++t;break}return!1}function Ye(e,t,n,r){for(var i=[],a=``,o=0,s=``,c=`t`,l,u,d,f=`H`;o<e.length;)switch(s=e.charAt(o)){case`G`:if(!ce(e,o))throw Error(`unrecognized character `+s+` in `+e);i[i.length]={t:`G`,v:`General`},o+=7;break;case`"`:for(a=``;(d=e.charCodeAt(++o))!==34&&o<e.length;)a+=String.fromCharCode(d);i[i.length]={t:`t`,v:a},++o;break;case`\\`:var p=e.charAt(++o),m=p===`(`||p===`)`?p:`t`;i[i.length]={t:m,v:p},++o;break;case`_`:i[i.length]={t:`t`,v:` `},o+=2;break;case`@`:i[i.length]={t:`T`,v:t},++o;break;case`B`:case`b`:if(e.charAt(o+1)===`1`||e.charAt(o+1)===`2`){if(l==null&&(l=he(t,n,e.charAt(o+1)===`2`),l==null))return``;i[i.length]={t:`X`,v:e.substr(o,2)},c=s,o+=2;break}case`M`:case`D`:case`Y`:case`H`:case`S`:case`E`:s=s.toLowerCase();case`m`:case`d`:case`y`:case`h`:case`s`:case`e`:case`g`:if(t<0||l==null&&(l=he(t,n),l==null))return``;for(a=s;++o<e.length&&e.charAt(o).toLowerCase()===s;)a+=s;s===`m`&&c.toLowerCase()===`h`&&(s=`M`),s===`h`&&(s=f),i[i.length]={t:s,v:a},c=s;break;case`A`:case`a`:case`上`:var h={t:s,v:s};if(l??=he(t,n),e.substr(o,3).toUpperCase()===`A/P`?(l!=null&&(h.v=l.H>=12?e.charAt(o+2):s),h.t=`T`,f=`h`,o+=3):e.substr(o,5).toUpperCase()===`AM/PM`?(l!=null&&(h.v=l.H>=12?`PM`:`AM`),h.t=`T`,o+=5,f=`h`):e.substr(o,5).toUpperCase()===`上午/下午`?(l!=null&&(h.v=l.H>=12?`下午`:`上午`),h.t=`T`,o+=5,f=`h`):(h.t=`t`,++o),l==null&&h.t===`T`)return``;i[i.length]=h,c=s;break;case`[`:for(a=s;e.charAt(o++)!==`]`&&o<e.length;)a+=e.charAt(o);if(a.slice(-1)!==`]`)throw`unterminated "[" block: |`+a+`|`;if(a.match(qe)){if(l==null&&(l=he(t,n),l==null))return``;i[i.length]={t:`Z`,v:a.toLowerCase()},c=a.charAt(1)}else a.indexOf(`$`)>-1&&(a=(a.match(/\$([^-\[\]]*)/)||[])[1]||`$`,Je(e)||(i[i.length]={t:`t`,v:a}));break;case`.`:if(l!=null){for(a=s;++o<e.length&&(s=e.charAt(o))===`0`;)a+=s;i[i.length]={t:`s`,v:a};break}case`0`:case`#`:for(a=s;++o<e.length&&`0#?.,E+-%`.indexOf(s=e.charAt(o))>-1;)a+=s;i[i.length]={t:`n`,v:a};break;case`?`:for(a=s;e.charAt(++o)===s;)a+=s;i[i.length]={t:s,v:a},c=s;break;case`*`:++o,(e.charAt(o)==` `||e.charAt(o)==`*`)&&++o;break;case`(`:case`)`:i[i.length]={t:r===1?`t`:s,v:s},++o;break;case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:for(a=s;o<e.length&&`0123456789`.indexOf(e.charAt(++o))>-1;)a+=e.charAt(o);i[i.length]={t:`D`,v:a};break;case` `:i[i.length]={t:s,v:s},++o;break;case`$`:i[i.length]={t:`t`,v:`$`},++o;break;default:if(`,$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP`.indexOf(s)===-1)throw Error(`unrecognized character `+s+` in `+e);i[i.length]={t:`t`,v:s},++o;break}var g=0,_=0,v;for(o=i.length-1,c=`t`;o>=0;--o)switch(i[o].t){case`h`:case`H`:i[o].t=f,c=`h`,g<1&&(g=1);break;case`s`:(v=i[o].v.match(/\.0+$/))&&(_=Math.max(_,v[0].length-1),g=4),g<3&&(g=3);case`d`:case`y`:case`e`:c=i[o].t;break;case`M`:c=i[o].t,g<2&&(g=2);break;case`m`:c===`s`&&(i[o].t=`M`,g<2&&(g=2));break;case`X`:break;case`Z`:g<1&&i[o].v.match(/[Hh]/)&&(g=1),g<2&&i[o].v.match(/[Mm]/)&&(g=2),g<3&&i[o].v.match(/[Ss]/)&&(g=3)}var y;switch(g){case 0:break;case 1:case 2:case 3:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H),l.H>=24&&(l.H=0,++l.D,y=he(l.D),y.u=l.u,y.S=l.S,y.M=l.M,y.H=l.H,l=y);break;case 4:switch(_){case 1:l.u=Math.round(l.u*10)/10;break;case 2:l.u=Math.round(l.u*100)/100;break;case 3:l.u=Math.round(l.u*1e3)/1e3;break}l.u>=1&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H),l.H>=24&&(l.H=0,++l.D,y=he(l.D),y.u=l.u,y.S=l.S,y.M=l.M,y.H=l.H,l=y);break}var b=``,x;for(o=0;o<i.length;++o)switch(i[o].t){case`t`:case`T`:case` `:case`D`:break;case`X`:i[o].v=``,i[o].t=`;`;break;case`d`:case`m`:case`y`:case`h`:case`H`:case`M`:case`s`:case`e`:case`b`:case`Z`:i[o].v=Ce(i[o].t.charCodeAt(0),i[o].v,l,_),i[o].t=`t`;break;case`n`:case`?`:for(x=o+1;i[x]!=null&&((s=i[x].t)===`?`||s===`D`||(s===` `||s===`t`)&&i[x+1]!=null&&(i[x+1].t===`?`||i[x+1].t===`t`&&i[x+1].v===`/`)||i[o].t===`(`&&(s===` `||s===`n`||s===`)`)||s===`t`&&(i[x].v===`/`||i[x].v===` `&&i[x+1]!=null&&i[x+1].t==`?`));)i[o].v+=i[x].v,i[x]={v:``,t:`;`},++x;b+=i[o].v,o=x-1;break;case`G`:i[o].t=`t`,i[o].v=xe(t,n);break}var S=``,C,w;if(b.length>0){b.charCodeAt(0)==40?(C=t<0&&b.charCodeAt(0)===45?-t:t,w=Ge(`n`,b,C)):(C=t<0&&r>1?-t:t,w=Ge(`n`,b,C),C<0&&i[0]&&i[0].t==`t`&&(w=w.substr(1),i[0].v=`-`+i[0].v)),x=w.length-1;var T=i.length;for(o=0;o<i.length;++o)if(i[o]!=null&&i[o].t!=`t`&&i[o].v.indexOf(`.`)>-1){T=o;break}var E=i.length;if(T===i.length&&w.indexOf(`E`)===-1){for(o=i.length-1;o>=0;--o)i[o]==null||`n?`.indexOf(i[o].t)===-1||(x>=i[o].v.length-1?(x-=i[o].v.length,i[o].v=w.substr(x+1,i[o].v.length)):x<0?i[o].v=``:(i[o].v=w.substr(0,x+1),x=-1),i[o].t=`t`,E=o);x>=0&&E<i.length&&(i[E].v=w.substr(0,x+1)+i[E].v)}else if(T!==i.length&&w.indexOf(`E`)===-1){for(x=w.indexOf(`.`)-1,o=T;o>=0;--o)if(!(i[o]==null||`n?`.indexOf(i[o].t)===-1)){for(u=i[o].v.indexOf(`.`)>-1&&o===T?i[o].v.indexOf(`.`)-1:i[o].v.length-1,S=i[o].v.substr(u+1);u>=0;--u)x>=0&&(i[o].v.charAt(u)===`0`||i[o].v.charAt(u)===`#`)&&(S=w.charAt(x--)+S);i[o].v=S,i[o].t=`t`,E=o}for(x>=0&&E<i.length&&(i[E].v=w.substr(0,x+1)+i[E].v),x=w.indexOf(`.`)+1,o=T;o<i.length;++o)if(!(i[o]==null||`n?(`.indexOf(i[o].t)===-1&&o!==T)){for(u=i[o].v.indexOf(`.`)>-1&&o===T?i[o].v.indexOf(`.`)+1:0,S=i[o].v.substr(0,u);u<i[o].v.length;++u)x<w.length&&(S+=w.charAt(x++));i[o].v=S,i[o].t=`t`,E=o}}}for(o=0;o<i.length;++o)i[o]!=null&&`n?`.indexOf(i[o].t)>-1&&(C=r>1&&t<0&&o>0&&i[o-1].v===`-`?-t:t,i[o].v=Ge(i[o].t,i[o].v,C),i[o].t=`t`);var D=``;for(o=0;o!==i.length;++o)i[o]!=null&&(D+=i[o].v);return D}var Xe=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Ze(e,t){if(t==null)return!1;var n=parseFloat(t[2]);switch(t[1]){case`=`:if(e==n)return!0;break;case`>`:if(e>n)return!0;break;case`<`:if(e<n)return!0;break;case`<>`:if(e!=n)return!0;break;case`>=`:if(e>=n)return!0;break;case`<=`:if(e<=n)return!0;break}return!1}function Qe(e,t){var n=Ke(e),r=n.length,i=n[r-1].indexOf(`@`);if(r<4&&i>-1&&--r,n.length>4)throw Error(`cannot find right format for |`+n.join(`|`)+`|`);if(typeof t!=`number`)return[4,n.length===4||i>-1?n[n.length-1]:`@`];switch(typeof t==`number`&&!isFinite(t)&&(t=0),n.length){case 1:n=i>-1?[`General`,`General`,`General`,n[0]]:[n[0],n[0],n[0],`@`];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],`@`];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],`@`];break;case 4:break}var a=t>0?n[0]:t<0?n[1]:n[2];if(n[0].indexOf(`[`)===-1&&n[1].indexOf(`[`)===-1)return[r,a];if(n[0].match(/\[[=<>]/)!=null||n[1].match(/\[[=<>]/)!=null){var o=n[0].match(Xe),s=n[1].match(Xe);return Ze(t,o)?[r,n[0]]:Ze(t,s)?[r,n[1]]:[r,n[o!=null&&s!=null?2:1]]}return[r,a]}function $e(e,t,n){n??={};var r=``;switch(typeof e){case`string`:r=e==`m/d/yy`&&n.dateNF?n.dateNF:e;break;case`number`:r=e==14&&n.dateNF?n.dateNF:(n.table==null?V:n.table)[e],r??=n.table&&n.table[de[e]]||V[de[e]],r??=fe[e]||`General`;break}if(ce(r,0))return xe(t,n);t instanceof Date&&(t=wt(t,n.date1904));var i=Qe(r,t);if(ce(i[1]))return xe(t,n);if(t===!0)t=`TRUE`;else if(t===!1)t=`FALSE`;else if(t===``||t==null)return``;else if(isNaN(t)&&i[1].indexOf(`0`)>-1)return`#NUM!`;else if(!isFinite(t)&&i[1].indexOf(`0`)>-1)return`#DIV/0!`;return Ye(i[1],t,n,i[0])}function et(e,t){if(typeof t!=`number`){t=+t||-1;for(var n=0;n<392;++n){if(V[n]==null){t<0&&(t=n);continue}if(V[n]==e){t=n;break}}t<0&&(t=391)}return V[t]=e,t}function tt(e){for(var t=0;t!=392;++t)e[t]!==void 0&&et(e[t],t)}function nt(){V=B()}var rt={format:$e,load:et,_table:V,load_table:tt,parse_date_code:he,is_date:Je,get_table:function(){return rt._table=V}},it={5:`"$"#,##0_);\\("$"#,##0\\)`,6:`"$"#,##0_);[Red]\\("$"#,##0\\)`,7:`"$"#,##0.00_);\\("$"#,##0.00\\)`,8:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,23:`General`,24:`General`,25:`General`,26:`General`,27:`m/d/yy`,28:`m/d/yy`,29:`m/d/yy`,30:`m/d/yy`,31:`m/d/yy`,32:`h:mm:ss`,33:`h:mm:ss`,34:`h:mm:ss`,35:`h:mm:ss`,36:`m/d/yy`,41:`_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)`,42:`_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)`,43:`_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)`,44:`_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)`,50:`m/d/yy`,51:`m/d/yy`,52:`m/d/yy`,53:`m/d/yy`,54:`m/d/yy`,55:`m/d/yy`,56:`m/d/yy`,57:`m/d/yy`,58:`m/d/yy`,59:`0`,60:`0.00`,61:`#,##0`,62:`#,##0.00`,63:`"$"#,##0_);\\("$"#,##0\\)`,64:`"$"#,##0_);[Red]\\("$"#,##0\\)`,65:`"$"#,##0.00_);\\("$"#,##0.00\\)`,66:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,67:`0%`,68:`0.00%`,69:`# ?/?`,70:`# ??/??`,71:`m/d/yy`,72:`m/d/yy`,73:`d-mmm-yy`,74:`d-mmm`,75:`mmm-yy`,76:`h:mm`,77:`h:mm:ss`,78:`m/d/yy h:mm`,79:`mm:ss`,80:`[h]:mm:ss`,81:`mmss.0`},at=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function ot(e){var t=typeof e==`number`?V[e]:e;return t=t.replace(at,`(\\d+)`),at.lastIndex=0,RegExp(`^`+t+`$`)}function st(e,t,n){var r=-1,i=-1,a=-1,o=-1,s=-1,c=-1;(t.match(at)||[]).forEach(function(e,t){var l=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case`y`:r=l;break;case`d`:a=l;break;case`h`:o=l;break;case`s`:c=l;break;case`m`:o>=0?s=l:i=l;break}}),at.lastIndex=0,c>=0&&s==-1&&i>=0&&(s=i,i=-1);var l=(``+(r>=0?r:new Date().getFullYear())).slice(-4)+`-`+(`00`+(i>=1?i:1)).slice(-2)+`-`+(`00`+(a>=1?a:1)).slice(-2);l.length==7&&(l=`0`+l),l.length==8&&(l=`20`+l);var u=(`00`+(o>=0?o:0)).slice(-2)+`:`+(`00`+(s>=0?s:0)).slice(-2)+`:`+(`00`+(c>=0?c:0)).slice(-2);return o==-1&&s==-1&&c==-1?l:r==-1&&i==-1&&a==-1?u:l+`T`+u}var ct={"d.m":`d\\.m`};function lt(e,t){return et(ct[e]||e,t)}var ut=(function(){var e={};e.version=`1.2.0`;function t(){for(var e=0,t=Array(256),n=0;n!=256;++n)e=n,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,t[n]=e;return typeof Int32Array<`u`?new Int32Array(t):t}var n=t();function r(e){var t=0,n=0,r=0,i=typeof Int32Array<`u`?new Int32Array(4096):Array(4096);for(r=0;r!=256;++r)i[r]=e[r];for(r=0;r!=256;++r)for(n=e[r],t=256+r;t<4096;t+=256)n=i[t]=n>>>8^e[n&255];var a=[];for(r=1;r!=16;++r)a[r-1]=typeof Int32Array<`u`&&typeof i.subarray==`function`?i.subarray(r*256,r*256+256):i.slice(r*256,r*256+256);return a}var i=r(n),a=i[0],o=i[1],s=i[2],c=i[3],l=i[4],u=i[5],d=i[6],f=i[7],p=i[8],m=i[9],h=i[10],g=i[11],_=i[12],v=i[13],y=i[14];function b(e,t){for(var r=t^-1,i=0,a=e.length;i<a;)r=r>>>8^n[(r^e.charCodeAt(i++))&255];return~r}function x(e,t){for(var r=t^-1,i=e.length-15,b=0;b<i;)r=y[e[b++]^r&255]^v[e[b++]^r>>8&255]^_[e[b++]^r>>16&255]^g[e[b++]^r>>>24]^h[e[b++]]^m[e[b++]]^p[e[b++]]^f[e[b++]]^d[e[b++]]^u[e[b++]]^l[e[b++]]^c[e[b++]]^s[e[b++]]^o[e[b++]]^a[e[b++]]^n[e[b++]];for(i+=15;b<i;)r=r>>>8^n[(r^e[b++])&255];return~r}function S(e,t){for(var r=t^-1,i=0,a=e.length,o=0,s=0;i<a;)o=e.charCodeAt(i++),o<128?r=r>>>8^n[(r^o)&255]:o<2048?(r=r>>>8^n[(r^(192|o>>6&31))&255],r=r>>>8^n[(r^(128|o&63))&255]):o>=55296&&o<57344?(o=(o&1023)+64,s=e.charCodeAt(i++)&1023,r=r>>>8^n[(r^(240|o>>8&7))&255],r=r>>>8^n[(r^(128|o>>2&63))&255],r=r>>>8^n[(r^(128|s>>6&15|(o&3)<<4))&255],r=r>>>8^n[(r^(128|s&63))&255]):(r=r>>>8^n[(r^(224|o>>12&15))&255],r=r>>>8^n[(r^(128|o>>6&63))&255],r=r>>>8^n[(r^(128|o&63))&255]);return~r}return e.table=n,e.bstr=b,e.buf=x,e.str=S,e})(),H=(function(){var e={};e.version=`1.2.2`;function t(e,t){for(var n=e.split(`/`),r=t.split(`/`),i=0,a=0,o=Math.min(n.length,r.length);i<o;++i){if(a=n[i].length-r[i].length)return a;if(n[i]!=r[i])return n[i]<r[i]?-1:1}return n.length-r.length}function n(e){if(e.charAt(e.length-1)==`/`)return e.slice(0,-1).indexOf(`/`)===-1?e:n(e.slice(0,-1));var t=e.lastIndexOf(`/`);return t===-1?e:e.slice(0,t+1)}function r(e){if(e.charAt(e.length-1)==`/`)return r(e.slice(0,-1));var t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)}function i(e,t){typeof t==`string`&&(t=new Date(t));var n=t.getHours();n=n<<6|t.getMinutes(),n=n<<5|t.getSeconds()>>>1,e.write_shift(2,n);var r=t.getFullYear()-1980;r=r<<4|t.getMonth()+1,r=r<<5|t.getDate(),e.write_shift(2,r)}function a(e){var t=e.read_shift(2)&65535,n=e.read_shift(2)&65535,r=new Date,i=n&31;n>>>=5;var a=n&15;n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(a-1),r.setDate(i);var o=t&31;t>>>=5;var s=t&63;return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(o<<1),r}function o(e){Rr(e,0);for(var t={},n=0;e.l<=e.length-4;){var r=e.read_shift(2),i=e.read_shift(2),a=e.l+i,o={};switch(r){case 21589:n=e.read_shift(1),n&1&&(o.mtime=e.read_shift(4)),i>5&&(n&2&&(o.atime=e.read_shift(4)),n&4&&(o.ctime=e.read_shift(4))),o.mtime&&(o.mt=new Date(o.mtime*1e3));break;case 1:var s=e.read_shift(4),c=e.read_shift(4);o.usz=c*2**32+s,s=e.read_shift(4),c=e.read_shift(4),o.csz=c*2**32+s;break}e.l=a,t[r]=o}return t}var s;function c(){return s||=dt}function l(e,t){if(e[0]==80&&e[1]==75)return Ue(e,t);if((e[0]|32)==109&&(e[1]|32)==105)return Qe(e,t);if(e.length<512)throw Error(`CFB file size `+e.length+` < 512`);var n=3,r=512,i=0,a=0,o=0,s=0,c=0,l=[],m=e.slice(0,512);Rr(m,0);var g=u(m);switch(n=g[0],n){case 3:r=512;break;case 4:r=4096;break;case 0:if(g[1]==0)return Ue(e,t);default:throw Error(`Major Version: Expected 3 or 4 saw `+n)}r!==512&&(m=e.slice(0,r),Rr(m,28));var y=e.slice(0,r);d(m,n);var b=m.read_shift(4,`i`);if(n===3&&b!==0)throw Error(`# Directory Sectors: Expected 0 saw `+b);m.l+=4,o=m.read_shift(4,`i`),m.l+=4,m.chk(`00100000`,`Mini Stream Cutoff Size: `),s=m.read_shift(4,`i`),i=m.read_shift(4,`i`),c=m.read_shift(4,`i`),a=m.read_shift(4,`i`);for(var x=-1,S=0;S<109&&(x=m.read_shift(4,`i`),!(x<0));++S)l[S]=x;var C=f(e,r);h(c,a,C,r,l);var w=_(C,o,l,r);o<w.length&&(w[o].name=`!Directory`),i>0&&s!==P&&(w[s].name=`!MiniFAT`),w[l[0]].name=`!FAT`,w.fat_addrs=l,w.ssz=r;var T={},E=[],D=[],O=[];v(o,w,C,E,i,T,D,s),p(D,O,E),E.shift();var k={FileIndex:D,FullPaths:O};return t&&t.raw&&(k.raw={header:y,sectors:C}),k}function u(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(I,`Header Signature: `),e.l+=16;var t=e.read_shift(2,`u`);return[e.read_shift(2,`u`),t]}function d(e,t){var n=9;switch(e.l+=2,n=e.read_shift(2)){case 9:if(t!=3)throw Error(`Sector Shift: Expected 9 saw `+n);break;case 12:if(t!=4)throw Error(`Sector Shift: Expected 12 saw `+n);break;default:throw Error(`Sector Shift: Expected 9 or 12 saw `+n)}e.chk(`0600`,`Mini Sector Shift: `),e.chk(`000000000000`,`Reserved: `)}function f(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],i=1;i<n;++i)r[i-1]=e.slice(i*t,(i+1)*t);return r[n-1]=e.slice(n*t),r}function p(e,t,n){for(var r=0,i=0,a=0,o=0,s=0,c=n.length,l=[],u=[];r<c;++r)l[r]=u[r]=r,t[r]=n[r];for(;s<u.length;++s)r=u[s],i=e[r].L,a=e[r].R,o=e[r].C,l[r]===r&&(i!==-1&&l[i]!==i&&(l[r]=l[i]),a!==-1&&l[a]!==a&&(l[r]=l[a])),o!==-1&&(l[o]=r),i!==-1&&r!=l[r]&&(l[i]=l[r],u.lastIndexOf(i)<s&&u.push(i)),a!==-1&&r!=l[r]&&(l[a]=l[r],u.lastIndexOf(a)<s&&u.push(a));for(r=1;r<c;++r)l[r]===r&&(a!==-1&&l[a]!==a?l[r]=l[a]:i!==-1&&l[i]!==i&&(l[r]=l[i]));for(r=1;r<c;++r)if(e[r].type!==0){if(s=r,s!=l[s])do s=l[s],t[r]=t[s]+`/`+t[r];while(s!==0&&l[s]!==-1&&s!=l[s]);l[r]=-1}for(t[0]+=`/`,r=1;r<c;++r)e[r].type!==2&&(t[r]+=`/`)}function m(e,t,n){for(var r=e.start,i=e.size,a=[],o=r;n&&i>0&&o>=0;)a.push(t.slice(o*N,o*N+N)),i-=N,o=Ar(n,o*4);return a.length===0?G(0):F(a).slice(0,e.size)}function h(e,t,n,r,i){var a=P;if(e===P){if(t!==0)throw Error(`DIFAT chain shorter than expected`)}else if(e!==-1){var o=n[e],s=(r>>>2)-1;if(!o)return;for(var c=0;c<s&&(a=Ar(o,c*4))!==P;++c)i.push(a);t>=1&&h(Ar(o,r-4),t-1,n,r,i)}}function g(e,t,n,r,i){var a=[],o=[];i||=[];var s=r-1,c=0,l=0;for(c=t;c>=0;){i[c]=!0,a[a.length]=c,o.push(e[c]);var u=n[Math.floor(c*4/r)];if(l=c*4&s,r<4+l)throw Error(`FAT boundary crossed: `+c+` 4 `+r);if(!e[u])break;c=Ar(e[u],l)}return{nodes:a,data:ar([o])}}function _(e,t,n,r){var i=e.length,a=[],o=[],s=[],c=[],l=r-1,u=0,d=0,f=0,p=0;for(u=0;u<i;++u)if(s=[],f=u+t,f>=i&&(f-=i),!o[f]){c=[];var m=[];for(d=f;d>=0;){m[d]=!0,o[d]=!0,s[s.length]=d,c.push(e[d]);var h=n[Math.floor(d*4/r)];if(p=d*4&l,r<4+p)throw Error(`FAT boundary crossed: `+d+` 4 `+r);if(!e[h]||(d=Ar(e[h],p),m[d]))break}a[f]={nodes:s,data:ar([c])}}return a}function v(e,t,n,r,i,a,o,s){for(var c=0,l=r.length?2:0,u=t[e].data,d=0,f=0,p;d<u.length;d+=128){var h=u.slice(d,d+128);Rr(h,64),f=h.read_shift(2),p=sr(h,0,f-l),r.push(p);var _={name:p,type:h.read_shift(1),color:h.read_shift(1),L:h.read_shift(4,`i`),R:h.read_shift(4,`i`),C:h.read_shift(4,`i`),clsid:h.read_shift(16),state:h.read_shift(4,`i`),start:0,size:0};h.read_shift(2)+h.read_shift(2)+h.read_shift(2)+h.read_shift(2)!==0&&(_.ct=y(h,h.l-8)),h.read_shift(2)+h.read_shift(2)+h.read_shift(2)+h.read_shift(2)!==0&&(_.mt=y(h,h.l-8)),_.start=h.read_shift(4,`i`),_.size=h.read_shift(4,`i`),_.size<0&&_.start<0&&(_.size=_.type=0,_.start=P,_.name=``),_.type===5?(c=_.start,i>0&&c!==P&&(t[c].name=`!StreamData`)):_.size>=4096?(_.storage=`fat`,t[_.start]===void 0&&(t[_.start]=g(n,_.start,t.fat_addrs,t.ssz)),t[_.start].name=_.name,_.content=t[_.start].data.slice(0,_.size)):(_.storage=`minifat`,_.size<0?_.size=0:c!==P&&_.start!==P&&t[c]&&(_.content=m(_,t[c].data,(t[s]||{}).data))),_.content&&Rr(_.content,0),a[p]=_,o.push(_)}}function y(e,t){return new Date((kr(e,t+4)/1e7*2**32+kr(e,t)/1e7-11644473600)*1e3)}function b(e,t){return c(),l(s.readFileSync(e),t)}function x(e,t){var n=t&&t.type;switch(n||E&&Buffer.isBuffer(e)&&(n=`buffer`),n||`base64`){case`file`:return b(e,t);case`base64`:return l(j(T(e)),t);case`binary`:return l(j(e),t)}return l(e,t)}function C(e,t){var n=t||{},r=n.root||`Root Entry`;if(e.FullPaths||=[],e.FileIndex||=[],e.FullPaths.length!==e.FileIndex.length)throw Error(`inconsistent CFB structure`);e.FullPaths.length===0&&(e.FullPaths[0]=r+`/`,e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),w(e)}function w(e){var t=`Sh33tJ5`;if(!H.find(e,`/`+t)){var n=G(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),O(e)}}function O(e,i){C(e);for(var a=!1,o=!1,s=e.FullPaths.length-1;s>=0;--s){var c=e.FileIndex[s];switch(c.type){case 0:o?a=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(c.R*c.L*c.C)&&(a=!0),c.R>-1&&c.L>-1&&c.R==c.L&&(a=!0);break;default:a=!0;break}}if(!(!a&&!i)){var l=new Date(1987,1,19),u=0,d=Object.create?Object.create(null):{},f=[];for(s=0;s<e.FullPaths.length;++s)d[e.FullPaths[s]]=!0,e.FileIndex[s].type!==0&&f.push([e.FullPaths[s],e.FileIndex[s]]);for(s=0;s<f.length;++s){var p=n(f[s][0]);for(o=d[p];!o;){for(;n(p)&&!d[n(p)];)p=n(p);f.push([p,{name:r(p).replace(`/`,``),type:1,clsid:R,ct:l,mt:l,content:null}]),d[p]=!0,p=n(f[s][0]),o=d[p]}}for(f.sort(function(e,n){return t(e[0],n[0])}),e.FullPaths=[],e.FileIndex=[],s=0;s<f.length;++s)e.FullPaths[s]=f[s][0],e.FileIndex[s]=f[s][1];for(s=0;s<f.length;++s){var m=e.FileIndex[s],h=e.FullPaths[s];if(m.name=r(h).replace(`/`,``),m.L=m.R=m.C=-(m.color=1),m.size=m.content?m.content.length:0,m.start=0,m.clsid=m.clsid||R,s===0)m.C=f.length>1?1:-1,m.size=0,m.type=5;else if(h.slice(-1)==`/`){for(u=s+1;u<f.length&&n(e.FullPaths[u])!=h;++u);for(m.C=u>=f.length?-1:u,u=s+1;u<f.length&&n(e.FullPaths[u])!=n(h);++u);m.R=u>=f.length?-1:u,m.type=1}else n(e.FullPaths[s+1]||``)==n(h)&&(m.R=s+1),m.type=2}}}function ee(e,t){var n=t||{};if(n.fileType==`mad`)return $e(e,n);switch(O(e),n.fileType){case`zip`:return Ge(e,n)}var r=(function(e){for(var t=0,n=0,r=0;r<e.FileIndex.length;++r){var i=e.FileIndex[r];if(i.content){var a=i.content.length;a>0&&(a<4096?t+=a+63>>6:n+=a+511>>9)}}for(var o=e.FullPaths.length+3>>2,s=t+7>>3,c=t+127>>7,l=s+n+o+c,u=l+127>>7,d=u<=109?0:Math.ceil((u-109)/127);l+u+d+127>>7>u;)d=++u<=109?0:Math.ceil((u-109)/127);var f=[1,d,u,c,o,n,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f})(e),i=G(r[7]<<9),a=0,o=0;for(a=0;a<8;++a)i.write_shift(1,ne[a]);for(a=0;a<8;++a)i.write_shift(2,0);for(i.write_shift(2,62),i.write_shift(2,3),i.write_shift(2,65534),i.write_shift(2,9),i.write_shift(2,6),a=0;a<3;++a)i.write_shift(2,0);for(i.write_shift(4,0),i.write_shift(4,r[2]),i.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),i.write_shift(4,0),i.write_shift(4,4096),i.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:P),i.write_shift(4,r[3]),i.write_shift(-4,r[1]?r[0]-1:P),i.write_shift(4,r[1]),a=0;a<109;++a)i.write_shift(-4,a<r[2]?r[1]+a:-1);if(r[1])for(o=0;o<r[1];++o){for(;a<236+o*127;++a)i.write_shift(-4,a<r[2]?r[1]+a:-1);i.write_shift(-4,o===r[1]-1?P:o+1)}var s=function(e){for(o+=e;a<o-1;++a)i.write_shift(-4,a+1);e&&(++a,i.write_shift(-4,P))};for(o=a=0,o+=r[1];a<o;++a)i.write_shift(-4,z.DIFSECT);for(o+=r[2];a<o;++a)i.write_shift(-4,z.FATSECT);s(r[3]),s(r[4]);for(var c=0,l=0,u=e.FileIndex[0];c<e.FileIndex.length;++c)u=e.FileIndex[c],u.content&&(l=u.content.length,!(l<4096)&&(u.start=o,s(l+511>>9)));for(s(r[6]+7>>3);i.l&511;)i.write_shift(-4,z.ENDOFCHAIN);for(o=a=0,c=0;c<e.FileIndex.length;++c)u=e.FileIndex[c],u.content&&(l=u.content.length,!(!l||l>=4096)&&(u.start=o,s(l+63>>6)));for(;i.l&511;)i.write_shift(-4,z.ENDOFCHAIN);for(a=0;a<r[4]<<2;++a){var d=e.FullPaths[a];if(!d||d.length===0){for(c=0;c<17;++c)i.write_shift(4,0);for(c=0;c<3;++c)i.write_shift(4,-1);for(c=0;c<12;++c)i.write_shift(4,0);continue}u=e.FileIndex[a],a===0&&(u.start=u.size?u.start-1:P);var f=a===0&&n.root||u.name;if(f.length>31&&(console.error(`Name `+f+` will be truncated to `+f.slice(0,31)),f=f.slice(0,31)),l=2*(f.length+1),i.write_shift(64,f,`utf16le`),i.write_shift(2,l),i.write_shift(1,u.type),i.write_shift(1,u.color),i.write_shift(-4,u.L),i.write_shift(-4,u.R),i.write_shift(-4,u.C),u.clsid)i.write_shift(16,u.clsid,`hex`);else for(c=0;c<4;++c)i.write_shift(4,0);i.write_shift(4,u.state||0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,u.start),i.write_shift(4,u.size),i.write_shift(4,0)}for(a=1;a<e.FileIndex.length;++a)if(u=e.FileIndex[a],u.size>=4096)if(i.l=u.start+1<<9,E&&Buffer.isBuffer(u.content))u.content.copy(i,i.l,0,u.size),i.l+=u.size+511&-512;else{for(c=0;c<u.size;++c)i.write_shift(1,u.content[c]);for(;c&511;++c)i.write_shift(1,0)}for(a=1;a<e.FileIndex.length;++a)if(u=e.FileIndex[a],u.size>0&&u.size<4096)if(E&&Buffer.isBuffer(u.content))u.content.copy(i,i.l,0,u.size),i.l+=u.size+63&-64;else{for(c=0;c<u.size;++c)i.write_shift(1,u.content[c]);for(;c&63;++c)i.write_shift(1,0)}if(E)i.l=i.length;else for(;i.l<i.length;)i.write_shift(1,0);return i}function M(e,t){var n=e.FullPaths.map(function(e){return e.toUpperCase()}),r=n.map(function(e){var t=e.split(`/`);return t[t.length-(e.slice(-1)==`/`?2:1)]}),i=!1;t.charCodeAt(0)===47?(i=!0,t=n[0].slice(0,-1)+t):i=t.indexOf(`/`)!==-1;var a=t.toUpperCase(),o=i===!0?n.indexOf(a):r.indexOf(a);if(o!==-1)return e.FileIndex[o];var s=!a.match(te);for(a=a.replace(L,``),s&&(a=a.replace(te,`!`)),o=0;o<n.length;++o)if((s?n[o].replace(te,`!`):n[o]).replace(L,``)==a||(s?r[o].replace(te,`!`):r[o]).replace(L,``)==a)return e.FileIndex[o];return null}var N=64,P=-2,I=`d0cf11e0a1b11ae1`,ne=[208,207,17,224,161,177,26,225],R=`00000000000000000000000000000000`,z={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:P,FREESECT:-1,HEADER_SIGNATURE:I,HEADER_MINOR_VERSION:`3e00`,MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:R,EntryTypes:[`unknown`,`storage`,`stream`,`lockbytes`,`property`,`root`]};function re(e,t,n){c();var r=ee(e,n);s.writeFileSync(t,r)}function ie(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join(``)}function ae(e,t){var n=ee(e,t);switch(t&&t.type||`buffer`){case`file`:return c(),s.writeFileSync(t.filename,n),n;case`binary`:return typeof n==`string`?n:ie(n);case`base64`:return S(typeof n==`string`?n:ie(n));case`buffer`:if(E)return Buffer.isBuffer(n)?n:D(n);case`array`:return typeof n==`string`?j(n):n}return n}var oe;function se(e){try{var t=e.InflateRaw,n=new t;if(n._processChunk(new Uint8Array([3,0]),n._finishFlushFlag),n.bytesRead)oe=e;else throw Error(`zlib does not expose bytesRead`)}catch(e){console.error(`cannot use native zlib: `+(e.message||e))}}function ce(e,t){if(!oe)return Ve(e,t);var n=oe.InflateRaw,r=new n,i=r._processChunk(e.slice(e.l),r._finishFlushFlag);return e.l+=r.bytesRead,i}function le(e){return oe?oe.deflateRawSync(e):Ne(e)}var ue=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],B=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],V=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function de(e){var t=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(t>>16|t>>8|t)&255}for(var fe=typeof Uint8Array<`u`,pe=fe?new Uint8Array(256):[],me=0;me<256;++me)pe[me]=de(me);function he(e,t){var n=pe[e&255];return t<=8?n>>>8-t:(n=n<<8|pe[e>>8&255],t<=16?n>>>16-t:(n=n<<8|pe[e>>16&255],n>>>24-t))}function ge(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function _e(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function ve(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}function ye(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function be(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function xe(e,t,n){var r=t&7,i=t>>>3,a=(1<<n)-1,o=e[i]>>>r;return n<8-r||(o|=e[i+1]<<8-r,n<16-r)||(o|=e[i+2]<<16-r,n<24-r)||(o|=e[i+3]<<24-r),o&a}function Se(e,t,n){var r=t&7,i=t>>>3;return r<=5?e[i]|=(n&7)<<r:(e[i]|=n<<r&255,e[i+1]=(n&7)>>8-r),t+3}function Ce(e,t,n){var r=t&7,i=t>>>3;return n=(n&1)<<r,e[i]|=n,t+1}function we(e,t,n){var r=t&7,i=t>>>3;return n<<=r,e[i]|=n&255,n>>>=8,e[i+1]=n,t+8}function Te(e,t,n){var r=t&7,i=t>>>3;return n<<=r,e[i]|=n&255,n>>>=8,e[i+1]=n&255,e[i+2]=n>>>8,t+16}function Ee(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(E){var a=A(r);if(e.copy)e.copy(a);else for(;i<e.length;++i)a[i]=e[i];return a}else if(fe){var o=new Uint8Array(r);if(o.set)o.set(e);else for(;i<n;++i)o[i]=e[i];return o}return e.length=r,e}function De(e){for(var t=Array(e),n=0;n<e;++n)t[n]=0;return t}function Oe(e,t,n){var r=1,i=0,a=0,o=0,s=0,c=e.length,l=fe?new Uint16Array(32):De(32);for(a=0;a<32;++a)l[a]=0;for(a=c;a<n;++a)e[a]=0;c=e.length;var u=fe?new Uint16Array(c):De(c);for(a=0;a<c;++a)l[i=e[a]]++,r<i&&(r=i),u[a]=0;for(l[0]=0,a=1;a<=r;++a)l[a+16]=s=s+l[a-1]<<1;for(a=0;a<c;++a)s=e[a],s!=0&&(u[a]=l[s+16]++);var d=0;for(a=0;a<c;++a)if(d=e[a],d!=0)for(s=he(u[a],r)>>r-d,o=(1<<r+4-d)-1;o>=0;--o)t[s|o<<d]=d&15|a<<4;return r}var ke=fe?new Uint16Array(512):De(512),Ae=fe?new Uint16Array(32):De(32);if(!fe){for(var je=0;je<512;++je)ke[je]=0;for(je=0;je<32;++je)Ae[je]=0}(function(){for(var e=[],t=0;t<32;t++)e.push(5);Oe(e,Ae,32);var n=[];for(t=0;t<=143;t++)n.push(8);for(;t<=255;t++)n.push(9);for(;t<=279;t++)n.push(7);for(;t<=287;t++)n.push(8);Oe(n,ke,288)})();var Me=(function(){for(var e=fe?new Uint8Array(32768):[],t=0,n=0;t<V.length-1;++t)for(;n<V[t+1];++n)e[n]=t;for(;n<32768;++n)e[n]=29;var r=fe?new Uint8Array(259):[];for(t=0,n=0;t<B.length-1;++t)for(;n<B[t+1];++n)r[n]=t;function i(e,t){for(var n=0;n<e.length;){var r=Math.min(65535,e.length-n),i=n+r==e.length;for(t.write_shift(1,+i),t.write_shift(2,r),t.write_shift(2,~r&65535);r-- >0;)t[t.l++]=e[n++]}return t.l}function a(t,n){for(var i=0,a=0,o=fe?new Uint16Array(32768):[];a<t.length;){var s=Math.min(65535,t.length-a);if(s<10){for(i=Se(n,i,+(a+s==t.length)),i&7&&(i+=8-(i&7)),n.l=i/8|0,n.write_shift(2,s),n.write_shift(2,~s&65535);s-- >0;)n[n.l++]=t[a++];i=n.l*8;continue}i=Se(n,i,+(a+s==t.length)+2);for(var c=0;s-- >0;){var l=t[a];c=(c<<5^l)&32767;var u=-1,d=0;if((u=o[c])&&(u|=a&-32768,u>a&&(u-=32768),u<a))for(;t[u+d]==t[a+d]&&d<250;)++d;if(d>2){l=r[d],l<=22?i=we(n,i,pe[l+1]>>1)-1:(we(n,i,3),i+=5,we(n,i,pe[l-23]>>5),i+=3);var f=l<8?0:l-4>>2;f>0&&(Te(n,i,d-B[l]),i+=f),l=e[a-u],i=we(n,i,pe[l]>>3),i-=3;var p=l<4?0:l-2>>1;p>0&&(Te(n,i,a-u-V[l]),i+=p);for(var m=0;m<d;++m)o[c]=a&32767,c=(c<<5^t[a])&32767,++a;s-=d-1}else l<=143?l+=48:i=Ce(n,i,1),i=we(n,i,pe[l]),o[c]=a&32767,++a}i=we(n,i,0)-1}return n.l=(i+7)/8|0,n.l}return function(e,t){return e.length<8?i(e,t):a(e,t)}})();function Ne(e){var t=G(50+Math.floor(e.length*1.1)),n=Me(e,t);return t.slice(0,n)}var Pe=fe?new Uint16Array(32768):De(32768),Fe=fe?new Uint16Array(32768):De(32768),Ie=fe?new Uint16Array(128):De(128),Le=1,Re=1;function ze(e,t){var n=ye(e,t)+257;t+=5;var r=ye(e,t)+1;t+=5;var i=ve(e,t)+4;t+=4;for(var a=0,o=fe?new Uint8Array(19):De(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=fe?new Uint8Array(8):De(8),u=fe?new Uint8Array(8):De(8),d=o.length,f=0;f<i;++f)o[ue[f]]=a=_e(e,t),c<a&&(c=a),l[a]++,t+=3;var p=0;for(l[0]=0,f=1;f<=c;++f)u[f]=p=p+l[f-1]<<1;for(f=0;f<d;++f)(p=o[f])!=0&&(s[f]=u[p]++);var m=0;for(f=0;f<d;++f)if(m=o[f],m!=0){p=pe[s[f]]>>8-m;for(var h=(1<<7-m)-1;h>=0;--h)Ie[p|h<<m]=m&7|f<<3}var g=[];for(c=1;g.length<n+r;)switch(p=Ie[be(e,t)],t+=p&7,p>>>=3){case 16:for(a=3+ge(e,t),t+=2,p=g[g.length-1];a-- >0;)g.push(p);break;case 17:for(a=3+_e(e,t),t+=3;a-- >0;)g.push(0);break;case 18:for(a=11+be(e,t),t+=7;a-- >0;)g.push(0);break;default:g.push(p),c<p&&(c=p);break}var _=g.slice(0,n),v=g.slice(n);for(f=n;f<286;++f)_[f]=0;for(f=r;f<30;++f)v[f]=0;return Le=Oe(_,Pe,286),Re=Oe(v,Fe,30),t}function Be(e,t){if(e[0]==3&&!(e[1]&3))return[k(t),2];for(var n=0,r=0,i=A(t||1<<18),a=0,o=i.length>>>0,s=0,c=0;!(r&1);){if(r=_e(e,n),n+=3,r>>>1)r>>1==1?(s=9,c=5):(n=ze(e,n),s=Le,c=Re);else{n&7&&(n+=8-(n&7));var l=e[n>>>3]|e[(n>>>3)+1]<<8;if(n+=32,l>0)for(!t&&o<a+l&&(i=Ee(i,a+l),o=i.length);l-- >0;)i[a++]=e[n>>>3],n+=8;continue}for(;;){!t&&o<a+32767&&(i=Ee(i,a+32767),o=i.length);var u=xe(e,n,s),d=r>>>1==1?ke[u]:Pe[u];if(n+=d&15,d>>>=4,!(d>>>8&255))i[a++]=d;else if(d==256)break;else{d-=257;var f=d<8?0:d-4>>2;f>5&&(f=0);var p=a+B[d];f>0&&(p+=xe(e,n,f),n+=f),u=xe(e,n,c),d=r>>>1==1?Ae[u]:Fe[u],n+=d&15,d>>>=4;var m=d<4?0:d-2>>1,h=V[d];for(m>0&&(h+=xe(e,n,m),n+=m),!t&&o<p&&(i=Ee(i,p+100),o=i.length);a<p;)i[a]=i[a-h],++a}}}return t?[i,n+7>>>3]:[i.slice(0,a),n+7>>>3]}function Ve(e,t){var n=Be(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function He(e,t){if(e)typeof console<`u`&&console.error(t);else throw Error(t)}function Ue(e,t){var n=e;Rr(n,0);var r={FileIndex:[],FullPaths:[]};C(r,{root:t.root});for(var i=n.length-4;(n[i]!=80||n[i+1]!=75||n[i+2]!=5||n[i+3]!=6)&&i>=0;)--i;n.l=i+4,n.l+=4;var a=n.read_shift(2);for(n.l+=6,n.l=n.read_shift(4),i=0;i<a;++i){n.l+=20;var s=n.read_shift(4),c=n.read_shift(4),l=n.read_shift(2),u=n.read_shift(2),d=n.read_shift(2);n.l+=8;var f=n.read_shift(4),p=o(n.slice(n.l+l,n.l+l+u));n.l+=l+u+d;var m=n.l;n.l=f+4,p&&p[1]&&((p[1]||{}).usz&&(c=p[1].usz),(p[1]||{}).csz&&(s=p[1].csz)),We(n,s,c,r,p),n.l=m}return r}function We(e,t,n,r,i){e.l+=2;var s=e.read_shift(2),c=e.read_shift(2),l=a(e);if(s&8257)throw Error(`Unsupported ZIP encryption`);for(var u=e.read_shift(4),d=e.read_shift(4),f=e.read_shift(4),p=e.read_shift(2),m=e.read_shift(2),h=``,g=0;g<p;++g)h+=String.fromCharCode(e[e.l++]);if(m){var _=o(e.slice(e.l,e.l+m));(_[21589]||{}).mt&&(l=_[21589].mt),(_[1]||{}).usz&&(f=_[1].usz),(_[1]||{}).csz&&(d=_[1].csz),i&&((i[21589]||{}).mt&&(l=i[21589].mt),(i[1]||{}).usz&&(f=i[1].usz),(i[1]||{}).csz&&(d=i[1].csz))}e.l+=m;var v=e.slice(e.l,e.l+d);switch(c){case 8:v=ce(e,f);break;case 0:e.l+=d;break;default:throw Error(`Unsupported ZIP Compression method `+c)}var y=!1;s&8&&(u=e.read_shift(4),u==134695760&&(u=e.read_shift(4),y=!0),d=e.read_shift(4),f=e.read_shift(4)),d!=t&&He(y,`Bad compressed size: `+t+` != `+d),f!=n&&He(y,`Bad uncompressed size: `+n+` != `+f),tt(r,h,v,{unsafe:!0,mt:l})}function Ge(e,t){var n=t||{},r=[],a=[],o=G(1),s=n.compression?8:0,c=0,l=0,u=0,d=0,f=0,p=e.FullPaths[0],m=p,h=e.FileIndex[0],g=[],_=0;for(l=1;l<e.FullPaths.length;++l)if(m=e.FullPaths[l].slice(p.length),h=e.FileIndex[l],!(!h.size||!h.content||Array.isArray(h.content)&&h.content.length==0||m==`Sh33tJ5`)){var v=d,y=G(m.length);for(u=0;u<m.length;++u)y.write_shift(1,m.charCodeAt(u)&127);y=y.slice(0,y.l),g[f]=typeof h.content==`string`?ut.bstr(h.content,0):ut.buf(h.content,0);var b=typeof h.content==`string`?j(h.content):h.content;s==8&&(b=le(b)),o=G(30),o.write_shift(4,67324752),o.write_shift(2,20),o.write_shift(2,c),o.write_shift(2,s),h.mt?i(o,h.mt):o.write_shift(4,0),o.write_shift(-4,c&8?0:g[f]),o.write_shift(4,c&8?0:b.length),o.write_shift(4,c&8?0:h.content.length),o.write_shift(2,y.length),o.write_shift(2,0),d+=o.length,r.push(o),d+=y.length,r.push(y),d+=b.length,r.push(b),c&8&&(o=G(12),o.write_shift(-4,g[f]),o.write_shift(4,b.length),o.write_shift(4,h.content.length),d+=o.l,r.push(o)),o=G(46),o.write_shift(4,33639248),o.write_shift(2,0),o.write_shift(2,20),o.write_shift(2,c),o.write_shift(2,s),o.write_shift(4,0),o.write_shift(-4,g[f]),o.write_shift(4,b.length),o.write_shift(4,h.content.length),o.write_shift(2,y.length),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(4,0),o.write_shift(4,v),_+=o.l,a.push(o),_+=y.length,a.push(y),++f}return o=G(22),o.write_shift(4,101010256),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,f),o.write_shift(2,f),o.write_shift(4,_),o.write_shift(4,d),o.write_shift(2,0),F([F(r),F(a),o])}var Ke={htm:`text/html`,xml:`text/xml`,gif:`image/gif`,jpg:`image/jpeg`,png:`image/png`,mso:`application/x-mso`,thmx:`application/vnd.ms-officetheme`,sh33tj5:`application/octet-stream`};function qe(e,t){if(e.ctype)return e.ctype;var n=e.name||``,r=n.match(/\.([^\.]+)$/);return r&&Ke[r[1]]||t&&(r=(n=t).match(/[\.\\]([^\.\\])+$/),r&&Ke[r[1]])?Ke[r[1]]:`application/octet-stream`}function Je(e){for(var t=S(e),n=[],r=0;r<t.length;r+=76)n.push(t.slice(r,r+76));return n.join(`\r
2
2
  `)+`\r
3
3
  `}function Ye(e){var t=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return`=`+(t.length==1?`0`+t:t)});t=t.replace(/ $/gm,`=20`).replace(/\t$/gm,`=09`),t.charAt(0)==`
4
4
  `&&(t=`=0D`+t.slice(1)),t=t.replace(/\r(?!\n)/gm,`=0D`).replace(/\n\n/gm,`