Compare commits

..
60 Commits
Author SHA1 Message Date
zwgczx 63ebc3f26a Merge branch 'main' of https://git.zwgczx.com/zwgczx/JGJS2026 2026-03-17 16:24:31 +08:00
zwgczx 69e5f166e1 优化 2026-03-17 16:24:25 +08:00
ForeverSmiYng d68579b643 优化编制说明的采用方法顺序 2026-03-17 14:48:09 +08:00
zwgczx 2b18fe9991 优化目录 2026-03-17 12:05:22 +08:00
ForeverSmiYng 4e343cccf1 更新成果导出功能 2026-03-17 11:55:29 +08:00
zwgczx 8bf3d5e773 更新 AGENTS.md 2026-03-13 22:08:39 +08:00
ForeverSmiYng 7f03559bfd 更新报表导出功能 2026-03-13 18:35:22 +08:00
zwgczx e761558307 1 2026-03-13 18:28:45 +08:00
zwgczx 2bf7b4764b Merge branch 'main' of https://git.zwgczx.com/zwgczx/JGJS2026 2026-03-13 18:27:50 +08:00
zwgczx eb415cd0d0 1 2026-03-13 18:27:42 +08:00
ForeverSmiYng d3695c8131 更新报表导出功能 2026-03-12 17:06:23 +08:00
ForeverSmiYng d5cae61861 更新报表导出功能 2026-03-12 16:52:59 +08:00
zwgczx 1c600e64d0 fix 2026-03-12 16:52:39 +08:00
zwgczx f4f6e5c618 final 2026-03-12 12:02:05 +08:00
ForeverSmiYng 398fca9265 优化报表导出功能 2026-03-12 10:46:32 +08:00
zwgczx f4c768df29 fix 2026-03-12 10:38:58 +08:00
zwgczx cd107604a9 1 2026-03-11 19:15:28 +08:00
zwgczx 0f71fff9ac fix 2026-03-11 17:41:08 +08:00
zwgczx 3d26b0b259 fix,去掉大部分indexdb的逻辑 2026-03-11 12:01:16 +08:00
zwgczx 9a045cfe86 大改,使用pinia传值,indexdb做持久化 2026-03-11 11:06:04 +08:00
zwgczx 3ad7bae1a9 调整存储的逻辑 2026-03-10 17:48:12 +08:00
zwgczx bbc8777b74 fix 2026-03-10 17:16:45 +08:00
zwgczx 5614e315b0 修复bug 2026-03-10 16:22:50 +08:00
zwgczx 5bb6609ef8 fix bug 2026-03-10 15:50:07 +08:00
ForeverSmiYng 1910f15564 更新成果报表导出功能 2026-03-10 11:21:24 +08:00
zwgczx 2a2c0fe2d7 1 2026-03-09 17:35:34 +08:00
zwgczx f79e8e0da6 merge 2026-03-09 15:45:51 +08:00
zwgczx ab310b49e9 1 2026-03-09 15:44:56 +08:00
ForeverSmiYng d1dda7f9fa 更新成果报表导出功能 2026-03-09 14:35:47 +08:00
zwgczx 8a15587d30 备份 2026-03-09 10:55:08 +08:00
zwgczx fc26a87bee 系数字段修改 2026-03-07 17:52:33 +08:00
ForeverSmiYng 21d3f0379c 更新导出成果报表功能 2026-03-07 16:25:21 +08:00
zwgczx 303f54bb71 if 2026-03-07 16:09:06 +08:00
zwgczx 043e1fc879 fix 2026-03-07 15:32:54 +08:00
zwgczx ad4e9cdee0 fix someone 2026-03-07 11:47:07 +08:00
zwgczx c482faacbf fix 2026-03-06 17:40:08 +08:00
zwgczx 626513bc21 fix 2026-03-06 16:06:37 +08:00
zwgczx d8f8b629d2 fix 2026-03-06 11:36:47 +08:00
zwgczx 75f293f877 '20260305修复bug' 2026-03-05 17:58:38 +08:00
zwgczx 53c1b2c0db 1 2026-03-05 11:44:00 +08:00
zwgczx 75d5066b62 1 2026-03-05 11:28:36 +08:00
zwgczx e4a2b5373f 1 2026-03-05 10:48:57 +08:00
zwgczx 42fd6e48c4 重构 2026-03-04 17:43:06 +08:00
zwgczx 33913c29d2 1 2026-03-03 16:16:16 +08:00
zwgczx 62546bc937 1 2026-03-02 18:12:32 +08:00
zwgczx a10359f7e0 优化 2026-03-02 17:52:32 +08:00
zwgczx 3950057707 fix 2026-03-02 16:55:27 +08:00
zwgczx 757de9a43f 1 2026-03-02 11:05:52 +08:00
zwgczx ea6a244942 fix 2026-02-28 17:01:40 +08:00
zwgczx 13b03e016e 完成大部分 2026-02-28 16:34:36 +08:00
zwgczx e97707ac59 fix 2026-02-27 18:25:19 +08:00
zwgczx 9849801e46 fix all 2026-02-27 18:05:10 +08:00
zwgczx badf131dde fix 2026-02-27 17:06:31 +08:00
zwgczx 57a2029847 fix 拖动流畅度 2026-02-26 18:04:36 +08:00
zwgczx 37f4a99914 fix bug 2026-02-26 15:55:36 +08:00
zwgczx 1609f19b9c fix more 2026-02-25 17:59:10 +08:00
zwgczx 5734cfa534 fix more 2026-02-25 14:26:40 +08:00
zwgczx f121aa233e fix all 2026-02-24 17:14:01 +08:00
wintsa 6ba08da229 fix 2026-02-22 23:47:44 +08:00
wintsa d120622de1 first commit 2026-02-22 23:42:49 +08:00
220 changed files with 11428 additions and 34069 deletions

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
{
"permissions": {
"allow": [
"Skill(update-config)",
"Bash(mv views/Ht.vue views/htCard.vue views/htInfo.vue views/HtAdditionalWorkFee.vue views/HtConsultCategoryFactor.vue views/HtFeeRateMethodForm.vue views/HtMajorFactor.vue views/HtReserveFee.vue ht/)",
"Bash(mv views/xmCard.vue views/xmInfo.vue views/info.vue views/XmMajorFactor.vue views/XmConsultCategoryFactor.vue xm/)",
"Bash(mv views/pricingView/HourlyPricingPane.vue views/pricingView/InvestmentScalePricingPane.vue views/pricingView/LandScalePricingPane.vue views/pricingView/WorkloadPricingPane.vue pricing/)",
"Bash(mv common/HourlyFeeGrid.vue common/HtFeeGrid.vue common/HtFeeMethodGrid.vue common/MethodUnavailableNotice.vue common/XmFactorGrid.vue common/xmCommonAgGrid.vue views/ServiceCheckboxSelector.vue views/WorkContentGrid.vue shared/)",
"Bash(rmdir views/pricingView common)",
"Bash(cd:*)",
"Bash(bun run:*)",
"Bash(grep:*)",
"mcp__context7__resolve-library-id",
"mcp__context7__query-docs"
]
}
}
-7
View File
@@ -1,7 +0,0 @@
**
!dist/
!dist/**
!Dockerfile.dist
!docker/
!docker/dist-server/
!docker/dist-server/**
-2
View File
@@ -12,8 +12,6 @@ dist
dist-ssr
*.local
*.exe
~$*
tsconfig.tsbuildinfo
# Editor directories and files
.vscode/*
!.vscode/extensions.json
+3
View File
@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar"]
}
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

-1
View File
@@ -1 +0,0 @@
iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADl8HLGAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4SU
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

-58
View File
@@ -1,58 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="./favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script>
;(() => {
if (window.location.protocol === 'file:') return
const { pathname, search, hash } = window.location
const lastSegment = pathname.slice(pathname.lastIndexOf('/') + 1)
if (pathname !== '/' && !pathname.endsWith('/') && lastSegment && !lastSegment.includes('.')) {
window.location.replace(`${pathname}/${search}${hash}`)
}
})()
</script>
<title>联众咨询</title>
<script type="module" crossorigin src="./static/js/index-CAPJG_im.js"></script>
<link rel="modulepreload" crossorigin href="./static/js/_plugin-vue_export-helper-DUFB50Ey.js">
<link rel="modulepreload" crossorigin href="./static/js/rolldown-runtime-fVNAxIxX.js">
<link rel="modulepreload" crossorigin href="./static/js/vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js">
<link rel="modulepreload" crossorigin href="./static/js/vendor-ag-grid~index~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeL~h29xz5eu-CW8VCi7z.js">
<link rel="modulepreload" crossorigin href="./static/js/vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js">
<link rel="modulepreload" crossorigin href="./static/js/vendor-ui-B4V4Cf1T.js">
<link rel="modulepreload" crossorigin href="./static/js/workspace-DxKKyh8w.js">
<link rel="modulepreload" crossorigin href="./static/js/vendor-vue-CSlAvuUs.js">
<link rel="modulepreload" crossorigin href="./static/js/decimal-D3bp1pbs.js">
<link rel="modulepreload" crossorigin href="./static/js/numberFormat-jhZZmX17.js">
<link rel="modulepreload" crossorigin href="./static/js/sql-C69Jo4HU.js">
<link rel="modulepreload" crossorigin href="./static/js/vendor-ag-grid~index-Ch1jbN8D.js">
<link rel="modulepreload" crossorigin href="./static/js/utils-DFe0HVk9.js">
<link rel="stylesheet" crossorigin href="./static/css/index-CI_Unp5q.css">
</head>
<body>
<div id="app"></div>
<!-- <script>
//上线前添加访问版本号,强制刷新缓存
;(() => {
const makeVisitVersion = () => {
if (window.crypto && typeof window.crypto.getRandomValues === 'function') {
const bytes = new Uint32Array(2)
window.crypto.getRandomValues(bytes)
return `${Date.now().toString(36)}-${bytes[0].toString(36)}${bytes[1].toString(36)}`
}
return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 10)}`
}
const url = new URL(window.location.href)
url.searchParams.set('v', makeVisitVersion())
const nextUrl = `${url.pathname}${url.search}${url.hash}`
const currentUrl = `${window.location.pathname}${window.location.search}${window.location.hash}`
if (nextUrl !== currentUrl) {
window.history.replaceState(null, '', nextUrl)
}
})()
</script> -->
</body>
</html>
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

-1
View File
@@ -1 +0,0 @@
[data-v-ec557cf6] .hourly-fee-name-cell.ag-cell-auto-height{align-items:center;display:flex}[data-v-ec557cf6] .hourly-fee-name-cell.ag-cell-auto-height .ag-cell-wrapper,[data-v-ec557cf6] .hourly-fee-name-cell.ag-cell-auto-height .ag-cell-value{white-space:normal;align-items:center;width:100%;display:flex}
-1
View File
@@ -1 +0,0 @@
.ht-contract-scroll-area[data-v-01c49185] [data-slot=scroll-area-viewport]{overscroll-behavior:contain;scroll-snap-type:y mandatory;padding-top:6px}.ht-contract-scroll-area.is-dragging[data-v-01c49185] [data-slot=scroll-area-viewport]{scroll-snap-type:none}.ht-contract-scroll-area[data-v-01c49185] .ht-sortable-ghost{opacity:.35}.ht-contract-scroll-area[data-v-01c49185] .ht-sortable-chosen,.ht-contract-scroll-area[data-v-01c49185] .ht-sortable-drag{will-change:transform, opacity;backface-visibility:hidden;transform:translateZ(0)}.ht-contract-card[data-v-01c49185]{will-change:transform, opacity;backface-visibility:hidden;isolation:isolate;z-index:0;box-shadow:0 1px 2px hsl(var(--foreground) / .04), 0 6px 16px hsl(var(--foreground) / .06);transition:transform .22s cubic-bezier(.22,.61,.36,1),box-shadow .22s cubic-bezier(.22,.61,.36,1),border-color .18s;overflow:visible;transform:translate(0,0)}.ht-contract-card[data-v-01c49185]:before{content:"";border-radius:inherit;pointer-events:none;background:linear-gradient(130deg, hsl(var(--primary) / .42) 0%, hsl(var(--primary) / .22) 36%, hsl(var(--foreground) / .09) 70%, transparent 100%);opacity:0;transition:opacity .22s cubic-bezier(.22,.61,.36,1);position:absolute;inset:-4px}.ht-contract-card[data-v-01c49185]:after{content:"";pointer-events:none;background:radial-gradient(ellipse at center, hsl(var(--primary) / .42) 0%, hsl(var(--primary) / .24) 34%, hsl(var(--foreground) / .2) 58%, transparent 86%);filter:blur(18px);opacity:0;border-radius:999px;height:52px;transition:opacity .22s cubic-bezier(.22,.61,.36,1),transform .22s cubic-bezier(.22,.61,.36,1);position:absolute;bottom:-30px;left:6px;right:6px;transform:translateY(4px)}.ht-contract-card[data-v-01c49185]:hover{z-index:14;box-shadow:0 0 0 1.5px hsl(var(--primary) / .62), 0 0 28px hsl(var(--primary) / .34), 0 0 56px hsl(var(--primary) / .22), 0 16px 34px hsl(var(--foreground) / .22), 0 32px 60px hsl(var(--foreground) / .18);border-color:hsl(var(--primary) / .72);transform:translateY(-5px)}.ht-contract-card[data-v-01c49185]:hover:before{opacity:1}.ht-contract-card[data-v-01c49185]:hover:after{opacity:.95;transform:translateY(0)}.ht-contract-card[data-v-01c49185]:active{box-shadow:0 5px 12px hsl(var(--foreground) / .1), 0 10px 20px hsl(var(--foreground) / .1);transform:translateY(-2px)}.ht-contract-card--ready[data-v-01c49185]{opacity:1;transform:translate(0,0)}.ht-contract-card--enter[data-v-01c49185]{animation:.56s cubic-bezier(.22,.61,.36,1) both ht-card-slide-in-01c49185;animation-delay:var(--ht-card-enter-delay,0s)}.ht-contract-card--selecting[data-v-01c49185]{transform-origin:50% 100%;animation:2.2s linear infinite both ht-card-select-wave-01c49185;animation-delay:var(--ht-card-select-delay,0s)}.ht-contract-card--selecting[data-v-01c49185]:hover{animation-play-state:paused}.ht-contract-card--selecting.ht-contract-card--selected[data-v-01c49185]{animation:none;transform:translate(0,0)rotate(0)}.ht-contract-card--selected[data-v-01c49185]{border-color:hsl(var(--primary));box-shadow:0 0 0 1px hsl(var(--primary) / .34), 0 12px 24px hsl(var(--primary) / .18), 0 22px 36px hsl(var(--foreground) / .1);transform:translateY(-4px)}.ht-contract-card--selected[data-v-01c49185]:before{opacity:1}.ht-contract-card--selected[data-v-01c49185]:after{opacity:1;transform:translateY(0)}@keyframes ht-card-slide-in-01c49185{0%{opacity:0;transform:translate(44px)}to{opacity:1;transform:translate(0,0)}}@keyframes ht-card-select-wave-01c49185{0%,to{transform:translate(0,0)rotate(0)}11%{transform:translate(-.4px)rotate(-.7deg)}22%{transform:translate(-.9px)rotate(-1.6deg)}34%{transform:translate(-1.2px)rotate(-2.3deg)}48%{transform:translate(-.2px)rotate(-.4deg)}62%{transform:translate(.8px)rotate(1.5deg)}76%{transform:translate(1.25px)rotate(2.35deg)}88%{transform:translate(.35px)rotate(.65deg)}}@media (prefers-reduced-motion:reduce){.ht-contract-card--enter[data-v-01c49185],.ht-contract-card--selecting[data-v-01c49185]{opacity:1;animation:none;transform:none}.ht-contract-card[data-v-01c49185],.ht-contract-card[data-v-01c49185]:hover,.ht-contract-card[data-v-01c49185]:active,.ht-contract-card--selected[data-v-01c49185]{transition:none;transform:none}.ht-contract-card[data-v-01c49185]:before,.ht-contract-card[data-v-01c49185]:after{transition:none}}
@@ -1 +0,0 @@
[data-v-174cd11a] .ag-layout-auto-height .ag-center-cols-viewport,[data-v-174cd11a] .ag-layout-auto-height .ag-center-cols-container{min-height:0!important}[data-v-174cd11a] .ht-summary-fee-row .ag-cell{background:color-mix(in oklab, var(--muted) 45%, transparent)}
@@ -1 +0,0 @@
[data-v-6c6d44a3] .rate-input{text-align:left!important}
-1
View File
@@ -1 +0,0 @@
[data-v-fbf19b52] .hourly-fee-name-cell.ag-cell-auto-height{align-items:center;display:flex}[data-v-fbf19b52] .hourly-fee-name-cell.ag-cell-auto-height .ag-cell-wrapper,[data-v-fbf19b52] .hourly-fee-name-cell.ag-cell-auto-height .ag-cell-value{white-space:normal;align-items:center;width:100%;display:flex}
@@ -1 +0,0 @@
.quick-calc-shell[data-v-3aadb39f]{--qc-surface:color-mix(in srgb, var(--card) 96%, var(--background));--qc-surface-muted:color-mix(in srgb, var(--muted) 82%, var(--card));--qc-surface-strong:color-mix(in srgb, var(--foreground) 8%, var(--card));--qc-border:color-mix(in srgb, var(--foreground) 14%, transparent);--qc-border-strong:color-mix(in srgb, var(--foreground) 28%, transparent);--qc-text:var(--foreground);--qc-muted:var(--muted-foreground);--qc-accent:hsl(var(--destructive));--qc-accent-soft:color-mix(in srgb, hsl(var(--destructive)) 10%, transparent);--qc-shadow:0 18px 40px color-mix(in srgb, var(--foreground) 8%, transparent);background:radial-gradient(circle at top left, color-mix(in srgb, hsl(var(--destructive)) 8%, transparent) 0%, transparent 34%), linear-gradient(180deg, color-mix(in srgb, var(--background) 96%, var(--muted)) 0%, var(--background) 100%);padding:8px}.quick-calc-layout[data-v-3aadb39f]{grid-template-columns:minmax(0,1.45fr) minmax(340px,.95fr);gap:10px;height:100%;min-height:0;display:grid}.quick-calc-panel[data-v-3aadb39f]{border:1px solid var(--qc-border);background:var(--qc-surface);min-height:0;box-shadow:var(--qc-shadow);border-radius:18px;flex-direction:column;display:flex;overflow:hidden}.quick-calc-panel__header[data-v-3aadb39f]{border-bottom:1px solid var(--qc-border);background:linear-gradient(90deg, color-mix(in srgb, hsl(var(--destructive)) 10%, transparent) 0%, transparent 24%), linear-gradient(180deg, #fff3 0%, transparent 100%);justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 12px 8px;display:flex}.quick-calc-toolbar[data-v-3aadb39f]{border-bottom:1px solid var(--qc-border);background:color-mix(in srgb, var(--qc-surface-muted) 72%, transparent);align-items:stretch;gap:12px;padding:12px;display:flex}.quick-calc-toolbar__section[data-v-3aadb39f]{flex:1;min-width:min(280px,100%)}.quick-calc-industry-grid[data-v-3aadb39f]{grid-template-columns:repeat(auto-fit,minmax(136px,1fr));gap:8px;display:grid}.quick-calc-industry-card[data-v-3aadb39f]{border:1px solid var(--qc-border);background:color-mix(in srgb, var(--background) 92%, var(--card));min-width:0;min-height:42px;color:var(--qc-text);cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:0 12px;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:flex;position:relative}.quick-calc-industry-card[data-v-3aadb39f]:hover{border-color:var(--qc-border-strong);transform:translateY(-1px)}.quick-calc-industry-card[data-v-3aadb39f]:focus-visible{border-color:color-mix(in srgb, hsl(var(--destructive)) 42%, var(--qc-border));box-shadow:0 0 0 3px color-mix(in srgb, hsl(var(--destructive)) 10%, transparent);outline:none}.quick-calc-industry-card.is-selected[data-v-3aadb39f]{border-color:color-mix(in srgb, hsl(var(--destructive)) 42%, var(--qc-border));background:color-mix(in srgb, hsl(var(--destructive)) 7%, white);box-shadow:0 0 0 3px color-mix(in srgb, hsl(var(--destructive)) 10%, transparent)}.quick-calc-industry-card__icon[data-v-3aadb39f]{width:14px;height:14px;color:color-mix(in srgb, var(--foreground) 44%, transparent);flex:0 0 14px;justify-content:center;align-items:center;transition:color .14s,transform .14s;display:inline-flex}.quick-calc-industry-card__icon.is-selected[data-v-3aadb39f]{color:hsl(var(--destructive));transform:scale(1.02)}.quick-calc-industry-card__text[data-v-3aadb39f]{min-width:0;font-size:14px;line-height:1.3}.quick-calc-toolbar__meta[data-v-3aadb39f]{color:var(--qc-muted);justify-content:flex-end}.quick-calc-empty-state[data-v-3aadb39f]{border:1px dashed var(--qc-border-strong);color:var(--qc-muted);background:color-mix(in srgb, var(--qc-surface-muted) 60%, transparent);border-radius:14px;margin:12px 12px 0;padding:14px 16px}.quick-calc-panel__title-wrap[data-v-3aadb39f]{gap:4px;display:grid}.quick-calc-panel__eyebrow[data-v-3aadb39f],.quick-calc-group__eyebrow[data-v-3aadb39f],.quick-calc-field__label[data-v-3aadb39f]{letter-spacing:.16em;text-transform:uppercase;font-size:10px;font-weight:700}.quick-calc-panel__eyebrow[data-v-3aadb39f],.quick-calc-group__eyebrow[data-v-3aadb39f]{color:var(--qc-accent)}.quick-calc-panel__title[data-v-3aadb39f],.quick-calc-group__title[data-v-3aadb39f]{color:var(--qc-text);margin:0;font-size:clamp(1.06rem,1.36vw,1.3rem);font-weight:700;line-height:1.08}.quick-calc-group__title--multiline[data-v-3aadb39f]{white-space:pre-line;line-height:1.2}.quick-calc-status[data-v-3aadb39f]{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.quick-calc-status--stack[data-v-3aadb39f]{max-width:180px}.quick-calc-status__item[data-v-3aadb39f]{background:var(--qc-surface-muted);min-height:24px;color:var(--qc-muted);white-space:nowrap;border-radius:999px;align-items:center;padding:0 8px;font-size:10px;display:inline-flex}.quick-calc-catalog[data-v-3aadb39f],.quick-calc-form[data-v-3aadb39f]{min-height:0;padding:10px;overflow:auto}.quick-calc-hint-banner[data-v-3aadb39f]{border:1px solid var(--qc-border);bLine truncated
-1
View File
@@ -1 +0,0 @@
[data-v-375aa45f] .xmMx .ag-header-cell-label{justify-content:center}[data-v-375aa45f] .xmMx .ag-header-cell-text{text-align:center}[data-v-375aa45f] .zxfw-process-header .ag-header-cell-label{justify-content:center}[data-v-375aa45f] .zxfw-process-header .ag-header-cell-text{text-align:center}[data-v-375aa45f] .ag-cell:not(.ag-cell-auto-height){align-items:center;display:flex}[data-v-375aa45f] .zxfw-number-cell{text-align:right;justify-content:flex-end}[data-v-375aa45f] .zxfw-name-cell.ag-cell-auto-height{align-items:center;display:flex}[data-v-375aa45f] .zxfw-name-cell.ag-cell-auto-height .ag-cell-wrapper,[data-v-375aa45f] .zxfw-name-cell.ag-cell-auto-height .ag-cell-value{white-space:normal;align-items:center;width:100%;display:flex}[data-v-375aa45f] .zxfw-name-wrap{white-space:normal;word-break:break-word;overflow-wrap:anywhere;align-items:center;width:100%;line-height:1.6;display:flex}[data-v-375aa45f] .zxfw-process-cell{justify-content:center;align-items:center;gap:12px;width:100%;font-size:12px;display:flex}[data-v-375aa45f] .zxfw-process-cell--en{flex-direction:column;align-items:flex-start;gap:4px;padding:2px 0}[data-v-375aa45f] .zxfw-process-option{cursor:pointer;white-space:nowrap;align-items:center;gap:6px;display:inline-flex}[data-v-375aa45f] .zxfw-process-option--en{width:100%}
@@ -1 +0,0 @@
[data-v-2dd31a50] .ag-cell{align-items:center;display:flex}[data-v-2dd31a50] .ag-cell .ag-cell-wrapper{width:100%}[data-v-2dd31a50] .ag-cell .ag-cell-value{align-items:center;width:100%;display:flex}[data-v-2dd31a50] .work-content-placeholder{color:var(--muted-foreground);flex:1;min-width:0;font-style:italic}[data-v-2dd31a50] .work-content-cell{align-items:center;gap:8px;width:100%;display:flex}[data-v-2dd31a50] .work-content-text{white-space:normal;word-break:break-word;flex:1;min-width:0;line-height:1.5}[data-v-2dd31a50] .work-content-check{cursor:pointer;width:14px;height:14px}[data-v-2dd31a50] .work-content-group-row{align-items:center;gap:8px;display:flex}[data-v-2dd31a50] .work-content-group-check{cursor:pointer;width:14px;height:14px}[data-v-2dd31a50] .work-content-group-check:disabled{cursor:not-allowed;opacity:.5}[data-v-2dd31a50] .work-content-group-label{word-break:break-word;min-width:0}[data-v-2dd31a50] .work-content-main-cell.ag-cell-auto-height,[data-v-2dd31a50] .remark-wrap-cell.ag-cell-auto-height{align-items:center;display:flex}[data-v-2dd31a50] .work-content-main-cell.ag-cell-auto-height .ag-cell-wrapper,[data-v-2dd31a50] .work-content-main-cell.ag-cell-auto-height .ag-cell-value,[data-v-2dd31a50] .remark-wrap-cell.ag-cell-auto-height .ag-cell-wrapper,[data-v-2dd31a50] .remark-wrap-cell.ag-cell-auto-height .ag-cell-value{align-items:center;width:100%;display:flex}
-1
View File
@@ -1 +0,0 @@
.home-hero[data-v-70c281cf]{animation:none}.home-card-base[data-v-70c281cf]{min-height:248px}.home-title[data-v-70c281cf]{background-image:radial-gradient(80% 60% at 50% -10%,#3b82f60f,#0000 70%);border:1px solid #94a3b842;border-radius:20px;max-width:760px;margin:0 auto;padding:18px 24px;animation:.45s cubic-bezier(.22,1,.36,1) .15s both fade-up-70c281cf;box-shadow:0 10px 30px #0f172a0d}.home-entry-item[data-v-70c281cf]{animation:.45s cubic-bezier(.22,1,.36,1) both fade-up-70c281cf}.home-entry-item--1[data-v-70c281cf]{animation-delay:.2s}.home-entry-item--2[data-v-70c281cf]{animation-delay:.3s}.home-entry-item--3[data-v-70c281cf]{animation-delay:.4s}.home-entry-item--4[data-v-70c281cf]{animation-delay:.5s}.home-entry-item--5[data-v-70c281cf]{animation-delay:.6s}@keyframes hero-in-70c281cf{0%{opacity:0;transform:translate(-20px)scale(.97)}to{opacity:1;transform:translate(0)scale(1)}}.home-hero-meteor[data-v-70c281cf]{pointer-events:none;opacity:0;filter:drop-shadow(0 0 6px #ffffff73);background:linear-gradient(90deg,#fff0,#ffffffa6,#fff0);width:120px;height:1px;animation:3.8s linear infinite hero-meteor-70c281cf;position:absolute;transform:rotate(-28deg)}.home-hero-meteor--1[data-v-70c281cf]{animation-delay:0s;top:16%;right:-30%}.home-hero-meteor--2[data-v-70c281cf]{animation-delay:1.2s;top:38%;right:-40%}.home-hero-meteor--3[data-v-70c281cf]{animation-delay:2.2s;top:62%;right:-35%}.home-hero-meteor--4[data-v-70c281cf]{animation-delay:.6s;top:24%;right:-45%}.home-hero-meteor--5[data-v-70c281cf]{animation-delay:1.7s;top:50%;right:-28%}.home-hero-meteor--6[data-v-70c281cf]{animation-delay:2.8s;top:74%;right:-42%}.home-hero-meteor--7[data-v-70c281cf]{animation-delay:.35s;top:10%;right:-48%}.home-hero-meteor--8[data-v-70c281cf]{animation-delay:1.05s;top:31%;right:-26%}.home-hero-meteor--9[data-v-70c281cf]{animation-delay:2.45s;top:56%;right:-50%}.home-hero-meteor--10[data-v-70c281cf]{animation-delay:3.15s;top:82%;right:-30%}@keyframes hero-meteor-70c281cf{0%{opacity:0;transform:translate(0,0)rotate(-28deg)}8%{opacity:.9}34%{opacity:.9}42%{opacity:0}to{opacity:0;transform:translate(-340px,220px)rotate(-28deg)}}@keyframes fade-up-70c281cf{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}[data-v-aa6f0e61] .scrollArea-full>*{height:100%}.tab-strip-sortable>.tab-item[data-v-48df5250]{transition:transform .26s cubic-bezier(.22,1,.36,1)}.tab-strip-sortable.is-dragging>.tab-item[data-v-48df5250]{will-change:transform}.tab-drag-ghost[data-v-48df5250]{opacity:.32}.tab-drag-chosen[data-v-48df5250]{transform:scale(1.015);box-shadow:0 10px 24px #0000002e}.tab-drag-active[data-v-48df5250]{cursor:grabbing}.tab-strip-scroll-area[data-v-48df5250] [data-slot=scroll-area-viewport]{scrollbar-width:none;overflow-y:hidden!important}.tab-strip-scroll-area[data-v-48df5250] [data-slot=scroll-area-viewport]::-webkit-scrollbar{display:none}.tab-strip-scroll-area[data-v-48df5250] [data-slot=scroll-area-scrollbar][data-orientation=vertical],.tab-strip-scroll-area[data-v-48df5250] [data-slot=scroll-area-corner]{display:none!important}.toolbar-dropdown-enter-active[data-v-48df5250],.toolbar-dropdown-leave-active[data-v-48df5250]{transform-origin:100% 0;transition:opacity .18s,transform .18s}.toolbar-dropdown-enter-from[data-v-48df5250],.toolbar-dropdown-leave-to[data-v-48df5250]{opacity:0;transform:translateY(-6px)scale(.98)}.slide-in-left-enter-active[data-v-48df5250],.slide-in-left-leave-active[data-v-48df5250]{transition:transform .3s cubic-bezier(.4,0,.2,1)}.slide-in-left-enter-from[data-v-48df5250],.slide-in-left-leave-to[data-v-48df5250]{transform:translate(100%)}.fade-enter-active[data-v-48df5250],.fade-leave-active[data-v-48df5250]{transition:opacity .3s}.fade-enter-from[data-v-48df5250],.fade-leave-to[data-v-48df5250]{opacity:0}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fffLine truncated
-1
View File
@@ -1 +0,0 @@
[data-v-9beb2dbb] .rightMain>div>div{box-sizing:border-box;height:100%;min-height:0}.title-ellipsis-2[data-v-9beb2dbb]{-webkit-line-clamp:2;word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.hide[data-v-9beb2dbb]{height:300px;overflow:hidden auto}
-1
View File
@@ -1 +0,0 @@
.hide{height:150px;overflow:hidden auto}[data-v-fc012628] .xmMx .ag-header-cell-label{justify-content:center}[data-v-fc012628] .xmMx .ag-header-cell-text{text-align:center}[data-v-fc012628] .zxfw-process-header .ag-header-cell-label{justify-content:center}[data-v-fc012628] .zxfw-process-header .ag-header-cell-text{text-align:center}[data-v-fc012628] .ag-cell:not(.ag-cell-auto-height){align-items:center;display:flex}[data-v-fc012628] .zxfw-number-cell{text-align:right;justify-content:flex-end}[data-v-fc012628] .zxfw-name-cell.ag-cell-auto-height{align-items:center;display:flex}[data-v-fc012628] .zxfw-name-cell.ag-cell-auto-height .ag-cell-wrapper,[data-v-fc012628] .zxfw-name-cell.ag-cell-auto-height .ag-cell-value{white-space:normal;align-items:center;width:100%;display:flex}[data-v-fc012628] .zxfw-name-wrap{white-space:normal;word-break:break-word;overflow-wrap:anywhere;align-items:center;width:100%;line-height:1.6;display:flex}[data-v-fc012628] .zxfw-process-cell{justify-content:center;align-items:center;gap:12px;width:100%;font-size:12px;display:flex}[data-v-fc012628] .zxfw-process-cell--en{flex-direction:column;align-items:flex-start;gap:4px;padding:2px 0}[data-v-fc012628] .zxfw-process-option{cursor:pointer;white-space:nowrap;align-items:center;gap:6px;display:inline-flex}[data-v-fc012628] .zxfw-process-option--en{width:100%}
-1
View File
@@ -1 +0,0 @@
import{$ as e,At as t,Bt as n,Cr as r,Dt as i,Er as a,H as o,K as s,Mt as c,Ot as l,Pt as u,U as d,Wn as f,er as p,mn as m,tt as h,xr as ee}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as te}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import{D as g}from"./workspace-DxKKyh8w.js";import{a as _,i as v,o as y,s as b}from"./decimal-D3bp1pbs.js";import{r as x}from"./numberFormat-jhZZmX17.js";import{n as S}from"./sql-C69Jo4HU.js";import{t as C}from"./_plugin-vue_export-helper-DUFB50Ey.js";import{C as ne,n as w}from"./index-CAPJG_im.js";import{t as re}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as ie,i as ae,o as T,r as E,t as D}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";var O={class:`h-full min-h-0 flex flex-col`},k={class:`rounded-lg border bg-card xmMx flex min-h-0 flex-1 flex-col`},oe={class:`flex items-center justify-between border-b px-4 py-3`},se={class:`text-sm font-semibold text-foreground`},A=C(h({__name:`HourlyFeeGrid`,props:{storageKey:{},title:{default:void 0},contractId:{},serviceId:{},enableZxFwSync:{type:Boolean,default:!1},syncField:{default:`hourly`},htMainStorageKey:{},htRowId:{},htMethodType:{}},setup(h){let C=h;ne();let{t:A,locale:j}=g(),M=f([]),N=f(null),ce=o(()=>C.syncField===`investScale`?`investScale`:C.syncField===`landScale`?`landScale`:C.syncField===`workload`?`workload`:C.syncField===`hourly`?`hourly`:null);o(()=>!!(C.enableZxFwSync&&C.contractId&&C.serviceId!=null&&ce.value)),o(()=>!!(C.htMainStorageKey&&C.htRowId&&C.htMethodType));let P=o({get:()=>M.value,set:e=>{M.value=e}}),F=e=>e?String(j.value).toLowerCase().startsWith(`en`)&&e.nameEn||e.name:``;Object.entries(S).sort((e,t)=>Number(e[0])-Number(t[0])).filter(e=>{let t=e[1];return!!(t?.code&&t?.name)});let I=(e,t)=>{let n=typeof e==`number`&&Number.isFinite(e),r=typeof t==`number`&&Number.isFinite(t);return n&&r?`${e}-${t}`:n?String(e):r?String(t):``},L=e=>typeof e.manageCoe!=`number`||!Number.isFinite(e.manageCoe)?``:I(typeof e.minPrice==`number`&&Number.isFinite(e.minPrice)?v(b(e.minPrice).mul(e.manageCoe),2):null,typeof e.maxPrice==`number`&&Number.isFinite(e.maxPrice)?v(b(e.maxPrice).mul(e.manageCoe),2):null),R=e=>typeof e.defPrice!=`number`||!Number.isFinite(e.defPrice)||typeof e.manageCoe!=`number`||!Number.isFinite(e.manageCoe)?null:v(b(e.defPrice).mul(e.manageCoe),2),z=async()=>{let e=[],t=await w().query([{field:`type`,value:`${C.contractId}-zxFw`,operator:`eq`}]);for(let n of t){if(n.typel.workDay==0)continue;let t=n.id||n._id,r=`${C.contractId}-hourly-${t}`;e.push({id:r,type:`${C.contractId}-hourly`,expertCode:n.code,expertName:F(n),laborBudgetUnitPrice:I(n.minPrice,n.maxPrice),compositeBudgetUnitPrice:L(n),adoptedBudgetUnitPrice:R(n),personnelCount:null,workdayCount:null,serviceBudget:null,unitPrice2:1600,unitPrice3:2400,unitPrice4:3200,unitPrice5:4e3,workdayCount2:1,workdayCount3:1,workdayCount4:1,workdayCount5:1,feeSubtotal2:1600,feeSubtotal3:2400,feeSubtotal4:3200,feeSubtotal5:4e3,remark:``,path:[r]})}return e},B=e=>{if(e===``||e==null)return null;let t=x(e,{sanitize:!0,precision:0});return t==null||!Number.isSafeInteger(t)||t<0?null:t},V=e=>{let t=e?.adoptedBudgetUnitPrice,n=e?.personnelCount,r=e?.workdayCount;return typeof t!=`number`||!Number.isFinite(t)||typeof n!=`number`||!Number.isFinite(n)||typeof r!=`number`||!Number.isFinite(r)?null:v(b(t).mul(n).mul(r),2)},H=()=>{for(let e of P.value){let t=Number(e.workdayCount2)||0,n=Number(e.workdayCount3)||0,r=Number(e.workdayCount4)||0,i=Number(e.workdayCount5)||0,a=Number(e.unitPrice2)||0,o=Number(e.unitPrice3)||0,s=Number(e.unitPrice4)||0,c=Number(e.unitPrice5)||0;e.feeSubtotal2=Math.round(a*t),e.feeSubtotal3=Math.round(o*n),e.feeSubtotal4=Math.round(s*r),e.feeSubtotal5=Math.round(c*i),e.workdayCount6=t+n+r+i,e.feeSubtotal6=Math.round(a*t+o*n+s*r+c*i);let l=e.workdayCount6;e.avgUnitPrice=l>0?Math.round(e.feeSubtotal6/l):0}};function U(e,t,n={}){let{decimals:r=0,aggFunc:i=`sum`}=n;return{width:100,field:e,headerName:t,editable:!0,cellDataType:`number`,valueFormatter:e=>{if(e.node?.rowPinned===`bottom`)return`/`;let t=e.value;return t==null?`0.00`:Number(t).toFixed(2)},aggFunc:i}}function W(e,t,n={}){let{decimals:r=0,aggFunc:i=`sum`}=n;return{width:100,field:e,headerName:t,editable:!0,cellDataType:`number`,valueParser:e=>{let t=e.newValue?.trim();if(!t)return null;let n=parseFloat(t);return isNaN(n)||n<0?null:n},valueFormatter:e=>{let t=e.value;return t==null?0:r===0?Math.round(t).toString():t},aggFunc:i}}function G(e,t,n=`unitPrice`,r=`workdayCount`){return{width:100,field:e,headerName:t,editable:!1,cellDataType:`number`,valueGetter:e=>{let t=(e.data?.[n]??0)*(e.data?.[r]??0);if(e.node?.rowPinned===`bottom`){let e=M.value.reduce((e,t)=>e+(t[n]||0)*(t[r]||0),0);return Math.round(e)}return Math.round(t)},valueFormatter:e=>Line truncated
@@ -1 +0,0 @@
import{Bt as e,H as t,W as n,er as r,tt as i}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as a}from"./workspace-DxKKyh8w.js";import"./decimal-D3bp1pbs.js";import"./numberFormat-jhZZmX17.js";import"./sql-C69Jo4HU.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingPersistControl-DVG_7RF1.js";import{t as o}from"./HourlyFeeGrid-DixkKG6W.js";var s=i({__name:`HourlyPricingPane`,props:{contractId:{},serviceId:{}},setup(i){let s=i,c=t(()=>`hourlyPricing-${s.contractId}-${s.serviceId}`),{t:l}=a();return(t,i)=>(e(),n(o,{title:r(l)(`hourlyFeeGrid.title`),"storage-key":c.value,"contract-id":s.contractId,"service-id":s.serviceId,"enable-zx-fw-sync":!0,"sync-field":`hourly`},null,8,[`title`,`storage-key`,`contract-id`,`service-id`]))}});export{s as default};
-1
View File
@@ -1 +0,0 @@
import{o as e}from"./rolldown-runtime-fVNAxIxX.js";import{$ as t,At as n,Bt as r,C as i,Cr as a,Dt as o,E as s,Er as c,G as l,H as u,K as d,Kt as ee,M as f,Ot as te,Pt as ne,Q as p,T as re,U as m,W as ie,Wn as h,er as g,mn as ae,qt as _,tt as v,xn as oe,xr as y,yn as b}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as se}from"./workspace-DxKKyh8w.js";import{c as x,d as ce,i as S,o as le}from"./decimal-D3bp1pbs.js";import{n as C}from"./utils-DFe0HVk9.js";import{A as ue,D as de,M as fe,O as pe,T as me,b as he,dt as ge,f as _e,ft as ve,gt as ye,ht as be,i as xe,j as Se,k as Ce,lt as we,mt as Te,n as Ee,o as De,pt as Oe,t as ke,u as Ae,ut as je,w,x as T}from"./vendor-ui-B4V4Cf1T.js";import{t as Me}from"./numberFormat-jhZZmX17.js";import{_ as Ne,a as Pe}from"./sql-C69Jo4HU.js";import{t as Fe}from"./_plugin-vue_export-helper-DUFB50Ey.js";import{A as Ie,C as Le,D as Re,E,S as ze,T as Be,_ as Ve,a as He,b as Ue,c as We,d as Ge,f as Ke,g as D,h as qe,k as O,l as Je,m as Ye,o as Xe,p as Ze,s as Qe,u as k,v as $e,w as et,x as A,y as tt}from"./index-CAPJG_im.js";var nt=e(E(),1),rt=v({__name:`Card`,props:{class:{}},setup(e){let t=e;return(e,n)=>(r(),d(`div`,{"data-slot":`card`,class:y(g(C)(`bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm`,t.class))},[_(e.$slots,`default`)],2))}}),it=v({__name:`CardHeader`,props:{class:{}},setup(e){let t=e;return(e,n)=>(r(),d(`div`,{"data-slot":`card-header`,class:y(g(C)(`@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6`,t.class))},[_(e.$slots,`default`)],2))}}),at=v({__name:`CardTitle`,props:{class:{}},setup(e){let t=e;return(e,n)=>(r(),d(`h3`,{"data-slot":`card-title`,class:y(g(C)(`leading-none font-semibold`,t.class))},[_(e.$slots,`default`)],2))}});const ot=e=>e.map((e,t)=>({...e,order:t,createdAt:e.createdAt||new Date().toISOString()})),st=e=>{if(!e)return`-`;let t=new Date(e);if(Number.isNaN(t.getTime()))return`-`;let n=e=>String(e).padStart(2,`0`);return`${t.getFullYear()}-${n(t.getMonth()+1)}-${n(t.getDate())} ${n(t.getHours())}:${n(t.getMinutes())}`},ct=e=>Array.isArray(e)?e.filter(e=>e&&typeof e==`object`).map((e,t)=>{let n=e,r=typeof n.name==`string`?n.name.trim():``,i=typeof n.createdAt==`string`?n.createdAt:new Date().toISOString();return{id:typeof n.id==`string`?n.id:`import-contract-${t}`,name:r||`导入合同段-${t+1}`,order:t,createdAt:i}}):[],lt=(e,t,n)=>{for(let r of t)if(n(e,r))return!0;return!1},ut=async(e,t)=>{let n=new Set(t.map(e=>String(e||``).trim()).filter(Boolean)),r={contracts:{},servicePricingStates:{},htFeeMainStates:{},htFeeMethodStates:{}};if(n.size===0)return r;await Promise.all(Array.from(n).map(t=>e.loadContract(t)));for(let t of n){let n=e.getContractState(t);n&&(r.contracts[t]=k(n));let i=e.servicePricingStates[t];D(i)&&(r.servicePricingStates[t]=k(i));let a=`htExtraFee-${t}-`;for(let[t,n]of Object.entries(e.htFeeMainStates))t.startsWith(a)&&(r.htFeeMainStates[t]=k(n));for(let[t,n]of Object.entries(e.htFeeMethodStates))t.startsWith(a)&&(r.htFeeMethodStates[t]=k(n))}return r},dt=async(e,t,n)=>{if(!D(t))return;let r=D(t.zxFwPricing)?t.zxFwPricing:null;if(!r)return;let i=D(r.contracts)?r.contracts:{},a=D(r.servicePricingStates)?r.servicePricingStates:{},o=D(r.htFeeMainStates)?r.htFeeMainStates:{},s=D(r.htFeeMethodStates)?r.htFeeMethodStates:{};for(let[t,r]of n.entries()){let n=i[t];D(n)&&Array.isArray(n.detailRows)&&await e.setContractState(r,n);let c=a[t];if(D(c)){for(let[t,n]of Object.entries(c))if(D(n))for(let i of Je){let a=n[i];!D(a)||!Array.isArray(a.detailRows)||e.setServicePricingMethodState(r,t,i,a,{force:!0})}}let l=`htExtraFee-${t}-`,u=`htExtraFee-${r}-`;for(let[t,n]of Object.entries(o)){if(!t.startsWith(l)||!D(n)||!Array.isArray(n.detailRows))continue;let r=t.replace(l,u);e.setHtFeeMainState(r,n,{force:!0})}for(let[t,n]of Object.entries(s)){if(!t.startsWith(l)||!D(n))continue;let r=t.replace(l,u);for(let[t,i]of Object.entries(n)){if(!D(i))continue;let n=i[`rate-fee`],a=i[`hourly-fee`],o=i[`quantity-unit-price-fee`];n!=null&&e.setHtFeeMethodState(r,t,`rate-fee`,k(n),{force:!0}),a!=null&&e.setHtFeeMethodState(r,t,`hourly-fee`,k(a),{force:!0}),o!=null&&e.setHtFeeMethodState(r,t,`quantity-unit-price-fee`,k(o),{force:!0})}}}},ft=async(e,t)=>{let n=await e.keys(),r=new Set(t),i=n.filter(e=>{for(let t of r)if(Ze(e,t))return!0;return!1});return Promise.all(i.map(async t=>({key:t,value:await e.getItem(t)})))},pt=(e,t)=>{let n=new Set(t.map(e=>String(e||``).trim()).filter(Boolean));return Object.entries(e.keyedStates).filter(([e])=>{for(let t of n)if(Ye(e,t))return!0;return!1}).map(([e,t])=>({key:e,value:k(t)}))};var mt={class:`flex h-full min-h-0 flex-col overflow-hidden`},ht=Line truncated
@@ -1 +0,0 @@
import{Bt as e,H as t,W as n,er as r,tt as i}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as a}from"./workspace-DxKKyh8w.js";import"./decimal-D3bp1pbs.js";import"./vendor-ui-B4V4Cf1T.js";import"./numberFormat-jhZZmX17.js";import{r as o}from"./sql-C69Jo4HU.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import{t as s}from"./HtFeeMethodGrid-BpYIiL-T.js";var c=i({__name:`HtAdditionalWorkFee`,props:{contractId:{},contractName:{}},setup(i){let c=i,{t:l,locale:u}=a(),d=t(()=>`htExtraFee-${c.contractId}-additional-work`),f=t(()=>o(u.value).map(e=>({id:e?.id,name:e?.name})));return(t,i)=>(e(),n(s,{title:r(l)(`htFee.additionalTitle`),storageKey:d.value,"contract-id":c.contractId,"contract-name":c.contractName,"fixed-names":f.value},null,8,[`title`,`storageKey`,`contract-id`,`contract-name`,`fixed-names`]))}});export{c as default};
-1
View File
@@ -1 +0,0 @@
import{At as e,Bt as t,C as n,Er as r,K as i,Pt as a,U as o,Wn as s,er as c,mn as l,tt as u,xn as d}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as f}from"./workspace-DxKKyh8w.js";import"./decimal-D3bp1pbs.js";import{C as p,n as m}from"./index-CAPJG_im.js";var h={class:`h-full min-h-0 flex flex-col`},g={class:`rounded-lg border bg-card p-5`},_={class:`mb-4 border-b pb-3`},v={class:`text-sm font-semibold text-foreground`},y={class:`grid grid-cols-1 gap-5`},b={class:`space-y-1.5`},x={class:`text-xs font-medium text-muted-foreground`},S=[`placeholder`],C={class:`space-y-1.5`},w={class:`text-xs font-medium text-muted-foreground`},T=[`placeholder`],E=``,D=u({__name:`HtBaseInfo`,props:{contractId:{}},setup(u){let{t:D}=f(),O=D(`htBaseInfo.defaultQuality`),k=u,A=p(),j=()=>`ht-base-info-${k.contractId}`,M=s(O),N=s(``),P=s(``),F=async(e=!1)=>{let t={quality:M.value,duration:N.value},n=JSON.stringify(t);if(!e&&n===P.value)return;A.setKeyState(j(),t);let r=[];t.id=k.contractId,r.push(t);let i=r.map(e=>({...e,type:`${k.contractId}-Htbaseinfo`}));await m().upsertBatch(i),P.value=n},I=async()=>{let e=await A.loadKeyState(j()),t=!!(e&&(Object.prototype.hasOwnProperty.call(e,`quality`)||Object.prototype.hasOwnProperty.call(e,`duration`)));M.value=typeof e?.quality==`string`&&e.quality?e.quality:O,N.value=typeof e?.duration==`string`?e.duration:t?``:E,P.value=JSON.stringify({quality:M.value,duration:N.value}),t||F(!0)};return l([M,N],()=>{F()}),a(()=>{I()}),e(()=>{F(!0)}),(e,a)=>(t(),i(`div`,h,[o(`div`,g,[o(`div`,_,[o(`h3`,v,r(c(D)(`htBaseInfo.title`)),1)]),o(`div`,y,[o(`label`,b,[o(`div`,x,r(c(D)(`htBaseInfo.qualityLabel`)),1),d(o(`textarea`,{"onUpdate:modelValue":a[0]||=e=>M.value=e,rows:`5`,placeholder:c(D)(`htBaseInfo.qualityPlaceholder`),class:`w-full rounded-md border bg-background px-3 py-2 text-sm text-foreground outline-none focus:ring-2 focus:ring-primary/30 resize-none`},null,8,S),[[n,M.value]])]),o(`label`,C,[o(`div`,w,r(c(D)(`htBaseInfo.durationLabel`)),1),d(o(`textarea`,{"onUpdate:modelValue":a[1]||=e=>N.value=e,rows:`5`,placeholder:c(D)(`htBaseInfo.durationPlaceholder`),class:`w-full rounded-md border bg-background px-3 py-2 text-sm text-foreground outline-none focus:ring-2 focus:ring-primary/30 resize-none`},null,8,T),[[n,N.value]])])])])]))}});export{D as default};
@@ -1 +0,0 @@
import{Bt as e,H as t,Ot as n,Pt as r,W as i,Wn as a,er as o,tt as s}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as c}from"./workspace-DxKKyh8w.js";import{d as l}from"./decimal-D3bp1pbs.js";import"./numberFormat-jhZZmX17.js";import{m as u,o as d,v as f}from"./sql-C69Jo4HU.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingScaleDetail-CuzzWQVd.js";import"./pricingMethodTotals-DHJf6v89.js";import"./pricingScaleLink-BNsm4Fxd.js";import"./xmFactorDefaults-yPGPQ25R.js";import"./zxFwPricingSync-PWsfNukj.js";import{t as p}from"./XmFactorGrid-DLfcqkt0.js";var m=s({__name:`HtConsultCategoryFactor`,props:{contractId:{},projectInfoKey:{},parentStorageKey:{}},setup(s){let m=s,h=t(()=>m.projectInfoKey||`xm-base-info-v1`),g=a(``),_=l(),{t:v}=c(),y=async()=>{try{let e=await _.getItem(h.value);g.value=typeof e?.projectIndustry==`string`?e.projectIndustry.trim():``}catch(e){console.error(`loadProjectIndustry failed:`,e),g.value=``}},b=t(()=>{let e=g.value;if(!e)return{};let t=u().filter(({item:t})=>f(t,d(e))).map(({id:e,item:t})=>[e,t]);return Object.fromEntries(t)});return r(()=>{y()}),n(()=>{y()}),(t,n)=>(e(),i(p,{title:o(v)(`htFactors.consultCategoryTitle`),"storage-key":`ht-consult-category-factor-v1-${m.contractId}`,"parent-storage-key":m.parentStorageKey||`xm-consult-category-factor-v1`,dict:b.value,"disable-budget-edit-when-standard-null":!0,"exclude-notshow-by-zxflxs":!0,"init-budget-value-from-standard":!0},null,8,[`title`,`storage-key`,`parent-storage-key`,`dict`]))}});export{m as default};
@@ -1,2 +0,0 @@
import{$ as e,At as t,Bt as n,Dt as r,Er as i,H as a,K as o,Ot as s,Pt as c,U as l,Wn as u,er as d,ft as f,mn as p,qn as m,tt as h}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as g}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as _}from"./workspace-DxKKyh8w.js";import{i as v,l as y}from"./decimal-D3bp1pbs.js";import{n as b,t as x}from"./numberFormat-jhZZmX17.js";import{t as S,x as C}from"./sql-C69Jo4HU.js";import{t as w}from"./_plugin-vue_export-helper-DUFB50Ey.js";import{C as T}from"./index-CAPJG_im.js";import{t as E}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as D,o as O,t as k}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";var ee={class:`flex flex-col gap-3`},te={class:`rounded-lg border bg-card xmMx flex flex-col overflow-hidden`},ne={class:`flex items-center justify-between border-b px-3 py-2`},A={class:`text-xs font-semibold text-foreground leading-none`},j={class:`ag-theme-quartz w-full`},M={class:`rounded-lg border bg-card p-3 space-y-2`},N={class:`text-xs font-semibold text-foreground`},P=[`value`,`placeholder`],F=w(h({__name:`HtContractSummary`,props:{contractId:{}},setup(w){let F=w,{t:I}=_(),L=T(),R=m(null),z=u([]),B=u(``),V=null,H=e=>{let t=e.filter(e=>y(e)!=null);return t.length===0?null:v(t.reduce((e,t)=>e+t,0),3)},U=e=>{let t=Array.isArray(e?.detailRows)?e.detailRows:[];if(t.length===0)return null;let n=0,r=!1;for(let e of t){let t=y(e?.serviceBudget);if(t!=null){n+=t,r=!0;continue}let i=y(e?.adoptedBudgetUnitPrice),a=y(e?.personnelCount),o=y(e?.workdayCount);i==null||a==null||o==null||(n+=i*a*o,r=!0)}return r?v(n,3):null},W=e=>{let t=Array.isArray(e?.detailRows)?e.detailRows:[];if(t.length===0)return null;let n=0,r=!1;for(let e of t){if(String(e?.id||``)===`fee-subtotal-fixed`)continue;let t=y(e?.budgetFee);if(t!=null){n+=t,r=!0;continue}let i=y(e?.quantity),a=y(e?.unitPrice);i==null||a==null||(n+=i*a,r=!0)}return r?v(n,3):null},G=async(e,t)=>{let[n,r,i]=await Promise.all([L.loadHtFeeMethodState(e,t,`rate-fee`),L.loadHtFeeMethodState(e,t,`hourly-fee`),L.loadHtFeeMethodState(e,t,`quantity-unit-price-fee`)]),a=y(n?.budgetFee),o=y(n?.rate),s=U(r),c=W(i);return{subtotal:H([a,s,c]),m0:a==null?null:{coe:o==null?`--`:String(o),fee:v(a,2)},m4:s==null?null:{fee:v(s,2)},m5:c==null?null:{fee:v(c,2)}}},K=async(e,t)=>{let n=`htExtraFee-${F.contractId}-${e===`additional`?`additional-work`:`reserve`}`;await L.loadHtFeeMainState(n);let r=await Promise.all(t.map(async t=>{let r=await G(n,String(t.id)),i=[];r.m0&&i.push(I(`htSummary.explainByRate`,{rate:r.m0.coe,fee:r.m0.fee})),r.m4&&i.push(I(`htSummary.explainByHourly`,{fee:r.m4.fee})),r.m5&&i.push(I(`htSummary.explainByQuantity`,{fee:r.m5.fee}));let a=I(e===`additional`?`htSummary.additionalPrefix`:`htSummary.reservePrefix`),o=i.length>0?`${a}-${t.name}:${i.join(`;`)}`:``;return{row:{id:`${e}-${t.id}`,rowType:e,code:t.code,name:t.name,investScale:null,landScale:null,workload:null,hourly:null,subtotal:r.subtotal,finalFee:r.subtotal},explainLine:o}}));return{rows:r.map(e=>e.row).filter(e=>e.subtotal!=null),explainLines:r.filter(e=>e.row.subtotal!=null&&e.explainLine).map(e=>e.explainLine)}},q=()=>{let e=L.getContractState(F.contractId),t=new Set((e?.selectedIds||[]).map(e=>String(e)));return(Array.isArray(e?.detailRows)?e.detailRows:[]).filter(e=>String(e.id)!==`fixed-budget-c`&&t.has(String(e.id))).map(e=>({id:`service-${e.id}`,rowType:`service`,code:e.code||``,name:e.name||``,investScale:y(e.investScale),landScale:y(e.landScale),workload:y(e.workload),hourly:y(e.hourly),subtotal:y(e.subtotal),finalFee:y(e.finalFee)??y(e.subtotal)}))},J=async()=>{await L.loadContract(F.contractId);let[e,t]=await Promise.all([K(`additional`,S.map(e=>({id:e.id,name:e.name,code:e.code}))),K(`reserve`,C.map(e=>({id:e.id,name:e.name,code:e.code})))]);z.value=[...q(),...e.rows,...t.rows],B.value=[...e.explainLines,...t.explainLines].join(`
`)},Y=()=>{V&&clearTimeout(V),V=setTimeout(()=>{J()},80)},X=a(()=>{let e=`htExtraFee-${F.contractId}-additional-work`,t=`htExtraFee-${F.contractId}-reserve`;return JSON.stringify({contract:L.contracts[F.contractId]||null,addMain:L.htFeeMainStates[e]||null,reserveMain:L.htFeeMainStates[t]||null,addMethods:L.htFeeMethodStates[e]||null,reserveMethods:L.htFeeMethodStates[t]||null})}),re=a(()=>{let e=e=>H(z.value.map(e));return{id:`summary-total-row`,rowType:`total`,code:``,name:I(`htSummary.total`),investScale:e(e=>e.investScale),landScale:e(e=>e.landScale),workload:e(e=>e.workload),hourly:e(e=>e.hourly),subtotal:null,finalFee:e(e=>e.finalFee)}}),ie=h({name:`RichCodeRenderer`,props:{params:{type:Object,required:!0}},setup(e){return()=>{if(e.params.data?.rowType===`total`)return f(`span`,e.params.data.name||I(`htSummary.total`));let t=e.params.value;return!t||typeof t==`string`?f(`span`,t||``):f(`span`,{class:`inline-flex items-baseline gap-[1px]`},(Array.isArray(t.richText)?t.richText:[]).map((e,t)=>f(`span`,{key:`${t}-${e.text||``}`,style:{fontStyle:e?.font?.italic?`italic`:`normal`,verticalAlign:e?.font?.vertAlign===`subscript`?`sub`:e?.font?.vertAlign===`superscript`?`super`:`baseline`,fontSize:e?.font?.vertAlign?`0.85em`:`1em`}},e?.text||``)))}}}),ae=[{headerName:I(`htSummary.columns.code`),field:`code`,minWidth:90,maxWidth:140,colSpan:e=>e.data?.rowType===`total`?2:1,valueFormatter:e=>e.data?.rowType===`total`?e.data.name||I(`htSummary.total`):typeof e.value==`string`?e.value:``,cellRenderer:ie},{headerName:I(`htSummary.columns.name`),field:`name`,minWidth:220,flex:2,wrapText:!0,autoHeight:!0,cellStyle:{"line-height":1.6}},{headerName:I(`htSummary.columns.investScale`),field:`investScale`,minWidth:120,flex:1.2,headerClass:`ag-right-aligned-header`,cellClassRules:{"ag-right-aligned-cell":()=>!0},colSpan:e=>e.data&&(e.data.rowType===`total`||e.data.rowType===`additional`||e.data.rowType===`reserve`)?5:1,valueFormatter:e=>e.data?.rowType===`total`||e.value==null?``:b(e.value,3)},{headerName:I(`htSummary.columns.landScale`),field:`landScale`,minWidth:120,flex:1.2,headerClass:`ag-right-aligned-header`,cellClassRules:{"ag-right-aligned-cell":()=>!0},valueFormatter:e=>e.data?.rowType===`total`||e.value==null?``:b(e.value,3)},{headerName:I(`htSummary.columns.workload`),field:`workload`,minWidth:110,flex:1.2,headerClass:`ag-right-aligned-header`,cellClassRules:{"ag-right-aligned-cell":()=>!0},valueFormatter:e=>e.data?.rowType===`total`||e.value==null?``:b(e.value,3)},{headerName:I(`htSummary.columns.hourly`),field:`hourly`,minWidth:110,flex:1.2,headerClass:`ag-right-aligned-header`,cellClassRules:{"ag-right-aligned-cell":()=>!0},valueFormatter:e=>e.data?.rowType===`total`||e.value==null?``:b(e.value,3)},{headerName:I(`htSummary.columns.subtotal`),field:`subtotal`,minWidth:120,flex:1.2,headerClass:`ag-right-aligned-header`,cellClassRules:{"ag-right-aligned-cell":()=>!0},valueFormatter:e=>e.value==null?``:x(e.value,2)},{headerName:I(`htSummary.columns.finalFee`),field:`finalFee`,minWidth:120,flex:1.2,headerClass:`ag-right-aligned-header`,cellClassRules:{"ag-right-aligned-cell":()=>!0},valueFormatter:e=>e.value==null?``:x(e.value,2)}],oe=a(()=>k(ae)),se={...D,treeData:!1,getDataPath:void 0,domLayout:`autoHeight`,suppressNoRowsOverlay:!0,rowSelection:{mode:`singleRow`,checkboxes:!1,enableClickSelection:!1},getRowId:e=>e.data.id,getRowClass:e=>e.data?.rowType===`additional`||e.data?.rowType===`reserve`?`ht-summary-fee-row`:``},ce=e=>{R.value=e.api,Q()},Z=e=>!!(e&&!e.isDestroyed?.()),Q=async()=>{await r();let e=R.value;Z(e)&&(e.onRowHeightChanged(),e.refreshCells({force:!0}))},le=e=>{Q()},$=e=>{Q()};return p(X,(e,t)=>{e!==t&&Y()}),p(()=>z.value.length,()=>{Q()}),c(()=>{J()}),s(()=>{J()}),t(()=>{Z(R.value)&&R.value.stopEditing(),R.value=null}),(t,r)=>(n(),o(`div`,ee,[l(`div`,te,[l(`div`,ne,[l(`h3`,A,i(d(I)(`htSummary.title`)),1)]),l(`div`,j,[e(d(g),{style:{width:`100%`},rowData:z.value,pinnedBottomRowData:[re.value],columnDefs:oe.value,gridOptions:se,theme:d(O),animateRows:!0,localeText:d(E),onGridReady:ce,onFirstDataRendered:le,onRowDataUpdated:$},null,8,[`rowData`,`pinnedBottomRowData`,`columnDefs`,`theme`,`localeText`])])]),l(`form`,M,[l(`div`,N,i(d(I)(`htSummary.remark`)),1),l(`textarea`,{value:B.value,rows:`3`,placeholder:d(I)(`htSummary.placeholder`),readonly:``,class:`w-full rounded-md border bg-muted/40 px-3 py-2 text-sm text-foreground outline-none`},null,8,P)])]))}}),[[`__scopeId`,`data-v-174cd11a`]]);export{F as default};
-1
View File
@@ -1 +0,0 @@
import{$ as e,At as t,Bt as n,Cr as r,Dt as i,Er as a,G as o,H as s,K as c,M as l,Ot as ee,Pt as te,Q as u,U as d,W as ne,Wn as f,er as p,ft as m,mn as h,tt as g,xr as re,yn as _}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as ie}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import{D as ae}from"./workspace-DxKKyh8w.js";import{c as v,i as y,o as b,u as oe}from"./decimal-D3bp1pbs.js";import{a as se,d as ce,dt as le,ft as ue,gt as de,ht as fe,lt as pe,mt as me,pt as he,ut as ge}from"./vendor-ui-B4V4Cf1T.js";import{n as _e,r as ve}from"./numberFormat-jhZZmX17.js";import{A as ye,C as be,k as x}from"./index-CAPJG_im.js";import{t as xe}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as Se,i as Ce,o as we,r as Te,t as Ee}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";var De={class:`h-full min-h-0 flex flex-col`},Oe={class:`rounded-lg border bg-card xmMx flex min-h-0 flex-1 flex-col`},ke={class:`flex items-center justify-between border-b px-4 py-3`},Ae={class:`text-sm font-semibold text-foreground`},je={class:`mt-4 flex items-center justify-end gap-2`},S=`fee-method-summary`,C=g({__name:`HtFeeMethodGrid`,props:{title:{},storageKey:{},contractId:{},contractName:{},fixedNames:{}},setup(C){let w=C,{t:T}=ae(),E=ye(),D=be(),O=()=>`fee-method-${Date.now()}-${Math.random().toString(16).slice(2,8)}`,k=(e=``)=>({id:O(),name:e,rateFee:null,hourlyFee:null,quantityUnitPriceFee:null}),A=e=>e?.id===S,j=e=>String(e||``).includes(`-reserve`),M=(e,t)=>{let n=b(e.map(e=>t(e)));return n==null?null:y(n,3)},N=e=>{if(!e)return null;let t=b([e.rateFee,e.hourlyFee,e.quantityUnitPriceFee]);return t==null?null:y(t,3)},Me=e=>!Array.isArray(e)||e.length===0?null:M(e,e=>N(e)),Ne=async e=>{try{let t=`htExtraFee-${e}-additional-work`;return Me((await D.loadHtFeeMainState(t))?.detailRows)}catch(e){return console.error(`loadAdditionalWorkFeeTotal failed:`,e),null}},Pe=async()=>{let e=String(w.contractId||``).trim();if(!e)return null;try{await D.loadContract(e);let t=D.getBaseSubtotal(e);if(!j(w.storageKey))return t==null?null:y(t,3);let n=await Ne(e);return t!=null||n!=null?y(oe(t)+oe(n),3):null}catch(e){return console.error(`loadContractServiceFeeBase failed:`,e),null}},Fe=e=>{let t=e?.detailRows?e?.detailRows?.filter(e=>e.serviceBudget!==null):[];if(t.length===0)return null;let n=0,r=!1;for(let e of t){let t=v(e?.serviceBudget);if(t!=null){n+=t,r=!0;continue}let i=v(e?.adoptedBudgetUnitPrice),a=v(e?.personnelCount),o=v(e?.workdayCount);i==null||a==null||o==null||(n+=i*a*o,r=!0)}return r?y(n,3):null},Ie=e=>{let t=e?.detailRows?e?.detailRows?.filter(e=>e.budgetFee!==null):[];if(t.length===0)return null;let n=0,r=!1;for(let e of t){if(String(e?.id||``)===`fee-subtotal-fixed`)continue;let t=v(e?.budgetFee);if(t!=null){n+=t,r=!0;continue}let i=v(e?.quantity),a=v(e?.unitPrice);i==null||a==null||(n+=i*a,r=!0)}return r?y(n,3):null},P=async e=>{if(!Array.isArray(e)||e.length===0)return e;let t=await Pe();return await Promise.all(e.map(async e=>{if(!e?.id)return e;let[n,r,i]=await Promise.all([D.loadHtFeeMethodState(w.storageKey,e.id,`rate-fee`),D.loadHtFeeMethodState(w.storageKey,e.id,`hourly-fee`),D.loadHtFeeMethodState(w.storageKey,e.id,`quantity-unit-price-fee`)]),a=v(n?.budgetFee),o=v(n?.rate),s=t!=null&&o!=null?y(t*o/100,2):a==null?null:y(a,2),c=Fe(r),l=Ie(i);return{...e,rateFee:s,hourlyFee:c,quantityUnitPriceFee:l}}))},F=s(()=>Array.isArray(w.fixedNames)?w.fixedNames.map(e=>({name:e.name,id:e.id})):[]),I=s(()=>F.value.length>0),Le=s(()=>JSON.stringify(F.value.map(e=>({id:String(e?.id||``),name:String(e?.name||``)})))),L=s({get:()=>{let e=D.getHtFeeMainState(w.storageKey)?.detailRows;return Array.isArray(e)?e:[]},set:e=>{D.setHtFeeMainState(w.storageKey,{detailRows:e})}}),Re=s(()=>{let e=M(L.value,e=>e.rateFee),t=M(L.value,e=>e.hourlyFee),n=M(L.value,e=>e.quantityUnitPriceFee),r={id:S,name:T(`htFeeGrid.subtotal`),rateFee:e,hourlyFee:t,quantityUnitPriceFee:n};return r.subtotal=N(r),r}),ze=s(()=>[...L.value,Re.value]),R=f(null),z=f(!1),B=f(null),V=f(``),Be=f(``),H=(e,t)=>{B.value=e,V.value=String(t||``).trim()||T(`htFeeGrid.currentRow`),z.value=!0},Ve=e=>{z.value=e},He=async()=>{let e=B.value;e&&(await q(e),z.value=!1,B.value=null,V.value=``)},Ue=e=>e.value==null||e.value===``?(A(e.data),``):String(e.value),U=e=>e.value==null||e.value===``?(A(e.data),``):_e(e.value,3),W=e=>ve(e,{precision:3}),We=e=>typeof e.budgetFee==`number`&&Number.isFinite(e.budgetFee)?e.budgetFee:typeof e.quantity==`number`&&Number.isFinite(e.quantity)&&typeof e.unitPrice==`number`&&Number.isFinite(e.unitPrice)?y(e.quantity*e.unitPrice,2):null,G=e=>{let t=(Array.isArray(e)?e:[]).filter(e=>e?.id!==S).map(e=>{let t=e;return{id:typeof t.id==`string`&&t.id?t.id:O(),name:typeof t.name==`string`?t.name:typeof t.feeItem==`string`?t.feeItem:``,rateFee:Line truncated
@@ -1,2 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./WorkContentGrid-nNmx9oMr.js","./_plugin-vue_export-helper-DUFB50Ey.js","./index-CAPJG_im.js","./rolldown-runtime-fVNAxIxX.js","./vendor-ui-B4V4Cf1T.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js","./vendor-ag-grid~index~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeL~h29xz5eu-CW8VCi7z.js","./workspace-DxKKyh8w.js","./vendor-vue-CSlAvuUs.js","./sql-C69Jo4HU.js","./decimal-D3bp1pbs.js","./numberFormat-jhZZmX17.js","./vendor-ag-grid~index-Ch1jbN8D.js","./utils-DFe0HVk9.js","../css/index-CI_Unp5q.css","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js","./agGridReadonlyAutoHeight-BpRhYCq1.js","../css/WorkContentGrid-B4nOYGuK.css"])))=>i.map(i=>d[i]);
import{$ as e,At as t,Bt as n,C as r,Cr as i,E as a,Er as o,H as s,K as c,M as l,Ot as u,Pt as d,Q as f,Rn as p,T as m,U as h,W as g,Wn as _,er as v,et as y,ft as b,mn as x,tt as S,xn as C,xr as w,yn as T}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as E}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D}from"./workspace-DxKKyh8w.js";import{i as O,s as k}from"./decimal-D3bp1pbs.js";import{dt as ee,ft as te,gt as A,ht as ne,lt as j,mt as M,n as N,pt as P,ut as re}from"./vendor-ui-B4V4Cf1T.js";import{n as F,r as I}from"./numberFormat-jhZZmX17.js";import"./sql-C69Jo4HU.js";import{t as L}from"./_plugin-vue_export-helper-DUFB50Ey.js";import{C as ie,k as R,t as z}from"./index-CAPJG_im.js";import{t as ae}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as oe,i as se,o as ce,r as le,t as ue}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingPersistControl-DVG_7RF1.js";import{t as B}from"./typeLine-BCKblICF.js";import{t as V}from"./HourlyFeeGrid-DixkKG6W.js";var de={class:`h-full min-h-0 flex flex-col`},fe={class:`rounded-lg border bg-card xmMx flex min-h-0 flex-1 flex-col`},pe={class:`flex items-center justify-between border-b px-4 py-3`},me={class:`text-sm font-semibold text-foreground`},he={class:`mt-4 flex items-center justify-end gap-2`},H=`fee-subtotal-fixed`,U=S({__name:`HtFeeGrid`,props:{title:{},storageKey:{},htMainStorageKey:{},htRowId:{},htMethodType:{}},setup(r){let a=r,p=ie(),{t:m}=D(),g=()=>`fee-${Date.now()}-${Math.random().toString(16).slice(2,8)}`,y=()=>({id:g(),feeItem:``,unit:``,quantity:null,unitPrice:null,budgetFee:null,remark:``}),C=()=>({id:H,feeItem:m(`htFeeDetail.subtotal`),unit:``,quantity:null,unitPrice:null,budgetFee:0,remark:``}),L=e=>e?.id===H,z=e=>{let t=e.filter(e=>!L(e));return t.length===0?[]:[...t,C()]},B=_([]),V=_(null),U=_(!1),W=_(null),G=_(``),K=s(()=>!!(a.htMainStorageKey&&a.htRowId&&a.htMethodType)),q=s({get:()=>{if(!K.value)return B.value;let e=p.getHtFeeMethodState(a.htMainStorageKey,a.htRowId,a.htMethodType)?.detailRows;return Array.isArray(e)?e:[]},set:e=>{if(!K.value){B.value=e;return}p.setHtFeeMethodState(a.htMainStorageKey,a.htRowId,a.htMethodType,{detailRows:e})}}),ge=()=>{q.value=z([...q.value.filter(e=>!L(e)),y()]),Y(),X()},_e=e=>{q.value=z(q.value.filter(t=>!L(t)&&t.id!==e)),Y(),X()},ve=(e,t)=>{W.value=e,G.value=String(t||``).trim()||m(`htFeeDetail.currentRow`),U.value=!0},ye=e=>{U.value=e},be=()=>{let e=W.value;e&&(_e(e),U.value=!1,W.value=null,G.value=``)},J=e=>L(e.data)?``:e.value==null||e.value===``?m(`htFeeDetail.clickToInput`):String(e.value),xe=e=>L(e.data)?``:e.value==null||e.value===``?m(`htFeeDetail.clickToInput`):F(e.value,3),Se=e=>L(e.data)?``:e.value==null||e.value===``?m(`htFeeDetail.clickToInput`):F(e.value,3),Ce=e=>e.value==null||e.value===``?``:F(e.value,3),Y=()=>{let e=0,t=!1;for(let n of q.value){if(L(n))continue;let r=typeof n.feeItem==`string`&&n.feeItem.trim()!==``,i=typeof n.unit==`string`&&n.unit.trim()!==``,a=typeof n.quantity==`number`&&Number.isFinite(n.quantity)?n.quantity:null,o=typeof n.unitPrice==`number`&&Number.isFinite(n.unitPrice)?n.unitPrice:null;if(!r||!i||a==null||o==null){n.budgetFee=null;continue}n.budgetFee=O(k(a).mul(o),2),typeof n.budgetFee==`number`&&Number.isFinite(n.budgetFee)&&(t=!0,e=O(k(e).add(n.budgetFee),2))}let n=q.value.find(e=>L(e));n&&(n.feeItem=m(`htFeeDetail.subtotal`),n.unit=``,n.quantity=null,n.unitPrice=null,n.budgetFee=t?e:null,n.remark=``)},we=e=>!Array.isArray(e)||e.length===0?[]:z(e.map(e=>{let t=e;return{id:typeof t.id==`string`&&t.id?t.id:g(),feeItem:typeof t.feeItem==`string`?t.feeItem:``,unit:typeof t.unit==`string`?t.unit:``,quantity:typeof t.quantity==`number`?t.quantity:null,unitPrice:typeof t.unitPrice==`number`?t.unitPrice:null,budgetFee:typeof t.budgetFee==`number`?t.budgetFee:null,remark:typeof t.remark==`string`?t.remark:``}})),Te=()=>(Y(),q.value.map(e=>({...e}))),X=async()=>{try{let e={detailRows:JSON.parse(JSON.stringify(Te()))};K.value?p.setHtFeeMethodState(a.htMainStorageKey,a.htRowId,a.htMethodType,e,{force:!0}):p.setKeyState(a.storageKey,e)}catch(e){console.error(`saveToIndexedDB failed:`,e)}},Z=async()=>{try{q.value=we((K.value?await p.loadHtFeeMethodState(a.htMainStorageKey,a.htRowId,a.htMethodType):await p.loadKeyState(a.storageKey))?.detailRows),Y()}catch(e){console.error(`loadFromIndexedDB failed:`,e),q.value=[],Y()}},Ee=[{headerName:m(`htFeeDetail.columns.no`),colId:`rowNo`,minWidth:68,maxWidth:80,flex:.6,editable:!1,sortable:!1,filter:!1,cellStyle:{textAlign:`center`},valueGetter:e=>e.node?.rowPinned?``:L(e.data)?m(`htFeeDetail.subtotal`):typeof e.node?.rowIndex==`number`?e.node.rowIndex+1:``,colSpan:e=>L(e.data)?2:1},{headerName:m(`htFeeDetail.columns.feeItem`),field:`feeItem`,minWidth:140,fleLine truncated
-1
View File
@@ -1 +0,0 @@
import{Bt as e,H as t,Ot as n,Pt as r,W as i,Wn as a,er as o,tt as s}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as c}from"./workspace-DxKKyh8w.js";import{d as l}from"./decimal-D3bp1pbs.js";import"./numberFormat-jhZZmX17.js";import{c as u,y as d}from"./sql-C69Jo4HU.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingScaleDetail-CuzzWQVd.js";import"./pricingMethodTotals-DHJf6v89.js";import"./pricingScaleLink-BNsm4Fxd.js";import"./xmFactorDefaults-yPGPQ25R.js";import"./zxFwPricingSync-PWsfNukj.js";import{t as f}from"./XmFactorGrid-DLfcqkt0.js";var p=s({__name:`HtMajorFactor`,props:{contractId:{},projectInfoKey:{},parentStorageKey:{}},setup(s){let p=s,m=t(()=>p.projectInfoKey||`xm-base-info-v1`),h=a(``),g=l(),{t:_}=c(),v=async()=>{try{let e=await g.getItem(m.value);h.value=typeof e?.projectIndustry==`string`?e.projectIndustry.trim():``}catch(e){console.error(`loadProjectIndustry failed:`,e),h.value=``}},y=t(()=>{let e=h.value;if(!e)return{};let t=u().filter(({id:t})=>d(t,e)).map(({id:e,item:t})=>[e,t]);return Object.fromEntries(t)});return r(()=>{v()}),n(()=>{v()}),(t,n)=>(e(),i(f,{title:o(_)(`htFactors.majorTitle`),"storage-key":`ht-major-factor-v1-${p.contractId}`,"parent-storage-key":p.parentStorageKey||`xm-major-factor-v1`,dict:y.value,"disable-budget-edit-when-standard-null":!0,"exclude-notshow-by-zxflxs":!0,"init-budget-value-from-standard":!0},null,8,[`title`,`storage-key`,`parent-storage-key`,`dict`]))}});export{p as default};
-1
View File
@@ -1 +0,0 @@
import{Bt as e,H as t,W as n,er as r,tt as i}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as a}from"./workspace-DxKKyh8w.js";import"./decimal-D3bp1pbs.js";import"./vendor-ui-B4V4Cf1T.js";import"./numberFormat-jhZZmX17.js";import{f as o}from"./sql-C69Jo4HU.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import{t as s}from"./HtFeeMethodGrid-BpYIiL-T.js";var c=i({__name:`HtReserveFee`,props:{contractId:{},contractName:{}},setup(i){let c=i,{t:l,locale:u}=a(),d=t(()=>`htExtraFee-${c.contractId}-reserve`),f=t(()=>o(u.value).map(e=>({name:e.name,id:e.id})));return(t,i)=>(e(),n(s,{title:r(l)(`htFee.reserveTitle`),storageKey:d.value,"contract-id":c.contractId,"contract-name":c.contractName,"fixed-names":f.value},null,8,[`title`,`storageKey`,`contract-id`,`contract-name`,`fixed-names`]))}});export{c as default};
@@ -1 +0,0 @@
import{$ as e,Bt as t,Cr as n,Dt as r,Er as i,G as a,H as o,K as s,Pt as c,Q as l,U as u,Wn as d,er as f,ft as p,mn as ee,tt as m,xr as te,yn as h}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as ne}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as re}from"./workspace-DxKKyh8w.js";import{a as ie,d as ae,n as oe}from"./decimal-D3bp1pbs.js";import{B as se,R as ce,V as le,ct as ue,dt as de,ft as fe,gt as pe,ht as me,lt as g,mt as he,pt as ge,ut as _e,z as ve}from"./vendor-ui-B4V4Cf1T.js";import{r as _}from"./numberFormat-jhZZmX17.js";import{a as ye,c as be,h as v,y as xe}from"./sql-C69Jo4HU.js";import{C as Se,k as y,n as b}from"./index-CAPJG_im.js";import{t as Ce}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as we,i as Te,o as Ee,r as De,t as Oe}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";import{n as ke,o as Ae}from"./pricingScaleDetail-CuzzWQVd.js";import{l as x,o as S,u as C}from"./pricingScaleLink-BNsm4Fxd.js";import"./xmFactorDefaults-yPGPQ25R.js";import"./pricingPersistControl-DVG_7RF1.js";import{a as je,n as w,o as Me,r as Ne,t as Pe}from"./pricingScaleGrid-BCsr0Q1x.js";import{n as T}from"./pricingScaleCalc-CxdG8IMv.js";import{t as Fe}from"./pricingScalePaneLifecycle-CUGyrg3j.js";import{a as Ie,i as Le,n as Re,o as ze,r as Be,t as Ve}from"./pricingScaleProject-DnXeytCB.js";var He={class:`h-full min-h-0 flex flex-col`},Ue={class:`rounded-lg border bg-card xmMx flex min-h-0 flex-1 flex-col`},We={class:`flex items-center justify-between border-b px-4 py-3`},Ge={class:`flex items-center gap-3`},Ke={class:`text-sm font-semibold text-foreground`},qe={key:0,class:`flex items-center gap-2`},Je={class:`text-xs text-muted-foreground`},Ye={class:`flex items-center gap-2`},Xe={class:`mt-4 flex items-center justify-end gap-2`},Ze={class:`mt-4 flex items-center justify-end gap-2`},E=`__only-cost-scale-total__`,D=m({__name:`InvestmentScalePricingPane`,props:{contractId:{},serviceId:{},projectInfoKey:{}},setup(D){let O=D,k=Se(),{t:A,locale:j}=re(),M=ae();o(()=>`tzGMF-${O.contractId}-${O.serviceId}`);let Qe=o(()=>`ht-info-v3-${O.contractId}`),N=o(()=>`ht-info-scale-change-v1-${O.contractId}`),$e=o(()=>`ht-consult-category-factor-v1-${O.contractId}`),et=o(()=>`ht-major-factor-v1-${O.contractId}`),P=o(()=>`${$e.value}-change`),F=o(()=>`${et.value}-change`);o(()=>O.projectInfoKey||`xm-base-info-v1`);let I=d(``),tt=d(new Map),nt=d(new Map),L=d(null);d(0),d(0);let rt=()=>tt.value.get(String(O.serviceId))??null,R=o(()=>v(O.serviceId)?.onlyCostScale===!0),z=o(()=>v(O.serviceId)?.mutiple===!0),B=d(1),V=Ie,it=()=>z.value?V(B.value):1,at=e=>Ve(e),H=(e,t)=>Re(z.value,e,t),ot=e=>Le(e,z.value),st=o(()=>{if(R.value){let e=v(O.serviceId);return`${e?.code||``} ${e?.name||``}`.trim()}let e=ye(I.value.trim(),j.value);return e?A(`pricingScale.totalInvestmentByIndustry`,{industryName:e}):A(`pricingScale.totalInvestment`)}),U=d(null),ct=async()=>{try{let e=await M.getItem(Qe.value);if(typeof e?.totalAmount==`number`&&e.totalAmount>0){U.value=e.totalAmount;return}let t=await M.getItem(`xm-info-v3`);U.value=typeof t?.totalAmount==`number`?t.totalAmount:null}catch{U.value=null}},lt={"F1*":[{limit:200,rate:.0327,baseAmount:0,base:`F≤200万`},{limit:500,rate:.0273,baseAmount:6.54,base:`201~500万`},{limit:2e3,rate:.0216,baseAmount:14.73,base:`501~2000万`},{limit:5e3,rate:.017,baseAmount:47.13,base:`2001~5000万`},{limit:1e4,rate:.0151,baseAmount:98.13,base:`5001~10000万`},{limit:3e4,rate:.0118,baseAmount:173.63,base:`10001~30000万`},{limit:1/0,rate:.009,baseAmount:409.63,base:`30000万以上`}],"F2-1*":[{limit:200,rate:.0087,baseAmount:0,base:`F≤200万`},{limit:500,rate:.0073,baseAmount:1.74,base:`201~500万`},{limit:2e3,rate:.0056,baseAmount:3.93,base:`501~2000万`},{limit:5e3,rate:.0046,baseAmount:12.33,base:`2001~5000万`},{limit:1e4,rate:.0037,baseAmount:26.13,base:`5001~10000万`},{limit:3e4,rate:.0028,baseAmount:44.63,base:`10001~30000万`},{limit:1/0,rate:.0018,baseAmount:100.63,base:`30000万以上`}],"F2-2*":[{limit:200,rate:.024,baseAmount:0,base:`F≤200万`},{limit:500,rate:.02,baseAmount:4.8,base:`201~500万`},{limit:2e3,rate:.016,baseAmount:10.8,base:`501~2000万`},{limit:5e3,rate:.0126,baseAmount:34.8,base:`2001~5000万`},{limit:1e4,rate:.0114,baseAmount:72.6,base:`5001~10000万`},{limit:3e4,rate:.009,baseAmount:129.6,base:`10001~30000万`},{limit:1/0,rate:.0072,baseAmount:309.6,base:`30000万以上`}],"F2-3":[{limit:200,rate:.021,baseAmount:0,base:`F≤200万`},{limit:500,rate:.017,baseAmount:4.2,base:`201~500万`},{limit:2e3,rate:.013,baseAmount:9.3,base:`501~2000万`},{limit:5e3,rate:.0096,baseAmount:28.8,base:`2001~5000万`},{limit:1e4,rate:.0084,baseAmount:57.6,base:`5001~10000万`},{limit:3e4,rate:.006,baseAmount:99.6,base:`10001~30000万 Line truncated
@@ -1 +0,0 @@
import{$ as e,Bt as t,Cr as n,Dt as r,Er as i,G as a,H as o,K as s,Q as c,U as l,Wn as u,er as d,ft as f,mn as p,tt as m,xr as ee,yn as h}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as te}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as ne}from"./workspace-DxKKyh8w.js";import{a as re,d as ie}from"./decimal-D3bp1pbs.js";import{B as ae,R as oe,V as se,z as ce}from"./vendor-ui-B4V4Cf1T.js";import{r as g}from"./numberFormat-jhZZmX17.js";import{a as le,c as ue,h as _}from"./sql-C69Jo4HU.js";import{C as de,n as v}from"./index-CAPJG_im.js";import{t as fe}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as pe,i as me,o as he,r as ge,t as _e}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";import{n as ve,o as ye}from"./pricingScaleDetail-CuzzWQVd.js";import{l as y,o as b,u as x}from"./pricingScaleLink-BNsm4Fxd.js";import"./xmFactorDefaults-yPGPQ25R.js";import{a as be,o as xe,t as Se}from"./pricingScaleGrid-BCsr0Q1x.js";import{n as S}from"./pricingScaleCalc-CxdG8IMv.js";import{t as Ce}from"./pricingScalePaneLifecycle-CUGyrg3j.js";import{a as we,i as Te,n as Ee,o as De,r as Oe,t as ke}from"./pricingScaleProject-DnXeytCB.js";var Ae={class:`h-full min-h-0 flex flex-col`},je={class:`rounded-lg border bg-card xmMx flex min-h-0 flex-1 flex-col`},Me={class:`flex items-center justify-between border-b px-4 py-3`},Ne={class:`flex items-center gap-3`},Pe={class:`text-sm font-semibold text-foreground`},Fe={key:0,class:`flex items-center gap-2`},Ie={class:`text-xs text-muted-foreground`},C=`__only-cost-scale-total__`,w=m({__name:`LandScalePricingPane`,props:{contractId:{},serviceId:{},projectInfoKey:{}},setup(w){let T=w,E=de(),{t:D,locale:O}=ne(),k=ie();o(()=>`tzGMF-${T.contractId}-${T.serviceId}`);let Le=o(()=>`ht-info-v3-${T.contractId}`),A=o(()=>`ht-info-scale-change-v1-${T.contractId}`),Re=o(()=>`ht-consult-category-factor-v1-${T.contractId}`),ze=o(()=>`ht-major-factor-v1-${T.contractId}`),j=o(()=>`${Re.value}-change`),M=o(()=>`${ze.value}-change`);o(()=>T.projectInfoKey||`xm-base-info-v1`);let N=u(``),Be=u(new Map),Ve=u(new Map),P=u(null),He=()=>Be.value.get(String(T.serviceId))??null,F=o(()=>_(T.serviceId)?.onlyCostScale===!0),I=o(()=>_(T.serviceId)?.mutiple===!0),L=u(1),R=we,Ue=()=>I.value?R(L.value):1,We=e=>ke(e),z=(e,t)=>Ee(I.value,e,t),Ge=e=>Te(e,I.value),B=o(()=>{if(F.value){let e=_(T.serviceId);return`${e?.code||``} ${e?.name||``}`.trim()}let e=le(N.value.trim(),O.value);return e?D(`pricingScale.totalInvestmentByIndustry`,{industryName:e}):D(`pricingScale.totalInvestment`)}),V=u(null),Ke=async()=>{try{let e=await k.getItem(Le.value);if(typeof e?.totalAmount==`number`&&e.totalAmount>0){V.value=e.totalAmount;return}let t=await k.getItem(`xm-info-v3`);V.value=typeof t?.totalAmount==`number`?t.totalAmount:null}catch{V.value=null}},qe={"F1*":[{limit:200,rate:.0327,baseAmount:0,base:`F≤200万`},{limit:500,rate:.0273,baseAmount:6540,base:`201~500万`},{limit:2e3,rate:.0216,baseAmount:14760,base:`501~2000万`},{limit:5e3,rate:.017,baseAmount:47160,base:`2001~5000万`},{limit:1e4,rate:.0151,baseAmount:98160,base:`5001~10000万`},{limit:3e4,rate:.0118,baseAmount:173660,base:`10001~30000万`},{limit:1/0,rate:.009,baseAmount:409660,base:`30000万以上`}],"F2-1*":[{limit:200,rate:.0087,baseAmount:0,base:`F≤200万`},{limit:500,rate:.0073,baseAmount:1.74,base:`201~500万`},{limit:2e3,rate:.0056,baseAmount:3.93,base:`501~2000万`},{limit:5e3,rate:.0046,baseAmount:12.33,base:`2001~5000万`},{limit:1e4,rate:.0037,baseAmount:26.13,base:`5001~10000万`},{limit:3e4,rate:.0028,baseAmount:44.63,base:`10001~30000万`},{limit:1/0,rate:.0018,baseAmount:100.63,base:`30000万以上`}],"F2-2*":[{limit:200,rate:.024,baseAmount:0,base:`F≤200万`},{limit:500,rate:.02,baseAmount:4.8,base:`201~500万`},{limit:2e3,rate:.016,baseAmount:10.8,base:`501~2000万`},{limit:5e3,rate:.0126,baseAmount:34.8,base:`2001~5000万`},{limit:1e4,rate:.0114,baseAmount:72.6,base:`5001~10000万`},{limit:3e4,rate:.009,baseAmount:129.6,base:`10001~30000万`},{limit:1/0,rate:.0072,baseAmount:309.6,base:`30000万以上`}],"F2-3":[{limit:200,rate:.021,baseAmount:0,base:`F≤200万`},{limit:500,rate:.017,baseAmount:4.2,base:`201~500万`},{limit:2e3,rate:.013,baseAmount:9.3,base:`501~2000万`},{limit:5e3,rate:.0096,baseAmount:28.8,base:`2001~5000万`},{limit:1e4,rate:.0084,baseAmount:57.6,base:`5001~10000万`},{limit:3e4,rate:.006,baseAmount:99.6,base:`10001~30000万`},{limit:1/0,rate:.0042,baseAmount:219.6,base:`30000万以上`}],"F2-4":[{limit:200,rate:.018,baseAmount:0,base:`F≤200万`},{limit:500,rate:.014,baseAmount:3.6,base:`201~500万`},{limit:2e3,rate:.011,baseAmount:7.8,base:`501~2000万`},{limit:5e3,rate:.008,baseAmount:24.3,base:`2001~5000万`},{limit:1e4,rate:.007,baseAmount:48.3,baseLine truncated
@@ -1 +0,0 @@
import{Bt as e,Er as t,K as n,U as r,er as i,tt as a}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{D as o}from"./workspace-DxKKyh8w.js";var s={class:`flex h-full min-h-0 w-full flex-1 items-center justify-center bg-[radial-gradient(circle_at_top,_rgba(220,38,38,0.18),rgba(0,0,0,0.03)_46%,transparent_72%)] p-6`},c={class:`w-full max-w-xl rounded-2xl border border-red-300/85 bg-white/90 px-8 py-10 text-center shadow-[0_18px_38px_-22px_rgba(153,27,27,0.6)] backdrop-blur`},l={class:`text-lg font-semibold tracking-wide text-neutral-900`},u={class:`mt-2 text-sm leading-6 text-red-700`},d=a({__name:`MethodUnavailableNotice`,props:{title:{default:void 0},message:{}},setup(a){let{t:d}=o(),f=a;return(a,o)=>(e(),n(`div`,s,[r(`div`,c,[r(`p`,l,t(f.title||i(d)(`methodUnavailable.defaultTitle`)),1),r(`p`,u,t(f.message),1)])]))}});export{d as t};
-1
View File
@@ -1 +0,0 @@
import{$ as e,At as t,Bt as n,Cr as r,Dt as i,Er as a,G as o,H as s,Jt as c,K as ee,M as te,Mt as l,Ot as u,Pt as d,Q as f,U as p,W as m,Wn as h,er as g,ft as _,mn as v,tt as y,xr as ne,yn as b}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as x}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as S}from"./workspace-DxKKyh8w.js";import{a as C}from"./decimal-D3bp1pbs.js";import{d as w,n as T}from"./vendor-ui-B4V4Cf1T.js";import{r as E}from"./numberFormat-jhZZmX17.js";import{n as D}from"./sql-C69Jo4HU.js";import{t as O}from"./_plugin-vue_export-helper-DUFB50Ey.js";import{C as k,n as A}from"./index-CAPJG_im.js";import{t as j}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as re,i as ie,o as ae,r as oe,t as se}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingPersistControl-DVG_7RF1.js";var ce={class:`h-full min-h-0 flex flex-col`},le={class:`rounded-lg border bg-card xmMx flex min-h-0 flex-1 flex-col`},ue={class:`flex items-center justify-between border-b px-4 py-3`},de={class:`text-sm font-semibold text-foreground`},fe={class:`px-6 py-4 border-b bg-slate-50 flex items-center justify-between shrink-0`},pe={class:`font-bold text-base`},me={class:`flex gap-3`},he={class:`mt-4 flex items-center justify-end gap-2`},ge={class:`mt-4 flex items-center justify-end gap-2`},M=O(y({__name:`OtherService`,props:{storageKey:{},title:{default:void 0},contractId:{},serviceId:{},enableZxFwSync:{type:Boolean,default:!1},syncField:{default:`hourly`},htMainStorageKey:{},htRowId:{},htMethodType:{}},setup(O){let M=O;k();let{t:N,locale:P}=S(),F=h([]),I=h(null),L=s(()=>M.syncField===`investScale`?`investScale`:M.syncField===`landScale`?`landScale`:M.syncField===`workload`?`workload`:M.syncField===`hourly`?`hourly`:null);s(()=>!!(M.enableZxFwSync&&M.contractId&&M.serviceId!=null&&L.value)),s(()=>!!(M.htMainStorageKey&&M.htRowId&&M.htMethodType));let R=s({get:()=>F.value,set:e=>{F.value=e}}),z=h(!1),B=h(!1),V=h(null),H=h(null);s(()=>{if(!V.value)return``;let e=R.value.find(e=>e.id===V.value);return e?`${e.feeItem}`:V.value}),s(()=>{if(!H.value)return``;let e=R.value.find(e=>e.id===H.value);return e?`${e.feeItem}`:H.value});let _e=e=>e?String(P.value).toLowerCase().startsWith(`en`)&&e.nameEn||e.name:``;Object.entries(D).sort((e,t)=>Number(e[0])-Number(t[0])).filter(e=>{let t=e[1];return!!(t?.code&&t?.name)});let U=async()=>{},ve=async e=>{let t=[];if(e.length>0){for(let n of e||[])t.push({...n});return t}return await U()},ye=e=>{if(e===``||e==null)return null;let t=E(e,{sanitize:!0,precision:0});return t==null||!Number.isSafeInteger(t)||t<0?null:t},be=()=>{for(let e of R.value)e.serviceFee=(e.unitPrice??0)*(e.quantity??0)},xe=y({name:`ActionCellRenderer`,props:{params:{type:Object,required:!0}},setup(e){return()=>e.params.node?.rowPinned===`bottom`?null:_(`div`,{class:`zxfw-action-wrap`},[_(`div`,{class:`zxfw-action-group`},[_(`button`,{class:`zxfw-action-btn`,"data-action":`clear`,type:`button`},[_(w,{size:13,"aria-hidden":`true`}),_(`span`,N(`htZxFw.resetDefault`))]),_(`button`,{class:`zxfw-action-btn zxfw-action-btn--danger`,"data-action":`delete`,type:`button`},[_(T,{size:13,"aria-hidden":`true`}),_(`span`,N(`htZxFw.delete`))])])])}}),Se=[{headerName:N(`otherService.columns.num`),minWidth:90,width:100,editable:!1,colSpan:e=>e.node?.rowPinned?2:1,valueGetter:e=>e.node?.rowPinned===`bottom`?`/`:String(e.node.rowIndex+1),cellClass:[`text-center`,`font-mono`],filter:!1,valueFormatter:e=>e.node?.rowPinned?N(`hourlyFeeGrid.total`):e.value||0},{headerName:N(`otherService.columns.feeItem`),field:`feeItem`,flex:2,minWidth:200,wrapText:!0,autoHeight:!0,editable:!0,cellEditor:`agTextCellEditor`,valueFormatter:e=>e.node?.rowPinned===`bottom`?`/`:e.value?e.value||``:N(`otherService.clickToInput`),valueParser:e=>e.newValue?.trim()||``,cellClassRules:{"editable-cell-empty":e=>e.node?.rowPinned!==`bottom`&&(e.value==null||e.value===``||e.value===0)}},{headerName:N(`otherService.columns.unit`),field:`unit`,width:150,cellEditor:`agTextCellEditor`,editable:e=>e.node?.rowPinned!==`bottom`,valueFormatter:e=>e.node?.rowPinned===`bottom`?`/`:e.value?e.value||``:N(`otherService.clickToInput`),cellClassRules:{"editable-cell-empty":e=>!e.node?.group&&!e.node?.rowPinned&&(e.value==null||e.value===``)}},{headerName:N(`otherService.columns.unitPrice`),field:`unitPrice`,width:150,cellEditor:`agTextCellEditor`,editable:e=>e.node?.rowPinned!==`bottom`,valueFormatter:e=>e.node?.rowPinned===`bottom`?`/`:e.value?e.value||``:N(`otherService.clickToInput`),valueParser:e=>E(e.newValue,{precision:2}),cellClassRules:{"editable-cell-empty":e=>e.node?.rowPinned!==`bottom`&&(e.value==null||e.value===``||e.value===0)}},{headerName:N(`otherService.columns.quantity`),field:`quantity`,width:150Line truncated
@@ -1,2 +0,0 @@
import{Bt as e,C as t,E as n,Er as r,G as i,H as a,K as o,Kt as s,M as c,Ot as l,Pt as ee,T as u,U as d,W as f,Wn as p,er as m,mn as h,tt as te,xn as g,xr as _}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as ne,u as v}from"./workspace-DxKKyh8w.js";import{d as re,i as ie}from"./decimal-D3bp1pbs.js";import{h as y,p as ae}from"./vendor-ui-B4V4Cf1T.js";import{r as b}from"./numberFormat-jhZZmX17.js";import{_ as oe,a as se,d as ce,h as le,l as ue}from"./sql-C69Jo4HU.js";import{t as x}from"./_plugin-vue_export-helper-DUFB50Ey.js";import{O as de,i as fe,r as pe}from"./index-CAPJG_im.js";import{n as me,t as he}from"./xmFactorDefaults-yPGPQ25R.js";import{t as ge}from"./pricingScaleCalc-CxdG8IMv.js";var _e={class:`quick-calc-shell h-full min-h-0`},ve={class:`quick-calc-layout`},ye={class:`quick-calc-panel quick-calc-panel--catalog`},be={class:`quick-calc-toolbar`},xe={class:`quick-calc-form-section quick-calc-toolbar__section`},Se={class:`quick-calc-field quick-calc-field--wide`},Ce={class:`quick-calc-field__label`},we=[`aria-label`],Te=[`aria-checked`,`onClick`,`onKeydown`],Ee=[`checked`],De={class:`quick-calc-industry-card__text`},Oe={key:0,class:`quick-calc-empty-state`},ke={key:1,class:`quick-calc-empty-state`},Ae={key:2,class:`quick-calc-empty-state`},je={key:3,class:`quick-calc-empty-state`},Me={class:`quick-calc-catalog`},Ne={class:`quick-calc-group__side`},Pe={class:`quick-calc-group__eyebrow`},Fe={class:`quick-calc-group__title quick-calc-group__title--multiline`},Ie={class:`quick-calc-group__rows`},Le=[`checked`,`name`,`onChange`],Re={key:0,class:`quick-calc-selection-row__blank`},ze={class:`quick-calc-panel quick-calc-panel--form`},Be={class:`quick-calc-form`},Ve={class:`quick-calc-form-stack`},He={class:`quick-calc-form-section quick-calc-form-section--summary`},Ue={class:`quick-calc-form-grid quick-calc-form-grid--summary`},We={class:`quick-calc-field`},Ge={class:`quick-calc-field__label`},Ke={class:`quick-calc-field__readonly`},qe={class:`quick-calc-field`},Je={class:`quick-calc-field__label`},Ye={class:`quick-calc-field__readonly`},Xe={class:`quick-calc-form-section`},Ze={class:`quick-calc-form-grid`},Qe={class:`quick-calc-field`},$e={class:`quick-calc-field__label`},et=[`disabled`,`placeholder`],tt={class:`quick-calc-field`},nt={class:`quick-calc-field__label`},rt=[`disabled`,`placeholder`],it={class:`quick-calc-form-section`},at={class:`quick-calc-form-section__header`},ot={class:`quick-calc-form-section__title`},st={class:`quick-calc-form-grid`},ct={class:`quick-calc-field quick-calc-field--wide`},lt={class:`quick-calc-field__label`},ut={class:`quick-calc-field__readonly quick-calc-field__readonly--multiline`},dt={class:`quick-calc-field`},ft={class:`quick-calc-field__label`},pt={class:`quick-calc-field__readonly`},mt={class:`quick-calc-form-section`},ht={class:`quick-calc-form-section__header`},gt={class:`quick-calc-form-section__title`},_t={class:`quick-calc-form-grid`},vt={class:`quick-calc-field`},yt={class:`quick-calc-field__label`},bt={class:`quick-calc-field__readonly`},xt={class:`quick-calc-field`},St={class:`quick-calc-field__label`},Ct={class:`quick-calc-field__readonly`},wt={class:`quick-calc-field`},Tt={class:`quick-calc-field__label`},Et=[`placeholder`,`onKeydown`],Dt={class:`quick-calc-field`},Ot={class:`quick-calc-field__label`},kt={class:`quick-calc-field__readonly quick-calc-field__readonly--emphasis`},S=x(te({__name:`QuickCalcWorkbenchView`,props:{contractId:{},contractName:{},projectConsultCategoryFactorKey:{},projectMajorFactorKey:{}},setup(te){let x=te,S=re(),{t:C,locale:w}=ne(),T=p(new Map),E=p(new Map),D=ce(),O=p(``),k=p(``),A=p(null),j=p(``),M=p(``),N=p(`1`),At=p(!1),jt=0,Mt=a(()=>O.value.trim()!==``),P=a(()=>k.value.trim()!==``),Nt=(e,t)=>t?{id:e,name:String(t.name||``),code:String(t.code||``),defCoe:typeof t.defCoe==`number`?t.defCoe:null,hasCost:t.hasCost===!0,hasArea:t.hasArea===!0,scale:t.scale===!0,onlyCostScale:t.onlyCostScale===!0}:null,Pt=e=>e!=null,F=e=>{if(!e)return``;if(typeof e.id==`string`)return e.id;let t=O.value.trim();return e.id[t]||Object.values(e.id)[0]||``},Ft=(e,t)=>{if(!P.value||!G.value||K.value)return!1;let n=ue(F(t)),r=String(n?.code||``).trim();return r?r.includes(`-`):!1},I=a(()=>{let e=O.value.trim();return D.filter(t=>t.key===`consult`?!0:!e||!P.value?!1:t.industryId?t.industryId===e:!0).map(e=>{let t=e.key===`consult`?e.items:e.items.filter(t=>Ft(e,t)),n=new Map(t.map(e=>[e.key,e]));return{...e,items:t,rows:e.rows.map(e=>e.map(e=>n.get(e)).filter(Pt)).filter(e=>e.length>0)}}).filter(e=>e.key===`consult`||e.items.length>0)});a(()=>{let e=O.value.trim();return e&&se(e,w.value)||C(`quickCalc.notSelected`)});let L=e=>O.value.trim()===String(e).trim(),R=e=>{let t=String(e).trim();O.value=L(t)?``:t},It=a(()=>D.finLine truncated
$1`):e.label,Q=async()=>{let[e,t]=await Promise.all([he(x.projectConsultCategoryFactorKey),me(x.projectMajorFactorKey)]);T.value=e,E.value=t},$=async()=>{try{let e=await S.getItem(v);O.value=typeof e?.projectIndustry==`string`?e.projectIndustry.trim():``}catch(e){console.error(`loadQuickIndustry failed:`,e),O.value=``}},an=async e=>{let t=await S.getItem(v);await S.setItem(v,{...t,projectIndustry:e,projectName:C(`quickCalc.projectName`)})};return ee(async()=>{await Promise.all([$(),Q()])}),l(()=>{Promise.all([$(),Q()])}),h(()=>O.value.trim(),async(e,t)=>{if(e===t)return;Lt.value?.industryId&&Lt.value.industryId!==e&&(A.value=null),!e&&A.value&&(A.value=null);let n=++jt;At.value=!0;try{await an(e),e&&(await de(S,e,x.projectConsultCategoryFactorKey||``,x.projectMajorFactorKey||``),await Q())}finally{n===jt&&(At.value=!1)}}),h([P,G,K],()=>{A.value&&I.value.find(e=>e.key===A.value?.groupKey)?.items.some(e=>e.key===A.value?.optionKey)!==!0&&(A.value=null)}),h(q,e=>{e||(j.value=``)}),h(J,e=>{e||(M.value=``)}),(a,l)=>(e(),o(`div`,_e,[d(`div`,ve,[d(`section`,ye,[d(`div`,be,[d(`section`,xe,[d(`div`,Se,[d(`span`,Ce,r(m(C)(`quickCalc.fields.industry`)),1),d(`div`,{class:`quick-calc-industry-grid`,role:`radiogroup`,"aria-label":m(C)(`quickCalc.fields.industry`)},[(e(!0),o(c,null,s(m(oe),t=>(e(),o(`label`,{key:`quick-workbench-${t.id}`,class:_([`quick-calc-industry-card`,{"is-selected":L(t.id)}]),"aria-checked":L(t.id),role:`radio`,tabindex:`0`,onClick:n(e=>R(t.id),[`prevent`]),onKeydown:[u(n(e=>R(t.id),[`prevent`]),[`enter`]),u(n(e=>R(t.id),[`prevent`]),[`space`])]},[d(`input`,{checked:L(t.id),type:`radio`,name:`quick-calc-industry-choice`,class:`quick-calc-option__input`,tabindex:`-1`},null,8,Ee),d(`span`,{class:_([`quick-calc-industry-card__icon`,{"is-selected":L(t.id)}])},[L(t.id)?(e(),f(m(y),{key:0,class:`h-3.5 w-3.5`})):(e(),f(m(ae),{key:1,class:`h-3.5 w-3.5`}))],2),d(`span`,De,r(m(se)(t.id,m(w))),1)],42,Te))),128))],8,we)])])]),Mt.value?P.value?G.value?K.value?(e(),o(`div`,je,r(m(C)(`quickCalc.empty.consultCostOnly`)),1)):i(``,!0):(e(),o(`div`,Ae,r(m(C)(`quickCalc.empty.scaleUnavailable`)),1)):(e(),o(`div`,ke,r(m(C)(`quickCalc.empty.selectConsult`)),1)):(e(),o(`div`,Oe,r(m(C)(`quickCalc.empty.selectIndustry`)),1)),d(`div`,Me,[(e(!0),o(c,null,s(I.value,t=>(e(),o(`article`,{key:t.key,class:_([`quick-calc-group quick-calc-group--table`,{"quick-calc-group--major":t.key!==`consult`,"quick-calc-group--general":t.key===`general`}])},[d(`div`,Ne,[d(`div`,Pe,r(t.key===`consult`?m(C)(`quickCalc.consultCategory`):m(C)(`quickCalc.majorCategory`)),1),d(`h3`,Fe,r(rn(t)),1)]),d(`div`,Ie,[(e(!0),o(c,null,s(t.rows,(n,a)=>(e(),o(`div`,{key:`${t.key}-${a}`,class:`quick-calc-selection-row`},[(e(!0),o(c,null,s(n,n=>(e(),o(`label`,{key:`${t.key}-${n.key}`,class:_([`quick-calc-inline-option`,{"is-selected":Z(t.key,n.key)}])},[d(`input`,{checked:Z(t.key,n.key),type:`radio`,name:t.key===`consult`?`quick-calc-consult-choice`:`quick-calc-major-choice`,class:`quick-calc-option__input`,onChange:e=>nn(t.key,n.key)},null,40,Le),d(`span`,{class:_([`quick-calc-inline-option__icon`,{"is-selected":Z(t.key,n.key)}])},[Z(t.key,n.key)?(e(),f(m(y),{key:0,class:`h-3.5 w-3.5`})):(e(),f(m(ae),{key:1,class:`h-3.5 w-3.5`}))],2),d(`span`,{class:_([`quick-calc-inline-option__text`,{"is-selected":Z(t.key,n.key)}])},r(n.label),3)],2))),128)),n.length===0?(e(),o(`div`,Re)):i(``,!0)]))),128))])],2))),128))])]),d(`aside`,ze,[d(`div`,Be,[d(`div`,Ve,[d(`section`,He,[d(`div`,Ue,[d(`label`,We,[d(`span`,Ge,r(m(C)(`quickCalc.consultCategory`)),1),d(`div`,Ke,r(z.value||m(C)(`quickCalc.notSelected`)),1)]),d(`label`,qe,[d(`span`,Je,r(m(C)(`quickCalc.fields.code`)),1),d(`div`,Ye,r(Vt.value||`--`),1)])])]),d(`section`,Xe,[d(`div`,Ze,[d(`label`,Qe,[d(`span`,$e,r(m(C)(`quickCalc.fields.investScale`)),1),g(d(`input`,{"onUpdate:modelValue":l[0]||=e=>j.value=e,type:`text`,inputmode:`decimal`,class:_([`quick-calc-field__input`,{"is-disabled":!q.value}]),disabled:!q.value,placeholder:Jt.value,onBlur:l[1]||=e=>X(`invest`),onKeydown:l[2]||=u(n(e=>X(`invest`),[`prevent`]),[`enter`])},null,42,et),[[t,j.value]])]),d(`label`,tt,[d(`span`,nt,r(m(C)(`quickCalc.fields.landScale`)),1),g(d(`input`,{"onUpdate:modelValue":l[3]||=e=>M.value=e,type:`text`,inputmode:`decimal`,class:_([`quick-calc-field__input`,{"is-disabled":!J.value}]),disabled:!J.value,placeholder:Yt.value,onBlur:l[4]||=e=>X(`land`),onKeydown:l[5]||=u(n(e=>X(`land`),[`prevent`]),[`enter`])},null,42,rt),[[t,M.value]])])])]),d(`section`,it,[d(`header`,at,[d(`h3`,ot,r(m(C)(`quickCalc.sections.benchmarkBudget`)),1)]),d(`div`,st,[d(`label`,ct,[d(`span`,lt,r(m(C)(`quickCalc.fields.formula`)),1),d(`div`,ut,r(Zt.value),1)]),d(`label`,dt,[d(`span`,ft,r(m(C)(`quickCalc.fields.amount`)),1),d(`div`,pt,r(Qt.value),1)])])]),d(`section`,mt,[d(`header`,ht,[d(`h3`,gt,r(m(C)(`quickCalc.sections.serviceBudget`)),1)]),d(`div`,_t,[d(`label`,vt,[d(`span`,yt,r(m(C)(`quickCalc.fields.consultFactor`)),1),d(`div`,bt,r(en(Ut.value)),1)]),d(`label`,xt,[d Line truncated
@@ -1 +0,0 @@
import{$ as e,At as t,Bt as n,Cr as r,Dt as i,Er as a,H as o,K as s,Ot as c,Pt as l,U as u,Wn as d,er as f,mn as p,tt as m,xr as h}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as g}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import{D as _,T as v}from"./workspace-DxKKyh8w.js";import{n as y}from"./numberFormat-jhZZmX17.js";import{c as b}from"./sql-C69Jo4HU.js";import{C as x}from"./index-CAPJG_im.js";import{t as S}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as C,i as w,o as T,r as E,t as D}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";import{c as O}from"./pricingScaleLink-BNsm4Fxd.js";import{a as k,i as A,o as j}from"./pricingScaleGrid-BCsr0Q1x.js";var M=(e,t)=>t?v.global.t(`pricingScale.${e}`,t):v.global.t(`pricingScale.${e}`);const N=e=>({headerName:M(`columns.number`),minWidth:250,flex:2,wrapText:!0,autoHeight:!0,cellStyle:{whiteSpace:`normal`,lineHeight:`1.4`},cellRendererParams:{suppressCount:!0},colSpan:A,valueFormatter:t=>{if(t.node?.rowPinned)return e.totalLabel;let n=t.data;if(!t.node?.group&&n?.majorCode)return n.majorCode;let r=String(t.value||``),i=e.parseProjectIndexFromPathKey(r);return i==null?e.idLabelMap.get(r)||r:M(`projectLabel`,{index:i})},tooltipValueGetter:t=>{if(t.node?.rowPinned)return e.totalLabel;let n=t.data;if(!t.node?.group&&n?.majorCode)return n.majorCode;let r=String(t.value||``),i=e.parseProjectIndexFromPathKey(r);return i==null?e.idLabelMap.get(r)||r:M(`projectLabel`,{index:i})}});var P={class:`flex h-full min-h-0 flex-col gap-3`},F={class:`flex items-center justify-between gap-3`},I={class:`text-sm font-semibold text-foreground`},L={class:`text-xs text-muted-foreground`},R=m({__name:`ScaleFormulaReadonlyPane`,props:{contractId:{},serviceId:{},method:{}},setup(m){let v=m,{t:A}=_(),M=x(),R=d(null),z=null,B=o(()=>v.method===`investScale`),V=o(()=>B.value?A(`zxFwView.categories.investmentScaleFormula`):A(`zxFwView.categories.landScaleFormula`)),H=async()=>{await M.loadServicePricingMethodState(v.contractId,v.serviceId,v.method)},U=o(()=>M.getServicePricingMethodState(v.contractId,v.serviceId,v.method)),W=o(()=>{let e=U.value?.detailRows;return Array.isArray(e)?e:[]}),G=o(()=>j(k(b().map(({id:e,item:t})=>[e,t]),B.value?({hasCost:e,hasArea:t})=>e&&!t:({hasArea:e})=>e))),K=e=>typeof e.value==`number`&&Number.isFinite(e.value)?y(e.value,3):``,q=o(()=>B.value?`amount`:`landArea`),J=o(()=>B.value?A(`pricingScale.columns.investAmount`):A(`pricingScale.columns.landArea`)),Y=o(()=>D([{headerName:J.value,field:q.value,minWidth:130,flex:1,headerClass:`ag-right-aligned-header`,cellClassRules:{"ag-right-aligned-cell":()=>!0},valueFormatter:K},{headerName:A(`pricingScale.columns.basicWork`),field:`benchmarkBudgetBasic`,minWidth:130,flex:1,headerClass:`ag-right-aligned-header`,cellClassRules:{"ag-right-aligned-cell":()=>!0},valueFormatter:K},{headerName:A(`zxFwView.formulaColumns.basicFormula`),field:`basicFormula`,minWidth:260,flex:2},{headerName:A(`pricingScale.columns.optionalWork`),field:`benchmarkBudgetOptional`,minWidth:130,flex:1,headerClass:`ag-right-aligned-header`,cellClassRules:{"ag-right-aligned-cell":()=>!0},valueFormatter:K},{headerName:A(`zxFwView.formulaColumns.optionalFormula`),field:`optionalFormula`,minWidth:260,flex:2}])),X=o(()=>N({totalLabel:V.value,idLabelMap:G.value,parseProjectIndexFromPathKey:O})),Z={...C},Q=async()=>{await i();let e=R.value;!e||e.isDestroyed?.()||(e.resetRowHeights(),e.onRowHeightChanged(),e.refreshCells({force:!0}))},$=()=>{z&&clearTimeout(z),z=setTimeout(()=>{z=null,Q()},0)},ee=e=>{R.value=e.api,$()};return p(W,()=>{$()},{deep:!0}),p(()=>v.method,()=>{H(),$()}),l(()=>{H()}),c(()=>{H(),$()}),t(()=>{z&&clearTimeout(z)}),(t,i)=>(n(),s(`div`,P,[u(`div`,F,[u(`div`,null,[u(`h3`,I,a(V.value),1),u(`p`,L,a(f(A)(`zxFwView.formulaColumns.subtitle`)),1)])]),u(`div`,{class:h(f(w))},[e(f(g),{theme:f(T),style:r(f(E)),"row-data":W.value,"column-defs":Y.value,"auto-group-column-def":X.value,"grid-options":Z,"locale-text":f(S),onGridReady:ee},null,8,[`theme`,`style`,`row-data`,`column-defs`,`auto-group-column-def`,`locale-text`])],2)]))}});export{R as t};
@@ -1 +0,0 @@
import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import"./workspace-DxKKyh8w.js";import"./decimal-D3bp1pbs.js";import"./numberFormat-jhZZmX17.js";import"./sql-C69Jo4HU.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingScaleLink-BNsm4Fxd.js";import"./pricingScaleGrid-BCsr0Q1x.js";import{t as e}from"./ScaleFormulaReadonlyPane-AeIzjaXU.js";export{e as default};
-1
View File
@@ -1 +0,0 @@
import{$ as e,At as t,Bt as n,Cr as r,Dt as i,Er as a,H as o,Mt as s,Ot as c,Pt as l,Q as u,U as d,W as ee,Wn as f,er as p,ft as te,mn as m,qn as ne,tt as re,xr as ie,yn as h}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as ae}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as oe}from"./workspace-DxKKyh8w.js";import{a as g,d as se,i as _,o as v}from"./decimal-D3bp1pbs.js";import{T as ce,dt as le,ft as ue,gt as de,ht as fe,lt as pe,mt as me,pt as he,ut as ge}from"./vendor-ui-B4V4Cf1T.js";import{r as _e,t as ve}from"./numberFormat-jhZZmX17.js";import{g as ye,h as be,m as xe,o as Se,v as Ce,w as we}from"./sql-C69Jo4HU.js";import{t as Te}from"./_plugin-vue_export-helper-DUFB50Ey.js";import{A as Ee,C as De,k as y,n as b}from"./index-CAPJG_im.js";import{t as Oe}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as ke,i as Ae,o as je,r as Me,t as Ne}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingScaleDetail-CuzzWQVd.js";import{n as Pe,t as Fe}from"./pricingMethodTotals-DHJf6v89.js";import{t as Ie}from"./pricingPersistControl-DVG_7RF1.js";var Le={class:`h-full min-h-0 flex flex-col gap-2`},Re={class:`rounded-lg border bg-card xmMx flex min-h-0 flex-1 flex-col overflow-hidden`},ze={class:`flex items-start justify-between gap-3 border-b px-3 py-2`},Be={class:`min-w-0 space-y-1`},Ve={class:`text-xs font-semibold text-foreground leading-none`},He={class:`text-[11px] leading-none leading-4 !text-[brown]`},Ue={class:`mt-4 flex items-center justify-end gap-2`},We={class:`mt-4 flex items-center justify-end gap-2`},Ge=`pricing-clear-skip:`,Ke=`pricing-force-default:`,qe=5e3,x=Te(re({__name:`Summary`,props:{contractId:{},contractName:{},projectInfoKey:{}},setup(Te){let x=Te,Je=Ee(),S=De(),Ye=se(),{t:C,locale:w}=oe(),Xe=o(()=>x.projectInfoKey||`xm-base-info-v1`),T={excludeInvestmentCostAndAreaRows:!0},E=f(``),D=e=>typeof e==`boolean`?e:null,O=(e,t=!0)=>typeof e==`boolean`?e:t,k={scale:!0,onlyCostScale:!1,amount:!0,workDay:!0},A=o(()=>{let e=E.value;return e?xe().map(({id:e,item:t})=>({id:e,item:t})).filter(({item:t})=>!!((t?.code||t?.ref)&&t?.name)&&t.defCoe!==null&&Ce(t,Se(e))).map(({id:e,item:t})=>({id:e,code:t.code||t.ref||``,name:t.name,process:t.process,type:{scale:D(t.scale),onlyCostScale:D(t.onlyCostScale),amount:D(t.amount),workDay:D(t.workDay)}})):[]}),j=o(()=>new Map(A.value.map(e=>[e.id,e])));o(()=>new Map(A.value.map(e=>[e.code,e.id])));let Ze=o(()=>A.value.map(e=>e.id).join(`|`)),M={id:`fixed-budget-c`,code:``,name:C(`htZxFw.subtotal`)},N=e=>e?.id===M.id,Qe=e=>({id:String(e.id||``),code:e.code||``,name:e.name||``,process:String(e.id||``)===M.id?null:e.process??null,investScale:typeof e.investScale==`number`?e.investScale:null,landScale:typeof e.landScale==`number`?e.landScale:null,serviceFee:typeof e.serviceFee==`number`?e.serviceFee:null,hourly:typeof e.hourly==`number`?e.hourly:null,subtotal:typeof e.subtotal==`number`?e.subtotal:null,finalFee:typeof e.finalFee==`number`?e.finalFee:null,remark:String(e.remark||``),actions:e.actions}),P=f([]),F=o(()=>S.contracts[x.contractId]?.selectedIds||[]),I=o(()=>P.value),L=()=>{let e=S.getContractState(x.contractId);return e?{selectedIds:Array.isArray(e.selectedIds)?[...e.selectedIds]:[],selectedCodes:Array.isArray(e.selectedCodes)?[...e.selectedCodes]:[],detailRows:(e.detailRows||[]).map(e=>Qe(e))}:{selectedIds:[],detailRows:[]}},R=async e=>{await S.setContractState(x.contractId,e)},z=ne(null),$e=e=>{z.value=e.api,H()},B=null,V=e=>!!(e&&!e.isDestroyed?.()),et=async()=>{await i();let e=z.value;V(e)&&e.onRowHeightChanged()},H=()=>{B&&clearTimeout(B),B=setTimeout(()=>{B=null,V(z.value)&&et()},0)},tt=e=>{H()},U=f(!1),W=f(null),G=f(!1),K=f(null),nt=o(()=>{if(!W.value)return``;let e=I.value.find(e=>e.id===W.value);if(e)return`${e.code}${e.name}`;let t=j.value.get(W.value);return t?`${t.code}${t.name}`:W.value}),rt=o(()=>{if(!K.value)return``;let e=I.value.find(e=>e.id===K.value);if(e)return`${e.code}${e.name}`;let t=j.value.get(K.value);return t?`${t.code}${t.name}`:K.value}),it=e=>{U.value=e},at=e=>{G.value=e},ot=async()=>{let e=W.value;if(!e)return;let t=I.value.find(t=>t.id===e);if(!t||N(t)){U.value=!1,W.value=null;return}await pt(t),U.value=!1,W.value=null},st=async()=>{let e=K.value;if(!e)return;let t=e.split(`-`)[4];await wt(F.value.filter(e=>e!==t)),G.value=!1,K.value=null},q=(e,t,n=3)=>e==null&&t==null?!0:e==null||t==null?!1:_(e,n)===_(t,n),ct=e=>{let t=j.value.get(e)?.type;return{scale:O(t?.scale,k.scale),onlyCostScale:O(t?.onlyCostScale,k.onlyCostScale),amount:O(t?.amount,k.amount),workDay:O(t?.workDay,k.workDay)}},lt=(e,t)=>{let n=ct(e),r=n.scale,i=r&&!n.onlyCostScale;return{investScale:r?t.investScale:null,landScale:i?t.landScale:null,workload:n.amount?t.workload:null,hourly:n.wLine truncated
-1
View File
@@ -1 +0,0 @@
import{$ as e,At as t,Bt as n,Cr as r,Dt as i,Er as a,H as o,K as ee,Ot as te,Pt as ne,Q as s,U as c,Wn as l,er as u,mn as d,tt as f,yn as p}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as re}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as m}from"./workspace-DxKKyh8w.js";import{d as h}from"./decimal-D3bp1pbs.js";import{dt as g,ft as _,gt as v,ht as y,lt as b,mt as ie,pt as ae,ut as oe}from"./vendor-ui-B4V4Cf1T.js";import"./numberFormat-jhZZmX17.js";import{g as se,h as x}from"./sql-C69Jo4HU.js";import{t as S}from"./_plugin-vue_export-helper-DUFB50Ey.js";import{C as ce,k as C,n as w}from"./index-CAPJG_im.js";import{t as le}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{n as ue,o as de,r as fe,t as pe}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";var me={class:`h-full min-h-0 xmMx`},he={class:`h-full min-h-0 rounded-2xl border border-border/60 bg-card/90 shadow-sm backdrop-blur-sm`},ge={class:`flex items-center justify-between border-b border-border/60 px-4 py-3`},_e={class:`text-sm font-semibold text-foreground`},T={class:`ag-theme-quartz h-[calc(100%-56px)] min-h-0 w-full`},E={class:`mt-4 flex items-center justify-end gap-2`},D=S(f({__name:`WorkContentGrid`,props:{title:{default:``},storageKey:{},serviceId:{},contractId:{},projectInfoKey:{default:`xm-base-info-v1`},dictMode:{default:`none`}},emits:[`checkedChange`],setup(f,{expose:S,emit:D}){let O=f,k=async()=>await w().query([{field:`type`,value:`${O.contractId}-zxFw`,operator:`eq`}]),A=D,{t:j,locale:M}=m(),N=ce(),P=h(),F=l(null),I=l([]),L=l(!1),R=l([]),ve={...ue,resizable:!0,sortable:!1,filter:!1},z=async()=>{await i();let e=F.value;!e||e.isDestroyed?.()||(L.value&&e.expandAll(),e.refreshClientSideRowModel(`group`),e.refreshCells({force:!0}),e.redrawRows(),setTimeout(()=>{let e=F.value;!e||e.isDestroyed?.()||(L.value&&e.expandAll(),e.refreshCells({force:!0}),e.redrawRows())},16))},B=e=>{let t=Number(e);return Number.isSafeInteger(t)?t:null},ye=e=>{let t=String(e||``).trim();if(!t.startsWith(`dict-`))return``;let n=/^dict-(-?\d+)-(\d+)(?:-|$)/.exec(t);return n?`sid:${n[1]}|order:${n[2]}`:``},V=e=>{let t=ye(e.id);if(t)return t;let n=String(e.content||``).trim(),r=B(e.serviceid),i=Number(e.dictOrder);if(r!=null&&Number.isFinite(i))return`sid:${r}|order:${i}`;if(r!=null)return`sid:${r}|content:${n}`;let a=String(e.serviceGroup||``).trim();return a?`group:${a}|content:${n}`:`content:${n}`},be=async()=>{try{let e=await P.getItem(O.projectInfoKey),t=typeof e?.projectIndustry==`string`?e.projectIndustry.trim():``;if(t.toUpperCase()===`E2`)return 0;if(t.toUpperCase()===`E3`)return 1;if(t.toUpperCase()===`E4`)return 2;let n=Number(t);return Number.isFinite(n)?n:null}catch{return null}},xe=async()=>{let e=[],t=se(M.value),n=[],r=[];if(L.value=!1,R.value=[],O.dictMode===`service`){let e=await be(),i=(await k()).filter(e=>e.id.split(`-`).at(-1)!==`1`&&e.id.split(`-`).at(-1)!==`2`).map(e=>e.id.split(`-`).at(-1)),a={fid:0,industry:e,sid:[`5`,`7`,`17`,`9`,`10`,`11`,`19`,`20`,`21`,`23`,`25`,`26`,`27`,`30`,`31`,`32`,`0`,`1`,`2`,`3`,`4`].filter(e=>i.includes(e))};if(a){r=Array.isArray(a.sid)?a.sid.map(e=>Number(e)).filter(Number.isFinite):[],Number(a.fid),Number(a.industry),[...r];let e=new Set(r);n=t.filter(t=>e.has(Number(t.serviceid))),L.value=r.length>0,R.value=r.map(e=>{let t=x(e);return t?`${String(t.code||``).trim()} ${String(t.name||``).trim()}`.trim():String(e)})}else n=t.filter(e=>e.serviceid===0)}else if(O.dictMode===`additional`)n=t.filter(e=>e.serviceid===-1&&O.storageKey.split(`-`).at(-1)==`2`);else return[];if(L.value){let e=new Map(r.map((e,t)=>[e,t]));n.sort((t,n)=>{let r=e.get(Number(t.serviceid))??2**53-1,i=e.get(Number(n.serviceid))??2**53-1;return r===i?t.order-n.order:r-i})}else n.sort((e,t)=>e.order-t.order);for(let t of n){let n=String(t.text||``).trim();if(!n)continue;let r=t.type===1?j(`workContent.type.optional`):t.type===2?j(`workContent.type.daily`):t.type===3?j(`workContent.type.special`):t.type===4?j(`workContent.type.additional`):j(`workContent.type.basic`),i=x(t.serviceid),a=i?`${String(i.code||``).trim()} ${String(i.name||``).trim()}`.trim():``;e.push({id:`dict-${t.serviceid}-${t.order}`,content:n,type:r,dictOrder:t.order,serviceGroup:a,serviceid:B(t.serviceid),remark:``,checked:!0,custom:!1,path:L.value&&a?[a,n]:[r,n]})}return e},H=l(!1),U=l(null),W=l(``),Se=o(()=>I.value.filter(e=>!Y(e)&&e.checked).map(e=>e.id));S({selectedTexts:o(()=>I.value.filter(e=>!Y(e)&&(e.custom||e.checked)).map(e=>e.content).filter(Boolean))});let G=()=>{A(`checkedChange`,[...Se.value])},K=async()=>{let e={detailRows:X(I.value).map(e=>({...e}))};N.setKeyState(O.storageKey,e),G();let t=e.detailRows.map(e=>({...e,type:`${O.contractId}-workcontent`}));await w().upsertBatch(t)},q=async()=>{Line truncated
@@ -1 +0,0 @@
import{$ as e,Bt as t,Cr as n,Er as r,H as i,K as a,U as o,W as s,Wn as c,er as l,ft as u,mn as d,tt as f,xr as ee}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as p}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as m}from"./workspace-DxKKyh8w.js";import{a as h,d as g,i as _,s as v}from"./decimal-D3bp1pbs.js";import{n as y,r as b}from"./numberFormat-jhZZmX17.js";import{C as x}from"./sql-C69Jo4HU.js";import{C as te,n as S}from"./index-CAPJG_im.js";import{t as ne}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as re,i as ie,o as ae,r as C,t as w}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";import{t as T}from"./xmFactorDefaults-yPGPQ25R.js";import{t as E}from"./pricingPersistControl-DVG_7RF1.js";import{n as oe}from"./pricingScaleCalc-CxdG8IMv.js";import{t as se}from"./pricingScalePaneLifecycle-CUGyrg3j.js";import{t as ce}from"./MethodUnavailableNotice-Cx7GLj7Z.js";const le=e=>[e];var ue={class:`h-full min-h-0 flex flex-col`},de={class:`rounded-lg border bg-card xmMx flex min-h-0 flex-1 flex-col`},fe={class:`flex items-center justify-between border-b px-4 py-3`},pe={class:`text-sm font-semibold text-foreground`},me=`pricing-force-default:`,D=f({__name:`WorkloadPricingPane`,props:{contractId:{},contractName:{},serviceId:{}},setup(D){let O=D,k=te(),{t:A,locale:j}=m(),M=g(),N=i(()=>`gzlF-${O.contractId}-${O.serviceId}`),P=i(()=>`ht-consult-category-factor-v1-${O.contractId}`),F=c(new Map),I=!1,L=c(null),R=()=>F.value.get(String(O.serviceId))??null,z=async()=>{I||=(F.value=await T(P.value),!0)},he=()=>{let e=E(me,N.value),t=sessionStorage.getItem(e);if(!t)return!1;let n=Number(t);return sessionStorage.removeItem(e),Number.isFinite(n)&&Date.now()<=n},ge=()=>k.getServicePricingMethodState(O.contractId,O.serviceId,`serviceFee`),B=i({get:()=>{let e=ge()?.detailRows;return Array.isArray(e)?e:[]},set:e=>{k.setServicePricingMethodState(O.contractId,O.serviceId,`serviceFee`,{detailRows:e})}}),V=e=>e?String(j.value).toLowerCase().startsWith(`en`)&&e.nameEn||e.name:``,_e=e=>{let t=e.unit||``,n=typeof e.minPrice==`number`&&Number.isFinite(e.minPrice),r=typeof e.maxPrice==`number`&&Number.isFinite(e.maxPrice);return n&&r?`${e.minPrice}${t}-${e.maxPrice}${t}`:n?`${e.minPrice}${t}`:r?`${e.maxPrice}${t}`:``},H=()=>{let e=k.getContractState(O.contractId)?.selectedIds,t=[];return e?.forEach((e,n)=>{t.push(...Object.entries(x).filter(([,t])=>Number(t.serviceID)===Number(e)).map(([e])=>Number(e)).filter(Number.isFinite).sort((e,t)=>e-t))}),t},U=i(()=>H().length>0),W=()=>{let e=[],t=H();for(let[n,r]of t.entries()){let t=x[String(r)],n=t?.code||t?.ref||``;if(!n||!t?.name)continue;let i=`${O.contractId}-task-${r}`;e.push({id:i,taskCode:n,taskName:V(t),unit:t.unit||``,conversion:typeof t.conversion==`number`&&Number.isFinite(t.conversion)?t.conversion:null,workload:typeof t.midPrice==`number`&&Number.isFinite(t.midPrice)?t.midPrice:null,basicFee:null,budgetBase:t.basicParam||``,budgetReferenceUnitPrice:null,budgetAdoptedUnitPrice:typeof t.defPrice==`number`&&Number.isFinite(t.defPrice)?t.defPrice:null,consultCategoryFactor:typeof t.highPrice==`number`?t.highPrice:null,serviceFee:null,QuantityBasis:0,ProjectQuantityPhase:0,remark:t.desc||``,type:`task`,path:[i]})}return e},G=e=>e?.id?.startsWith(`task-none-`)??!1,ve=e=>{let t=new Map;for(let n of e||[])t.set(n.id,n);return W().map(e=>{console.log(e);let n=t.get(e.id);if(!n)return e;let r=Object.prototype.hasOwnProperty.call(n,`remark`);Object.prototype.hasOwnProperty.call(n,`consultCategoryFactor`);let i=null,a=null,o=null,s=n.budgetReferenceUnitPrice,c=e.budgetAdoptedUnitPrice,l=e.workload,u=e.consultCategoryFactor;return i=s*c,a=s*l,o=s*u,{...e,workload:typeof n.workload==`number`?n.workload:null,basicFee:typeof n.basicFee==`number`?n.basicFee:null,budgetReferenceUnitPrice:n.budgetReferenceUnitPrice??e.budgetReferenceUnitPrice,budgetAdoptedUnitPrice:1,cLow:i,cMid:a,cHigh:o,QuantityBasis:n.QuantityBasis??0,serviceFee:typeof n.serviceFee==`number`?n.serviceFee:a,remark:typeof n.remark==`string`?n.remark:r?``:e.remark}})},K=e=>b(e,{sanitize:!0,precision:3}),ye=e=>b(e,{sanitize:!0,precision:6}),q=e=>{if(!e||G(e))return null;let t=e.budgetAdoptedUnitPrice,n=e.conversion,r=e.workload;return typeof t!=`number`||!Number.isFinite(t)||typeof n!=`number`||!Number.isFinite(n)||typeof r!=`number`||!Number.isFinite(r)?null:_(v(t).mul(n).mul(r),2)},be=e=>{if(!e||G(e))return null;let t=e.consultCategoryFactor,n=q(e);return n==null||typeof t!=`number`||!Number.isFinite(t)?null:_(v(n).mul(t),2)},J=e=>G(e.data)?A(`workloadPricing.none`):!e.node?.group&&!e.node?.rowPinned&&(e.value==null||e.value===``)?A(`workloadPricing.clickToInput`):e.value==null?``:y(e.value,3),xe=e=>{let t=e?.nodeA?.data,n=e?.nodeB?.data;return!t||!n||G(t)|Line truncated
@@ -1 +0,0 @@
import{Bt as e,H as t,Ot as n,Pt as r,W as i,Wn as a,er as o,tt as s}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as c}from"./workspace-DxKKyh8w.js";import{d as l}from"./decimal-D3bp1pbs.js";import"./numberFormat-jhZZmX17.js";import{m as u,o as d,v as f}from"./sql-C69Jo4HU.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingScaleDetail-CuzzWQVd.js";import"./pricingMethodTotals-DHJf6v89.js";import"./pricingScaleLink-BNsm4Fxd.js";import"./xmFactorDefaults-yPGPQ25R.js";import"./zxFwPricingSync-PWsfNukj.js";import{t as p}from"./XmFactorGrid-DLfcqkt0.js";var m=`xm-base-info-v1`,h=s({__name:`XmConsultCategoryFactor`,setup(s){let h=a(``),g=l(),{t:_}=c(),v=async()=>{try{let e=await g.getItem(m);h.value=typeof e?.projectIndustry==`string`?e.projectIndustry.trim():``}catch(e){console.error(`loadProjectIndustry failed:`,e),h.value=``}},y=t(()=>{let e=h.value;if(!e)return{};let t=u().filter(({item:t})=>f(t,d(e))).map(({id:e,item:t})=>[e,t]);return Object.fromEntries(t)});return r(()=>{v()}),n(()=>{v()}),(t,n)=>(e(),i(p,{title:o(_)(`htFactors.consultCategoryTitle`),"storage-key":`xm-consult-category-factor-v1`,dict:y.value,"disable-budget-edit-when-standard-null":!0,"exclude-notshow-by-zxflxs":!0,"init-budget-value-from-standard":!0},null,8,[`title`,`dict`]))}});export{h as default};
-1
View File
@@ -1 +0,0 @@
import{$ as e,At as t,Bt as n,Cr as r,Er as i,H as a,K as ee,Pt as te,U as o,Wn as s,er as c,mn as ne,tt as l,xr as u}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as d}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import{D as f}from"./workspace-DxKKyh8w.js";import{d as p}from"./decimal-D3bp1pbs.js";import{r as m}from"./numberFormat-jhZZmX17.js";import{C as re,n as ie}from"./index-CAPJG_im.js";import{t as ae}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as oe,i as se,o as h,r as g,t as ce}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";import{t as _}from"./zxFwPricingSync-PWsfNukj.js";var v={class:`h-full min-h-0 flex flex-col`},y={class:`rounded-lg border bg-card xmMx flex min-h-0 flex-1 flex-col`},b={class:`flex items-center justify-between border-b px-4 py-3`},x={class:`text-sm font-semibold text-foreground`},S=l({__name:`XmFactorGrid`,props:{title:{},storageKey:{},parentStorageKey:{},dict:{},disableBudgetEditWhenStandardNull:{type:Boolean},excludeNotshowByZxflxs:{type:Boolean},initBudgetValueFromStandard:{type:Boolean}},setup(l){let S=l,{t:C}=f(),w=re(),le=p(),T=s([]),E=s(null),D=a(()=>`${S.storageKey}-change`),O=e=>{if(e==null||e===``)return``;let t=m(e,{precision:3});return t==null?``:t.toFixed(3)},k=e=>{if(e.value==null||e.value===``)return C(`xmFactorGrid.clickToInput`);let t=m(e.value,{precision:3});return t==null?``:t.toFixed(3)},A=()=>Object.entries(S.dict).filter(e=>{let t=e[1];return!(!t?.code||!t?.name||S.excludeNotshowByZxflxs&&t.notshowByzxflxs===!0)}).sort((e,t)=>{let n=Number(e[1]?.order),r=Number(t[1]?.order);return Number.isFinite(n)&&Number.isFinite(r)&&n!==r?n-r:Number.isFinite(n)&&!Number.isFinite(r)?-1:!Number.isFinite(n)&&Number.isFinite(r)?1:String(e[1]?.code||e[0]).localeCompare(String(t[1]?.code||t[0]))}),j=()=>{let e=A(),t=new Map;for(let[n,r]of e)t.set(r.code,n);return e.map(([e,t])=>{let n=typeof t.defCoe==`number`&&Number.isFinite(t.defCoe)?t.defCoe:null;return{id:e,code:t.code,name:t.name,standardFactor:n,budgetValue:S.initBudgetValueFromStandard?n:null,remark:``,path:[]}})},M=e=>Array.isArray(e)&&e.some(e=>{let t=typeof e?.budgetValue==`number`&&Number.isFinite(e.budgetValue),n=typeof e?.remark==`string`&&e.remark.trim()!==``;return t||n}),N=e=>{let t=new Map;for(let n of e||[])t.set(n.id,n);return j().map(e=>{let n=t.get(e.id);if(!n)return e;let r=Object.prototype.hasOwnProperty.call(n,`budgetValue`),i=Object.prototype.hasOwnProperty.call(n,`remark`);return{...e,budgetValue:typeof n.budgetValue==`number`?n.budgetValue:r?null:e.budgetValue,remark:typeof n.remark==`string`?n.remark:i?``:e.remark}})},P=[{headerName:C(`xmFactorGrid.columns.projectname`),field:`name`,minWidth:86,maxWidth:300,headerClass:`ag-right-aligned-header`,flex:2},{headerName:C(`xmFactorGrid.columns.standardFactor`),field:`standardFactor`,type:`numericColumn`,cellClass:`ag-right-aligned-cell`,minWidth:86,maxWidth:100,headerClass:`ag-right-aligned-header`,flex:.9,cellClassRules:{"ag-right-aligned-cell":()=>!0},valueFormatter:e=>O(e.value)},{headerName:C(`xmFactorGrid.columns.budgetValue`),field:`budgetValue`,minWidth:86,maxWidth:100,headerClass:`ag-right-aligned-header`,cellClass:e=>S.disableBudgetEditWhenStandardNull&&e.data?.standardFactor==null?``:`editable-cell-line`,flex:.9,cellClassRules:{"ag-right-aligned-cell":()=>!0,"editable-cell-empty":e=>!(S.disableBudgetEditWhenStandardNull&&e.data?.standardFactor==null)&&(e.value==null||e.value===``)},editable:e=>S.disableBudgetEditWhenStandardNull?e.data?.standardFactor!=null:!0,valueParser:e=>m(e.newValue,{precision:3}),valueFormatter:e=>S.disableBudgetEditWhenStandardNull&&e.data?.standardFactor==null&&(e.value==null||e.value===``)?``:k(e)},{headerName:C(`xmFactorGrid.columns.remark`),field:`remark`,minWidth:170,flex:2.4,cellEditor:`agLargeTextCellEditor`,wrapText:!0,autoHeight:!0,cellStyle:{whiteSpace:`normal`,lineHeight:`1.4`},editable:!0,valueFormatter:e=>e.value||C(`xmFactorGrid.clickToInput`),cellClass:` remark-wrap-cell`,cellClassRules:{"editable-cell-empty":e=>e.value==null||e.value===``}}],F=a(()=>ce(P)),I={headerName:C(`xmFactorGrid.columns.code`),flex:.5,width:100,cellRendererParams:{suppressCount:!0},valueFormatter:e=>{if(e.data?.code&&e.data?.name)return`${e.data.code}`;let t=String(e.node?.key||``),n=S.dict[t];return n?`${n.code} ${n.name}`:``}},L=async()=>{try{let e={detailRows:JSON.parse(JSON.stringify(T.value))};w.setKeyState(S.storageKey,e);let t=T.value.map(e=>({...e,type:`${S.storageKey}-factor`})),n=await ie().upsertBatch(t);console.log(`💾 数据保存成功:`,n)}catch(e){console.error(`saveToIndexedDB failed:`,e)}},R=e=>{let t=m(e,{precision:6});return typeof t==`number`&&Number.isFinite(t)?t:null},z=(e,t)=>{let n=R(e),r=R(t);return n==null&&r==null?!0:n==null||r==null?!1:n===r},B=e=>{let t=/^ht-Line truncated
-1
View File
@@ -1 +0,0 @@
import{Bt as e,H as t,Ot as n,Pt as r,W as i,Wn as a,er as o,tt as s}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as c}from"./workspace-DxKKyh8w.js";import{d as l}from"./decimal-D3bp1pbs.js";import"./numberFormat-jhZZmX17.js";import{c as u,y as d}from"./sql-C69Jo4HU.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingScaleDetail-CuzzWQVd.js";import"./pricingMethodTotals-DHJf6v89.js";import"./pricingScaleLink-BNsm4Fxd.js";import"./xmFactorDefaults-yPGPQ25R.js";import"./zxFwPricingSync-PWsfNukj.js";import{t as f}from"./XmFactorGrid-DLfcqkt0.js";var p=`xm-base-info-v1`,m=s({__name:`XmMajorFactor`,setup(s){let m=a(``),h=a(!1),g=l(),{t:_}=c(),v=async()=>{try{let e=await g.getItem(p);h.value=!!e,m.value=typeof e?.projectIndustry==`string`?e.projectIndustry.trim():``}catch(e){console.error(`loadProjectIndustry failed:`,e),h.value=!1,m.value=``}},y=t(()=>{let e=m.value;if(!e)return{};let t=u().filter(({id:t})=>d(t,e)).map(({id:e,item:t})=>[e,t]);return Object.fromEntries(t)});return r(()=>{v()}),n(()=>{v()}),(t,n)=>(e(),i(f,{title:o(_)(`htFactors.majorTitle`),"storage-key":`xm-major-factor-v1`,dict:y.value,"disable-budget-edit-when-standard-null":!0,"exclude-notshow-by-zxflxs":!0,"init-budget-value-from-standard":!0},null,8,[`title`,`dict`]))}});export{m as default};
-2
View File
@@ -1,2 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./HourlyPricingPane-WkG9QINp.js","./workspace-DxKKyh8w.js","./rolldown-runtime-fVNAxIxX.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js","./vendor-ag-grid~index~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeL~h29xz5eu-CW8VCi7z.js","./vendor-vue-CSlAvuUs.js","./sql-C69Jo4HU.js","./decimal-D3bp1pbs.js","./numberFormat-jhZZmX17.js","./HourlyFeeGrid-DixkKG6W.js","./_plugin-vue_export-helper-DUFB50Ey.js","./index-CAPJG_im.js","./vendor-ui-B4V4Cf1T.js","./vendor-ag-grid~index-Ch1jbN8D.js","./utils-DFe0HVk9.js","../css/index-CI_Unp5q.css","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js","./agGridReadonlyAutoHeight-BpRhYCq1.js","../css/HourlyFeeGrid-B40FytkG.css","./pricingPersistControl-DVG_7RF1.js","./InvestmentScalePricingPane-CSaa1AOt.js","./pricingScaleCalc-CxdG8IMv.js","./pricingScaleDetail-CuzzWQVd.js","./pricingScaleGrid-BCsr0Q1x.js","./pricingScaleLink-BNsm4Fxd.js","./pricingScaleProject-DnXeytCB.js","./pricingScalePaneLifecycle-CUGyrg3j.js","./xmFactorDefaults-yPGPQ25R.js","./LandScalePricingPane-DgT-hiGV.js","./OtherService-I-FCHt--.js","../css/OtherService-poy4GwCf.css","./ScaleFormulaReadonlyPane-LcS4i8Fj.js","./ScaleFormulaReadonlyPane-AeIzjaXU.js","./WorkloadPricingPane-DgYywEPP.js","./MethodUnavailableNotice-Cx7GLj7Z.js","./WorkContentGrid-nNmx9oMr.js","../css/WorkContentGrid-B4nOYGuK.css"])))=>i.map(i=>d[i]);
import{Bt as e,H as t,Rn as n,W as r,er as i,et as a,ft as o,tt as s}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as c}from"./workspace-DxKKyh8w.js";import"./decimal-D3bp1pbs.js";import"./vendor-ui-B4V4Cf1T.js";import"./numberFormat-jhZZmX17.js";import"./sql-C69Jo4HU.js";import{t as l}from"./index-CAPJG_im.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingScaleLink-BNsm4Fxd.js";import{t as u}from"./_rolldown_dynamic_import_helper-CwdEGLFc.js";import{t as d}from"./typeLine-BCKblICF.js";import"./pricingScaleGrid-BCsr0Q1x.js";import{t as f}from"./ScaleFormulaReadonlyPane-AeIzjaXU.js";import{t as p}from"./MethodUnavailableNotice-Cx7GLj7Z.js";var m=s({__name:`ZxFwView`,props:{contractId:{},contractName:{},serviceId:{},fwName:{},type:{},projectInfoKey:{}},setup(m){let h=m;console.log(h.contractId);let{t:g}=c(),_=(e,t=!0)=>typeof e==`boolean`?e:t,v=t(()=>{let e=_(h.type?.scale,!0),t=_(h.type?.onlyCostScale,!1),n=_(h.type?.amount,!0),r=_(h.type?.workDay,!0);return{investmentScale:e,landScale:e&&!t,workload:n,hourly:r}}),y=e=>n(s({name:e,setup(){let t=a({loader:()=>u(Object.assign({"../../pricing/components/HourlyPricingPane.vue":()=>l(()=>import(`./HourlyPricingPane-WkG9QINp.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url),"../../pricing/components/InvestmentScalePricingPane.vue":()=>l(()=>import(`./InvestmentScalePricingPane-CSaa1AOt.js`),__vite__mapDeps([21,12,11,2,13,3,4,5,1,6,7,8,9,14,15,16,17,18,20,22,23,24,25,26,27,28]),import.meta.url),"../../pricing/components/LandScalePricingPane.vue":()=>l(()=>import(`./LandScalePricingPane-DgT-hiGV.js`),__vite__mapDeps([29,12,11,2,13,3,4,5,1,6,7,8,9,14,15,16,17,18,22,23,24,25,26,27,28]),import.meta.url),"../../pricing/components/OtherService.vue":()=>l(()=>import(`./OtherService-I-FCHt--.js`),__vite__mapDeps([30,11,12,2,13,3,4,5,1,6,7,8,9,14,15,16,17,18,20,31]),import.meta.url),"../../pricing/components/ScaleFormulaReadonlyPane.vue":()=>l(()=>import(`./ScaleFormulaReadonlyPane-LcS4i8Fj.js`),__vite__mapDeps([32,1,2,3,4,5,6,7,8,9,33,12,11,13,14,15,16,17,18,24,25]),import.meta.url),"../../pricing/components/WorkloadPricingPane.vue":()=>l(()=>import(`./WorkloadPricingPane-DgYywEPP.js`),__vite__mapDeps([34,12,11,2,13,3,4,5,1,6,7,8,9,14,15,16,17,35,18,20,22,27,28]),import.meta.url)}),`../../pricing/components/${e}.vue`,5),onError:e=>{console.error(`load PricingMethodView failed:`,e)}});return()=>o(t,{contractId:h.contractId,contractName:h.contractName,serviceId:h.serviceId,projectInfoKey:h.projectInfoKey})}})),b=(e,t)=>n(s({name:`MethodUnavailablePane`,setup(){return()=>o(p,{title:e,message:t})}})),x=y(`InvestmentScalePricingPane`),S=y(`LandScalePricingPane`),C=y(`WorkloadPricingPane`),w=y(`HourlyPricingPane`),T=y(`OtherService`),E=(e,t)=>n(s({name:t,setup(){return()=>o(f,{contractId:h.contractId,serviceId:h.serviceId,method:e})}}));E(`investScale`,`InvestmentScaleFormulaPane`),E(`landScale`,`LandScaleFormulaPane`);let D=n(s({name:`WorkContentPane`,setup(){let e=a({loader:()=>l(()=>import(`./WorkContentGrid-nNmx9oMr.js`),__vite__mapDeps([36,11,12,2,13,3,4,5,1,6,7,8,9,14,15,16,17,18,37]),import.meta.url),onError:e=>{console.error(`load WorkContentGrid failed:`,e)}});return()=>o(e,{title:g(`zxFwView.workContentTitle`),storageKey:`work-content-${h.contractId}-${h.serviceId}`,contractId:h.contractId,projectInfoKey:h.projectInfoKey,serviceId:h.serviceId,dictMode:`service`,"show-no-column":!0})}})),O=b(g(`zxFwView.unavailable.investmentScaleTitle`),g(`zxFwView.unavailable.investmentScaleMessage`)),k=b(g(`zxFwView.unavailable.landScaleTitle`),g(`zxFwView.unavailable.landScaleMessage`)),A=b(g(`zxFwView.unavailable.workloadTitle`),g(`zxFwView.unavailable.workloadMessage`)),j=b(g(`zxFwView.unavailable.hourlyTitle`),g(`zxFwView.unavailable.hourlyMessage`)),M=t(()=>[{key:`investment-scale-method`,label:g(`zxFwView.categories.investmentScale`),component:v.value.investmentScale?x:O},{key:`land-scale-method`,label:g(`zxFwView.categories.landScale`),component:v.value.landScale?S:k},{key:`workload-method`,label:g(`zxFwView.categories.workload`),component:v.value.workload?C:A},{key:`hourly-method`,label:g(`zxFwView.categories.hourly`),component:v.value.hourly?w:j},{key:`work-content`,label:g(`zxFwView.categories.workContent`),component:D},{key:`other-service`,label:g(`zxFwView.categories.otherservice`),component:T}]),N=t(()=>{let e=v.value;return e.investmentScale?`investment-scale-method`:e.landScale?`land-scale-method`:e.workload?`workload-method`:e.hourly?`hourly-method`:`work-content`});return(t,n)=>(e(),r(d,{scene:`zxfw-pricing-tab`,title:`${m.contractName?`${i(g)(`zxFwView.contractPrefix`,{name:m.contractName})} · `:``}${m.fwName}${i(g)(`zxFwView.calcSuffix`)}`,subtitle:i(g)(`zxFwView.cont Line truncated
@@ -1 +0,0 @@
var e=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};export{e as t};
@@ -1 +0,0 @@
var e=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})};export{e as t};
@@ -1 +0,0 @@
import{nr as e}from"./vendor-ag-grid~index~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeL~h29xz5eu-CW8VCi7z.js";var t={style:`solid`,width:.3,color:`var(--border)`};const n=e.withParams({wrapperBorder:!1,wrapperBorderRadius:0,headerBackgroundColor:`var(--muted)`,headerTextColor:`var(--foreground)`,headerFontSize:15,headerFontWeight:`normal`,rowBorder:t,columnBorder:t,headerRowBorder:t,dataBackgroundColor:`var(--card)`}),r=`ag-theme-quartz h-full min-h-0 w-full flex-1`,i={height:`100%`};var a=[`amount`,`area`,`cost`,`price`,`fee`,`budget`,`subtotal`,`total`,`ratio`,`rate`,`quantity`,`count`,`num`,`workday`,`workload`,`hourly`,`investscale`,`landscale`,`scale`,`finalfee`,`value`,`coe`,`factor`],o=e=>{let t=e?.value;if(typeof t==`number`&&Number.isFinite(t))return!0;let n=String(e?.colDef?.field||e?.column?.getColId?.()||``).toLowerCase();return n?a.some(e=>n.includes(e)):!1},s=e=>e.key===`Enter`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,c=(e,t)=>{let n=e.column;for(let r=t+1;r<e.api.getDisplayedRowCount();r+=1){let t=e.api.getDisplayedRowAtIndex(r);if(!(!t||t.group||t.rowPinned)&&n.isCellEditable(t))return{rowIndex:r,rowPinned:t.rowPinned??null,column:n}}return null},l=(e,t)=>{let n=t||{rowIndex:e.node.rowIndex??0,rowPinned:e.node.rowPinned??null,column:e.column};window.setTimeout(()=>{e.api.isDestroyed?.()||(e.api.ensureIndexVisible(n.rowIndex),e.api.setFocusedCell(n.rowIndex,n.column,n.rowPinned))},0)},u=e=>{if(!s(e.event)||e.event.defaultPrevented||e.event.isComposing)return!1;e.event.preventDefault(),e.event.stopPropagation(),e.api.stopEditing();let t=e.node.rowIndex;return t==null?(l(e,null),!0):(l(e,c(e,t)),!0)},d=e=>{!e||e.isDestroyed?.()||setTimeout(()=>{!e||e.isDestroyed?.()||(e.onRowHeightChanged(),e.refreshCells({force:!0}),e.redrawRows())},0)};const f={resizable:!0,sortable:!1,filter:!1,wrapHeaderText:!0,autoHeaderHeight:!0,suppressKeyboardEvent:u,cellClassRules:{"ag-right-aligned-cell":e=>o(e)}},p={treeData:!0,animateRows:!0,tooltipShowMode:`whenTruncated`,suppressAggFuncInHeader:!0,singleClickEdit:!0,stopEditingWhenCellsLoseFocus:!0,suppressClickEdit:!1,suppressContextMenu:!1,groupDefaultExpanded:-1,suppressFieldDotNotation:!0,enterNavigatesVertically:!0,enterNavigatesVerticallyAfterEdit:!0,getRowId:e=>{let t=e.data?.id;if(t!=null&&String(t).trim())return String(t);let n=Array.isArray(e.data?.path)?e.data.path.map(e=>String(e??``).trim()).filter(Boolean):[];return n.length>0?n.join(`/`):`__row__`},getDataPath:e=>{let t=Array.isArray(e?.path)?e.path.map(e=>String(e??``).trim()).filter(Boolean):[];return t.length>0?t:[String(e?.id??``).trim()||`__row__`]},getContextMenuItems:()=>[`copy`,`paste`,`separator`,`export`],defaultColDef:f,defaultColGroupDef:{wrapHeaderText:!0,autoHeaderHeight:!0},onFirstDataRendered:e=>{d(e.api)},onRowDataUpdated:e=>{d(e.api)},onGridSizeChanged:e=>{d(e.api)},onColumnResized:e=>{d(e.api)}};var m=[`amount`,`area`,`cost`,`price`,`fee`,`budget`,`subtotal`,`total`,`ratio`,`rate`,`quantity`,`count`,`num`,`workday`,`workload`,`hourly`,`scale`,`value`,`coe`,`factor`],h=e=>typeof e==`number`&&Number.isFinite(e),g=e=>{if(typeof e!=`string`)return!1;let t=e.replace(/[,\s]/g,``).replace(/%$/,``);if(!t)return!1;let n=Number(t);return Number.isFinite(n)},_=e=>{let t=String(e.field??e.colId??``).toLowerCase(),n=t?m.some(e=>t.includes(e)):!1,r=e.type,i=(Array.isArray(r)?r:r?[r]:[]).some(e=>{let t=String(e).toLowerCase();return t.includes(`numeric`)||t.includes(`rightaligned`)});return n||e.cellDataType===`number`||i},v=e=>typeof e==`string`?e.includes(`ag-right-aligned-header`):Array.isArray(e)?e.some(e=>String(e).includes(`ag-right-aligned-header`)):!1,y=(e,t)=>{if(!t)return e.headerClass;let n=e.headerClass;return n?v(n)?n:typeof n==`function`?e=>{let t=n(e);return t?typeof t==`string`?t.includes(`ag-right-aligned-header`)?t:`${t} ag-right-aligned-header`:Array.isArray(t)?v(t)?t:[...t,`ag-right-aligned-header`]:`ag-right-aligned-header`:`ag-right-aligned-header`}:typeof n==`string`?`${n} ag-right-aligned-header`:Array.isArray(n)?[...n,`ag-right-aligned-header`]:n:`ag-right-aligned-header`},b=(e,t)=>{if(!t)return e.cellClassRules;let n=e.cellClassRules?{...e.cellClassRules}:{};return n[`ag-right-aligned-cell`]||=e=>_(e.colDef)||h(e.value)||g(e.value),n},x=e=>{let t={whiteSpace:`normal`,lineHeight:`1.4`};return e?typeof e==`function`?n=>{let r=e(n);return r&&typeof r==`object`?{...r,...t}:t}:typeof e==`object`?{...e,...t}:e:t},S=e=>{let t=e.editable,n=t==null||t===!1,r=_(e);return n?{...e,headerClass:y(e,r),cellClassRules:b(e,r),wrapText:!0,autoHeight:!0,cellStyle:x(e.cellStyle)}:{...e,headerClass:y(e,r),cellClassRules:b(e,r)}},C=e=>{let t=e;return Array.isArray(t.children)?{...t,children:t.children.map(e=>C(e))}:S(e)};const w=e=>e.map(e=>C(e));export{p as a,r as i,f as n,n as o,i as r,w as t};
-1
View File
@@ -1 +0,0 @@
import{o as e}from"./rolldown-runtime-fVNAxIxX.js";import{Wn as t}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{r as n}from"./vendor-vue-CSlAvuUs.js";import{O as r,T as i,_ as a,v as o}from"./workspace-DxKKyh8w.js";var s=`jgjs-project-registry-v1`,c=()=>new Date().toISOString(),l=new Map,u=()=>[],d=e=>{if(!e||typeof e!=`object`)return null;let t=a(e.id),n=String(e.name||``).trim()||(t===`quick`?i.global.t(`quickCalc.projectName`):i.global.t(`tab.messages.projectNamePrefix`,{id:t})),r=typeof e.createdAt==`string`&&e.createdAt?e.createdAt:c(),o=typeof e.updatedAt==`string`&&e.updatedAt?e.updatedAt:r;return{id:t,name:n,createdAt:r,updatedAt:o,lastOpenedAt:typeof e.lastOpenedAt==`string`&&e.lastOpenedAt?e.lastOpenedAt:o}},f=()=>{try{let e=localStorage.getItem(s);if(!e)return{projects:u()};let t=JSON.parse(e),n=Array.isArray(t?.projects)?t.projects.map(e=>d(e)).filter(e=>!!e):[];return n.length===0?{projects:u()}:{projects:n}}catch{return{projects:u()}}},p=e=>{localStorage.setItem(s,JSON.stringify(e))};const m=()=>f().projects.filter(e=>e.id!==`quick`&&e.id!==`default`).slice().sort((e,t)=>new Date(t.lastOpenedAt).getTime()-new Date(e.lastOpenedAt).getTime()),h=(e,t,n)=>{let r=a(e);if(r===`quick`||r===`default`)return;let o=String(t||``).trim(),s=f(),l=c(),u=n?.touchUpdatedAt===!0,d=n?.touchLastOpenedAt!==!1,m=s.projects.findIndex(e=>e.id===r);if(m<0)s.projects.push({id:r,name:o||(r===`quick`?i.global.t(`quickCalc.projectName`):i.global.t(`tab.messages.projectNamePrefix`,{id:r})),createdAt:l,updatedAt:l,lastOpenedAt:l});else{let e=s.projects[m];s.projects[m]={...e,name:o||e.name,updatedAt:u?l:e.updatedAt,lastOpenedAt:d?l:e.lastOpenedAt}}p(s)},g=(e,t)=>{let n=a(e);if(n===`quick`||n===`default`)return!1;let r=Math.max(0,Number(t?.throttleMs??5e3)),i=Date.now(),o=l.get(n)??0;if(r>0&&i-o<r)return!1;let s=f(),u=s.projects.findIndex(e=>e.id===n);if(u<0)return!1;let d=c(),m=s.projects[u];return s.projects[u]={...m,updatedAt:d,lastOpenedAt:d},p(s),l.set(n,i),!0},_=e=>{let t=f(),n=c(),r=``;do r=a(`p-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,6)}`);while(t.projects.some(e=>e.id===r));let o=String(e||``).trim()||i.global.t(`tab.messages.projectNamePrefix`,{id:t.projects.length+1}),s={id:r,name:o,createdAt:n,updatedAt:n,lastOpenedAt:n};return t.projects.push(s),p(t),s},v=e=>{let t=a(e);if(t===`quick`||t===`default`)return!1;let n=f(),r=n.projects.filter(e=>e.id!==t);return r.length===n.projects.length?!1:(n.projects=r,p(n),!0)};var y=e(r(),1),b={driver:y.default.INDEXEDDB,name:`DB`,version:1,description:`pinia persisted storage`,storeName:`pinia-storage`,debounce:300},x=null,S=new Map,C=(e,t,n)=>e===`single`?(x||=y.default.createInstance({...b,...n}),x):(S.has(t)||S.set(t,y.default.createInstance({...b,...n,storeName:t})),S.get(t)),w=e=>e?e===!0?{}:e:null,T=e=>{if(typeof e==`string`)return e.trim();if(Array.isArray(e))return e.map(e=>T(e));if(e&&typeof e==`object`){let t={};for(let[n,r]of Object.entries(e))t[n]=T(r);return t}return e},E=new Map;const D=e=>{let t=E.get(e);if(t)return t;let n=new Promise(e=>{});return E.set(e,n),n};var O=e=>{let{mode:t=`single`,debounce:n=300,...r}={...b,...e||{}};return e=>{let i=w(e.options.persist);if(!i)return;let a=e.store.$id,s=a!==`tabs`,c=r.storeName||b.storeName||`pinia-storage`,l=t===`multiple`?`${c}-${a}`:c,u=i.key||(t===`single`?`${c}-${a}`:l),d=C(t,l,r),f=i.debounce??n,p=null,m=!1,h=!1,_=e=>{let t=JSON.parse(JSON.stringify(e));return d.setItem(u,T(t))},v=()=>{if(!s)return;let e=o();!e||e===`quick`||g(e)},y=e.store;y.$persistNow=async()=>{p&&=(clearTimeout(p),null);try{await _(e.store.$state),v()}catch(e){console.error(`pinia persist failed:`,e)}},y.$clearPersisted=async()=>{p&&=(clearTimeout(p),null);try{await d.removeItem(u)}catch(e){console.error(`pinia clear persisted failed:`,e)}},e.store.$subscribe((e,t)=>{m||(h=!0,p&&clearTimeout(p),p=setTimeout(()=>{_(t).then(()=>{v()}).catch(e=>{console.error(`pinia persist failed:`,e)})},Math.max(0,f)))},{detached:!0});let x,S=new Promise(e=>{x=e});E.set(a,S),m=!0,d.getItem(u).then(t=>{!t||typeof t!=`object`||h||e.store.$patch(t)}).catch(e=>{console.error(`pinia hydrate failed:`,e)}).finally(()=>{m=!1,x()})}},k=e=>JSON.parse(JSON.stringify(e));const A=n(`kv`,()=>{let e=t({}),n=t(!1),r=t(null),i=!1,a=null,o=async()=>{if(!n.value){if(r.value){await r.value;return}r.value=(async()=>{i||(a||=D(`kv`).catch(()=>void 0).finally(()=>{i=!0,a=null}),await a),n.value=!0})(),await r.value,r.value=null}};return{entries:e,ready:n,ensureReady:o,getItem:async t=>{await o();let n=String(t||``).trim();return!n||!Object.prototype.hasOwnProperty.call(e.value,n)?null:k(e.value[n])},setItem:async(t,n)=>{await o();let r=String(t||``).trim();r&&(e.value[r]=k(n))},removeItem:async t=>{await o();let n=String(t||``).trim();n&&delete e.value[n]},keys:async()=>(await o(),Object.keys(e.value)),clear:async()=>{await o(),e.value={}},exportEntries:async()=>(await o(),Line truncated
-2
View File
@@ -1,2 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./htInfo-CG7BX4yR.js","./vendor-ui-B4V4Cf1T.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js","./rolldown-runtime-fVNAxIxX.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js","./vendor-ag-grid~index~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeL~h29xz5eu-CW8VCi7z.js","./workspace-DxKKyh8w.js","./vendor-vue-CSlAvuUs.js","./sql-C69Jo4HU.js","./decimal-D3bp1pbs.js","./numberFormat-jhZZmX17.js","./xmCommonAgGrid-BG93CJjo.js","./index-CAPJG_im.js","./_plugin-vue_export-helper-DUFB50Ey.js","./vendor-ag-grid~index-Ch1jbN8D.js","./utils-DFe0HVk9.js","../css/index-CI_Unp5q.css","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js","./agGridReadonlyAutoHeight-BpRhYCq1.js","./zxFwPricingSync-PWsfNukj.js","./pricingMethodTotals-DHJf6v89.js","./pricingScaleDetail-CuzzWQVd.js","./pricingScaleLink-BNsm4Fxd.js","./xmFactorDefaults-yPGPQ25R.js","./zxFw-DbWORAVD.js","./pricingPersistControl-DVG_7RF1.js","../css/zxFw-DDsbfp-i.css","./Summary-D2760-WG.js","../css/Summary--MyM5xaL.css","./HtConsultCategoryFactor-BL-_RuEP.js","./XmFactorGrid-DLfcqkt0.js","./HtMajorFactor-BGiZtv7N.js","./HtBaseInfo-BIDe7GmZ.js","./HtAdditionalWorkFee-D3Q2A_Au.js","./HtFeeMethodGrid-BpYIiL-T.js","./HtReserveFee-CYFWEZzy.js","./HtContractSummary-DUViaUv0.js","../css/HtContractSummary-oEzQmM2a.css","./HourlyPricingPane-WkG9QINp.js","./HourlyFeeGrid-DixkKG6W.js","../css/HourlyFeeGrid-B40FytkG.css","./InvestmentScalePricingPane-CSaa1AOt.js","./pricingScaleCalc-CxdG8IMv.js","./pricingScaleGrid-BCsr0Q1x.js","./pricingScaleProject-DnXeytCB.js","./pricingScalePaneLifecycle-CUGyrg3j.js","./LandScalePricingPane-DgT-hiGV.js","./OtherService-I-FCHt--.js","../css/OtherService-poy4GwCf.css","./ScaleFormulaReadonlyPane-LcS4i8Fj.js","./ScaleFormulaReadonlyPane-AeIzjaXU.js","./WorkloadPricingPane-DgYywEPP.js","./MethodUnavailableNotice-Cx7GLj7Z.js","./WorkContentGrid-nNmx9oMr.js","../css/WorkContentGrid-B4nOYGuK.css"])))=>i.map(i=>d[i]);
import{At as e,Bt as t,H as n,Ot as r,Pt as i,Rn as a,W as o,Wn as s,er as c,et as l,ft as u,mn as d,tt as f}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as p}from"./workspace-DxKKyh8w.js";import{c as m,i as h,o as g}from"./decimal-D3bp1pbs.js";import"./vendor-ui-B4V4Cf1T.js";import{t as _}from"./numberFormat-jhZZmX17.js";import{C as v,t as y}from"./index-CAPJG_im.js";import{t as b}from"./_rolldown_dynamic_import_helper-CwdEGLFc.js";import{t as x}from"./typeLine-BCKblICF.js";var S=f({__name:`htCard`,props:{contractId:{},contractName:{},projectInfoKey:{},projectScaleKey:{},projectConsultCategoryFactorKey:{},projectMajorFactorKey:{}},setup(S){let C=S,{t:w}=p(),T=v(),E=s(null),D=n(()=>`project-active-cat-${C.contractId}`),O=null,k=e=>typeof e==`number`&&Number.isFinite(e)?`${_(e,2)} ${w(`htCard.currencySuffix`)}`:`--`,A=e=>{let t=Array.isArray(e?.detailRows)?e.detailRows:[];if(t.length===0)return null;let n=!1,r=0;for(let e of t){let t=m(e?.serviceBudget);if(t!=null){r+=t,n=!0;continue}let i=m(e?.adoptedBudgetUnitPrice),a=m(e?.personnelCount),o=m(e?.workdayCount);i==null||a==null||o==null||(r+=i*a*o,n=!0)}return n?h(r,2):null},j=e=>{let t=Array.isArray(e?.detailRows)?e.detailRows:[];if(t.length===0)return null;let n=m(t.find(e=>String(e?.id||``)===`fee-subtotal-fixed`)?.budgetFee);if(n!=null)return h(n,2);let r=!1,i=0;for(let e of t){if(String(e?.id||``)===`fee-subtotal-fixed`)continue;let t=m(e?.budgetFee);if(t!=null){i+=t,r=!0;continue}let n=m(e?.quantity),a=m(e?.unitPrice);n==null||a==null||(i+=n*a,r=!0)}return r?h(i,2):null},M=async(e,t)=>{let[n,r,i]=await Promise.all([T.loadHtFeeMethodState(e,t,`rate-fee`),T.loadHtFeeMethodState(e,t,`hourly-fee`),T.loadHtFeeMethodState(e,t,`quantity-unit-price-fee`)]),a=g([m(n?.budgetFee),A(r),j(i)]);return a==null?null:h(a,2)},N=async e=>{let t=await T.loadHtFeeMainState(e),n=(Array.isArray(t?.detailRows)?t.detailRows:[]).map(e=>String(e?.id||``).trim()).filter(Boolean);if(n.length===0)return null;let r=g(await Promise.all(n.map(t=>M(e,t))));return r==null?null:h(r,2)},P=async()=>{await T.loadContract(C.contractId);let e=T.getBaseSubtotal(C.contractId),[t,n]=await Promise.all([N(`htExtraFee-${C.contractId}-additional-work`),N(`htExtraFee-${C.contractId}-reserve`)]),r=g([e,t,n]);E.value=r==null?null:h(r,2)},F=n(()=>{let e=`htExtraFee-${C.contractId}-additional-work`,t=`htExtraFee-${C.contractId}-reserve`;return JSON.stringify({contractState:T.contracts[C.contractId]||null,addMain:T.htFeeMainStates[e]||null,reserveMain:T.htFeeMainStates[t]||null,addMethods:T.htFeeMethodStates[e]||null,reserveMethods:T.htFeeMethodStates[t]||null})}),I=()=>{O&&clearTimeout(O),O=setTimeout(()=>{P()},80)};a(f({name:`HtInfoWithProps`,setup(){let e=l({loader:()=>y(()=>import(`./htInfo-CG7BX4yR.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]),import.meta.url),onError:e=>{console.error(`加载 htInfo 组件失败:`,e)}});return()=>u(e,{contractId:C.contractId,projectScaleKey:C.projectScaleKey,projectInfoKey:C.projectInfoKey})}}));let L=a(f({name:`ZxFwWithProps`,setup(){let e=l({loader:()=>y(()=>import(`./zxFw-DbWORAVD.js`),__vite__mapDeps([24,13,12,3,1,2,4,5,6,7,8,9,10,14,15,16,17,18,20,21,25,26]),import.meta.url),onError:e=>{console.error(`加载 zxFw 组件失败:`,e)}});return()=>u(e,{contractId:C.contractId,contractName:C.contractName,projectInfoKey:C.projectInfoKey})}})),R=a(f({name:`SummaryWithProps`,setup(){let e=l({loader:()=>y(()=>import(`./Summary-D2760-WG.js`),__vite__mapDeps([27,13,12,3,1,2,4,5,6,7,8,9,10,14,15,16,17,18,20,21,25,28]),import.meta.url),onError:e=>{console.error(`加载 Summary 组件失败:`,e)}});return()=>u(e,{contractId:C.contractId,contractName:C.contractName,projectInfoKey:C.projectInfoKey})}}));a(f({name:`HtConsultCategoryFactorWithProps`,setup(){let e=l({loader:()=>y(()=>import(`./HtConsultCategoryFactor-BL-_RuEP.js`),__vite__mapDeps([29,6,3,2,4,5,7,8,9,10,30,12,13,1,14,15,16,17,18,19,20,21,22,23]),import.meta.url),onError:e=>{console.error(`加载 HtConsultCategoryFactor 组件失败:`,e)}});return()=>u(e,{contractId:C.contractId,projectInfoKey:C.projectInfoKey,parentStorageKey:C.projectConsultCategoryFactorKey})}}));let z=a(f({name:`HtMajorFactorWithProps`,setup(){let e=l({loader:()=>y(()=>import(`./HtMajorFactor-BGiZtv7N.js`),__vite__mapDeps([31,6,3,2,4,5,7,8,9,10,30,12,13,1,14,15,16,17,18,19,20,21,22,23]),import.meta.url),onError:e=>{console.error(`加载 HtMajorFactor 组件失败:`,e)}});return()=>u(e,{contractId:C.contractId,projectInfoKey:C.projectInfoKey,parentStorageKey:C.projectMajorFactorKey})}})),B=a(f({name:`HtBaseInfoWithProps`,setup(){let e=l({loader:()=>y(()=>import(`./HtBaseInfo-BIDe7GmZ.js`),__vite__mapDeps([32,12,13,3,1,2,4,5,6,7,8,9,10,14,15,16]),import.meta.uLine truncated
-1
View File
@@ -1 +0,0 @@
import{Bt as e,H as t,W as n,er as r,tt as i}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as a}from"./workspace-DxKKyh8w.js";import"./decimal-D3bp1pbs.js";import"./vendor-ui-B4V4Cf1T.js";import"./numberFormat-jhZZmX17.js";import"./sql-C69Jo4HU.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingScaleDetail-CuzzWQVd.js";import"./pricingMethodTotals-DHJf6v89.js";import"./pricingScaleLink-BNsm4Fxd.js";import"./xmFactorDefaults-yPGPQ25R.js";import"./zxFwPricingSync-PWsfNukj.js";import{t as o}from"./xmCommonAgGrid-BG93CJjo.js";var s=i({__name:`htInfo`,props:{contractId:{},projectScaleKey:{},projectInfoKey:{}},setup(i){let s=i,c=t(()=>`ht-info-v3-${s.contractId}`),l=t(()=>{if(s.projectScaleKey!==null)return s.projectScaleKey||`xm-info-v3`}),u=t(()=>s.projectInfoKey||`xm-base-info-v1`),{t:d}=a();return(t,i)=>(e(),n(o,{title:r(d)(`htInfo.scaleDetailTitle`),dbKey:c.value,xmInfoKey:l.value,"base-info-key":u.value},null,8,[`title`,`dbKey`,`xmInfoKey`,`base-info-key`]))}});export{s as default};
-52
View File
@@ -1,52 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./xmCard-D4WD8Tvj.js","./typeLine-BCKblICF.js","./_plugin-vue_export-helper-DUFB50Ey.js","./vendor-ui-B4V4Cf1T.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js","./rolldown-runtime-fVNAxIxX.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js","./vendor-ag-grid~index~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeL~h29xz5eu-CW8VCi7z.js","./workspace-DxKKyh8w.js","../css/typeLine-oowuebrQ.css","./htCard-DW-Tiaxs.js","./_rolldown_dynamic_import_helper-CwdEGLFc.js","./vendor-vue-CSlAvuUs.js","./decimal-D3bp1pbs.js","./numberFormat-jhZZmX17.js","./QuickCalcWorkbenchView-bCXV4JQ3.js","./sql-C69Jo4HU.js","./pricingScaleCalc-CxdG8IMv.js","./xmFactorDefaults-yPGPQ25R.js","../css/QuickCalcWorkbenchView-C1jyxPFF.css","./ZxFwView-CRvQoCJC.js","./ScaleFormulaReadonlyPane-AeIzjaXU.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js","./agGridReadonlyAutoHeight-BpRhYCq1.js","./pricingScaleGrid-BCsr0Q1x.js","./pricingScaleLink-BNsm4Fxd.js","./MethodUnavailableNotice-Cx7GLj7Z.js","./HtFeeMethodTypeLineView-DmQ8lS0u.js","./HourlyFeeGrid-DixkKG6W.js","../css/HourlyFeeGrid-B40FytkG.css","./pricingPersistControl-DVG_7RF1.js","../css/HtFeeMethodTypeLineView-DQeFn_Ta.css"])))=>i.map(i=>d[i]);
import{a as e,i as t,n,o as r,r as i,t as a}from"./rolldown-runtime-fVNAxIxX.js";import{A as o,H as s,I as c,J as l,M as u,N as d,P as f,R as p,V as m,W as h,X as g,Y as _,_ as v,f as y,g as b,k as x,p as S,q as C,v as w,y as T}from"./vendor-ag-grid~index~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeL~h29xz5eu-CW8VCi7z.js";import{a as E,c as D,i as O,n as k,o as A,r as j,s as M,t as N}from"./vendor-ag-grid~index-Ch1jbN8D.js";import{$ as P,At as F,Bt as I,Cr as ee,Dt as L,E as R,Er as z,Et as B,G as V,H,K as U,Kt as W,M as te,Pt as ne,Q as G,Rn as re,Sr as ie,T as K,U as q,W as J,Wn as Y,Xt as ae,dt as oe,er as X,et as se,i as ce,mn as Z,qn as le,qt as ue,t as de,tt as fe,xr as pe,yn as Q}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import{n as me,r as $,t as he}from"./vendor-vue-CSlAvuUs.js";import{D as ge,E as _e,O as ve,S as ye,T as be,a as xe,b as Se,c as Ce,d as we,f as Te,g as Ee,h as De,i as Oe,l as ke,m as Ae,n as je,o as Me,p as Ne,r as Pe,s as Fe,t as Ie,u as Le,v as Re,w as ze,x as Be,y as Ve}from"./workspace-DxKKyh8w.js";import{_ as He,d as Ue,f as We,g as Ge,h as Ke,i as qe,l as Je,m as Ye,o as Xe,p as Ze,s as Qe,t as $e,u as et}from"./decimal-D3bp1pbs.js";import{n as tt,r as nt,t as rt}from"./utils-DFe0HVk9.js";import{A as it,At as at,C as ot,D as st,Dt as ct,E as lt,F as ut,I as dt,L as ft,M as pt,N as mt,O as ht,P as gt,S as _t,T as vt,Tt as yt,_ as bt,c as xt,dt as St,ft as Ct,g as wt,gt as Tt,ht as Et,jt as Dt,k as Ot,l as kt,lt as At,m as jt,mt as Mt,pt as Nt,r as Pt,s as Ft,t as It,ut as Lt,w as Rt,x as zt,y as Bt}from"./vendor-ui-B4V4Cf1T.js";import"./numberFormat-jhZZmX17.js";import{S as Vt,_ as Ht,a as Ut,b as Wt,c as Gt,f as Kt,h as qt,i as Jt,m as Yt,o as Xt,r as Zt,v as Qt,y as $t}from"./sql-C69Jo4HU.js";import{t as en}from"./_plugin-vue_export-helper-DUFB50Ey.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();const tn=`jgjs-ui-prefs-v1`;var nn=e=>e===`zh-CN`||e===`en-US`,rn=()=>{if(typeof window>`u`)return null;let e=localStorage.getItem(tn);if(!e)return null;try{let t=JSON.parse(e);return t&&typeof t==`object`?t:null}catch{return null}},an=e=>{typeof window>`u`||localStorage.setItem(tn,JSON.stringify(e))};const on=$(`uiPrefs`,{state:()=>({locale:null,hasLocaleOverride:!1}),actions:{initFromStorage(){let e=rn();e&&e.hasLocaleOverride===!0&&nn(e.locale)&&(this.locale=e.locale,this.hasLocaleOverride=!0,_e(e.locale))},setLocale(e){this.locale=e,this.hasLocaleOverride=!0,_e(e),an({locale:this.locale,hasLocaleOverride:this.hasLocaleOverride})}}});var sn={id:xe,title:be.global.t(`home.projectCalcTab`),componentName:`ProjectCalcView`},cn=()=>Ve()===`quick`?new Set([we,Ce]):new Set([xe,Ce]),ln=()=>Ve()===`quick`?we:xe;const un=$(`tabs`,()=>{let e=Y([{...sn}]),t=Y(),n=Y(!1),r=()=>{let t=ln();e.value.some(e=>e.id===t)||Ve()!==`quick`&&(e.value=[{...sn},...e.value])},i=()=>{r(),e.value.length===0&&(e.value=[{...sn}]),e.value.some(e=>e.id===t.value)||(t.value=e.value[0]?.id??ln())};return{tabs:e,activeTabId:t,hasCompletedSetup:n,enterWorkspace:n=>{e.value=[{...n}],t.value=n.id},openTab:n=>{e.value.some(e=>e.id===n.id)||(e.value=[...e.value,n]),t.value=n.id},removeTab:n=>{if(cn().has(n))return;let a=e.value.findIndex(e=>e.id===n);if(a<0)return;let o=t.value===n;if(e.value=e.value.filter(e=>e.id!==n),r(),o){let n=Math.max(0,Math.min(a-1,e.value.length-1));t.value=e.value[n]?.id??ln();return}i()},closeAllTabs:()=>{let n=cn(),r=e.value.filter(e=>n.has(e.id));e.value=r.length>0?r:[{...sn}],t.value=e.value[0]?.id??ln()},closeLeftTabs:t=>{let n=e.value.findIndex(e=>e.id===t);if(n<0)return;let r=cn();e.value=e.value.filter((e,t)=>r.has(e.id)||t>=n),i()},closeRightTabs:t=>{let n=e.value.findIndex(e=>e.id===t);if(n<0)return;let r=cn();e.value=e.value.filter((e,t)=>r.has(e.id)||t<=n),i()},closeOtherTabs:n=>{let i=cn();e.value=e.value.filter(e=>i.has(e.id)||e.id===n),r(),t.value=e.value.some(e=>e.id===n)?n:ln()},resetTabs:()=>{e.value=[{...sn}],t.value=xe,n.value=!1}}},{persist:!0});var dn=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e;const fn=nt,pn=(e,t)=>n=>{if(t?.variants==null)return fn(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gi(e){if(typeof window<`u`&&window.navigator)return!!navigator.userAgent.match(e)}function _i(e,t,n){e.addEventListener(t,n,!ya&&Ta)}function vi(e,t,n){e.removeEventListener(t,n,!ya&&Ta)}function yi(e,t){if(t){if(t[0]===`>`&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function bi(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function xi(e,t,n,r){if(e){n||=document;do{if(t!=null&&(t[0]===`>`?e.parentNode===n&&yi(e,t):yi(e,t))||r&&e===n)return e;if(e===n)break}while(e=bi(e))}return null}function Si(e,t,n){e&&t&&(e.classList?e.classList[n?`add`:`remove`](t):e.className=((` `+e.className+` `).replace(Ea,` `).replace(` `+t+` `,` `)+(n?` `+t:``)).replace(Ea,` `))}function Ci(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,``):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf(`webkit`)===-1&&(t=`-webkit-`+t),r[t]=n+(typeof n==`string`?``:`px`)}}function wi(e,t){var n=``;if(typeof e==`string`)n=e;else do{var r=Ci(e,`transform`);r&&r!==`none`&&(n=r+` `+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function Ti(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,a=r.length;if(n)for(;i<a;i++)n(r[i],i);return r}return[]}function Ei(){return document.scrollingElement||document.documentElement}function Di(e,t,n,r,i){if(!(!e.getBoundingClientRect&&e!==window)){var a,o,s,c,l,u,d;if(e!==window&&e.parentNode&&e!==Ei()?(a=e.getBoundingClientRect(),o=a.top,s=a.left,c=a.bottom,l=a.right,u=a.height,d=a.width):(o=0,s=0,c=window.innerHeight,l=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(i||=e.parentNode,!ya))do if(i&&i.getBoundingClientRect&&(Ci(i,`transform`)!==`none`||n&&Ci(i,`position`)!==`static`)){var f=i.getBoundingClientRect();o-=f.top+parseInt(Ci(i,`border-top-width`)),s-=f.left+parseInt(Ci(i,`border-left-width`)),c=o+a.height,l=s+a.width;break}while(i=i.parentNode);if(r&&e!==window){var p=wi(i||e),m=p&&p.a,h=p&&p.d;p&&(o/=h,s/=m,d/=m,u/=h,c=o+u,l=s+d)}return{top:o,left:s,bottom:c,right:l,width:d,height:u}}}function Oi(e,t,n){for(var r=Pi(e,!0),i=Di(e)[t];r;){var a=Di(r)[n],o=void 0;if(o=n===`top`||n===`left`?i>=a:i<=a,!o)return r;if(r===Ei())break;r=Pi(r,!1)}return!1}function ki(e,t,n,r){for(var i=0,a=0,o=e.children;a<o.length;){if(o[a].style.display!==`none`&&o[a]!==Ji.ghost&&(r||o[a]!==Ji.dragged)&&xi(o[a],n.draggable,e,!1)){if(i===t)return o[a];i++}a++}return null}function Ai(e,t){for(var n=e.lastElementChild;n&&(n===Ji.ghost||Ci(n,`display`)===`none`||t&&!yi(n,t));)n=n.previousElementSibling;return n||null}function ji(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!==`TEMPLATE`&&e!==Ji.clone&&(!t||yi(e,t))&&n++;return n}function Mi(e){var t=0,n=0,r=Ei();if(e)do{var i=wi(e),a=i.a,o=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*o}while(e!==r&&(e=e.parentNode));return[t,n]}function Ni(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function Pi(e,t){if(!e||!e.getBoundingClientRect)return Ei();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=Ci(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX==`auto`||i.overflowX==`scroll`)||n.clientHeight<n.scrollHeight&&(i.overflowY==`auto`||i.overflowY==`scroll`)){if(!n.getBoundingClientRect||n===document.body)return Ei();if(r||t)return n;r=!0}}while(n=n.parentNode);return Ei()}function Fi(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Ii(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function Li(e,t){return function(){if(!Da){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Da=setTimeout(function(){Da=void 0},t)}}}function Ri(){clearTimeout(Da),Da=void 0}function zi(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Bi(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Vi(e,t){Ci(e,`position`,`absolute`),Ci(e,`top`,t.top),Ci(e,`left`,t.left),Ci(e,`width`,t.width),Ci(e,`height`,t.height)}function Hi(e){Ci(e,`position`,``),Ci(e,`top`,``),Ci(e,`left`,``),Ci(e,`width`,``),Ci(e,`height`,``)}function Ui(){var e=[],t;return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(t){if(!(Ci(t,`display`)===`none`||t===Ji.ghost)){e.push({target:t,rect:Di(t)});var n=ii({},e[e.length-1].rect);if(t.thisAnimationDuration){var Line truncated
`)&&(m=`(?: `+m+`)`,g=` `+g,h++),i=RegExp(`^(?:`+m+`)`,p)),u&&(i=RegExp(`^`+m+`$(?!\\s)`,p)),c&&(n=t.lastIndex),s=a.call(f?i:t,g),f?s?(s.input=s.input.slice(h),s[0]=s[0].slice(h),s.index=t.lastIndex,t.lastIndex+=s[0].length):t.lastIndex=0:c&&s&&(t.lastIndex=t.global?s.index+s[0].length:n),u&&s&&s.length>1&&o.call(s[0],i,function(){for(d=1;d<arguments.length-2;d++)arguments[d]===void 0&&(s[d]=void 0)}),s}),e.exports=s}),"94ca":(function(e,t,n){var r=n(`d039`),i=/#|\.prototype\./,a=function(e,t){var n=s[o(e)];return n==l?!0:n==c?!1:typeof t==`function`?r(t):!!t},o=a.normalize=function(e){return String(e).replace(i,`.`).toLowerCase()},s=a.data={},c=a.NATIVE=`N`,l=a.POLYFILL=`P`;e.exports=a}),"99af":(function(e,t,n){var r=n(`23e7`),i=n(`d039`),a=n(`e8b5`),o=n(`861d`),s=n(`7b0b`),c=n(`50c4`),l=n(`8418`),u=n(`65f0`),d=n(`1dde`),f=n(`b622`),p=n(`2d00`),m=f(`isConcatSpreadable`),h=9007199254740991,g=`Maximum allowed index exceeded`,_=p>=51||!i(function(){var e=[];return e[m]=!1,e.concat()[0]!==e}),v=d(`concat`),y=function(e){if(!o(e))return!1;var t=e[m];return t===void 0?a(e):!!t};r({target:`Array`,proto:!0,forced:!_||!v},{concat:function(e){var t=s(this),n=u(t,0),r=0,i,a,o,d,f;for(i=-1,o=arguments.length;i<o;i++)if(f=i===-1?t:arguments[i],y(f)){if(d=c(f.length),r+d>h)throw TypeError(g);for(a=0;a<d;a++,r++)a in f&&l(n,r,f[a])}else{if(r>=h)throw TypeError(g);l(n,r++,f)}return n.length=r,n}})}),"9bdd":(function(e,t,n){var r=n(`825a`);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw a!==void 0&&r(a.call(e)),t}}}),"9bf2":(function(e,t,n){var r=n(`83ab`),i=n(`0cfb`),a=n(`825a`),o=n(`c04e`),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=o(t,!0),a(n),i)try{return s(e,t,n)}catch{}if(`get`in n||`set`in n)throw TypeError(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}}),"9ed3":(function(e,t,n){var r=n(`ae93`).IteratorPrototype,i=n(`7c73`),a=n(`5c6c`),o=n(`d44e`),s=n(`3f8c`),c=function(){return this};e.exports=function(e,t,n){var l=t+` Iterator`;return e.prototype=i(r,{next:a(1,n)}),o(e,l,!1,!0),s[l]=c,e}}),"9f7f":(function(e,t,n){var r=n(`d039`);function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r(function(){var e=i(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!=null}),t.BROKEN_CARET=r(function(){var e=i(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!=null})}),a2bf:(function(e,t,n){var r=n(`e8b5`),i=n(`50c4`),a=n(`0366`),o=function(e,t,n,s,c,l,u,d){for(var f=c,p=0,m=u?a(u,d,3):!1,h;p<s;){if(p in n){if(h=m?m(n[p],p,t):n[p],l>0&&r(h))f=o(e,t,h,i(h.length),f,l-1)-1;else{if(f>=9007199254740991)throw TypeError(`Exceed the acceptable array length`);e[f]=h}f++}p++}return f};e.exports=o}),a352:(function(e,n){e.exports=t}),a434:(function(e,t,n){var r=n(`23e7`),i=n(`23cb`),a=n(`a691`),o=n(`50c4`),s=n(`7b0b`),c=n(`65f0`),l=n(`8418`),u=n(`1dde`),d=n(`ae40`),f=u(`splice`),p=d(`splice`,{ACCESSORS:!0,0:0,1:2}),m=Math.max,h=Math.min,g=9007199254740991,_=`Maximum allowed length exceeded`;r({target:`Array`,proto:!0,forced:!f||!p},{splice:function(e,t){var n=s(this),r=o(n.length),u=i(e,r),d=arguments.length,f,p,v,y,b,x;if(d===0?f=p=0:d===1?(f=0,p=r-u):(f=d-2,p=h(m(a(t),0),r-u)),r+f-p>g)throw TypeError(_);for(v=c(n,p),y=0;y<p;y++)b=u+y,b in n&&l(v,y,n[b]);if(v.length=p,f<p){for(y=u;y<r-p;y++)b=y+p,x=y+f,b in n?n[x]=n[b]:delete n[x];for(y=r;y>r-p+f;y--)delete n[y-1]}else if(f>p)for(y=r-p;y>u;y--)b=y+p-1,x=y+f-1,b in n?n[x]=n[b]:delete n[x];for(y=0;y<f;y++)n[y+u]=arguments[y+2];return n.length=r-p+f,v}})}),a4d3:(function(e,t,n){var r=n(`23e7`),i=n(`da84`),a=n(`d066`),o=n(`c430`),s=n(`83ab`),c=n(`4930`),l=n(`fdbf`),u=n(`d039`),d=n(`5135`),f=n(`e8b5`),p=n(`861d`),m=n(`825a`),h=n(`7b0b`),g=n(`fc6a`),_=n(`c04e`),v=n(`5c6c`),y=n(`7c73`),b=n(`df75`),x=n(`241c`),S=n(`057f`),C=n(`7418`),w=n(`06cf`),T=n(`9bf2`),E=n(`d1e7`),D=n(`9112`),O=n(`6eeb`),k=n(`5692`),A=n(`f772`),j=n(`d012`),M=n(`90e3`),N=n(`b622`),P=n(`e538`),F=n(`746f`),I=n(`d44e`),ee=n(`69f3`),L=n(`b727`).forEach,R=A(`hidden`),z=`Symbol`,B=`prototype`,V=N(`toPrimitive`),H=ee.set,U=ee.getterFor(z),W=Object[B],te=i.Symbol,ne=a(`JSON`,`stringify`),G=w.f,re=T.f,ie=S.f,K=E.f,q=k(`symbols`),J=k(`op-symbols`),Y=k(`string-to-symbol-registry`),ae=k(`symbol-to-string-registry`),oe=k(`wks`),X=i.QObject,se=!X||!X[B]||!X[B].findChild,ce=s&&u(function(){return y(re({},`a`,{get:function(){return re(this,`a`,{value:7}).a}})).a!=7})?function(e,t,n){var r=G(W,t);r&&delete W[t],re(e,t,n),r&&e!==W&&re(W,t,r)}:re,Z=function(e,t){var n=q[e]=y(te[B]);return H(n,{type:z,tag:e,description:t}),s||(n.description=t),n},le=l?function(e){return typeof e==`symbol`}:function(e){return Object(e)instanceof te},ue=function(e,t,n){e===W&&ue(J,t,n),m(e);var r=_(t,!0);return m(n),d(q,r)?(n.enumerable?(d(e,R)&&e[R][r]&&(e[R][r]=!1),n=y(n,{enumerable:v(0,!1)})):(d(e,R)||re(e,R,v(1,{})),e[R][r]=!0),ce(e,r,n)):re(e,r,n)},de=function(e,t){m(e);var n=g(t);return L(b(n).concat($(n)),function(t){(!s||pe.call(n,t))&&ue(e,t,n[t])}),e},fe=function(e,t){return t===void 0?y(e): Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m(e,t){return l(e)||u(e,t)||f(e,t)||p()}function h(e){if(Array.isArray(e))return d(e)}function g(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function _(){throw TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v(e){return h(e)||g(e)||f(e)||_()}var y=n(`a352`),b=n.n(y);function x(e){e.parentElement!==null&&e.parentElement.removeChild(e)}function S(e,t,n){var r=n===0?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}var C=n(`dbf1`);n(`13d5`),n(`4fad`),n(`ac1f`),n(`5319`);function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var T=/-(\w)/g,E=w(function(e){return e.replace(T,function(e,t){return t.toUpperCase()})});n(`5db7`),n(`73d9`);var D=[`Start`,`Add`,`Remove`,`Update`,`End`],O=[`Choose`,`Unchoose`,`Sort`,`Filter`,`Clone`],k=[`Move`],A=[k,D,O].flatMap(function(e){return e}).map(function(e){return`on${e}`}),j={manage:k,manageAndEmit:D,emit:O};function M(e){return A.indexOf(e)!==-1}n(`caad`),n(`2ca0`);var N=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.link.main.map.mark.math.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rb.rp.rt.rtc.ruby.s.samp.script.section.select.slot.small.source.span.strong.style.sub.summary.sup.svg.table.tbody.td.template.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr`.split(`.`);function P(e){return N.includes(e)}function F(e){return[`transition-group`,`TransitionGroup`].includes(e)}function I(e){return[`id`,`class`,`role`,`style`].includes(e)||e.startsWith(`data-`)||e.startsWith(`aria-`)||e.startsWith(`on`)}function ee(e){return e.reduce(function(e,t){var n=m(t,2),r=n[0];return e[r]=n[1],e},{})}function L(e){var t=e.$attrs,n=e.componentData,r=n===void 0?{}:n;return c(c({},ee(Object.entries(t).filter(function(e){var t=m(e,2),n=t[0];return t[1],I(n)}))),r)}function R(e){var t=e.$attrs,n=e.callBackBuilder,r=ee(z(t));Object.entries(n).forEach(function(e){var t=m(e,2),n=t[0],i=t[1];j[n].forEach(function(e){r[`on${e}`]=i(e)})});var i=`[data-draggable]${r.draggable||``}`;return c(c({},r),{},{draggable:i})}function z(e){return Object.entries(e).filter(function(e){var t=m(e,2),n=t[0];return t[1],!I(n)}).map(function(e){var t=m(e,2),n=t[0],r=t[1];return[E(n),r]}).filter(function(e){var t=m(e,2),n=t[0];return t[1],!M(n)})}n(`c740`);function B(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H(e,t,n){return t&&V(e.prototype,t),n&&V(e,n),e}var U=function(e){return e.el},W=function(e,t){return e.__draggable_context=t},te=function(e){return e.__draggable_context},ne=function(){function e(t){var n=t.nodes,r=n.header,i=n.default,a=n.footer,o=t.root,s=t.realList;B(this,e),this.defaultNodes=i,this.children=[].concat(v(r),v(i),v(a)),this.externalComponent=o.externalComponent,this.rootTransition=o.transition,this.tag=o.tag,this.realList=s}return H(e,[{key:`render`,value:function(e,t){var n=this.tag,r=this.children;return e(n,t,this._isRootComponent?{default:function(){return r}}:r)}},{key:`updated`,value:function(){var e=this.defaultNodes,t=this.realList;e.forEach(function(e,n){W(U(e),{element:t[n],index:n})})}},{key:`getUnderlyingVm`,value:function(e){return te(e)}},{key:`getVmIndexFromDomIndex`,value:function(e,t){var n=this.defaultNodes,r=n.length,i=t.children,a=i.item(e);if(a===null)return r;var o=te(a);if(o)return o.index;if(r===0)return 0;var s=U(n[0]);return e<v(i).findIndex(function(e){return e===s})?0:r}},{key:`_isRootComponent`,get:function(){return this.externalComponent||this.rootTransition}}]),e}(),G=n(`8bbf`);function re(e,t){var n=e[t];return n?n():[]}function ie(e){var t=e.$slots,n=e.realList,r=e.getKey,i=n||[],a=m([`header`,`footer`].map(function(e){return re(t,e)}),2),o=a[0],s=a[1],l=t.item;if(!l)throw Error(`draggable element must have an item slot`);var u=i.flatMap(function(e,t){return l({element:e,index:t}).map(function(t){return t.key=r(e),t.props=c(c({},t.props||{}),{},{"data-draggable":!0}),t})});if(u.length!==i.length)throw Error(`Item slot must have only one child`);return{header:o,footer:s,default:u}}function K(e){var t=F(e),n=!P(e)&&!t;return{transition:t,externalComponent:n,tag:n?(0,G.resolveComponent)(e):t?G.TransitionGroup:e}}function q(e){var t=e.$slots,n=e.tag,r=e.realList,i=e.getKey;return new ne({nodes:ie({$slots:t,realList:r,getKey:i}),root:K(n),realList:r})}function J(e,t){var n=this;(0,G.nextTick)(function(){return n.$emit(e.toLowerCase(),t)})}function Y(e){var t=this;return function(n,r){if(t.realList!==null)return t[`onDrag${e}`](n,r)}}function ae(e){var t=this,n=Y.call(this,e);return function(r,i){n.call(t,r,i),J.call(t,e,r)}}var oe=null,X={list:{type:Array,required:!1,default:null},modelValue:{type:Array,re Line truncated
`)}openNode(e,t){let n=this.tos,r=this._xml;n&&this.open&&r.push(`>`),this._stack.push(e),r.push(`<`),r.push(e),o(r,t),this.leaf=!0,this.open=!0}addAttribute(e,t){if(!this.open)throw Error(`Cannot write attributes to node if it is not open`);t!==void 0&&a(this._xml,e,t)}addAttributes(e){if(!this.open)throw Error(`Cannot write attributes to node if it is not open`);o(this._xml,e)}writeText(e){let t=this._xml;this.open&&=(t.push(`>`),!1),this.leaf=!1,t.push(i.xmlEncode(e.toString()))}writeXml(e){this.open&&=(this._xml.push(`>`),!1),this.leaf=!1,this._xml.push(e)}closeNode(){let e=this._stack.pop(),t=this._xml;this.leaf?t.push(`/>`):(t.push(`</`),t.push(e),t.push(`>`)),this.open=!1,this.leaf=!1}leafNode(e,t,n){this.openNode(e,t),n!==void 0&&this.writeText(n),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){let e=this._rollbacks.pop();this._xml.length>e.xml&&this._xml.splice(e.xml,this._xml.length-e.xml),this._stack.length>e.stack&&this._stack.splice(e.stack,this._stack.length-e.stack),this.leaf=e.leaf,this.open=e.open}get xml(){return this.closeAll(),this._xml.join(``)}}s.StdDocAttributes={version:`1.0`,encoding:`UTF-8`,standalone:`yes`},t.exports=s},{"./under-dash":26,"./utils":27}],29:[function(e,t,n){(function(n){(function(){let r=e(`events`),i=e(`jszip`),a=e(`./stream-buf`),{stringToBuffer:o}=e(`./browser-buffer-encode`);class s extends r.EventEmitter{constructor(e){super(),this.options=Object.assign({type:`nodebuffer`,compression:`DEFLATE`},e),this.zip=new i,this.stream=new a}append(e,t){t.hasOwnProperty(`base64`)&&t.base64?this.zip.file(t.name,e,{base64:!0}):(n.browser&&typeof e==`string`&&(e=o(e)),this.zip.file(t.name,e))}async finalize(){let e=await this.zip.generateAsync(this.options);this.stream.end(e),this.emit(`finish`)}read(e){return this.stream.read(e)}setEncoding(e){return this.stream.setEncoding(e)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(e,t){return this.stream.pipe(e,t)}unpipe(e){return this.stream.unpipe(e)}unshift(e){return this.stream.unshift(e)}wrap(e){return this.stream.wrap(e)}}t.exports={ZipWriter:s}}).call(this)}).call(this,e(`_process`))},{"./browser-buffer-encode":17,"./stream-buf":24,_process:467,events:422,jszip:441}],30:[function(e,t,n){t.exports={0:{f:`General`},1:{f:`0`},2:{f:`0.00`},3:{f:`#,##0`},4:{f:`#,##0.00`},9:{f:`0%`},10:{f:`0.00%`},11:{f:`0.00E+00`},12:{f:`# ?/?`},13:{f:`# ??/??`},14:{f:`mm-dd-yy`},15:{f:`d-mmm-yy`},16:{f:`d-mmm`},17:{f:`mmm-yy`},18:{f:`h:mm AM/PM`},19:{f:`h:mm:ss AM/PM`},20:{f:`h:mm`},21:{f:`h:mm:ss`},22:{f:`m/d/yy "h":mm`},27:{"zh-tw":`[$-404]e/m/d`,"zh-cn":`yyyy"年"m"月"`,"ja-jp":`[$-411]ge.m.d`,"ko-kr":`yyyy"年" mm"月" dd"日"`},28:{"zh-tw":`[$-404]e"年"m"月"d"日"`,"zh-cn":`m"月"d"日"`,"ja-jp":`[$-411]ggge"年"m"月"d"日"`,"ko-kr":`mm-dd`},29:{"zh-tw":`[$-404]e"年"m"月"d"日"`,"zh-cn":`m"月"d"日"`,"ja-jp":`[$-411]ggge"年"m"月"d"日"`,"ko-kr":`mm-dd`},30:{"zh-tw":`m/d/yy `,"zh-cn":`m-d-yy`,"ja-jp":`m/d/yy`,"ko-kr":`mm-dd-yy`},31:{"zh-tw":`yyyy"年"m"月"d"日"`,"zh-cn":`yyyy"年"m"月"d"日"`,"ja-jp":`yyyy"年"m"月"d"日"`,"ko-kr":`yyyy"년" mm"월" dd"일"`},32:{"zh-tw":`hh"時"mm"分"`,"zh-cn":`h"时"mm"分"`,"ja-jp":`h"時"mm"分"`,"ko-kr":`h"시" mm"분"`},33:{"zh-tw":`hh"時"mm"分"ss"秒"`,"zh-cn":`h"时"mm"分"ss"秒"`,"ja-jp":`h"時"mm"分"ss"秒"`,"ko-kr":`h"시" mm"분" ss"초"`},34:{"zh-tw":`上午/下午 hh"時"mm"分"`,"zh-cn":`上午/下午 h"时"mm"分"`,"ja-jp":`yyyy"年"m"月"`,"ko-kr":`yyyy-mm-dd`},35:{"zh-tw":`上午/下午 hh"時"mm"分"ss"秒"`,"zh-cn":`上午/下午 h"时"mm"分"ss"秒"`,"ja-jp":`m"月"d"日"`,"ko-kr":`yyyy-mm-dd`},36:{"zh-tw":`[$-404]e/m/d`,"zh-cn":`yyyy"年"m"月"`,"ja-jp":`[$-411]ge.m.d`,"ko-kr":`yyyy"年" mm"月" dd"日"`},37:{f:`#,##0 ;(#,##0)`},38:{f:`#,##0 ;[Red](#,##0)`},39:{f:`#,##0.00 ;(#,##0.00)`},40:{f:`#,##0.00 ;[Red](#,##0.00)`},45:{f:`mm:ss`},46:{f:`[h]:mm:ss`},47:{f:`mmss.0`},48:{f:`##0.0E+0`},49:{f:`@`},50:{"zh-tw":`[$-404]e/m/d`,"zh-cn":`yyyy"年"m"月"`,"ja-jp":`[$-411]ge.m.d`,"ko-kr":`yyyy"年" mm"月" dd"日"`},51:{"zh-tw":`[$-404]e"年"m"月"d"日"`,"zh-cn":`m"月"d"日"`,"ja-jp":`[$-411]ggge"年"m"月"d"日"`,"ko-kr":`mm-dd`},52:{"zh-tw":`上午/下午 hh"時"mm"分"`,"zh-cn":`yyyy"年"m"月"`,"ja-jp":`yyyy"年"m"月"`,"ko-kr":`yyyy-mm-dd`},53:{"zh-tw":`上午/下午 hh"時"mm"分"ss"秒"`,"zh-cn":`m"月"d"日"`,"ja-jp":`m"月"d"日"`,"ko-kr":`yyyy-mm-dd`},54:{"zh-tw":`[$-404]e"年"m"月"d"日"`,"zh-cn":`m"月"d"日"`,"ja-jp":`[$-411]ggge"年"m"月"d"日"`,"ko-kr":`mm-dd`},55:{"zh-tw":`上午/下午 hh"時"mm"分"`,"zh-cn":`上午/下午 h"时"mm"分"`,"ja-jp":`yyyy"年"m"月"`,"ko-kr":`yyyy-mm-dd`},56:{"zh-tw":`上午/下午 hh"時"mm"分"ss"秒"`,"zh-cn":`上午/下午 h"时"mm"分"ss"秒"`,"ja-jp":`m"Line truncated
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:Line truncated
`,this.quote=`"`,this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM=``,this.alwaysWriteHeaders=!1,Object.assign(this,e||{}),e?.quoteHeaders===void 0&&(this.quoteHeaders=this.quoteColumns),!0===e?.quote?this.quote=`"`:!1===e?.quote&&(this.quote=``),typeof e?.escape!=`string`&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&((t=e.writeHeaders)==null||t),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(e,t,n){var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,`__esModule`,{value:!0}),n.FieldFormatter=void 0;let i=r(e(`lodash.isboolean`)),a=r(e(`lodash.isnil`)),o=r(e(`lodash.escaperegexp`));n.FieldFormatter=class{constructor(e){this._headers=null,this.formatterOptions=e,e.headers!==null&&(this.headers=e.headers),this.REPLACE_REGEXP=new RegExp(e.quote,`g`);let t=`[${e.delimiter}${o.default(e.rowDelimiter)}|\r|\n]`;this.ESCAPE_REGEXP=new RegExp(t)}set headers(e){this._headers=e}shouldQuote(e,t){let n=t?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return i.default(n)?n:Array.isArray(n)?n[e]:this._headers!==null&&n[this._headers[e]]}format(e,t,n){let r=(``+(a.default(e)?``:e)).replace(/\0/g,``),{formatterOptions:i}=this;return i.quote!==``&&r.indexOf(i.quote)!==-1?this.quoteField(r.replace(this.REPLACE_REGEXP,i.escapedQuote)):r.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(t,n)?this.quoteField(r):r}quoteField(e){let{quote:t}=this.formatterOptions;return`${t}${e}${t}`}}},{"lodash.escaperegexp":442,"lodash.isboolean":444,"lodash.isnil":447}],149:[function(e,t,n){var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,`__esModule`,{value:!0}),n.RowFormatter=void 0;let i=r(e(`lodash.isfunction`)),a=r(e(`lodash.isequal`)),o=e(`./FieldFormatter`),s=e(`../types`);class c{constructor(e){this.rowCount=0,this.formatterOptions=e,this.fieldFormatter=new o.FieldFormatter(e),this.headers=e.headers,this.shouldWriteHeaders=e.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null&&(this.fieldFormatter.headers=this.headers),e.transform&&(this.rowTransform=e.transform)}static isRowHashArray(e){return!!Array.isArray(e)&&Array.isArray(e[0])&&e[0].length===2}static isRowArray(e){return Array.isArray(e)&&!this.isRowHashArray(e)}static gatherHeaders(e){return c.isRowHashArray(e)?e.map(e=>e[0]):Array.isArray(e)?e:Object.keys(e)}static createTransform(e){return s.isSyncTransform(e)?(t,n)=>{let r=null;try{r=e(t)}catch(e){return n(e)}return n(null,r)}:(t,n)=>{e(t,n)}}set rowTransform(e){if(!i.default(e))throw TypeError(`The transform should be a function`);this._rowTransform=c.createTransform(e)}format(e,t){this.callTransformer(e,(n,r)=>{if(n)return t(n);if(!e)return t(null);let i=[];if(r){let{shouldFormatColumns:e,headers:t}=this.checkHeaders(r);if(this.shouldWriteHeaders&&t&&!this.hasWrittenHeaders&&(i.push(this.formatColumns(t,!0)),this.hasWrittenHeaders=!0),e){let e=this.gatherColumns(r);i.push(this.formatColumns(e,!1))}}return t(null,i)})}finish(e){let t=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return e(Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));t.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&t.push(this.formatterOptions.rowDelimiter),e(null,t)}checkHeaders(e){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let t=c.gatherHeaders(e);return this.headers=t,this.fieldFormatter.headers=t,this.shouldWriteHeaders?{shouldFormatColumns:!a.default(t,e),headers:t}:{shouldFormatColumns:!0,headers:null}}gatherColumns(e){if(this.headers===null)throw Error(`Headers is currently null`);return Array.isArray(e)?c.isRowHashArray(e)?this.headers.map((t,n)=>{let r=e[n];return r?r[1]:``}):c.isRowArray(e)&&!this.shouldWriteHeaders?e:this.headers.map((t,n)=>e[n]):this.headers.map(t=>e[t])}callTransformer(e,t){return this._rowTransform?this._rowTransform(e,t):t(null,e)}formatColumns(e,t){let n=e.map((e,n)=>this.fieldFormatter.format(e,n,t)).join(this.formatterOptions.delimiter),{rowCount:r}=this;return this.rowCount+=1,r?[this.formatterOptions.rowDelimiter,n].join(``):n}}n.RowFormatter=c},{"../types":152,"./FieldFormatter":148,"lodash.isequal":445,"lodash.isfunction":446}],150:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.FieldFormatter=n.RowFormatter=void 0;var r=e(`./RowFormatter`);Object.defineProperty(n,`RowFormatter`,{enumerable:!0,get:function(){return r.RowFormatter}});var i=e(`./FieldFormatter`);Object.defineProperty(n,`FieldFormatter`,{enumerable:!0,get:function(){return i.FieldFormatter}})},{"./FieldFormatter":148,"./RowFormatter":149}],151:[function(e,t,n){(function(t){(function(){var r=Object.create?function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:funct Line truncated
`||t===`\r
`}static isTokenCarriageReturn(e,t){return e.token===t.carriageReturn}static isTokenComment(e,t){return t.supportsComments&&!!e&&e.token===t.comment}static isTokenEscapeCharacter(e,t){return e.token===t.escapeChar}static isTokenQuote(e,t){return e.token===t.quote}static isTokenDelimiter(e,t){return e.token===t.delimiter}}},{}],160:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.ColumnFormatter=void 0,n.ColumnFormatter=class{constructor(e){e.trim?this.format=e=>e.trim():e.ltrim?this.format=e=>e.trimLeft():e.rtrim?this.format=e=>e.trimRight():this.format=e=>e}}},{}],161:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.ColumnParser=void 0;let r=e(`./NonQuotedColumnParser`),i=e(`./QuotedColumnParser`),a=e(`../Token`);n.ColumnParser=class{constructor(e){this.parserOptions=e,this.quotedColumnParser=new i.QuotedColumnParser(e),this.nonQuotedColumnParser=new r.NonQuotedColumnParser(e)}parse(e){let{nextNonSpaceToken:t}=e;return t!==null&&a.Token.isTokenQuote(t,this.parserOptions)?(e.advanceToToken(t),this.quotedColumnParser.parse(e)):this.nonQuotedColumnParser.parse(e)}}},{"../Token":159,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],162:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.NonQuotedColumnParser=void 0;let r=e(`./ColumnFormatter`),i=e(`../Token`);n.NonQuotedColumnParser=class{constructor(e){this.parserOptions=e,this.columnFormatter=new r.ColumnFormatter(e)}parse(e){if(!e.hasMoreCharacters)return null;let{parserOptions:t}=this,n=[],r=e.nextCharacterToken;for(;r&&!i.Token.isTokenDelimiter(r,t)&&!i.Token.isTokenRowDelimiter(r);r=e.nextCharacterToken)n.push(r.token),e.advancePastToken(r);return this.columnFormatter.format(n.join(``))}}},{"../Token":159,"./ColumnFormatter":160}],163:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.QuotedColumnParser=void 0;let r=e(`./ColumnFormatter`),i=e(`../Token`);n.QuotedColumnParser=class{constructor(e){this.parserOptions=e,this.columnFormatter=new r.ColumnFormatter(e)}parse(e){if(!e.hasMoreCharacters)return null;let t=e.cursor,{foundClosingQuote:n,col:r}=this.gatherDataBetweenQuotes(e);if(!n){if(e.advanceTo(t),!e.hasMoreData)throw Error(`Parse Error: missing closing: '${this.parserOptions.quote||``}' in line: at '${e.lineFromCursor.replace(/[\r\n]/g,`\\n'`)}'`);return null}return this.checkForMalformedColumn(e),r}gatherDataBetweenQuotes(e){let{parserOptions:t}=this,n=!1,r=!1,a=[],o=e.nextCharacterToken;for(;!r&&o!==null;o=e.nextCharacterToken){let s=i.Token.isTokenQuote(o,t);if(!n&&s)n=!0;else if(n)if(i.Token.isTokenEscapeCharacter(o,t)){e.advancePastToken(o);let n=e.nextCharacterToken;n!==null&&(i.Token.isTokenQuote(n,t)||i.Token.isTokenEscapeCharacter(n,t))?(a.push(n.token),o=n):s?r=!0:a.push(o.token)}else s?r=!0:a.push(o.token);e.advancePastToken(o)}return{col:this.columnFormatter.format(a.join(``)),foundClosingQuote:r}}checkForMalformedColumn(e){let{parserOptions:t}=this,{nextNonSpaceToken:n}=e;if(n){let r=i.Token.isTokenDelimiter(n,t),a=i.Token.isTokenRowDelimiter(n);if(!r&&!a){let r=e.lineFromCursor.substr(0,10).replace(/[\r\n]/g,`\\n'`);throw Error(`Parse Error: expected: '${t.escapedDelimiter}' OR new line got: '${n.token}'. at '${r}`)}e.advanceToToken(n)}else e.hasMoreData||e.advancePastLine()}}},{"../Token":159,"./ColumnFormatter":160}],164:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.ColumnFormatter=n.QuotedColumnParser=n.NonQuotedColumnParser=n.ColumnParser=void 0;var r=e(`./ColumnParser`);Object.defineProperty(n,`ColumnParser`,{enumerable:!0,get:function(){return r.ColumnParser}});var i=e(`./NonQuotedColumnParser`);Object.defineProperty(n,`NonQuotedColumnParser`,{enumerable:!0,get:function(){return i.NonQuotedColumnParser}});var a=e(`./QuotedColumnParser`);Object.defineProperty(n,`QuotedColumnParser`,{enumerable:!0,get:function(){return a.QuotedColumnParser}});var o=e(`./ColumnFormatter`);Object.defineProperty(n,`ColumnFormatter`,{enumerable:!0,get:function(){return o.ColumnFormatter}})},{"./ColumnFormatter":160,"./ColumnParser":161,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],165:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.QuotedColumnParser=n.NonQuotedColumnParser=n.ColumnParser=n.Token=n.Scanner=n.RowParser=n.Parser=void 0;var r=e(`./Parser`);Object.defineProperty(n,`Parser`,{enumerable:!0,get:function(){return r.Parser}});var i=e(`./RowParser`);Object.defineProperty(n,`RowParser`,{enumerable:!0,get:function(){return i.RowParser}});var a=e(`./Scanner`);Object.defineProperty(n,`Scanner`,{enumerable:!0,get:function(){return a.Scanner}});var o=e(`./Token`);Object.defineProperty(n,`Token`,{enumerable:!0,get:function(){return o.Token}});var s=e(`./column`);Object.defineProperty(n,`ColumnParser`,{enumerable:!0,get:function(){return s.ColumnParser}}),Object.defineProperty(n,`NonQuotedColumnParser`,{enumerable:!0,get:function(){return s.NonQuotedColumnParser}}),Object.defineProperty(n,`QuotedColumnParser`,{enumeraLine truncated
`)}},{"./der":181,inherits:440}],184:[function(e,t,n){(function(t,n){function r(e,t){if(!e)throw Error(t||`Assertion failed`)}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function a(e,t,n){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,e!==null&&(t!==`le`&&t!==`be`||(n=t,t=10),this._init(e||0,t||10,n||`be`))}var o;typeof t==`object`?t.exports=a:(void 0).BN=a,a.BN=a,a.wordSize=26;try{o=typeof window<`u`&&window.Buffer!==void 0?window.Buffer:e(`buffer`).Buffer}catch{}function s(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function c(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function l(e,t,n,r){for(var i=0,a=Math.min(e.length,n),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(e){return e instanceof a||typeof e==`object`&&!!e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,n){if(typeof e==`number`)return this._initNumber(e,t,n);if(typeof e==`object`)return this._initArray(e,t,n);t===`hex`&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;(e=e.toString().replace(/\s+/g,``))[0]===`-`&&(i++,this.negative=1),i<e.length&&(t===16?this._parseHex(e,i,n):(this._parseBase(e,t,i),n===`le`&&this._initArray(this.toArray(),t,n)))},a.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),n===`le`&&this._initArray(this.toArray(),t,n)},a.prototype._initArray=function(e,t,n){if(r(typeof e.length==`number`),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if(n===`be`)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if(n===`le`)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,a=0,o=0;if(n===`be`)for(r=e.length-1;r>=t;r-=2)i=c(e,t,r)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else for(r=(e.length-t)%2==0?t+1:t;r<e.length;r+=2)i=c(e,t,r)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;this.strip()},a.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var a=e.length-n,o=a%r,s=Math.min(a,a-o)+n,c=0,u=n;u<s;u+=r)c=l(e,u,u+r,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(o!==0){var d=1;for(c=l(e,u,e.length,t),u=0;u<o;u++)d*=t;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},a.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},a.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?`<BN-R: `:`<BN: `)+this.toString(16)+`>`};var u=`.0.00.000.0000.00000.000000.0000000.00000000.000000000.0000000000.00000000000.000000000000.0000000000000.00000000000000.000000000000000.0000000000000000.00000000000000000.000000000000000000.0000000000000000000.00000000000000000000.000000000000000000000.0000000000000000000000.00000000000000000000000.000000000000000000000000.0000000000000000000000000`.split(`.`),d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,c=o/67108864|0;n.words[0]=s;for(var l=1;l<r;l++){for(var u=c>>>26,d=67108863&c,f=Math.min(l,t.length-1),p=Math.max(0,l-e.length+1);p<=f;p++){var m=l-p|0;u+=(o=(i=0|e.words[m])*(a=0|t.words[p])+d)/67108864|0,d=67108863&o}n. Line truncated
`))},n.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":206,"browserify-sign":213,"browserify-sign/algos":210,"create-ecdh":384,"create-hash":386,"create-hmac":388,"diffie-hellman":400,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],391:[function(e,t,n){(function(e,r){typeof n==`object`&&t!==void 0?t.exports=r():(e=typeof globalThis<`u`?globalThis:e||self).dayjs=r()})(void 0,(function(){var e=6e4,t=36e5,n=`millisecond`,r=`second`,i=`minute`,a=`hour`,o=`day`,s=`week`,c=`month`,l=`quarter`,u=`year`,d=`date`,f=`Invalid Date`,p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},_={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+g(r,2,`0`)+`:`+g(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),a=n-i<0,o=t.clone().add(r+(a?-1:1),c);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:u,w:s,d:o,D:d,h:a,m:i,s:r,ms:n,Q:l}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},v=`en`,y={};y[v]=h;var b=`$isDayjsObject`,x=function(e){return e instanceof T||!(!e||!e[b])},S=function e(t,n,r){var i;if(!t)return v;if(typeof t==`string`){var a=t.toLowerCase();y[a]&&(i=a),n&&(y[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;y[s]=t,i=s}return!r&&i&&(v=i),i||!r&&v},C=function(e,t){if(x(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new T(n)},w=_;w.l=S,w.i=x,w.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var T=function(){function h(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var g=h.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return w},g.isValid=function(){return this.$d.toString()!==f},g.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return C(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<C(e)},g.$g=function(e,t,n){return w.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,l=!!w.u(t)||t,f=w.p(e),p=function(e,t){var r=w.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return l?r:r.endOf(o)},m=function(e,t){return w.w(n.toDate()[e].apply(n.toDate(`s`),(l?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(f){case u:return l?p(1,0):p(31,11);case c:return l?p(1,g):p(0,g+1);case s:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(l?_-b:_+(6-b),g);case o:case d:return m(v+`Hours`,0);case a:return m(v+`Minutes`,1);case i:return m(v+`Seconds`,2);case r:return m(v+`Milliseconds`,3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var s,l=w.p(e),f=`set`+(this.$u?`UTC`:``),p=(s={},s[o]=f+`Date`,s[d]=f+`Date`,s[c]=f+`Month`,s[u]=f+`FullYear`,s[a]=f+`Hours`,s[i]=f+`Minutes`,s[r]=f+`Seconds`,s[n]=f+`Milliseconds`,s)[l],m=l===o?this.$D+(t-this.$W):t;if(l===c||l===u){var h=this.clone().set(d,1);h.$d[p](m),h.init(),this.$d=h.set(d,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[w.p(e)]()},g.add=function(n,l){var d,f=this;n=Number(n);var p=w.p(l),m=function(e){var t=C(f);return w.w(t.date(t.da Line truncated
\0`,M+=r(k,2),M+=m.magic,M+=r(d,2),M+=r(f,2),M+=r(O.crc32,4),M+=r(O.compressedSize,4),M+=r(O.uncompressedSize,4),M+=r(g.length,2),M+=r(C.length,2),{fileRecord:l.LOCAL_FILE_HEADER+M+g+C,dirRecord:l.CENTRAL_FILE_HEADER+r(j,2)+M+r(y.length,2)+`\0\0\0\0`+r(A,4)+r(i,4)+g+C+y}}var a=e(`../utils`),o=e(`../stream/GenericWorker`),s=e(`../utf8`),c=e(`../crc32`),l=e(`../signature`);function u(e,t,n,r){o.call(this,`ZipFileWorker`),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=function(e,t,n,i,o){var s=a.transformTo(`string`,o(i));return l.CENTRAL_DIRECTORY_END+`\0\0\0\0`+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on(`data`,(function(e){t.processChunk(e)})),e.on(`end`,(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on(`error`,(function(e){t.error(e)})),this},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var r=e(`../compressions`),i=e(`./ZipFileWorker`);n.generateWorker=function(e,t,n){var a=new i(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach((function(e,n){o++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw Error(n+` is not a valid compression method !`);return i}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(i,s).withStreamInfo(`file`,{name:e,dir:c,date:l,comment:n.comment||``,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(a)})),a.entriesCount=o}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw Error(`The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.`);this.files=Object.create(null),this.comment=null,this.root=``,this.clone=function(){var e=new r;for(var t in this)typeof this[t]!=`function`&&(e[t]=this[t]);return e}}(r.prototype=e(`./object`)).loadAsync=e(`./load`),r.support=e(`./support`),r.defaults=e(`./defaults`),r.version=`3.10.1`,r.loadAsync=function(e,t){return new r().loadAsync(e,t)},r.external=e(`./external`),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var r=e(`./utils`),i=e(`./external`),a=e(`./utf8`),o=e(`./zipEntries`),s=e(`./stream/Crc32Probe`),c=e(`./nodejsUtils`);function l(e){return new i.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on(`error`,(function(e){n(e)})).on(`end`,(function(){r.streamInfo.crc32===e.decompressed.crc32?t():n(Error(`Corrupted zip : CRC32 mismatch`))})).resume()}))}t.exports=function(e,t){var n=this Line truncated
Use Chrome, Firefox or Internet Explorer 11`)}}).call(this)}).call(this,e(`_process`),typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{_process:467,"safe-buffer":494}],476:[function(e,t,n){(function(t,r){(function(){function i(){throw Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var a=e(`safe-buffer`),o=e(`randombytes`),s=a.Buffer,c=a.kMaxLength,l=r.crypto||r.msCrypto,u=2**32-1;function d(e,t){if(typeof e!=`number`||e!=e)throw TypeError(`offset must be a number`);if(e>u||e<0)throw TypeError(`offset must be a uint32`);if(e>c||e>t)throw RangeError(`offset out of range`)}function f(e,t,n){if(typeof e!=`number`||e!=e)throw TypeError(`size must be a number`);if(e>u||e<0)throw TypeError(`size must be a uint32`);if(e+t>n||e>c)throw RangeError(`buffer too small`)}function p(e,n,r,i){if(t.browser){var a=e.buffer,s=new Uint8Array(a,n,r);return l.getRandomValues(s),i?void t.nextTick((function(){i(null,e)})):e}if(!i)return o(r).copy(e,n),e;o(r,(function(t,r){if(t)return i(t);r.copy(e,n),i(null,e)}))}l&&l.getRandomValues||!t.browser?(n.randomFill=function(e,t,n,i){if(!(s.isBuffer(e)||e instanceof r.Uint8Array))throw TypeError(`"buf" argument must be a Buffer or Uint8Array`);if(typeof t==`function`)i=t,t=0,n=e.length;else if(typeof n==`function`)i=n,n=e.length-t;else if(typeof i!=`function`)throw TypeError(`"cb" argument must be a function`);return d(t,e.length),f(n,t,e.length),p(e,t,n,i)},n.randomFillSync=function(e,t,n){if(t===void 0&&(t=0),!(s.isBuffer(e)||e instanceof r.Uint8Array))throw TypeError(`"buf" argument must be a Buffer or Uint8Array`);return d(t,e.length),n===void 0&&(n=e.length-t),f(n,t,e.length),p(e,t,n)}):(n.randomFill=i,n.randomFillSync=i)}).call(this)}).call(this,e(`_process`),typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(e,t,n){var r={};function i(e,t,n){n||=Error;var i=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return typeof t==`string`?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function a(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?`one of ${t} ${e.slice(0,n-1).join(`, `)}, or `+e[n-1]:n===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}i(`ERR_INVALID_OPT_VALUE`,(function(e,t){return`The value "`+t+`" is invalid for option "`+e+`"`}),TypeError),i(`ERR_INVALID_ARG_TYPE`,(function(e,t,n){var r,i,o,s;return typeof t==`string`&&(i=`not `,t.substr(!o||o<0?0:+o,i.length)===i)?(r=`must not be`,t=t.replace(/^not /,``)):r=`must be`,s=function(e,t,n){return(n===void 0||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e,` argument`)?`The ${e} ${r} ${a(t,`type`)}`:`The "${e}" ${function(e,t,n){return typeof n!=`number`&&(n=0),!(n+t.length>e.length)&&e.indexOf(t,n)!==-1}(e,`.`)?`property`:`argument`} ${r} ${a(t,`type`)}`,s+=`. Received type ${typeof n}`}),TypeError),i(`ERR_STREAM_PUSH_AFTER_EOF`,`stream.push() after EOF`),i(`ERR_METHOD_NOT_IMPLEMENTED`,(function(e){return`The `+e+` method is not implemented`})),i(`ERR_STREAM_PREMATURE_CLOSE`,`Premature close`),i(`ERR_STREAM_DESTROYED`,(function(e){return`Cannot call `+e+` after a stream was destroyed`})),i(`ERR_MULTIPLE_CALLBACK`,`Callback called multiple times`),i(`ERR_STREAM_CANNOT_PIPE`,`Cannot pipe, not readable`),i(`ERR_STREAM_WRITE_AFTER_END`,`write after end`),i(`ERR_STREAM_NULL_VALUES`,`May not write null values to stream`,TypeError),i(`ERR_UNKNOWN_ENCODING`,(function(e){return`Unknown encoding: `+e}),TypeError),i(`ERR_STREAM_UNSHIFT_AFTER_END_EVENT`,`stream.unshift() after end event`),t.exports.codes=r},{}],478:[function(e,t,n){(function(n){(function(){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=l;var i=e(`./_stream_readable`),a=e(`./_stream_writable`);e(`inherits`)(l,i);for(var o=r(a.prototype),s=0;s<o.length;s++){var c=o[s];l.prototype[c]||(l.prototype[c]=a.prototype[c])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once(`end`,u)))}function u(){this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(l.prototype,`writableHighWaterMark`,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,`writableBuffer`,{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,`writableLength`,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,`destroyed`,{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e(`_process`))},{"./_stream_readable":480,"./_stre Line truncated
`,t=this.i)}}captureToChar(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode();switch(r){case-2:this.text+=n.slice(t,this.prevI)+`
`,t=this.i,r=10;break;case-1:return this.text+=n.slice(t),!1}if(r===e)return this.text+=n.slice(t,this.prevI),!0}}captureNameChars(){let{chunk:e,i:t}=this;for(;;){let n=this.getCode();if(n===-1)return this.name+=e.slice(t),-1;if(!l(n))return this.name+=e.slice(t,this.prevI),n===-2?10:n}}skipSpaces(){for(;;){let e=this.getCodeNorm();if(e===-1||!o(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,e===`1.0`?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=f,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){let e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case 60:if(this.state=15,this.text.length!==0)throw Error(`no-empty text at start`);break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var e;let t=this.captureTo(S);switch(t){case 62:(e=this.doctypeHandler)==null||e.call(this,this.text),this.text=``,this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(t),t===91?this.state=4:b(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){let e=this.captureTo(C);e!==-1&&(this.text+=String.fromCodePoint(e),e===93?this.state=2:e===60?this.state=6:b(e)&&(this.state=5,this.q=e))}sDTDQuoted(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){let e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang=``;break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){let e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,t!==`-`&&(this.state=t===`--`?8:4,this.openWakaBang=``)}sDTDComment(){this.captureToChar(45)&&(this.text+=`-`,this.state=9)}sDTDCommentEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=e===45?10:8}sDTDCommentEnded(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===62?this.state=4:(this.fail(`malformed comment.`),this.state=8)}sDTDPI(){this.captureToChar(63)&&(this.text+=`?`,this.state=12)}sDTDPIEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===62&&(this.state=4)}sText(){this.tags.length===0?this.handleTextOutsideRoot():this.handleTextInRoot()}sEntity(){let{i:e}=this,{chunk:t}=this;e:for(;;)switch(this.getCode()){case-2:this.entity+=t.slice(e,this.prevI)+`
`,e=this.i;break;case 59:{let{entityReturnState:n}=this,r=this.entity+t.slice(e,this.prevI),i;this.state=n,r===``?(this.fail(`empty entity name.`),i=`&;`):(i=this.parseEntity(r),this.entity=``),n===13&&this.textHandler===void 0||(this.text+=i);break e}case-1:this.entity+=t.slice(e);break e}}sOpenWaka(){let e=this.getCode();if(c(e))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang=``,this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail(`disallowed character in tag name`),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case`[CDATA[`:this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang=``;break;case`--`:this.state=17,this.openWakaBang=``;break;case`DOCTYPE`:this.state=2,(this.doctype||this.sawRoot)&&this.fail(`inappropriately located doctype declaration.`),this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&this.fail(`incorrect syntax.`)}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var e;let t=this.getCodeNorm();t===45?(this.state=19,(e=this.commentHandler)==null||e.call(this,this.text),this.text=``):(this.text+=`-`+String.fromCodePoint(t),this.state=17)}sCommentEnded(){let e=this.getCodeNorm();e===62?this.state=13:(this.fail(`malformed comment.`),this.text+=`--`+String.fromCodePoint(e),this.state=17)}sCData(){this.captureToChar(93)&&(this.state=21)}sCDataEnding(){let e=this.getCodeNorm();e===93?this.state=22:(this.text+=`]`+String.fromCodePoint(e),this.state=20)}sCDataEnding2(){var e;let t=this.getCodeNorm();switch(t){case 62:(e=this.cdataHandler)==null||e.call(this,this.text),this.text=``,this.state=13;break;case 93:this.text+=`]`;break;default:this.text+=`]]`+String.fromCodePoint(t),this.state=20}}sPIFirstChar(){let e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===63||o(e)?(this.fail(`processing instruction without a target.`),this.state=e===63?26:25):(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){let{chunk:e,i:t}=this;for(;;){let n=this.getCodeNorm();if(n===-1)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(n)){this.piTarget+=e.slice(t,this.prevI);let r=n===63;r||o(n)?this.piTarget===`xml`?(this.xmlDeclPossible||this.fail(`an XML declaration must be at the start of the document.`),this.state=r?33:27):this.state=r?26:25:(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(n));break}}}sPIBody(){if(this.text.length===0){let e=this.getCodeNorm();e===63?this.state=26:o(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(63)&&(this.state=26)}sPIEnding(){var e;let t=this.getCodeNorm();if(t===62){let{piTarget:t}=this;t.toLowerCase()===`xml`&&this.fail(`the XML declaration must appear at the start of the document.`),(e=this.piHandler)==null||e.call(this,{target:t,body:this.text}),this.piTarget=this.text=``,this.state=13}else t===63?this.text+=`?`:(this.text+=`?`+String.fromCodePoint(t),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){let e=this.skipSpaces();e===63?this.state=33:e!==-1&&(this.state=28,this.name=String.fromCodePoint(e))}sXMLDeclName(){let e=this.captureTo(w);if(e===63)return this.state=33,this.name+=this.text,this.text=``,void this.fail(`XML declaration is incomplete.`);if(o(e)||e===61){if(this.name+=this.text,this.text=``,!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail(`did not expect any more name/value pairs.`);break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of `+this.xmlDeclExpects.join(`, `))}this.state=e===61?30:29}}sXMLDeclEq(){let e=this.getCodeNorm();if(e===63)return this.state=33,void this.fail(`XML declaration is incomplete.`);o(e)||(e!==61&&this.fail(`value required.`),this.state=30)}sXMLDeclValueStart(){let e=this.getCodeNorm();if(e===63)return this.state=33,void this.fail(`XML declaration is incomplete.`);o(e)||(b(e)?this.q=e:(this.fail(`value must be quoted.`),this.q=32),this.state=31)}sXMLDeclValue(){let e=this.captureTo([this.q,63]);if(e===63)return this.state=33,this.text=``,void this.fail(`XML declaration is incomplete.`);if(e===-1)return;let t=this.text;switch(this.text=``,this.name){case`version`:{this.xmlDeclExpects=[`encoding`,`standalone`];let e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail(`version number must match /^1\\.[0-9]+$/.`);break}case`encoding`:/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail(`encoding value must match /^[A-ZLine truncated
`),e=this.i,t=0;break;case-1:r!==void 0&&(this.text+=n.slice(e));break e;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this,{chunk:t,textHandler:n}=this,r=!1;e:for(;;){let i=this.getCode();switch(i){case 60:if(this.state=15,n!==void 0){let{text:r}=this,i=t.slice(e,this.prevI);r.length===0?i.length!==0&&n(i):(n(r+i),this.text=``)}break e;case 38:this.state=14,this.entityReturnState=13,n!==void 0&&(this.text+=t.slice(e,this.prevI)),r=!0;break e;case-2:n!==void 0&&(this.text+=t.slice(e,this.prevI)+`
`),e=this.i;break;case-1:n!==void 0&&(this.text+=t.slice(e));break e;default:o(i)||(r=!0)}}r&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){var n;let{prefix:r,local:i}=this.qname(e),a={name:e,prefix:r,local:i,value:t};if(this.attribList.push(a),(n=this.attributeHandler)==null||n.call(this,a),r===`xmlns`){let e=t.trim();this.currentXMLVersion===`1.0`&&e===``&&this.fail(`invalid attempt to undefine prefix in XML 1.0`),this.topNS[i]=e,E(this,i,e)}else if(e===`xmlns`){let e=t.trim();this.topNS[``]=e,E(this,``,e)}}pushAttribPlain(e,t){var n;let r={name:e,value:t};this.attribList.push(r),(n=this.attributeHandler)==null||n.call(this,r)}end(){var e,t;this.sawRoot||this.fail(`document must contain a root element.`);let{tags:n}=this;for(;n.length>0;){let e=n.pop();this.fail(`unclosed tag: `+e.name)}this.state!==0&&this.state!==13&&this.fail(`unexpected end.`);let{text:r}=this;return r.length!==0&&((e=this.textHandler)==null||e.call(this,r),this.text=``),this._closed=!0,(t=this.endHandler)==null||t.call(this),this._init(),this}resolve(e){var t;let n=this.topNS[e];if(n!==void 0)return n;let{tags:r}=this;for(let t=r.length-1;t>=0;t--)if(n=r[t].ns[e],n!==void 0)return n;return n=this.ns[e],n===void 0?(t=this.opt).resolvePrefix?.call(t,e):n}qname(e){let t=e.indexOf(`:`);if(t===-1)return{prefix:``,local:e};let n=e.slice(t+1),r=e.slice(0,t);return(r===``||n===``||n.includes(`:`))&&this.fail(`malformed name: ${e}.`),{prefix:r,local:n}}processAttribsNS(){let{attribList:e}=this,t=this.tag;{let{prefix:e,local:n}=this.qname(t.name);t.prefix=e,t.local=n;let r=t.uri=this.resolve(e)??``;e!==``&&(e===`xmlns`&&this.fail(`tags may not have "xmlns" as prefix.`),r===``&&(this.fail(`unbound namespace prefix: ${JSON.stringify(e)}.`),t.uri=e))}if(e.length===0)return;let{attributes:n}=t,r=new Set;for(let t of e){let{name:e,prefix:i,local:a}=t,o,s;i===``?(o=e===`xmlns`?_:``,s=e):(o=this.resolve(i),o===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(i)}.`),o=i),s=`{${o}}${a}`),r.has(s)&&this.fail(`duplicate attribute: ${s}.`),r.add(s),t.uri=o,n[e]=t}this.attribList=[]}processAttribsPlain(){let{attribList:e}=this,t=this.tag.attributes;for(let{name:n,value:r}of e)t[n]!==void 0&&this.fail(`duplicate attribute: ${n}.`),t[n]=r;this.attribList=[]}openTag(){var e;this.processAttribs();let{tags:t}=this,n=this.tag;n.isSelfClosing=!1,(e=this.openTagHandler)==null||e.call(this,n),t.push(n),this.state=13,this.name=``}openSelfClosingTag(){var e,t;this.processAttribs();let{tags:n}=this,r=this.tag;r.isSelfClosing=!0,(e=this.openTagHandler)==null||e.call(this,r),(t=this.closeTagHandler)==null||t.call(this,r),(this.tag=n[n.length-1]??null)===null&&(this.closedRoot=!0),this.state=13,this.name=``}closeTag(){let{tags:e,name:t}=this;if(this.state=13,this.name=``,t===``)return this.fail(`weird empty close tag.`),void(this.text+=`</>`);let n=this.closeTagHandler,r=e.length;for(;r-- >0;){let r=this.tag=e.pop();if(this.topNS=r.ns,n?.(r),r.name===t)break;this.fail(`unexpected close tag.`)}r===0?this.closedRoot=!0:r<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if(e[0]!==`#`){let t=this.ENTITIES[e];return t===void 0?(this.fail(this.isName(e)?`undefined entity.`:`disallowed character in entity name.`),`&${e};`):t}let t=NaN;return e[1]===`x`&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail(`malformed character entity.`),`&${e};`)}}},{"xmlchars/xml/1.0/ed5":543,"xmlchars/xml/1.1/ed2":544,"xmlchars/xmlns/1.0/ed3":545}],497:[function(e,t,n){var r=e(`safe-buffer`).Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){typeof e==`string`&&(t||=`utf8`,e=r.from(e,t));for(var n=this._block,i=this._blockSize,a=e.length,o=this._len,s=0;s<a;){for(var c=o%i,l=Math.min(a-s,i-c),u=0;u<l;u++)n[c+u]=e[s+u];s+=l,(o+=l)%i==0&&this._update(n)}return this._len+=a,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},i.prototype._update=function(){throw Error(`_update must be implemented by subclass`)},t.exports=i},{"safe-buffer":494}],498:[function(e,t,n){var r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw Error(e+` is not supported (we accept pull requests)`);return new t};r.sha=e(`./sha`),r.sha1=e(`./sha1`),r.sha224=e(`./Line truncated
`),e+t.replace(/\u001b\[\d\d?m/g,``).length+1}),0)>60?n[0]+(t===``?``:t+`
`)+` `+e.join(`,
`)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}(l,b,T)):T[0]+b+T[1]}function d(e){return`[`+Error.prototype.toString.call(e)+`]`}function f(e,t,n,r,i,a){var o,s,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=c.set?e.stylize(`[Getter/Setter]`,`special`):e.stylize(`[Getter]`,`special`):c.set&&(s=e.stylize(`[Setter]`,`special`)),O(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=h(n)?u(e,c.value,null):u(e,c.value,n-1)).indexOf(`
`)>-1&&(s=a?s.split(`
`).map((function(e){return` `+e})).join(`
`).substr(2):`
`+s.split(`
`).map((function(e){return` `+e})).join(`
`)):s=e.stylize(`[Circular]`,`special`)),v(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(``+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,`name`)):(o=o.replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`),o=e.stylize(o,`string`))}return o+`: `+s}function p(e){return Array.isArray(e)}function m(e){return typeof e==`boolean`}function h(e){return e===null}function g(e){return typeof e==`number`}function _(e){return typeof e==`string`}function v(e){return e===void 0}function y(e){return b(e)&&w(e)===`[object RegExp]`}function b(e){return typeof e==`object`&&!!e}function x(e){return b(e)&&w(e)===`[object Date]`}function S(e){return b(e)&&(w(e)===`[object Error]`||e instanceof Error)}function C(e){return typeof e==`function`}function w(e){return Object.prototype.toString.call(e)}function T(e){return e<10?`0`+e.toString(10):e.toString(10)}n.debuglog=function(e){if(v(a)&&(a=t.env.NODE_DEBUG||``),e=e.toUpperCase(),!o[e])if(RegExp(`\\b`+e+`\\b`,`i`).test(a)){var r=t.pid;o[e]=function(){var t=n.format.apply(n,arguments);console.error(`%s %d: %s`,e,r,t)}}else o[e]=function(){};return o[e]},n.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`},n.isArray=p,n.isBoolean=m,n.isNull=h,n.isNullOrUndefined=function(e){return e==null},n.isNumber=g,n.isString=_,n.isSymbol=function(e){return typeof e==`symbol`},n.isUndefined=v,n.isRegExp=y,n.isObject=b,n.isDate=x,n.isError=S,n.isFunction=C,n.isPrimitive=function(e){return e===null||typeof e==`boolean`||typeof e==`number`||typeof e==`string`||typeof e==`symbol`||e===void 0},n.isBuffer=e(`./support/isBuffer`);var E=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function D(){var e=new Date,t=[T(e.getHours()),T(e.getMinutes()),T(e.getSeconds())].join(`:`);return[e.getDate(),E[e.getMonth()],t].join(` `)}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.log=function(){console.log(`%s - %s`,D(),n.format.apply(n,arguments))},n.inherits=e(`inherits`),n._extend=function(e,t){if(!t||!b(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this)}).call(this,e(`_process`),typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{"./support/isBuffer":526,_process:467,inherits:525}],528:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),Object.defineProperty(n,`v1`,{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,`v3`,{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(n,`v4`,{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,`v5`,{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,`NIL`,{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(n,`version`,{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(n,`validate`,{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(n,`stringify`,{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(n,`parse`,{enumerable:!0,get:function(){return d.default}});var r=f(e(`./v1.js`)),i=f(e(`./v3.js`)),a=f(e(`./v4.js`)),o=f(e(`./v5.js`)),s=f(e(`./nil.js`)),c=f(e(`./version.js`)),l=f(e(`./validate.js`)),u=f(e(`./stringify.js`)),d=f(e(`./parse.js`));function f(e){return e&&e.__esModule?e:{default:e}}},{"./nil.js":530,"./parse.js":531,"./stringify.js":535,"./v1.js":536,"./v3.js":537,"./v4.js":539,"./v5.js":540,"./validate.js":541,"./version.js":542}],529:[function(e,t,n){function r(e){return 14+(e+64>>>9<<4)+1}function i(e,t){let n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t,n,r,a,o){return i((s=i(i(t,e),i(r,o)))<<(c=a)|s>>>32-c,n);var s,c}function o(e,t,n,r,i,o,s){return a(t&n|~t&r,e,t,i,o,s)}function s(e,t,n,r,i,o,s){return a(t&r|n&~r,e,t,i,o,s)}function c(e,t,n,r,i,o,s){return a(t^n^r,e,t,i,o,s)}function l(e,t,n,r,i,o,s){return a(n^(t|~r),e,t,i,o,s)}Object.defineProperty(n,`__esModule`,{value:!0}),n.default=void 0,n.default=function(e){if(typeof e==`string`){let t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){let t=[],n=32*e.length;for(let r=0;r<n;r+=8){let n=e[r>>5]>>>r%32&255,i=parseInt(`0123456789abcdef`.charAt(n>>>4&15)+`0123456789abcdef`.charAt(15&n),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[r(t)-1]=t;let n=1732584193,a=-271733879,u=-1732584194,d=271733878;for(let t=0;t<e.length;t+=16){let r=n,f=a,p=u,m=d;n=o(n,a,u,d,e[t],7,-680876936),d=o(d,n,a,u,e[t+1],12,-389564586),u=o(u,d,n,a,e[t+2],17,606105819),a=o(a,u,d,n,e[t+3],22,-1044525330),n=o(n,a,u,d,e[t+4],7,-176418897),d=o(d,n,a,u,e[t+5],12,1200080426),u=o(u,d,n,a,e[t+6],17,-147323 Line truncated
\r -퟿-�𐀀-􏿿`,n.S=` \r
`,n.NAME_START_CHAR=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,n.NAME_CHAR=`-`+n.NAME_START_CHAR+`.0-9·̀-ͯ‿-⁀`,n.CHAR_RE=RegExp(`^[`+n.CHAR+`]$`,`u`),n.S_RE=RegExp(`^[`+n.S+`]+$`,`u`),n.NAME_START_CHAR_RE=RegExp(`^[`+n.NAME_START_CHAR+`]$`,`u`),n.NAME_CHAR_RE=RegExp(`^[`+n.NAME_CHAR+`]$`,`u`),n.NAME_RE=RegExp(`^[`+n.NAME_START_CHAR+`][`+n.NAME_CHAR+`]*$`,`u`),n.NMTOKEN_RE=RegExp(`^[`+n.NAME_CHAR+`]+$`,`u`);function r(e){return e>=65&&e<=90||e>=97&&e<=122||e===58||e===95||e===8204||e===8205||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}n.S_LIST=[32,10,13,9],n.isChar=function(e){return e>=32&&e<=55295||e===10||e===13||e===9||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isS=function(e){return e===32||e===10||e===13||e===9},n.isNameStartChar=r,n.isNameChar=function(e){return r(e)||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256}},{}],544:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.CHAR=`-퟿-�𐀀-􏿿`,n.RESTRICTED_CHAR=`-\b\v\f--„†-Ÿ`,n.S=` \r
`,n.NAME_START_CHAR=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,n.NAME_CHAR=`-`+n.NAME_START_CHAR+`.0-9·̀-ͯ‿-⁀`,n.CHAR_RE=RegExp(`^[`+n.CHAR+`]$`,`u`),n.RESTRICTED_CHAR_RE=RegExp(`^[`+n.RESTRICTED_CHAR+`]$`,`u`),n.S_RE=RegExp(`^[`+n.S+`]+$`,`u`),n.NAME_START_CHAR_RE=RegExp(`^[`+n.NAME_START_CHAR+`]$`,`u`),n.NAME_CHAR_RE=RegExp(`^[`+n.NAME_CHAR+`]$`,`u`),n.NAME_RE=RegExp(`^[`+n.NAME_START_CHAR+`][`+n.NAME_CHAR+`]*$`,`u`),n.NMTOKEN_RE=RegExp(`^[`+n.NAME_CHAR+`]+$`,`u`);function r(e){return e>=65&&e<=90||e>=97&&e<=122||e===58||e===95||e===8204||e===8205||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}n.S_LIST=[32,10,13,9],n.isChar=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isRestrictedChar=function(e){return e>=1&&e<=8||e===11||e===12||e>=14&&e<=31||e>=127&&e<=132||e>=134&&e<=159},n.isCharAndNotRestricted=function(e){return e===9||e===10||e===13||e>31&&e<127||e===133||e>159&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isS=function(e){return e===32||e===10||e===13||e===9},n.isNameStartChar=r,n.isNameChar=function(e){return r(e)||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256}},{}],545:[function(e,t,n){function r(e){return e>=65&&e<=90||e===95||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(n,`__esModule`,{value:!0}),n.NC_NAME_START_CHAR=`A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,n.NC_NAME_CHAR=`-`+n.NC_NAME_START_CHAR+`.0-9·̀-ͯ‿-⁀`,n.NC_NAME_START_CHAR_RE=RegExp(`^[`+n.NC_NAME_START_CHAR+`]$`,`u`),n.NC_NAME_CHAR_RE=RegExp(`^[`+n.NC_NAME_CHAR+`]$`,`u`),n.NC_NAME_RE=RegExp(`^[`+n.NC_NAME_START_CHAR+`][`+n.NC_NAME_CHAR+`]*$`,`u`),n.isNCNameStartChar=r,n.isNCNameChar=function(e){return r(e)||e===45||e===46||e>=48&&e<=57||e===183||e>=768&&e<=879||e>=8255&&e<=8256}},{}]},{},[15])(15)}))}))(),1);const nu=$(`zx`,()=>{let e=Y({}),t=H(()=>Object.values(e.value)),n=H(()=>Object.keys(e.value).length),r=H(()=>Object.keys(e.value)),i=async t=>{if(!t||!t.id)return console.warn(`[DataStore] 创建失败:缺少 id 字段`),!1;let n=String(t.id);return e.value[n]?(console.warn(`[DataStore] 创建失败:ID "${n}" 已存在`),!1):(e.value[n]=JSON.parse(JSON.stringify(t)),console.log(`[DataStore] 创建成功:${n}`),!0)},a=async e=>{let t=0;for(let n of e)await i(n)&&t++;return console.log(`[DataStore] 批量创建完成:成功 ${t}/${e.length}`),t},o=async t=>{if(!t||!t.id)throw console.warn(`[DataStore] Upsert 失败:缺少 id 字段`),Error(`数据项必须包含 id 字段`);let n=String(t.id),r=Object.prototype.hasOwnProperty.call(e.value,n);return e.value[n]=JSON.parse(JSON.stringify(t)),r?`updated`:`created`},s=async t=>{let n=0,r=0,i=0;if(!t.length)return console.log(`[覆盖保存] 传入空数组,不执行任何操作`),{created:0,updated:0,deleted:0};let a=t[0]?.type,s=Object.values(e.value).filter(e=>!a||e.type===a),c=new Set(t.map(e=>e.id));for(let t of s)c.has(t.id)||(delete e.value[t.id],i++);for(let e of t)await o(e)===`created`?n++:r++;return console.log(`[覆盖保存] 创建 ${n},更新 ${r},删除 ${i}`),{created:n,updated:r,deleted:i}},c=async t=>{let n=String(t);return e.value[n]?JSON.parse(JSON.stringify(e.value[n])):null},l=async e=>{let t=[];for(let n of e){let e=await c(n);e&&t.push(e)}return t},u=async()=>JSON.parse(JSON.stringify(t.value)),d=async(t,n)=>{let r=String(t);return e.value[r]?!n||n.id!==t?(console.warn(`[DataStore] 更新失败:ID 不匹配`),!1):(e.value[r]=JSON.parse(JSON.stringify(n)),console.log(`[DataStore] 更新成功:${r}`),!0):(console.warn(`[DataStore] 更新失败:ID "${r}" 不存在`),!1)},f=async(t,n)=>{let r=String(t);return e.value[r]?(e.value[r]={...e.value[r],...n,id:r},console.log(`[DataStore] 部分更新成功:${r}`),!0):(console.warn(`[DataStore] 部分更新失败:ID "${r}" 不存在`),!1)},p=async e=>{let t=0;for(let{id:n,data:r}of e)await f(n,r)&&t++;return console.log(`[DataStore] 批量更新完成:成功 ${t}/${e.length}`),t},m=async t=>{let n=String(t);return e.value[n]?(delete e.value[n],console.log(`[DataStore] 删除成功:${n}`),!0):(console.warn(`[DataStore] 删除失败:ID "${n}" 不存在`),!1)},h=async e=>{let t=0;for(let n of e)await m(n)&&t++;return console.log(`[DataStore] 批量删除完成:成功 ${t}/${e.length}`),t},g=async()=>{e.value={},console.log(`[DataStore] 已清空所有数据`)},_=async e=>{let n=t.value.filter(t=>e.every(e=>{if(!e.field)return!0;let n=t[e.field],r=e.value;switch(e.operator||`eq`){case`eq`:return n===r;case`neq`:return n!==r;case`gt`:return n>r;case`lt`:return n<r;case`gLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||n.return==null||n.return()}finally{if(c)throw o}}}}function r(e,t){if(e){if(typeof e==`string`)return i(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=iu(),o=lu(),s=uu(),c=du(),l=fu(),u=ru(),d=su(),f=pu(),p=cu(),m=mu(),h=hu(),g=gu();function _(e){if(e._data instanceof f&&(e._data=e._data.getContent(),e.options.binary=!0,e.options.base64=!1,o.getTypeOf(e._data)===`uint8array`)){var t=e._data;e._data=new Uint8Array(t.length),t.length!==0&&e._data.set(t,0)}return e._data}function v(e){var t=_(e);return o.getTypeOf(t)===`string`?!e.options.binary&&a.nodebuffer?p(t,`utf-8`):e.asBinary():t}var y={load:function(){throw Error(`Load method is not defined. Is the file pizzip-load.js included ?`)},filter:function(e){var t=[],n,r,i,a;for(n in this.files)this.files.hasOwnProperty(n)&&(i=this.files[n],a=new x(i.name,i._data,o.extend(i.options)),r=n.slice(this.root.length,n.length),n.slice(0,this.root.length)===this.root&&e(r,a)&&t.push(a));return t},file:function(e,t,n){if(arguments.length===1){if(o.isRegExp(e)){var r=e;return this.filter(function(e,t){return!t.dir&&r.test(e)})}return this.filter(function(t,n){return!n.dir&&t===e})[0]||null}return e=this.root+e,w.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(o.isRegExp(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=D.call(this,t),r=this.shallowClone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||=(e.slice(-1)!==`/`&&(e+=`/`),this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){e=o.extend(e||{},{base64:!0,compression:`STORE`,compressionOptions:null,type:`base64`,platform:`DOS`,comment:null,mimeType:`application/zip`,encodeFileName:m.utf8encode}),o.checkSupport(e.type),(e.platform===`darwin`||e.platform===`freebsd`||e.platform===`linux`||e.platform===`sunos`)&&(e.platform=`UNIX`),e.platform===`win32`&&(e.platform=`DOS`);var t=[],r=o.transformTo(`string`,e.encodeFileName(e.comment||this.comment||``)),i=0,a=0,s,l,f=[];for(var p in e.fileOrder instanceof Array&&(f=e.fileOrder),this.files)f.indexOf(p)===-1&&f.push(p);typeof e.fileOrder==`function`&&(f=e.fileOrder(this.files));var _=n(f),v;try{for(_.s();!(v=_.n()).done;){var y=v.value;if(this.files.hasOwnProperty(y)){var b=this.files[y],x=b.options.compression||e.compression.toUpperCase(),C=d[x];if(!C)throw Error(x+` is not a valid compression method !`);var w=b.options.compressionOptions||e.compressionOptions||{},T=O.call(this,b,C,w),E=j.call(this,y,b,T,i,e.platform,e.encodeFileName);i+=E.fileRecord.length+T.compressedSize,a+=E.dirRecord.length,t.push(E)}}}catch(e){_.e(e)}finally{_.f()}var D=``;D=c.CENTRAL_DIRECTORY_END+`\0\0\0\0`+S(t.length,2)+S(t.length,2)+S(a,4)+S(i,4)+S(r.length,2)+r;var k=e.type.toLowerCase();for(s=k===`uint8array`||k===`arraybuffer`||k===`blob`||k===`nodebuffer`?new g(i+a+D.length):new h(i+a+D.length),l=0;l<t.length;l++)s.append(t[l].fileRecord),s.append(t[l].compressedObject.compressedContent);for(l=0;l<t.length;l++)s.append(t[l].dirRecord);s.append(D);var A=s.finalize();switch(e.type.toLowerCase()){case`uint8array`:case`arraybuffer`:case`nodebuffer`:return o.transformTo(e.type.toLowerCase(),A);case`blob`:return o.arrayBuffer2Blob(o.transformTo(`arraybuffer`,A),e.mimeType);case`base64`:return e.base64?u.encode(A):A;default:return A}},crc32:function(e,t){return s(e,t)},utf8encode:function(e){return o.transformTo(`string`,m.utf8encode(e))},utf8decode:function(e){return m.utf8decode(e)}};function b(e){var t=_(this);return t==null?``:(this.options.base64&&(t=u.decode(t)),t=e&&this.options.binary?y.utf8decode(t):o.transformTo(`string`,t),!e&&!this.options.binary&&(t=o.transformTo(`string`,y.utf8encode(t))),t)}function x(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this.options=n,this._initialMetadata={dir:n.dir,date:n.date}}x.prototype={asText:function(){return b.call(this,!0)},asBinary:function(){return b.call(this,!1)},asNodeBuffer:function(){var e=v(this);return o.transformTo(`nodebuffer`,e)},asUint8Array:function(){var e=v(this);return o.transformTo(`uint8array`,e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};function S(e,t){var n=``,r;for(r=0;r<t;r++)n+=String.fromCharCode(e&255),e>>>=8;return n}function C(e){return e||={},e.base64=== Line truncated
\0`,j+=!l&&(g||_)?`\0\b`:`\0\0`,j+=n.compressionMethod,j+=S(y,2),j+=S(b,2),j+=S(n.crc32,4),j+=S(n.compressedSize,4),j+=S(n.uncompressedSize,4),j+=S(u.length,2),j+=S(x.length,2),{fileRecord:c.LOCAL_FILE_HEADER+j+u+x,dirRecord:c.CENTRAL_FILE_HEADER+S(O,2)+j+S(p.length,2)+`\0\0\0\0`+S(D,4)+S(r,4)+u+x+p,compressedObject:n}}t.exports=y})),vu=a(((e,t)=>{var n=lu();function r(){this.data=null,this.length=0,this.index=0,this.zero=0}r.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error(`End of data reached (data length = `+this.length+`, asked index = `+e+`). Corrupted zip ?`)},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t=0,n;for(this.checkOffset(e),n=this.index+e-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=e,t},readString:function(e){return n.transformTo(`string`,this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1)}},t.exports=r})),yu=a(((e,t)=>{var n=vu(),r=lu();function i(e,t){this.data=e,t||(this.data=r.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0}i.prototype=new n,i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i})),bu=a(((e,t)=>{var n=vu();function r(e){if(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;for(var t=0;t<this.data.length;t++)e[t]&=e[t]}}r.prototype=new n,r.prototype.byteAt=function(e){return this.data[this.zero+e]},r.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a-this.zero;return-1},r.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r})),xu=a(((e,t)=>{var n=bu();function r(e){e&&(this.data=e,this.length=this.data.length,this.index=0,this.zero=0)}r.prototype=new n,r.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array;var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r})),Su=a(((e,t)=>{var n=xu();function r(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0}r.prototype=new n,r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r})),Cu=a(((e,t)=>{var n=yu(),r=lu(),i=pu(),a=_u(),o=iu(),s=0,c=3;function l(e,t){this.options=e,this.loadOptions=t}l.prototype={isEncrypted:function(){return(this.bitFlag&1)==1},useUTF8:function(){return(this.bitFlag&2048)==2048},prepareCompressedContent:function(e,t,n){return function(){var r=e.index;e.setIndex(t);var i=e.readData(n);return e.setIndex(r),i}},prepareContent:function(e,t,n,i,a){return function(){var e=r.transformTo(i.uncompressInputType,this.getCompressedContent()),t=i.uncompress(e);if(t.length!==a)throw Error(`Bug : uncompressed data size mismatch`);return t}},readLocalPart:function(e){e.skip(22),this.fileNameLength=e.readInt(2);var t=e.readInt(2);if(this.fileName=e.readData(this.fileNameLength),e.skip(t),this.compressedSize===-1||this.uncompressedSize===-1)throw Error(`Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)`);var n=r.findCompression(this.compressionMethod);if(n===null)throw Error(`Corrupted zip : compression `+r.pretty(this.compressionMethod)+` unknown (inner file : `+r.transformTo(`string`,this.fileName)+`)`);if(this.decompressed=new i,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(e,e.index,this.compressedSize,n),this.decompressed.getContent=this.prepareContent(e,e.index,this.compressedSize,n,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=r.transformTo(`string`,this.decompressed.getContent()),a.crc32(this.decompressed)!==this.crc32))throw Error(`Corrupted zip : CRC32 mismatch`)},readCentralPart:function(e){if(this.versionMadeBy=e.readInt(2),this.versionNeeded=e.readInt(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4),this.fileN Line truncated
`,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlArr:`⇍`,nlarr:`↚`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nLeftarrow:`⇍`,nleftarrow:`↚`,nLeftrightarrow:`⇎`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,nopf:`𝕟`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nRightarrow:`⇏`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nVDash:`⊯`,nVdash:`⊮`,nvDash:`⊭`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwArr:`⇖`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,Ocirc:`Ô`,ocirc:`ô`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,Or:`⩔`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,Otimes:`⨷`,otimes:`⊗`,otimesas:`⨶`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:``,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,Popf:`ℙ`,popf:`𝕡`,pound:`£`,Pr:`⪻`,pr:`≺`,prap:`⪷`,prcue:`≼`,prE:`⪳`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,Prime:`″`,prime:`′`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`, Line truncated
`&&n!==` `&&n!==`\r`)return t;t++,a()}return-1}function s(){return e.substring(r)}function c(t){return e.substring(r,r+t.length)===t}function l(t){return e.substring(r,r+t.length).toUpperCase()===t.toUpperCase()}function u(e){var t=n.reg(`^`,e).exec(s());return t?(a(t[0].length),t[0]):null}return{char:i,getIndex:function(){return r},getMatch:u,getSource:function(){return e},skip:a,skipBlanks:o,substringFromIndex:s,substringStartsWith:c,substringStartsWithCaseInsensitive:l}}function O(e,t){function r(e,t){var r=n.PI.exec(e.substringFromIndex());return r?r[1].toLowerCase()===`xml`?t.fatalError(`xml declaration is only allowed at the start of the document, but found at position `+e.getIndex()):(e.skip(r[0].length),r[0]):t.fatalError(`processing instruction is not well-formed at position `+e.getIndex())}var i=e.getSource();if(e.char()===`[`){e.skip(1);for(var a=e.getIndex();e.getIndex()<i.length;){if(e.skipBlanks(),e.char()===`]`){var o=i.substring(a,e.getIndex());return e.skip(1),o}var s=null;if(e.char()===`<`&&e.char(1)===`!`)switch(e.char(2)){case`E`:e.char(3)===`L`?s=e.getMatch(n.elementdecl):e.char(3)===`N`&&(s=e.getMatch(n.EntityDecl));break;case`A`:s=e.getMatch(n.AttlistDecl);break;case`N`:s=e.getMatch(n.NotationDecl);break;case`-`:s=e.getMatch(n.Comment);break}else if(e.char()===`<`&&e.char(1)===`?`)s=r(e,t);else if(e.char()===`%`)s=e.getMatch(n.PEReference);else return t.fatalError(`Error detected in Markup declaration`);if(!s)return t.fatalError(`Error in internal subset at position `+e.getIndex())}return t.fatalError(`doctype internal subset is not well-formed, missing ]`)}}function k(e,t,r,i,a){var o=D(e,t);switch(a?o.char(2).toUpperCase():o.char(2)){case`-`:var s=o.getMatch(n.Comment);return s?(r.comment(s,n.COMMENT_START.length,s.length-n.COMMENT_START.length-n.COMMENT_END.length),o.getIndex()):i.fatalError(`comment is not well-formed at position `+o.getIndex());case`[`:var c=o.getMatch(n.CDSect);return c?!a&&!r.currentElement?i.fatalError(`CDATA outside of element`):(r.startCDATA(),r.characters(c,n.CDATA_START.length,c.length-n.CDATA_START.length-n.CDATA_END.length),r.endCDATA(),o.getIndex()):i.fatalError(`Invalid CDATA starting at position `+t);case`D`:if(r.doc&&r.doc.documentElement)return i.fatalError(`Doctype not allowed inside or after documentElement at position `+o.getIndex());if(a?!o.substringStartsWithCaseInsensitive(n.DOCTYPE_DECL_START):!o.substringStartsWith(n.DOCTYPE_DECL_START))return i.fatalError(`Expected `+n.DOCTYPE_DECL_START+` at position `+o.getIndex());if(o.skip(n.DOCTYPE_DECL_START.length),o.skipBlanks()<1)return i.fatalError(`Expected whitespace after `+n.DOCTYPE_DECL_START+` at position `+o.getIndex());var l={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(l.name=o.getMatch(n.Name),!l.name)return i.fatalError(`doctype name missing or contains unexpected characters at position `+o.getIndex());if(a&&l.name.toLowerCase()!==`html`&&i.warning(`Unexpected DOCTYPE in HTML document at position `+o.getIndex()),o.skipBlanks(),o.substringStartsWith(n.PUBLIC)||o.substringStartsWith(n.SYSTEM)){var u=n.ExternalID_match.exec(o.substringFromIndex());if(!u)return i.fatalError(`doctype external id is not well-formed at position `+o.getIndex());u.groups.SystemLiteralOnly===void 0?(l.systemId=u.groups.SystemLiteral,l.publicId=u.groups.PubidLiteral):l.systemId=u.groups.SystemLiteralOnly,o.skip(u[0].length)}else if(a&&o.substringStartsWithCaseInsensitive(n.SYSTEM)){if(o.skip(n.SYSTEM.length),o.skipBlanks()<1)return i.fatalError(`Expected whitespace after `+n.SYSTEM+` at position `+o.getIndex());if(l.systemId=o.getMatch(n.ABOUT_LEGACY_COMPAT_SystemLiteral),!l.systemId)return i.fatalError(`Expected `+n.ABOUT_LEGACY_COMPAT+` in single or double quotes after `+n.SYSTEM+` at position `+o.getIndex())}return a&&l.systemId&&!n.ABOUT_LEGACY_COMPAT_SystemLiteral.test(l.systemId)&&i.warning(`Unexpected doctype.systemId in HTML document at position `+o.getIndex()),a||(o.skipBlanks(),l.internalSubset=O(o,i)),o.skipBlanks(),o.char()===`>`?(o.skip(1),r.startDTD(l.name,l.publicId,l.systemId,l.internalSubset),r.endDTD(),o.getIndex()):i.fatalError(`doctype not terminated with > at position `+o.getIndex());default:return i.fatalError(`Not well-formed XML starting with "<!" at position `+t)}}function A(e,t,r,i){var a=e.substring(t).match(n.PI);if(!a)return i.fatalError(`Invalid processing instruction starting at position `+t);if(a[1].toLowerCase()===`xml`){if(t>0)return i.fatalError(`processing instruction at position `+t+` is an xml declaration which is only at the start of the document`);if(!n.XMLDecl.test(e.substring(t)))return i.fatalError(`xml declaration is not well-formed`)}return r.processingInstruction(a[1],a[2]),t+a[0].length}function j(){this.attributeNames=Object.create(null)}j.prototype={setTagName:function(e){if(!n.QName_exact.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,r){if(!n.QName_exact.test(e))throw Error(`invalid attribute:`+e);this.att Line truncated
`).replace(/[\r\u0085\u2028\u2029]/g,`
`)}function h(e){if(e||={},e.locator===void 0&&(e.locator=!0),this.assign=e.assign||t.assign,this.domHandler=e.domHandler||g,this.onError=e.onError||e.errorHandler,e.errorHandler&&typeof e.errorHandler!=`function`)throw TypeError(`errorHandler object is no longer supported, switch to onError!`);e.errorHandler&&e.errorHandler(`warning`,"The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=e.normalizeLineEndings||m,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns)}h.prototype.parseFromString=function(e,n){if(!l(n))throw TypeError(`DOMParser.parseFromString: the provided mimeType "`+n+`" is not valid.`);var r=this.assign(Object.create(null),this.xmlns),a=i.XML_ENTITIES,o=r[``]||null;s(n)?(a=i.HTML_ENTITIES,o=d.HTML):n===u.XML_SVG_IMAGE&&(o=d.SVG),r[``]=o,r.xml=r.xml||d.XML;var c=new this.domHandler({mimeType:n,defaultNamespace:o,onError:this.onError}),f=this.locator?{}:void 0;this.locator&&c.setDocumentLocator(f);var m=new p;return m.errorHandler=c,m.domBuilder=c,!t.isHTMLMimeType(n)&&typeof e!=`string`&&m.errorHandler.fatalError(`source is not a string`),m.parse(this.normalizeLineEndings(String(e)),r,a),c.doc.documentElement||m.errorHandler.fatalError(`missing root element`),c.doc};function g(e){var t=e||{};this.mimeType=t.mimeType||u.XML_APPLICATION,this.defaultNamespace=t.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=t.onError}function _(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}g.prototype={startDocument:function(){var e=new o;this.doc=c(this.mimeType)?e.createHTMLDocument(!1):e.createDocument(this.defaultNamespace,``)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;b(this,a),this.currentElement=a,this.locator&&_(this.locator,a);for(var s=0;s<o;s++){var e=r.getURI(s),c=r.getValue(s),n=r.getQName(s),l=i.createAttributeNS(e,n);this.locator&&_(r.getLocator(s),l),l.value=l.nodeValue=c,a.setAttributeNode(l)}},endElement:function(e,t,n){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&_(this.locator,n),b(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=y.apply(this,arguments),e){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&_(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){e&&(e.lineNumber=0),this.locator=e},comment:function(e,t,n){e=y.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&_(this.locator,r),b(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n,r){var i=this.doc.implementation;if(i&&i.createDocumentType){var a=i.createDocumentType(e,t,n,r);this.locator&&_(this.locator,a),b(this,a),this.doc.doctype=a}},reportError:function(e,t){if(typeof this.onError==`function`)try{this.onError(e,t,this)}catch(n){throw new f(`Reporting `+e+` "`+t+`" caused `+n,this.locator)}else console.error(`[xmldom `+e+`] `+t,v(this.locator))},warning:function(e){this.reportError(`warning`,e)},error:function(e){this.reportError(`error`,e)},fatalError:function(e){throw this.reportError(`fatalError`,e),new f(e,this.locator)}};function v(e){if(e)return`
@#[line:`+e.lineNumber+`,col:`+e.columnNumber+`]`}function y(e,t,n){return typeof e==`string`?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+``:e}`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){g.prototype[e]=function(){return null}});function b(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}function x(e){if(e===`error`)throw`onErrorStopParsing`}function S(){throw`onWarningStopParsing`}e.__DOMHandler=g,e.DOMParser=h,e.normalizeLineEndings=m,e.onErrorStopParsing=x,e.onWarningStopParsing=S})),Fu=a((e=>{var t=Ou();e.assign=t.assign,e.hasDefaultHTMLNamespace=t.hasDefaultHTMLNamespace,e.isHTMLMimeType=t.isHTMLMimeType,e.isValidMimeType=t.isValidMimeType,e.MIME_TYPE=t.MIME_TYPE,e.NAMESPACE=t.NAMESPACE;var n=ku();e.DOMException=n.DOMException,e.DOMExceptionName=n.DOMExceptionName,e.ExceptionCode=n.ExceptionCode,e.ParseError=n.ParseError;var r=ju();e.Attr=r.Attr,e.CDATASection=r.CDATASection,e.CharacterData=r.CharacterData,e.Comment=r.Comment,e.Document=r.Document,e.DocumentFragment=r.DocumentFragment,e.DocumentType=r.DocumentType,e.DOMImplementation=r.DOMImplementation,e.Element=r.Element,e.Entity=r.Entity,e.EntityReference=r.EntityReference,e.LiveNodeList=r.LiveNodeList,e.NamedNodeMap=r.NamedNodeMap,e.Node=r.Node,e.NodeList=r.NodeList,e.Notation=r.Notation,e.ProcessingInstruction=r.ProcessingInstruction,e.Text=r.Text,e.XMLSerializer=r.XMLSerializer;var i=Pu();e.DOMParser=i.DOMParser,e.normalizeLineEndings=i.normalizeLineEndings,e.onErrorStopParsing=i.onErrorStopParsing,e.onWarningStopParsing=i.onWarningStopParsing})),Iu=a(((e,t)=>{function n(e){return e[e.length-1]}function r(e){return e[0]}t.exports={last:n,first:r}})),Lu=a(((e,t)=>{function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?r(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=s(e,`string`);return n(t)==`symbol`?t:t+``}function s(e,t){if(n(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var c=Iu(),l=c.last,u=c.first;function d(e){this.name=`GenericError`,this.message=e,this.stack=Error(e).stack}d.prototype=Error.prototype;function f(e){this.name=`TemplateError`,this.message=e,this.stack=Error(e).stack}f.prototype=new d;function p(e){this.name=`RenderingError`,this.message=e,this.stack=Error(e).stack}p.prototype=new d;function m(e){this.name=`ScopeParserError`,this.message=e,this.stack=Error(e).stack}m.prototype=new d;function h(e){this.name=`InternalError`,this.properties={explanation:`InternalError`},this.message=e,this.stack=Error(e).stack}h.prototype=new d;function g(e){this.name=`APIVersionError`,this.properties={explanation:`APIVersionError`},this.message=e,this.stack=Error(e).stack}g.prototype=new d;function _(e,t){var n=new g(e);throw n.properties=i({id:`api_version_error`},t),n}function v(e){var t=Object.keys(e.files).slice(0,10),n=``;n=t.length===0?`Empty zip file`:`Zip file contains : ${t.join(`,`)}`;var r=new h(`The filetype for this file could not be identified, is this file corrupted ? ${n}`);throw r.properties={id:`filetype_not_identified`,explanation:`The filetype for this file could not be identified, is this file corrupted ? ${n}`},r}function y(e){var t=new h(`The filetype "${e}" is not handled by Docxtemplater`);throw t.properties={id:`filetype_not_handled`,explanation:`The file you are trying to generate is of type "${e}", but only docx and pptx formats are handled`,fileType:e},t}function b(e){var t=new f(`Multi error`);throw t.properties={errors:e,id:`multi_error`,explanation:`The template has multiple errors`},t}function x(e){var t=new f(`Unopened tag`);return t.properties={xtag:l(e.xtag.split(` `)),id:`unopened_tag`,context:e.xtag,offset:e.offset,lIndex:e.lIndex,explanation:`The tag beginning with "${e.xtag.substr(0,30)}" is unopened`},t}function S(e){var t=new f(`Duplicate open tag, expected one open tag`);return t.properties={xtag Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(e,t){if(e){if(typeof e==`string`)return a(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function s(e){if(Array.isArray(e))return e}var c=Fu(),l=c.DOMParser,u=c.XMLSerializer,d=Lu().throwXmlTagNotFound,f=Iu(),p=f.last,m=f.first,h=Object.prototype.hasOwnProperty,g=Function.prototype.bind,_=Function.prototype.call,v=_.bind(_,g)(_,_,h);function y(e){return/^[ \n\r\t]+$/.test(e)}function b(e){return{get:function(t){return e===`.`?t:t&&(v(t,e)?t[e]:void 0)}}}function x(e){for(var t=0;t<e.length;t++){var n=e[t];n.message&&console.warn(`Warning : `+n.message)}}var S={};function C(e,t,n){var r;if(S[t]?r=S[t]:(r=RegExp(`(<.* ${t}=")([^"]*)(".*)\$`),S[t]=r),r.test(e))return e.replace(r,`\$1${n}\$3`);var i=e.lastIndexOf(`/>`);return i===-1&&(i=e.lastIndexOf(`>`)),e.substr(0,i)+` ${t}="${n}"`+e.substr(i)}function w(e,t){var n=e.indexOf(` ${t}="`);if(n===-1)return null;var r=e.substr(n).search(/["']/)+n,i=e.substr(r+1).search(/["']/)+r;return e.substr(r+1,i-r)}function T(e,t){return e.indexOf(t,e.length-t.length)!==-1}function E(e,t){return e.substring(0,t.length)===t}function D(e){for(var t=[],n={},r=[],i=0,a=e.length;i<a;++i)n[e[i]]?t.push(e[i]):(n[e[i]]=!0,r.push(e[i]));return t}function O(e){for(var t={},n=[],r=0,i=e.length;r<i;++r)t[e[r]]||(t[e[r]]=!0,n.push(e[r]));return n}function k(e,t){for(var n=[[]],r=0;r<e.length;r++){var i=e[r],a=n[n.length-1],o=t(i);o===`start`?n.push([i]):o===`end`?(a.push(i),n.push([])):a.push(i)}for(var s=[],c=0;c<n.length;c++){var l=n[c];l.length>0&&s.push(l)}return s}function A(){return{errorLogging:`json`,stripInvalidXMLChars:!1,paragraphLoop:!1,nullGetter:function(e){return e.module?``:`undefined`},xmlFileNames:[`[Content_Types].xml`],parser:b,warnFn:x,linebreaks:!1,fileTypeConfig:null,delimiters:{start:`{`,end:`}`},syntax:{changeDelimiterPrefix:`=`,preserveNewlinesInTags:!1,allowUnopenedTag:!1,allowUnclosedTag:!1,allowUnbalancedLoops:!1}}}function j(e){return new u().serializeToString(e).replace(/xmlns(:[a-z0-9]+)?="" ?/g,``)}function M(e){return e.charCodeAt(0)===65279&&(e=e.substr(1)),new l().parseFromString(e,`text/xml`)}var N=[[`&`,`&amp;`],[`<`,`&lt;`],[`>`,`&gt;`],[`"`,`&quot;`],[`'`,`&apos;`]],P=N.map(function(e){var t=n(e,2),r=t[0],i=t[1];return{rstart:new RegExp(i,`g`),rend:new RegExp(r,`g`),start:i,end:r}});function F(e){for(var t=P.length-1;t>=0;t--){var n=P[t];e=e.replace(n.rstart,n.end)}return e}function I(e){var t;e=(t=e)!=null&&t.toString?e.toString():``;for(var n,r=0,i=P.length;r<i;r++)n=P[r],e=e.replace(n.rend,n.start);return e}function ee(e){for(var t=[],n=0;n<e.length;n++)for(var r=e[n],i=0;i<r.length;i++){var a=r[i];t.push(a)}return t}function L(e,t){if(!t)return e;for(var n=0,r=t.length;n<r;n++)e.push(t[n]);return e}var R=RegExp(`\xA0`,`g`);function z(e){return e.replace(R,` `)}function B(e,t){for(var n=[],r;(r=e.exec(t))!=null;)n.push({array:r,offset:r.index});return n}function V(e,t){return e===`</`+t+`>`}function H(e,t){return e.indexOf(`<`+t)===0&&[`>`,` `,`/`].indexOf(e[t.length+1])!==-1}function U(e,t,n){var r=W(e,t,n);if(r!==null)return r;d({position:`right`,element:t,parsed:e,index:n})}function W(e,t,n){typeof t==`string`&&(t=[t]);for(var r=1,i=n,a=e.length;i<a;i++)for(var o=e[i],s=0,c=t;s<c.length;s++){var l=c[s];if(V(o.value,l)&&r--,H(o.value,l)&&r++,r===0)return i}return null}function te(e,t,n){var r=ne(e,t,n);if(r!==null)return r;d({position:`left`,element:t,parsed:e,index:n})}function ne(e,t,n){typeof t==`string`&&(t=[t]);for(var r=1,i=n;i>=0;i--)for(var a=e[i],o=0,s=t;o<s.length;o++){var c=s[o];if(H(a.value,c)&&r--,V(a.value,c)&&r++,r===0)return i}return null}function G(e,t){var n=t.type,r=t.tag,i=t.position;return n===`tag`&&r===e&&(i===`start`||i===`selfclosing`)}function re(e,t){var n=t.type,r=t.tag,i=t.position;return n===`tag`&&r===e&&i===`end`}function ie(e){var t=e.type,n=e.tag,r=e.position;return[`w:p`,`a:p`,`text:p`].indexOf(n)!==-1&&t===`tag`&&r===`start`}function K(e){var t=e.type,n=e.tag,r=e.position;return[`w:p`,`a:p`,`text:p`].indexOf(n)!==-1&&t===`tag`&&r===`end`}function q(e){var t=e.type,n=e.tag,r=e.position;return[`w:br`,`a:br`].indexOf(n)!==-1&&t===`tag`&&(r===`start`||r===`selfclosing`)}function J(e){var t=e.type,n=e.position;return e.text&&t===`tag`&&n===`start`}function Y(e){var t=eLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(e,t){if(e){if(typeof e==`string`)return a(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function s(e){if(Array.isArray(e))return e}function c(e){"@babel/helpers - typeof";return c=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},c(e)}function l(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,f(r.key),r)}}function d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function f(e){var t=p(e,`string`);return c(t)==`symbol`?t:t+``}function p(e,t){if(c(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(c(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}t.exports=function(){function e(){l(this,e)}return d(e,null,[{key:`createSchema`,value:function(t){return{validate:t,optional:function(){return e.createSchema(function(e){return e===void 0?{success:!0,value:e}:t(e)})},nullable:function(){return e.createSchema(function(e){return e==null?{success:!0,value:e}:t(e)})}}}},{key:`string`,value:function(){return e.createSchema(function(e){return typeof e==`string`?{success:!0,value:e}:{success:!1,error:`Expected string, received ${c(e)}`}})}},{key:`date`,value:function(){return e.createSchema(function(e){return e instanceof Date?{success:!0,value:e}:{success:!1,error:`Expected date, received ${c(e)}`}})}},{key:`boolean`,value:function(){return e.createSchema(function(e){return typeof e==`boolean`?{success:!0,value:e}:{success:!1,error:`Expected boolean, received ${c(e)}`}})}},{key:`number`,value:function(){return e.createSchema(function(e){return typeof e==`number`?{success:!0,value:e}:{success:!1,error:`Expected number, received ${c(e)}`}})}},{key:`function`,value:function(){return e.createSchema(function(e){return typeof e==`function`?{success:!0,value:e}:{success:!1,error:`Expected function, received ${c(e)}`}})}},{key:`array`,value:function(t){return e.createSchema(function(e){if(!Array.isArray(e))return{success:!1,error:`Expected array, received ${c(e)}`};for(var n=0;n<e.length;n++){var r=t.validate(e[n]);if(!r.success)return{success:!1,error:`${r.error} at index ${n}`}}return{success:!0,value:e}})}},{key:`any`,value:function(){return e.createSchema(function(e){return{success:!0,value:e}})}},{key:`isRegex`,value:function(){return e.createSchema(function(e){return e instanceof RegExp?{success:!0,value:e}:{success:!1,error:`Expected RegExp, received ${c(e)}`}})}},{key:`union`,value:function(t){return e.createSchema(function(e){for(var n=0;n<t.length;n++){var r=t[n].validate(e);if(r.success)return r}return{success:!1,error:`Value ${e} does not match any schema in union`}})}},{key:`object`,value:function(t){var r=e.createSchema(function(e){if(e==null)return{success:!1,error:`Expected object, received ${e}`};if(c(e)!==`object`)return{success:!1,error:`Expected object, received ${c(e)}`};for(var r=0,i=Object.entries(t);r<i.length;r++){var a=n(i[r],2),o=a[0],s=a[1].validate(e[o]);if(!s.success)return{success:!1,error:`${s.error} at ${o}`}}return{success:!0,value:e}});return r.strict=function(){return e.createSchema(function(e){var n=r.validate(e);if(!n.success)return n;var i=Object.keys(e).filter(function(e){return!(e in t)});return i.length>0?{success:!1,error:`Unexpected properties: ${i.join(`, `)}`}:n})},r}},{key:`record`,value:function(t){return e.createSchema(function(e){if(e===null)return{success:!1,error:`Expected object, received null`};if(c(e)!==`object`)return{success:!1,error:`Expected object, received ${c(e)}`};for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(typeof i!=`string`)return{success:!1,error:`Expected string key, received ${c(i)} at ${i}`};var a=t.validate(e[i]);if(!a.success)return{success:!1,error:`${a.error} at key ${i}`}}return{success:!0,value:e}})}}])}()})),Bu=a(((e,t)=>{var n=Ru().str2xml,r=`_rels/.rels`;function i(e){for(var t=e.files[r], Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function o(e){if(Array.isArray(e))return u(e)}function s(e,t){return f(e)||d(e,t)||l(e,t)||c()}function c(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(e,t){if(e){if(typeof e==`string`)return u(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function f(e){if(Array.isArray(e))return e}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?p(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return(t=g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e){var t=_(e,`string`);return n(t)==`symbol`?t:t+``}function _(e,t){if(n(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var v=Ru(),y=v.getRightOrNull,b=v.getRight,x=v.getLeft,S=v.getLeftOrNull,C=v.chunkBy,w=v.isTagStart,T=v.isTagEnd,E=v.isContent,D=v.last,O=v.first,k=Lu(),A=k.XTTemplateError,j=k.throwExpandNotFound,M=k.getLoopPositionProducesInvalidXMLError;function N(e,t){return e.length===0?!1:D(e).substr(1).indexOf(t)===0}function P(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],i=r.position,a=r.value,o=r.tag;o&&(i===`end`?N(t,o)?t.pop():t.push(a):i===`start`&&t.push(a))}return t}function F(e,t){for(var n=0;n<t.length;n++)if(t[n].indexOf(`<${e}`)===0)return!0;return!1}function I(e,t,n){for(var r=P(e.slice(t[0].offset,t[1].offset)),i=function(){var i=n[o],a=i.contains,s=i.expand,c=i.onlyTextInTag;if(F(a,r)){if(c){var l=S(e,a,t[0].offset),u=y(e,a,t[1].offset);if(l===null||u===null)return 0;var d=C(e.slice(l,u),function(e){return w(a,e)?`start`:T(a,e)?`end`:null}),f=O(d),p=D(d),m=f.filter(E),h=p.filter(E);if(m.length!==1||h.length!==1)return 0}for(var g=ee(r),_=0,v=0;v<g.length;v++){var b=g[v],x=b.tag,k=b.position;x===s&&(k===`start`&&_++,k===`end`&&_--)}return _===0?{v:{value:s}}:{v:{error:M({tag:O(t).part.value,offset:[O(t).part.offset,D(t).part.offset]})}}}},a,o=0;o<n.length;o++)if(a=i(),a!==0&&a)return a.v;return R(r)?{}:{error:M({tag:O(t).part.value,offset:[O(t).part.offset,D(t).part.offset]})}}function ee(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],i=L(r),a=/^\s*<\//.test(r)?`end`:`start`;t.push({tag:i,position:a})}return t}function L(e){return e.replace(/^\s*<\/?([a-zA-Z:]+).*/,`$1`)}function R(e){if(e.length%2==1)return!1;for(var t=0,n=e.length/2;t<n;t++){var r=e[t],i=e[e.length-t-1];if(L(r)!==L(i))return!1}return!0}function z(e,t,n,r){var i=e.expandTo||r.expandTo;if(i){var a,o;try{o=x(n,i,t),a=b(n,i,t)}catch(a){var s=m({part:e,rootError:a,postparsed:n,expandTo:i,index:t},r.error);if(r.onError&&r.onError(s)===`ignore`)return;j(s)}return[o,a]}}function B(e,t,n,r){var i=s(e,2),a=i[0],o=i[1],c=n.indexOf(t),l=n.slice(a,c),u=n.slice(c+1,o+1),d=r.getInner({postparse:r.postparse,index:c,part:t,leftParts:l,rightParts:u,left:a,right:o,postparsed:n});return d.length||(d.expanded=[l,u],d=[d]),{left:a,right:o,inner:d}}function V(e,t){var n=[];e.errors&&(n=e.errors,e=e.postparsed);for(var i=[],a=0,o=e.length;a<o;a++){var c=e[a];if(c.type===`placeholder`&&c.module===t.moduleName&&!c.subparsed&&!c.expanded)try{var l=z(c,a,e,t);if(!l)continue;var u=s(l,2),d=u[0],f=u[1];i.push({left:d,right:f,part:c,i:a,leftPart:e[d],rightPart:e[f]})}catch(e){n.push(e)}}i.sort(function(e,t){return e.left===t.left?t.part.lIndex<e.part.lIndex?1:-1:t.left<e.left?1:-1});for(var p=-1,h=0,g=0,_=i.length;g<_;g++){var v,y=i[g];if(p=Math.max(p,g>0?i[g-1].right:0),!(y.left<p)){var b=void 0;try{b=B([y.left+h,y.right+h],y.part,e,t)}catch(r){if(t.onError&&t.onError(m({part:y.part,rootError:r,postparsed:e,expandOne:B},t.errors))===`ignore`)continue;if(r instanceof A)n.push(r);else throw r}b&&(h+=b.inner.length-(b.right+1-b.left),(v=e).splice.apply(v,[b.left,b.right+1-b.left].concat(r(b.inner))))}}return{postparsed:e,errors:n}}t.exports={expandToOne:V,getExpandToDefault:I}})),Wu=a(((e,t)=>{var n=`applicLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(e,t){if(e){if(typeof e==`string`)return o(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function c(e){if(Array.isArray(e))return e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?l(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return(t=f(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){var t=p(e,`string`);return n(t)==`symbol`?t:t+``}function p(e,t){if(n(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var m=Lu(),h=m.getUnclosedTagException,g=m.getUnopenedTagException,_=m.getDuplicateOpenTagException,v=m.getDuplicateCloseTagException,y=m.throwMalformedXml,b=m.throwXmlInvalid,x=m.XTTemplateError,S=Ru(),C=S.isTextStart,w=S.isTextEnd,T=S.wordToUtf8,E=S.pushArray,D=0,O=1,k=2,A=3;function j(e,t){return e[0]<=t.offset&&t.offset<e[1]}function M(e,t){return C(e)?(t&&y(),!0):w(e)?(t||y(),!1):t}function N(e){var t=``,n=1,r=e.indexOf(` `);return e[e.length-2]===`/`?(t=`selfclosing`,r===-1&&(r=e.length-2)):e[1]===`/`?(n=2,t=`end`,r===-1&&(r=e.length-1)):(t=`start`,r===-1&&(r=e.length-1)),{tag:e.slice(n,r),position:t}}function P(e,t,n){for(var r=0,i=e.length,a={},o=0;o<t.length;o++){var s=t[o];a[s]=!0}for(var c=0;c<n.length;c++){var l=n[c];a[l]=!1}for(var u=[];r<i&&(r=e.indexOf(`<`,r),r!==-1);){var d=r,f=e.indexOf(`<`,r+1);r=e.indexOf(`>`,r),(r===-1||f!==-1&&r>f)&&b(e,d);var p=e.slice(d,r+1),m=N(p),h=m.tag,g=m.position,_=a[h];_!=null&&u.push({type:`tag`,position:g,text:_,offset:d,value:p,tag:h})}return u}function F(e,t,n){var r=[],i=!1,a={offset:0},o,s=e.reduce(function(e,s){var c=s.position,l=s.offset,d=a.offset,f=a.length;if(o=t.substr(d,l-d),i&&c===`start`){if(d+f===l&&(o=t.substr(d,l-d+f+4),!n.allowUnclosedTag))return r.push(_({xtag:o,offset:d})),a=s,e.push(u(u({},s),{},{error:!0})),e;n.allowUnclosedTag||r.push(h({xtag:T(o),offset:d})),e.pop()}return!i&&c===`end`?n.allowUnopenedTag?e:d+f===l?(o=t.substr(d-4,l-d+f+4),r.push(v({xtag:o,offset:d})),a=s,e.push(u(u({},s),{},{error:!0})),e):(r.push(g({xtag:o,offset:l})),a=s,e.push(u(u({},s),{},{error:!0})),e):(i=c===`start`,a=s,e.push(s),e)},[]);if(i){var c=a.offset;o=t.substr(c,t.length-c),n.allowUnclosedTag||r.push(h({xtag:T(o),offset:c})),s.pop()}return{delimiterWithErrors:s,errors:r}}function I(e,t){return e===-1&&t===-1?D:e===t?O:e===-1||t===-1?t<e?k:A:e<t?k:A}function ee(e){var t=e.split(` `);if(t.length!==2){var n=new x(`New Delimiters cannot be parsed`);throw n.properties={id:`change_delimiters_invalid`,explanation:`Cannot parser delimiters`},n}var i=r(t,2),a=i[0],o=i[1];if(a.length===0||o.length===0){var s=new x(`New Delimiters cannot be parsed`);throw s.properties={id:`change_delimiters_invalid`,explanation:`Cannot parser delimiters`},s}return[a,o]}function L(e,t,n){var i=[],a=t.start,o=t.end,s=-1,c=!1;if(a==null&&o==null)return[];for(;;){var l=e.indexOf(a,s+1),u=e.indexOf(o,s+1),d=null,f=void 0,p=I(l,u);switch(p===O&&(p=c?A:k),p){case D:return i;case A:c=!1,s=u,d=`end`,f=o.length;break;case k:c=!0,s=l,d=`start`,f=a.length;break}if(n.changeDelimiterPrefix&&p===k&&e[s+a.length]===n.changeDelimiterPrefix){i.push({offset:l,position:`start`,length:a.length,changedelimiter:!0});var m=e.indexOf(n.changeDelimiterPrefix,s+a.length+1),h=e.indexOf(o,m+1);i.push({offset:h,position:`end`,length:o.length,changedelimiter:!0});var g=r(ee(e.substr(s+a.length+1,m-s-a.length-1)),2);a=g[0],o=g[1],s=h;continue}i.push({offset:s,position:d,length:f})}}function R(e,t,n){for(var r=``,i=0;i<e.length;i++){var a=e[i];r+=a.value}for(var o=L(r,t,n),s=0,c=[],l=0;l<e.length;l++){var u=e[l];s+=u.value.length,c.push({offset:s-u.value. Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(e,t){if(e){if(typeof e==`string`)return s(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function a(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function o(e){if(Array.isArray(e))return s(e)}function s(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return e.type===`placeholder`}function l(e){var t={},r=[{items:e.filter(c),parents:[],path:[]}];function i(e,t,i){i.length&&r.push({items:i,parents:[].concat(n(t.parents),[e]),path:e.dataBound!==!1&&!e.attrParsed&&e.value&&!e.attrParsed?[].concat(n(t.path),[e.value]):n(t.path)})}function a(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:t.length,r=e,i=0;i<n;i++)r=r[t[i]];return r}function o(e,t){for(var n=t.length,r=0;r<t.length;r++){var i=t[r];(typeof i.lIndex==`number`?i.lIndex:parseInt(i.lIndex.split(`-`)[0],10))>e.lIndex&&n--}return n}for(;r.length>0;)for(var s=r.pop(),l=a(t,s.path),u=0,d=s.items;u<d.length;u++){var f,p,m=d[u];if(m.attrParsed){for(var h in m.attrParsed)i(m,s,m.attrParsed[h].filter(c));continue}if(m.subparsed){if(m.dataBound!==!1){var g,_;(g=l)[_=m.value]||(g[_]={})}i(m,s,m.subparsed.filter(c));continue}if(m.cellParsed){for(var v=0,y=m.cellPostParsed;v<y.length;v++){var b=y[v];if(b.type===`placeholder`){if(b.module===`pro-xml-templating/xls-module-loop`)continue;if(b.subparsed){var x,S;(x=l)[S=b.value]||(x[S]={}),i(b,s,b.subparsed.filter(c))}else{var C,w,T=o(m,s.parents);l=a(t,s.path,T),(C=l)[w=b.value]||(C[w]={})}}}continue}m.dataBound!==!1&&((f=l)[p=m.value]||(f[p]={}))}return t}t.exports={getTags:l,isPlaceholder:c}})),Xu=a(((e,t)=>{var n=Ru().pushArray;function r(e,t){return t instanceof Error?n(Object.getOwnPropertyNames(t),[`stack`]).reduce(function(e,n){return e[n]=t[n],n===`stack`&&(e[n]=t[n].toString()),e},{}):t}function i(e,t){if(console.log(JSON.stringify({error:e},r,t===`json`?2:null)),e.properties&&e.properties.errors instanceof Array){var n=e.properties.errors.map(function(e){return e.properties.explanation}).join(`
`);console.log(`errorMessages`,n)}}t.exports=i})),Zu=a(((e,t)=>{var n=Ru().pregMatchAll;t.exports=function(e,t){var r={content:e},i=t.join(`|`);return r.matches=n(RegExp(`(?:(<(?:${i})[^>]*>)([^<>]*)</(?:${i})>)|(<(?:${i})[^>]*/>)`,`g`),r.content),r}})),Qu=a(((e,t)=>{function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}var r=RegExp(`\xA0`,`g`);function i(e){return e.replace(r,` `)}function a(e,t){var r=n(e);if(r===`string`)return i(t.substr(0,e.length))===e;if(e instanceof RegExp)return e.test(i(t));if(r===`function`)return!!e(t)}function o(e,t){var r=n(e);if(r===`string`)return i(t).substr(e.length);if(e instanceof RegExp)return i(t).match(e)[1];if(r===`function`)return e(t)}function s(e,t){var r=n(e);if(r===`string`)return[t,i(t).substr(e.length)];if(e instanceof RegExp)return i(t).match(e);if(r===`function`)return[t,e(t)]}t.exports={match:a,getValue:o,getValues:s}})),$u=a(((e,t)=>{function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?r(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=s(e,`string`);return n(t)==`symbol`?t:t+``}function s(e,t){if(n(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function c(e,t){return p(e)||f(e,t)||u(e,t)||l()}function l(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(e,t){if(e){if(typeof e==`string`)return d(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function p(e){if(Array.isArray(e))return e}var m=Ru(),h=m.wordToUtf8,g=m.pushArray,_=m.isParagraphStart,v=m.isBreakTag,y=Qu(),b=y.match,x=y.getValue,S=y.getValues;function C(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r];if(i.matchers){var a=i.matchers(t);if(!(a instanceof Array))throw Error(`module matcher returns a non array`);g(n,a)}}return n}function w(e,t,n){for(var r=[],a=0;a<e.length;a++){var o=e[a],s=c(o,2),l=s[0],u=s[1],d=o[2]||{};if(n.match(l,t)){var f=n.getValues(l,t);if(typeof d==`function`&&(d=d(f)),!d.value){var p=c(f,2);d.value=p[1]}r.push(i({type:`placeholder`,prefix:l,module:u,onMatch:d.onMatch,priority:d.priority},d))}}return r}function T(e,t){var n=t.modules,r=t.startOffset,i=t.lIndex,a;t.offset=r,t.match=b,t.getValue=x,t.getValues=S;var o=w(C(n,t),e,t);if(o.length>0){for(var s=null,c=0;c<o.length;c++){var l=o[c];l.priority||=-l.value.length,(!s||l.priority>s.priority)&&(s=l)}return s.offset=r,delete s.priority,s.endLindex=i,s.lIndex=i,s.raw=e,s.onMatch&&s.onMatch(s),delete s.onMatch,delete s.prefix,s}for(var u=0;u<n.length;u++)if(a=n[u].parse(e,t),a)return a.offset=r,a.endLindex=i,a.lIndex=i,a.raw=e,a;return{type:`placeholder`,value:e,offset:r,endLindex:i,lIndex:i}}t.exports={preparse:function(e,t,n){function r(e,n){for(var r=0;r<t.length;r++)e=t[r].preparse(e,n)||e;return e}return r(e,n)},parse:function(e,t,n){var r=!1,a=``,o,s=[],c=n.fileTypeConfig.droppedTagsInsidePlaceholder||[];return e.reduce(function(e,l){return l.type===`delimiter`?(r=l.position===`start`,l.position===`end`&&(n.parse=function(e){return T(e,i(i(i({},n),l),{},{startOffset:o,modules:t}))},e.push(n.parse(h(a))),g(e,s),s=[]),l.position===`start`&&(s=[],o=l.offset),a=``,e):r?l.type!==`content`||l.position!==`insidetag`?(n.syntax.preserveNewlinesInTags&&(v(l)||_(l))&&(a+=`
`),c.indexOf(l.tag)===-1&&s.push(l),e):(a+=l.value,e):(e.push(l),e)},[])},postparse:function(e,t,n){function r(e,n,r){for(var i=[],a=0;a<t.length;a++){var o=t[a];i.push(o.getTraits(e,n,r))}return i}var a=[];function o(e,n){for(var s=e,c=0;c<t.length;c++){var l=t[c].postparse(s,i(i({},n),{},{postparse:function(e,t){return o(e,i(i({},n),t))},getTraits:r}));if(l!=null){if(l.errors){g(a,l.errors),s=l.postparsed;continue}s=l}}return s}return{postparsed:o(e,n),errors:a}}}})),ed=a(((e,t)=>{function n(e,t){if(e.lIndex==null)return null;var n=t.scopeManager.scopePathItem;return e.parentPart&&(n=n.slice(0,n.length-1)),t.filePath+`@`+e.lIndex.toString()+`-`+n.join(`-`)}t.exports=n})),td=a(((e,t)=>{var n=Lu(),r=n.throwUnimplementedTagType,i=n.XTScopeParserError,a=Ru().pushArray,o=ed();function s(e,t){for(var n=0,r=t.modules;n<r.length;n++){var i=r[n].render(e,t);if(i)return i}return!1}function c(e){var t=e.baseNullGetter,n=e.compiled,c=e.scopeManager;e.nullGetter=function(e,n){return t(e,n||c)};for(var l=[],u=[],d=0,f=n.length;d<f;d++){var p=n[d];e.index=d,e.resolvedId=o(p,e);var m=void 0;try{m=s(p,e)}catch(e){if(e instanceof i){l.push(e),u.push(p);continue}throw e}if(m){m.errors&&a(l,m.errors),u.push(m);continue}if(p.type===`content`||p.type===`tag`){u.push(p);continue}r(p,d)}for(var h=[],g=0;g<u.length;g++){var _=u[g].value;_ instanceof Array?a(h,_):_&&h.push(_)}return{errors:l,parts:h}}t.exports=c})),nd=a(((e,t)=>{function n(e){var t,n,r,i,a=0,o=e.length;for(r=0;r<o;r++)t=e.charCodeAt(r),(t&64512)==55296&&r+1<o&&(n=e.charCodeAt(r+1),(n&64512)==56320&&(t=65536+(t-55296<<10)+(n-56320),r++)),a+=t<128?1:t<2048?2:t<65536?3:4;var s=new Uint8Array(a);for(i=0,r=0;i<a;r++)t=e.charCodeAt(r),(t&64512)==55296&&r+1<o&&(n=e.charCodeAt(r+1),(n&64512)==56320&&(t=65536+(t-55296<<10)+(n-56320),r++)),t<128?s[i++]=t:t<2048?(s[i++]=192|t>>>6,s[i++]=128|t&63):t<65536?(s[i++]=224|t>>>12,s[i++]=128|t>>>6&63,s[i++]=128|t&63):(s[i++]=240|t>>>18,s[i++]=128|t>>>12&63,s[i++]=128|t>>>6&63,s[i++]=128|t&63);return s}function r(e,t){for(var r=0,i=t.modules;r<i.length;r++)e=i[r].postrender(e,t);for(var a=0,o=t.joinUncorrupt(e,t),s=``,c=0,l=65536,u=[],d=0,f=o.length;d<f;d++){var p=o[d];if(p.length+c>l){var m=n(s);a+=m.length,u.push(m),s=``}s+=p,c+=p.length,delete o[d]}var h=n(s);a+=h.length,u.push(h);for(var g=new Uint8Array(a),_=0,v=0;v<u.length;v++){for(var y=u[v],b=0;b<y.length;++b)g[b+_]=y[b];_+=y.length}return g}t.exports=r})),rd=a(((e,t)=>{function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?r(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=s(e,`string`);return n(t)==`symbol`?t:t+``}function s(e,t){if(n(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var c=Ru().pushArray,l=ed();function u(e,t){for(var n=0,r=t.modules;n<r.length;n++){var i=r[n].resolve(e,t);if(i)return i}return!1}function d(e,t,n,r){var a=u(e,i(i({},r),{},{resolvedId:l(e,r)}));if(a)return a.then(function(n){t.push({tag:e.value,lIndex:e.lIndex,value:n})}).catch(function(e){e instanceof Array?c(n,e):n.push(e)});if(e.type===`placeholder`)return r.scopeManager.getValueAsync(e.value,{part:e}).then(function(t){return t??r.nullGetter(e)}).then(function(n){t.push({tag:e.value,lIndex:e.lIndex,value:n})}).catch(function(e){e instanceof Array?c(n,e):n.push(e)})}function f(e){var t=[],n=[],r=e.baseNullGetter,i=e.scopeManager;e.nullGetter=function(e,t){return r(e,t||i)},e.resolved=t;var a=p(e,n,t);return a?a.then(function(){return m(e,n,t)}):m(e,n,t)}function p(e,t,n){for(var r=null,i=function(){var i=o[a];if([`content`,`tag`].indexOf(i.type)!==-1)return 1;i.resolveFirst&&(r??=Promise.resolve(null),r=r.then(function(){return d(i,n,t,e)}))},a=0,o=e.compiled;a<o.length;a++)if(i())continue;return r}function m(e,t,n){for(var r=[],i=0,a=e.compiled;i<a.length;i++){var o=a[i];[`content`,`tag`].indexOf(o.type)===-1&&(o.resolveFirst||r.push(d(o,n,t,e)))}return Promise.all(r).then(function(){return{errors:t,resolved:n}})}t.exports=f})),id=a(((e,t)=>{var n=Ru(),r=n.startsWith Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(e,t){if(e){if(typeof e==`string`)return l(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function d(e){if(Array.isArray(e))return e}function f(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,h(r.key),r)}}function m(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function h(e){var t=g(e,`string`);return n(t)==`symbol`?t:t+``}function g(e,t){if(n(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var _=Ru(),v=_.chunkBy,y=_.last,b=_.isParagraphStart,x=_.isModule,S=_.pushArray,C=_.isParagraphEnd,w=_.isContent,T=_.startsWith,E=_.isTagEnd,D=_.isTagStart,O=_.getSingleAttribute,k=_.setSingleAttribute,A=Wu(),j=Hu(),M=Ru().isWhiteSpace,N=`loop`;function P(e){for(var t=0;t<e.length;t++){var n=e[t];if(w(n))return!0}return!1}function F(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.type!==`content`)return n}return null}function I(e){var t=F(e.subparsed);return t!=null&&t.tag!==`w:t`}function ee(e){return e.hasPageBreak&&I(e)?`<w:p><w:r><w:br w:type="page"/></w:r></w:p>`:``}function L(e){return e.length&&b(e[0])&&C(y(e))}function R(e){return P(e)?0:e.length}function z(e){var t=e.parts.length-1;e.parts[t]===`</w:p>`?e.parts.splice(t,0,`<w:r><w:br w:type="page"/></w:r>`):e.parts.push(`<w:p><w:r><w:br w:type="page"/></w:r></w:p>`)}function B(e){e.parts.unshift(`<w:p><w:r><w:br w:type="page"/></w:r></w:p>`)}function V(e){for(var t=0;t<e.length;t++){var n=e[t];if(D(`w:type`,n)&&n.value.indexOf(`continuous`)!==-1)return!0}return!1}function H(e){for(var t=0;t<e.length;t++){var n=e[t];if(D(`w:type`,n)&&n.value.indexOf(`w:val="nextPage"`)!==-1)return!0}return!1}function U(e,t){for(var n=``,r=0;r<t.length;r++){var i=t[r].value;n+=i}e.unshift(`<w:p><w:pPr>${n}</w:pPr></w:p>`)}function W(e){for(var t=!1,n=!1,r=0;r<e.length;r++){var i=e[r];!t&&T(i,`<w:sectPr`)&&(n=!0),n&&(T(i,`<w:type`)&&(t=!0),!t&&T(i,`</w:sectPr`)&&(e.splice(r,0,`<w:type w:val="continuous"/>`),r++))}return e}function te(e){for(var t=0,n=0;n<e.length;n++)!T(e[n],`<w:headerReference`)&&!T(e[n],`<w:footerReference`)&&(e[t]=e[n],t++);return e.length=t,e}function ne(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.tag===`w:br`&&n.value.indexOf(`w:type="page"`)!==-1)return!0}return!1}function G(e){for(var t=0;t<e.length;t++)if(e[t].tag===`w:drawing`)return!0;return!1}function re(e){for(var t=[],n=null,r=0;r<e.length;r++){var i=e[r];D(`w:sectPr`,i)&&(n=[],t.push(n)),n!==null&&n.push(i),E(`w:sectPr`,i)&&(n=null)}return t}function ie(e){for(var t=!1,n=0,r=0;r<e.length;r++){var i=e[r];D(`w:sectPr`,i)&&(t=!0),t&&(i.tag===`w:headerReference`||i.tag===`w:footerReference`)&&(n++,t=!1),E(`w:sectPr`,i)&&(t=!1)}return n}function K(e){for(var t=[],n=!1,r=e.length-1;r>=0;r--){var i=e[r];if(E(`w:sectPr`,i)&&(n=!0),D(`w:sectPr`,i)&&(t.unshift(i.value),n=!1),n&&t.unshift(i.value),b(i)){if(t.length>0)return t.join(``);break}}return``}var q=function(){function e(){f(this,e),this.name=`LoopModule`,this.inXfrm=!1,this.totalSectPr=0,this.prefix={start:`#`,end:`/`,dash:/^-([^\s]+)\s(.+)/,inverted:`^`}}return m(e,[{key:`optionsTransformer`,value:function(e,t){return this.docxtemplater=t,e}},{key:`preparse`,value:function(e,t){var n=t.contentType;A.main.indexOf(n)!==-1&&(this.sects=re(e))}},{key:`matchers`,value:function(){var e=N;return[[this.prefix.start,e,{expandTo:`auto`,location:`start`,inverted:!1}],[this.prefix.inverted,e,{expandTo:`auto`,location:`start`,inverted:!0}],[this.prefix.end,e,{location:`end`}],[this.prefix.dash,e,function(e){var t=o(e,3);return{location:`start`,inverted:!1,expandTo:t[1],value:t[2]}}]]}},{key:`getTraits`,value:function(e,t){if(e===`expandPair`){for(var n=[],r=0,i=t.length;r<i;r++){var a=t[r];x(a,N)&&a.subparsed==null&&n.push({part:a,offset:r})}return n}}},{key:`postparse`,value:function(e,t){var n=t.basePart;if(n&&this.docxtemplater.fileType===`docx`&&e.length>0){n.sectPrCount=ie(e),this.totalSectPr+=n.sectPrCountLine truncated
`),r=0,i=n.length;r<i;r++)t.push(p(n[r])),r<n.length-1&&t.push(`</${this.prefix}:t></${this.prefix}:r>${this.brTag}<${this.prefix}:r>${this.recordedRun}<${this.prefix}:t${this.docxtemplater.fileType===`docx`?` xml:space="preserve"`:``}>`);return t}}])}();t.exports=function(){return c(new y)}})),fd=a(((e,t)=>{var n=od(),r=sd(),i=cd(),a=ud(),o=dd();function s(){return{getTemplatedFiles:function(){return[]},templatedNs:[`http://schemas.microsoft.com/office/2006/coverPageProps`],textPath:function(e){return e.textTarget},tagsXmlTextArray:[`Company`,`HyperlinkBase`,`Manager`,`cp:category`,`cp:keywords`,`dc:creator`,`dc:description`,`dc:subject`,`dc:title`,`cp:contentStatus`,`PublishDate`,`Abstract`,`CompanyAddress`,`CompanyPhone`,`CompanyFax`,`CompanyEmail`,`w:t`,`a:t`,`m:t`,`vt:lpstr`,`vt:lpwstr`],tagsXmlLexedArray:`w:proofState.w:tc.w:tr.w:tbl.w:ftr.w:hdr.w:body.w:document.w:p.w:r.w:br.w:rPr.w:pPr.w:spacing.w:sdtContent.w:sdt.w:drawing.w:sectPr.w:type.w:headerReference.w:footerReference.w:bookmarkStart.w:bookmarkEnd.w:commentRangeStart.w:commentRangeEnd.w:commentReference`.split(`.`),droppedTagsInsidePlaceholder:[`w:p`,`w:br`,`w:bookmarkStart`,`w:bookmarkEnd`],expandTags:[{contains:`w:tc`,expand:`w:tr`}],onParagraphLoop:[{contains:`w:p`,expand:`w:p`,onlyTextInTag:!0}],tagRawXml:`w:p`,baseModules:[n,r,a,i,o],tagShouldContain:[{tag:`w:sdtContent`,shouldContain:[`w:p`,`w:r`,`w:commentRangeStart`,`w:sdt`],value:`<w:p></w:p>`},{tag:`w:tc`,shouldContain:[`w:p`],value:`<w:p></w:p>`},{tag:`w:tr`,shouldContain:[`w:tc`],drop:!0},{tag:`w:tbl`,shouldContain:[`w:tr`],drop:!0}]}}function c(){return{getTemplatedFiles:function(){return[]},textPath:function(e){return e.textTarget},tagsXmlTextArray:[`Company`,`HyperlinkBase`,`Manager`,`cp:category`,`cp:keywords`,`dc:creator`,`dc:description`,`dc:subject`,`dc:title`,`a:t`,`m:t`,`vt:lpstr`,`vt:lpwstr`],tagsXmlLexedArray:[`p:sp`,`a:tc`,`a:tr`,`a:tbl`,`a:graphicData`,`a:p`,`a:r`,`a:rPr`,`p:txBody`,`a:txBody`,`a:off`,`a:ext`,`p:graphicFrame`,`p:xfrm`,`a16:rowId`,`a:endParaRPr`],droppedTagsInsidePlaceholder:[`a:p`,`a:endParaRPr`],expandTags:[{contains:`a:tc`,expand:`a:tr`}],onParagraphLoop:[{contains:`a:p`,expand:`a:p`,onlyTextInTag:!0}],tagRawXml:`p:sp`,baseModules:[n,a,i,o],tagShouldContain:[{tag:`a:tbl`,shouldContain:[`a:tr`],dropParent:`p:graphicFrame`},{tag:`p:txBody`,shouldContain:[`a:p`],value:`<a:p></a:p>`},{tag:`a:txBody`,shouldContain:[`a:p`],value:`<a:p></a:p>`}]}}t.exports={docx:s,pptx:c}})),pd=r(a(((e,t)=>{var n=[`modules`];function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?r(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return d(e)||u(e,t)||c(e,t)||s()}function s(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(e,t){if(e){if(typeof e==`string`)return l(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function d(e){if(Array.isArray(e))return e}function f(e){"@babel/helpers - typeof";return f=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},f(e)}function p(e,t){if(e==null)return{};var n,r,i=m(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function m(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function h(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function _(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function v(e){var t=y(e,`string`);return f(t)==`symbol`?t:t+``}function y(e,t){if(f(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(f(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var b=Ru(),x=zu(),S=x.object({allowUnopenedTag:x.boolean().optional(),allowUnclosedTag:x.boolean().optional(),allowUnbalancedLoops:x.boolean().optional(),changeDelimiterPrefix:x.string().optional().nullable()}),C=x.object({delimiters:x.object({start:x.string().nullable(),end:x.string().nullable()}).strict().optional(),fileTypeConfig:x.object({}).optional(),paragraphLoop:x.boolean().optional(),parser:x.function().optional(),errorLogging:x.union([x.boolean(),x.string()]).optional(),linebreaks:x.boolean().optional(),nullGetter:x.function().optional(),syntax:S.optional(),stripInvalidXMLChars:x.boolean().optional(),warnFn:x.function().optional()}).strict(),w=Bu().getRelsTypes,T=Vu(),E=T.collectContentTypes,D=T.getContentTypes,O=Hu(),k=Uu(),A=Ku(),j=qu(),M=Ju(),N=Yu().getTags,P=Xu(),F=Lu(),I=F.throwMultiError,ee=F.throwResolveBeforeCompile,L=F.throwRenderInvalidTemplate,R=F.throwRenderTwice,z=F.XTInternalError,B=F.XTTemplateError,V=F.throwFileTypeNotIdentified,H=F.throwFileTypeNotHandled,U=F.throwApiVersionError;b.getRelsTypes=w,b.traits=k,b.moduleWrapper=O,b.collectContentTypes=E,b.getContentTypes=D;var W=b.getDefaults,te=b.str2xml,ne=b.xml2str,G=b.concatArrays,re=b.uniq,ie=b.getDuplicates,K=b.stableSort,q=b.pushArray,J=b.utf8ToWord,Y=b.invertMap,ae=`[Content_Types].xml`,oe=`_rels/.rels`,X=[3,47,2];function se(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r.name)}var i=ie(t);if(i.length>0)throw new z(`Detected duplicate module "${i[0]}"`)}function ce(e){for(var t=0,n=e.modules;t<n.length;t++)for(var r=n[t],i=0,a=r.xmlContentTypes||[];i<a.length;i++)for(var o=a[i],s=e.invertedContentTypes[o]||[],c=0;c<s.length;c++){var l=s[c];e.zip.files[l]&&e.options.xmlFileNames.push(l)}}function Z(e){return K(e,function(e,t){return(t.priority||0)-(e.priority||0)})}function le(e){var t=[];for(var n in e)t.push(n);for(var r=[ae,oe],i=[`word/`,`xl/`,`ppt/`],a=0;a<t.length;a++)for(var o=t[a],s=0;s<i.length;s++){var c=i[s];o.indexOf(`${c}`)===0&&r.push(o)}for(var l=0;l<t.length;l++){var u=t[l];r.indexOf(u)===-1&&r.push(u)}return r}function ue(e,t){e.hideDeprecations!==!0&&console.warn(t)}function de(e,t){if(e.hideDeprecations!==!0)return ue(e,`Deprecated method ".${t}", view upgrade guide : https://docxtemplater.com/docs/api/#upgrade-guide, stack : ${Error().stack}`)}function fe(e){e.modules=e.modules.filter(function(t){if(!t.supportedFileTypes)return!0;if(!Array.isArray(t.supportedFileTypes))throw Error(`The supportedFileTypes field of the module must be an array`);var n=t.supportedFileTypes.includes(e.fileType);return n||t.on(`detached`),n})}function pe(e){var t=e.compiled;e.errors=G(Object.keys(t).map(function(e){return t[e].allErrors})),e.errors.length!==0&&(e.options.errorLogging&&P(e.errors,e.options.errorLogging),I(e.errors))}function Q(e){return typeof Buffer<`u`& Line truncated
-1
View File
@@ -1 +0,0 @@
import{$ as e,Bt as t,C as n,Er as r,H as i,K as a,Kt as o,M as s,Pt as c,Q as l,U as u,W as d,Wn as f,er as p,mn as m,tt as ee,xn as h,xr as te,yn as g}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as ne,v as re}from"./workspace-DxKKyh8w.js";import{_ as ie,d as ae,p as oe}from"./decimal-D3bp1pbs.js";import{$ as se,Et as _,G as ce,H as le,J as ue,K as de,Q as fe,T as pe,U as me,W as he,X as ge,Y as v,Z as _e,at as ve,et as ye,it as be,nt as xe,ot as Se,q as Ce,rt as we,st as Te,tt as Ee,v as De}from"./vendor-ui-B4V4Cf1T.js";import"./numberFormat-jhZZmX17.js";import{_ as y,a as Oe}from"./sql-C69Jo4HU.js";import"./index-CAPJG_im.js";function b(e,t){return e-t*Math.floor(e/t)}var x=1721426;function S(e,t,n,r){t=w(e,t);let i=t-1,a=-2;return n<=2?a=0:C(t)&&(a=-1),x-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function C(e){return e%4==0&&(e%100!=0||e%400==0)}function w(e,t){return e===`BC`?1-t:t}function T(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var E={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},D=class{fromJulianDay(e){let t=e,n=t-x,r=Math.floor(n/146097),i=b(n,146097),a=Math.floor(i/36524),o=b(i,36524),s=Math.floor(o/1461),c=b(o,1461),l=Math.floor(c/365),[u,d]=T(r*400+a*100+s*4+l+(a!==4&&l!==4?1:0)),f=t-S(u,d,1,1),p=2;t<S(u,d,3,1)?p=0:C(d)&&(p=1);let m=Math.floor(((f+p)*12+373)/367);return new Xe(u,d,m,t-S(u,d,m,1)+1)}toJulianDay(e){return S(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return E[C(e.year)?`leapyear`:`standard`][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return C(e.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return[`BC`,`AD`]}isInverseEra(e){return e.era===`BC`}balanceDate(e){e.year<=0&&(e.era=e.era===`BC`?`AD`:`BC`,e.year=1-e.year)}constructor(){this.identifier=`gregory`}};function O(e,t){return e.isEqual?.call(e,t)??t.isEqual?.call(t,e)??e.identifier===t.identifier}function k(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function A(e,t){return j(e)-j(t)}function j(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var M=null,N=!1;function P(){return M??=new Intl.DateTimeFormat().resolvedOptions().timeZone,M}function F(){return N}function I(e){return e=G(e,new D),L(w(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function L(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function R(e,t){if(t===`UTC`)return 0;if(e>0&&t===P()&&!F())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=B(e,t);return L(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var z=new Map;function B(e,t){let n=z.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),z.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var V=864e5;function H(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>U(e,t,n))}function U(e,t,n){let r=B(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function ke(e,t,n=`compatible`){let r=Ae(e);if(t===`UTC`)return I(r);if(t===P()&&n===`compatible`&&!F()){r=G(r,new D);let e=new Date,t=w(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=I(r),a=R(i-V,t),o=R(i+V,t),s=H(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function W(e,t,n=`compatible`){return new Date(ke(e,t,n))}function Ae(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new Qe(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function G(e,t){if(O(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Y(r),r}function K(e,t){let n=e.copy(),r=`hour`in n?ze(n,t):0;q(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,J(n),Me(n),n.day+=(t.weeks||0)*7,n.Line truncated
-1
View File
@@ -1 +0,0 @@
import{i as e,r as t}from"./decimal-D3bp1pbs.js";const n=(n,r)=>{if(n===``||n==null)return null;let i=r?.sanitize&&typeof n==`string`?n.replace(/[^0-9.+\-*/()\s]/g,``):n;if(i===``||i==null)return null;let a=typeof i==`string`?i.trim():i;if(a===``)return null;let o=Number(a);if(!Number.isFinite(o)&&typeof a==`string`){let e=t(a);if(e==null||!Number.isFinite(e))return null;o=e}if(!Number.isFinite(o))return null;let s=r?.precision;return typeof s!=`number`||!Number.isInteger(s)||s<0?o:e(o,s)};var r=new Map,i=new Map,a=e=>(r.has(e)||r.set(e,new Intl.NumberFormat(`zh-CN`,{minimumFractionDigits:e,maximumFractionDigits:e})),r.get(e)),o=e=>(i.has(e)||i.set(e,new Intl.NumberFormat(`zh-CN`,{minimumFractionDigits:0,maximumFractionDigits:e})),i.get(e));const s=(e,t=2)=>{let r=n(e);return r==null?``:a(t).format(r)},c=(e,t=20)=>{let r=n(e);return r==null?``:o(t).format(r)};export{c as n,n as r,s as t};
@@ -1 +0,0 @@
import{a as e,d as t,i as n,l as r,s as i}from"./decimal-D3bp1pbs.js";import{C as a,c as o,n as s,p as c,u as l}from"./sql-C69Jo4HU.js";import{C as u}from"./index-CAPJG_im.js";import{t as d}from"./pricingScaleDetail-CuzzWQVd.js";var f=(t,n)=>{let i=!1,a=e(t,e=>{let t=r(n(e));return t==null?null:(i=!0,t)});return i?a:null},p=(e,t)=>{if(typeof t==`number`&&Number.isFinite(t))return t;let n=(e||[]).find(e=>e?.isGroupRow===!0);return typeof n?.amount==`number`&&Number.isFinite(n.amount)?n.amount:null},m=`__only-cost-scale-total__`,h=()=>{try{return u()}catch{return null}},g=()=>{try{return t()}catch{return null}},_=async e=>{let t=g();return t?t.getItem(e):null},v=async(e,t)=>{let n=g();n&&await n.setItem(e,t)},y=e=>!e||!Array.isArray(e.detailRows)?null:{detailRows:JSON.parse(JSON.stringify(e.detailRows))},b=(e,t)=>Object.prototype.hasOwnProperty.call(e||{},t),x=e=>!!(e&&typeof e==`object`&&e.isGroupRow===!0),S=e=>(e||[]).filter(e=>!x(e)),C=(e,t,n)=>e?r(e[t])??(b(e,t)?null:n):n,w=e=>{let t=new Map;for(let n of e||[])t.set(String(n.id),n);return t},T=e=>{let t=String(e||``).trim(),n=/^\d+::(.+)$/.exec(t);return(n?String(n[1]||``).trim():t)||t},E=e=>(e||[]).some(e=>{let t=String(e?.id||``);if(/^\d+::/.test(t))return!0;let n=Number(e?.projectIndex);return Number.isFinite(n)&&n>1}),D=e=>{let t=c()[String(e)];return r(t?.defCoe)},O=e=>c()[String(e)]?.onlyCostScale===!0,k=new Map(o().map(({id:e,item:t})=>[e,t])),A=l(),j=e=>{let t=k.has(e)?e:A.get(e)||e;return r(k.get(t)?.defCoe)},M=e=>{let t=k.has(e)?e:A.get(e)||e,n=k.get(t);return n?n.hasCost!==!1:!1},N=e=>{let t=k.has(e)?e:A.get(e)||e,n=k.get(t);return n?n.hasArea!==!1:!1},P=e=>{let t=k.has(e)?e:A.get(e)||e,n=k.get(t);if(!n)return!1;let r=n.hasCost!==!1,i=n.hasArea!==!1;return r&&i},F=e=>{let t=String(e||``).trim();if(!t)return null;for(let[e,n]of k.entries())if(String(n?.industryId??``).trim()===t&&!String(n?.code||``).includes(`-`))return{id:e,item:n};return null},I=(e,t)=>e?b(e,`budgetValue`)?r(e.budgetValue):b(e,`standardFactor`)?r(e.standardFactor):t:t,L=e=>{let t=new Map,n=c();for(let[e,i]of Object.entries(n))t.set(String(e),r(i?.defCoe));for(let n of e?.detailRows||[]){if(!n?.id)continue;let e=String(n.id);t.set(e,I(n,t.get(e)??null))}return t},R=e=>{let t=new Map;for(let[e,n]of k.entries())t.set(String(e),r(n?.defCoe));for(let n of e?.detailRows||[]){if(!n?.id)continue;let e=String(n.id),r=t.has(e)?e:A.get(e)||e;t.set(r,I(n,t.get(r)??null))}return t},z=()=>o().filter(({item:e})=>!!(e?.code&&String(e.code).includes(`-`))).map(({id:e})=>e),B=(e,t,n)=>{let r=t?.get(String(e))??D(e);return z().map(e=>({id:e,amount:null,landArea:null,benchmarkBudgetBasicChecked:!0,benchmarkBudgetOptionalChecked:!0,consultCategoryFactor:r,majorFactor:n?.get(e)??j(e),workStageFactor:1,workRatio:100}))},V=(e,t,n,i)=>{let a=S(t),o=w(a);for(let e of a){let t=String(e.id),n=A.get(t);n&&!o.has(n)&&o.set(n,e)}let s=n?.get(String(e))??D(e);return B(e,n,i).map(e=>{let t=o.get(e.id);if(!t)return e;let n=b(t,`consultCategoryFactor`),a=b(t,`majorFactor`),c=b(t,`workStageFactor`),l=b(t,`workRatio`);return{...e,amount:r(t.amount),landArea:r(t.landArea),benchmarkBudgetBasicChecked:typeof t.benchmarkBudgetBasicChecked==`boolean`?!!t.benchmarkBudgetBasicChecked:!0,benchmarkBudgetOptionalChecked:typeof t.benchmarkBudgetOptionalChecked==`boolean`?!!t.benchmarkBudgetOptionalChecked:!0,consultCategoryFactor:r(t.consultCategoryFactor)??(n?null:s),majorFactor:r(t.majorFactor)??(a?null:i?.get(e.id)??j(e.id)),workStageFactor:r(t.workStageFactor)??(c?null:e.workStageFactor),workRatio:r(t.workRatio)??(l?null:e.workRatio)}})},H=e=>d(e,`cost`),U=(e,t,n,i,a,o)=>{let s=F(a),c=t||[],l=S(t),u=n?.get(String(e))??D(e),h=(s?i?.get(s.id)??null:null)??r(s?.item?.defCoe)??1;if(l.some(e=>{if(typeof e?.projectIndex==`number`&&Number.isFinite(e.projectIndex))return!0;let t=String(e?.id||``);return/^\d+::/.test(t)}))return f(l,e=>{let t=r(e?.amount);return t==null?null:d({amount:t,benchmarkBudgetBasicChecked:typeof e?.benchmarkBudgetBasicChecked==`boolean`?e.benchmarkBudgetBasicChecked:!0,benchmarkBudgetOptionalChecked:typeof e?.benchmarkBudgetOptionalChecked==`boolean`?e.benchmarkBudgetOptionalChecked:!0,majorFactor:C(e,`majorFactor`,h),consultCategoryFactor:C(e,`consultCategoryFactor`,u),workStageFactor:C(e,`workStageFactor`,1),workRatio:C(e,`workRatio`,100)},`cost`)});let g=p(c,o);if(g==null)return null;let _=c.find(e=>String(e?.id||``)===m)||l.find(e=>b(e,`consultCategoryFactor`)||b(e,`majorFactor`))||l[0],v=C(_,`consultCategoryFactor`,u),y=C(_,`majorFactor`,h),x=C(_,`workStageFactor`,1),w=C(_,`workRatio`,100);return d({amount:g,benchmarkBudgetBasicChecked:typeof _?.benchmarkBudgetBasicChecked==`boolean`?_.benchmarkBudgetBasicChecked:!0,benchmarkBudgetOptionalChecked:typeof _?.benchmarkBudgetOptionalChecked==`boolean`?_.benchmarkBudgetOptionalChecked:!0,majorFactor:y,consultCategoryFactor:v,workStageFactor:x,workRatio:w},`cost`)},W=(e,t,n,i,a,o)=>{let s=t||[],c=S(t),l=p(s,o),u=F(a),d=u?.id||m,f=s.find(e=>String(e?.idLine truncated
@@ -1 +0,0 @@
import{v as e}from"./workspace-DxKKyh8w.js";const t=(t,n)=>`${t}${e()}:${n}`;export{t};
@@ -1 +0,0 @@
import{l as e}from"./decimal-D3bp1pbs.js";import{c as t,u as n}from"./sql-C69Jo4HU.js";var r=new Map(t().map(({id:e,item:t})=>[e,t]));n();const i=e=>{let t=String(e||``).trim();if(!t)return null;for(let[e,n]of r.entries())if(String(n?.industryId??``).trim()===t&&!String(n?.code||``).includes(`-`))return{id:e,item:n};return null},a=(t,n)=>{let r=!1,i=0;for(let a of t){let t=e(n(a));t!=null&&(r=!0,i+=t)}return r?i:null};export{a as n,i as t};
@@ -1 +0,0 @@
import{i as e,t}from"./decimal-D3bp1pbs.js";import{i as n,r}from"./index-CAPJG_im.js";var i=(e,t)=>t===`cost`?e?.amount:e?.landArea;const a=(t,n)=>t==null&&n==null?!0:t==null||n==null?!1:e(t,6)===e(n,6),o=(e,t)=>String(e??``)===String(t??``),s=e=>e?.benchmarkBudgetBasicChecked===!1&&e?.benchmarkBudgetOptionalChecked===!1,c=(e,t)=>r(i(e,t),t),l=(n,r=`cost`)=>{let i=c(n,r);if(!i)return null;let a=n?.benchmarkBudgetBasicChecked===!1?0:i.basic,o=n?.benchmarkBudgetOptionalChecked===!1?0:i.optional;return{...i,basic:a,optional:o,total:s(n)?null:e(t(a,o),2)}},u=(e,t=`cost`)=>{if(s(e))return null;let r=l(e,t);return r?n({benchmarkBudgetBasic:r.basic,benchmarkBudgetOptional:r.optional,majorFactor:e?.majorFactor,consultCategoryFactor:e?.consultCategoryFactor,workStageFactor:e?.workStageFactor,workRatio:e?.workRatio}):null},d=(e,t=`cost`)=>u(e,t)?.total??null,f=(e,t)=>{let n=c(e,t),r=l(e,t),i=u(e,t);return{...e,benchmarkBudget:r?.total??null,benchmarkBudgetBasic:r?.basic??null,benchmarkBudgetOptional:r?.optional??null,basicFormula:e.benchmarkBudgetBasicChecked===!1?null:n?.basicFormula??``,optionalFormula:e.benchmarkBudgetOptionalChecked===!1?null:n?.optionalFormula??``,budgetFee:i?.total??null,budgetFeeBasic:i?.basic??null,budgetFeeOptional:i?.optional??null}},p=(e,t)=>{for(let n of e)Object.assign(n,f(n,t))},m=(e,t,n)=>(n===`cost`?a(e.amount,t.amount):a(e.landArea,t.landArea))&&a(e.benchmarkBudget,t.benchmarkBudget)&&a(e.benchmarkBudgetBasic,t.benchmarkBudgetBasic)&&a(e.benchmarkBudgetOptional,t.benchmarkBudgetOptional)&&o(e.basicFormula,t.basicFormula)&&o(e.optionalFormula,t.optionalFormula)&&a(e.budgetFee,t.budgetFee)&&a(e.budgetFeeBasic,t.budgetFeeBasic)&&a(e.budgetFeeOptional,t.budgetFeeOptional);export{f as a,m as i,u as n,p as o,a as r,d as t};
@@ -1 +0,0 @@
import{Dt as e}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{i as t}from"./decimal-D3bp1pbs.js";import{n}from"./numberFormat-jhZZmX17.js";const r=(e,t)=>{let n=new Map,r=[],i=new Map(e.map(([e,t])=>[t.code,{id:e,code:t.code,name:t.name}]));for(let[a,o]of e){let e=o.code;if(!e.includes(`-`)){n.has(e)||r.push(e),n.set(e,{id:a,code:e,name:o.name,children:[]});continue}let s=e.split(`-`)[0];if(!n.has(s)){let e=i.get(s);r.includes(s)||r.push(s),n.set(s,{id:e?.id||`group-${s}`,code:s,name:e?.name||s,children:[]})}let c=o.hasCost!==!1,l=o.hasArea!==!1;t({id:a,item:o,hasCost:c,hasArea:l})&&n.get(s).children.push({id:a,code:e,name:o.name,hasCost:c,hasArea:l})}return r.map(e=>n.get(e)).filter(e=>!!e)},i=e=>{let t=new Map;for(let n of e){t.set(n.id,`${n.code} ${n.name}`);for(let e of n.children)t.set(e.id,`${e.code} ${e.name}`)}return t},a=(e,t=3,r=`请输入`)=>(console.log(e.value),!e.node?.group&&!e.node?.rowPinned&&(e.value==null||e.value===``)?r:e.value==null?``:n(e.value,t)),o=e=>e.value==null||e.value===``?``:n(t(e.value,3),3),s=(e,t,n,r)=>{for(let i of e)if(i.id===t){if(n===`benchmarkBudgetBasicChecked`){i.benchmarkBudgetBasicChecked=r,i.benchmarkBudgetBasic=r?i.benchmarkBudgetBasic:0;return}i.benchmarkBudgetOptionalChecked=r,i.benchmarkBudgetOptional=r?i.benchmarkBudgetOptional:0;return}},c=(t,n)=>r=>{let i=n.formatValue(r),a=r.value!=null&&r.value!==``;if(r.node?.group||r.node?.rowPinned||!r.data||!a)return i;let o=document.createElement(`div`);o.style.display=`flex`,o.style.alignItems=`center`,o.style.justifyContent=`space-between`,o.style.gap=`6px`,o.style.width=`100%`,o.addEventListener(`pointerdown`,e=>e.stopPropagation()),o.addEventListener(`mousedown`,e=>e.stopPropagation()),o.addEventListener(`click`,e=>e.stopPropagation()),o.addEventListener(`dblclick`,e=>e.stopPropagation());let s=document.createElement(`input`);s.type=`checkbox`,s.className=`cursor-pointer`,s.checked=r.data[t]!==!1,s.addEventListener(`pointerdown`,e=>e.stopPropagation()),s.addEventListener(`mousedown`,e=>e.stopPropagation()),s.addEventListener(`click`,e=>e.stopPropagation()),s.addEventListener(`change`,t=>{t.stopPropagation();let i=r.data;i&&(n.onToggle(i,s.checked),e(()=>{r.api?.redrawRows?.({rowNodes:r.node?[r.node]:void 0}),r.api?.refreshCells?.({rowNodes:r.node?[r.node]:void 0,force:!0})}))});let c=document.createElement(`span`);return c.textContent=i,c.addEventListener(`pointerdown`,e=>e.stopPropagation()),c.addEventListener(`mousedown`,e=>e.stopPropagation()),c.addEventListener(`click`,e=>e.stopPropagation()),o.append(s,c),o},l=(e,t)=>n=>c(n,{formatValue:o,onToggle:(r,i)=>{s(e(),r.id,n,i),t()}}),u=e=>{if(!e.node?.group&&!e.node?.rowPinned)return 1;let t=e.api?.getAllDisplayedColumns?.();if(!Array.isArray(t)||!e.column)return 1;let n=t.findIndex(t=>t.getColId()===e.column.getColId()),r=t.findIndex(e=>e.getColId()===`budgetFeeTotal`);return n<0||r<=n?1:r-n};export{r as a,u as i,a as n,i as o,o as r,l as t};
@@ -1 +0,0 @@
import{u as e}from"./sql-C69Jo4HU.js";var t=e(),n=e=>{let t=Number(e);return Number.isFinite(t)?Math.max(1,Math.floor(t)):1};const r=e=>{let t=/^project-(\d+)$/.exec(e);return t?n(Number(t[1])):null},i=e=>{let t=String(e||``),r=/^(\d+)::(.+)$/.exec(t);return r?{projectIndex:n(Number(r[1])),majorDictId:String(r[2]||``).trim()}:{projectIndex:1,majorDictId:t}},a=e=>{if(!e)return 1;if(typeof e.projectIndex==`number`&&Number.isFinite(e.projectIndex))return n(e.projectIndex);if(Array.isArray(e.path)&&e.path.length>0){let t=r(String(e.path[0]||``));if(t!=null)return t}return i(e.id).projectIndex},o=e=>{if(!e)return``;let n=String(e.majorDictId||``).trim();if(n)return t.get(n)||n;let r=i(e.id).majorDictId;return t.get(r)||r},s=(e,t)=>`${n(e)}:${String(t||``).trim()}`,c=e=>{let t=new Map;for(let n of e||[]){let e=o(n);if(!e)continue;let r=a(n);t.set(s(r,e),n)}return t},l=e=>{let n=new Map;for(let r of e||[]){let e=String(r?.id||``).trim();if(!e)continue;n.set(e,r);let i=t.get(e);i&&!n.has(i)&&n.set(i,r)}return n},u=(e,t)=>{let n=new Map,r=typeof t==`number`&&Number.isFinite(t)?t:null;r!=null&&n.set(1,{amount:r,landArea:null});for(let t of e||[]){if(t?.isGroupRow!==!0)continue;let e=a(t),r=n.get(e)||{amount:null,landArea:null},i=r.amount==null?typeof t?.amount==`number`&&Number.isFinite(t.amount)?t.amount:null:r.amount,o=r.landArea==null?typeof t?.landArea==`number`&&Number.isFinite(t.landArea)?t.landArea:null:r.landArea;n.set(e,{amount:i,landArea:o})}return n},d=(e,t)=>{let n=a(e);return t.get(n)||(n>1?t.get(1):void 0)||{amount:null,landArea:null}},f=(e,t,n)=>{let r=String(e.id||``).trim();if(r&&n?.has(r))return n.get(r);let c=i(e.id).majorDictId;if(c&&n?.has(c))return n.get(c);let l=o(e);if(!l)return;let u=a(e);return t.get(s(u,l))||(u>1?t.get(s(1,l)):void 0)},p=e=>new Set((e||[]).map(e=>{let n=String(e||``).trim();if(!n)return n;let r=i(n).majorDictId;return t.get(r)||r}).filter(Boolean));export{f as a,r as c,d as i,o as l,c as n,s as o,u as r,p as s,l as t,a as u};
@@ -1 +0,0 @@
import{At as e,Ot as t,Pt as n,mn as r}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";const i=i=>{let a=async()=>{await i.loadFromIndexedDB(),await i.syncLinkedFields()},o=!1;n(async()=>{o=!0,await a()}),t(async()=>{if(o){o=!1;return}await a()}),e(()=>{i.gridApi.value?.stopEditing(),i.gridApi.value=null,i.saveToIndexedDB()}),r(i.linkedSourceSignature,()=>{i.syncLinkedFields()}),i.linkedSecondarySignature&&i.syncSecondaryLinkedFields&&r(i.linkedSecondarySignature,()=>{i.syncSecondaryLinkedFields?.()})};export{i as t};
@@ -1 +0,0 @@
import{l as e,o as t,u as n}from"./pricingScaleLink-BNsm4Fxd.js";const r=async e=>{let t=e.normalizeProjectCount(e.nextValue);if(e.setProjectCount(t),!e.isMutipleService)return;let n=e.cloneRows(e.currentRows),r=e.inferProjectCountFromRows(n);if(t===r)return;if(t<r){e.applyRows(e.buildRowsForReducedCount(n,t)),await e.afterApplyRows();return}let i=await e.buildRowsFromImportDefaultSource(t),a=new Map;for(let t of n){let n=e.getRowKey(t);n&&a.set(n,t)}e.applyRows(i.map(t=>{let n=e.getRowKey(t),i=n?a.get(n):void 0;return!i||e.getRowProjectIndex(i)>r?t:e.mergeExistingRow(t,i)})),await e.afterApplyRows()};var i=`project-`,a=`::`;const o=e=>{let t=Number(e);return Number.isFinite(t)?Math.max(1,Math.floor(t)):1},s=e=>`${i}${e}`,c=(e,t,n)=>e?`${t}${a}${n}`:n,l=(e,t)=>{if(!t)return 1;let r=1;for(let t of e||[])r=Math.max(r,n(t));return r},u=r=>{if(!r)return``;let i=e(r);return i?t(n(r),i):``};export{o as a,l as i,c as n,r as o,u as r,s as t};
@@ -1 +0,0 @@
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e),f=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});export{d as a,f as i,o as n,u as o,c as r,s as t};
-28
View File
@@ -1,28 +0,0 @@
import{i as e,t}from"./rolldown-runtime-fVNAxIxX.js";import{C as n,T as r}from"./workspace-DxKKyh8w.js";import{i,s as a}from"./decimal-D3bp1pbs.js";import{t as o}from"./numberFormat-jhZZmX17.js";const s={E1:`General Transportation Engineering`,1:`Building construction, prefabricated engineering`,2:`Decoration project contracted separately`,3:`Installation project contracted separately`,4:`Landscape Architecture Project`,5:`Earthwork project contracted separately`,6:`Ancient-style buildings, ancient building protection and restoration, seismic reinforcement projects`,E2:`Highway Engineering`,7:`Maintenance and renovation project`,8:`Highway, municipal, and water conservancy projects`,9:`Water supply plants, sewage plants, pumping stations, waste plants, communications, power engineering`,10:`Airport runways and urban rail transit projects`,11:`Port Engineering`,12:`Municipal maintenance, blasting engineering`,13:`Other projects`,"E2-8":`Traffic Safety Facilities`,"E2-9":`Landscaping and Environmental Works`,"E2-10":`Building Works`,E3:`Railway Engineering`,"E3-1":`Large Temporary Facilities and Transitional Works`,"E3-2":`Subgrade Works`,"E3-3":`Bridge and Culvert Works`,"E3-4":`Tunnel and Cut-and-Cover Works`,"E3-5":`Track Works`,"E3-6":`Communication, Signaling, Information and Disaster Monitoring`,"E3-7":`Power and Traction Power Supply Works`,"E3-8":`Building Works (Buildings and Ancillary Works)`,"E3-9":`Interior Decoration Works`,E4:`Waterway Engineering`,"E4-1":`Temporary Works`,"E4-2":`Civil Works`,"E4-3":`Mechanical, Electrical and Steel Structure Works`,"E4-4":`Equipment Works`,"E4-5":`Ancillary Building Works (Buildings and Ancillary Works)`},c={"F1*":`Whole Process Project Cost Consulting`,"F2-1*":`Early Stage Project Cost Consulting`,"F2-2*":`Implementation Stage Project Cost Consulting`,"F2-3":`Whole Process Cost Control of EPC Project`,"F2-4":`Whole Process Cost Control of General Construction Contract Project`,"F3-1-1":`Investment Estimation Compilation`,"F3-1-2":`Investment Estimation Review`,"F3-2-1":`Budgetary Estimate Compilation`,"F3-2-2":`Budgetary Estimate Review`,"F3-2-3":`Economic Analysis of Design Scheme`,"F3-3-1":`Tender Procurement and Contract Planning`,"F3-3-2":`Bill of Quantities Compilation`,"F3-3-3":`Bill of Quantities Review`,"F3-3-4":`Maximum Bid Price Compilation for General Construction Contract`,"F3-3-5":`Maximum Bid Price Review for General Construction Contract`,"F3-3-6":`Maximum Bid Price Compilation for EPC Project`,"F3-3-7":`Maximum Bid Price Review for EPC Project`,"F3-3-9":`Construction Drawing Budget Compilation`,"F3-3-10":`Construction Drawing Budget Review`,"F3-3-11":`Bid Evaluation Sorting`,"F3-3-12":`Bid Price Verification`,"F3-4-1":`Settlement Compilation`,"F3-4-2":`Settlement Review`,"F3-4-3":`Final Accounts Compilation upon Completion`,"F3-4-4":`Final Accounts Review upon Completion`,"F3-4-5":`Project Post-Evaluation`,"F3-5":`Project Cost Appraisal`,"F3-6":`Mediation of Project Cost Disputes`,"F3-6-1":`Case Acceptance Fee`,"F3-6-2":`Mediation Fee`,"F3-7-1":`Calculation of Steel Bars and Embedded Parts (Bill of Quantities)`,"F3-7-2":`Calculation of Steel Bars and Embedded Parts (Settlement)`,"F3-7-3":`Inquiry and Verification of Material & Equipment Prices`},l={"C4-1":`Daily Cost Advisory`,"C4-2":`Special Cost Advisory`,"C5-1":`Organization and Research`,"C5-2-1":`Document Drafting`,"C5-2-2":`Document Drafting`,"C5-3-1":`Review`,"C5-3-2":`Review`,"C5-3-3":`Review`,"C6-1":`Organization and Research`,"C6-2-1":`Research and Report Writing`,"C6-2-2":`Research and Report Writing`,"C6-2-3":`Research and Report Writing`,"C6-3-1":`Standards/Guideline Drafting`,"C6-3-2":`Standards/Guideline Drafting`,"C6-3-3":`Standards/Guideline Drafting`,"C6-3-4":`Standards/Guideline Drafting`,"C6-4-1":`Review and Acceptance`,"C6-4-2":`Review and Acceptance`,"C6-4-3":`Review and Acceptance`,"C6-5-1":`Training and Communication`,"C6-5-2":`Training and Communication`,"C7-1":`Organization and Research`,"C7-2":`Outline Preparation`,"C7-3":`Data Collection and Measurement`,"C7-4-1":`Data Processing and Analysis`,"C7-4-2":`Data Processing and Analysis`,"C7-5":`Quota Determination Report`,"C7-6-1":`Quota Text and Notes Drafting`,"C7-6-2":`Quota Text and Notes Drafting`,"C7-7-1":`Review and Acceptance`,"C7-7-2":`Review and Acceptance`,"C7-7-3":`Review and Acceptance`,"C7-8-1":`Training and Communication`,"C7-8-2":`Training and Communication`,"C8-1":`Q ≤ 10`,"C8-2":`10 < Q ≤ 30`,"C8-3":`30 < Q ≤ 50`,"C8-4":`50 < Q ≤ 100`,"C8-5":`Q > 100`},u={"C9-1-1":`Technician and Others`,"C9-1-2":`Assistant Engineer`,"C9-1-3":`Intermediate Engineer or Level-2 Cost Engineer`,"C9-1-4":`Senior Engineer or Level-1 Cost Engineer`,"C9-1-5":`Professor-Level Senior Engineer or Senior Expert`,"C9-2-1":`Level-2 Cost Engineer + Intermediate Engineer`,"C9-3-1":`Level-1 Cost Engineer + Intermediate Engineer`,"C9-3-2":`Level-1 Cost Engineer + Senior Engineer`};t(((t,n)=>{(function(e){typeof t==`object`&&n!=Line truncated
`)}openNode(e,t){let n=this.tos,r=this._xml;n&&this.open&&r.push(`>`),this._stack.push(e),r.push(`<`),r.push(e),o(r,t),this.leaf=!0,this.open=!0}addAttribute(e,t){if(!this.open)throw Error(`Cannot write attributes to node if it is not open`);t!==void 0&&a(this._xml,e,t)}addAttributes(e){if(!this.open)throw Error(`Cannot write attributes to node if it is not open`);o(this._xml,e)}writeText(e){let t=this._xml;this.open&&=(t.push(`>`),!1),this.leaf=!1,t.push(i.xmlEncode(e.toString()))}writeXml(e){this.open&&=(this._xml.push(`>`),!1),this.leaf=!1,this._xml.push(e)}closeNode(){let e=this._stack.pop(),t=this._xml;this.leaf?t.push(`/>`):(t.push(`</`),t.push(e),t.push(`>`)),this.open=!1,this.leaf=!1}leafNode(e,t,n){this.openNode(e,t),n!==void 0&&this.writeText(n),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){let e=this._rollbacks.pop();this._xml.length>e.xml&&this._xml.splice(e.xml,this._xml.length-e.xml),this._stack.length>e.stack&&this._stack.splice(e.stack,this._stack.length-e.stack),this.leaf=e.leaf,this.open=e.open}get xml(){return this.closeAll(),this._xml.join(``)}}s.StdDocAttributes={version:`1.0`,encoding:`UTF-8`,standalone:`yes`},t.exports=s},{"./under-dash":26,"./utils":27}],29:[function(e,t,n){(function(n){(function(){let r=e(`events`),i=e(`jszip`),a=e(`./stream-buf`),{stringToBuffer:o}=e(`./browser-buffer-encode`);class s extends r.EventEmitter{constructor(e){super(),this.options=Object.assign({type:`nodebuffer`,compression:`DEFLATE`},e),this.zip=new i,this.stream=new a}append(e,t){t.hasOwnProperty(`base64`)&&t.base64?this.zip.file(t.name,e,{base64:!0}):(n.browser&&typeof e==`string`&&(e=o(e)),this.zip.file(t.name,e))}async finalize(){let e=await this.zip.generateAsync(this.options);this.stream.end(e),this.emit(`finish`)}read(e){return this.stream.read(e)}setEncoding(e){return this.stream.setEncoding(e)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(e,t){return this.stream.pipe(e,t)}unpipe(e){return this.stream.unpipe(e)}unshift(e){return this.stream.unshift(e)}wrap(e){return this.stream.wrap(e)}}t.exports={ZipWriter:s}}).call(this)}).call(this,e(`_process`))},{"./browser-buffer-encode":17,"./stream-buf":24,_process:467,events:422,jszip:441}],30:[function(e,t,n){t.exports={0:{f:`General`},1:{f:`0`},2:{f:`0.00`},3:{f:`#,##0`},4:{f:`#,##0.00`},9:{f:`0%`},10:{f:`0.00%`},11:{f:`0.00E+00`},12:{f:`# ?/?`},13:{f:`# ??/??`},14:{f:`mm-dd-yy`},15:{f:`d-mmm-yy`},16:{f:`d-mmm`},17:{f:`mmm-yy`},18:{f:`h:mm AM/PM`},19:{f:`h:mm:ss AM/PM`},20:{f:`h:mm`},21:{f:`h:mm:ss`},22:{f:`m/d/yy "h":mm`},27:{"zh-tw":`[$-404]e/m/d`,"zh-cn":`yyyy"年"m"月"`,"ja-jp":`[$-411]ge.m.d`,"ko-kr":`yyyy"年" mm"月" dd"日"`},28:{"zh-tw":`[$-404]e"年"m"月"d"日"`,"zh-cn":`m"月"d"日"`,"ja-jp":`[$-411]ggge"年"m"月"d"日"`,"ko-kr":`mm-dd`},29:{"zh-tw":`[$-404]e"年"m"月"d"日"`,"zh-cn":`m"月"d"日"`,"ja-jp":`[$-411]ggge"年"m"月"d"日"`,"ko-kr":`mm-dd`},30:{"zh-tw":`m/d/yy `,"zh-cn":`m-d-yy`,"ja-jp":`m/d/yy`,"ko-kr":`mm-dd-yy`},31:{"zh-tw":`yyyy"年"m"月"d"日"`,"zh-cn":`yyyy"年"m"月"d"日"`,"ja-jp":`yyyy"年"m"月"d"日"`,"ko-kr":`yyyy"년" mm"월" dd"일"`},32:{"zh-tw":`hh"時"mm"分"`,"zh-cn":`h"时"mm"分"`,"ja-jp":`h"時"mm"分"`,"ko-kr":`h"시" mm"분"`},33:{"zh-tw":`hh"時"mm"分"ss"秒"`,"zh-cn":`h"时"mm"分"ss"秒"`,"ja-jp":`h"時"mm"分"ss"秒"`,"ko-kr":`h"시" mm"분" ss"초"`},34:{"zh-tw":`上午/下午 hh"時"mm"分"`,"zh-cn":`上午/下午 h"时"mm"分"`,"ja-jp":`yyyy"年"m"月"`,"ko-kr":`yyyy-mm-dd`},35:{"zh-tw":`上午/下午 hh"時"mm"分"ss"秒"`,"zh-cn":`上午/下午 h"时"mm"分"ss"秒"`,"ja-jp":`m"月"d"日"`,"ko-kr":`yyyy-mm-dd`},36:{"zh-tw":`[$-404]e/m/d`,"zh-cn":`yyyy"年"m"月"`,"ja-jp":`[$-411]ge.m.d`,"ko-kr":`yyyy"年" mm"月" dd"日"`},37:{f:`#,##0 ;(#,##0)`},38:{f:`#,##0 ;[Red](#,##0)`},39:{f:`#,##0.00 ;(#,##0.00)`},40:{f:`#,##0.00 ;[Red](#,##0.00)`},45:{f:`mm:ss`},46:{f:`[h]:mm:ss`},47:{f:`mmss.0`},48:{f:`##0.0E+0`},49:{f:`@`},50:{"zh-tw":`[$-404]e/m/d`,"zh-cn":`yyyy"年"m"月"`,"ja-jp":`[$-411]ge.m.d`,"ko-kr":`yyyy"年" mm"月" dd"日"`},51:{"zh-tw":`[$-404]e"年"m"月"d"日"`,"zh-cn":`m"月"d"日"`,"ja-jp":`[$-411]ggge"年"m"月"d"日"`,"ko-kr":`mm-dd`},52:{"zh-tw":`上午/下午 hh"時"mm"分"`,"zh-cn":`yyyy"年"m"月"`,"ja-jp":`yyyy"年"m"月"`,"ko-kr":`yyyy-mm-dd`},53:{"zh-tw":`上午/下午 hh"時"mm"分"ss"秒"`,"zh-cn":`m"月"d"日"`,"ja-jp":`m"月"d"日"`,"ko-kr":`yyyy-mm-dd`},54:{"zh-tw":`[$-404]e"年"m"月"d"日"`,"zh-cn":`m"月"d"日"`,"ja-jp":`[$-411]ggge"年"m"月"d"日"`,"ko-kr":`mm-dd`},55:{"zh-tw":`上午/下午 hh"時"mm"分"`,"zh-cn":`上午/下午 h"时"mm"分"`,"ja-jp":`yyyy"年"m"月"`,"ko-kr":`yyyy-mm-dd`},56:{"zh-tw":`上午/下午 hh"時"mm"分"ss"秒"`,"zh-cn":`上午/下午 h"时"mm"分"ss"秒"`,"ja-jp":`m"Line truncated
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:Line truncated
`,this.quote=`"`,this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM=``,this.alwaysWriteHeaders=!1,Object.assign(this,e||{}),e?.quoteHeaders===void 0&&(this.quoteHeaders=this.quoteColumns),!0===e?.quote?this.quote=`"`:!1===e?.quote&&(this.quote=``),typeof e?.escape!=`string`&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&((t=e.writeHeaders)==null||t),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(e,t,n){var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,`__esModule`,{value:!0}),n.FieldFormatter=void 0;let i=r(e(`lodash.isboolean`)),a=r(e(`lodash.isnil`)),o=r(e(`lodash.escaperegexp`));n.FieldFormatter=class{constructor(e){this._headers=null,this.formatterOptions=e,e.headers!==null&&(this.headers=e.headers),this.REPLACE_REGEXP=new RegExp(e.quote,`g`);let t=`[${e.delimiter}${o.default(e.rowDelimiter)}|\r|\n]`;this.ESCAPE_REGEXP=new RegExp(t)}set headers(e){this._headers=e}shouldQuote(e,t){let n=t?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return i.default(n)?n:Array.isArray(n)?n[e]:this._headers!==null&&n[this._headers[e]]}format(e,t,n){let r=(``+(a.default(e)?``:e)).replace(/\0/g,``),{formatterOptions:i}=this;return i.quote!==``&&r.indexOf(i.quote)!==-1?this.quoteField(r.replace(this.REPLACE_REGEXP,i.escapedQuote)):r.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(t,n)?this.quoteField(r):r}quoteField(e){let{quote:t}=this.formatterOptions;return`${t}${e}${t}`}}},{"lodash.escaperegexp":442,"lodash.isboolean":444,"lodash.isnil":447}],149:[function(e,t,n){var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,`__esModule`,{value:!0}),n.RowFormatter=void 0;let i=r(e(`lodash.isfunction`)),a=r(e(`lodash.isequal`)),o=e(`./FieldFormatter`),s=e(`../types`);class c{constructor(e){this.rowCount=0,this.formatterOptions=e,this.fieldFormatter=new o.FieldFormatter(e),this.headers=e.headers,this.shouldWriteHeaders=e.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null&&(this.fieldFormatter.headers=this.headers),e.transform&&(this.rowTransform=e.transform)}static isRowHashArray(e){return!!Array.isArray(e)&&Array.isArray(e[0])&&e[0].length===2}static isRowArray(e){return Array.isArray(e)&&!this.isRowHashArray(e)}static gatherHeaders(e){return c.isRowHashArray(e)?e.map(e=>e[0]):Array.isArray(e)?e:Object.keys(e)}static createTransform(e){return s.isSyncTransform(e)?(t,n)=>{let r=null;try{r=e(t)}catch(e){return n(e)}return n(null,r)}:(t,n)=>{e(t,n)}}set rowTransform(e){if(!i.default(e))throw TypeError(`The transform should be a function`);this._rowTransform=c.createTransform(e)}format(e,t){this.callTransformer(e,(n,r)=>{if(n)return t(n);if(!e)return t(null);let i=[];if(r){let{shouldFormatColumns:e,headers:t}=this.checkHeaders(r);if(this.shouldWriteHeaders&&t&&!this.hasWrittenHeaders&&(i.push(this.formatColumns(t,!0)),this.hasWrittenHeaders=!0),e){let e=this.gatherColumns(r);i.push(this.formatColumns(e,!1))}}return t(null,i)})}finish(e){let t=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return e(Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));t.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&t.push(this.formatterOptions.rowDelimiter),e(null,t)}checkHeaders(e){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let t=c.gatherHeaders(e);return this.headers=t,this.fieldFormatter.headers=t,this.shouldWriteHeaders?{shouldFormatColumns:!a.default(t,e),headers:t}:{shouldFormatColumns:!0,headers:null}}gatherColumns(e){if(this.headers===null)throw Error(`Headers is currently null`);return Array.isArray(e)?c.isRowHashArray(e)?this.headers.map((t,n)=>{let r=e[n];return r?r[1]:``}):c.isRowArray(e)&&!this.shouldWriteHeaders?e:this.headers.map((t,n)=>e[n]):this.headers.map(t=>e[t])}callTransformer(e,t){return this._rowTransform?this._rowTransform(e,t):t(null,e)}formatColumns(e,t){let n=e.map((e,n)=>this.fieldFormatter.format(e,n,t)).join(this.formatterOptions.delimiter),{rowCount:r}=this;return this.rowCount+=1,r?[this.formatterOptions.rowDelimiter,n].join(``):n}}n.RowFormatter=c},{"../types":152,"./FieldFormatter":148,"lodash.isequal":445,"lodash.isfunction":446}],150:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.FieldFormatter=n.RowFormatter=void 0;var r=e(`./RowFormatter`);Object.defineProperty(n,`RowFormatter`,{enumerable:!0,get:function(){return r.RowFormatter}});var i=e(`./FieldFormatter`);Object.defineProperty(n,`FieldFormatter`,{enumerable:!0,get:function(){return i.FieldFormatter}})},{"./FieldFormatter":148,"./RowFormatter":149}],151:[function(e,t,n){(function(t){(function(){var r=Object.create?function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:funct Line truncated
`||t===`\r
`}static isTokenCarriageReturn(e,t){return e.token===t.carriageReturn}static isTokenComment(e,t){return t.supportsComments&&!!e&&e.token===t.comment}static isTokenEscapeCharacter(e,t){return e.token===t.escapeChar}static isTokenQuote(e,t){return e.token===t.quote}static isTokenDelimiter(e,t){return e.token===t.delimiter}}},{}],160:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.ColumnFormatter=void 0,n.ColumnFormatter=class{constructor(e){e.trim?this.format=e=>e.trim():e.ltrim?this.format=e=>e.trimLeft():e.rtrim?this.format=e=>e.trimRight():this.format=e=>e}}},{}],161:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.ColumnParser=void 0;let r=e(`./NonQuotedColumnParser`),i=e(`./QuotedColumnParser`),a=e(`../Token`);n.ColumnParser=class{constructor(e){this.parserOptions=e,this.quotedColumnParser=new i.QuotedColumnParser(e),this.nonQuotedColumnParser=new r.NonQuotedColumnParser(e)}parse(e){let{nextNonSpaceToken:t}=e;return t!==null&&a.Token.isTokenQuote(t,this.parserOptions)?(e.advanceToToken(t),this.quotedColumnParser.parse(e)):this.nonQuotedColumnParser.parse(e)}}},{"../Token":159,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],162:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.NonQuotedColumnParser=void 0;let r=e(`./ColumnFormatter`),i=e(`../Token`);n.NonQuotedColumnParser=class{constructor(e){this.parserOptions=e,this.columnFormatter=new r.ColumnFormatter(e)}parse(e){if(!e.hasMoreCharacters)return null;let{parserOptions:t}=this,n=[],r=e.nextCharacterToken;for(;r&&!i.Token.isTokenDelimiter(r,t)&&!i.Token.isTokenRowDelimiter(r);r=e.nextCharacterToken)n.push(r.token),e.advancePastToken(r);return this.columnFormatter.format(n.join(``))}}},{"../Token":159,"./ColumnFormatter":160}],163:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.QuotedColumnParser=void 0;let r=e(`./ColumnFormatter`),i=e(`../Token`);n.QuotedColumnParser=class{constructor(e){this.parserOptions=e,this.columnFormatter=new r.ColumnFormatter(e)}parse(e){if(!e.hasMoreCharacters)return null;let t=e.cursor,{foundClosingQuote:n,col:r}=this.gatherDataBetweenQuotes(e);if(!n){if(e.advanceTo(t),!e.hasMoreData)throw Error(`Parse Error: missing closing: '${this.parserOptions.quote||``}' in line: at '${e.lineFromCursor.replace(/[\r\n]/g,`\\n'`)}'`);return null}return this.checkForMalformedColumn(e),r}gatherDataBetweenQuotes(e){let{parserOptions:t}=this,n=!1,r=!1,a=[],o=e.nextCharacterToken;for(;!r&&o!==null;o=e.nextCharacterToken){let s=i.Token.isTokenQuote(o,t);if(!n&&s)n=!0;else if(n)if(i.Token.isTokenEscapeCharacter(o,t)){e.advancePastToken(o);let n=e.nextCharacterToken;n!==null&&(i.Token.isTokenQuote(n,t)||i.Token.isTokenEscapeCharacter(n,t))?(a.push(n.token),o=n):s?r=!0:a.push(o.token)}else s?r=!0:a.push(o.token);e.advancePastToken(o)}return{col:this.columnFormatter.format(a.join(``)),foundClosingQuote:r}}checkForMalformedColumn(e){let{parserOptions:t}=this,{nextNonSpaceToken:n}=e;if(n){let r=i.Token.isTokenDelimiter(n,t),a=i.Token.isTokenRowDelimiter(n);if(!r&&!a){let r=e.lineFromCursor.substr(0,10).replace(/[\r\n]/g,`\\n'`);throw Error(`Parse Error: expected: '${t.escapedDelimiter}' OR new line got: '${n.token}'. at '${r}`)}e.advanceToToken(n)}else e.hasMoreData||e.advancePastLine()}}},{"../Token":159,"./ColumnFormatter":160}],164:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.ColumnFormatter=n.QuotedColumnParser=n.NonQuotedColumnParser=n.ColumnParser=void 0;var r=e(`./ColumnParser`);Object.defineProperty(n,`ColumnParser`,{enumerable:!0,get:function(){return r.ColumnParser}});var i=e(`./NonQuotedColumnParser`);Object.defineProperty(n,`NonQuotedColumnParser`,{enumerable:!0,get:function(){return i.NonQuotedColumnParser}});var a=e(`./QuotedColumnParser`);Object.defineProperty(n,`QuotedColumnParser`,{enumerable:!0,get:function(){return a.QuotedColumnParser}});var o=e(`./ColumnFormatter`);Object.defineProperty(n,`ColumnFormatter`,{enumerable:!0,get:function(){return o.ColumnFormatter}})},{"./ColumnFormatter":160,"./ColumnParser":161,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],165:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.QuotedColumnParser=n.NonQuotedColumnParser=n.ColumnParser=n.Token=n.Scanner=n.RowParser=n.Parser=void 0;var r=e(`./Parser`);Object.defineProperty(n,`Parser`,{enumerable:!0,get:function(){return r.Parser}});var i=e(`./RowParser`);Object.defineProperty(n,`RowParser`,{enumerable:!0,get:function(){return i.RowParser}});var a=e(`./Scanner`);Object.defineProperty(n,`Scanner`,{enumerable:!0,get:function(){return a.Scanner}});var o=e(`./Token`);Object.defineProperty(n,`Token`,{enumerable:!0,get:function(){return o.Token}});var s=e(`./column`);Object.defineProperty(n,`ColumnParser`,{enumerable:!0,get:function(){return s.ColumnParser}}),Object.defineProperty(n,`NonQuotedColumnParser`,{enumerable:!0,get:function(){return s.NonQuotedColumnParser}}),Object.defineProperty(n,`QuotedColumnParser`,{enumeraLine truncated
`)}},{"./der":181,inherits:440}],184:[function(e,t,n){(function(t,n){function r(e,t){if(!e)throw Error(t||`Assertion failed`)}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function a(e,t,n){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,e!==null&&(t!==`le`&&t!==`be`||(n=t,t=10),this._init(e||0,t||10,n||`be`))}var o;typeof t==`object`?t.exports=a:(void 0).BN=a,a.BN=a,a.wordSize=26;try{o=typeof window<`u`&&window.Buffer!==void 0?window.Buffer:e(`buffer`).Buffer}catch{}function s(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function c(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function l(e,t,n,r){for(var i=0,a=Math.min(e.length,n),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(e){return e instanceof a||typeof e==`object`&&!!e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,n){if(typeof e==`number`)return this._initNumber(e,t,n);if(typeof e==`object`)return this._initArray(e,t,n);t===`hex`&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;(e=e.toString().replace(/\s+/g,``))[0]===`-`&&(i++,this.negative=1),i<e.length&&(t===16?this._parseHex(e,i,n):(this._parseBase(e,t,i),n===`le`&&this._initArray(this.toArray(),t,n)))},a.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),n===`le`&&this._initArray(this.toArray(),t,n)},a.prototype._initArray=function(e,t,n){if(r(typeof e.length==`number`),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if(n===`be`)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if(n===`le`)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,a=0,o=0;if(n===`be`)for(r=e.length-1;r>=t;r-=2)i=c(e,t,r)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else for(r=(e.length-t)%2==0?t+1:t;r<e.length;r+=2)i=c(e,t,r)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;this.strip()},a.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var a=e.length-n,o=a%r,s=Math.min(a,a-o)+n,c=0,u=n;u<s;u+=r)c=l(e,u,u+r,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(o!==0){var d=1;for(c=l(e,u,e.length,t),u=0;u<o;u++)d*=t;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},a.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},a.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?`<BN-R: `:`<BN: `)+this.toString(16)+`>`};var u=`.0.00.000.0000.00000.000000.0000000.00000000.000000000.0000000000.00000000000.000000000000.0000000000000.00000000000000.000000000000000.0000000000000000.00000000000000000.000000000000000000.0000000000000000000.00000000000000000000.000000000000000000000.0000000000000000000000.00000000000000000000000.000000000000000000000000.0000000000000000000000000`.split(`.`),d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,c=o/67108864|0;n.words[0]=s;for(var l=1;l<r;l++){for(var u=c>>>26,d=67108863&c,f=Math.min(l,t.length-1),p=Math.max(0,l-e.length+1);p<=f;p++){var m=l-p|0;u+=(o=(i=0|e.words[m])*(a=0|t.words[p])+d)/67108864|0,d=67108863&o}n. Line truncated
`))},n.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":206,"browserify-sign":213,"browserify-sign/algos":210,"create-ecdh":384,"create-hash":386,"create-hmac":388,"diffie-hellman":400,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],391:[function(e,t,n){(function(e,r){typeof n==`object`&&t!==void 0?t.exports=r():(e=typeof globalThis<`u`?globalThis:e||self).dayjs=r()})(void 0,(function(){var e=6e4,t=36e5,n=`millisecond`,r=`second`,i=`minute`,a=`hour`,o=`day`,s=`week`,c=`month`,l=`quarter`,u=`year`,d=`date`,f=`Invalid Date`,p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},_={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+g(r,2,`0`)+`:`+g(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),a=n-i<0,o=t.clone().add(r+(a?-1:1),c);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:u,w:s,d:o,D:d,h:a,m:i,s:r,ms:n,Q:l}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},v=`en`,y={};y[v]=h;var b=`$isDayjsObject`,x=function(e){return e instanceof T||!(!e||!e[b])},S=function e(t,n,r){var i;if(!t)return v;if(typeof t==`string`){var a=t.toLowerCase();y[a]&&(i=a),n&&(y[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;y[s]=t,i=s}return!r&&i&&(v=i),i||!r&&v},C=function(e,t){if(x(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new T(n)},w=_;w.l=S,w.i=x,w.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var T=function(){function h(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var g=h.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return w},g.isValid=function(){return this.$d.toString()!==f},g.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return C(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<C(e)},g.$g=function(e,t,n){return w.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,l=!!w.u(t)||t,f=w.p(e),p=function(e,t){var r=w.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return l?r:r.endOf(o)},m=function(e,t){return w.w(n.toDate()[e].apply(n.toDate(`s`),(l?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(f){case u:return l?p(1,0):p(31,11);case c:return l?p(1,g):p(0,g+1);case s:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(l?_-b:_+(6-b),g);case o:case d:return m(v+`Hours`,0);case a:return m(v+`Minutes`,1);case i:return m(v+`Seconds`,2);case r:return m(v+`Milliseconds`,3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var s,l=w.p(e),f=`set`+(this.$u?`UTC`:``),p=(s={},s[o]=f+`Date`,s[d]=f+`Date`,s[c]=f+`Month`,s[u]=f+`FullYear`,s[a]=f+`Hours`,s[i]=f+`Minutes`,s[r]=f+`Seconds`,s[n]=f+`Milliseconds`,s)[l],m=l===o?this.$D+(t-this.$W):t;if(l===c||l===u){var h=this.clone().set(d,1);h.$d[p](m),h.init(),this.$d=h.set(d,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[w.p(e)]()},g.add=function(n,l){var d,f=this;n=Number(n);var p=w.p(l),m=function(e){var t=C(f);return w.w(t.date(t.da Line truncated
\0`,M+=r(k,2),M+=m.magic,M+=r(d,2),M+=r(f,2),M+=r(O.crc32,4),M+=r(O.compressedSize,4),M+=r(O.uncompressedSize,4),M+=r(g.length,2),M+=r(C.length,2),{fileRecord:l.LOCAL_FILE_HEADER+M+g+C,dirRecord:l.CENTRAL_FILE_HEADER+r(j,2)+M+r(y.length,2)+`\0\0\0\0`+r(A,4)+r(i,4)+g+C+y}}var a=e(`../utils`),o=e(`../stream/GenericWorker`),s=e(`../utf8`),c=e(`../crc32`),l=e(`../signature`);function u(e,t,n,r){o.call(this,`ZipFileWorker`),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=function(e,t,n,i,o){var s=a.transformTo(`string`,o(i));return l.CENTRAL_DIRECTORY_END+`\0\0\0\0`+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on(`data`,(function(e){t.processChunk(e)})),e.on(`end`,(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on(`error`,(function(e){t.error(e)})),this},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var r=e(`../compressions`),i=e(`./ZipFileWorker`);n.generateWorker=function(e,t,n){var a=new i(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach((function(e,n){o++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw Error(n+` is not a valid compression method !`);return i}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(i,s).withStreamInfo(`file`,{name:e,dir:c,date:l,comment:n.comment||``,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(a)})),a.entriesCount=o}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw Error(`The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.`);this.files=Object.create(null),this.comment=null,this.root=``,this.clone=function(){var e=new r;for(var t in this)typeof this[t]!=`function`&&(e[t]=this[t]);return e}}(r.prototype=e(`./object`)).loadAsync=e(`./load`),r.support=e(`./support`),r.defaults=e(`./defaults`),r.version=`3.10.1`,r.loadAsync=function(e,t){return new r().loadAsync(e,t)},r.external=e(`./external`),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var r=e(`./utils`),i=e(`./external`),a=e(`./utf8`),o=e(`./zipEntries`),s=e(`./stream/Crc32Probe`),c=e(`./nodejsUtils`);function l(e){return new i.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on(`error`,(function(e){n(e)})).on(`end`,(function(){r.streamInfo.crc32===e.decompressed.crc32?t():n(Error(`Corrupted zip : CRC32 mismatch`))})).resume()}))}t.exports=function(e,t){var n=this Line truncated
Use Chrome, Firefox or Internet Explorer 11`)}}).call(this)}).call(this,e(`_process`),typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{_process:467,"safe-buffer":494}],476:[function(e,t,n){(function(t,r){(function(){function i(){throw Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var a=e(`safe-buffer`),o=e(`randombytes`),s=a.Buffer,c=a.kMaxLength,l=r.crypto||r.msCrypto,u=2**32-1;function d(e,t){if(typeof e!=`number`||e!=e)throw TypeError(`offset must be a number`);if(e>u||e<0)throw TypeError(`offset must be a uint32`);if(e>c||e>t)throw RangeError(`offset out of range`)}function f(e,t,n){if(typeof e!=`number`||e!=e)throw TypeError(`size must be a number`);if(e>u||e<0)throw TypeError(`size must be a uint32`);if(e+t>n||e>c)throw RangeError(`buffer too small`)}function p(e,n,r,i){if(t.browser){var a=e.buffer,s=new Uint8Array(a,n,r);return l.getRandomValues(s),i?void t.nextTick((function(){i(null,e)})):e}if(!i)return o(r).copy(e,n),e;o(r,(function(t,r){if(t)return i(t);r.copy(e,n),i(null,e)}))}l&&l.getRandomValues||!t.browser?(n.randomFill=function(e,t,n,i){if(!(s.isBuffer(e)||e instanceof r.Uint8Array))throw TypeError(`"buf" argument must be a Buffer or Uint8Array`);if(typeof t==`function`)i=t,t=0,n=e.length;else if(typeof n==`function`)i=n,n=e.length-t;else if(typeof i!=`function`)throw TypeError(`"cb" argument must be a function`);return d(t,e.length),f(n,t,e.length),p(e,t,n,i)},n.randomFillSync=function(e,t,n){if(t===void 0&&(t=0),!(s.isBuffer(e)||e instanceof r.Uint8Array))throw TypeError(`"buf" argument must be a Buffer or Uint8Array`);return d(t,e.length),n===void 0&&(n=e.length-t),f(n,t,e.length),p(e,t,n)}):(n.randomFill=i,n.randomFillSync=i)}).call(this)}).call(this,e(`_process`),typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(e,t,n){var r={};function i(e,t,n){n||=Error;var i=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return typeof t==`string`?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function a(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?`one of ${t} ${e.slice(0,n-1).join(`, `)}, or `+e[n-1]:n===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}i(`ERR_INVALID_OPT_VALUE`,(function(e,t){return`The value "`+t+`" is invalid for option "`+e+`"`}),TypeError),i(`ERR_INVALID_ARG_TYPE`,(function(e,t,n){var r,i,o,s;return typeof t==`string`&&(i=`not `,t.substr(!o||o<0?0:+o,i.length)===i)?(r=`must not be`,t=t.replace(/^not /,``)):r=`must be`,s=function(e,t,n){return(n===void 0||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e,` argument`)?`The ${e} ${r} ${a(t,`type`)}`:`The "${e}" ${function(e,t,n){return typeof n!=`number`&&(n=0),!(n+t.length>e.length)&&e.indexOf(t,n)!==-1}(e,`.`)?`property`:`argument`} ${r} ${a(t,`type`)}`,s+=`. Received type ${typeof n}`}),TypeError),i(`ERR_STREAM_PUSH_AFTER_EOF`,`stream.push() after EOF`),i(`ERR_METHOD_NOT_IMPLEMENTED`,(function(e){return`The `+e+` method is not implemented`})),i(`ERR_STREAM_PREMATURE_CLOSE`,`Premature close`),i(`ERR_STREAM_DESTROYED`,(function(e){return`Cannot call `+e+` after a stream was destroyed`})),i(`ERR_MULTIPLE_CALLBACK`,`Callback called multiple times`),i(`ERR_STREAM_CANNOT_PIPE`,`Cannot pipe, not readable`),i(`ERR_STREAM_WRITE_AFTER_END`,`write after end`),i(`ERR_STREAM_NULL_VALUES`,`May not write null values to stream`,TypeError),i(`ERR_UNKNOWN_ENCODING`,(function(e){return`Unknown encoding: `+e}),TypeError),i(`ERR_STREAM_UNSHIFT_AFTER_END_EVENT`,`stream.unshift() after end event`),t.exports.codes=r},{}],478:[function(e,t,n){(function(n){(function(){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=l;var i=e(`./_stream_readable`),a=e(`./_stream_writable`);e(`inherits`)(l,i);for(var o=r(a.prototype),s=0;s<o.length;s++){var c=o[s];l.prototype[c]||(l.prototype[c]=a.prototype[c])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once(`end`,u)))}function u(){this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(l.prototype,`writableHighWaterMark`,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,`writableBuffer`,{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,`writableLength`,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,`destroyed`,{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e(`_process`))},{"./_stream_readable":480,"./_stre Line truncated
`,t=this.i)}}captureToChar(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode();switch(r){case-2:this.text+=n.slice(t,this.prevI)+`
`,t=this.i,r=10;break;case-1:return this.text+=n.slice(t),!1}if(r===e)return this.text+=n.slice(t,this.prevI),!0}}captureNameChars(){let{chunk:e,i:t}=this;for(;;){let n=this.getCode();if(n===-1)return this.name+=e.slice(t),-1;if(!l(n))return this.name+=e.slice(t,this.prevI),n===-2?10:n}}skipSpaces(){for(;;){let e=this.getCodeNorm();if(e===-1||!o(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,e===`1.0`?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=f,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){let e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case 60:if(this.state=15,this.text.length!==0)throw Error(`no-empty text at start`);break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var e;let t=this.captureTo(S);switch(t){case 62:(e=this.doctypeHandler)==null||e.call(this,this.text),this.text=``,this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(t),t===91?this.state=4:b(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){let e=this.captureTo(C);e!==-1&&(this.text+=String.fromCodePoint(e),e===93?this.state=2:e===60?this.state=6:b(e)&&(this.state=5,this.q=e))}sDTDQuoted(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){let e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang=``;break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){let e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,t!==`-`&&(this.state=t===`--`?8:4,this.openWakaBang=``)}sDTDComment(){this.captureToChar(45)&&(this.text+=`-`,this.state=9)}sDTDCommentEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=e===45?10:8}sDTDCommentEnded(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===62?this.state=4:(this.fail(`malformed comment.`),this.state=8)}sDTDPI(){this.captureToChar(63)&&(this.text+=`?`,this.state=12)}sDTDPIEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===62&&(this.state=4)}sText(){this.tags.length===0?this.handleTextOutsideRoot():this.handleTextInRoot()}sEntity(){let{i:e}=this,{chunk:t}=this;e:for(;;)switch(this.getCode()){case-2:this.entity+=t.slice(e,this.prevI)+`
`,e=this.i;break;case 59:{let{entityReturnState:n}=this,r=this.entity+t.slice(e,this.prevI),i;this.state=n,r===``?(this.fail(`empty entity name.`),i=`&;`):(i=this.parseEntity(r),this.entity=``),n===13&&this.textHandler===void 0||(this.text+=i);break e}case-1:this.entity+=t.slice(e);break e}}sOpenWaka(){let e=this.getCode();if(c(e))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang=``,this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail(`disallowed character in tag name`),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case`[CDATA[`:this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang=``;break;case`--`:this.state=17,this.openWakaBang=``;break;case`DOCTYPE`:this.state=2,(this.doctype||this.sawRoot)&&this.fail(`inappropriately located doctype declaration.`),this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&this.fail(`incorrect syntax.`)}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var e;let t=this.getCodeNorm();t===45?(this.state=19,(e=this.commentHandler)==null||e.call(this,this.text),this.text=``):(this.text+=`-`+String.fromCodePoint(t),this.state=17)}sCommentEnded(){let e=this.getCodeNorm();e===62?this.state=13:(this.fail(`malformed comment.`),this.text+=`--`+String.fromCodePoint(e),this.state=17)}sCData(){this.captureToChar(93)&&(this.state=21)}sCDataEnding(){let e=this.getCodeNorm();e===93?this.state=22:(this.text+=`]`+String.fromCodePoint(e),this.state=20)}sCDataEnding2(){var e;let t=this.getCodeNorm();switch(t){case 62:(e=this.cdataHandler)==null||e.call(this,this.text),this.text=``,this.state=13;break;case 93:this.text+=`]`;break;default:this.text+=`]]`+String.fromCodePoint(t),this.state=20}}sPIFirstChar(){let e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===63||o(e)?(this.fail(`processing instruction without a target.`),this.state=e===63?26:25):(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){let{chunk:e,i:t}=this;for(;;){let n=this.getCodeNorm();if(n===-1)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(n)){this.piTarget+=e.slice(t,this.prevI);let r=n===63;r||o(n)?this.piTarget===`xml`?(this.xmlDeclPossible||this.fail(`an XML declaration must be at the start of the document.`),this.state=r?33:27):this.state=r?26:25:(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(n));break}}}sPIBody(){if(this.text.length===0){let e=this.getCodeNorm();e===63?this.state=26:o(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(63)&&(this.state=26)}sPIEnding(){var e;let t=this.getCodeNorm();if(t===62){let{piTarget:t}=this;t.toLowerCase()===`xml`&&this.fail(`the XML declaration must appear at the start of the document.`),(e=this.piHandler)==null||e.call(this,{target:t,body:this.text}),this.piTarget=this.text=``,this.state=13}else t===63?this.text+=`?`:(this.text+=`?`+String.fromCodePoint(t),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){let e=this.skipSpaces();e===63?this.state=33:e!==-1&&(this.state=28,this.name=String.fromCodePoint(e))}sXMLDeclName(){let e=this.captureTo(w);if(e===63)return this.state=33,this.name+=this.text,this.text=``,void this.fail(`XML declaration is incomplete.`);if(o(e)||e===61){if(this.name+=this.text,this.text=``,!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail(`did not expect any more name/value pairs.`);break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of `+this.xmlDeclExpects.join(`, `))}this.state=e===61?30:29}}sXMLDeclEq(){let e=this.getCodeNorm();if(e===63)return this.state=33,void this.fail(`XML declaration is incomplete.`);o(e)||(e!==61&&this.fail(`value required.`),this.state=30)}sXMLDeclValueStart(){let e=this.getCodeNorm();if(e===63)return this.state=33,void this.fail(`XML declaration is incomplete.`);o(e)||(b(e)?this.q=e:(this.fail(`value must be quoted.`),this.q=32),this.state=31)}sXMLDeclValue(){let e=this.captureTo([this.q,63]);if(e===63)return this.state=33,this.text=``,void this.fail(`XML declaration is incomplete.`);if(e===-1)return;let t=this.text;switch(this.text=``,this.name){case`version`:{this.xmlDeclExpects=[`encoding`,`standalone`];let e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail(`version number must match /^1\\.[0-9]+$/.`);break}case`encoding`:/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail(`encoding value must match /^[A-ZLine truncated
`),e=this.i,t=0;break;case-1:r!==void 0&&(this.text+=n.slice(e));break e;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this,{chunk:t,textHandler:n}=this,r=!1;e:for(;;){let i=this.getCode();switch(i){case 60:if(this.state=15,n!==void 0){let{text:r}=this,i=t.slice(e,this.prevI);r.length===0?i.length!==0&&n(i):(n(r+i),this.text=``)}break e;case 38:this.state=14,this.entityReturnState=13,n!==void 0&&(this.text+=t.slice(e,this.prevI)),r=!0;break e;case-2:n!==void 0&&(this.text+=t.slice(e,this.prevI)+`
`),e=this.i;break;case-1:n!==void 0&&(this.text+=t.slice(e));break e;default:o(i)||(r=!0)}}r&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){var n;let{prefix:r,local:i}=this.qname(e),a={name:e,prefix:r,local:i,value:t};if(this.attribList.push(a),(n=this.attributeHandler)==null||n.call(this,a),r===`xmlns`){let e=t.trim();this.currentXMLVersion===`1.0`&&e===``&&this.fail(`invalid attempt to undefine prefix in XML 1.0`),this.topNS[i]=e,E(this,i,e)}else if(e===`xmlns`){let e=t.trim();this.topNS[``]=e,E(this,``,e)}}pushAttribPlain(e,t){var n;let r={name:e,value:t};this.attribList.push(r),(n=this.attributeHandler)==null||n.call(this,r)}end(){var e,t;this.sawRoot||this.fail(`document must contain a root element.`);let{tags:n}=this;for(;n.length>0;){let e=n.pop();this.fail(`unclosed tag: `+e.name)}this.state!==0&&this.state!==13&&this.fail(`unexpected end.`);let{text:r}=this;return r.length!==0&&((e=this.textHandler)==null||e.call(this,r),this.text=``),this._closed=!0,(t=this.endHandler)==null||t.call(this),this._init(),this}resolve(e){var t;let n=this.topNS[e];if(n!==void 0)return n;let{tags:r}=this;for(let t=r.length-1;t>=0;t--)if(n=r[t].ns[e],n!==void 0)return n;return n=this.ns[e],n===void 0?(t=this.opt).resolvePrefix?.call(t,e):n}qname(e){let t=e.indexOf(`:`);if(t===-1)return{prefix:``,local:e};let n=e.slice(t+1),r=e.slice(0,t);return(r===``||n===``||n.includes(`:`))&&this.fail(`malformed name: ${e}.`),{prefix:r,local:n}}processAttribsNS(){let{attribList:e}=this,t=this.tag;{let{prefix:e,local:n}=this.qname(t.name);t.prefix=e,t.local=n;let r=t.uri=this.resolve(e)??``;e!==``&&(e===`xmlns`&&this.fail(`tags may not have "xmlns" as prefix.`),r===``&&(this.fail(`unbound namespace prefix: ${JSON.stringify(e)}.`),t.uri=e))}if(e.length===0)return;let{attributes:n}=t,r=new Set;for(let t of e){let{name:e,prefix:i,local:a}=t,o,s;i===``?(o=e===`xmlns`?_:``,s=e):(o=this.resolve(i),o===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(i)}.`),o=i),s=`{${o}}${a}`),r.has(s)&&this.fail(`duplicate attribute: ${s}.`),r.add(s),t.uri=o,n[e]=t}this.attribList=[]}processAttribsPlain(){let{attribList:e}=this,t=this.tag.attributes;for(let{name:n,value:r}of e)t[n]!==void 0&&this.fail(`duplicate attribute: ${n}.`),t[n]=r;this.attribList=[]}openTag(){var e;this.processAttribs();let{tags:t}=this,n=this.tag;n.isSelfClosing=!1,(e=this.openTagHandler)==null||e.call(this,n),t.push(n),this.state=13,this.name=``}openSelfClosingTag(){var e,t;this.processAttribs();let{tags:n}=this,r=this.tag;r.isSelfClosing=!0,(e=this.openTagHandler)==null||e.call(this,r),(t=this.closeTagHandler)==null||t.call(this,r),(this.tag=n[n.length-1]??null)===null&&(this.closedRoot=!0),this.state=13,this.name=``}closeTag(){let{tags:e,name:t}=this;if(this.state=13,this.name=``,t===``)return this.fail(`weird empty close tag.`),void(this.text+=`</>`);let n=this.closeTagHandler,r=e.length;for(;r-- >0;){let r=this.tag=e.pop();if(this.topNS=r.ns,n?.(r),r.name===t)break;this.fail(`unexpected close tag.`)}r===0?this.closedRoot=!0:r<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if(e[0]!==`#`){let t=this.ENTITIES[e];return t===void 0?(this.fail(this.isName(e)?`undefined entity.`:`disallowed character in entity name.`),`&${e};`):t}let t=NaN;return e[1]===`x`&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail(`malformed character entity.`),`&${e};`)}}},{"xmlchars/xml/1.0/ed5":543,"xmlchars/xml/1.1/ed2":544,"xmlchars/xmlns/1.0/ed3":545}],497:[function(e,t,n){var r=e(`safe-buffer`).Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){typeof e==`string`&&(t||=`utf8`,e=r.from(e,t));for(var n=this._block,i=this._blockSize,a=e.length,o=this._len,s=0;s<a;){for(var c=o%i,l=Math.min(a-s,i-c),u=0;u<l;u++)n[c+u]=e[s+u];s+=l,(o+=l)%i==0&&this._update(n)}return this._len+=a,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},i.prototype._update=function(){throw Error(`_update must be implemented by subclass`)},t.exports=i},{"safe-buffer":494}],498:[function(e,t,n){var r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw Error(e+` is not supported (we accept pull requests)`);return new t};r.sha=e(`./sha`),r.sha1=e(`./sha1`),r.sha224=e(`./Line truncated
`),e+t.replace(/\u001b\[\d\d?m/g,``).length+1}),0)>60?n[0]+(t===``?``:t+`
`)+` `+e.join(`,
`)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}(l,b,T)):T[0]+b+T[1]}function d(e){return`[`+Error.prototype.toString.call(e)+`]`}function f(e,t,n,r,i,a){var o,s,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=c.set?e.stylize(`[Getter/Setter]`,`special`):e.stylize(`[Getter]`,`special`):c.set&&(s=e.stylize(`[Setter]`,`special`)),O(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=h(n)?u(e,c.value,null):u(e,c.value,n-1)).indexOf(`
`)>-1&&(s=a?s.split(`
`).map((function(e){return` `+e})).join(`
`).substr(2):`
`+s.split(`
`).map((function(e){return` `+e})).join(`
`)):s=e.stylize(`[Circular]`,`special`)),v(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(``+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,`name`)):(o=o.replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`),o=e.stylize(o,`string`))}return o+`: `+s}function p(e){return Array.isArray(e)}function m(e){return typeof e==`boolean`}function h(e){return e===null}function g(e){return typeof e==`number`}function _(e){return typeof e==`string`}function v(e){return e===void 0}function y(e){return b(e)&&w(e)===`[object RegExp]`}function b(e){return typeof e==`object`&&!!e}function x(e){return b(e)&&w(e)===`[object Date]`}function S(e){return b(e)&&(w(e)===`[object Error]`||e instanceof Error)}function C(e){return typeof e==`function`}function w(e){return Object.prototype.toString.call(e)}function T(e){return e<10?`0`+e.toString(10):e.toString(10)}n.debuglog=function(e){if(v(a)&&(a=t.env.NODE_DEBUG||``),e=e.toUpperCase(),!o[e])if(RegExp(`\\b`+e+`\\b`,`i`).test(a)){var r=t.pid;o[e]=function(){var t=n.format.apply(n,arguments);console.error(`%s %d: %s`,e,r,t)}}else o[e]=function(){};return o[e]},n.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`},n.isArray=p,n.isBoolean=m,n.isNull=h,n.isNullOrUndefined=function(e){return e==null},n.isNumber=g,n.isString=_,n.isSymbol=function(e){return typeof e==`symbol`},n.isUndefined=v,n.isRegExp=y,n.isObject=b,n.isDate=x,n.isError=S,n.isFunction=C,n.isPrimitive=function(e){return e===null||typeof e==`boolean`||typeof e==`number`||typeof e==`string`||typeof e==`symbol`||e===void 0},n.isBuffer=e(`./support/isBuffer`);var E=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function D(){var e=new Date,t=[T(e.getHours()),T(e.getMinutes()),T(e.getSeconds())].join(`:`);return[e.getDate(),E[e.getMonth()],t].join(` `)}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.log=function(){console.log(`%s - %s`,D(),n.format.apply(n,arguments))},n.inherits=e(`inherits`),n._extend=function(e,t){if(!t||!b(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this)}).call(this,e(`_process`),typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{"./support/isBuffer":526,_process:467,inherits:525}],528:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),Object.defineProperty(n,`v1`,{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,`v3`,{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(n,`v4`,{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,`v5`,{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,`NIL`,{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(n,`version`,{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(n,`validate`,{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(n,`stringify`,{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(n,`parse`,{enumerable:!0,get:function(){return d.default}});var r=f(e(`./v1.js`)),i=f(e(`./v3.js`)),a=f(e(`./v4.js`)),o=f(e(`./v5.js`)),s=f(e(`./nil.js`)),c=f(e(`./version.js`)),l=f(e(`./validate.js`)),u=f(e(`./stringify.js`)),d=f(e(`./parse.js`));function f(e){return e&&e.__esModule?e:{default:e}}},{"./nil.js":530,"./parse.js":531,"./stringify.js":535,"./v1.js":536,"./v3.js":537,"./v4.js":539,"./v5.js":540,"./validate.js":541,"./version.js":542}],529:[function(e,t,n){function r(e){return 14+(e+64>>>9<<4)+1}function i(e,t){let n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t,n,r,a,o){return i((s=i(i(t,e),i(r,o)))<<(c=a)|s>>>32-c,n);var s,c}function o(e,t,n,r,i,o,s){return a(t&n|~t&r,e,t,i,o,s)}function s(e,t,n,r,i,o,s){return a(t&r|n&~r,e,t,i,o,s)}function c(e,t,n,r,i,o,s){return a(t^n^r,e,t,i,o,s)}function l(e,t,n,r,i,o,s){return a(n^(t|~r),e,t,i,o,s)}Object.defineProperty(n,`__esModule`,{value:!0}),n.default=void 0,n.default=function(e){if(typeof e==`string`){let t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){let t=[],n=32*e.length;for(let r=0;r<n;r+=8){let n=e[r>>5]>>>r%32&255,i=parseInt(`0123456789abcdef`.charAt(n>>>4&15)+`0123456789abcdef`.charAt(15&n),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[r(t)-1]=t;let n=1732584193,a=-271733879,u=-1732584194,d=271733878;for(let t=0;t<e.length;t+=16){let r=n,f=a,p=u,m=d;n=o(n,a,u,d,e[t],7,-680876936),d=o(d,n,a,u,e[t+1],12,-389564586),u=o(u,d,n,a,e[t+2],17,606105819),a=o(a,u,d,n,e[t+3],22,-1044525330),n=o(n,a,u,d,e[t+4],7,-176418897),d=o(d,n,a,u,e[t+5],12,1200080426),u=o(u,d,n,a,e[t+6],17,-147323 Line truncated
\r -퟿-�𐀀-􏿿`,n.S=` \r
`,n.NAME_START_CHAR=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,n.NAME_CHAR=`-`+n.NAME_START_CHAR+`.0-9·̀-ͯ‿-⁀`,n.CHAR_RE=RegExp(`^[`+n.CHAR+`]$`,`u`),n.S_RE=RegExp(`^[`+n.S+`]+$`,`u`),n.NAME_START_CHAR_RE=RegExp(`^[`+n.NAME_START_CHAR+`]$`,`u`),n.NAME_CHAR_RE=RegExp(`^[`+n.NAME_CHAR+`]$`,`u`),n.NAME_RE=RegExp(`^[`+n.NAME_START_CHAR+`][`+n.NAME_CHAR+`]*$`,`u`),n.NMTOKEN_RE=RegExp(`^[`+n.NAME_CHAR+`]+$`,`u`);function r(e){return e>=65&&e<=90||e>=97&&e<=122||e===58||e===95||e===8204||e===8205||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}n.S_LIST=[32,10,13,9],n.isChar=function(e){return e>=32&&e<=55295||e===10||e===13||e===9||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isS=function(e){return e===32||e===10||e===13||e===9},n.isNameStartChar=r,n.isNameChar=function(e){return r(e)||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256}},{}],544:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.CHAR=`-퟿-�𐀀-􏿿`,n.RESTRICTED_CHAR=`-\b\v\f--„†-Ÿ`,n.S=` \r
`,n.NAME_START_CHAR=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,n.NAME_CHAR=`-`+n.NAME_START_CHAR+`.0-9·̀-ͯ‿-⁀`,n.CHAR_RE=RegExp(`^[`+n.CHAR+`]$`,`u`),n.RESTRICTED_CHAR_RE=RegExp(`^[`+n.RESTRICTED_CHAR+`]$`,`u`),n.S_RE=RegExp(`^[`+n.S+`]+$`,`u`),n.NAME_START_CHAR_RE=RegExp(`^[`+n.NAME_START_CHAR+`]$`,`u`),n.NAME_CHAR_RE=RegExp(`^[`+n.NAME_CHAR+`]$`,`u`),n.NAME_RE=RegExp(`^[`+n.NAME_START_CHAR+`][`+n.NAME_CHAR+`]*$`,`u`),n.NMTOKEN_RE=RegExp(`^[`+n.NAME_CHAR+`]+$`,`u`);function r(e){return e>=65&&e<=90||e>=97&&e<=122||e===58||e===95||e===8204||e===8205||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}n.S_LIST=[32,10,13,9],n.isChar=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isRestrictedChar=function(e){return e>=1&&e<=8||e===11||e===12||e>=14&&e<=31||e>=127&&e<=132||e>=134&&e<=159},n.isCharAndNotRestricted=function(e){return e===9||e===10||e===13||e>31&&e<127||e===133||e>159&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isS=function(e){return e===32||e===10||e===13||e===9},n.isNameStartChar=r,n.isNameChar=function(e){return r(e)||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256}},{}],545:[function(e,t,n){function r(e){return e>=65&&e<=90||e===95||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(n,`__esModule`,{value:!0}),n.NC_NAME_START_CHAR=`A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,n.NC_NAME_CHAR=`-`+n.NC_NAME_START_CHAR+`.0-9·̀-ͯ‿-⁀`,n.NC_NAME_START_CHAR_RE=RegExp(`^[`+n.NC_NAME_START_CHAR+`]$`,`u`),n.NC_NAME_CHAR_RE=RegExp(`^[`+n.NC_NAME_CHAR+`]$`,`u`),n.NC_NAME_RE=RegExp(`^[`+n.NC_NAME_START_CHAR+`][`+n.NC_NAME_CHAR+`]*$`,`u`),n.isNCNameStartChar=r,n.isNCNameChar=function(e){return r(e)||e===45||e===46||e>=48&&e<=57||e===183||e>=768&&e<=879||e>=8255&&e<=8256}},{}]},{},[15])(15)}))}))();var d=(e,t=2)=>o(e,t),f=()=>String(r?.global?.locale?.value||``).trim()||(typeof window>`u`?n:String(localStorage.getItem(`jgjs-locale-v1`)||``).trim()||(String(navigator.language||``).toLowerCase().startsWith(`en`)?`en-US`:n));const p=[{id:`0`,name:`公路工程`,nameEn:`Highway Engineering`,type:`isRoad`},{id:`1`,name:`铁路工程`,nameEn:`Railway Engineering`,type:`isRailway`},{id:`2`,name:`水运工程`,nameEn:`Waterway Engineering`,type:`isWaterway`}],m={pinnedTotalLabel:`C0 建设项目总费用`,feePhaseOptions:[`估算价`,`概算价`,`预算价`,`招标控制价`,`投标报价`,`合同签订价`,`合同结算价`,`决算价`],feeStageOptions:[`编制`,`送审`,`审定`,`批复`,`其他`]},h=(e,t=`zh-CN`)=>{let n=String(e||``).trim(),r=p.find(e=>String(e.id)===n);return r?String(t||``).toLowerCase().startsWith(`en`)&&r.nameEn||r.name:``};var g=(e,t)=>{Object.values(e).forEach(e=>{if(!e||typeof e!=`object`)return;let n=String(e.code||``).trim();if(!n)return;let r=t[n];r&&typeof r==`string`&&(e.nameEn=r)})},_=()=>f(),v=e=>String(e||``).toLowerCase().startsWith(`en`),y=e=>v(_())?{...e,name:e.nameEn||e.name,quickLabel:e.quickLabelEn||e.nameEn||e.quickLabel||e.name,basicParam:e.basicParamEn||e.basicParam,unit:e.unitEn||e.unit,desc:e.descEn||e.desc}:e;const b={0:{code:`1`,name:`房屋建筑、装配式工程`,hideInIndustrySelector:!1,maxCoe:null,minCoe:null,defCoe:1,desc:`系统自动计算,计算公式C0=C1+...+C5`,isRoad:!0,isRailway:!0,isWaterway:!0,order:1,hasCost:!1,hasArea:!1},1:{code:`2`,name:`单独发包的装饰工程`,hideInIndustrySelector:!1,maxCoe:null,minCoe:null,defCoe:1.3,desc:`系统自动计算,计算公式C1=(C1-1)+...(C1-3)`,isRoad:!0,isRailway:!0,isWaterway:!0,order:2,hasCost:!1,hasArea:!1},2:{code:`3`,name:`单独发包的安装工程`,maxCoe:null,minCoe:null,defCoe:1.3,desc:`非必填,手动录入,数字,4位`,isRoad:!0,isRailway:!0,isWaterway:!0,order:3,hasCost:!0,hasArea:!1},3:{code:`4`,name:`园林景观工程`,maxCoe:null,minCoe:null,defCoe:1.2,desc:`非必填,手动录入,数字,4位`,isRoad:!0,isRailway:!0,isWaterway:!0,order:4,hasCost:!0,hasArea:!1},4:{code:`5`,name:`单独发包的土石方工程`,maxCoe:null,minCoe:null,defCoe:.7,desc:`非必填,手动录入,数字,4位`,isRoad:!0,isRailway:!0,isWaterway:!0,order:5,hasCost:!0,hasArea:!1},5:{code:`6`,name:`仿古建筑、古建筑保护修复、抗震加固工程`,maxCoe:null,minCoe:null,defCoe:2,desc:`非必填,手动录入,数字,4位`,isRoad:!0,isRailway:!0,isWaterway:!0,order:6,hasCost:!0,hasArea:!1},6:{code:`7`,name:`维修改造工程`,hideInIndustrySelector:!1,maxCoe:null,minCoe:null,defCoe:1.5,desc:`系统自动计算,计算公式C2=(C2-1)+...(C2-11)`,isRoad:!0,isRailway:!0,isWaterway: Line truncated
-9
View File
@@ -1,9 +0,0 @@
import{$ as e,At as t,Bt as n,Cr as r,E as i,Er as a,Et as o,G as s,H as c,Ht as l,In as u,K as d,Kt as f,M as p,N as m,Pt as h,Q as g,Rt as _,U as v,V as y,W as b,Wn as x,Xt as S,an as C,bt as ee,er as w,ft as te,hn as ne,jt as re,k as ie,lt as ae,mn as oe,n as se,qt as ce,t as le,tt as ue,xr as de,yn as T,zt as fe}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{D as pe,v as me}from"./workspace-DxKKyh8w.js";import{Ct as he,Ot as ge,St as _e,T as ve,_t as ye,bt as be,kt as xe,vt as Se,w as Ce,wt as we,x as Te,xt as Ee,yt as De}from"./vendor-ui-B4V4Cf1T.js";import{t as Oe}from"./_plugin-vue_export-helper-DUFB50Ey.js";import{S as ke,k as Ae,x as je}from"./index-CAPJG_im.js";var Me=``+new URL(`../../logo.jpg`,import.meta.url).href;function E(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=ee(r,t);if(n===void 0)throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`);return n},e=>(l(r,e),e),r]}function Ne(e,t){let{layoutGroup:n,presenceContext:r,config:i}=t,a=n.id&&e.layoutId?`${n.id}-${e.layoutId}`:e.layoutId||void 0;return{...e,layoutId:a,transition:e.transition??i.transition,layoutGroup:n,motionConfig:i,inViewOptions:e.inViewOptions??i.inViewOptions,presenceContext:r,initial:r.initial===!1?r.initial:e.initial===!0?void 0:e.initial}}function Pe(e,t){e.indexOf(t)===-1&&e.push(t)}function Fe(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var D=(e,t,n)=>n>t?t:n<e?e:n,O={},Ie=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Le(e){return typeof e==`object`&&!!e}var Re=e=>/^0[^.\s]+$/u.test(e);function k(e){let t;return()=>(t===void 0&&(t=e()),t)}var A=e=>e,ze=(e,t)=>n=>t(e(n)),Be=(...e)=>e.reduce(ze),Ve=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},He=class{constructor(){this.subscriptions=[]}add(e){return Pe(this.subscriptions,e),()=>Fe(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},j=e=>e*1e3,M=e=>e/1e3;function Ue(e,t){return t?1e3/t*e:0}var We=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e},Ge=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Ke=1e-7,qe=12;function Je(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Ge(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Ke&&++s<qe);return o}function Ye(e,t,n,r){if(e===t&&n===r)return A;let i=t=>Je(t,0,1,e,n);return e=>e===0||e===1?e:Ge(i(e),t,r)}var Xe=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ze=e=>t=>1-e(1-t),Qe=Ye(.33,1.53,.69,.99),$e=Ze(Qe),et=Xe($e),tt=e=>(e*=2)<1?.5*$e(e):.5*(2-2**(-10*(e-1))),nt=e=>1-Math.sin(Math.acos(e)),rt=Ze(nt),it=Xe(nt),at=Ye(.42,0,1,1),ot=Ye(0,0,.58,1),st=Ye(.42,0,.58,1),ct=e=>Array.isArray(e)&&typeof e[0]!=`number`;function lt(e,t){return ct(e)?e[We(0,e.length,t)]:e}var ut=e=>Array.isArray(e)&&typeof e[0]==`number`,dt={linear:A,easeIn:at,easeInOut:st,easeOut:ot,circIn:nt,circInOut:it,circOut:rt,backIn:$e,backInOut:et,backOut:Qe,anticipate:tt},ft=e=>typeof e==`string`,pt=e=>{if(ut(e)){e.length;let[t,n,r,i]=e;return Ye(t,n,r,i)}else if(ft(e))return dt[e],`${e}`,dt[e];return e},mt=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],N={value:null,addProjectionMetrics:null};function ht(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.has(e)||s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0,[n,r]=[r,n],n.forEach(l),t&&N.value&&N.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var gt=40;function _t(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=mt.reduce((e,n)=>(e[n]=ht(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=O.useManualTiming?i.timestamp:performance.now();n=!1,O.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(a-i.timestamp,gt),1)),i.timestamp=a,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:mt.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<mt.length;t++)o[mt[t]].cancel(e)},state:i,steps:o}}var{schedule:P,cancel:F,state:I,steps:vt}=_t(typeof requestAnimationFrame<`u`?requestAnimationFrame:A,!0),yt;function bt(){yt=void 0}var L={now:()=>(yt===void 0&&L.set(I.isProcessing||O.useManualTiming?I.timestamp:performance.now()),yt),set:e=>{yt=e,queueMicrotask(bt)}},xt={layout:0,mainThread:0,waapi:0},St=e=>t=>typeof t==`string`&&t.startsWith(Line truncated
[data-motion-pop-id="${c}"] {
position: absolute !important;
width: ${o.width}px !important;
height: ${o.height}px !important;
top: ${o.top}px !important;
${s} !important;
}
`)}function i(e){let n=t.get(e);n&&(t.delete(e),P.render(()=>{document.head.removeChild(n)}))}return{addPopStyle:r,removePopStyle:i}}var Gu=0;function Ku(e){let t=String(Gu++),n=new Map,{addPopStyle:r,removePopStyle:i}=Wu(e);function a(e){let n=[],r=pl.get(e);r&&e.getAttribute(il.motionAttribute)===t&&n.push(r);let i=Array.from(e.querySelectorAll(`[${il.motionAttribute}="${t}"]`));for(let e of i){let t=pl.get(e);t&&n.push(t)}return n}function o(e,t){let r=n.get(e);r&&(r.remaining.delete(t),r.remaining.size===0&&c(r))}let s={initial:e.initial,custom:e.custom,presenceId:t,onMotionExitComplete:o};oe(()=>e.custom,e=>{s.custom=e},{flush:`pre`}),Eu(s),h(()=>{s.initial=void 0});function c(t){i(t.el),t.states.forEach(e=>{e.getSnapshot(e.options,!1)}),t.done(),n.delete(t.el),t.el?.isConnected?t.states[0]?.didUpdate():t.states.forEach(e=>{e.unmount()}),e.onExitComplete?.()}function l(e,t){a(e).forEach(e=>{e.setActive(`exit`,!1),e.getSnapshot(e.options,!0)}),t()}function u(t,i){let o=t,s=a(o);if(s.length===0){i(),e.onExitComplete?.();return}let c={remaining:new Set(s),states:s,done:i,el:o};n.set(o,c),r(o),s.forEach(e=>{e.presenceContainer=o,e.setActive(`exit`,!0),e.getSnapshot(e.options,!1)}),s[0]?.didUpdate()}return _(()=>{n.forEach(e=>{e.states.forEach(e=>{e.unmount()})}),n.clear()}),{enter:l,exit:u}}var qu=ue({name:`AnimatePresence`,inheritAttrs:!0,__name:`AnimatePresence`,props:{mode:{default:`sync`},initial:{type:Boolean,default:!0},as:{},custom:{},onExitComplete:{},anchorX:{default:`left`}},setup(e){let t=e,{enter:r,exit:i}=Ku(t),a=c(()=>t.mode===`wait`?{mode:t.mode===`wait`?`out-in`:void 0}:{tag:t.as});return(e,t)=>(n(),b(S(e.mode===`wait`?le:se),o(a.value,{appear:``,css:!1,onLeave:w(i),onEnter:w(r)}),{default:T(()=>[ce(e.$slots,`default`)]),_:3},16,[`onLeave`,`onEnter`]))}});function Ju(e){let t=K(e()),n=()=>t.set(e()),r=()=>P.preRender(n,!1,!0),i,a=e=>{i=e.map(e=>e.on(`change`,r))},o=()=>{i.forEach(e=>e()),F(n)};return _(()=>{o()}),{subscribe:a,unsubscribe:o,value:t,updateValue:n}}function Yu(e){G.current=[];let{value:t,subscribe:n,unsubscribe:r,updateValue:i}=Ju(e);return n(G.current),G.current=void 0,ne(()=>{r(),G.current=[],i(),n(G.current),G.current=void 0}),t}function Xu(e,t,n,r){if(typeof e==`function`)return Yu(e);if(n&&!Array.isArray(n)&&typeof n==`object`){let i={};for(let a in n)if(Object.prototype.hasOwnProperty.call(n,a)){let o=n[a];i[a]=Xu(e,t,o,r)}return i}let i,a;if(typeof t==`function`)a=t,i=Array.isArray(e)?e:[e];else if(u(t)){let o=K(0),s=ja(t.value,n,r);oe(t,e=>{s=ja(e,n,r),o.set(o.get()+1)},{flush:`sync`}),a=e=>s(Array.isArray(e)?e[0]:e),i=Array.isArray(e)?[...e,o]:[e,o]}else a=ja(t,n,r),i=Array.isArray(e)?e:[e];return Array.isArray(e)?Zu(i,a):Zu(i,e=>a(e[0]))}function Zu(e,t){let n=[],{value:r,subscribe:i}=Ju(()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)});return i(e),r}function Qu(e,t,n){let r=e.on(t,n);return _(()=>{r()}),r}var $u={class:`flex h-full w-full bg-background p-2`},ed={key:0,class:`space-y-1`},td={key:0,class:`flex min-w-0 items-center gap-2 text-xs leading-5 text-muted-foreground`},nd={class:`min-w-0 flex-1`},rd={key:1,class:`text-xs leading-5 text-muted-foreground`},id=[`onClick`],ad={type:`button`,class:`cursor-pointer absolute left-3 right-3 bottom-3 flex flex-col items-center gap-1.5 rounded-lg border bg-muted/35 px-3 py-2 text-center text-[11px] leading-4 text-foreground/85 shadow-sm transition-colors hover:bg-muted/55 hover:text-foreground`},od=[`alt`],sd={class:`mx-auto flex h-full w-full max-w-2xl flex-col px-4 pb-5 pt-3`},cd={class:`mb-3`},ld={class:`flex justify-end`},ud={class:`flex items-center gap-3`},dd=[`alt`],fd={class:`text-2xl font-semibold leading-none`},pd={class:`flex items-center gap-2`},md=[`aria-label`,`title`],hd={class:`space-y-4 overflow-y-auto pr-1 text-[15px] leading-7`},gd={class:`flex-1 min-w-0 min-h-0 h-full flex flex-col`},_d={class:`p-4 h-full min-h-0 flex flex-col`},vd=.1,yd=12,bd=`http://www.zwgczx.com.cn/`,xd=Oe(ue({__name:`typeLine`,props:{scene:{default:`default`},title:{default:void 0},subtitle:{default:``},metaText:{default:``},copyText:{default:``},categories:{},storageKey:{default:``},defaultCategory:{default:``},persistActiveCategory:{type:Boolean,default:!0}},setup(o){let l=o,{t:u}=pe(),_=c(()=>l.storageKey||`type-line-active-cat-${l.scene}`),y=c(()=>`project:${me()}:${_.value}`),C=e=>sessionStorage.getItem(e)||localStorage.getItem(e),ee=(e,t)=>{sessionStorage.setItem(e,t),localStorage.setItem(e,t)},te=()=>{let e=l.defaultCategory||l.categories[0]?.key||``;if(!l.persistActiveCategory)return e;let t=C(y.value);return l.categories.some(e=>e.key===t)?t:e},ne=x(te());oe(()=>[l.categories,l.defaultCategory,y.value],()=>{l.categories.some(e=>e.key===ne.value)||(ne.value=te())},{deep:!0});let re=e=>{ne.value=e,l.persistActiveCategory&&ee(y.value,e)},ie=c(()=>l.categories.find(e=>e.key===ne.value)?.component||l.categories[0]?.component||null),ae=c(()=>({width:`var(--app-typeline-side-w)`})),se=c(() Line truncated
-1
View File
@@ -1 +0,0 @@
function e(t){var n,r,i=``;if(typeof t==`string`||typeof t==`number`)i+=t;else if(typeof t==`object`)if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=` `),i+=r)}else for(r in t)t[r]&&(i&&(i+=` `),i+=r);return i}function t(){for(var t,n,r=0,i=``,a=arguments.length;r<a;r++)(t=arguments[r])&&(n=e(t))&&(i&&(i+=` `),i+=n);return i}var n=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},r=(e,t)=>({classGroupId:e,validator:t}),i=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),a=`-`,o=[],s=`arbitrary..`,c=e=>{let t=ee(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return u(e);let n=e.split(a);return l(n,n[0]===``&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=i[e],a=r[e];return t?a?n(a,t):t:a||o}return r[e]||o}}},l=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=l(e,t+1,i);if(n)return n}let o=n.validators;if(o===null)return;let s=t===0?e.join(a):e.slice(t).join(a),c=o.length;for(let e=0;e<c;e++){let t=o[e];if(t.validator(s))return t.classGroupId}},u=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?s+r:void 0})(),ee=e=>{let{theme:t,classGroups:n}=e;return d(n,t)},d=(e,t)=>{let n=i();for(let r in e){let i=e[r];f(i,n,r,t)}return n},f=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];p(i,t,n,r)}},p=(e,t,n,r)=>{if(typeof e==`string`){m(e,t,n);return}if(typeof e==`function`){h(e,t,n,r);return}g(e,t,n,r)},m=(e,t,n)=>{let r=e===``?t:_(t,e);r.classGroupId=n},h=(e,t,n,i)=>{if(v(e)){f(e(i),t,n,i);return}t.validators===null&&(t.validators=[]),t.validators.push(r(n,e))},g=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];f(o,_(t,a),n,r)}},_=(e,t)=>{let n=e,r=t.split(a),o=r.length;for(let e=0;e<o;e++){let t=r[e],a=n.nextPart.get(t);a||(a=i(),n.nextPart.set(t,a)),n=a}return n},v=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,y=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},b=`!`,x=`:`,S=[],C=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),w=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===x){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(b)?(c=s.slice(0,-1),l=!0):s.startsWith(b)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return C(t,l,c,u)};if(t){let e=t+x,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):C(S,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},te=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},ne=e=>({cache:y(e.cacheSize),parseClassName:w(e),sortModifiers:te(e),...c(e)}),T=/\s+/,re=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(T),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:ee,baseClassName:d,maybePostfixModifierPosition:f}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let p=!!f,m=r(p?d.substring(0,f):d);if(!m){if(!p){c=t+(c.length>0?` `+c:c);continue}if(m=r(d),!m){c=t+(c.length>0?` `+c:c);continue}p=!1}let h=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),g=ee?h+b:h,_=g+m;if(o.indexOf(_)>-1)continue;o.push(_);let v=i(m,p);for(let e=0;e<v.length;++e){let t=v[e];o.push(g+t)}c=t+(c.length>0?` `+c:c)}return c},E=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=D(n))&&(i&&(i+=` `),i+=r);return i},D=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=D(e[r]))&&(n&&(n+=` `),n+=t);return n},O=(e,...t)=>{let n,r,i,a,o=o=>(n=ne(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=re(e,n);return i(e,a),a};return a=o,(...e)=>a(E(...e))},k=[],A=e=>{let t=t=>t[e]||k;return t.isThemeGetter=!0,t},j=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,M=/^\((?:(\w[\w-]*):)?(.+)\)$/i,N=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ie=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ae=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,oe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,P=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,F=/^(url|image|image-set|crossLine truncated
@@ -1 +0,0 @@
import{r as e}from"./rolldown-runtime-fVNAxIxX.js";import{$ as t,An as n,L as r,Yn as i,Z as a,et as o,jn as s,l as c,qn as l,t as ee,ut as te,xt as u}from"./vendor-ag-grid~index~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeL~h29xz5eu-CW8VCi7z.js";import{$ as d,$n as f,$t as p,A as m,An as h,At as g,B as _,Bn as v,Bt as y,C as b,Cn as x,Cr as S,Ct as C,D as w,Dn as T,Dr as E,Dt as D,E as O,En as k,Er as A,Et as j,F as ne,Fn as re,Ft as ie,G as ae,Gn as oe,Gt as se,H as ce,Hn as le,Ht as ue,I as de,In as M,It as fe,J as pe,Jn as me,Jt as he,K as N,Kn as ge,Kt as _e,L as ve,Ln as ye,Lt as be,M as xe,Mn as Se,Mt as Ce,N as we,Nn as P,Nt as Te,O as Ee,On as De,Ot as Oe,P as ke,Pn as F,Pt as I,Q as Ae,Qn as je,Qt as Me,R as Ne,Rn as L,Rt as R,S as Pe,Sn as Fe,Sr as Ie,St as Le,T as Re,Tn as ze,Tt as z,U as Be,Un as Ve,Ut as He,V as Ue,Vn as We,Vt as Ge,W as Ke,Wn as B,Wt as qe,X as Je,Xn as Ye,Xt as Xe,Y as Ze,Yn as V,Yt as Qe,Z as $e,Zn as H,Zt as et,_ as tt,_n as nt,_t as rt,a as it,an as at,ar as ot,at as st,b as ct,bn as lt,bt as ut,c as dt,cn as ft,ct as pt,d as mt,dn as ht,dt as gt,en as _t,er as vt,et as yt,f as bt,fn as xt,ft as St,g as Ct,gn as wt,gt as Tt,h as Et,hn as Dt,ht as Ot,i as kt,in as At,ir as jt,it as Mt,j as Nt,jn as Pt,jt as Ft,k as It,kn as Lt,kt as Rt,l as zt,ln as Bt,lt as U,mn as W,mt as Vt,n as Ht,nn as Ut,nt as Wt,o as Gt,on as Kt,ot as qt,p as G,pn as Jt,pt as Yt,q as Xt,qn as Zt,qt as Qt,r as $t,rn as en,rt as tn,s as nn,sn as K,st as rn,t as an,tn as on,tt as q,u as sn,un as J,ut as cn,v as ln,vn as un,vt as dn,w as fn,wn as pn,wt as Y,x as mn,xn as hn,xr as gn,xt as _n,y as vn,yn,yt as bn,z as xn,zn as Sn,zt as X}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";var Cn=e({BaseTransition:()=>w,BaseTransitionPropsValidators:()=>Ee,Comment:()=>It,DeprecationTypes:()=>null,EffectScope:()=>pn,ErrorCodes:()=>m,ErrorTypeStrings:()=>Nt,Fragment:()=>xe,KeepAlive:()=>we,ReactiveEffect:()=>ze,Static:()=>ke,Suspense:()=>ne,Teleport:()=>de,Text:()=>ve,TrackOpTypes:()=>k,Transition:()=>an,TransitionGroup:()=>Ht,TriggerOpTypes:()=>T,VueElement:()=>$t,assertNumber:()=>Ne,callWithAsyncErrorHandling:()=>xn,callWithErrorHandling:()=>_,camelize:()=>jt,capitalize:()=>ot,cloneVNode:()=>Ue,compatUtils:()=>null,compile:()=>wn,computed:()=>ce,createApp:()=>kt,createBlock:()=>Ke,createCommentVNode:()=>ae,createElementBlock:()=>N,createElementVNode:()=>Be,createHydrationRenderer:()=>Xt,createPropsRestProxy:()=>pe,createRenderer:()=>Ze,createSSRApp:()=>it,createSlots:()=>Je,createStaticVNode:()=>$e,createTextVNode:()=>Ae,createVNode:()=>d,customRef:()=>De,defineAsyncComponent:()=>yt,defineComponent:()=>q,defineCustomElement:()=>Gt,defineEmits:()=>Wt,defineExpose:()=>tn,defineModel:()=>Mt,defineOptions:()=>st,defineProps:()=>qt,defineSSRCustomElement:()=>nn,defineSlots:()=>rn,devtools:()=>pt,effect:()=>Lt,effectScope:()=>h,getCurrentInstance:()=>U,getCurrentScope:()=>Pt,getCurrentWatcher:()=>Se,getTransitionRawChildren:()=>cn,guardReactiveProps:()=>gt,h:()=>St,handleError:()=>Yt,hasInjectionContext:()=>Vt,hydrate:()=>dt,hydrateOnIdle:()=>Ot,hydrateOnInteraction:()=>Tt,hydrateOnMediaQuery:()=>rt,hydrateOnVisible:()=>dn,initCustomFormatter:()=>bn,initDirectivesForSSR:()=>zt,inject:()=>ut,isMemoSame:()=>_n,isProxy:()=>P,isReactive:()=>F,isReadonly:()=>re,isRef:()=>M,isRuntimeOnly:()=>Le,isShallow:()=>ye,isVNode:()=>C,markRaw:()=>L,mergeDefaults:()=>Y,mergeModels:()=>z,mergeProps:()=>j,nextTick:()=>D,nodeOps:()=>mt,normalizeClass:()=>gn,normalizeProps:()=>Ie,normalizeStyle:()=>S,onActivated:()=>Oe,onBeforeMount:()=>Rt,onBeforeUnmount:()=>g,onBeforeUpdate:()=>Ft,onDeactivated:()=>Ce,onErrorCaptured:()=>Te,onMounted:()=>I,onRenderTracked:()=>ie,onRenderTriggered:()=>fe,onScopeDispose:()=>Sn,onServerPrefetch:()=>be,onUnmounted:()=>R,onUpdated:()=>X,onWatcherCleanup:()=>v,openBlock:()=>y,patchProp:()=>bt,popScopeId:()=>Ge,provide:()=>ue,proxyRefs:()=>We,pushScopeId:()=>He,queuePostFlushCb:()=>qe,reactive:()=>le,readonly:()=>Ve,ref:()=>B,registerRuntimeCompiler:()=>se,render:()=>G,renderList:()=>_e,renderSlot:()=>Qt,resolveComponent:()=>he,resolveDirective:()=>Qe,resolveDynamicComponent:()=>Xe,resolveFilter:()=>null,resolveTransitionHooks:()=>et,setBlockTracking:()=>Me,setDevtoolsHook:()=>p,setTransitionHooks:()=>_t,shallowReactive:()=>oe,shallowReadonly:()=>ge,shallowRef:()=>Zt,ssrContextKey:()=>on,ssrUtils:()=>Ut,stop:()=>me,toDisplayString:()=>A,toHandlerKey:()=>E,toHandlers:()=>en,toRaw:()=>V,toRef:()=>Ye,toRefs:()=>H,toValue:()=>je,transformVNodeArgs:()=>At,triggerRef:()=>f,unref:()=>vt,useAttrs:()=>at,useCssModule:()=>Et,useCssVars:()=>Ct,useHost:()=>tt,useId:()=>Kt,useModel:()=>K,useSSRContext:()=>ft,useShadowRoot:()=>ln,useSlots:()=>Bt,useTemplateRef:()=>J,useTransitionState:()=>ht,vModelCheckbox:()=>vn,vModelDynamic:()=>ct,vModelRadio:()=>mn,vModelSelect:()=>Pe,vModelText:()=>b,vShow:()=>fn,version:()=>xt,warn:()=Line truncated
@@ -1,4 +0,0 @@
import{n as e,r as t}from"./rolldown-runtime-fVNAxIxX.js";var n=t({EMPTY_ARR:()=>ee,EMPTY_OBJ:()=>S,NO:()=>te,NOOP:()=>C,PatchFlagNames:()=>Oe,PatchFlags:()=>De,ShapeFlags:()=>ke,SlotFlags:()=>Ae,camelize:()=>P,capitalize:()=>ve,cssVarNameEscapeSymbolsRE:()=>rt,def:()=>xe,escapeHtml:()=>h,escapeHtmlComment:()=>g,extend:()=>E,genCacheKey:()=>a,genPropsAccessExp:()=>i,generateCodeFrame:()=>o,getEscapedCssVarName:()=>_,getGlobalThis:()=>Te,hasChanged:()=>I,hasOwn:()=>D,hyphenate:()=>F,includeBooleanAttr:()=>f,invokeArrayFns:()=>be,isArray:()=>O,isBooleanAttr:()=>Je,isBuiltInDirective:()=>me,isDate:()=>ae,isFunction:()=>A,isGloballyAllowed:()=>Me,isGloballyWhitelisted:()=>Ne,isHTMLTag:()=>He,isIntegerKey:()=>fe,isKnownHtmlAttr:()=>Qe,isKnownMathMLAttr:()=>et,isKnownSvgAttr:()=>$e,isMap:()=>k,isMathMLTag:()=>We,isModelListener:()=>T,isObject:()=>N,isOn:()=>w,isPlainObject:()=>de,isPromise:()=>se,isRegExp:()=>oe,isRenderableAttrValue:()=>m,isReservedProp:()=>pe,isSSRSafeAttrName:()=>p,isSVGTag:()=>Ue,isSet:()=>ie,isSpecialBooleanAttr:()=>qe,isString:()=>j,isSymbol:()=>M,isVoidTag:()=>Ge,looseEqual:()=>y,looseIndexOf:()=>b,looseToNumber:()=>Se,makeMap:()=>r,normalizeClass:()=>u,normalizeCssVarValue:()=>x,normalizeProps:()=>d,normalizeStyle:()=>s,objectToString:()=>ce,parseStringStyle:()=>c,propsToAttrMap:()=>Ze,remove:()=>ne,slotFlagsText:()=>je,stringifyStyle:()=>l,toDisplayString:()=>at,toHandlerKey:()=>ye,toNumber:()=>Ce,toRawType:()=>ue,toTypeString:()=>le});function r(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}function i(e){return Ee.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function a(e,t){return e+JSON.stringify(t,(e,t)=>typeof t==`function`?t.toString():t)}function o(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return``;let r=e.split(/(\r?\n)/),i=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let a=0,o=[];for(let e=0;e<r.length;e++)if(a+=r[e].length+(i[e]&&i[e].length||0),a>=t){for(let s=e-Pe;s<=e+Pe||n>a;s++){if(s<0||s>=r.length)continue;let c=s+1;o.push(`${c}${` `.repeat(Math.max(3-String(c).length,0))}| ${r[s]}`);let l=r[s].length,u=i[s]&&i[s].length||0;if(s===e){let e=t-(a-(l+u)),r=Math.max(1,n>a?l-e:n-t);o.push(` | `+` `.repeat(e)+`^`.repeat(r))}else if(s>e){if(n>a){let e=Math.max(Math.min(n-a,l),1);o.push(` | `+`^`.repeat(e))}a+=l+u}}break}return o.join(`
`)}function s(e){if(O(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=j(r)?c(r):s(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(j(e)||N(e))return e}function c(e){let t={};return e.replace(Le,``).split(Fe).forEach(e=>{if(e){let n=e.split(Ie);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function l(e){if(!e)return``;if(j(e))return e;let t=``;for(let n in e){let r=e[n];if(j(r)||typeof r==`number`){let e=n.startsWith(`--`)?n:F(n);t+=`${e}:${r};`}}return t}function u(e){let t=``;if(j(e))t=e;else if(O(e))for(let n=0;n<e.length;n++){let r=u(e[n]);r&&(t+=r+` `)}else if(N(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function d(e){if(!e)return null;let{class:t,style:n}=e;return t&&!j(t)&&(e.class=u(t)),n&&(e.style=s(n)),e}function f(e){return!!e||e===``}function p(e){if(Xe.hasOwnProperty(e))return Xe[e];let t=Ye.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Xe[e]=!t}function m(e){if(e==null)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`}function h(e){let t=``+e,n=tt.exec(t);if(!n)return t;let r=``,i,a,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:i=`&quot;`;break;case 38:i=`&amp;`;break;case 39:i=`&#39;`;break;case 60:i=`&lt;`;break;case 62:i=`&gt;`;break;default:continue}o!==a&&(r+=t.slice(o,a)),o=a+1,r+=i}return o===a?r:r+t.slice(o,a)}function g(e){return e.replace(nt,``)}function _(e,t){return e.replace(rt,e=>t?e===`"`?`\\\\\\"`:`\\\\${e}`:`\\${e}`)}function v(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=y(e[r],t[r]);return n}function y(e,t){if(e===t)return!0;let n=ae(e),r=ae(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=M(e),r=M(t),n||r)return e===t;if(n=O(e),r=O(t),n||r)return n&&r?v(e,t):!1;if(n=N(e),r=N(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!y(e[n],t[n]))return!1}}return String(e)===String(t)}function b(e,t){return e.findIndex(e=>y(e,t))}function x(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}var S,ee,C,te,w,T,E,ne,re,D,O,k,ie,ae,oe,A,j,M,N,se,ce,le,ue,de,fe,pe,me,he,ge,P,_e,F,ve,ye,I,be,xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct=e((()=>{S={},ee=[],C=()=>{},te=()=>!1,w=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),T=e=>e.startsWith(`onUpdate:`),E=Object.assign,ne=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},re=Object.prototype.hasOwnProperty,D=(e,t)=>re.call(e,t),O=Array.isArray,k=e=>le(e)===`[object Map]`,ie=e=>le(e)===`[object Set]`,ae=e=>le(e)===`[object Date]`,oe=e=>le(e)===`[object RegExp]`,A=e=>typeof e==`function`,j=e=>typeof e==`string`,M=e=>typeof e==`symbol`,N=e=>typeof e==`object`&&!!e,se=e=>(N(e)||A(e))&&A(e.then)&&A(e.catch),ce=Object.prototype.toString,le=e=>ce.call(e),ue=e=>le(e).slice(8,-1),de=e=>le(e)===`[object Object]`,fe=e=>j(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,pe=r(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),me=r(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),he=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ge=/-\w/g,P=he(e=>e.replace(ge,e=>e.slice(1).toUpperCase())),_e=/\B([A-Z])/g,F=he(e=>e.replace(_e,`-$1`).toLowerCase()),ve=he(e=>e.charAt(0).toUpperCase()+e.slice(1)),ye=he(e=>e?`on${ve(e)}`:``),I=(e,t)=>!Object.is(e,t),be=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},xe=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Se=e=>{let t=parseFloat(e);return isNaN(t)?e:t},Ce=e=>{let t=j(e)?Number(e):NaN;return isNaN(t)?e:t},Te=()=>we||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{},Ee=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/,De={TEXT:1,1:`TEXT`,CLASS:2,2:`CLASS`,STYLE:4,4:`STYLE`,PROPS:8,8:`PROPS`,FULL_PROPS:16,16:`FULL_PROPS`,NEED_HYDRATION:32,32:`NEED_HYDRATION`,STABLE_FRAGMENT:64,64:`STABLE_FRAGMENT`,KEYED_FRAGMENT:128,128:`KEYED_FRAGMENT`,UNKEYED_FRAGMENT:256,256:`UNKEYED_FRAGMENT`,NEED_PATCH:512,512:`NEED_PATCH`,DYNAMIC_SLOTS:1024,1024:`DYNAMIC_SLOTS`,DEV_ROOT_FRAGMENT:2048,2048:`DEV_ROOT_FRAGMENT`,CACHED:-1,"-1":`CACHED`,BAIL:-2,"-2":`BAIL`},Oe={1:`TEXT`,2:`CLASS`,4:`STYLE`,8:`PROPS`,16:`FULL_PROPS`,32:`NEED_HYDRATION`,64:`STABLE_FRAGMENT`,128:`KEYED_FRAGMENT`,256:`UNKEYED_FRAGMENT`,512:`NEED_PATCH`,1024:`DYNAMIC_SLOTS`,2048:`DEV_ROOT_FRAGMENT`,[-1]:`CACHED`,[-2]:`BAIL`},ke={ELEMENT:1,1:`ELEMENT`,FUNCTIONAL_COMPONENT:2,2:`FUNCTIONAL_COMPONENT`,STATEFUL_COMPONENT:4,4:`STATEFUL_COMPONENT`,TEXT_CHILDREN:8,8:`TEXT_CHILDREN`,ARRAY_CHILDREN:16,16:`ARRAY_CHILDREN`,SLOTS_CHILDREN:32,32:`SLOTS_CHILDREN`,TELEPORT:64,64:`TELEPORT`,SUSPENSE:128,128:`SUSPENSE`,COMPONENT_SHOULD_KEEP_ALIVE:256,256:`COMPONENT_SHOULD_KEEP_ALIVE`,COMPONENT_KEPT_ALIVE:5 Line truncated
`&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
`)&&(ui(e,0)||cs(),e.textContent=t.children)}if(l){if(h||!o||u&48){let t=e.tagName.includes(`-`);for(let i in l)(h&&(i.endsWith(`value`)||i===`indeterminate`)||w(i)&&!pe(i)||i[0]===`.`||t&&!pe(i))&&r(e,i,null,l[i],void 0,n)}else if(l.onClick)r(e,`onClick`,null,l.onClick,void 0,n);else if(u&4&&Yt(l.style))for(let e in l.style)l.style[e]}let g;(g=l&&l.onVnodeBeforeMount)&&fo(g,n,t),f&&Nr(t,null,n,`beforeMount`),((g=l&&l.onVnodeMounted)||f||c)&&Ua(()=>{g&&fo(g,n,t),c&&m.enter(e),f&&Nr(t,null,n,`mounted`)},i)}return e.nextSibling},p=(e,t,r,o,s,l,u)=>{u||=!!t.dynamicChildren;let f=t.children,p=f.length;for(let t=0;t<p;t++){let m=u?f[t]:f[t]=W(f[t]),h=m.type===dc;e?(h&&!u&&t+1<p&&W(f[t+1]).type===dc&&(c(i(e.data.slice(m.children.length)),r,a(e)),e.data=m.children),e=d(e,m,o,s,l,u)):h&&!m.children?c(m.el=i(``),r):(ui(r,1)||cs(),n(null,m,r,null,o,s,ds(r),l))}return e},m=(e,t,n,r,i,s)=>{let{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);let d=o(e),f=p(a(e),t,d,n,r,i,s);return f&&fs(f)&&f.data===`]`?a(t.anchor=f):(cs(),c(t.anchor=l(`]`),d,f),f)},h=(e,t,r,i,c,l)=>{if(ui(e.parentElement,1)||cs(),t.el=null,l){let t=g(e);for(;;){let n=a(e);if(n&&n!==t)s(n);else break}}let u=a(e),d=o(e);return s(e),n(null,t,d,u,r,i,ds(d),c),r&&(r.vnode.el=t.el,va(r,t.el)),u},g=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&fs(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},_=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},v=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[u,d]}function ui(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ps);)e=e.parentElement;let n=e&&e.getAttribute(ps);if(n==null)return!1;if(n===``)return!0;{let e=n.split(`,`);return t===0&&e.includes(`children`)?!0:e.includes(ms[t])}}function di(e){let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=window;return(t>0&&t<a||r>0&&r<a)&&(n>0&&n<o||i>0&&i<o)}function fi(e,t){if(fs(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(fs(r))if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++;r=r.nextSibling}}else t(e)}function pi(e){A(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return ni({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=!1;(t.bu||=[]).push(()=>r=!0);let i=()=>{r||n()},o=a?()=>{let n=a(i,t=>fi(e,t));n&&(t.bum||=[]).push(n)}:i;u?o():p().then(()=>!t.isUnmounted&&o())},get __asyncResolved(){return u},setup(){let e=Q;if(ii(e),u)return()=>mi(u,e);let t=t=>{l=null,_r(t,e,13,!r)};if(s&&e.suspense||Cc)return p().then(t=>()=>mi(t,e)).catch(e=>(t(e),()=>r?Z(r,{error:e}):null));let a=$t(!1),c=$t(),d=$t(!!i);return i&&setTimeout(()=>{d.value=!1},i),o!=null&&setTimeout(()=>{if(!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o),p().then(()=>{a.value=!0,e.parent&&Ss(e.parent.vnode)&&e.parent.update()}).catch(e=>{t(e),c.value=e}),()=>{if(a.value&&u)return mi(u,e);if(c.value&&r)return Z(r,{error:c.value});if(n&&!d.value)return mi(n,e)}}})}function mi(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=Z(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}function hi(e,t){return O(e)?e.some(e=>hi(e,t)):j(e)?e.split(`,`).includes(t):oe(e)?(e.lastIndex=0,e.test(t)):!1}function gi(e,t){vi(e,`a`,t)}function _i(e,t){vi(e,`da`,t)}function vi(e,t,n=Q){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Si(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Ss(e.parent.vnode)&&yi(r,t,n,e),e=e.parent}}function yi(e,t,n,r){let i=Si(t,e,r,!0);As(()=>{ne(r[t],i)},n)}function bi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function xi(e){return e.shapeFlag&128?e.ssContent:e}function Si(e,t,n=Q,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ct();let i=xc(n),a=gr(t,n,e,r);return i(),wt(),a};return r?i.unshift(a):i.push(a),a}}function Ci(e,t=Q){Si(`ec`,e,t)}function wi(e,t){return Di(Ps,e,!0,t)||e}function Ti(e){return j(e)?Di(Ps,e,!1)||e:e||Is}function Ei(e){return Di(Fs,e)}function Di(e,t,n=!0,r=!1){let i=K||Q;if(i){let n=i.type;if(e===Ps){let e=So(n,!1);if(e&&(e===t||e===P(t)||e===ve(P(t))))return n}let a=Oi(i[e]||n[e],t)||Oi(i.appContext[e],t);return!a&&r?n:a}}function Oi(e,t){return e&&(e[t]||e[P(t)]||e[ve(P(t))])}function ki(e,t,n,r){let i,a=n&&n[r],o=O(e);if(o||j(e)){let n=o&&Yt(e),r=!1,s=!1;n&&(r=!R(e),s=Xt(e),e=At(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?$n(Qn(e[n])):Qn(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(N(e))if(e[Symbol.iterator])i=Array.from Line truncated
@@ -1 +0,0 @@
var e={selectAll:`(全选)`,selectAllSearchResults:`(全选搜索结果)`,addCurrentSelectionToFilter:`将当前选择添加到筛选器`,searchOoo:`搜索...`,blanks:`(空白)`,noMatches:`无匹配项`,typeToSearchOoo:`输入内容进行搜索...`,filterOoo:`过滤...`,equals:`等于`,notEqual:`不等于`,blank:`空白`,notBlank:`非空`,empty:`选择一个`,lessThan:`小于`,greaterThan:`大于`,lessThanOrEqual:`小于等于`,greaterThanOrEqual:`大于等于`,inRange:`介于`,inRangeStart:`从`,inRangeEnd:`到`,contains:`包含`,notContains:`不包含`,startsWith:`开始于`,endsWith:`结束于`,dateFormatOoo:`yyyy-mm-dd`,before:`之前`,after:`之后`,yesterday:`昨天`,today:`今天`,tomorrow:`明天`,last7Days:`最近7天`,lastWeek:`上周`,thisWeek:`本周`,nextWeek:`下周`,last30Days:`最近30天`,lastMonth:`上个月`,thisMonth:`这个月`,nextMonth:`下个月`,last90Days:`最近90天`,lastQuarter:`上个季度`,thisQuarter:`这个季度`,nextQuarter:`下个季度`,lastYear:`去年`,thisYear:`今年`,yearToDate:`年初至今`,nextYear:`明年`,last6Months:`最近6个月`,last12Months:`最近12个月`,last24Months:`最近24个月`,andCondition:`和`,orCondition:`或`,applyFilter:`应用`,resetFilter:`重置`,clearFilter:`清除`,cancelFilter:`取消`,textFilter:`文本过滤器`,numberFilter:`数字过滤器`,dateFilter:`日期过滤器`,setFilter:`集合过滤器`,groupFilterSelect:`选择字段:`,filterSummaryInactive:`是(全部)`,filterSummaryContains:`包含`,filterSummaryNotContains:`不包含`,filterSummaryTextEquals:`等于`,filterSummaryTextNotEqual:`不等于`,filterSummaryStartsWith:`开始于`,filterSummaryEndsWith:`结束于`,filterSummaryBlank:`为空`,filterSummaryNotBlank:`不为空`,filterSummaryEquals:`=`,filterSummaryNotEqual:`!=`,filterSummaryGreaterThan:`>`,filterSummaryGreaterThanOrEqual:`>=`,filterSummaryLessThan:`<`,filterSummaryLessThanOrEqual:`<=`,filterSummaryInRange:`介于`,filterSummaryInRangeValues:"(${variable}, ${variable})",filterSummaryTextQuote:' "${variable}"',filterSummaryListInactive:`是(全部)`,filterSummaryListSeparator:`, `,filterSummaryListShort:"是(${variable})",filterSummaryListLong:"是(${variable})和${variable}更多",addFilterCard:`添加过滤器`,agTextColumnFilterDisplayName:`简单过滤器`,agNumberColumnFilterDisplayName:`简单过滤器`,agDateColumnFilterDisplayName:`简单过滤器`,agSetColumnFilterDisplayName:`选择过滤器`,agMultiColumnFilterDisplayName:`组合过滤器`,addFilterPlaceholder:`搜索列...`,advancedFilterContains:`包含`,advancedFilterNotContains:`不包含`,advancedFilterTextEquals:`等于`,advancedFilterTextNotEqual:`不等于`,advancedFilterStartsWith:`开始于`,advancedFilterEndsWith:`结束于`,advancedFilterBlank:`为空`,advancedFilterNotBlank:`不为空`,advancedFilterEquals:`=`,advancedFilterNotEqual:`!=`,advancedFilterGreaterThan:`>`,advancedFilterGreaterThanOrEqual:`>=`,advancedFilterLessThan:`<`,advancedFilterLessThanOrEqual:`<=`,advancedFilterTrue:`为真`,advancedFilterFalse:`为假`,advancedFilterAnd:`且`,advancedFilterOr:`或`,advancedFilterApply:`应用`,advancedFilterReset:`重置`,advancedFilterCancel:`取消`,advancedFilterClear:`清除`,advancedFilterBuilder:`构建器`,advancedFilterValidationMissingColumn:`缺少列`,advancedFilterValidationMissingOption:`缺少选项`,advancedFilterValidationMissingValue:`缺少值`,advancedFilterValidationInvalidColumn:`找不到列`,advancedFilterValidationInvalidOption:`找不到选项`,advancedFilterValidationMissingQuote:`值缺少结束引号`,advancedFilterValidationNotANumber:`值不是一个数字`,advancedFilterValidationInvalidDate:`值不是一个有效日期`,advancedFilterValidationMissingCondition:`缺少条件`,advancedFilterValidationJoinOperatorMismatch:`一个条件内的连接操作符必须相同`,advancedFilterValidationInvalidJoinOperator:`找不到连接操作符`,advancedFilterValidationMissingEndBracket:`缺少结束括号`,advancedFilterValidationExtraEndBracket:`结束括号过多`,advancedFilterValidationMessage:"表达式有错误。${variable} - ${variable}。",advancedFilterValidationMessageAtEnd:"表达式有错误。表达式末尾的${variable}。",advancedFilterBuilderTitle:`高级筛选`,advancedFilterBuilderApply:`应用`,advancedFilterBuilderClear:`清除`,advancedFilterBuilderReset:`重置`,advancedFilterBuilderCancel:`取消`,advancedFilterBuilderAddButtonTooltip:`添加筛选或组`,advancedFilterBuilderRemoveButtonTooltip:`移除`,advancedFilterBuilderMoveUpButtonTooltip:`上移`,advancedFilterBuilderMoveDownButtonTooltip:`下移`,advancedFilterBuilderAddJoin:`添加组`,advancedFilterBuilderAddCondition:`添加筛选`,advancedFilterBuilderSelectColumn:`选择一个列`,advancedFilterBuilderSelectOption:`选择一个选项`,advancedFilterBuilderEnterValue:`输入一个值...`,advancedFilterBuilderValidationAlreadyApplied:`当前筛选已应用。`,advancedFilterBuilderValidationIncomplete:`并非所有条 Line truncated
@@ -1,4 +0,0 @@
import{$n as e,$t as t,At as n,B as r,Bn as i,Bt as a,C as o,Cn as s,Ct as c,D as l,Dn as u,Dt as d,E as f,En as p,Et as m,F as h,Fn as g,Ft as _,G as v,Gn as y,Gt as b,Hn as x,Ht as S,In as ee,It as te,Jt as C,K as w,Kn as ne,Kt as re,Ln as ie,Lt as ae,Mn as oe,Mt as se,Nn as ce,Nt as le,O as ue,On as de,Ot as fe,Pn as T,Pt as pe,Q as E,Qn as me,Qt as D,Rn as he,Rt as ge,S as _e,Sn as O,St as k,T as ve,Tn as ye,Tt as be,U as xe,Un as Se,Ut as Ce,Vn as we,Vt as Te,Wn as Ee,Wt as De,Xn as Oe,Xt as ke,Yt as Ae,Zn as je,Zt as A,_n as j,_t as Me,a as Ne,an as Pe,at as Fe,b as Ie,bn as Le,bt as Re,c as ze,cn as Be,ct as Ve,d as M,dn as He,dt as Ue,en as We,er as Ge,fn as Ke,ft as N,gn as qe,gt as P,h as Je,hn as F,ht as Ye,i as Xe,in as I,it as Ze,j as Qe,jt as $e,kn as et,kt as tt,ln as nt,lt as rt,m as it,mn as at,mt as ot,n as st,nn as ct,nt as L,o as lt,on as ut,ot as dt,pn as ft,pt as R,qn as z,qt as B,r as pt,rn as V,rt as mt,s as ht,sn as gt,st as _t,tn as vt,tr as yt,tt as bt,u as H,un as xt,vn as St,vt as Ct,w as wt,wn as Tt,wt as Et,x as Dt,xn as Ot,yn as kt,yt as At,z as jt,zn as Mt,zt as Nt}from"./vendor-ag-grid~index~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeL~h29xz5eu-CW8VCi7z.js";var Pt=class{constructor(){this.ieCompatibility=!1}init(){this.ieCompatibility=this.md5(`hello`)!=`5d41402abc4b2a76b9719d911017c592`}md5cycle(e,t){let n=e[0],r=e[1],i=e[2],a=e[3];n=this.ff(n,r,i,a,t[0],7,-680876936),a=this.ff(a,n,r,i,t[1],12,-389564586),i=this.ff(i,a,n,r,t[2],17,606105819),r=this.ff(r,i,a,n,t[3],22,-1044525330),n=this.ff(n,r,i,a,t[4],7,-176418897),a=this.ff(a,n,r,i,t[5],12,1200080426),i=this.ff(i,a,n,r,t[6],17,-1473231341),r=this.ff(r,i,a,n,t[7],22,-45705983),n=this.ff(n,r,i,a,t[8],7,1770035416),a=this.ff(a,n,r,i,t[9],12,-1958414417),i=this.ff(i,a,n,r,t[10],17,-42063),r=this.ff(r,i,a,n,t[11],22,-1990404162),n=this.ff(n,r,i,a,t[12],7,1804603682),a=this.ff(a,n,r,i,t[13],12,-40341101),i=this.ff(i,a,n,r,t[14],17,-1502002290),r=this.ff(r,i,a,n,t[15],22,1236535329),n=this.gg(n,r,i,a,t[1],5,-165796510),a=this.gg(a,n,r,i,t[6],9,-1069501632),i=this.gg(i,a,n,r,t[11],14,643717713),r=this.gg(r,i,a,n,t[0],20,-373897302),n=this.gg(n,r,i,a,t[5],5,-701558691),a=this.gg(a,n,r,i,t[10],9,38016083),i=this.gg(i,a,n,r,t[15],14,-660478335),r=this.gg(r,i,a,n,t[4],20,-405537848),n=this.gg(n,r,i,a,t[9],5,568446438),a=this.gg(a,n,r,i,t[14],9,-1019803690),i=this.gg(i,a,n,r,t[3],14,-187363961),r=this.gg(r,i,a,n,t[8],20,1163531501),n=this.gg(n,r,i,a,t[13],5,-1444681467),a=this.gg(a,n,r,i,t[2],9,-51403784),i=this.gg(i,a,n,r,t[7],14,1735328473),r=this.gg(r,i,a,n,t[12],20,-1926607734),n=this.hh(n,r,i,a,t[5],4,-378558),a=this.hh(a,n,r,i,t[8],11,-2022574463),i=this.hh(i,a,n,r,t[11],16,1839030562),r=this.hh(r,i,a,n,t[14],23,-35309556),n=this.hh(n,r,i,a,t[1],4,-1530992060),a=this.hh(a,n,r,i,t[4],11,1272893353),i=this.hh(i,a,n,r,t[7],16,-155497632),r=this.hh(r,i,a,n,t[10],23,-1094730640),n=this.hh(n,r,i,a,t[13],4,681279174),a=this.hh(a,n,r,i,t[0],11,-358537222),i=this.hh(i,a,n,r,t[3],16,-722521979),r=this.hh(r,i,a,n,t[6],23,76029189),n=this.hh(n,r,i,a,t[9],4,-640364487),a=this.hh(a,n,r,i,t[12],11,-421815835),i=this.hh(i,a,n,r,t[15],16,530742520),r=this.hh(r,i,a,n,t[2],23,-995338651),n=this.ii(n,r,i,a,t[0],6,-198630844),a=this.ii(a,n,r,i,t[7],10,1126891415),i=this.ii(i,a,n,r,t[14],15,-1416354905),r=this.ii(r,i,a,n,t[5],21,-57434055),n=this.ii(n,r,i,a,t[12],6,1700485571),a=this.ii(a,n,r,i,t[3],10,-1894986606),i=this.ii(i,a,n,r,t[10],15,-1051523),r=this.ii(r,i,a,n,t[1],21,-2054922799),n=this.ii(n,r,i,a,t[8],6,1873313359),a=this.ii(a,n,r,i,t[15],10,-30611744),i=this.ii(i,a,n,r,t[6],15,-1560198380),r=this.ii(r,i,a,n,t[13],21,1309151649),n=this.ii(n,r,i,a,t[4],6,-145523070),a=this.ii(a,n,r,i,t[11],10,-1120210379),i=this.ii(i,a,n,r,t[2],15,718787259),r=this.ii(r,i,a,n,t[9],21,-343485551),e[0]=this.add32(n,e[0]),e[1]=this.add32(r,e[1]),e[2]=this.add32(i,e[2]),e[3]=this.add32(a,e[3])}cmn(e,t,n,r,i,a){return t=this.add32(this.add32(t,e),this.add32(r,a)),this.add32(t<<i|t>>>32-i,n)}ff(e,t,n,r,i,a,o){return this.cmn(t&n|~t&r,e,t,i,a,o)}gg(e,t,n,r,i,a,o){return this.cmn(t&r|n&~r,e,t,i,a,o)}hh(e,t,n,r,i,a,o){return this.cmn(t^n^r,e,t,i,a,o)}ii(e,t,n,r,i,a,o){return this.cmn(n^(t|~r),e,t,i,a,o)}md51(e){let t=e.length,n=[1732584193,-271733879,-1732584194,271733878],r;for(r=64;r<=e.length;r+=64)this.md5cycle(n,this.md5blk(e.substring(r-64,r)));e=e.substring(r-64);let i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(r=0;r<e.length;r++)i[r>>2]|=e.charCodeAt(r)<<(r%4<<3);if(i[r>>2]|=128<<(r%4<<3),r>55)for(this.md5cycle(n,i),r=0;r<16;r++)i[r]=0;return i[14]=t*8,this.md5cycle(n,i),n}md5blk(e){let t=[];for(let n=0;n<64;n+=4)t[n>>2]=e.charCodeAt(n)+(e.charCodeAt(n+1)<<8)+(e.charCodeAt(n+2)<<16)+(e.charCodeAt(n+3)<<24);return t}rhex(e){let t=`0123456789abcdef`.split(``),n=``,r=0;for(;r<4;r++)n+=t[e>>r*8+4&15]+t[e>>r*8&15];return n}hex(e){for(let t=0;t<e.length;t++)e[t]=this.rhex(e[t]);return e.join(``)}md5(e){return this.hex(this.md51(e))}add32(e,tLine truncated
`,i=!1;if(e===``)return[[``]];for(let a=0,o=0,s=0;s<e.length;s++){let c=e[s-1],l=e[s],u=e[s+1],d=()=>{n[a]||(n[a]=[]),n[a][o]||(n[a][o]=``)};if(d(),l===`"`&&(i?u===`"`?(n[a][o]+=`"`,s++):i=!1:(c===void 0||c===t||r(c))&&(i=!0)),!i&&l!==`"`){if(l===t){o++,d();continue}else if(r(l)){o=0,a++,d(),l===`\r`&&u===`
`&&s++;continue}}n[a][o]+=l}return n}var oi={moduleName:`Clipboard`,version:U,beans:[class extends H{constructor(){super(...arguments),this.beanName=`clipboardSvc`,this.clientSideRowModel=null,this.gridCtrl=null,this.lastPasteOperationTime=0,this.navigatorApiFailed=!1}postConstruct(){let{gos:e,rowModel:t,ctrlsSvc:n}=this.beans;I(e,t)&&(this.clientSideRowModel=t),n.whenReady(this,e=>{this.gridCtrl=e.gridCtrl})}destroy(){super.destroy(),this.clientSideRowModel=null,this.gridCtrl=null}pasteFromClipboard(){!this.gos.get(`suppressClipboardApi`)&&!this.navigatorApiFailed&&navigator.clipboard?.readText?navigator.clipboard.readText().then(this.processClipboardData.bind(this)).catch(e=>{z(40,{e,method:`readText`}),this.navigatorApiFailed=!0,this.pasteFromClipboardLegacy()}):this.pasteFromClipboardLegacy()}pasteFromClipboardLegacy(){let e=!1,t=t=>{let n=Date.now();n-this.lastPasteOperationTime<50&&(e=!0,t.preventDefault()),this.lastPasteOperationTime=n};this.executeOnTempElement(e=>{e.addEventListener(`paste`,t),e.focus({preventScroll:!0})},n=>{let r=n.value;e?this.refocusLastFocusedCell():this.processClipboardData(r),n.removeEventListener(`paste`,t)})}refocusLastFocusedCell(){let{focusSvc:e}=this.beans,t=e.getFocusedCell();t&&e.setFocusedCell({rowIndex:t.rowIndex,column:t.column,rowPinned:t.rowPinned,forceBrowserFocus:!0})}getClipboardDelimiter(){let e=this.gos.get(`clipboardDelimiter`);return k(e)?e:` `}processClipboardData(e){if(e==null)return;let t=ai(e,this.getClipboardDelimiter()),n=this.gos.getCallback(`processDataFromClipboard`);if(n&&(t=n({data:t})),t==null)return;this.gos.get(`suppressLastEmptyLineOnPaste`)&&this.removeLastLineIfBlank(t);let{rangeSvc:r,editSvc:i}=this.beans;this.doPasteOperation((e,n,a,o)=>{r?.isMoreThanOneCell()&&!this.hasOnlyOneValueToPaste(t)?this.pasteIntoActiveRange(t,e,n,o):this.pasteStartingFromFocusedCell(t,e,n,a,o),i?.stopEditing(void 0,{source:ni})})}doPasteOperation(e){let t=`clipboard`,{eventSvc:n,focusSvc:r,rowRenderer:i,gos:a}=this.beans;n.dispatchEvent({type:`pasteStart`,source:t});let{clientSideRowModel:o}=this,s=o?.rootNode,c=s&&new it(a.get(`aggregateOnlyChangedColumns`),s),l={},u=[];e(l,u,r.getFocusedCell(),c);let d=[...u];c&&(o.doAggregate(c),c.forEachChangedNodeDepthFirst(e=>{d.push(e)})),i.refreshCells({rowNodes:d}),this.dispatchFlashCells(l),this.fireRowChanged(u),this.refocusLastFocusedCell(),n.dispatchEvent({type:`pasteEnd`,source:t})}getPreProcessRangeCallback(e){return t=>{let{rangeSvc:n}=this.beans;if(!n)return;let{rowDiff:r,colDiff:i}=this.getAdjustedRangeDimensionForPaste(t,e);r!==0&&n.extendRangeRowCountBy(t,r),i!==0&&n.extendRangeColumnCountBy(t,i)}}getAdjustedRangeDimensionForPaste(e,t){let n=this.beans.rangeSvc,r=t.length,i=n.getRangeRowCount(e),a=i>=r&&i%r===0,o=t[0].length,s=e.columns.length,c=s>=o&&s%o===0;return{rowDiff:a?0:r-i,colDiff:c?0:o-s}}pasteIntoActiveRange(e,t,n,r){let i=0,a=0;this.iterateActiveRanges((o,s,c,l)=>{if(l-i>=e.length){if(l%e.length!==0)return;i+=a,a=0}let u=e[l-i];n.push(s);let d=this.gos.getCallback(`processCellFromClipboard`),f=c.columns,p=f.findIndex(je);p!==-1&&f.splice(p,1);for(let e=0;e<f.length;e++){let n=f[e];if(!n.isCellEditable(s)||n.isSuppressPaste(s))continue;let i=e;e>=u.length&&(i=e%u.length);let a=this.processCell(s,n,u[i],ri,d,!0);s.setDataValue(n,a,ni),r?.addParentNode(s.parent,[n]);let{rowIndex:c,rowPinned:l}=o,p=R({rowIndex:c,column:n,rowPinned:l});t[p]=!0}a++},!1,this.getPreProcessRangeCallback(e))}getDisplayedColumnsStartingAt(t){let n=t,r=[],{visibleCols:i}=this.beans;for(;n&&e(n);)n=i.getColAfter(n);for(;n!=null;)r.push(n),n=i.getColAfter(n);return r}pasteStartingFromFocusedCell(e,t,n,r,i){if(!r)return;let a={rowIndex:r.rowIndex,rowPinned:r.rowPinned},o=this.getDisplayedColumnsStartingAt(r.column);this.isPasteSingleValueIntoRange(e)?this.pasteSingleValueIntoRange(e,n,t,i):this.pasteMultipleValues(e,a,n,o,t,ii,i)}isPasteSingleValueIntoRange(e){let t=this.beans.rangeSvc;return this.hasOnlyOneValueToPaste(e)&&!!t&&!t.isEmpty()}pasteSingleValueIntoRange(e,t,n,r){let i=e[0][0];this.iterateActiveRanges((e,a,o)=>{t.push(a),o.columns.forEach(e=>this.updateCellValue(a,e,i,n,ii,r))})}hasOnlyOneValueToPaste(e){return e.length===1&&e[0].length===1}copyRangeDown(){let{rangeSvc:e,gos:t,formula:n,valueSvc:r}=this.beans;if(!e||e.isEmpty())return;let i=[];this.doPasteOperation((e,a,o,s)=>{let c=t.getCallback(`processCellForClipboard`),l=t.getCallback(`processCellFromClipboard`);this.iterateActiveRanges((t,o,u)=>{let{columns:d}=u;i.length?(a.push(o),d.forEach((r,a)=>{if(!r.isCellEditable(o)||r.isSuppressPaste(o))return;r.isAllowFormula()&&n?.isFormula(i[a])&&(i[a]=n?.updateFormulaByOffset({value:i[a],rowDelta:1}));let c=this.processCell(o,r,i[a],ri,l,!0);o.setDataValue(r,c,ni),s&&s.addParentNode(o.parent,[r]);let{rowIndex:u,rowPinned:d}=t,f=R({rowIndex:u,column:r,rowPinned:d});e[f]=!0})):d.forEach(e=>{let t=this.processCell(o,e,r.getValue(e,o,`batch`),ri,c,!1,!0);i.push(t)})},!0)})}removeLastLineIfBlank(e){let t=O(e);if(t&&t. Line truncated
`),cellsToFlash:i}}getRangeRowPositionsAndCellsToFlash(e,t){let n=[],r={},i=e.getRangeStartRow(t),a=e.getRangeEndRow(t),o=i;for(;o;){n.push(o);for(let e of t.columns){let{rowIndex:t,rowPinned:n}=o,i=R({rowIndex:t,column:e,rowPinned:n});r[i]=!0}if(j(o,a))break;o=C(this.beans,o)}return{rowPositions:n,cellsToFlash:r}}getCellsToFlashFromRowNodes(e){let t=this.beans.visibleCols.allCols,n={};for(let r=0;r<e.length;r++){let{level:i,rowIndex:a,rowPinned:o,sibling:s}=e[r],c=i===-1?s.rowIndex:a;if(c!=null)for(let e=0;e<t.length;e++){let r=t[e],i=R({rowIndex:c,column:r,rowPinned:o});n[i]=!0}}return n}copyFocusedCellToClipboard(e={}){let t=this.beans.focusSvc.getFocusedCell();if(t==null)return;t=this.beans.rowSpanSvc?.getCellStart(t)??t;let n=R(t),r={rowPinned:t.rowPinned,rowIndex:t.rowIndex},i=t.column,a=this.buildExportParams({columns:[i],rowPositions:[r],includeHeaders:e.includeHeaders,includeGroupHeaders:e.includeGroupHeaders});this.copyDataToClipboard(a),this.dispatchFlashCells({[n]:!0})}copySelectedRowsToClipboard(e={}){let{columnKeys:t,includeHeaders:n,includeGroupHeaders:r}=e,i=this.buildExportParams({columns:t,includeHeaders:n,includeGroupHeaders:r});this.copyDataToClipboard(i);let a=this.beans.selectionSvc?.getSelectedNodes()||[];this.dispatchFlashCells(this.getCellsToFlashFromRowNodes(a))}buildExportParams(e){let{columns:t,rowPositions:n,includeHeaders:r=!1,includeGroupHeaders:i=!1}=e,{gos:a,csvCreator:o}=this.beans,s={columnKeys:t,rowPositions:n,skipColumnHeaders:!r,skipColumnGroupHeaders:!i,suppressQuotes:!0,columnSeparator:this.getClipboardDelimiter(),onlySelected:!n,valueFrom:`batch`,processCellCallback:a.getCallback(`processCellForClipboard`),processRowGroupCallback:({node:e,column:t})=>{let{value:n,valueFormatted:r}=this.beans.valueSvc.getValueForDisplay({column:t,node:e,includeValueFormatted:!0,from:`batch`}),i=r??n??``,o=a.getCallback(`processCellForClipboard`);return o?o({column:t,node:e,value:i,type:ii,formatValue:n=>this.beans.valueSvc.formatValue(t,e,n)??n,parseValue:r=>this.beans.valueSvc.parseValue(t,e,r,n)??r}):i},processHeaderCallback:a.getCallback(`processHeaderForClipboard`),processGroupHeaderCallback:a.getCallback(`processGroupHeaderForClipboard`)};return o.getDataAsCsv(s,!0)}dispatchFlashCells(e){window.setTimeout(()=>{this.eventSvc.dispatchEvent({type:`flashCells`,cells:e})},0)}processCell(e,t,n,r,i,a,o){let{valueSvc:s,formula:c}=this.beans;return i?i({column:t,node:e,value:n,type:r,formatValue:n=>s.formatValue(t,e??null,n)??n,parseValue:n=>s.parseValue(t,e??null,n,s.getValue(t,e,`edit`))}):a&&t.getColDef().useValueParserForImport!==!1?s.parseValue(t,e??null,n,s.getValue(t,e,`edit`)):o&&t.getColDef().useValueFormatterForExport!==!1?c?.isFormula(n)?n:s.formatValue(t,e??null,n)??n:n}copyDataToClipboard(e){let t=this.gos.getCallback(`sendToClipboard`);if(t){t({data:e});return}if(!this.gos.get(`suppressClipboardApi`)&&navigator.clipboard){navigator.clipboard.writeText(e).catch(t=>{z(40,{e:t,method:`writeText`}),this.copyDataToClipboardLegacy(e)});return}this.copyDataToClipboardLegacy(e)}copyDataToClipboardLegacy(e){this.executeOnTempElement(t=>{let n=_(this.beans),r=m(this.beans);t.value=e||` `,t.select(),t.focus({preventScroll:!0}),n.execCommand(`copy`)||z(41),r?.focus!=null&&r.focus({preventScroll:!0})})}executeOnTempElement(e,t){if(!this.gridCtrl)return;let n=_(this.beans),r=n.createElement(`textarea`),i=r.style;i.width=`1px`,i.height=`1px`;let a=n.documentElement;i.top=a.scrollTop+`px`,i.left=a.scrollLeft+`px`,i.position=`absolute`,i.opacity=`0`,this.gridCtrl.getGui().appendChild(r);try{e(r)}catch{z(42)}t?window.setTimeout(()=>{t(r),r.remove()},100):r.remove()}}],apiFunctions:{copyToClipboard:Xr,cutToClipboard:Zr,copySelectedRowsToClipboard:Qr,copySelectedRangeToClipboard:$r,copySelectedRangeDown:ei,pasteFromClipboard:ti},dependsOn:[W,_e,ue,f]},si=class extends Ie{constructor(){super(...arguments),this.changedCalculatedValues=!1,this.dragging=!1,this.shouldDestroyOnEndDragging=!1}postConstruct(){this.beans.dragSvc.addDragSource({dragStartPixels:0,eElement:this.getGui(),onDragging:e=>{let t=!1;if(this.dragging||(t=!0,this.dragging=!0,b(this.beans).classList?.add(this.getDraggingCssClass())),this.updateValuesOnMove(e),t){this.changedCalculatedValues=!1;return}this.beans.rangeSvc.autoScrollService.check(e),this.changedCalculatedValues&&=(this.onDrag(e),!1)},onDragStop:e=>{this.dragging=!1,this.onDragEnd(e),this.clearDragProperties()},onDragCancel:()=>{this.dragging=!1,this.onDragCancel(),this.clearDragProperties()}}),this.addManagedEventListeners({cellSelectionChanged:this.updateLocalRangeIfNeeded.bind(this)}),this.addManagedElementListeners(this.getGui(),{pointerdown:ci,mousedown:ci})}getLastCellHovered(){return this.lastCellHovered}getDraggingCssClass(){return`ag-dragging-${this.type===0?`fill`:`range`}-handle`}updateValuesOnMove(e){let t=tt(this.gos,e);!t||this.shouldSkipCell(t)||this.lastCellHovered&&Fe(t,this.lastCellHovered)||(this.lastCellHovered=t,this.changedCalculatedValues=!0)}c Line truncated
@@ -1,61 +0,0 @@
var e=Object.freeze([]);function t(e){if(e?.length)return e[e.length-1]}function n(e,t,n){if(e===t)return!0;if(!e||!t)return e==null&&t==null;let r=e.length;if(r!==t.length)return!1;for(let i=0;i<r;i++)if(e[i]!==t[i]&&!n?.(e[i],t[i]))return!1;return!0}function r(e,t){if(e){for(let n of e)if(t(n))return!0}}function i(e,t){let n=e.indexOf(t);n>=0&&e.splice(n,1)}function a(e,t){let n=0,r=0;for(;n<e.length;n++)t.includes(e[n])||(e[r]=e[n],r++);for(;r<e.length;)e.pop()}function o(e,t,n){for(let n=0;n<t.length;n++)i(e,t[n]);for(let r=t.length-1;r>=0;r--)e.splice(n,0,t[r])}var s=e=>e==null||e===``?null:e;function c(e){return e!=null&&e!==``}function l(e){return!c(e)}var u=e=>e!=null&&typeof e.toString==`function`?e.toString():null,d=(e,t,n=!1)=>e==null?t==null?0:-1:t==null?1:(typeof e==`object`&&e.toNumber&&(e=e.toNumber()),typeof t==`object`&&t.toNumber&&(t=t.toNumber()),!n||typeof e!=`string`?e>t?1:e<t?-1:0:e.localeCompare(t)),f=class{constructor(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}setFrameworkOverrides(e){this.frameworkOverrides=e}getListeners(e,t,n){let r=t?this.allAsyncListeners:this.allSyncListeners,i=r.get(e);return!i&&n&&(i=new Set,r.set(e,i)),i}noRegisteredListenersExist(){return this.allSyncListeners.size===0&&this.allAsyncListeners.size===0&&this.globalSyncListeners.size===0&&this.globalAsyncListeners.size===0}addEventListener(e,t,n=!1){this.getListeners(e,n,!0).add(t)}removeEventListener(e,t,n=!1){let r=this.getListeners(e,n,!1);r&&(r.delete(t),r.size===0&&(n?this.allAsyncListeners:this.allSyncListeners).delete(e))}addGlobalListener(e,t=!1){this.getGlobalListeners(t).add(e)}removeGlobalListener(e,t=!1){this.getGlobalListeners(t).delete(e)}dispatchEvent(e){this.dispatchToListeners(e,!0),this.dispatchToListeners(e,!1),this.firedEvents[e.type]=!0}dispatchEventOnce(e){this.firedEvents[e.type]||this.dispatchEvent(e)}dispatchToListeners(e,t){let n=e.type;if(t&&`event`in e){let t=e.event;t instanceof Event&&(e.eventPath=t.composedPath())}let{frameworkOverrides:r}=this,i=e=>{let n=r?()=>r.wrapIncoming(e):e;t?this.dispatchAsync(n):n()},a=this.getListeners(n,t,!1);if((a?.size??0)>0){let t=new Set(a);for(let n of t)a?.has(n)&&i(()=>n(e))}let o=this.getGlobalListeners(t);if(o.size>0){let t=new Set(o);for(let r of t)i(()=>r(n,e))}}getGlobalListeners(e){return e?this.globalAsyncListeners:this.globalSyncListeners}dispatchAsync(e){if(this.asyncFunctionsQueue.push(e),!this.scheduled){let e=()=>{window.setTimeout(this.flushAsyncQueue.bind(this),0)},t=this.frameworkOverrides;t?t.wrapIncoming(e):e(),this.scheduled=!0}}flushAsyncQueue(){this.scheduled=!1;let e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[];for(let t of e)t()}},p=/[&<>"']/g,m={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`};function h(e){return e?.toString().toString()??null}function g(e){return h(e)?.replace(p,e=>m[e])??null}function _(e){return typeof e==`string`&&e.startsWith(`=`)&&e.length>1}function v(e){return!e||e==null?null:e.replace(/([a-z])([A-Z])/g,`$1 $2`).replace(/([A-Z]+)([A-Z])([a-z])/g,`$1 $2$3`).replace(/\./g,` `).split(` `).map(e=>e.substring(0,1).toUpperCase()+(e.length>1?e.substring(1,e.length):``)).join(` `)}function y(e){return e.eRootDiv.getRootNode()}function b(e){return y(e).activeElement}function x(e){let{gos:t,eRootDiv:n}=e,r=null,i=t.get(`getDocument`);return i&&c(i)?r=i():n&&(r=n.ownerDocument),r&&c(r)?r:document}function S(e){let t=b(e);return t===null||t===x(e).body}function ee(e){return x(e).defaultView||window}function te(e){let t=null,n=null;try{t=x(e).fullscreenElement}catch{}finally{t||=y(e),n=t.querySelector(`body`)||(t instanceof ShadowRoot?t:t instanceof Document?t?.documentElement:t)}return n}function ne(e){return te(e)?.clientWidth??(window.innerWidth||-1)}function C(e){return te(e)?.clientHeight??(window.innerHeight||-1)}function w(e,t,n){n==null||typeof n==`string`&&n==``?re(e,t):T(e,t,n)}function T(e,t,n){e.setAttribute(ie(t),n.toString())}function re(e,t){e.removeAttribute(ie(t))}function ie(e){return`aria-${e}`}function ae(e,t){t?e.setAttribute(`role`,t):e.removeAttribute(`role`)}function oe(e){let t=e?.direction;return t===`asc`?`ascending`:t===`desc`?`descending`:t===`mixed`?`other`:`none`}function se(e){return e.getAttribute(`aria-label`)}function ce(e,t){w(e,`label`,t)}function le(e,t){w(e,`labelledby`,t)}function ue(e,t){w(e,`live`,t)}function de(e,t){w(e,`atomic`,t)}function fe(e,t){w(e,`relevant`,t)}function pe(e,t){w(e,`invalid`,t)}function me(e,t){w(e,`disabled`,t)}function he(e,t){w(e,`hidden`,t)}function ge(e,t){T(e,`expanded`,t)}function _e(e){re(e,`expanded`)}function ve(e,t){T(e,`multiselectable`,t)}function ye(e,t){T(e,`rowcount`,t)}function be(e,t){T(e,`rowindex`,t)}function xe(e,t){T(e,`rowspan`,t)}function Se(e,t){T(e,`colcount`,t)}function Ce(e,t){T(e,`colindex`,t)}function we(e,t){T(e,`colspan`,t)}function TeLine truncated
`:``}Visit ${r}`;return bn()?i:`${i}${n?``:`
Alternatively register the ValidationModule to see the full message in the console.`}`};function M(...e){An(tn,e[0],e[1],!0)}function N(...e){An(nn,e[0],e[1],!1)}function Rn(e,t,n){An(nn,e,t,!1,n)}function zn(e,t,n){An(tn,e,t,!0,n)}function Bn(e,t){let n=t[0];return`error #${n} `+kn(n,t[1],e).join(` `)}function Vn(...e){return Bn(void 0,e)}function Hn(e,t){return e.get(`rowModelType`)===t}function P(e,t){return Hn(e,`clientSide`)}function Un(e,t){return Hn(e,`serverSide`)}function F(e,t){return e.get(`domLayout`)===t}function Wn(e){return Er(e)!==void 0}function Gn(e){return typeof e.get(`getRowHeight`)==`function`}function Kn(e,t){return t?!e.get(`enableStrictPivotColumnOrder`):e.get(`maintainColumnOrder`)}function qn({gos:e,formula:t}){let n=e.get(`rowNumbers`);return n||!!t?.active&&n!==!1}function Jn(e,t,n=!1,r){let{gos:i,environment:a}=e;if(r??=a.getDefaultRowHeight(),Gn(i)){if(n)return{height:r,estimated:!0};let e={node:t,data:t.data},a=i.getCallback(`getRowHeight`)(e);if(Zn(a))return a===0&&M(23),{height:Math.max(1,a),estimated:!1}}if(t.detail&&i.get(`masterDetail`))return Yn(i);let o=i.get(`rowHeight`);return{height:o&&Zn(o)?o:r,estimated:!1}}function Yn(e){if(e.get(`detailRowAutoHeight`))return{height:1,estimated:!1};let t=e.get(`detailRowHeight`);return Zn(t)?{height:t,estimated:!1}:{height:300,estimated:!1}}function Xn(e){let{environment:t,gos:n}=e,r=n.get(`rowHeight`);if(!r||l(r))return t.getDefaultRowHeight();let i=t.refreshRowHeightVariable();return i===-1?(M(24),t.getDefaultRowHeight()):i}function Zn(e){return!isNaN(e)&&typeof e==`number`&&isFinite(e)}function Qn(e,t,n){let r=t[e.getDomDataKey()];return r?r[n]:void 0}function $n(e,t,n,r){let i=e.getDomDataKey(),a=t[i];l(a)&&(a={},t[i]=a),a[n]=r}function er(e){return e.get(`ensureDomOrder`)?!1:e.get(`animateRows`)}function tr(e){return!(e.get(`paginateChildRows`)||e.get(`groupHideOpenParents`)||F(e,`print`))}function nr(e){return!e.get(`autoGroupColumnDef`)?.comparator&&!e.get(`treeData`)}function rr(e){let t=e.get(`groupAggFiltering`);if(typeof t==`function`)return e.getCallback(`groupAggFiltering`);if(t===!0)return()=>!0}function ir(e){return e.get(`grandTotalRow`)}function ar(e){let t=e.get(`groupTotalRow`);return typeof t==`function`?e.getCallback(`groupTotalRow`):()=>t??void 0}function or(e){return e.get(`groupHideOpenParents`)?!0:e.get(`groupDisplayType`)===`multipleColumns`}function sr(e,t){return t?!1:e.get(`groupDisplayType`)===`groupRows`}function cr(e,t,n){return!!t.group&&!t.footer&&sr(e,n)}function lr(e){let t=e.getCallback(`getRowId`);return t===void 0?t:e=>{let n=t(e);return typeof n!=`string`&&(zt(()=>M(25,{id:n}),`getRowIdString`),n=String(n)),n}}function ur(e,t){let n=e.get(`groupHideParentOfSingleChild`);return!!(n===!0||n===`leafGroupsOnly`&&t.leafGroup||e.get(`groupRemoveSingleChildren`)||e.get(`groupRemoveLowestSingleChildren`)&&t.leafGroup)}function dr(e,t){let n=e.get(`suppressGroupChangesColumnVisibility`);if(n===!0||t&&n===`suppressHideOnGroup`||!t&&n===`suppressShowOnUngroup`)return!1;let r=e.get(`suppressRowGroupHidesColumns`);if(t&&r===!0)return!1;let i=e.get(`suppressMakeColumnVisibleAfterUnGroup`);return!(!t&&i===!0)}function fr(e){return e?.checkboxes??!0}function pr(e){return e?.mode===`multiRow`&&(e.headerCheckbox??!0)}function mr(e){if(typeof e==`object`)return e.checkboxLocation??`selectionColumn`}function hr(e){return e?.hideDisabledCheckboxes??!1}function gr(e){return typeof e.get(`rowSelection`)!=`string`}function _r(e){return e.get(`cellSelection`)!==void 0}function vr(e){let t=e.get(`cellSelection`);return t===void 0?e.get(`suppressMultiRangeSelection`):typeof t==`boolean`?!1:t?.suppressMultiRanges??!1}function yr(e){let t=e.get(`cellSelection`);return t===void 0?e.get(`enableRangeSelection`):!!t}function br(e){let t=e.get(`cellSelection`);return t===void 0?{mode:`fill`,setFillValue:e.get(`fillOperation`),direction:e.get(`fillHandleDirection`),suppressClearOnFillReduction:e.get(`suppressClearOnFillReduction`)}:typeof t!=`boolean`&&t.handle?.mode===`fill`?t.handle:void 0}function xr(e){let t=e.get(`cellSelection`)??!1;return(typeof t==`object`&&t.enableColumnSelection)??!1}function Sr(e){let t=e.get(`rowSelection`)??`single`;if(typeof t==`string`){let t=e.get(`suppressRowClickSelection`),n=e.get(`suppressRowDeselection`);return t&&n?!1:t?`enableDeselection`:n?`enableSelection`:!0}return t.mode===`singleRow`||t.mode===`multiRow`?t.enableClickSelection??!1:!1}function Cr(e){let t=Sr(e);return t===!0||t===`enableSelection`}function wr(e){let t=Sr(e);return t===!0||t===`enableDeselection`}function Tr(e){let t=e.get(`rowSelection`);return typeof t==`string`?e.get(`isRowSelectable`):t?.isRowSelectable}function Er(e){let t=`beanName`in e&&e.beanName===`gos`?e.get(`rowSelection`):e.rowSelection;if(typeof t==`string`)switch(t){case`multiple`:return`multiRow`;case`single`:return`singleRow`;default:return}switch(t?.mode){case`multiRow`:case`singleRow`:return t.mode;default:return}}function Dr(e){return Er(e)===`Line truncated
${e}
}
`;for(let t of this.cssImports??[])e=`@import url(${JSON.stringify(t)});
${e}`;r={css:e,class:t}}else r=!1;this._inject=r}return r&&e&&hp(r.css,e,r.class,t,1,n),r?r.class:!1}},Tp=e=>e.replace(/[A-Z]|\d+/g,e=>`-${e}`).toLowerCase(),Ep=e=>`--ag-${Tp(e)}`,Dp=e=>`var(${Ep(e)})`,Op=(e,t,n)=>Math.max(t,Math.min(n,e)),kp=e=>{let t=new Map;return n=>{let r=n;return t.has(r)||t.set(r,e(n)),t.get(r)}},Ap=e=>({ref:`accentColor`,mix:e}),K=e=>({ref:`foregroundColor`,mix:e}),q=e=>({ref:`foregroundColor`,mix:e,onto:`backgroundColor`}),jp=e=>({ref:`foregroundColor`,mix:e,onto:`headerBackgroundColor`}),J={ref:`backgroundColor`},Mp={ref:`foregroundColor`},Np={ref:`accentColor`},Pp={backgroundColor:`#fff`,foregroundColor:`#181d1f`,borderColor:K(.15),chromeBackgroundColor:q(.02),browserColorScheme:`light`},Fp={...Pp,textColor:Mp,accentColor:`#2196f3`,invalidColor:`#e02525`,fontFamily:[`-apple-system`,`BlinkMacSystemFont`,`Segoe UI`,`Roboto`,`Oxygen-Sans`,`Ubuntu`,`Cantarell`,`Helvetica Neue`,`sans-serif`],subtleTextColor:{ref:`textColor`,mix:.5},borderWidth:1,borderRadius:4,spacing:8,fontSize:14,focusShadow:{spread:3,color:Ap(.5)},focusErrorShadow:{spread:3,color:{ref:`invalidColor`,onto:`backgroundColor`,mix:.5}},popupShadow:`0 0 16px #00000026`,cardShadow:`0 1px 4px 1px #00000018`,dropdownShadow:{ref:`cardShadow`},listItemHeight:{calc:`max(iconSize, dataFontSize) + widgetVerticalSpacing`},dragAndDropImageBackgroundColor:J,dragAndDropImageBorder:!0,dragAndDropImageNotAllowedBorder:{color:{ref:`invalidColor`,onto:`dragAndDropImageBackgroundColor`,mix:.5}},dragAndDropImageShadow:{ref:`popupShadow`},iconSize:16,iconColor:`inherit`,toggleButtonWidth:28,toggleButtonHeight:18,toggleButtonOnBackgroundColor:Np,toggleButtonOffBackgroundColor:q(.3),toggleButtonSwitchBackgroundColor:J,toggleButtonSwitchInset:2,tooltipBackgroundColor:{ref:`chromeBackgroundColor`},tooltipErrorBackgroundColor:{ref:`invalidColor`,onto:`backgroundColor`,mix:.1},tooltipTextColor:{ref:`textColor`},tooltipErrorTextColor:{ref:`invalidColor`},tooltipBorder:!0,tooltipErrorBorder:{color:{ref:`invalidColor`,onto:`backgroundColor`,mix:.25}},panelBackgroundColor:J,panelTitleBarHeight:{ref:`headerHeight`},panelTitleBarBackgroundColor:{ref:`headerBackgroundColor`},panelTitleBarIconColor:{ref:`headerTextColor`},panelTitleBarTextColor:{ref:`headerTextColor`},panelTitleBarFontFamily:{ref:`headerFontFamily`},panelTitleBarFontSize:{ref:`headerFontSize`},panelTitleBarFontWeight:{ref:`headerFontWeight`},panelTitleBarBorder:!0,dialogShadow:{ref:`popupShadow`},dialogBorder:{color:K(.2)},widgetContainerHorizontalPadding:{calc:`spacing * 1.5`},widgetContainerVerticalPadding:{calc:`spacing * 1.5`},widgetHorizontalSpacing:{calc:`spacing * 1.5`},widgetVerticalSpacing:{ref:`spacing`},dataFontSize:{ref:`fontSize`},headerBackgroundColor:{ref:`chromeBackgroundColor`},headerFontFamily:{ref:`fontFamily`},headerFontSize:{ref:`fontSize`},headerFontWeight:500,headerTextColor:{ref:`textColor`},headerHeight:{calc:`max(iconSize, dataFontSize) + spacing * 4 * headerVerticalPaddingScale`},headerVerticalPaddingScale:1,menuBorder:{color:K(.2)},menuBackgroundColor:q(.03),menuTextColor:q(.95),menuShadow:{ref:`popupShadow`},menuSeparatorColor:{ref:`borderColor`}},Ip=[`colorScheme`,`color`,`length`,`scale`,`borderStyle`,`border`,`shadow`,`image`,`fontFamily`,`fontWeight`,`duration`],Lp=kp(e=>(e=e.toLowerCase(),Ip.find(t=>e.endsWith(t.toLowerCase()))??`length`)),Rp=e=>typeof e==`object`&&e?.ref?Dp(e.ref):typeof e==`string`?e:typeof e==`number`?String(e):!1,zp=e=>{if(typeof e==`string`)return e;if(typeof e==`object`&&e&&`ref`in e){let t=Dp(e.ref);return e.mix==null?t:`color-mix(in srgb, ${e.onto?Dp(e.onto):`transparent`}, ${t} ${Op(e.mix*100,0,100)}%)`}return!1},Bp=Rp,Vp=e=>typeof e==`string`?e:typeof e==`number`?`${e}px`:typeof e==`object`&&e&&`calc`in e?`calc(${e.calc.replace(/ ?[*/+] ?/g,` $& `).replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi,e=>e[0]===`-`?e:` `+Dp(e)+` `)})`:typeof e==`object`&&e&&`ref`in e?Dp(e.ref):!1,Hp=Rp,Up=(e,t)=>typeof e==`string`?e:e===!0?Up({},t):e===!1?t===`columnBorder`?Up({color:`transparent`},t):`none`:typeof e==`object`&&e&&`ref`in e?Dp(e.ref):Kp(e.style??`solid`)+` `+Vp(e.width??{ref:`borderWidth`})+` `+zp(e.color??{ref:`borderColor`}),Wp=e=>[Vp(e.offsetX??0),Vp(e.offsetY??0),Vp(e.radius??0),Vp(e.spread??0),zp(e.color??{ref:`foregroundColor`}),...e.inset?[`inset`]:[]].join(` `),Gp=e=>typeof e==`string`?e:e===!1?`none`:typeof e==`object`&&e&&`ref`in e?Dp(e.ref):Array.isArray(e)?e.map(Wp).join(`, `):Wp(e),Kp=Rp,qp=e=>typeof e==`string`?e.includes(`,`)?e:Jp(e):typeof e==`object`&&e&&`googleFont`in e?qp(e.googleFont):typeof e==`object`&&e&&`ref`in e?Dp(e.ref):Array.isArray(e)?e.map(e=>(typeof e==`object`&&`googleFont`in e&&(e=e.googleFont),Jp(e))).join(`, `):!1,Jp=e=>/^[\w-]+$|\w\(/.test(e)?e:JSON.stringify(e),Yp=Rp,Xp=e=>typeof e==`string`?e:typeof e==`object`&&e&&`url`in e?`url(${JSON.stringify(e.url)})`:typeof e==`object`&&e&&`svg`in e?Xp({url:`data:image/svg+xml,${encodeURIComponent(e.svg)}`}):typeof e==`object`&&e&&`ref`in e?Dp(e.ref):!1,Zp={colo Line truncated
`;e+=n,t+=n}for(let n of Object.keys(o).sort()){let r=o[n],s=Qp(n,r,i);if(s===!1)i.error(107,{key:n,value:r});else{let r=Ep(n),i=a?r.replace(`--ag-`,a):r,o=r.replace(`--ag-`,`--ag-inherited-`);e+=` ${r}: var(${o}, ${s});
`,t+=` ${o}: var(${i});
`}}r!==Sp&&(e+=`}
`,t+=`}
`)}let o=`:where(.${this._getParamsClassName()})`,s=`${o} {
${e}}
`;s+=`:has(> ${o}):not(${o}) {
${t}}
`,this._paramsCssCache=s}return this._paramsCssCache}},nm=e=>{let t=new Map;for(let n of e)t.set(n.feature,n);let n=[];for(let r of e)(!r.feature||t.get(r.feature)===r)&&n.push(r);return n},rm=e=>{let t=new Set,n=e=>{if(Array.isArray(e))e.forEach(n);else{let n=e?.googleFont;typeof n==`string`&&t.add(n)}};return Object.values(e._getModeParams()).flatMap(e=>Object.values(e)).forEach(n),Array.from(t).sort()},im=!1,am=()=>{if(!im){im=!0;for(let e of Array.from(document.head.querySelectorAll(`style[data-ag-scope="legacy"]`)))e.remove()}},om=async(e,t)=>{hp(`@import url('https://${sm}/css2?family=${encodeURIComponent(e)}:wght@100;200;300;400;500;600;700;800;900&display=swap');
`,document.head,`googleFont:${e}`,void 0,0,t)},sm=`fonts.googleapis.com`,cm={changeKey:`listItemHeight`,type:`length`,defaultValue:24},lm=class extends O{constructor(){super(...arguments),this.beanName=`environment`,this.sizeEls=new Map,this.lastKnownValues=new Map,this.sizesMeasured=!1,this.globalCSS=[]}wireBeans(e){this.eRootDiv=e.eRootDiv}postConstruct(){let{gos:e,eRootDiv:t}=this;e.setInstanceDomData(t);let n=e.get(`themeStyleContainer`),r=typeof ShadowRoot<`u`,i=r&&t.getRootNode()instanceof ShadowRoot;this.eStyleContainer=(typeof n==`function`?n():n)??(i?t:document.head),!n&&!i&&r&&dm(t,this.shadowRootError.bind(this),this.addDestroyFunc.bind(this)),this.cssLayer=e.get(`themeCssLayer`),this.styleNonce=e.get(`styleNonce`),this.addManagedPropertyListener(`theme`,()=>this.handleThemeChange()),this.handleThemeChange(),this.getSizeEl(cm),this.initVariables(),this.addDestroyFunc(()=>vp(this)),this.mutationObserver=new MutationObserver(()=>{this.fireStylesChangedEvent(`theme`)}),this.addDestroyFunc(()=>this.mutationObserver.disconnect())}applyThemeClasses(e,t=[]){let{theme:n}=this,r=n?n._getCssClass():this.applyLegacyThemeClasses();for(let t of Array.from(e.classList))t.startsWith(`ag-theme-`)&&e.classList.remove(t);if(r){let n=e.className;e.className=`${n}${n?` `:``}${r}${t?.length?` `+t.join(` `):``}`}}applyLegacyThemeClasses(){let e=``;this.mutationObserver.disconnect();let t=this.eRootDiv;for(;t;){let n=!1;for(let r of Array.from(t.classList))r.startsWith(`ag-theme-`)&&(n=!0,e=e?`${e} ${r}`:r);n&&this.mutationObserver.observe(t,{attributes:!0,attributeFilter:[`class`]}),t=t.parentElement}return e}addGlobalCSS(e,t){this.theme?hp(e,this.eStyleContainer,t,this.cssLayer,0,this.styleNonce):this.globalCSS.push([e,t])}getDefaultListItemHeight(){return this.getCSSVariablePixelValue(cm)}getCSSVariablePixelValue(e){let t=this.lastKnownValues.get(e);if(t!=null)return t;let n=this.measureSizeEl(e);return n===`detached`||n===`no-styles`?(e.cacheDefault&&this.lastKnownValues.set(e,e.defaultValue),e.defaultValue):(this.lastKnownValues.set(e,n),n)}measureSizeEl(e){let t=this.getSizeEl(e);if(t.offsetParent==null)return`detached`;let n=t.offsetWidth;return n===um?`no-styles`:(this.sizesMeasured=!0,n)}getMeasurementContainer(){let e=this.eMeasurementContainer;return e||(e=this.eMeasurementContainer=ht({tag:`div`,cls:`ag-measurement-container`}),this.eRootDiv.appendChild(e)),e}getSizeEl(e){let t=this.sizeEls.get(e);if(t)return t;let n=this.getMeasurementContainer();t=ht({tag:`div`});let r=this.setSizeElStyles(t,e);n.appendChild(t),this.sizeEls.set(e,t);let{type:i,noWarn:a}=e;if(i!==`length`&&i!==`border`)return t;let o=this.measureSizeEl(e);o===`no-styles`&&!a&&this.varError(r,e.defaultValue);let s=ut(this.beans,t,()=>{let t=this.measureSizeEl(e);t===`detached`||t===`no-styles`||(this.lastKnownValues.set(e,t),t!==o&&(o=t,this.fireStylesChangedEvent(e.changeKey)))});return this.addDestroyFunc(()=>s()),t}setSizeElStyles(e,t){let{changeKey:n,type:r}=t,i=Ep(n);return r===`border`?(i.endsWith(`-width`)&&(i=i.slice(0,-6)),e.className=`ag-measurement-element-border`,e.style.setProperty(`--ag-internal-measurement-border`,`var(${i}, solid ${um}px)`)):e.style.width=`var(${i}, ${um}px)`,i}handleThemeChange(){let{gos:e,theme:t}=this,n=e.get(`theme`),r;if(n===`legacy`)r=void 0;else{let e=n??this.getDefaultTheme();e instanceof tm?r=e:this.themeError(e)}r!==t&&this.handleNewTheme(r),this.postProcessThemeChange(r,n)}handleNewTheme(e){let{gos:t,eRootDiv:n,globalCSS:r}=this,i=this.getAdditionalCss();if(e){gp(this.eStyleContainer,this.cssLayer,this.styleNonce,i);for(let[e,t]of r)hp(e,this.eStyleContainer,t,this.cssLayer,0,this.styleNonce);r.length=0}this.theme=e,e?._startUse({loadThemeGoogleFonts:t.get(`loadThemeGoogleFonts`),styleContainer:this.eStyleContainer,cssLayer:this.cssLayer,nonce:this.styleNonce,moduleCss:i}),_p(this,e?._getParamsCss()??null,e?._getParamsClassName()??null,this.eStyleContainer,this.cssLayer,this.styleNonce),this.applyThemeClasses(n),this.fireStylesChangedEvent(`theme`)}fireStylesChangedEvent(e){this.eventSvc.dispatchEvent({type:`stylesChanged`,[`${e}Changed`]:!0})}},um=15538,dm=(e,t,n)=>{let r=60,i=setInterval(()=>{typeof ShadowRoot<`u`&&e.getRootNode()instanceof ShadowRoot&&(t(),clearInterval(i)),(qe(e)||--r<0)&&clearInterval(i)},1e3);n(()=>clearInterval(i))},fm=`.ag-aria-description-container{border:0;z-index:9999;clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ag-unselectable{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ag-selectable{-webkit-user-select:text;-moz-user-select:text;user-select:text}.ag-shake-left-to-right{animation-direction:alternate;animation-duration:.2s;animation-iteration-count:infinite;animation-name:ag-shake-left-to-right}@keyframes ag-shake-left-to-right{0%{padding-left:6px;padding-right:2px}to{padding-left:2px;padding-right:6px}}.ag-body-horizontal-scroll-viewport,.ag-body-vertical-scroll-viewport,.ag-body-vLine truncated
`}return t},Am=(e,t=1.5)=>{let n=Om[e];if(n)return n;let r=Dm[e];if(!r)throw Error(`Missing icon data for ${e}`);return`<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke="black" stroke-width="${t}" viewBox="0 0 24 24"><style>* { vector-effect: non-scaling-stroke; }</style>`+r+`</svg>`},jm=((e={})=>G({feature:`iconSet`,css:()=>km(e)}))(),Mm=`:where(.ag-input-field-input[type=number]:not(.ag-number-field-input-stepper)){-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}}.ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){background-color:var(--ag-input-background-color);border:var(--ag-input-border);border-radius:var(--ag-input-border-radius);color:var(--ag-input-text-color);font-family:inherit;font-size:inherit;line-height:inherit;margin:0;min-height:var(--ag-input-height);padding:0;&:where(:disabled){background-color:var(--ag-input-disabled-background-color);border:var(--ag-input-disabled-border);color:var(--ag-input-disabled-text-color)}&:where(:focus){background-color:var(--ag-input-focus-background-color);border:var(--ag-input-focus-border);box-shadow:var(--ag-input-focus-shadow);color:var(--ag-input-focus-text-color);outline:none}&:where(:invalid){background-color:var(--ag-input-invalid-background-color);border:var(--ag-input-invalid-border);color:var(--ag-input-invalid-text-color)}&:where(.invalid){background-color:var(--ag-input-invalid-background-color);border:var(--ag-input-invalid-border);color:var(--ag-input-invalid-text-color)}&::-moz-placeholder{color:var(--ag-input-placeholder-text-color)}&::placeholder{color:var(--ag-input-placeholder-text-color)}}:where(.ag-ltr) .ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){padding-left:var(--ag-input-padding-start)}:where(.ag-rtl) .ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){padding-right:var(--ag-input-padding-start)}&:where(.ag-ltr,.ag-rtl) .ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){padding:0 var(--ag-input-padding-start)}:where(.ag-column-select-header-filter-wrapper),:where(.ag-filter-add-select),:where(.ag-filter-filter),:where(.ag-filter-toolpanel-search),:where(.ag-floating-filter-search-icon),:where(.ag-mini-filter){.ag-input-wrapper:before{background-color:currentcolor;color:var(--ag-input-icon-color);content:"";display:block;height:12px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ij48cGF0aCBkPSJNNS4zIDlhMy43IDMuNyAwIDEgMCAwLTcuNSAzLjcgMy43IDAgMCAwIDAgNy41Wk0xMC41IDEwLjUgOC4zIDguMiIvPjwvc3ZnPg==");mask-image:url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ij48cGF0aCBkPSJNNS4zIDlhMy43IDMuNyAwIDEgMCAwLTcuNSAzLjcgMy43IDAgMCAwIDAgNy41Wk0xMC41IDEwLjUgOC4zIDguMiIvPjwvc3ZnPg==");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;opacity:.5;position:absolute;width:12px}}:where(.ag-ltr) :where(.ag-column-select-header-filter-wrapper),:where(.ag-ltr) :where(.ag-filter-add-select),:where(.ag-ltr) :where(.ag-filter-filter),:where(.ag-ltr) :where(.ag-filter-toolpanel-search),:where(.ag-ltr) :where(.ag-floating-filter-search-icon),:where(.ag-ltr) :where(.ag-mini-filter){.ag-input-wrapper:before{margin-left:var(--ag-spacing)}.ag-number-field-input,.ag-text-field-input{padding-left:calc(var(--ag-spacing)*1.5 + 12px)}}:where(.ag-rtl) :where(.ag-column-select-header-filter-wrapper),:where(.ag-rtl) :where(.ag-filter-add-select),:where(.ag-rtl) :where(.ag-filter-filter),:where(.ag-rtl) :where(.ag-filter-toolpanel-search),:where(.ag-rtl) :where(.ag-floating-filter-search-icon),:where(.ag-rtl) :where(.ag-mini-filter){.ag-input-wrapper:before{margin-right:var(--ag-spacing)}.ag-number-field-input,.ag-text-field-input{padding-right:calc(var(--ag-spacing)*1.5 + 12px)}}`,Nm=`.ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){&:focus{box-shadow:var(--ag-focus-shadow);&:where(.invalid),&:where(:invalid){box-shadow:var(--ag-focus-error-shadow)}}}`,Pm=G({feature:`inputStyle`,params:{inputBackgroundLine truncated
${`Choose one of ${[...r].map(sh).join(`, `)}, or define your own parts in gridOptions.groupHierarchyConfig.`}`:null}}}),dh={headerName:void 0,columnGroupShow:void 0,headerStyle:void 0,headerClass:void 0,toolPanelClass:void 0,headerValueGetter:void 0,pivotKeys:void 0,groupId:void 0,colId:void 0,sort:void 0,initialSort:void 0,field:void 0,type:void 0,cellDataType:void 0,tooltipComponent:void 0,tooltipField:void 0,headerTooltip:void 0,headerTooltipValueGetter:void 0,cellClass:void 0,showRowGroup:void 0,filter:void 0,initialAggFunc:void 0,defaultAggFunc:void 0,aggFunc:void 0,groupRowEditable:void 0,groupRowValueSetter:void 0,pinned:void 0,initialPinned:void 0,chartDataType:void 0,cellAriaRole:void 0,cellEditorPopupPosition:void 0,headerGroupComponent:void 0,headerGroupComponentParams:void 0,cellStyle:void 0,cellRenderer:void 0,cellRendererParams:void 0,cellEditor:void 0,cellEditorParams:void 0,filterParams:void 0,pivotValueColumn:void 0,headerComponent:void 0,headerComponentParams:void 0,floatingFilterComponent:void 0,floatingFilterComponentParams:void 0,tooltipComponentParams:void 0,refData:void 0,columnChooserParams:void 0,children:void 0,sortingOrder:void 0,allowedAggFuncs:void 0,menuTabs:void 0,pivotTotalColumnIds:void 0,cellClassRules:void 0,icons:void 0,sortIndex:void 0,initialSortIndex:void 0,flex:void 0,initialFlex:void 0,width:void 0,initialWidth:void 0,minWidth:void 0,maxWidth:void 0,rowGroupIndex:void 0,initialRowGroupIndex:void 0,pivotIndex:void 0,initialPivotIndex:void 0,suppressColumnsToolPanel:void 0,suppressFiltersToolPanel:void 0,openByDefault:void 0,marryChildren:void 0,suppressStickyLabel:void 0,hide:void 0,initialHide:void 0,rowGroup:void 0,initialRowGroup:void 0,pivot:void 0,initialPivot:void 0,checkboxSelection:void 0,showDisabledCheckboxes:void 0,headerCheckboxSelection:void 0,headerCheckboxSelectionFilteredOnly:void 0,headerCheckboxSelectionCurrentPageOnly:void 0,suppressHeaderMenuButton:void 0,suppressMovable:void 0,lockPosition:void 0,lockVisible:void 0,lockPinned:void 0,unSortIcon:void 0,suppressSizeToFit:void 0,suppressAutoSize:void 0,enableRowGroup:void 0,enablePivot:void 0,enableValue:void 0,editable:void 0,suppressPaste:void 0,suppressNavigable:void 0,enableCellChangeFlash:void 0,rowDrag:void 0,dndSource:void 0,autoHeight:void 0,wrapText:void 0,sortable:void 0,resizable:void 0,singleClickEdit:void 0,floatingFilter:void 0,cellEditorPopup:void 0,suppressFillHandle:void 0,wrapHeaderText:void 0,autoHeaderHeight:void 0,dndSourceOnRowDrag:void 0,valueGetter:void 0,valueSetter:void 0,filterValueGetter:void 0,keyCreator:void 0,valueFormatter:void 0,valueParser:void 0,comparator:void 0,equals:void 0,pivotComparator:void 0,suppressKeyboardEvent:void 0,suppressHeaderKeyboardEvent:void 0,colSpan:void 0,rowSpan:void 0,spanRows:void 0,getQuickFilterText:void 0,onCellValueChanged:void 0,onCellClicked:void 0,onCellDoubleClicked:void 0,onCellContextMenu:void 0,rowDragText:void 0,tooltipValueGetter:void 0,tooltipComponentSelector:void 0,cellRendererSelector:void 0,cellEditorSelector:void 0,suppressSpanHeaderHeight:void 0,useValueFormatterForExport:void 0,useValueParserForImport:void 0,mainMenuItems:void 0,contextMenuItems:void 0,suppressFloatingFilterButton:void 0,suppressHeaderFilterButton:void 0,suppressHeaderContextMenu:void 0,loadingCellRenderer:void 0,loadingCellRendererParams:void 0,loadingCellRendererSelector:void 0,context:void 0,dateComponent:void 0,dateComponentParams:void 0,getFindText:void 0,rowGroupingHierarchy:void 0,groupHierarchy:void 0,allowFormula:void 0},fh=()=>Object.keys(dh),ph=()=>({objectName:`colDef`,allProperties:fh(),docsUrl:`column-properties/`,deprecations:ch(),validations:uh()}),mh=`overlayLoadingTemplate.overlayNoRowsTemplate.gridId.quickFilterText.rowModelType.editType.domLayout.clipboardDelimiter.rowGroupPanelShow.multiSortKey.pivotColumnGroupTotals.pivotRowTotals.pivotPanelShow.fillHandleDirection.groupDisplayType.treeDataDisplayType.treeDataChildrenField.treeDataParentIdField.colResizeDefault.tooltipTrigger.serverSidePivotResultFieldSeparator.columnMenu.tooltipShowMode.invalidEditValueMode.grandTotalRow.themeCssLayer.findSearchValue.styleNonce.renderingMode`.split(`.`),hh=`components.rowStyle.context.autoGroupColumnDef.localeText.icons.datasource.dragAndDropImageComponentParams.serverSideDatasource.viewportDatasource.groupRowRendererParams.aggFuncs.fullWidthCellRendererParams.defaultColGroupDef.defaultColDef.defaultCsvExportParams.defaultExcelExportParams.columnTypes.rowClassRules.detailCellRendererParams.loadingCellRendererParams.overlayComponentParams.loadingOverlayComponentParams.noRowsOverlayComponentParams.activeOverlayParams.popupParent.themeStyleContainer.statusBar.chartThemeOverrides.customChartThemes.chartToolPanelsDef.dataTypeDefinitions.advancedFilterParent.advancedFilterBuilderParams.advancedFilterParams.formulaDataSource.formulaFuncs.initialState.autoSizeStrategy.selectionColumnDef.findOptions.filterHandlers.groupHierarchyConfig`.split(`.`),gh=[`sortLine truncated
If you want to hide the page size selector, set paginationPageSizeSelector to false.`}},pivotMode:{dependencies:{treeData:{required:[!1,void 0],reason:`Pivot Mode is not supported with Tree Data.`}}},quickFilterText:{supportedRowModels:[`clientSide`]},rowBuffer:{validate({rowBuffer:e}){return wh(`rowBuffer`,e,0)}},rowClass:{validate:e=>typeof e.rowClass==`function`?`rowClass should not be a function, please use getRowClass instead`:null},rowData:{supportedRowModels:[`clientSide`]},rowDragManaged:{supportedRowModels:[`clientSide`],dependencies:{pagination:{required:[!1,void 0]}}},rowSelection:{validate({rowSelection:e}){return e&&typeof e==`string`?'As of version 32.2.1, using `rowSelection` with the values "single" or "multiple" has been deprecated. Use the object value instead.':e&&typeof e!=`object`?"Expected `RowSelectionOptions` object for the `rowSelection` property.":e&&e.mode!==`multiRow`&&e.mode!==`singleRow`?`Selection mode "${e.mode}" is invalid. Use one of 'singleRow' or 'multiRow'.`:null}},rowStyle:{validate:e=>{let t=e.rowStyle;return t&&typeof t==`function`?`rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead`:null}},serverSideDatasource:{supportedRowModels:[`serverSide`]},serverSideInitialRowCount:{supportedRowModels:[`serverSide`],validate({serverSideInitialRowCount:e}){return wh(`serverSideInitialRowCount`,e,1)}},serverSideOnlyRefreshFilteredGroups:{supportedRowModels:[`serverSide`]},serverSideSortAllLevels:{supportedRowModels:[`serverSide`]},sortingOrder:{validate:e=>{let t=e.sortingOrder;if(Array.isArray(t)&&t.length>0){let e=t.filter(e=>!L(e));if(e.length>0)return`sortingOrder must be an array of type (SortDirection | SortDef)[], incorrect items are: ${e.map(e=>typeof e==`string`||e==null?Nn(e):JSON.stringify(e))}]`}else if(!Array.isArray(t)||!t.length)return`sortingOrder must be an array with at least one element, currently it's ${t}`;return null}},tooltipHideDelay:{validate:e=>e.tooltipHideDelay&&e.tooltipHideDelay<0?`tooltipHideDelay should not be lower than 0`:null},tooltipShowDelay:{validate:e=>e.tooltipShowDelay&&e.tooltipShowDelay<0?`tooltipShowDelay should not be lower than 0`:null},tooltipSwitchShowDelay:{validate:e=>e.tooltipSwitchShowDelay&&e.tooltipSwitchShowDelay<0?`tooltipSwitchShowDelay should not be lower than 0`:null},treeData:{supportedRowModels:[`clientSide`,`serverSide`],validate:e=>{let t=e.rowModelType??`clientSide`;switch(t){case`clientSide`:{let{treeDataChildrenField:t,treeDataParentIdField:n,getDataPath:r,getRowId:i}=e;if(!t&&!n&&!r)return`treeData requires either 'treeDataChildrenField' or 'treeDataParentIdField' or 'getDataPath' in the clientSide row model.`;if(t){if(r)return`Cannot use both 'treeDataChildrenField' and 'getDataPath' at the same time.`;if(n)return`Cannot use both 'treeDataChildrenField' and 'treeDataParentIdField' at the same time.`}if(n){if(!i)return`getRowId callback not provided, tree data with parent id cannot be built.`;if(r)return`Cannot use both 'treeDataParentIdField' and 'getDataPath' at the same time.`}return null}case`serverSide`:{let n=`treeData requires 'isServerSideGroup' and 'getServerSideGroupKey' in the ${t} row model.`;return e.isServerSideGroup&&e.getServerSideGroupKey?null:n}}return null}},viewportDatasource:{supportedRowModels:[`viewport`]},viewportRowModelBufferSize:{validate({viewportRowModelBufferSize:e}){return wh(`viewportRowModelBufferSize`,e,0)}},viewportRowModelPageSize:{validate({viewportRowModelPageSize:e}){return wh(`viewportRowModelPageSize`,e,1)}},rowDragEntireRow:{dependencies:{cellSelection:{required:[void 0]}}},autoGroupColumnDef:{validate({autoGroupColumnDef:e,showOpenedGroup:t}){return e?.field&&t?`autoGroupColumnDef.field and showOpenedGroup are not supported when used together.`:e?.valueGetter&&t?`autoGroupColumnDef.valueGetter and showOpenedGroup are not supported when used together.`:null}},renderingMode:{validate:e=>{let t=e.renderingMode,n=[`default`,`legacy`];return t&&!n.includes(t)?`renderingMode must be one of [${n.join()}], currently it's ${t}`:null}},autoSizeStrategy:{validate:({autoSizeStrategy:e})=>{if(!e)return null;let t=[`fitCellContents`,`fitGridWidth`,`fitProvidedWidth`],n=e.type;return n!==`fitCellContents`&&n!==`fitGridWidth`&&n!==`fitProvidedWidth`?`Invalid Auto-size strategy. \`autoSizeStrategy\` must be one of ${t.map(e=>`"`+e+`"`).join(`, `)}, currently it's ${n}`:n===`fitProvidedWidth`&&typeof e.width!=`number`?`When using the 'fitProvidedWidth' auto-size strategy, must provide a numeric \`width\`. You provided ${e.width}`:null}}},t={};for(let e of bh)t[e]={expectedType:`boolean`};for(let e of _h)t[e]={expectedType:`number`};return A(t,e),t},Dh=()=>({objectName:`gridOptions`,allProperties:[...Sh(),...Object.values(ah)],propertyExceptions:[`api`],docsUrl:`grid-options/`,deprecations:Ch(),validations:Eh()}),Oh=0,kh=0,Ah=`__ag_grid_instance`,jh=class extends k{constructor(){super(...arguments),this.beanName=`gos`,this.domLine truncated
import { ModuleRegistry, AllCommunityModule } from 'ag-grid-community';
ModuleRegistry.registerModules([ AllCommunityModule ]);
`,$_=e=>{let t=e.map(e=>`import { ${ev(e)} } from '${q_[e]?`ag-grid-enterprise`:`ag-grid-community`}';`);return e.some(e=>e===`IntegratedCharts`||e===`Sparklines`)&&t.push(`import { AgChartsEnterpriseModule } from 'ag-charts-enterprise';`),`import { ModuleRegistry } from 'ag-grid-community';
${t.join(`
`)}
ModuleRegistry.registerModules([ ${e.map(e=>ev(e,!0)).join(`, `)} ]);
For more info see: ${En}/modules/`};function ev(e,t=!1){return t&&(e===`IntegratedCharts`||e===`Sparklines`)?`${e}Module.with(AgChartsEnterpriseModule)`:`${e}Module`}function tv(e,t){let n=t.filter(e=>e===`IntegratedCharts`||e===`Sparklines`),r=``;return!globalThis?.agCharts&&n.length>0?r=`Unable to use ${e} as either the ag-charts-community or ag-charts-enterprise script needs to be included alongside ag-grid-enterprise.
`:t.some(e=>q_[e])&&(r+=`Unable to use ${e} as that requires the ag-grid-enterprise script to be included.
`),r}function nv({moduleName:e,rowModelType:t}){return`To use the ${e}Module you must set the gridOption "rowModelType='${t}'"`}var rv=({reasonOrId:e,moduleName:t,gridScoped:n,gridId:r,rowModelType:i,additionalText:a,isUmd:o})=>{let s=Z_(t,i),c=typeof e==`string`?e:cv[e];if(o)return tv(c,s);let l=s.filter(e=>e===`IntegratedCharts`||e===`Sparklines`),u=l.length>0?`${l.map(e=>ev(e)).join()} must be initialised with an AG Charts module. One of 'AgChartsCommunityModule' / 'AgChartsEnterpriseModule'.`:``;return`${`Unable to use ${c} as ${s.length>1?`one of `+s.map(e=>ev(e)).join(`, `):ev(s[0])} is not registered${n?` for gridId: `+r:``}. ${u} Check if you have registered the module:
`}
${$_(s)}`+(a?`
${a}`:``)},iv=e=>`${e} must be initialised with an AG Charts module. One of 'AgChartsCommunityModule' / 'AgChartsEnterpriseModule'.
import { AgChartsEnterpriseModule } from 'ag-charts-enterprise';
import { ModuleRegistry } from 'ag-grid-community';
import { ${e} } from 'ag-grid-enterprise';
ModuleRegistry.registerModules([${e}.with(AgChartsEnterpriseModule)]);
`,av=e=>`AG Grid: Unable to use the Clipboard API (navigator.clipboard.${e}()). The reason why it could not be used has been logged in the previous line. For this reason the grid has defaulted to using a workaround which doesn't perform as well. Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.`,ov={1:()=>"`rowData` must be an array",2:({nodeId:e})=>`Duplicate node id '${e}' detected from getRowId callback, this could cause issues in your grid.`,3:()=>`Calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.`,4:({id:e})=>`Could not find row id=${e}, data item was not found for this id`,5:({data:e})=>[`Could not find data item as object was not found.`,e,` Consider using getRowId to help the Grid find matching row data`],6:()=>`'groupHideOpenParents' only works when specifying specific columns for 'colDef.showRowGroup'`,7:()=>`Pivoting is not supported with aligned grids as it may produce different columns in each grid.`,8:({key:e})=>`Unknown key for navigation ${e}`,9:({variable:e})=>`No value for ${e?.cssName}. This usually means that the grid has been initialised before styles have been loaded. The default value of ${e?.defaultValue} will be used and updated when styles load.`,10:({eventType:e})=>`As of v33, the '${e}' event is deprecated. Use the global 'modelUpdated' event to determine when row children have changed.`,11:()=>`No gridOptions provided to createGrid`,12:({colKey:e})=>[`column `,e,` not found`],13:()=>`Could not find rowIndex, this means tasks are being executed on a rowNode that has been removed from the grid.`,14:({groupPrefix:e})=>`Row IDs cannot start with ${e}, this is a reserved prefix for AG Grid's row grouping feature.`,15:({expression:e})=>[`value should be either a string or a function`,e],16:({expression:e,params:t,e:n})=>[`Processing of the expression failed`,`Expression = `,e,`Params = `,t,`Exception = `,n],17:()=>`you need either field or valueSetter set on colDef for editing to work`,18:()=>`alignedGrids contains an undefined option.`,19:()=>`alignedGrids - No api found on the linked grid.`,20:()=>`You may want to configure via a callback to avoid setup race conditions:
"alignedGrids: () => [linkedGrid]"`,21:()=>`pivoting is not supported with aligned grids. You can only use one of these features at a time in a grid.`,22:({key:e})=>`${e} is an initial property and cannot be updated.`,23:()=>"The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead.",24:()=>`row height must be a number if not using standard row model`,25:({id:e})=>[`The getRowId callback must return a string. The ID `,e,` is being cast to a string.`],26:({fnName:e,preDestroyLink:t})=>`Grid API function ${e}() cannot be called as the grid has been destroyed.
Either clear local references to the grid api, when it is destroyed, or check gridApi.isDestroyed() to avoid calling methods against a destroyed grid.
To run logic when the grid is about to be destroyed use the gridPreDestroy event. See: ${t}`,27:({fnName:e,module:t})=>`API function '${e}' not registered to module '${t}'`,28:()=>`setRowCount cannot be used while using row grouping.`,29:()=>`tried to call sizeColumnsToFit() but the grid is coming back with zero width, maybe the grid is not visible yet on the screen?`,30:({toIndex:e})=>[`tried to insert columns in invalid location, toIndex = `,e,`remember that you should not count the moving columns when calculating the new index`],31:()=>`infinite loop in resizeColumnSets`,32:()=>`applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state.`,33:()=>`stateItem.aggFunc must be a string. if using your own aggregation functions, register the functions first before using them in get/set state. This is because it is intended for the column state to be stored and retrieved as simple JSON.`,34:({key:e})=>`the column type '${e}' is a default column type and cannot be overridden.`,35:()=>`Column type definitions 'columnTypes' with a 'type' attribute are not supported because a column type cannot refer to another column type. Only column definitions 'columnDefs' can use the 'type' attribute to refer to a column type.`,36:({t:e})=>`colDef.type '`+e+`' does not correspond to defined gridOptions.columnTypes`,37:()=>`Changing the column pinning status is not allowed with domLayout='print'`,38:({iconName:e})=>`provided icon '${e}' needs to be a string or a function`,39:()=>`Applying column order broke a group where columns should be married together. Applying new order has been discarded.`,40:({e,method:t})=>`${e}
${av(t)}`,41:()=>`Browser did not allow document.execCommand('copy'). Ensure 'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise the browser will prevent it for security reasons.`,42:()=>`Browser does not support document.execCommand('copy') for clipboard operations`,43:({iconName:e})=>`As of v33, icon '${e}' is deprecated. Use the icon CSS name instead.`,44:()=>`Data type definition hierarchies (via the "extendsDataType" property) cannot contain circular references.`,45:({parentCellDataType:e})=>`The data type definition ${e} does not exist.`,46:()=>`The "baseDataType" property of a data type definition must match that of its parent.`,47:({cellDataType:e})=>`Missing data type definition - "${e}"`,48:({property:e})=>`Cell data type is "object" but no Value ${e} has been provided. Please either provide an object data type definition with a Value ${e}, or set "colDef.value${e}"`,49:({methodName:e})=>`Framework component is missing the method ${e}()`,50:({compName:e})=>`Could not find component ${e}, did you forget to configure this component?`,51:()=>`Export cancelled. Export is not allowed as per your configuration.`,52:()=>"There is no `window` associated with the current `document`",53:()=>`unknown value type during csv conversion`,54:()=>`Could not find document body, it is needed for drag and drop and context menu.`,55:()=>`addRowDropZone - A container target needs to be provided`,56:()=>"addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.",57:()=>`unable to show popup filter, filter instantiation failed`,58:()=>`no values found for select cellEditor`,59:()=>`cannot select pinned rows`,60:()=>`cannot select node until it has finished loading`,61:()=>"since version v32.2.0, rowNode.isFullWidthCell() has been deprecated. Instead check `rowNode.detail` followed by the user provided `isFullWidthRow` grid option.",62:({colId:e})=>`setFilterModel() - no column found for colId: ${e}`,63:({colId:e})=>`setFilterModel() - unable to fully apply model, filtering disabled for colId: ${e}`,64:({colId:e})=>`setFilterModel() - unable to fully apply model, unable to create filter for colId: ${e}`,65:()=>`filter missing setModel method, which is needed for setFilterModel`,66:()=>`filter API missing getModel method, which is needed for getFilterModel`,67:()=>`Filter is missing isFilterActive() method`,68:()=>`Column Filter API methods have been disabled as Advanced Filters are enabled.`,69:({guiFromFilter:e})=>`getGui method from filter returned ${e}; it should be a DOM element.`,70:({newFilter:e})=>`Grid option quickFilterText only supports string inputs, received: ${typeof e}`,71:()=>`debounceMs is ignored when apply button is present`,72:({keys:e})=>[`ignoring FilterOptionDef as it doesn't contain one of `,e],73:()=>`invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'`,74:()=>`no filter options for filter`,75:()=>`Unknown button type specified`,76:({filterModelType:e})=>[`Unexpected type of filter "`,e,`", it looks like the filter was configured with incorrect Filter Options`],77:()=>`Filter model is missing 'conditions'`,78:()=>`Filter Model contains more conditions than "filterParams.maxNumConditions". Additional conditions have been ignored.`,79:()=>`"filterParams.maxNumConditions" must be greater than or equal to zero.`,80:()=>`"filterParams.numAlwaysVisibleConditions" must be greater than or equal to zero.`,81:()=>`"filterParams.numAlwaysVisibleConditions" cannot be greater than "filterParams.maxNumConditions".`,82:({param:e})=>`DateFilter ${e} is not a number`,83:()=>`DateFilter minValidYear should be <= maxValidYear`,84:()=>`DateFilter minValidDate should be <= maxValidDate`,85:()=>`DateFilter should not have both minValidDate and minValidYear parameters set at the same time! minValidYear will be ignored.`,86:()=>`DateFilter should not have both maxValidDate and maxValidYear parameters set at the same time! maxValidYear will be ignored.`,87:()=>`DateFilter parameter minValidDate should always be lower than or equal to parameter maxValidDate.`,88:({index:e})=>`Invalid row index for ensureIndexVisible: ${e}`,89:()=>`A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)`,90:()=>`datasource is missing getRows method`,91:()=>`Filter is missing method doesFilterPass`,92:()=>`AnimationFrameService called but animation frames are off`,93:()=>"cannot add multiple ranges when `cellSelection.suppressMultiRanges = true`",94:({paginationPageSizeOption:e,pageSizeSet:t,pageSizesSet:n,pageSizeOptions:r})=>`'paginationPageSize=${e}'${t?``:` (default value)`}, but ${e} is not included in${n?``:` the default`} paginationPageSizeSelector=[${r?.join(`, `)}].`,95:({paginationPageSizeOption:e,paginationPageSizeSelector:t})=>`Either set '${t}' to an array that includes ${e} or to 'false' to disable the page size selector.`,96:({id:e,data:t})=>[`Duplicate ID`,e,`founLine truncated
`),a.length>0&&i.push(` Did you mean: [${a.slice(0,3)}]?
`),i.push(`If using a custom component check it has been registered correctly.`),i},102:()=>`selectAll: 'filtered' only works when gridOptions.rowModelType='clientSide'`,103:()=>"Invalid selection state. When using client-side row model, the state must conform to `string[]`.",104:({value:e,param:t})=>`Numeric value ${e} passed to ${t} param will be interpreted as ${e} seconds. If this is intentional use "${e}s" to silence this warning.`,105:({e})=>[`chart rendering failed`,e],106:()=>`Theming API and Legacy Themes are both used in the same page. A Theming API theme has been provided to the 'theme' grid option, but the file (ag-grid.css) is also included and will cause styling issues. Remove ag-grid.css from the page. See the migration guide: ${En}/theming-migration/`,107:({key:e,value:t})=>`Invalid value for theme param ${e} - ${t}`,108:({e})=>[`chart update failed`,e],109:({inputValue:e,allSuggestions:t})=>{let n=G_({inputValue:e,allSuggestions:t,hideIrrelevant:!0,filterByPercentageOfBestMatch:.8}).values;return[`Could not find '${e}' aggregate function. It was configured as "aggFunc: '${e}'" but it wasn't found in the list of registered aggregations.`,n.length>0?` Did you mean: [${n.slice(0,3)}]?`:``,`If using a custom aggregation function check it has been registered correctly.`].join(`
`)},110:()=>`groupHideOpenParents only works when specifying specific columns for colDef.showRowGroup`,111:()=>"Invalid selection state. When `groupSelects` is enabled, the state must conform to `IServerSideGroupSelectionState`.",113:()=>`Set Filter cannot initialise because you are using a row model that does not contain all rows in the browser. Either use a different filter type, or configure Set Filter such that you provide it with values`,114:({component:e})=>`Could not find component with name of ${e}. Is it in Vue.components?`,116:()=>"Invalid selection state. The state must conform to `IServerSideSelectionState`.",117:()=>`selectAll must be of boolean type.`,118:()=>`Infinite scrolling must be enabled in order to set the row count.`,119:()=>`Unable to instantiate filter`,120:()=>`MultiFloatingFilterComp expects MultiFilter as its parent`,121:()=>`a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (see AG Grid docs) or b) to toString() on the object to return a key`,122:()=>`could not find the document, document is empty`,123:()=>`Advanced Filter is only supported with the Client-Side Row Model or Server-Side Row Model.`,124:()=>`No active charts to update.`,125:({chartId:e})=>`Unable to update chart. No active chart found with ID: ${e}.`,126:()=>`unable to restore chart as no chart model is provided`,127:({allRange:e})=>`unable to create chart as ${e?`there are no columns in the grid`:`no range is selected`}.`,128:({feature:e})=>`${e} is only available if using 'multiRow' selection mode.`,129:({feature:e,rowModel:t})=>`${e} is only available if using 'clientSide' or 'serverSide' rowModelType, you are using ${t}.`,130:()=>`cannot multi select unless selection mode is "multiRow"`,132:()=>"Row selection features are not available unless `rowSelection` is enabled.",133:({iconName:e})=>`icon '${e}' function should return back a string or a dom object`,134:({iconName:e})=>`Did not find icon '${e}'`,135:()=>`Data type of the new value does not match the cell data type of the column`,136:()=>`Unable to update chart as the 'type' is missing. It must be either 'rangeChartUpdate', 'pivotChartUpdate', or 'crossFilterChartUpdate'.`,137:({type:e,currentChartType:t})=>`Unable to update chart as a '${e}' update type is not permitted on a ${t}.`,138:({chartType:e})=>`invalid chart type supplied: ${e}`,139:({customThemeName:e})=>`a custom chart theme with the name ${e} has been supplied but not added to the 'chartThemes' list`,140:({name:e})=>`no stock theme exists with the name '${e}' and no custom chart theme with that name was supplied to 'customChartThemes'`,141:()=>`cross filtering with row grouping is not supported.`,142:()=>`cross filtering is only supported in the client side row model.`,143:({panel:e})=>`'${e}' is not a valid Chart Tool Panel name`,144:({type:e})=>`Invalid charts data panel group name supplied: '${e}'`,145:({group:e})=>`As of v32, only one charts customize panel group can be expanded at a time. '${e}' will not be expanded.`,146:({comp:e})=>`Unable to instantiate component '${e}' as its module hasn't been loaded. Add 'ValidationModule' to see which module is required.`,147:({group:e})=>`Invalid charts customize panel group name supplied: '${e}'`,148:({group:e})=>`invalid chartGroupsDef config '${e}'`,149:({group:e,chartType:t})=>`invalid chartGroupsDef config '${e}.${t}'`,150:()=>`'seriesChartTypes' are required when the 'customCombo' chart type is specified.`,151:({chartType:e})=>`invalid chartType '${e}' supplied in 'seriesChartTypes', converting to 'line' instead.`,152:({colId:e})=>`no 'seriesChartType' found for colId = '${e}', defaulting to 'line'.`,153:({chartDataType:e})=>`unexpected chartDataType value '${e}' supplied, instead use 'category', 'series' or 'excluded'`,154:({colId:e})=>`cross filtering requires a 'agSetColumnFilter' or 'agMultiColumnFilter' to be defined on the column with id: ${e}`,155:({option:e})=>`'${e}' is not a valid Chart Toolbar Option`,156:({panel:e})=>`Invalid panel in chartToolPanelsDef.panels: '${e}'`,157:({unrecognisedGroupIds:e})=>[`unable to find group(s) for supplied groupIds:`,e],158:()=>`can not expand a column item that does not represent a column group header`,159:()=>"Invalid params supplied to createExcelFileForExcel() - `ExcelExportParams.data` is empty.",160:()=>`Export cancelled. Export is not allowed as per your configuration.`,161:()=>`The Excel Exporter is currently on Multi Sheet mode. End that operation by calling 'api.getMultipleSheetAsExcel()' or 'api.exportMultipleSheetsAsExcel()'`,162:({id:e,dataType:t})=>`Unrecognized data type for excel export [${e}.dataType=${t}]`,163:({featureName:e})=>`Excel table export does not work with ${e}. The exported Excel file will not contain any Excel tables.
Please turn off ${e} to enable Excel table exports.`,164:()=>`Unable to add data table to Excel sheet: A table already exists.`,165:()=>`Unable to add data table to Excel sheet: Missing required parameters.`,166:({unrecognisedGroupIds:e})=>[`unable to find groups for these supplied groupIds:`,e],167:({unrecognisedColIds:e})=>[`unable to find columns for these supplied colIds:`,e],168:()=>`detailCellRendererParams.template should be function or string`,169:()=>`Reference to eDetailGrid was missing from the details template. Please add data-ref="eDetailGrid" to the template.`,170:({providedStrategy:e})=>`invalid cellRendererParams.refreshStrategy = ${e} supplied, defaulting to refreshStrategy = 'rows'.`,171:()=>`could not find detail grid options for master detail, please set gridOptions.detailCellRendererParams.detailGridOptions`,172:()=>`could not find getDetailRowData for master / detail, please set gridOptions.detailCellRendererParams.getDetailRowData`,173:({group:e})=>`invalid chartGroupsDef config '${e}'`,174:({group:e,chartType:t})=>`invalid chartGroupsDef config '${e}.${t}'`,175:({menuTabName:e,itemsToConsider:t})=>[`Trying to render an invalid menu item '${e}'. Check that your 'menuTabs' contains one of `,t],176:({key:e})=>`unknown menu item type ${e}`,177:()=>`valid values for cellSelection.handle.direction are 'x', 'y' and 'xy'. Default to 'xy'.`,178:({colId:e})=>`column ${e} is not visible`,179:()=>`totalValueGetter should be either a function or a string (expression)`,180:()=>`agRichSelectCellEditor requires cellEditorParams.values to be set`,181:()=>"agRichSelectCellEditor cannot have `multiSelect` and `allowTyping` set to `true`. AllowTyping has been turned off.",182:()=>`you cannot mix groupDisplayType = "multipleColumns" with treeData, only one column can be used to display groups when doing tree data`,183:()=>`Group Column Filter only works on group columns. Please use a different filter.`,184:({parentGroupData:e,childNodeData:t})=>[`duplicate group keys for row data, keys should be unique`,[e,t]],185:({data:e})=>[`getDataPath() should not return an empty path`,[e]],186:({rowId:e,rowData:t,duplicateRowsData:n})=>[`duplicate group keys for row data, keys should be unique`,e,t,...n??[]],187:({rowId:e,firstData:t,secondData:n})=>[`Duplicate node id ${e}. Row IDs are provided via the getRowId() callback. Please modify the getRowId() callback code to provide unique row id values.`,`first instance`,t,`second instance`,n],188:e=>`getRowId callback must be provided for Server Side Row Model ${e?.feature||`selection`} to work correctly.`,189:({startRow:e})=>`invalid value ${e} for startRow, the value should be >= 0`,190:({rowGroupId:e,data:t})=>[`null and undefined values are not allowed for server side row model keys`,e?`column = ${e}`:``,`data is `,t],194:({method:e})=>`calling gridApi.${e}() is only possible when using rowModelType=\`clientSide\`.`,195:({justCurrentPage:e})=>`selecting just ${e?`current page`:`filtered`} only works when gridOptions.rowModelType='clientSide'`,196:({key:e})=>`Provided ids must be of string type. Invalid id provided: ${e}`,197:()=>"`toggledNodes` must be an array of string ids.",199:()=>"getSelectedNodes and getSelectedRows functions cannot be used with select all functionality with the server-side row model. Use `api.getServerSideSelectionState()` instead.",200:rv,201:({rowModelType:e})=>`Could not find row model for rowModelType = ${e}`,202:()=>"`getSelectedNodes` and `getSelectedRows` functions cannot be used with `groupSelectsChildren` and the server-side row model. Use `api.getServerSideSelectionState()` instead.",203:()=>`Server Side Row Model does not support Dynamic Row Height and Cache Purging. Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.`,204:()=>`Server Side Row Model does not support Auto Row Height and Cache Purging. Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.`,205:({duplicateIdText:e})=>`Unable to display rows as duplicate row ids (${e}) were returned by the getRowId callback. Please modify the getRowId callback to provide unique ids.`,206:()=>`getRowId callback must be implemented for transactions to work. Transaction was ignored.`,207:()=>`The Set Filter Parameter "defaultToNothingSelected" value was ignored because it does not work when "excelMode" is used.`,208:()=>`Set Filter Value Formatter must return string values. Please ensure the Set Filter Value Formatter returns string values for complex objects.`,209:()=>`Set Filter Key Creator is returning null for provided values and provided values are primitives. Please provide complex objects. See ${En}/filter-set-filter-list/#filter-value-types`,210:()=>`Set Filter has a Key Creator, but provided values are primitives. Did you mean to provide complex objects?`,211:()=>`property treeList=true for Set Filter params, but you did not provide a treeListPathGetter or values of type Dat Line truncated
Please rebuild the selection state and reapply it.`,248:()=>`SetFloatingFilter expects SetFilter as its parent`,249:()=>`Must supply a Value Formatter in Set Filter params when using a Key Creator`,250:()=>"Must supply a Key Creator in Set Filter params when `treeList = true` on a group column, and Tree Data or Row Grouping is enabled.",251:({chartType:e})=>`AG Grid: Unable to create chart as an invalid chartType = '${e}' was supplied.`,252:()=>`cannot get grid to draw rows when it is in the middle of drawing rows.
Your code probably called a grid API method while the grid was in the render stage.
To overcome this, put the API call into a timeout, e.g. instead of api.redrawRows(), call setTimeout(function() { api.redrawRows(); }, 0).
To see what part of your code that caused the refresh check this stacktrace.`,253:({version:e})=>[`Illegal version string: `,e],254:()=>`Cannot create chart: no chart themes available.`,255:({point:e})=>`Lone surrogate U+${e?.toString(16).toUpperCase()} is not a scalar value`,256:()=>`Unable to initialise. See validation error, or load ValidationModule if missing.`,257:()=>iv(`IntegratedChartsModule`),258:()=>iv(`SparklinesModule`),259:({part:e})=>`the argument to theme.withPart must be a Theming API part object, received: ${e}`,260:({propName:e,compName:t,gridScoped:n,gridId:r,rowModelType:i})=>rv({reasonOrId:`AG Grid '${e}' component: ${t}`,moduleName:oh[t],gridId:r,gridScoped:n,rowModelType:i}),261:()=>"As of v33, `column.isHovered()` is deprecated. Use `api.isColumnHovered(column)` instead.",262:()=>`As of v33, icon key "smallDown" is deprecated. Use "advancedFilterBuilderSelect" for Advanced Filter Builder dropdown, "selectOpen" for Select cell editor and dropdowns (e.g. Integrated Charts menu), "richSelectOpen" for Rich Select cell editor.`,263:()=>`As of v33, icon key "smallLeft" is deprecated. Use "panelDelimiterRtl" for Row Group Panel / Pivot Panel, "subMenuOpenRtl" for sub-menus.`,264:()=>`As of v33, icon key "smallRight" is deprecated. Use "panelDelimiter" for Row Group Panel / Pivot Panel, "subMenuOpen" for sub-menus.`,265:({colId:e})=>`Unable to infer chart data type for column '${e}' if first data entry is null. Please specify "chartDataType", or a "cellDataType" in the column definition. For more information, see ${En}/integrated-charts-range-chart#coldefchartdatatype .`,266:()=>`As of v33.1, using "keyCreator" with the Rich Select Editor has been deprecated. It now requires the "formatValue" callback to convert complex data to strings.`,267:()=>"Detail grids can not use a different theme to the master grid, the `theme` detail grid option will be ignored.",268:()=>`Transactions aren't supported with tree data when using treeDataChildrenField`,269:()=>"When `masterSelects: 'detail'`, detail grids must be configured with multi-row selection",270:({id:e,parentId:t})=>`Cycle detected for row with id='${e}' and parent id='${t}'. Resetting the parent for row with id='${e}' and showing it as a root-level node.`,271:({id:e,parentId:t})=>`Parent row not found for row with id='${e}' and parent id='${t}'. Showing row with id='${e}' as a root-level node.`,272:()=>Q_(),273:({providedId:e,usedId:t})=>`Provided column id '${e}' was already in use, ensure all column and group ids are unique. Using '${t}' instead.`,274:({prop:e})=>{let t=`Since v33, ${e} has been deprecated.`;switch(e){case`maxComponentCreationTimeMs`:t+=` This property is no longer required and so will be removed in a future version.`;break;case`setGridApi`:t+=` This method is not called by AG Grid. To access the GridApi see: https://ag-grid.com/react-data-grid/grid-interface/#grid-api `;break;case`children`:t+=` For multiple versions AgGridReact does not support children.`;break}return t},275:nv,276:()=>"Row Numbers Row Resizer cannot be used when Grid Columns have `autoHeight` enabled.",277:({colId:e})=>`'enableFilterHandlers' is set to true, but column '${e}' does not have 'filter.doesFilterPass' or 'filter.handler' set.`,278:({colId:e})=>`Unable to create filter handler for column '${e}'`,279:e=>{},280:({colId:e})=>`'name' must be provided for custom filter components for column '${e}`,281:({colId:e})=>`Filter for column '${e}' does not have 'filterParams.buttons', but the new Filters Tool Panel has buttons configured. Either configure buttons for the filter, or disable buttons on the Filters Tool Panel.`,282:()=>"New filter tool panel requires `enableFilterHandlers: true`.",283:()=>"As of v34, use the same method on the filter handler (`api.getColumnFilterHandler(colKey)`) instead.",284:()=>"As of v34, filters are active when they have a model. Use `api.getColumnFilterModel()` instead.",285:()=>"As of v34, use (`api.getColumnFilterModel()`) instead.",286:()=>"As of v34, use (`api.setColumnFilterModel()`) instead.",287:()=>"`api.doFilterAction()` requires `enableFilterHandlers = true",288:()=>"`api.getColumnFilterModel(key, true)` requires `enableFilterHandlers = true",289:({rowModelType:e})=>`Row Model '${e}' is not supported with Batch Editing`,290:({rowIndex:e,rowPinned:t})=>`Row with index '${e}' and pinned state '${t}' not found`,291:()=>`License Key being set multiple times with different values. This can result in an incorrect license key being used,`,292:({colId:e})=>`The Multi Filter for column '${e}' has buttons configured against the child filters. When 'enableFilterHandlers=true', buttons must instead be provided against the parent Multi Filter params. The child filter buttons will be ignored.`,293:()=>`The grid was initialised detached from the DOM and was then inserted into a Shadow Root. Theme styles are probably broken. Pass the themeStyleContainer grid option to let the grid know where in the document to insert theme CLine truncated
See ${In(e,t)}`;return Array.isArray(r)?r.concat(i):[r,i]}var cv={1:`Charting Aggregation`,2:`pivotResultFields`,3:`setTooltip`},lv=class{constructor(e=`javascript`){this.frameworkName=e,this.renderingEngine=`vanilla`,this.batchFrameworkComps=!1,this.wrapIncoming=e=>e(),this.wrapOutgoing=e=>e(),this.baseDocLink=`${$t}/${this.frameworkName}-data-grid`,On(this.baseDocLink)}frameworkComponent(e){return null}isFrameworkComponent(e){return!1}getDocLink(e){return this.baseDocLink+(e?`/`+e:``)}},uv=new WeakMap,dv=new WeakMap;function fv(e,t,n){if(!t)return N(11),{};let r=n,i;if(!r?.setThemeOnGridDiv){let t=V({tag:`div`});t.style.height=`100%`,e.appendChild(t),e=t,i=()=>e.remove()}return new mv().create(e,t,t=>{let n=new fu(e);t.createBean(n)},void 0,n,i)}var pv=1,mv=class{create(e,t,n,r,i,a){let o=Xt.applyGlobalGridOptions(t),s=o.gridId??String(pv++),c=this.getRegisteredModules(i,s,o.rowModelType),l=this.createBeansList(o.rowModelType,c,s),u=this.createProvidedBeans(e,o,i);if(!l)return;let d=new Ic({providedBeanInstances:u,beanClasses:l,id:s,beanInitComparator:zc,beanDestroyComparator:Bc,derivedBeans:[Lc],destroyCallback:()=>{dv.delete(f),uv.delete(e),mn(s),a?.()}});this.registerModuleFeatures(d,c),n(d),d.getBean(`syncSvc`).start(),r?.(d);let f=d.getBean(`gridApi`);return uv.set(e,f),dv.set(f,e),f}getRegisteredModules(e,t,n){return pn(W_,void 0,!0),e?.modules?.forEach(e=>pn(e,t)),_n(t,hv(n))}registerModuleFeatures(e,t){let n=e.getBean(`registry`),r=e.getBean(`apiFunctionSvc`);for(let e of t){n.registerModule(e);let t=e.apiFunctions;if(t){let e=Object.keys(t);for(let n of e)r?.addFunction(n,t[n])}}}createProvidedBeans(e,t,n){let r=n?n.frameworkOverrides:null;l(r)&&(r=new lv);let i={gridOptions:t,eGridDiv:e,eRootDiv:e,globalListener:n?n.globalListener:null,globalSyncListener:n?n.globalSyncListener:null,frameworkOverrides:r};return n?.providedBeanInstances&&Object.assign(i,n.providedBeanInstances),i}createBeansList(e,t,n){let r={clientSide:`ClientSideRowModel`,infinite:`InfiniteRowModel`,serverSide:`ServerSideRowModel`,viewport:`ViewportRowModel`},i=hv(e),a=r[i];if(!a){Rn(201,{rowModelType:i},`Unknown rowModelType ${i}.`);return}if(!yn()){Rn(272,void 0,Q_());return}if(!e){let e=Object.entries(r).filter(([e,t])=>hn(t,n,e));if(e.length==1){let[t,n]=e[0];if(t!==i){let e={moduleName:n,rowModelType:t};Rn(275,e,nv(e));return}}}if(!hn(a,n,i)){let e=bn(),t=`rowModelType = '${i}'`,r=e?`Unable to use ${t} as that requires the ag-grid-enterprise script to be included.
`:`Missing module ${a}Module for rowModelType ${i}.`;Rn(200,{reasonOrId:t,moduleName:a,gridScoped:gn(),gridId:n,rowModelType:i,isUmd:e},r);return}let o=new Set;for(let e of t)for(let t of e.beans??[])o.add(t);return Array.from(o)}};function hv(e){return e??`clientSide`}function gv(e,t={}){let n=t?t.rowNodes:void 0;e.frameworkOverrides.wrapIncoming(()=>e.rowRenderer.redrawRows(n))}function _v(e,t,n,r,i){t&&(r&&t.parent&&t.parent.level!==-1&&_v(e,t.parent,n,r,i),t.setExpanded(n,void 0,i))}function vv(e,t){return e.rowModel.getRowNode(t)}function yv(e,t,n,r){e.rowRenderer.addRenderedRowListener(t,n,r)}function bv(e){return e.rowRenderer.getRenderedNodes()}function xv(e,t,n){e.rowModel.forEachNode(t,n)}function Sv(e){return e.rowRenderer.firstRenderedRow}function Cv(e){return e.rowRenderer.lastRenderedRow}function wv(e,t){return e.rowModel.getRow(t)}function Tv(e){return e.rowModel.getRowCount()}function Ev(e){return e.ctrlsSvc.getScrollFeature().getVScrollPosition()}function Dv(e){return e.ctrlsSvc.getScrollFeature().getHScrollPosition()}function Ov(e,t,n=`auto`){e.frameworkOverrides.wrapIncoming(()=>e.ctrlsSvc.getScrollFeature().ensureColumnVisible(t,n),`ensureVisible`)}function kv(e,t,n){e.frameworkOverrides.wrapIncoming(()=>e.ctrlsSvc.getScrollFeature().ensureIndexVisible(t,n),`ensureVisible`)}function Av(e,t,n=null){e.frameworkOverrides.wrapIncoming(()=>e.ctrlsSvc.getScrollFeature().ensureNodeVisible(t,n),`ensureVisible`)}var jv={moduleName:`RowApi`,version:j,apiFunctions:{redrawRows:gv,setRowNodeExpanded:_v,getRowNode:vv,addRenderedRowListener:yv,getRenderedNodes:bv,forEachNode:xv,getFirstDisplayedRowIndex:Sv,getLastDisplayedRowIndex:Cv,getDisplayedRowAtIndex:wv,getDisplayedRowCount:Tv}},Mv={moduleName:`ScrollApi`,version:j,apiFunctions:{getVerticalPixelRange:Ev,getHorizontalPixelRange:Dv,ensureColumnVisible:Ov,ensureIndexVisible:kv,ensureNodeVisible:Av}};function Nv(e){e.expansionSvc?.expandAll(!0)}function Pv(e){e.expansionSvc?.expandAll(!1)}function Fv(e){e.rowModel?.onRowHeightChanged()}function Iv(e){if(e.rowAutoHeight?.active){M(3);return}e.rowModel?.resetRowHeights()}function Lv(e,t,n){let r=tc(e);if(r){if(e.rowGroupColsSvc?.columns.length===0){if(t<0){N(238);return}r.setRowCount(t,n);return}N(28);return}ec(e)?.setRowCount(t,n)}function Rv(e){return Un(e.gos)?e.rowModel.getBlockStates():e.rowNodeBlockLoader?.getBlockState()??{}}function zv(e){return e.rowModel.isLastRowIndexKnown()}var Bv={moduleName:`CsrmSsrmSharedApi`,version:j,apiFunctions:{expandAll:Nv,collapseAll:Pv}},Vv={moduleName:`RowModelSharedApi`,version:j,apiFunctions:{onRowHeightChanged:Fv,resetRowHeights:Iv}},Hv={moduleName:`SsrmInfiniteSharedApi`,version:j,apiFunctions:{setRowCount:Lv,getCacheBlockState:Rv,isLastRowIndexKnown:zv}},Uv=class extends k{constructor(e){super(),this.rootNode=e,this.nextId=0,this.allNodesMap={},Gv(e)}getRowNode(e){return this.allNodesMap[e]}setNewRowData(e){this.dispatchRowDataUpdateStarted(e),this.destroyAllNodes();let t=Gv(this.rootNode),n=Array(e.length);t._leafs=n;let r=0,i=this.beans.groupStage?.getNestedDataGetter(),a=i?new Set:null,o=(e,t)=>{let s=e.level+1;for(let c=0,l=t.length;c<l;++c){let l=t[c];if(!l)continue;let u=this.createRowNode(l,s,r);if(n[r++]=u,a&&!a.has(l)){a.add(l),u.treeParent=e;let t=i(l);t&&o(u,t)}}};o(t,e),n.length=r}destroyAllNodes(){let{selectionSvc:e,pinnedRowModel:t,groupStage:n}=this.beans;e?.reset(`rowDataChanged`),t?.isManual()&&t.reset(),n?.clearNonLeafs();let r=this.rootNode._leafs;if(r)for(let e=0,t=r.length;e<t;++e)r[e]._destroy(!1);this.allNodesMap=Object.create(null),this.nextId=0}setImmutableRowData(e,t){let{rootNode:n,gos:r}=this;this.dispatchRowDataUpdateStarted(t);let i=lr(r),a=e.changedRowNodes,{adds:o,updates:s}=a,c=new Set,l=[],u=this.beans.groupStage?.getNestedDataGetter(),d=r.get(`suppressMaintainUnsortedOrder`)?void 0:!1,f=-1,p=!1,m=(e,t)=>{if(!d&&d!==void 0){let t=e.sourceRowIndex;d=t<=f,f=t}e.data!==t&&(e.updateData(t),o.has(e)||s.add(e),!e.selectable&&e.isSelected()&&l.push(e))},h=(e,t,n)=>{for(let r=0,a=t.length;r<a;++r){let a=t[r];if(!a)continue;let s=this.getRowNode(i({data:a,level:n}));if(s?(m(s,a),p||=!!u&&s.treeParent!==e):(s=this.createRowNode(a,n),o.add(s)),!u||c.has(s)){c.add(s);continue}c.add(s),s.treeParent=e;let l=u(a);l&&h(s,l,n+1)}};h(n,t,0);let g=this.deleteUnusedNodes(c,a,l,!!e.animate)||d||o.size>0;if(g){let e=n._leafs??=[];d===void 0?Yv(e,c,a):Jv(e,c)&&(a.reordered=!0)}(g||p||s.size)&&(e.rowDataUpdated=!0,this.deselect(l))}deleteUnusedNodes(e,{removals:t},n,r){let i=this.rootNode._leafs;for(let a=0,o=i.length;a<o;a++){let o=i[a];e.has(o)||this.destroyNode(o,r)&&(t.push(o),o.isSelected()&&n.push(o))}return t.length>0}updateRowData(e,t,n){if(this.dispatchRowDataUpdateStarted(e.add),this.beans.groupStage?.getNestedDataGetter())return M(268),{remove:[],update:[],add:[]};let r=[],i=lr(this.gos),a=this.executeRemove(i,e,t,r,n),o=this.executeUpdate(i,e,t,r),s=this.executeAdd(e,t);return this.deselect(r),{remove:a,update:o,add:s}}executeRemove(e Line truncated
`,Ny=class extends jy{constructor(e){super(e),this.config=e,this.isFirstLine=!0,this.result=``;let{suppressQuotes:t,columnSeparator:n}=e;this.suppressQuotes=t,this.columnSeparator=n}addCustomContent(e){e&&(typeof e==`string`?(/^\s*\n/.test(e)||this.beginNewLine(),e=e.replace(/\r?\n/g,My),this.result+=e):e.forEach(e=>{this.beginNewLine(),e.forEach((e,t)=>{t!==0&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(e.data.value||``),e.mergeAcross&&this.appendEmptyCells(e.mergeAcross)})}))}onNewHeaderGroupingRow(){return this.beginNewLine(),{onColumn:this.onNewHeaderGroupingRowColumn.bind(this)}}onNewHeaderGroupingRowColumn(e,t,n,r){n!=0&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(t),this.appendEmptyCells(r)}appendEmptyCells(e){for(let t=1;t<=e;t++)this.result+=this.columnSeparator+this.putInQuotes(``)}onNewHeaderRow(){return this.beginNewLine(),{onColumn:this.onNewHeaderRowColumn.bind(this)}}onNewHeaderRowColumn(e,t){t!=0&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractHeaderValue(e))}onNewBodyRow(){return this.beginNewLine(),{onColumn:this.onNewBodyRowColumn.bind(this)}}onNewBodyRowColumn(e,t,n){t!=0&&(this.result+=this.columnSeparator);let r=this.extractRowCellValue({column:e,node:n,currentColumnIndex:t,accumulatedRowIndex:t,type:`csv`,useRawFormula:!1});this.result+=this.putInQuotes(r.valueFormatted??r.value)}putInQuotes(e){if(this.suppressQuotes)return e;if(e==null)return`""`;let t;return typeof e==`string`?t=e:typeof e.toString==`function`?t=e.toString():(M(53),t=``),`"`+t.replace(/"/g,`""`)+`"`}parse(){return this.result}beginNewLine(){this.isFirstLine||(this.result+=My),this.isFirstLine=!1}},Py=class extends ky{constructor(){super(...arguments),this.beanName=`csvCreator`}getMergedParams(e){let t=this.gos.get(`defaultCsvExportParams`);return Object.assign({},t,e)}export(e){if(this.isExportSuppressed()){M(51);return}let t=()=>{let t=this.getMergedParams(e),n=this.getData(t),r=new Blob([``,n],{type:`text/plain`}),i=t.fileName,a=typeof i==`function`?i(I(this.gos,{})):i;Ay(this.getFileName(a),r)},{overlays:n}=this.beans;n?n.showExportOverlay(t):t()}exportDataAsCsv(e){this.export(e)}getDataAsCsv(e,t=!1){let n=t?Object.assign({},e):this.getMergedParams(e);return this.getData(n)}getDefaultFileExtension(){return`csv`}createSerializingSession(e){let{colModel:t,colNames:n,rowGroupColsSvc:r,valueSvc:i,gos:a}=this.beans,{processCellCallback:o,processHeaderCallback:s,processGroupHeaderCallback:c,processRowGroupCallback:l,suppressQuotes:u,columnSeparator:d,valueFrom:f}=e;return new Ny({colModel:t,colNames:n,valueSvc:i,gos:a,processCellCallback:o||void 0,processHeaderCallback:s||void 0,processGroupHeaderCallback:c||void 0,processRowGroupCallback:l||void 0,suppressQuotes:u||!1,columnSeparator:d||`,`,rowGroupColsSvc:r,valueFrom:f})}isExportSuppressed(){return this.gos.get(`suppressCsvExport`)}};function Fy(e,t){return e.csvCreator?.getDataAsCsv(t)}function Iy(e,t){e.csvCreator?.exportDataAsCsv(t)}var Ly={moduleName:`CsvExport`,version:j,beans:[Py],apiFunctions:{getDataAsCsv:Fy,exportDataAsCsv:Iy},dependsOn:[Oy]},Ry=class extends O{constructor(e,t){super(),this.ctrl=e,t&&(this.beans=t)}postConstruct(){this.refreshTooltip()}setBrowserTooltip(e,t){let n=`title`,r=this.ctrl.getGui();r&&(e!=null&&(e!=``||t)?r.setAttribute(n,e):r.removeAttribute(n))}updateTooltipText(){let{getTooltipValue:e}=this.ctrl;e&&(this.tooltip=e())}createTooltipFeatureIfNeeded(){if(this.tooltipManager==null){let e=this.beans.registry.createDynamicBean(`tooltipStateManager`,!0,this.ctrl,()=>this.tooltip);e&&(this.tooltipManager=this.createBean(e,this.beans.context))}}attemptToShowTooltip(){this.tooltipManager?.prepareToShowTooltip()}attemptToHideTooltip(){this.tooltipManager?.hideTooltip()}setTooltipAndRefresh(e){this.tooltip=e,this.refreshTooltip()}refreshTooltip(e){this.browserTooltips=this.beans.gos.get(`enableBrowserTooltips`),this.updateTooltipText(),this.browserTooltips?(this.setBrowserTooltip(this.tooltip),this.tooltipManager=this.destroyBean(this.tooltipManager,this.beans.context)):(this.setBrowserTooltip(e?``:null,e),this.createTooltipFeatureIfNeeded())}destroy(){this.tooltipManager=this.destroyBean(this.tooltipManager,this.beans.context),super.destroy()}},zy=1e3,By=1e3,Vy=100,Hy,Uy=!1,Wy=class extends O{constructor(e,t){super(),this.tooltipCtrl=e,this.getTooltipValue=t,this.interactionEnabled=!1,this.isInteractingWithTooltip=!1,this.state=0,this.tooltipInstanceCount=0,this.tooltipMouseTrack=!1}wireBeans(e){this.popupSvc=e.popupSvc}postConstruct(){this.gos.get(`tooltipInteraction`)&&(this.interactionEnabled=!0),this.tooltipTrigger=this.getTooltipTrigger(),this.tooltipMouseTrack=this.gos.get(`tooltipMouseTrack`);let e=this.tooltipCtrl.getGui();this.tooltipTrigger===0&&this.addManagedListeners(e,{mouseenter:this.onMouseEnter.bind(this),mouseleave:this.onMouseLeave.bind(this)}),this.tooltipTrigger===1&&this.addManagedListeners(e,{focusin:this.onFocusIn.bind(this),focusout:thisLine truncated
`)}checkProperties(e,t,n,r,i){let a=IS(Object.getOwnPropertyNames(e),[...[`__ob__`,`__v_skip`,`__metadata__`],...t,...n],n),o=Object.keys(a);for(let e of o){let t=`invalid ${r} property '${e}' did you mean any of these: ${a[e].slice(0,8).join(`, `)}.`;n.includes(`context`)&&(t+=`
If you are trying to annotate ${r} with application data, use the '${r}.context' property instead.`),tn(t)}o.length>0&&i&&tn(`to see all the valid ${r} properties please check: ${this.beans.frameworkOverrides.getDocLink(i)}`)}};function IS(e,t,n){let r={},i=e.filter(e=>!t.some(t=>t===e));if(i.length>0)for(let e of i)r[e]=G_({inputValue:e,allSuggestions:n}).values;return r}var LS=new Set([`firstChildChanged`,`lastChildChanged`,`childIndexChanged`]),RS={moduleName:`Validation`,version:j,beans:[FS]},zS=class extends k{constructor(){super(...arguments),this.dispatchColumnChangedEvent=zi,this.columns=[],this.columnIndexMap={},this.updateIndexMap=()=>{this.columnIndexMap={},this.columns.forEach((e,t)=>this.columnIndexMap[e.getId()]=t)}}wireBeans(e){this.colModel=e.colModel,this.aggFuncSvc=e.aggFuncSvc,this.visibleCols=e.visibleCols,this.groupHierarchCols=e.groupHierarchyColSvc}sortColumns(e){let{groupHierarchCols:t}=this;this.columns.sort((n,r)=>t?.compareVirtualColumns(n,r)??e(n,r)),this.updateIndexMap()}setColumns(e,t){this.setColList(e,this.columns,this.eventName,!0,!0,this.columnProcessors.set,t)}addColumns(e,t){this.updateColList(e,this.columns,!0,!0,this.columnProcessors.add,this.eventName,t)}removeColumns(e,t){this.updateColList(e,this.columns,!1,!0,this.columnProcessors.remove,this.eventName,t)}getColumnIndex(e){return this.columnIndexMap[e]}setColList(e=[],t,n,r,i,a,o){let s=this.colModel.getCols();if(!s||s.length===0)return;let c=new Map;t.forEach((e,t)=>c.set(e,t)),t.length=0;for(let n of e){let e=this.colModel.getColDefCol(n);e&&t.push(e)}t.forEach((e,t)=>{let n=c.get(e);if(n===void 0){c.set(e,0);return}r&&n!==t||c.delete(e)}),this.updateIndexMap();let l=this.colModel.getColDefCols();for(let e of l??[])a(e,t.indexOf(e)>=0,o);i&&this.colModel.refreshCols(!1,o),this.visibleCols.refresh(o),this.dispatchColumnChangedEvent(this.eventSvc,n,[...c.keys()],o)}updateColList(e=[],t,n,r,a,o,s){if(!e||e.length===0)return;let c=!1,l=new Set;for(let r of e){if(!r)continue;let e=this.colModel.getColDefCol(r);if(e){if(l.add(e),n){if(t.indexOf(e)>=0)continue;t.push(e)}else{let n=t.indexOf(e);if(n<0)continue;for(let e=n+1;e<t.length;e++)l.add(t[e]);i(t,e)}a(e,n,s),c=!0}}if(!c)return;this.updateIndexMap(),r&&this.colModel.refreshCols(!1,s),this.visibleCols.refresh(s);let u=Array.from(l);this.eventSvc.dispatchEvent({type:o,columns:u,column:u.length===1?u[0]:null,source:s})}extractCols(e,t=[]){let n=this.columns,r=[],i=[],{setFlagFunc:a,getIndexFunc:o,getInitialIndexFunc:s,getValueFunc:c,getInitialValueFunc:l}=this.columnExtractors,u=this.colModel.getColDefCols();for(let e of u??[]){let a=!t.includes(e),u=e.getColDef(),d=c(u),f=l(u),p=o(u),m=s(u),h;h=d===void 0?p===void 0?a?f===void 0?m===void 0?!1:m!=null&&m>=0:f:n.indexOf(e)>=0:p===null?!1:p>=0:d,h&&((a?p!=null||m!=null:p!=null)?r.push(e):i.push(e))}let d=e=>{let t=e.getColDef();return o(t)??s(t)};r.sort((e,t)=>d(e)-d(t));let f=[],p=this.groupHierarchCols,m=e=>{p?p.expandColumnInto(f,e):f.push(e)};r.forEach(m);for(let e of n)i.indexOf(e)>=0&&m(e);for(let e of i)f.indexOf(e)<0&&m(e);for(let t of n)f.indexOf(t)<0&&a(t,!1,e);for(let t of f)n.indexOf(t)<0&&a(t,!0,e);return this.columns=f,this.updateIndexMap(),this.columns}restoreColumnOrder(e,t){let n=this.columns,r=this.colModel.getColDefCols();if(!n.length||!r)return e;let i=Object.keys(t),a=new Set(i),o=new Set(i),s=new Set(n.map(e=>{let t=e.getColId();return o.delete(t),t}).concat(i)),c=[],l={},u=0;for(let e=0;e<r.length;e++){let t=r[e].getColId();s.has(t)&&(c.push(t),l[t]=u++)}let d=1e3,f=!1,p=0,m=this.columnOrdering.enableProp,h=this.columnOrdering.initialEnableProp,g=this.columnOrdering.indexProp,_=this.columnOrdering.initialIndexProp,v=e=>{let n=l[e];for(let e=p;e<n;e++){let n=c[e];o.has(n)&&(t[n][g]=d++,o.delete(n))}p=n};for(let r of n){let n=r.getColId();if(a.has(n))v(n),t[n][g]=d++;else{let i=r.getColDef();if(i[g]===null||i[g]===void 0&&i[_]==null){if(!f)if(i[m]||i[m]===void 0&&i[h])v(n);else{for(let e of o)t[e][g]=d+l[e];d+=c.length,f=!0}e[n]||(e[n]={colId:n}),e[n][g]=d++}}}return e}},BS=class{wrap(e,t,n,r){let i=this.createWrapper(e,r);for(let e of t??[])this.createMethod(i,e,!0);for(let e of n??[])this.createMethod(i,e,!1);return i}createMethod(e,t,n){e.addMethod(t,this.createMethodProxy(e,t,n))}createMethodProxy(e,t,n){return function(){return e.hasMethod(t)?e.callMethod(t,arguments):(n&&M(49,{methodName:t}),null)}}};export{Sh as $,fi as $n,vr as $t,bx as A,Lr as An,Ga as At,ic as B,ae as Bn,rr as Bt,Ju as C,zn as Cn,wo as Ct,B as D,Zr as Dn,zo as Dt,Lx as E,l as En,b as Et,Zy as F,Hi as Fn,x as Ft,yx as G,u as Gn,te as Gt,TS as H,E as Hn,Ia as Ht,Gx as I,Oe as In,xr as It,ib as J,tn as Jn,Uo as Jt,Hv as K,hi as Kn,y as Kt,jv as L,me as Ln,br as Lt,xn as M,a as Mn,fr as Mt,px as N,_e as Nn,yi as Nt,$g as O,zf as On,vl as Ot,Dx as P,i as Pn,Ff as Pt,e as Q,di as Qn,tc as Qt,Kx as R,ge as Rn,Io as Rt,Ly as S,t as Sn,c as St,ai as T,A as Tn,Ho as Tt,Ao as U,dr as Un,Lo as Ut,SS as V,De as Vn,ar as Vt,Mv as W,Oo Line truncated
-3
View File
@@ -1,3 +0,0 @@
import{$ as e,An as t,At as n,Bt as r,Cr as i,Dr as a,Dt as o,E as s,Er as c,Et as l,G as u,H as d,Hn as f,Ht as p,I as m,In as h,K as g,Kn as _,Kt as v,M as y,On as b,Pt as x,Q as S,Qn as C,Rn as w,Rt as T,Sr as E,T as D,U as O,Un as k,V as A,W as j,Wn as M,Xn as N,Xt as P,Zn as F,bt as I,dt as L,er as R,ft as z,gn as ee,hn as B,ir as V,jn as te,k as ne,kt as re,lt as ie,mn as H,mt as ae,on as oe,qn as se,qt as U,rn as ce,tt as W,wt as le,yn as G,zn as ue}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{n as de}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";function fe(e,t=-1/0,n=1/0){return Math.min(n,Math.max(t,e))}function pe(e,t){let n=e,r=t.toString(),i=r.indexOf(`.`),a=i>=0?r.length-i:0;if(a>0){let e=10**a;n=Math.round(n*e)/e}return n}function me(e,t,n,r){t=Number(t),n=Number(n);let i=(e-(Number.isNaN(t)?0:t))%r,a=pe(Math.abs(i)*2>=r?e+Math.sign(i)*(r-Math.abs(i)):e-i,r);return Number.isNaN(t)?!Number.isNaN(n)&&a>n&&(a=Math.floor(pe(n/r,r))*r):a<t?a=t:!Number.isNaN(n)&&a>n&&(a=t+Math.floor(pe((n-t)/r,r))*r),a=pe(a,r),a}function K(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=I(r,t);if(n||n===null)return n;throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>(p(r,e),e)]}function he(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function ge(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function _e(e){return e==null}function ve(e){return e?e.flatMap(e=>e.type===y?ve(e.children):[e]):[]}var[ye,be]=K(`ConfigProvider`);function xe(e,t){let n=se();return B(()=>{n.value=e()},{...t,flush:t?.flush??`sync`}),k(n)}function Se(e,t){return te()?(ue(e,t),!0):!1}function Ce(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return Se(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}function we(e){let n=!1,r,i=t(!0);return((...t)=>(n||=(r=i.run(()=>e(...t)),!0),r))}var Te=new WeakMap,Ee=(...e)=>{let t=e[0],n=ie()?.proxy??te();if(n==null&&!ae())throw Error(`injectLocal must be called in setup`);return n&&Te.has(n)&&t in Te.get(n)?Te.get(n)[t]:I(...e)},q=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var De=e=>e!==void 0,Oe=Object.prototype.toString,ke=e=>Oe.call(e)===`[object Object]`,Ae=()=>{},je=Me();function Me(){var e,t;return q&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Ne(...e){if(e.length!==1)return N(...e);let t=e[0];return typeof t==`function`?k(b(()=>({get:t,set:Ae}))):M(t)}function Pe(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var Fe=e=>e();function Ie(e,t={}){let n,r,i=Ae,a=e=>{clearTimeout(e),i(),i=Ae},o;return s=>{let c=C(e),l=C(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function Le(e=Fe,t={}){let{initialState:n=`active`}=t,r=Ne(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:k(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function Re(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function ze(e){return Array.isArray(e)?e:[e]}function Be(e){return e||ie()}function Ve(e){if(!q)return e;let n=0,r,i,a=()=>{--n,i&&n<=0&&(i.stop(),r=void 0,i=void 0)};return((...o)=>(n+=1,i||(i=t(!0),r=i.run(()=>e(...o))),Se(a),r))}function He(e){return h(e)?f(new Proxy({},{get(t,n,r){return R(Reflect.get(e.value,n,r))},set(t,n,r){return h(e.value[n])&&!h(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):f(e)}function Ue(e){return He(d(e))}function We(e,...t){let n=t.flat(),r=n[0];return Ue(()=>typeof r==`function`?Object.fromEntries(Object.entries(F(e)).filter(([e,t])=>!r(C(t),e))):Object.fromEntries(Object.entries(F(e)).filter(e=>!n.includes(e[0]))))}function Ge(e,t=1e4){return b((n,r)=>{let i=C(e),a,o=()=>setTimeout(()=>{i=C(e),r()},C(t));return Se(()=>{clearTimeout(a)}),{get(){return n(),i},set(e){i=e,r(),clearTimeout(a),a=Line truncated
`)].join(`
`))}return()=>i.value||r.value||o.value?z(t.default({present:o.value})[0],{ref:e=>{let t=rt(e);return t?.hasAttribute===void 0||(t?.hasAttribute(`data-reka-popper-content-wrapper`)?a.value=t.firstElementChild:a.value=t),t}}):null}}),Na=W({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;let e=ve(n.default()),r=e.findIndex(e=>e.type!==ne);if(r===-1)return e;let i=e[r];delete i.props?.ref;let a=i.props?l(t,i.props):t,o=A({...i,props:{}},a);return e.length===1?o:(e[r]=o,e)}}}),Pa=[`area`,`img`,`input`],Z=W({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:t,slots:n}){let r=e.asChild?`template`:e.as;return typeof r==`string`&&Pa.includes(r)?()=>z(r,t):r===`template`?()=>z(Na,t,{default:n.default}):()=>z(e.as,t,{default:n.default})}});function Fa(){let e=M();return{primitiveElement:e,currentElement:d(()=>[`#text`,`#comment`].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:rt(e))}}var[Ia,La]=K(`DialogRoot`),Ra=W({inheritAttrs:!1,__name:`DialogRoot`,props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=Ot(n,`open`,t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=M(),a=M(),{modal:o}=F(n);return La({open:r,modal:o,openModal:()=>{r.value=!0},onOpenChange:e=>{r.value=e},onOpenToggle:()=>{r.value=!r.value},contentId:``,titleId:``,descriptionId:``,triggerElement:i,contentElement:a}),(e,t)=>U(e.$slots,`default`,{open:R(r),close:()=>r.value=!1})}}),za=W({__name:`DialogClose`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e;X();let n=Ia();return(e,i)=>(r(),j(R(Z),l(t,{type:e.as===`button`?`button`:void 0,onClick:i[0]||=e=>R(n).onOpenChange(!1)}),{default:G(()=>[U(e.$slots,`default`)]),_:3},16,[`type`]))}}),Ba=`dismissableLayer.pointerDownOutside`,Va=`dismissableLayer.focusOutside`;function Ha(e,t){let n=t.closest(`[data-dismissable-layer]`),r=e.dataset.dismissableLayer===``?e:e.querySelector(`[data-dismissable-layer]`),i=Array.from(e.ownerDocument.querySelectorAll(`[data-dismissable-layer]`));return!!(n&&(r===n||i.indexOf(r)<i.indexOf(n)))}function Ua(e,t,n=!0){let r=t?.value?.ownerDocument??globalThis?.document,i=M(!1),a=M(()=>{});return B(o=>{if(!q||!C(n))return;let s=async n=>{let o=n.target;if(!(!t?.value||!o)){if(Ha(t.value,o)){i.value=!1;return}if(n.target&&!i.value){let t={originalEvent:n};function i(){ge(Ba,e,t)}n.pointerType===`touch`?(r.removeEventListener(`click`,a.value),a.value=i,r.addEventListener(`click`,a.value,{once:!0})):i()}else r.removeEventListener(`click`,a.value);i.value=!1}},c=window.setTimeout(()=>{r.addEventListener(`pointerdown`,s)},0);o(()=>{window.clearTimeout(c),r.removeEventListener(`pointerdown`,s),r.removeEventListener(`click`,a.value)})}),{onPointerDownCapture:()=>{C(n)&&(i.value=!0)}}}function Wa(e,t,n=!0){let r=t?.value?.ownerDocument??globalThis?.document,i=M(!1);return B(a=>{if(!q||!C(n))return;let s=async n=>{if(!t?.value)return;await o(),await o();let r=n.target;!t.value||!r||Ha(t.value,r)||n.target&&!i.value&&ge(Va,e,{originalEvent:n})};r.addEventListener(`focusin`,s),a(()=>r.removeEventListener(`focusin`,s))}),{onFocusCapture:()=>{C(n)&&(i.value=!0)},onBlurCapture:()=>{C(n)&&(i.value=!1)}}}var Q=f({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set}),Ga=W({__name:`DismissableLayer`,props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`dismiss`],setup(e,{emit:t}){let n=e,a=t,{forwardRef:s,currentElement:c}=X(),l=d(()=>c.value?.ownerDocument??globalThis.document),u=d(()=>Q.layersRoot),f=d(()=>c.value?Array.from(u.value).indexOf(c.value):-1),p=d(()=>Q.layersWithOutsidePointerEventsDisabled.size>0),m=d(()=>{let e=Array.from(u.value),[t]=[...Q.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t);return f.value>=n}),h=Ua(async e=>{let t=[...Q.branches].some(t=>t?.contains(e.target));!m.value||t||(a(`pointerDownOutside`,e),a(`interactOutside`,e),await o(),e.defaultPrevented||a(`dismiss`))},c),g=Wa(e=>{[...Q.branches].some(t=>t?.contains(e.target))||(a(`focusOutside`,e),a(`interactOutside`,e),e.defaultPrevented||a(`dismiss`))},c);return ct(`Escape`,e=>{f.value===u.value.size-1&&(a(`escapeKeyDown`,e),e.defaultPrevented||a(`dismiss`))}),B(e=>{c.value&&(n.disableOutsidePointerEvents&&(Q.layersWithOutsidePointerEventsDisabled.size===0&&(Q.originalBodyPointerEvents=l.value.body.style.pointerEvents,l.value.body.style.pointerEvents=`none`),Q.layersWithOutsidePointerEventsDisabled.add(c.value)),u.value.add(c.value),e(()=>{n.disableOutsidePointerEvents&&Q.layersWithOutsidePointerEventsDisabled.size===1&&!_e(Q.orig Line truncated
-9
View File
@@ -1,9 +0,0 @@
import{a as e,n as t,r as n,t as r}from"./rolldown-runtime-fVNAxIxX.js";import{An as i,Dr as a,Dt as o,H as s,Hn as c,In as l,Pn as u,Rn as d,Tr as f,Wn as p,Yn as m,Zn as h,_r as g,ar as _,br as v,bt as y,cr as b,dr as x,fr as S,gr as ee,hr as te,ir as C,jn as w,lr as T,m as ne,mn as re,mr as ie,mt as ae,nr as oe,or as se,pr as ce,rr as le,sr as ue,tr as de,u as fe,ur as pe,vr as me,wr as he,yr as ge,zn as _e}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";var ve=typeof window<`u`,ye,be=e=>ye=e,xe=Symbol();function Se(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var Ce;(function(e){e.direct=`direct`,e.patchObject=`patch object`,e.patchFunction=`patch function`})(Ce||={});var we=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function Te(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function Ee(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){je(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function De(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Oe(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var ke=typeof navigator==`object`?navigator:{userAgent:``},Ae=/Macintosh/.test(ke.userAgent)&&/AppleWebKit/.test(ke.userAgent)&&!/Safari/.test(ke.userAgent),je=ve?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!Ae?Me:`msSaveOrOpenBlob`in ke?Ne:Pe:()=>{};function Me(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?Oe(r):De(r.href)?Ee(e,t,n):(r.target=`_blank`,Oe(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){Oe(r)},0))}function Ne(e,t=`download`,n){if(typeof e==`string`)if(De(e))Ee(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){Oe(t)})}else navigator.msSaveOrOpenBlob(Te(e,n),t)}function Pe(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return Ee(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(we.HTMLElement))||`safari`in we,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||Ae)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:Fe}=Object;function Ie(){let e=i(!0),t=e.run(()=>p({})),n=[],r=[],a=d({install(e){be(a),a._a=e,e.provide(xe,a),e.config.globalProperties.$pinia=a,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}var Le=()=>{};function Re(e,t,n,r=Le){e.add(t);let i=()=>{e.delete(t)&&r()};return!n&&w()&&_e(i),i}function ze(e,...t){e.forEach(e=>{e(...t)})}var Be=e=>e(),Ve=Symbol(),He=Symbol();function Ue(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(let n in t){if(!t.hasOwnProperty(n))continue;let r=t[n],i=e[n];Se(i)&&Se(r)&&e.hasOwnProperty(n)&&!l(r)&&!u(r)?e[n]=Ue(i,r):e[n]=r}return e}var We=Symbol();function Ge(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,We)}var{assign:Ke}=Object;function qe(e){return!!(l(e)&&e.effect)}function Je(e,t,n,r){let{state:i,actions:a,getters:o}=t,c=n.state.value[e],l;function u(){return c||(n.state.value[e]=i?i():{}),Ke(h(n.state.value[e]),a,Object.keys(o||{}).reduce((t,r)=>(t[r]=d(s(()=>{be(n);let t=n._s.get(e);return o[r].call(t,t)})),t),{}))}return l=Ye(e,u,t,n,r,!0),l}function Ye(e,t,n={},r,a,s){let d,f=Ke({actions:{}},n),h={deep:!0},g,_,v=new Set,y=new Set,b=r.state.value[e];!s&&!b&&(r.state.value[e]={}),p({});let x;function S(t){let n;g=_=!1,typeof t==`function`?(t(r.state.value[e]),n={type:Ce.patchFunction,storeId:e,events:void 0}):(Ue(r.state.value[e],t),n={type:Ce.patchObject,payload:t,storeId:e,events:void 0});let i=x=Symbol();o().then(()=>{x===i&&(g=!0)}),_=!0,ze(v,n,r.state.value[e])}let ee=s?function(){let{state:e}=n,t=e?e():{};this.$pLine truncated
Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function xt(e){throw e}function St(e){}function M(e,t,n,r){let i=`https://vuejs.org/error-reference/#compiler-${e}`,a=SyntaxError(String(i));return a.code=e,a.loc=t,a}function Ct(e,t,n=!1,r=[],i=Object.create(null)){}function wt(e,t,n){return!1}function Tt(e,t){if(e&&(e.type===`ObjectProperty`||e.type===`ArrayPattern`)){let e=t.length;for(;e--;){let n=t[e];if(n.type===`AssignmentExpression`)return!0;if(n.type!==`ObjectProperty`&&!n.type.endsWith(`Pattern`))break}}return!1}function Et(e){let t=e.length;for(;t--;){let n=e[t];if(n.type===`NewExpression`)return!0;if(n.type!==`MemberExpression`)break}return!1}function Dt(e,t){for(let n of e.params)for(let e of N(n))t(e)}function Ot(e,t){let n=e.type===`SwitchCase`?e.consequent:e.body;for(let e of n)if(e.type===`VariableDeclaration`){if(e.declare)continue;for(let n of e.declarations)for(let e of N(n.id))t(e)}else if(e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`){if(e.declare||!e.id)continue;t(e.id)}else kt(e)?At(e,!0,t):e.type===`SwitchStatement`&&jt(e,!0,t)}function kt(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function At(e,t,n){let r=e.type===`ForStatement`?e.init:e.left;if(r&&r.type===`VariableDeclaration`&&(r.kind===`var`?t:!t))for(let e of r.declarations)for(let t of N(e.id))n(t)}function jt(e,t,n){for(let r of e.cases){for(let e of r.consequent)if(e.type===`VariableDeclaration`&&(e.kind===`var`?t:!t))for(let t of e.declarations)for(let e of N(t.id))n(e);Ot(r,n)}}function N(e,t=[]){switch(e.type){case`Identifier`:t.push(e);break;case`MemberExpression`:let n=e;for(;n.type===`MemberExpression`;)n=n.object;t.push(n);break;case`ObjectPattern`:for(let n of e.properties)n.type===`RestElement`?N(n.argument,t):N(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&N(e,t)});break;case`RestElement`:N(e.argument,t);break;case`AssignmentPattern`:N(e.left,t);break}return t}function Mt(e){return Ti.includes(e.type)?Mt(e.expression):e}function Nt(e){switch(e){case`Teleport`:case`teleport`:return Dr;case`Suspense`:case`suspense`:return Or;case`KeepAlive`:case`keep-alive`:return kr;case`BaseTransition`:case`base-transition`:return Ar}}function Pt(e,t,n=t.length){return Ft({offset:e.offset,line:e.line,column:e.column},t,n)}function Ft(e,t,n=t.length){let r=0,i=-1;for(let e=0;e<n;e++)t.charCodeAt(e)===10&&(r++,i=e);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function It(e,t){if(!e)throw Error(t||`unexpected compiler condition`)}function P(e,t,n=!1){for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&(n||i.exp)&&(g(t)?i.name===t:t.test(i.name)))return i}}function Lt(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===6){if(n)continue;if(a.name===t&&(a.value||r))return a}else if(a.name===`bind`&&(a.exp||r)&&Rt(a.arg,t))return a}}function Rt(e,t){return!!(e&&W(e)&&e.content===t)}function zt(e){return e.props.some(e=>e.type===7&&e.name===`bind`&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function Bt(e){return e.type===5||e.type===2}function Vt(e){return e.type===7&&e.name===`pre`}function Ht(e){return e.type===7&&e.name===`slot`}function Ut(e){return e.type===1&&e.tagType===3}function Wt(e){return e.type===1&&e.tagType===2}function Gt(e,t=[]){if(e&&!g(e)&&e.type===14){let n=e.callee;if(!g(n)&&zi.has(n))return Gt(e.arguments[0],t.concat(e))}return[e,t]}function Kt(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!g(i)&&i.type===14){let e=Gt(i);i=e[0],a=e[1],o=a[a.length-1]}if(i==null||g(i))r=E([t]);else if(i.type===14){let e=i.arguments[0];!g(e)&&e.type===15?qt(t,e)||e.properties.unshift(t):i.callee===Qr?r=A(n.helper(qr),[E([t]),i]):i.arguments.unshift(E([t])),!r&&(r=i)}else i.type===15?(qt(t,i)||i.properties.unshift(t),r=i):(r=A(n.helper(qr),[E([t]),i]),o&&o.callee===Zr&&(o=a[a.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function qt(e,t){let n=!1;if(e.key.type===4){let r=e.key.content;n=t.properties.some(e=>e.key.type===4&&e.key.content===r)}return n}function Jt(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>t===`-`?`_`:e.charCodeAt(n).toString())}`}function F(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===7&&(F(r.arg,t)||F(r.exp,t)))return!0}return e.children.some(e=>F(e,t));case 11:return F(e.source,t)?!0:e.children.some(e=>F(e,t));case 9:return e.branches.some(e=>F(e,t));case 10:return F(e.condition,t)?!0:e.children.some(e=>F(e,t));case 4:return!e.isStatic&&Di(e.content)&&!!t[e.content];case 8:return e.children.some(e=>ce(e)&&F(e,t));case 5:case 12:return F(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Yt(e){return e.type===14&&e.callee===ci?e.arguments[1].returns:e}function Xt(e){for(let t=0;t<e.length;t++)if(!j(e.charCodeAt(t)))return!1;return!0}function Zt(e){return e.type===2&&Xt(e.content)||e.type===12&&Zt(e.coLine truncated
`);else if(Xt(i.content)){let a=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!a||!o||t&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&un(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=dn(i.content))}return n?e.filter(Boolean):e}function un(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function dn(e){let t=``,n=!1;for(let r=0;r<e.length;r++)j(e.charCodeAt(r))?n||=(t+=` `,!0):(t+=e[r],n=!1);return t}function fn(e){(Q[0]||Hi).children.push(e)}function L(e,t){return{start:$.getPos(e),end:t==null?t:$.getPos(t),source:t==null?t:I(e,t)}}function pn(e){return L(e.start.offset,e.end.offset)}function mn(e,t){e.end=$.getPos(t),e.source=I(e.start.offset,t)}function hn(e){let t={type:6,name:e.rawName,nameLoc:L(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){let n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function gn(e,t=!1,n,r=0,i=0){return O(e,t,n,r)}function R(e,t,n){G.onError(M(e,L(t,t),void 0,n))}function _n(){$.reset(),q=null,J=null,Y=``,X=-1,Ui=-1,Q.length=0}function vn(e,t){if(_n(),K=e,G=se({},Vi),t){let e;for(e in t)t[e]!=null&&(G[e]=t[e])}$.mode=G.parseMode===`html`?1:G.parseMode===`sfc`?2:0,$.inXML=G.ns===1||G.ns===2;let n=t&&t.delimiters;n&&($.delimiterOpen=gt(n[0]),$.delimiterClose=gt(n[1]));let r=Hi=Qe([],e);return $.parse(K),r.loc=L(0,e.length),r.children=ln(r.children),Hi=null,r}function yn(e,t){xn(e,void 0,t,!!bn(e))}function bn(e){let t=e.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!Wt(t[0])?t[0]:null}function xn(e,t,n,r=!1,i=!1){let{children:a}=e,o=[];for(let t=0;t<a.length;t++){let s=a[t];if(s.type===1&&s.tagType===0){let e=r?0:z(s,n);if(e>0){if(e>=2){s.codegenNode.patchFlag=-1,o.push(s);continue}}else{let e=s.codegenNode;if(e.type===13){let t=e.patchFlag;if((t===void 0||t===512||t===1)&&Cn(s,n)>=2){let t=wn(s);t&&(e.props=n.hoist(t))}e.dynamicProps&&=n.hoist(e.dynamicProps)}}}else if(s.type===12&&(r?0:z(s,n))>=2){s.codegenNode.type===14&&s.codegenNode.arguments.length>0&&s.codegenNode.arguments.push(`-1`),o.push(s);continue}if(s.type===1){let t=s.tagType===1;t&&n.scopes.vSlot++,xn(s,e,n,!1,i),t&&n.scopes.vSlot--}else if(s.type===11)xn(s,e,n,s.children.length===1,!0);else if(s.type===9)for(let t=0;t<s.branches.length;t++)xn(s.branches[t],e,n,s.branches[t].children.length===1,i)}let s=!1;if(o.length===a.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&T(e.codegenNode.children))e.codegenNode.children=c(et(e.codegenNode.children)),s=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!T(e.codegenNode.children)&&e.codegenNode.children.type===15){let t=l(e.codegenNode,`default`);t&&(t.returns=c(et(t.returns)),s=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!T(t.codegenNode.children)&&t.codegenNode.children.type===15){let n=P(e,`slot`,!0),r=n&&n.arg&&l(t.codegenNode,n.arg);r&&(r.returns=c(et(r.returns)),s=!0)}}if(!s)for(let e of o)e.codegenNode=n.cache(e.codegenNode);function c(e){let t=n.cache(e);return t.needArraySpread=!0,t}function l(e,t){if(e.children&&!T(e.children)&&e.children.type===15){let n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}o.length&&n.transformHoist&&n.transformHoist(a,n,e)}function z(e,t){let{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;let r=n.get(e);if(r!==void 0)return r;let i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!==`svg`&&e.tag!==`foreignObject`&&e.tag!==`math`)return 0;if(i.patchFlag===void 0){let r=3,a=Cn(e,t);if(a===0)return n.set(e,0),0;a<r&&(r=a);for(let i=0;i<e.children.length;i++){let a=z(e.children[i],t);if(a===0)return n.set(e,0),0;a<r&&(r=a)}if(r>1)for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===7&&a.name===`bind`&&a.exp){let i=z(a.exp,t);if(i===0)return n.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++)if(e.props[t].type===7)return n.set(e,0),0;t.removeHelper(V),t.removeHelper(ft(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(dt(t.inSSR,i.isComponent))}return n.set(e,r),r}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return z(e.content,t);case 4:return e.constType;case 8:let a=3;for(let n=0;n<e.children.length;n++){let r=e.children[n];if(g(r)||me(r))continue;let i=z(r,t);if(i===0)return 0;i<a&&(a=i)}return a;case 20:return 2;default:return 0}}function Sn(e,t){if(e.type===14&&!g(e.callee)&&Xi.has(e.callee)){let n=e.arguments[0];if(n.type===4)return z(n,t);if(n.type===14)return Sn(n,t)}return 0}function Cn(e,t){let n=3,r=wn(e);if(r&&r.type===15){let{properties:e}=r;for(let r=0;r<e.length;r++){let{key:i,value:a}=e[r],o=z(i,t);if(o===0)return o;o<n&&(n=o);let s;if(s=a.type===4?z(a,t):a.type===14?Sn(a,t):0,s===0)return s;s<n&&(n=s)}}return n}function w Line truncated
`+` `.repeat(e),0)}return p}function Mn(e,t={}){let n=jn(e,t);t.onContextCreated&&t.onContextCreated(n);let{mode:r,push:i,prefixIdentifiers:a,indent:o,deindent:s,newline:c,scopeId:l,ssr:u}=n,d=Array.from(e.helpers),f=d.length>0,p=!a&&r!==`module`;if(Nn(e,n),i(`function ${u?`ssrRender`:`render`}(${(u?[`_ctx`,`_push`,`_parent`,`_attrs`]:[`_ctx`,`_cache`]).join(`, `)}) {`),o(),p&&(i(`with (_ctx) {`),o(),f&&(i(`const { ${d.map(Qi).join(`, `)} } = _Vue
`,-1),c())),e.components.length&&(Pn(e.components,`component`,n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Pn(e.directives,`directive`,n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),Pn(e.filters,`filter`,n),c()),e.temps>0){i(`let `);for(let t=0;t<e.temps;t++)i(`${t>0?`, `:``}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
`,0),c()),u||i(`return `),e.codegenNode?B(e.codegenNode,n):i(`null`),p&&(s(),i(`}`)),s(),i(`}`),{ast:e,code:n.code,preamble:``,map:n.map?n.map.toJSON():void 0}}function Nn(e,t){let{ssr:n,prefixIdentifiers:r,push:i,newline:a,runtimeModuleName:o,runtimeGlobalName:s,ssrRuntimeModuleName:c}=t,l=s,u=Array.from(e.helpers);u.length>0&&(i(`const _Vue = ${l}
`,-1),e.hoists.length&&i(`const { ${[Nr,Pr,Fr,Ir,Lr].filter(e=>u.includes(e)).map(Qi).join(`, `)} } = _Vue
`,-1)),Fn(e.hoists,t),a(),i(`return `)}function Pn(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`filter`?Vr:t===`component`?Rr:Br);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${Jt(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function Fn(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){let a=e[i];a&&(n(`const _hoisted_${i+1} = `),B(a,t),r())}t.pure=!1}function In(e,t){let n=e.length>3||!1;t.push(`[`),n&&t.indent(),Ln(e,t,n),n&&t.deindent(),t.push(`]`)}function Ln(e,t,n=!1,r=!0){let{push:i,newline:a}=t;for(let o=0;o<e.length;o++){let s=e[o];g(s)?i(s,-3):T(s)?In(s,t):B(s,t),o<e.length-1&&(n?(r&&i(`,`),a()):r&&i(`, `))}}function B(e,t){if(g(e)){t.push(e,-3);return}if(me(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:B(e.codegenNode,t);break;case 2:Rn(e,t);break;case 4:zn(e,t);break;case 5:Bn(e,t);break;case 12:B(e.codegenNode,t);break;case 8:Vn(e,t);break;case 3:Un(e,t);break;case 13:Wn(e,t);break;case 14:Kn(e,t);break;case 15:qn(e,t);break;case 17:Jn(e,t);break;case 18:Yn(e,t);break;case 19:Xn(e,t);break;case 20:Zn(e,t);break;case 21:Ln(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:}}function Rn(e,t){t.push(JSON.stringify(e.content),-3,e)}function zn(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function Bn(e,t){let{push:n,helper:r,pure:i}=t;i&&n(Zi),n(`${r(Kr)}(`),B(e.content,t),n(`)`)}function Vn(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];g(r)?t.push(r,-3):B(r,t)}}function Hn(e,t){let{push:n}=t;e.type===8?(n(`[`),Vn(e,t),n(`]`)):e.isStatic?n(Di(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function Un(e,t){let{push:n,helper:r,pure:i}=t;i&&n(Zi),n(`${r(Fr)}(${JSON.stringify(e.content)})`,-3,e)}function Wn(e,t){let{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:s,patchFlag:c,dynamicProps:l,directives:u,isBlock:d,disableTracking:f,isComponent:p}=e,m;c&&(m=String(c)),u&&n(r(Hr)+`(`),d&&n(`(${r(V)}(${f?`true`:``}), `),i&&n(Zi),n(r(d?ft(t.inSSR,p):dt(t.inSSR,p))+`(`,-2,e),Ln(Gn([a,o,s,m,l]),t),n(`)`),d&&n(`)`),u&&(n(`, `),B(u,t),n(`)`))}function Gn(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function Kn(e,t){let{push:n,helper:r,pure:i}=t,a=g(e.callee)?e.callee:r(e.callee);i&&n(Zi),n(a+`(`,-2,e),Ln(e.arguments,t),n(`)`)}function qn(e,t){let{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n(`{}`,-2,e);return}let s=o.length>1||!1;n(s?`{`:`{ `),s&&r();for(let e=0;e<o.length;e++){let{key:r,value:i}=o[e];Hn(r,t),n(`: `),B(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function Jn(e,t){In(e.elements,t)}function Yn(e,t){let{push:n,indent:r,deindent:i}=t,{params:a,returns:o,body:s,newline:c,isSlot:l}=e;l&&n(`_${ui[ai]}(`),n(`(`,-2,e),T(a)?Ln(a,t):a&&B(a,t),n(`) => `),(c||s)&&(n(`{`),r()),o?(c&&n(`return `),T(o)?In(o,t):B(o,t)):s&&B(s,t),(c||s)&&(i(),n(`}`)),l&&(e.isNonScopedSlot&&n(`, undefined, true`),n(`)`))}function Xn(e,t){let{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:s,deindent:c,newline:l}=t;if(n.type===4){let e=!Di(n.content);e&&o(`(`),zn(n,t),e&&o(`)`)}else o(`(`),B(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),B(r,t),t.indentLevel--,a&&l(),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,B(i,t),u||t.indentLevel--,a&&c(!0)}function Zn(e,t){let{push:n,helper:r,indent:i,deindent:a,newline:o}=t,{needPauseTracking:s,needArraySpread:c}=e;c&&n(`[...(`),n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(ni)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),B(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(ni)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(`)`),c&&n(`)]`)}function Qn(e,t,n=!1,r=!1,i=Object.create(t.identifiers)){return e}function $n(e){return g(e)?e:e.type===4?e.content:e.children.map($n).join(``)}function er(e,t,n,r){if(t.name!==`else`&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:e.loc;n.onError(M(28,t.loc)),t.exp=O(`true`,!1,r)}if(t.name===`if`){let i=tr(e,t),a={type:9,loc:pn(e.loc),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{let i=n.parent.children,a=i.indexOf(e);for(;a-->=-1;){let o=i[a];if(o&&Qt(o)){n.removeNode(o);continue}if(o&&o.type===9){(t.name===`else-if`||t.name===`else`)&&o.branches[o.branches.length-1].condition===void 0&&n.onError(M(30,e.loc)),n.removeNode();let i=tr(e,t);o.branches.push(i);let a=r&&r(o,i,!1);kn(i,n),a&&a(),n.currentNode=null}else n.onError(M(30,e.loc));break}}}function tr(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!P(e,`for`)?e.children:[e],userKey:Lt(e,`key`),isTemplateIf:n}}function nr(e,t,n){return e.condition?rt(e.condition,rr(e,t,n),A(n.helper(Fr),[`""`,`true`])):rr(e,t,n)}function rr(e,t,n){let{helper:r}=n,i=D(`key`,O(`${t}`,!1,H,2)),{children:a}=e,o=a[0];if(a.length!==1|| Line truncated
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:`v-model cannot be used on a const binding because it is not writable.`,46:`Error parsing JavaScript expression: `,47:`<KeepAlive> expects exactly one child component.`,52:`@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,48:`"prefixIdentifiers" option is not supported in this build of compiler.`,49:`ES module mode is not supported in this build of compiler.`,50:`"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,51:`"scopeId" option is only supported in module mode.`,54:``},Si=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Ci=e=>e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,wi=(e,t)=>Ci(t)&&t.key===e,Ti=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`],W=e=>e.type===4&&e.isStatic,Ei=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Di=e=>!Ei.test(e),Oi=/[A-Za-z_$\xA0-\uFFFF]/,ki=/[\.\?\w$\xA0-\uFFFF]/,Ai=/\s+[.[]\s*|\s*[.[]\s+/g,ji=e=>e.type===4?e.content:e.loc.source,Mi=e=>{let t=ji(e).trim().replace(Ai,e=>e.trim()),n=0,r=[],i=0,a=0,o=null;for(let e=0;e<t.length;e++){let s=t.charAt(e);switch(n){case 0:if(s===`[`)r.push(n),n=1,i++;else if(s===`(`)r.push(n),n=2,a++;else if(!(e===0?Oi:ki).test(s))return!1;break;case 1:s===`'`||s===`"`||s==="`"?(r.push(n),n=3,o=s):s===`[`?i++:s===`]`&&(--i||(n=r.pop()));break;case 2:if(s===`'`||s===`"`||s==="`")r.push(n),n=3,o=s;else if(s===`(`)a++;else if(s===`)`){if(e===t.length-1)return!1;--a||(n=r.pop())}break;case 3:s===o&&(n=r.pop(),o=null);break}}return!i&&!a},Ni=le,Pi=Mi,Fi=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Ii=e=>Fi.test(ji(e)),Li=le,Ri=Ii,zi=new Set([Xr,Zr]),Bi=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Vi={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:oe,isPreTag:oe,isIgnoreNewlineTag:oe,isCustomElement:oe,onError:xt,onWarn:St,comments:!1,prefixIdentifiers:!1},G=Vi,Hi=null,K=``,q=null,J=null,Y=``,X=-1,Ui=-1,Wi=0,Z=!1,Gi=null,Q=[],$=new _i(Q,{onerr:R,ontext(e,t){tn(I(e,t),e,t)},ontextentity(e,t,n){tn(e,t,n)},oninterpolation(e,t){if(Z)return tn(I(e,t),e,t);let n=e+$.delimiterOpen.length,r=t-$.delimiterClose.length;for(;j(K.charCodeAt(n));)n++;for(;j(K.charCodeAt(r-1));)r--;let i=I(n,r);i.includes(`&`)&&(i=G.decodeEntities(i,!1)),fn({type:5,content:gn(i,!1,L(n,r)),loc:L(e,t)})},onopentagname(e,t){let n=I(e,t);q={type:1,tag:n,ns:G.getNamespace(n,Q[0],G.ns),tagType:0,props:[],children:[],loc:L(e-1,t),codegenNode:void 0}},onopentagend(e){en(e)},onclosetag(e,t){let n=I(e,t);if(!G.isVoidTag(n)){let r=!1;for(let e=0;e<Q.length;e++)if(Q[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&R(24,Q[0].loc.start.offset);for(let n=0;n<=e;n++)nn(Q.shift(),t,n<e);break}r||R(23,an(e,60))}},onselfclosingtag(e){let t=q.tag;q.isSelfClosing=!0,en(e),Q[0]&&Q[0].tag===t&&nn(Q.shift(),e)},onattribname(e,t){J={type:6,name:I(e,t),nameLoc:L(e,t),value:void 0,loc:L(e)}},ondirname(e,t){let n=I(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!Z&&r===``&&R(26,e),Z||r===``)J={type:6,name:n,nameLoc:L(e,t),value:void 0,loc:L(e)};else if(J={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[O(`prop`)]:[],loc:L(e)},r===`pre`){Z=$.inVPre=!0,Gi=q;let e=q.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=hn(e[t]))}},ondirarg(e,t){if(e===t)return;let n=I(e,t);if(Z&&!Vt(J))J.name+=n,mn(J.nameLoc,t);else{let r=n[0]!==`[`;J.arg=gn(r?n:n.slice(1,-1),r,L(e,t),r?3:0)}},ondirmodifier(e,t){let n=I(e,t);if(Z&&!Vt(J))J.name+=`.`+n,mn(J.nameLoc,t);else if(J.name===`slot`){let e=J.arg;e&&(e.content+=`.`+n,mn(e.loc,t))}else{let r=O(n,!0,L(e,t));J.modifiers.push(r)}},onattribdata(e,t){Y+=I(e,t),X<0&&(X=e),Ui=t},onattribentity(e,t,n){Y+=e,X<0&&(X=t),Ui=n},onattribnameend(e){let t=J.loc.start.offset,n=I(t,e);J.type===7&&(J.rawName=n),q.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&R(2,t)},onattribend(e,t){if(q&&J){if(mn(J.loc,t),e!==0)if(Y.includes(`&`)&&(Y=G.decodeEntities(Y,!0)),J.type===6)J.name===`class`&&(Y=dn(Y).trim()),e===1&&!Y&&R(13,t),J.value={type:2,content:Y,loc:e===1?L(X,Ui):L(X-1,Ui+1)},$.inSFCRoot&&q.tag===`template`&&J.name===`lang`&&Y&&Y!==`html`&&$.enterRCDATA(gt(`</template`),0);else{J.exp=gn(Y,!1,L(X,Ui),0,0),J.name===`for`&&(J.forParseResult=$t(J.exp));let e=-1;J.name===`bind`&&(e=J.modifiers.findIndex(e=>e.content===`sync`))>-1&&yt(`COMPILER_V_BIND_SYNC`,G,J.loc,J.arg.loc.source)&&(J.name=`model`,J.modifiers.splice(e,1))}(J.type!==7||J.name!==`pre`)&&q.props.push(J)}Y=``,X=Ui=-1},oncomment(e,t){G.comments&&fn({type:3,content:I(e,t),loc:L(e-4,t+3)})},onend(){let e=K.length;for(let t=0;t<Q.length;t++)nn(Q[t],e-1),R(24,Q[t].loc.start.offset)},oncdata(e,t){Q[0].ns===0?R(1,e-9):tn(I(e,t),e,t)},onprocessinginstruction(e){(Q[0]Line truncated
-17
View File
@@ -1,17 +0,0 @@
import{i as e,o as t,t as n}from"./rolldown-runtime-fVNAxIxX.js";import{$ as r,An as i,H as a,In as o,L as s,M as c,Pt as l,Rt as u,Wn as d,bt as f,ft as p,jn as m,lt as h,mn as g,qn as _,tt as v,zn as y}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{n as b}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";var x=n(((t,n)=>{(function(e){if(typeof t==`object`&&n!==void 0)n.exports=e();else if(typeof define==`function`&&define.amd)define([],e);else{var r=typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this;r.localforage=e()}})(function(){return(function t(n,r,i){function a(s,c){if(!r[s]){if(!n[s]){var l=typeof e==`function`&&e;if(!c&&l)return l(s,!0);if(o)return o(s,!0);var u=Error(`Cannot find module '`+s+`'`);throw u.code=`MODULE_NOT_FOUND`,u}var d=r[s]={exports:{}};n[s][0].call(d.exports,function(e){var t=n[s][1][e];return a(t||e)},d,d.exports,t,n,r,i)}return r[s].exports}for(var o=typeof e==`function`&&e,s=0;s<i.length;s++)a(i[s]);return a})({1:[function(e,t,n){(function(e){var n=e.MutationObserver||e.WebKitMutationObserver,r;if(n){var i=0,a=new n(u),o=e.document.createTextNode(``);a.observe(o,{characterData:!0}),r=function(){o.data=i=++i%2}}else if(!e.setImmediate&&e.MessageChannel!==void 0){var s=new e.MessageChannel;s.port1.onmessage=u,r=function(){s.port2.postMessage(0)}}else r=`document`in e&&`onreadystatechange`in e.document.createElement(`script`)?function(){var t=e.document.createElement(`script`);t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};var c,l=[];function u(){c=!0;for(var e,t,n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}c=!1}t.exports=d;function d(e){l.push(e)===1&&!c&&r()}}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}],2:[function(e,t,n){var r=e(1);function i(){}var a={},o=[`REJECTED`],s=[`FULFILLED`],c=[`PENDING`];t.exports=l;function l(e){if(typeof e!=`function`)throw TypeError(`resolver must be a function`);this.state=c,this.queue=[],this.outcome=void 0,e!==i&&p(this,e)}l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if(typeof e!=`function`&&this.state===s||typeof t!=`function`&&this.state===o)return this;var n=new this.constructor(i);return this.state===c?this.queue.push(new u(n,e,t)):d(n,this.state===s?e:t,this.outcome),n};function u(e,t,n){this.promise=e,typeof t==`function`&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof n==`function`&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}u.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){a.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)};function d(e,t,n){r(function(){var r;try{r=t(n)}catch(t){return a.reject(e,t)}r===e?a.reject(e,TypeError(`Cannot resolve promise with itself`)):a.resolve(e,r)})}a.resolve=function(e,t){var n=m(f,t);if(n.status===`error`)return a.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=s,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=o,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e};function f(e){var t=e&&e.then;if(e&&(typeof e==`object`||typeof e==`function`)&&typeof t==`function`)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,a.reject(e,t))}function i(t){n||(n=!0,a.resolve(e,t))}function o(){t(i,r)}var s=m(o);s.status===`error`&&r(s.value)}function m(e,t){var n={};try{n.value=e(t),n.status=`success`}catch(e){n.status=`error`,n.value=e}return n}l.resolve=h;function h(e){return e instanceof this?e:a.resolve(new this(i),e)}l.reject=g;function g(e){var t=new this(i);return a.reject(t,e)}l.all=_;function _(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(TypeError(`must be an array`));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=Array(n),s=0,c=-1,l=new this(i);++c<n;)u(e[c],c);return l;function u(e,i){t.resolve(e).then(c,function(e){r||(r=!0,a.reject(l,e))});function c(e){o[i]=e,++s===n&&!r&&(r=!0,a.resolve(l,o))}}}l.race=v;function v(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(TypeError(`must be an array`));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=-1,s=new this(i);++o<n;)c(e[o]);return s;function c(e){t.resolve(e).then(function(e){r||(r=!0,a.resolve(s,e))},function(e){r||(r=!0,a.reject(s,e))})}}},{1:1}],3:[function(e,t,n){(function(t){typeof t.Promise!=`function`&&(t.Promise=e(2))}).call(this,typeof global<`u`?global:typeof self<`u`?self:typLine truncated
`,Se=`\u2028`,Ce=`\u2029`;function we(e){let t=e,n=0,r=1,i=1,a=0,o=e=>t[e]===xe&&t[e+1]===W,s=e=>t[e]===W,c=e=>t[e]===Ce,l=e=>t[e]===Se,u=e=>o(e)||s(e)||c(e)||l(e),d=()=>n,f=()=>r,p=()=>i,m=()=>a,h=e=>o(e)||c(e)||l(e)?W:t[e],g=()=>h(n),_=()=>h(n+a);function v(){return a=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function y(){return o(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function x(e=0){a=e}function S(){let e=n+a;for(;e!==n;)v();a=0}return{index:d,line:f,column:p,peekOffset:m,charAt:h,currentChar:g,currentPeek:_,next:v,peek:y,reset:b,resetPeek:x,skipToPeek:S}}var G=void 0,Te=`'`,Ee=`tokenizer`;function K(e,t={}){let n=t.location!==!1,r=we(e),i=()=>r.index(),a=()=>_e(r.line(),r.column(),r.index()),o=a(),s=i(),c={currentType:13,offset:s,startLoc:o,endLoc:o,lastType:13,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:``},l=()=>c,{onError:u}=t;function d(e,t,r,...i){let a=l();t.column+=r,t.offset+=r,u&&u(ye(e,n?ve(a.startLoc,t):null,{domain:Ee,args:i}))}function f(e,t,r){e.endLoc=a(),e.currentType=t;let i={type:t};return n&&(i.loc=ve(e.startLoc,e.endLoc)),r!=null&&(i.value=r),i}let p=e=>f(e,13);function m(e,t){return e.currentChar()===t?(e.next(),t):(d(H.EXPECTED_TOKEN,a(),0,t),``)}function h(e){let t=``;for(;e.currentPeek()===U||e.currentPeek()===W;)t+=e.currentPeek(),e.peek();return t}function g(e){let t=h(e);return e.skipToPeek(),t}function _(e){if(e===G)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t===95}function v(e){if(e===G)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}function y(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function b(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=v(e.currentPeek()===`-`?e.peek():e.currentPeek());return e.resetPeek(),r}function x(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=e.currentPeek()===Te;return e.resetPeek(),r}function S(e,t){let{currentType:n}=t;if(n!==7)return!1;h(e);let r=e.currentPeek()===`.`;return e.resetPeek(),r}function C(e,t){let{currentType:n}=t;if(n!==8)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function w(e,t){let{currentType:n}=t;if(!(n===7||n===11))return!1;h(e);let r=e.currentPeek()===`:`;return e.resetPeek(),r}function T(e,t){let{currentType:n}=t;if(n!==9)return!1;let r=()=>{let t=e.currentPeek();return t===`{`?_(e.peek()):t===`@`||t===`|`||t===`:`||t===`.`||t===U||!t?!1:t===W?(e.peek(),r()):D(e,!1)},i=r();return e.resetPeek(),i}function E(e){h(e);let t=e.currentPeek()===`|`;return e.resetPeek(),t}function D(e,t=!0){let n=(t=!1,r=``)=>{let i=e.currentPeek();return i===`{`||i===`@`||!i?t:i===`|`?!(r===U||r===W):i===U?(e.peek(),n(!0,U)):i===W?(e.peek(),n(!0,W)):!0},r=n();return t&&e.resetPeek(),r}function O(e,t){let n=e.currentChar();return n===G?G:t(n)?(e.next(),n):null}function ee(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36}function k(e){return O(e,ee)}function A(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36||t===45}function te(e){return O(e,A)}function j(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function ne(e){return O(e,j)}function M(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function re(e){return O(e,M)}function ie(e){let t=``,n=``;for(;t=ne(e);)n+=t;return n}function ae(e){let t=``;for(;;){let n=e.currentChar();if(n===`\\`){let r=e.peek();r===`{`||r===`}`||r===`@`||r===`|`||r===`\\`?(t+=n+r,e.next(),e.next()):(e.resetPeek(),t+=n,e.next())}else if(n===`{`||n===`}`||n===`@`||n===`|`||!n)break;else if(n===U||n===W)if(D(e))t+=n,e.next();else if(E(e))break;else t+=n,e.next();else t+=n,e.next()}return t}function oe(e){g(e);let t=``,n=``;for(;t=te(e);)n+=t;let r=e.currentChar();if(r&&r!==`}`&&r!==G&&r!==U&&r!==W&&r!==` `){let t=F(e);return d(H.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n+t),n+t}return e.currentChar()===G&&d(H.UNTERMINATED_CLOSING_BRACE,a(),0),n}function se(e){g(e);let t=``;return e.currentChar()===`-`?(e.next(),t+=`-${ie(e)}`):t+=ie(e),e.currentChar()===G&&d(H.UNTERMINATED_CLOSING_BRACE,a(),0),t}function ce(e){return e!==Te&&e!==W}function N(e){g(e),m(e,`'`);let t=``,n=``;for(;t=O(e,ce);)t===`\\`?n+=le(e):n+=t;let r=e.currentChar();return r===W||r===G?(d(H.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),r===W&&(e.next(),m(e,`'`)),n):(m(e,`'`),n)}function le(e){let t=e.currentChar();switch(t){case`\\`:case`'`:return e.next(),`\\${t}`;case`u`:return ue(e,t,4);case`U`:return ue(e,t,6);default:return d(H.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),``}}function ue(e,t,n){m(e,t);let r=``;for(let i=0;i<n;i++){let n=re(e);if(!n){d(H.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function P(e){return e!==`{`&&e!==`}`&&e!==U&&e!==W}function F(e){g(e);let t=``,n=``;for(;t=O(e,P);)n+=t;return n}function I(e){let t=``,n=``;for(;t=k(e);)n+=t;return n}function L(e){let t=n=>{let r=e.currentChar();return r===`{`||r===`@`||r===`|`||r===`(`||r===`)`| Line truncated
`:t.breakLineCode,a=t.needIndent?t.needIndent:n!==`arrow`,o=e.helpers||[],s=ze(e,{filename:r,breakLineCode:i,needIndent:a});s.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),s.indent(a),o.length>0&&(s.push(`const { ${me(o.map(e=>`${e}: _${e}`),`, `)} } = ctx`),s.newline()),s.push(`return `),We(s,e),s.deindent(a),s.push(`}`),delete e.helpers;let{code:c,map:l}=s.context();return{ast:e,code:c,map:l?l.toJSON():void 0}};function Ke(e,t={}){let n=A({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null?!0:n.optimize,o=je(n).parse(e);return r?(a&&Ie(o),i&&Re(o),{ast:o,code:``}):(Fe(o,n),Ge(o,n))}function qe(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(M().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(M().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Y(e){return z(e)&&rt(e)===0&&(P(e,`b`)||P(e,`body`))}var Je=[`b`,`body`];function Ye(e){return ut(e,Je)}var Xe=[`c`,`cases`];function Ze(e){return ut(e,Xe,[])}var Qe=[`s`,`static`];function $e(e){return ut(e,Qe)}var et=[`i`,`items`];function tt(e){return ut(e,et,[])}var nt=[`t`,`type`];function rt(e){return ut(e,nt)}var it=[`v`,`value`];function at(e,t){let n=ut(e,it);if(n!=null)return n;throw ft(t)}var ot=[`m`,`modifier`];function st(e){return ut(e,ot)}var ct=[`k`,`key`];function lt(e){let t=ut(e,ct);if(t)return t;throw ft(6)}function ut(e,t,n){for(let n=0;n<t.length;n++){let r=t[n];if(P(e,r)&&e[r]!=null)return e[r]}return n}var dt=[...Je,...Xe,...Qe,...et,...ct,...ot,...it,...nt];function ft(e){return Error(`unhandled node type: ${e}`)}function pt(e){return t=>mt(t,e)}function mt(e,t){let n=Ye(t);if(n==null)throw ft(0);if(rt(n)===1){let t=Ze(n);return e.plural(t.reduce((t,n)=>[...t,ht(e,n)],[]))}else return ht(e,n)}function ht(e,t){let n=$e(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=tt(t).reduce((t,n)=>[...t,gt(e,n)],[]);return e.normalize(n)}}function gt(e,t){let n=rt(t);switch(n){case 3:return at(t,n);case 9:return at(t,n);case 4:{let r=t;if(P(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(P(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw ft(n)}case 5:{let r=t;if(P(r,`i`)&&D(r.i))return e.interpolate(e.list(r.i));if(P(r,`index`)&&D(r.index))return e.interpolate(e.list(r.index));throw ft(n)}case 6:{let n=t,r=st(n),i=lt(n);return e.linked(gt(e,i),r?gt(e,r):void 0,e.type)}case 7:return at(t,n);case 8:return at(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var _t=e=>e,vt=j();function yt(e,t={}){let n=!1,r=t.onError||be;return t.onError=e=>{n=!0,r(e)},{...Ke(e,t),detectError:n}}function bt(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&L(e)){R(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||_t)(e),r=vt[n];if(r)return r;let{ast:i,detectError:a}=yt(e,{...t,location:!1,jit:!0}),o=pt(i);return a?o:vt[n]=o}else{let t=e.cacheKey;return t?vt[t]||(vt[t]=pt(e)):pt(e)}}var xt=null;function St(e){xt=e}function Ct(e,t,n){xt&&xt.emit(`i18n:init`,{timestamp:Date.now(),i18n:e,version:t,meta:n})}var wt=Tt(`function:translate`);function Tt(e){return t=>xt&&xt.emit(e,t)}var X={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Et(e){return ye(e,null,void 0)}X.INVALID_ARGUMENT,X.INVALID_DATE_ARGUMENT,X.INVALID_ISO_DATE_ARGUMENT,X.NOT_SUPPORT_NON_STRING_MESSAGE,X.NOT_SUPPORT_LOCALE_PROMISE_VALUE,X.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,X.NOT_SUPPORT_LOCALE_TYPE;function Dt(e,t){return t.locale==null?kt(e.locale):kt(t.locale)}var Ot;function kt(e){if(L(e))return e;if(I(e)){if(e.resolvedOnce&&Ot!=null)return Ot;if(e.constructor.name===`Function`){let t=e();if(de(t))throw Et(X.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ot=t}else throw Et(X.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Et(X.NOT_SUPPORT_LOCALE_TYPE)}function At(e,t,n){return[...new Set([n,...F(t)?t:z(t)?Object.keys(t):L(t)?[t]:[n]])]}function jt(e,t,n){let r=L(n)?n:qt,i=e;i.__localeChainCache||=new Map;let a=i.__localeChainCache.get(r);if(!a){a=[];let e=[n];for(;F(e);)e=Mt(a,e,t);let o=F(t)||!V(t)?t:t.default?t.default:null;e=L(o)?[o]:o,F(e)&&Mt(a,e,!1),i.__localeChainCache.set(r,a)}return a}function Mt(e,t,n){let r=!0;for(let i=0;i<t.length&&R(r);i++){let a=t[i];L(a)&&(r=Nt(e,t[i],n))}return r}function Nt(e,t,n){let r,i=t.split(`-`);do r=Pt(e,i.join(`-`),n),i.splice(-1,1);while(i.length&&r===!0);return r}function Pt(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!==`!`;let i=t.replace(/!/g,``);e.push(i),(F(n)||V(n))&&n[i]&&(r=n[i])}return r}var Ft=[];Ft[0]={w:[0],i:[3,0],"[":[4],o:[7]},Ft[1]={w:[1],".":[2],"[":[4],o:[7]},Ft[2]={w:[2],i:[3,0],0:[3,0]},Ft[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Ft[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Ft[5]={"'":[4,0],o:8,l:[5,0]},Ft[6]={'"':[4,0],o:8,l:[6,0]};var It=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Lt(e){return It.test(e)}function Rt(e){let t=e.charC Line truncated
Reference Standard for Hubei Construction Cost Consulting Service Fees (Trial)`,subtitle:`Project Budget · Quick Calc · Related Files · Import Data`,projectCalcTab:`Project Calculation`,quickCalcTab:`Quick Calculation`,cards:{heroTitle:`One-Click Smart Budget`,heroSubTitle:`Accelerate standards adoption`,heroDesc:`Cost consulting fee calculator for transport construction projects`,projectBudget:`Project Budget`,projectBudgetDesc:`For full project-level calculation across multiple contracts with import/export support`,quickCalc:`Quick Calc`,quickCalcDesc:`Suitable for single service trial, select industry, consultation type, engineering specialty, input base number and get results in seconds`,importData:`Import Data`,importDataDesc:`Import a ".zw" package and create a new project automatically to restore the data without overriding existing projects`,enter:`Enter`,developing:`In Development`,pickFile:`Choose File`,pickExisting:`Choose Existing`,relatedFiles:`Related Files`,relatedFilesDesc:`Open the user system file page to view fee documents, contracts, service content, and work requirements`,openRelatedFiles:`Open Page`},dialog:{newProject:`New Project`,chooseIndustryDesc:`Choose an industry and enter project calculation directly.`,industry:`Industry`,selectIndustry:`Select industry`,entering:`Entering...`,enterProjectCalc:`Enter Project Calculation`,confirmImport:`Confirm Import`,confirmImportDesc:`Import "{file}"`,confirmImportAction:`Import and Create Project`,chooseExistingProject:`Choose Existing Project`,chooseExistingProjectDesc:`Select a project from the list and enter workspace directly.`,noProjectYet:`No project available. Create a new project first.`}},tab:{toolbar:{light:`Light`,dark:`Dark`,language:`Lang`,importData:`Import`,exportData:`Export`,exportReport:`Export Report`,savedata:`save data`,importexport:`Import/Export`,exporttable:`Export Table`,exportworddocument:`Export Word Document`,projectmanagement:`Project Management`,returntohomepage:`Returntohomepage`,userGuide:`Guide`,reset:`Reset`,resetting:`Resetting...`,projectList:`Projects`,projectCount:`Projects: {count}`,createProject:`New Project`,backHome:`Back Home`,resetAll:`Reset All`,opened:`(Opened)`,lastEdited:`Last edited: {time}`},menu:{closeAll:`Close All`,closeLeft:`Close Left`,closeRight:`Close Right`,closeOther:`Close Others`},dialog:{resetTitle:`Confirm Reset`,resetDesc:`All project data will be cleared and the default page will be restored. Continue?`,confirmReset:`Confirm Reset`,importOverrideTitle:`Confirm Override Import`,importOverrideDesc:`Use "{file}" to override all local data for current project. Continue?`,confirmOverride:`Confirm Override`,newProjectTitle:`New Project`,newProjectDesc:`Choose an industry, then open the new project calculation page in a new tab.`,createAndOpen:`Create & Open`,creating:`Creating...`,projectLimitTitle:`Project Limit Reached`,projectLimitDesc:`Project count has reached {max}. Delete one project before adding a new one.`,iKnow:`OK`,deleteProjectTitle:`Confirm Delete Project`,deleteCurrentProjectDesc:`Delete current project "{name}"? Data will be cleared and you will return to home.`,deleteProjectDesc:`Delete project "{name}"? This will remove local data for that project.`},guide:{title:`User Guide`,later:`Later`,prev:`Prev`,next:`Next`,finish:`Finish and Disable Auto Popup`,jumpToStep:`Jump to step {index}`,steps:{step1:{title:`Project Calculation Overview`,description:`This guide only explains the main project-calculation flow: project setup -> contract segments -> service pricing -> report export.`,point1:`The entry is the "Project Card", and the left flow line guides you through the setup in order.`,point2:`Forms and grids auto-save locally, so manual save is usually unnecessary.`,point3:`Project-level data affects later segment calculation and report output, so fill it first.`},step2:{title:`Project-Level Setup`,description:`Project-level setup mainly includes Basic Info, Scale Info, Consult Category Factor, and Major Factor.`,point1:`Basic Info: maintain project name, industry, and other base data.`,point2:`Scale Info: fill project scale by major as input for later budget values.`,point3:`The two factor pages maintain budget values and notes used to adjust calculation.`},step3:{title:`Fill Basic Info First`,description:`Complete the Basic Info page first. Project name and industry are core inputs for later project calculation.`,point1:`Project name is used in the home list, tab labels, and exported reports.`,point2:`Project industry determines the scale structure, major tree, and part of the budget logic.`,point3:`If project name is left empty, the system falls back to the default project name.`},step4:{title:`Maintain Scale Info`,description:`The Scale Info page stores project-level scale data, which is one of the base inputs of project calculation.`,point1:`Fill scale values by major. These numbers participate in later service budget values and summary.`,point2:`The grid suppoLine truncated
(2) Total Project Investment:
(3) Construction and Installation Engineering Costs Include:
(4) Land Acquisition and Demolition Compensation Costs of This Project Include:
(5) Other Engineering Construction Costs Include:
(6) Contingency Reserve:
(7) Construction Period Loan Interest`,overviewtip:`*Tip* This item is optional. The filled content is only used for automatically generating the compiled report.`,preparedBy:`Prepared By`,reviewedBy:`Reviewed By`,preparedCompany:`Prepared Company`,preparedDate:`Prepared Date`,desc:`Other Notes`,desctip:`*Note* This content is optional. The information filled in is only used for automatically generating report content. You may provide the work requirements being commissioned (on-site services, service personnel, service assessment, etc.).`},placeholders:{overview:`Enter project overview`,preparedBy:`Enter preparer`,reviewedBy:`Enter reviewer`,preparedCompany:`Enter prepared company`}}},Rr={common:{cancel:`取消`,confirm:`确认`,delete:`删除`,close:`关闭`,clear:`清空`,loading:`加载中...`},app:{projectConflict:{title:`检测到项目重复打开`,desc:`项目「{name}」已在其他页面处于活跃状态。为避免 IndexedDB 数据冲突,本页面已阻断编辑。`,countdown:`本页将在 {seconds} 秒后自动尝试关闭。你也可以先在新标签页打开其他项目。`,opened:`(已打开)`,lastEdited:`最后编辑:{time}`,openDefault:`打开默认项目`,createAndOpen:`新建项目并打开`}},home:{title:`鄂建文〔2023〕33号
《湖北省建设工程造价咨询服务收费参考标准(试行)》`,subtitle:`项目计算 · 单项速算 · 相关文件 · 导入数据`,projectCalcTab:`项目计算`,quickCalcTab:`快速计算`,cards:{heroTitle:`智能预算一键生成`,heroSubTitle:`助力《规范》高效落地`,heroDesc:`交通建设项目工程造价咨询服务费计算`,projectBudget:`项目预算`,projectBudgetDesc:`适用于多合同段、项目级整体计算,支持导出/导入完整项目数据`,quickCalc:`单项速算`,quickCalcDesc:`适用于单项服务试算,选择行业、咨询类型、工程专业,输入基数秒出结果`,importData:`导入数据`,importDataDesc:`导入".zw"数据包,并自动新建一个项目用于恢复数据,不会覆盖现有项目`,enter:`进入计算`,developing:`正在开发`,pickFile:`选择文件`,pickExisting:`选择已有项目`,relatedFiles:`相关文件`,relatedFilesDesc:`进入用户系统文件页面,查看收费文件、合同文件、服务内容和工作要求`,openRelatedFiles:`打开页面`},dialog:{newProject:`新建项目`,chooseIndustryDesc:`选择工程行业后,直接进入项目计算页面。`,industry:`工程行业`,selectIndustry:`请选择工程行业`,entering:`进入中...`,enterProjectCalc:`进入项目计算`,confirmImport:`确认导入数据`,confirmImportDesc:`将导入“{file}”数据包`,confirmImportAction:`确认导入并新建项目`,chooseExistingProject:`选择已有项目`,chooseExistingProjectDesc:`从项目列表中选择一个项目并直接进入工作台。`,noProjectYet:`当前暂无可进入的项目,请先新建项目。`}},tab:{toolbar:{light:`浅色`,dark:`深色`,language:`语言`,importData:`导入数据`,exportData:`导出数据`,exportReport:`导出报表`,savedata:`保存数据`,userGuide:`使用引导`,importexport:`导入/导出`,exporttable:`导出表格`,exportworddocument:`导出word文档`,projectmanagement:`项目管理`,returntohomepage:`返回首页`,reset:`重置`,resetting:`重置中...`,projectList:`项目列表`,projectCount:`项目数量:{count}/{max}`,createProject:`新建项目`,backHome:`返回入口`,resetAll:`清除全部项目`,opened:`(已打开)`,lastEdited:`最后编辑:{time}`},menu:{closeAll:`删除所有`,closeLeft:`删除左侧`,closeRight:`删除右侧`,closeOther:`删除其他`},dialog:{resetTitle:`确认重置`,resetDesc:`将全部项目数据,并恢复默认页面,确认继续吗?`,confirmReset:`确认重置`,importOverrideTitle:`确认导入覆盖`,importOverrideDesc:`将使用“{file}”覆盖当前本地全部数据,是否继续?`,confirmOverride:`确认覆盖`,newProjectTitle:`新建项目`,newProjectDesc:`选择工程行业后,将在新标签页直接打开新项目计算页面。`,createAndOpen:`新建并打开`,creating:`创建中...`,projectLimitTitle:`项目数量已达上限`,projectLimitDesc:`当前项目数量已达到 {max} 个,请先删除一个项目后再添加。`,iKnow:`我知道了`,deleteProjectTitle:`确认删除项目`,deleteCurrentProjectDesc:`确认删除当前项目「{name}」吗?将先清空该项目全部本地数据并返回首页。`,deleteProjectDesc:`确认删除项目「{name}」吗?这会移除该项目本地数据。`},guide:{title:`新用户引导`,later:`稍后再看`,prev:`上一步`,next:`下一步`,finish:`完成并不再自动弹出`,jumpToStep:`跳转到第 {index} 步`,steps:{step1:{title:`项目计算总览`,description:`这个引导只说明项目计算主链路,按“项目级设置 -> 合同段 -> 服务计费 -> 导出报表”的顺序理解即可。`,point1:`项目计算入口是“项目卡片”,左侧流程线会带你按顺序完成配置。`,point2:`页面里的表单和表格会自动保存,本地修改通常无需手动点击保存。`,point3:`项目级数据会影响后续合同段和报表结果,建议先补齐项目级信息。`},step2:{title:`项目级配置入口`,description:`项目级配置主要包括基础信息、规模信息、咨询分类系数、工程专业系数四部分。`,point1:`基础信息:维护项目名称、工程行业等项目基础资料。`,point2:`规模信息:按专业填写项目规模,为后续预算取值提供依据。`,point3:`两个系数页:维护预算取值和说明,作为项目计算的调节项。`},step3:{title:`先填基础信息`,description:`先完成基础信息页,尤其是项目名称和工程行业,后续所有项目计算都会依赖这里的数据。`,point1:`项目名称会用于主页列表、标签页显示和报表导出。`,point2:`工程行业决定规模信息结构、专业树和部分预算取值逻辑。`,point3:`如果项目名称留空,系统会自动回填默认项目名称。`},step4:{title:`维护规模信息`,description:`规模信息页用于录入项目级规模数据,这是项目计算的基础输入之一。`,point1:`按专业填写对应规模值,数值会参与后续服务预算取值和汇总。`,poi Line truncated
(二)项目总投资:
(三)建安工程费包括:
(四)本项目征地拆迁费包括:
(五)工程建设其他费用包括:
(六)预备费:
(七)建设期贷款利息:`,overviewtip:`*提示*本内容为选择性填写,填写内容仅用于自动生成编制报告内容。 `,preparedBy:`编制人`,reviewedBy:`复核人`,preparedCompany:`编制单位`,preparedDate:`编制日期`,desc:`其他简明`,desctip:`*提示*本内容为选择性填写,填写内容仅用于自动生成编制报告内容,如可填写委托的工作要求(驻场服务、服务人员、服务考核等要求) `},placeholders:{overview:`请输入项目概况`,preparedBy:`请输入编制人`,reviewedBy:`请输入复核人`,preparedCompany:`请输入编制单位`}}},zr=`jgjs-locale-v1`,Br=`zh-CN`;var Vr={"zh-CN":Rr,"en-US":Lr};const Hr=wr({legacy:!1,locale:(()=>{if(typeof window>`u`)return Br;let e=String(localStorage.getItem(`jgjs-locale-v1`)||``).trim();return e in Vr?e:String(navigator.language||``).toLowerCase().startsWith(`en`)?`en-US`:Br})(),fallbackLocale:Br,messages:Vr}),Ur=e=>{Hr.global.locale.value=e,typeof window<`u`&&localStorage.setItem(zr,e)};var Wr=t(x(),1);const Gr=`ProjectCalcView`,Kr=`QuickCalcView`,qr=`jgjs-workspace-mode-v1`,Jr=`projectId`,Yr=`newProject`,Xr=`openProjectDialog`,Zr=`forceHome`,Qr=`default`,$r=`quick`,ei=`quick-contract-meta-v1`,ti=Hr.global.t(`quickCalc.projectName`),ni=`contract-quick-contract-default`,ri=`quick-xm-base-info-v1`;var ii=`JGJS-HOME-IMPORT-TEMP`,ai=`home-import`,oi=`pending-file`,si=`jgjs-home-import-skip-confirm`,ci=Wr.default.createInstance({name:ii,storeName:ai});const li=()=>{try{return window.localStorage.getItem(qr)}catch{return`project`}},ui=e=>{try{window.localStorage.setItem(qr,e)}catch{}},di=(e,t)=>(async()=>{try{e?await ci.setItem(oi,{name:e.name,type:e.type,lastModified:e.lastModified,blob:e}):await ci.removeItem(oi)}catch{}try{window.sessionStorage.setItem(si,t?.skipWorkspaceConfirm?`1`:`0`)}catch{}})(),fi=async()=>{try{let e=await ci.getItem(oi);if(await ci.removeItem(oi),!e?.blob)return null;let t=String(e.name||`import.zw`).trim()||`import.zw`;return new File([e.blob],t,{type:typeof e.type==`string`?e.type:``,lastModified:typeof e.lastModified==`number`?e.lastModified:Date.now()})}catch{return null}},pi=()=>{try{let e=window.sessionStorage.getItem(si)===`1`;return window.sessionStorage.removeItem(si),e}catch{return!1}},mi=e=>{let t=String(e||``).trim();return t?t.replace(/[^a-zA-Z0-9_-]/g,``).slice(0,64)||`default`:Qr},hi=()=>{try{return mi(new URL(window.location.href).searchParams.get(Jr))}catch{return Qr}},gi=e=>{try{let t=mi(e),n=new URL(window.location.href);n.searchParams.set(Jr,t),window.history.replaceState({},``,`${n.pathname}${n.search}${n.hash}`)}catch(e){console.error(`write project id to url failed:`,e)}},_i=()=>{let e=hi();return gi(e),e},vi=(e,t)=>{try{let n=new URL(window.location.href);return n.searchParams.set(Jr,mi(e)),t?.newProject?(n.searchParams.set(Yr,`1`),t?.openProjectDialog===!1?n.searchParams.set(Xr,`0`):n.searchParams.delete(Xr)):(n.searchParams.delete(Yr),n.searchParams.delete(Xr)),t?.forceHome?n.searchParams.set(Zr,`1`):n.searchParams.delete(Zr),`${n.pathname}${n.search}${n.hash}`}catch{return`/?${Jr}=${encodeURIComponent(mi(e))}`}},yi=e=>`DB-${mi(e)}`;export{Br as C,Tr as D,Ur as E,x as O,ui as S,Hr as T,mi as _,Gr as a,di as b,ni as c,Kr as d,vi as f,yi as g,_i as h,Xr as i,$r as l,pi as m,Zr as n,ti as o,fi as p,Yr as r,ei as s,Qr as t,ri as u,hi as v,zr as w,gi as x,li as y};
-2
View File
@@ -1,2 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./info-DUoSJihi.js","./index-CAPJG_im.js","./_plugin-vue_export-helper-DUFB50Ey.js","./rolldown-runtime-fVNAxIxX.js","./vendor-ui-B4V4Cf1T.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js","./vendor-ag-grid~index~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeL~h29xz5eu-CW8VCi7z.js","./workspace-DxKKyh8w.js","./vendor-vue-CSlAvuUs.js","./sql-C69Jo4HU.js","./decimal-D3bp1pbs.js","./numberFormat-jhZZmX17.js","./vendor-ag-grid~index-Ch1jbN8D.js","./utils-DFe0HVk9.js","../css/index-CI_Unp5q.css","./xmInfo-mJFE8ukP.js","./xmCommonAgGrid-BG93CJjo.js","./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js","./agGridReadonlyAutoHeight-BpRhYCq1.js","./zxFwPricingSync-PWsfNukj.js","./pricingMethodTotals-DHJf6v89.js","./pricingScaleDetail-CuzzWQVd.js","./pricingScaleLink-BNsm4Fxd.js","./xmFactorDefaults-yPGPQ25R.js","./Ht-CCtU3LPH.js","../css/Ht-vPX37589.css","./XmConsultCategoryFactor-Ca8pgljP.js","./XmFactorGrid-DLfcqkt0.js","./XmMajorFactor-2oXH4hUg.js"])))=>i.map(i=>d[i]);
import{Bt as e,H as t,Rn as n,W as r,et as i,tt as a}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import{D as o}from"./workspace-DxKKyh8w.js";import"./vendor-ui-B4V4Cf1T.js";import{t as s}from"./index-CAPJG_im.js";import{t as c}from"./typeLine-BCKblICF.js";var l=a({__name:`xmCard`,setup(a){let{t:l}=o(),u=n(i(()=>s(()=>import(`./info-DUoSJihi.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url)));n(i(()=>s(()=>import(`./xmInfo-mJFE8ukP.js`),__vite__mapDeps([16,4,5,3,6,7,8,9,10,11,12,17,1,2,13,14,15,18,19,20,21,22,23,24]),import.meta.url)));let d=n(i(()=>s(()=>import(`./Ht-CCtU3LPH.js`),__vite__mapDeps([25,2,3,1,4,5,6,7,8,9,10,11,12,13,14,15,26]),import.meta.url)));n(i(()=>s(()=>import(`./XmConsultCategoryFactor-Ca8pgljP.js`),__vite__mapDeps([27,8,3,5,6,7,9,10,11,12,28,1,2,4,13,14,15,18,19,20,21,22,23,24]),import.meta.url))),n(i(()=>s(()=>import(`./XmMajorFactor-2oXH4hUg.js`),__vite__mapDeps([29,8,3,5,6,7,9,10,11,12,28,1,2,4,13,14,15,18,19,20,21,22,23,24]),import.meta.url)));let f=t(()=>[{key:`info`,label:l(`xmCard.categories.info`),component:u},{key:`contract`,label:l(`xmCard.categories.contract`),component:d}]);return(t,n)=>(e(),r(c,{scene:`xm-tab`,title:``,"storage-key":`project-active-cat`,"default-category":`info`,categories:f.value},null,8,[`categories`]))}});export{l as default};
-1
View File
@@ -1 +0,0 @@
import{$ as e,At as t,Bt as n,Cr as r,Er as i,H as a,K as o,Kt as s,M as c,Pt as ee,Q as l,U as u,W as te,Wn as d,er as f,mn as p,tt as m,xr as h,yn as g}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as ne}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import{D as re}from"./workspace-DxKKyh8w.js";import{a as ie,d as ae,i as _,n as v}from"./decimal-D3bp1pbs.js";import{A as oe,D as se,M as ce,O as le,j as ue,k as de}from"./vendor-ui-B4V4Cf1T.js";import{n as y,r as b}from"./numberFormat-jhZZmX17.js";import{T as x,c as fe,y as S}from"./sql-C69Jo4HU.js";import{k as pe}from"./index-CAPJG_im.js";import{t as me}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as he,i as ge,o as _e,r as ve,t as ye}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";import{n as be}from"./zxFwPricingSync-PWsfNukj.js";var xe={class:`h-full`},Se={class:`rounded-lg border bg-card xmMx scroll-mt-3 flex flex-col overflow-hidden h-full`},Ce={class:`flex items-center justify-between border-b px-4 py-3`},we={class:`text-sm font-semibold text-foreground cursor-pointer select-none transition-colors hover:text-primary`},Te={class:`border-b px-4 py-3 space-y-3 bg-card`},Ee={class:`flex items-center gap-4`},De={class:`flex-1 flex flex-wrap gap-2`},Oe=[`onClick`],ke={class:`flex items-center gap-4`},Ae={class:`flex-1 flex flex-wrap gap-2`},je=[`onClick`],Me={class:`flex items-start justify-between gap-3`},Ne={class:`space-y-1`},C=`jgjs:xm-scale-flush-request`,Pe=`ht-info-v3-`,Fe=`ht-info-scale-change-v1-`,w=`xm-project-phase-v1`,T=m({__name:`xmCommonAgGrid`,props:{title:{},dbKey:{},xmInfoKey:{},baseInfoKey:{}},setup(m){let T=ae(),{t:E,locale:Ie}=re(),D=d([]),O=d([]),k=d([]),A=d(new Map),j=()=>{let e=fe();k.value=e.map(({id:e,item:t})=>[e,t]),A.value=new Map(e.map(({rawId:e,id:t})=>[e,t]))};j();let M=e=>{let t=new Map,n=[],r=new Map(e.map(([e,t])=>[t.code,{id:e,...t}]));for(let[i,a]of e){if(!a.code.includes(`-`)){t.has(a.code)||n.push(a.code),t.set(a.code,{id:i,code:a.code,name:a.name,children:[]});continue}let e=a.code.split(`-`)[0];if(!t.has(e)){let i=r.get(e);n.includes(e)||n.push(e),t.set(e,{id:i?.id||`group-${e}`,code:e,name:i?.name||e,children:[]})}t.get(e).children.push({id:i,code:a.code,name:a.name,hasCost:a.hasCost!==!1,hasArea:a.hasArea!==!1})}return n.map(e=>t.get(e)).filter(e=>!!e)},N=()=>{let e=[];for(let t of O.value)for(let n of t.children)e.push({id:n.id,groupCode:t.code,groupName:t.name,majorCode:n.code,majorName:n.name,hasCost:n.hasCost,hasArea:n.hasArea,amount:null,landArea:null,path:[`${t.code} ${t.name}`,`${n.code} ${n.name}`]});return e},P=e=>{let t=new Map;for(let n of e||[]){if(n?.isGroupRow===!0)continue;let e=String(n.id);t.set(e,n);let r=A.value.get(e);r&&!t.has(r)&&t.set(r,n)}return N().map(e=>{let n=t.get(e.id);return n?{...e,hide:n.hide,amount:e.hasCost&&typeof n.amount==`number`?n.amount:null,landArea:e.hasArea&&typeof n.landArea==`number`?n.landArea:null}:e})},Le=e=>{let t=new Map(e.map(e=>[String(e.id||``),e])),n=[];for(let e of O.value){let r=0,i=!1,a=0,o=!1;for(let n of e.children){let e=t.get(String(n.id||``)),s=e?.amount;typeof s==`number`&&Number.isFinite(s)&&(r+=s,i=!0);let c=e?.landArea;typeof c==`number`&&Number.isFinite(c)&&(a+=c,o=!0)}n.push({id:e.id,groupCode:e.code,groupName:e.name,majorCode:e.code,majorName:e.name,hasCost:!0,hasArea:!0,amount:i?_(r,3):null,landArea:o?_(a,3):null,path:[`${e.code} ${e.name}`],hide:!1,isGroupRow:!0})}return n},F=(e,t)=>{let n=typeof t==`number`&&Number.isFinite(t)?_(t,2):null;G.value[0].amount=n;let r=e?.getPinnedTopRow(0);r&&r.setDataValue(`amount`,n)},Re=async e=>{try{let[t,n]=await Promise.all([T.getItem(I.baseInfoKey||`xm-base-info-v1`),T.getItem(I.dbKey)]);if(z.value=typeof t?.projectIndustry==`string`?t.projectIndustry.trim():``,!z.value){O.value=[],D.value=[],J=[],V.value=!1,F(e,null);return}O.value=M(k.value.filter(([e])=>S(e,z.value))),V.value=!!n?.roughCalcEnabled,F(e,n?.totalAmount);let r=Array.isArray(n?.detailRows)?n.detailRows:[],i=r.length>0,a=i?r.some(e=>{let t=e?.amount,n=e?.landArea;return typeof t==`number`&&Number.isFinite(t)||typeof n==`number`&&Number.isFinite(n)}):!1,o=i&&!a&&!V.value&&typeof n?.totalAmount==`number`&&Number.isFinite(n.totalAmount);if(i&&!o){D.value=P(r),J=Y(D.value);return}if(I.xmInfoKey){let t=await T.getItem(I.xmInfoKey);if(V.value=!!t?.roughCalcEnabled,F(e,t?.totalAmount),Array.isArray(t?.detailRows)&&t.detailRows.length>0){D.value=P(t.detailRows),J=Y(D.value);return}}D.value=N(),J=Y(D.value),X()}catch(t){console.error(`loadFromIndexedDB failed:`,t),z.value=``,D.value=[],J=[],V.value=!1,F(e,null)}},I=m,L=null,R=d(null),z=d(``),B=d(x.pinnedTotalLabel),V=d(!1),ze=a(()=>D.value.filter(e=>!e.hide)),Be=x.feePhaseOptions,Ve=x.feeStageOptions,H=d(``),U=d(``),He=async()=>{try{let e=await T.getItem(w);e&&(H.valLine truncated
@@ -1 +0,0 @@
import{d as e,l as t}from"./decimal-D3bp1pbs.js";import{p as n,s as r,u as i}from"./sql-C69Jo4HU.js";import{C as a}from"./index-CAPJG_im.js";var o=`xm-consult-category-factor-v1`,s=`xm-major-factor-v1`,c=e=>{let n=new Map;for(let[r,i]of Object.entries(e))n.set(String(r),t(i?.defCoe));return n},l=(e,n)=>e?Object.prototype.hasOwnProperty.call(e,`budgetValue`)?t(e.budgetValue):Object.prototype.hasOwnProperty.call(e,`standardFactor`)?t(e.standardFactor):n:null,u=()=>{try{return e()}catch{return null}},d=()=>{try{return a()}catch{return null}},f=async(e,t,n)=>{let r=d(),i=u(),a=(r?await r.loadKeyState(e):null)??(i?await i.getItem(e):null),o=c(t);for(let e of a?.detailRows||[]){if(!e?.id)continue;let t=String(e.id),r=o.has(t)?t:n?.get(t)||t;o.set(r,l(e,o.get(r)??null))}return o};const p=async(e=o)=>f(e,n()),m=async(e=s)=>f(e,r(),i());export{m as n,p as t};
-1
View File
@@ -1 +0,0 @@
import{Bt as e,W as t,tt as n}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import"./workspace-DxKKyh8w.js";import"./decimal-D3bp1pbs.js";import"./vendor-ui-B4V4Cf1T.js";import"./numberFormat-jhZZmX17.js";import"./sql-C69Jo4HU.js";import"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingScaleDetail-CuzzWQVd.js";import"./pricingMethodTotals-DHJf6v89.js";import"./pricingScaleLink-BNsm4Fxd.js";import"./xmFactorDefaults-yPGPQ25R.js";import"./zxFwPricingSync-PWsfNukj.js";import{t as r}from"./xmCommonAgGrid-BG93CJjo.js";var i=`xm-info-v3`,a=n({__name:`xmInfo`,setup(n){return(n,a)=>(e(),t(r,{title:`项目明细`,dbKey:i}))}});export{a as default};
-1
View File
@@ -1 +0,0 @@
import{$ as e,At as t,Bt as n,Cr as r,Dt as i,Er as a,G as o,H as s,K as c,Kt as l,M as u,Mt as d,Ot as ee,Pt as f,Q as p,U as m,W as te,Wn as h,Yn as ne,er as g,ft as _,mn as v,qn as re,tt as y,xr as ie,yn as b}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-CFxQnYK4.js";import{t as ae}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-BnO-wAhh.js";import"./vendor-vue-CSlAvuUs.js";import{D as oe}from"./workspace-DxKKyh8w.js";import{a as x,d as se,i as S,o as C}from"./decimal-D3bp1pbs.js";import{T as ce,a as le,d as ue,dt as de,ft as fe,gt as pe,ht as me,lt as he,mt as ge,n as _e,pt as ve,ut as ye}from"./vendor-ui-B4V4Cf1T.js";import{r as be,t as xe}from"./numberFormat-jhZZmX17.js";import{g as Se,h as Ce,m as we,o as Te,v as Ee,w as De}from"./sql-C69Jo4HU.js";import{t as Oe}from"./_plugin-vue_export-helper-DUFB50Ey.js";import{A as ke,C as Ae,k as w,n as T}from"./index-CAPJG_im.js";import{t as je}from"./vendor-ag-grid~XmMajorFactor~XmConsultCategoryFactor~xmInfo~ZxFwView~HtFeeMethodTypeLineVie~ntegcu2a-DXO754eW.js";import{a as Me,i as Ne,o as Pe,r as Fe,t as Ie}from"./agGridReadonlyAutoHeight-BpRhYCq1.js";import"./pricingScaleDetail-CuzzWQVd.js";import{n as Le,t as Re}from"./pricingMethodTotals-DHJf6v89.js";import{t as ze}from"./pricingPersistControl-DVG_7RF1.js";var E={class:`rounded-lg border bg-card p-2.5 shadow-sm hide`},D={class:`mb-1 flex items-center justify-between gap-2`},Be={class:`block text-[11px] font-medium text-foreground leading-none`},O={class:`rounded-md border p-1.5`},k={class:`flex flex-wrap items-start gap-1`},A=[`checked`,`onChange`],j={class:`text-muted-foreground shrink-0`},M={class:`text-foreground break-words`},N={key:0,class:`px-2 py-4 text-center text-xs text-muted-foreground`},Ve=y({__name:`ServiceCheckboxSelector`,props:{services:{},modelValue:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let r=e,i=t,{t:d}=oe(),ee=s(()=>new Set(r.modelValue)),f=new Set([`F3-6`,`F3-6-1`,`F3-6-2`]),p=(e,t)=>{let n=new Set(r.modelValue);f.has(e.code)?r.services.forEach(e=>{f.has(e.code)&&(t?n.add(e.id):n.delete(e.id))}):t?n.add(e.id):n.delete(e.id),i(`update:modelValue`,r.services.filter(e=>n.has(e.id)).map(e=>e.id))},te=()=>{i(`update:modelValue`,[])};return(e,t)=>(n(),c(`div`,E,[m(`div`,D,[m(`label`,Be,a(g(d)(`serviceSelector.title`)),1),m(`button`,{type:`button`,class:`cursor-pointer h-6 rounded-md border px-2 text-[13px] text-muted-foreground transition hover:bg-accent`,onClick:te},a(g(d)(`serviceSelector.clear`)),1)]),m(`div`,O,[m(`div`,k,[(n(!0),c(u,null,l(r.services,e=>(n(),c(`label`,{key:e.id,class:`inline-flex w-fit max-w-full cursor-pointer items-start gap-1.5 rounded-md border px-2 py-1 text-[11px] leading-4 hover:bg-muted/60`},[m(`input`,{type:`checkbox`,class:`mt-0.5`,checked:ee.value.has(e.id),onChange:t=>p(e,t.target.checked)},null,40,A),m(`span`,j,a(e.code),1),m(`span`,M,a(e.name),1)]))),128))]),r.services.length===0?(n(),c(`div`,N,a(g(d)(`serviceSelector.empty`)),1)):o(``,!0)])]))}}),He={class:`h-full min-h-0 flex flex-col gap-2`},Ue={class:`rounded-lg border bg-card xmMx flex min-h-0 flex-1 flex-col overflow-hidden`},We={class:`flex items-start justify-between gap-3 border-b px-3 py-2`},Ge={class:`min-w-0 space-y-1`},Ke={class:`text-xs font-semibold text-foreground leading-none`},qe={class:`text-[11px] leading-none leading-4 !text-[brown]`},Je={class:`mt-4 flex items-center justify-end gap-2`},Ye={class:`mt-4 flex items-center justify-end gap-2`},Xe=`pricing-clear-skip:`,Ze=`pricing-force-default:`,Qe=5e3,P=Oe(y({__name:`zxFw`,props:{contractId:{},contractName:{},projectInfoKey:{}},setup(o){let c=o,l=ke(),u=Ae(),Oe=se(),{t:E,locale:D}=oe(),Be=s(()=>c.projectInfoKey||`xm-base-info-v1`),O={excludeInvestmentCostAndAreaRows:!0},k=h(``),A=e=>typeof e==`boolean`?e:null,j=(e,t=!0)=>typeof e==`boolean`?e:t,M={scale:!0,onlyCostScale:!1,amount:!0,workDay:!0},N=s(()=>{let e=k.value;return e?we().map(({id:e,item:t})=>({id:e,item:t})).filter(({item:t})=>!!((t?.code||t?.ref)&&t?.name)&&t.defCoe!==null&&Ee(t,Te(e))).map(({id:e,item:t})=>({id:e,code:t.code||t.ref||``,name:t.name,type:{scale:A(t.scale),onlyCostScale:A(t.onlyCostScale),amount:A(t.amount),workDay:A(t.workDay)},process:t.process})):[]}),P=s(()=>new Map(N.value.map(e=>[e.id,e])));s(()=>new Map(N.value.map(e=>[e.code,e.id])));let $e=s(()=>N.value.map(e=>e.id).join(`|`)),F={id:`fixed-budget-c`,code:``,name:E(`htZxFw.subtotal`)},I=e=>e?.id===F.id,et=e=>({id:String(e.id||``),code:e.code||``,name:e.name||``,process:String(e.id||``)===F.id?null:Number(e.process)===1?1:0,investScale:typeof e.investScale==`number`?e.investScale:null,landScale:typeof e.landScale==`number`?e.landScale:null,serviceFee:typeof e.serviceFee==`number`?e.serviceFee:null,hourly:typeof e.hourly==`number`?e.hourly:null,subtotal:typeof e.subtotal==`number`?e.subtotal:null,finalFee:typeof e.finalFee==`number`?e.finalFee:null,remark:String(e.remark||``)Line truncated
-1
View File
@@ -1 +0,0 @@
import{a as e,d as t,i as n,s as r}from"./decimal-D3bp1pbs.js";import{h as i}from"./sql-C69Jo4HU.js";import{C as a}from"./index-CAPJG_im.js";import{a as o,i as s,r as c}from"./pricingScaleDetail-CuzzWQVd.js";import{t as l}from"./pricingMethodTotals-DHJf6v89.js";import{a as u,i as d,l as f,n as p,r as m,s as h,t as g}from"./pricingScaleLink-BNsm4Fxd.js";import{n as _,t as v}from"./xmFactorDefaults-yPGPQ25R.js";var y={excludeInvestmentCostAndAreaRows:!0},b=t=>t.some(e=>typeof e.budgetFee==`number`&&Number.isFinite(e.budgetFee))?n(e(t,e=>e.budgetFee??null),2):null,x=e=>new Set((e||[]).map(e=>String(e||``).trim()).filter(Boolean)),S=e=>{if(String(e.id||``).startsWith(`task-none-`))return null;let t=e.budgetAdoptedUnitPrice,i=e.conversion,a=e.workload;return typeof t!=`number`||!Number.isFinite(t)||typeof i!=`number`||!Number.isFinite(i)||typeof a!=`number`||!Number.isFinite(a)?null:n(r(t).mul(i).mul(a),2)},C=e=>{if(String(e.id||``).startsWith(`task-none-`))return null;let t=e.consultCategoryFactor,i=S(e);return i==null||typeof t!=`number`||!Number.isFinite(t)?null:n(r(i).mul(t),2)},w=t=>t.some(e=>typeof e.serviceFee==`number`&&Number.isFinite(e.serviceFee))?n(e(t,e=>e.serviceFee??null),2):null,T=e=>i(e)?.onlyCostScale===!0,E=(e,t,n)=>{if(n?.bypassFilter||!t||t.size===0)return!0;let r=f(e);return!!(r&&t.has(r))},D=async e=>{let t=a(),n=await t.loadServicePricingMethodState(e.contractId,e.serviceId,e.method);if(!n?.detailRows?.length)return 0;let r=!1,i=0,l=n.detailRows.length===1||e.method===`investScale`&&T(e.serviceId),f=n.detailRows.map(t=>{let n=e.method===`investScale`?`cost`:`area`;if(!E(t,e.changedRowIds,{bypassFilter:l}))return t;let a={...t},f=u(a,e.sourceRowMap,e.sourceRowIdMap),p=d(a,e.projectTotals);if(n===`cost`){let e=l?p.amount:typeof f?.amount==`number`?f.amount:null;a.amount=c(a.amount,e)?a.amount:e}else{let e=l?p.landArea:typeof f?.landArea==`number`?f.landArea:null;a.landArea=c(a.landArea,e)?a.landArea:e}let m=o(a,n);return s(t,m,n)?t:(r=!0,i+=1,m)});return r?(t.setServicePricingMethodState(e.contractId,e.serviceId,e.method,{detailRows:f,projectCount:n.projectCount??null},{force:!0}),await M({contractId:e.contractId,serviceId:e.serviceId,field:e.method,value:b(f)}),i):0};const O=async(e,n)=>{let r=a(),i=t();await r.loadContract(e);let o=r.getContractState(e),s=Array.from(new Set((o?.selectedIds||[]).map(e=>String(e||``).trim()).filter(Boolean))),c=n?.changedRowIds?.length?h(n.changedRowIds):void 0;if(s.length===0||c&&c.size===0)return{updatedServiceCount:0,updatedMethodCount:0,updatedRowCount:0};await l({contractId:e,serviceIds:s,options:y});let u=await i.getItem(`ht-info-v3-${e}`),d=Array.isArray(u?.detailRows)?u.detailRows:[],f=p(d),_=g(d),v=m(d,u?.totalAmount),b=new Set,x=0,S=0;for(let t of s){let n=await D({contractId:e,serviceId:t,method:`investScale`,sourceRowMap:f,sourceRowIdMap:_,projectTotals:v,changedRowIds:c});n>0&&(b.add(t),x+=1,S+=n);let r=await D({contractId:e,serviceId:t,method:`landScale`,sourceRowMap:f,sourceRowIdMap:_,projectTotals:v,changedRowIds:c});r>0&&(b.add(t),x+=1,S+=r)}return{updatedServiceCount:b.size,updatedMethodCount:x,updatedRowCount:S}};var k=async e=>{let t=a(),n=await t.loadServicePricingMethodState(e.contractId,e.serviceId,e.method);if(!n?.detailRows?.length)return 0;let r=!1,i=0,l=e.method===`investScale`?`cost`:`area`,u=n.detailRows.map(t=>{let n={...t},a=!1;if(e.syncConsultFactor&&!c(n.consultCategoryFactor,e.consultFactor)&&(n.consultCategoryFactor=e.consultFactor,a=!0),e.majorChangedRowIds?.size){let t=f(n);if(e.majorChangedRowIds.has(t)){let r=e.majorFactorMap.get(t)??null;c(n.majorFactor,r)||(n.majorFactor=r,a=!0)}}if(!a)return t;let u=o(n,l);return s(t,u,l)?t:(r=!0,i+=1,u)});return r?(t.setServicePricingMethodState(e.contractId,e.serviceId,e.method,{detailRows:u,projectCount:n.projectCount??null},{force:!0}),await M({contractId:e.contractId,serviceId:e.serviceId,field:e.method,value:b(u)}),i):0},A=async e=>{let t=a(),n=await t.loadServicePricingMethodState(e.contractId,e.serviceId,`workload`);if(!n?.detailRows?.length)return 0;let r=!1,i=0,o=n.detailRows.map(t=>{let n={...t},a=!1;c(n.consultCategoryFactor,e.consultFactor)||(n.consultCategoryFactor=e.consultFactor,a=!0);let o=S(n),s=C(n);return c(n.basicFee,o)||(n.basicFee=o,a=!0),c(n.serviceFee,s)||(n.serviceFee=s,a=!0),a?(r=!0,i+=1,n):t});return r?(t.setServicePricingMethodState(e.contractId,e.serviceId,`workload`,{detailRows:o,projectCount:n.projectCount??null},{force:!0}),await M({contractId:e.contractId,serviceId:e.serviceId,field:`workload`,value:w(o)}),i):0};const j=async(e,t)=>{let n=a();await n.loadContract(e);let r=n.getContractState(e),i=Array.from(new Set((r?.selectedIds||[]).map(e=>String(e||``).trim()).filter(Boolean)));if(i.length===0)return{updatedServiceCount:0,updatedMethodCount:0,updatedRowCount:0};let o=x(t?.consultChangedServiceIds),s=h(t?.majorChangedRowIds);if(o.size===0&&s.size===0)return{updatedServiceCount:0,updatedMethodCount:0,updatedRowCount:0};let[c,l]=await Promise.all([Line truncated
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

+115
View File
@@ -0,0 +1,115 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
# 任何项目都务必遵守的规则(极其重要!!!)
## Communication
- 永远使用简体中文进行思考和对话
## Documentation
- 编写 .md 文档时,也要用中文
- 正式文档写到项目的 docs/ 目录下
- 用于讨论和评审的计划、方案等文档,写到项目的 discuss/ 目录下
## Code Architecture
- 编写代码的硬性指标,包括以下原则:
(1)对于 Python、JavaScript、TypeScript 等动态语言,尽可能确保每个代码文件不要超过 500 行
(3)每层文件夹中的文件,尽可能不超过 8 个。如有超过,需要规划为多层子文件夹
- 除了硬性指标以外,还需要时刻关注优雅的架构设计,避免出现以下可能侵蚀我们代码质量的「坏味道」:
(1)僵化 (Rigidity): 系统难以变更,任何微小的改动都会引发一连串的连锁修改。
(2)冗余 (Redundancy): 同样的代码逻辑在多处重复出现,导致维护困难且容易产生不一致。
(3)循环依赖 (Circular Dependency): 两个或多个模块互相纠缠,形成无法解耦的“死结”,导致难以测试与复用。
(4)脆弱性 (Fragility): 对代码一处的修改,导致了系统中其他看似无关部分功能的意外损坏。
(5)晦涩性 (Obscurity): 代码意图不明,结构混乱,导致阅读者难以理解其功能和设计。
(6)数据泥团 (Data Clump): 多个数据项总是一起出现在不同方法的参数中,暗示着它们应该被组合成一个独立的对象。
(7)不必要的复杂性 (Needless Complexity): 用“杀牛刀”去解决“杀鸡”的问题,过度设计使系统变得臃肿且难以理解。
- 【非常重要!!】无论是你自己编写代码,还是阅读或审核他人代码时,都要严格遵守上述硬性指标,以及时刻关注优雅的架构设计。
- 【非常重要!!】无论何时,一旦你识别出那些可能侵蚀我们代码质量的「坏味道」,都应当立即询问用户是否需要优化,并给出合理的优化建议。
## Commands
- **Dev server**: `bun run dev` (uses `bunx --bun vite`)
- **Build**: `bun run build` (type-checks then bundles via Vite)
- **Type check only**: `bun run type-check`
- **Preview build**: `bun run preview`
No test runner is configured. Use Playwright for UI automation when needed (see AGENTS.md).
## Architecture Overview
This is a **browser-only Vue 3 SPA** — no backend, no SSR. All data is persisted client-side via IndexedDB (through localforage). The domain is **交通建设项目工程造价咨询** (transport infrastructure cost-consulting fee calculation for road, railway, and waterway projects).
### App Entry & Routing
There is no Vue Router. Navigation is tab-based, managed entirely by `useTabStore` (`src/pinia/tab.ts`). `src/App.vue` shows either `HomeEntryView` (first-launch onboarding) or the main `Tab` layout depending on `tabStore.hasCompletedSetup`.
The `Tab` layout (`src/layout/tab.vue`) renders the active tab's component by name using `defineAsyncComponent` with a map of component names → import paths.
### Workspace Modes
Defined in `src/lib/workspace.ts`. Three modes: `home`, `project`, `quick`. The current mode is persisted to `localStorage` under key `jgjs-workspace-mode-v1`. Two fixed/protected tab IDs exist: `ProjectCalcView` and `QuickCalcView` (and the quick-contract tab), which cannot be closed.
### State & Persistence
- **Pinia** is used for all state management with `pinia-plugin-persistedstate`.
- The persistence plugin is customized at `src/pinia/Plugin/indexdb` — it stores pinia state in IndexedDB (not localStorage), using localforage with `mode: 'multiple'` (each store in its own IndexedDB store named `pinia`).
- `useTabStore` (`src/pinia/tab.ts`): tab list, active tab, setup flag. Persisted.
- `useZxFwPricingStore` (`src/pinia/zxFwPricing.ts`): the core domain store. Manages contract-level 咨询服务 (consulting service) pricing state, per-service pricing method states, and contract extra-fee states. Uses a generic key/value layer (`getKeyState`/`setKeyState`/`loadKeyState`) backed by `useKvStore`.
- `useKvStore` (`src/pinia/kv.ts`): raw key-value access to IndexedDB via localforage.
### Data Layer (`src/sql.ts`)
Despite the name, there is no SQL database. `src/sql.ts` is a large static data file containing:
- `industryTypeList`: road / railway / waterway
- `majorList`: engineering specialties (E1–E4 codes) with coefficient ranges
- `serviceList`: consulting service types (D1–D5 codes) with pricing method flags
- `additionalWorkList`: extra work item definitions
- `exportFile`: Excel export logic using ExcelJS
All fee calculation formulas and coefficient tables live here.
### Lib Utilities (`src/lib/`)
- `decimal.ts` / `number.ts` / `numberFormat.ts`: safe arithmetic using `decimal.js`, thousand-separator formatting
- `zwArchive.ts`: AES-GCM encryption/decryption for `.zw` save files (import/export format). The key is derived from a fixed seed via SHA-256. File magic bytes: `JGJSZW`.
- `workspace.ts`: workspace mode constants and storage helpers
- `diyAgGridOptions.ts`: shared AG Grid configuration defaults
- `pricingScaleFee.ts` / `pricingMethodTotals.ts`: fee calculation helpers
- `projectWorkspace.ts` / `xmFactorDefaults.ts`: project-level workspace helpers
- `zxFwPricingSync.ts`: syncs pricing store state to/from IndexedDB on demand
### Views (`src/components/views/`)
Key views:
- `HomeEntryView.vue`: onboarding screen shown on first launch; dispatches `home-import-selected` DOM event on completion
- `ProjectWorkspaceView.vue` / `xmCard.vue`: project card workspace (项目卡片)
- `QuickCalcView.vue`: quick calculation mode
- `ZxFwView.vue`: 咨询服务 (consulting services) grid — the primary fee input view
- `Ht.vue` / `htCard.vue`: contract (合同) views
- `HtFeeMethodTypeLineView.vue`: per-service fee method line (rate/hourly/quantity-unit-price)
- `WorkContentGrid.vue`: AG Grid-based work content table
### AG Grid
AG Grid Enterprise is used throughout. Modules are registered once globally in `src/main.ts`. A license key is set there. Shared grid option defaults live in `src/lib/diyAgGridOptions.ts`.
### UI Components
Reka UI (headless component library) + Tailwind CSS v4 + `lucide-vue-next` icons + `@iconify/vue`. Shared UI primitives are in `src/components/ui/`. Tailwind is integrated as a Vite plugin (`@tailwindcss/vite`).
### Build
Vite 8 with rolldown. Output goes to `dist/` with `base: './'` (relative paths — important for local file:// deployment). Code-splitting separates `ag-grid`, `vue/pinia`, and `reka-ui` into distinct vendor chunks.
### Code Conventions
- All code comments are in Chinese.
- Composition API (`<script setup>`) everywhere.
- No Vue Router — use `useTabStore.openTab()` to navigate.
- Numeric calculations always go through `src/lib/decimal.ts` helpers to avoid floating-point errors.
- Storage keys follow patterns like `zxFW-{contractId}`, `tzGMF-{contractId}-{serviceId}`, `htExtraFee-{contractId}-{feeType}`.
-18
View File
@@ -1,18 +0,0 @@
FROM golang:1.24-alpine AS builder
WORKDIR /src
COPY docker/dist-server/ ./
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/dist-server .
FROM scratch
WORKDIR /www
COPY --from=builder /out/dist-server /dist-server
COPY dist/ /www/
EXPOSE 80
ENTRYPOINT ["/dist-server"]
+5
View File
@@ -0,0 +1,5 @@
# Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
View File
Whitespace-only changes.
+2 -33
View File
@@ -9,29 +9,24 @@
"@iconify/vue": "^5.0.0",
"@internationalized/date": "^3.12.0",
"@internationalized/number": "^3.6.5",
"@noble/ciphers": "^2.1.1",
"@noble/hashes": "^2.0.1",
"@tailwindcss/vite": "^4.1.18",
"@vueuse/core": "^14.2.1",
"ag-grid-community": "^35.1.0",
"ag-grid-enterprise": "^35.1.0",
"ag-grid-vue3": "^35.1.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"decimal.js": "^10.6.0",
"docxtemplater": "^3.68.5",
"exceljs": "^4.4.0",
"file-saver": "^2.0.5",
"localforage": "^1.10.0",
"lucide-vue-next": "^0.563.0",
"motion-v": "^2.0.0",
"pinia": "^3.0.4",
"pinia-plugin-persistedstate": "^4.7.1",
"pizzip": "^3.2.0",
"reka-ui": "^2.8.0",
"tailwind-merge": "^3.4.0",
"tailwindcss": "^4.1.18",
"vue": "^3.5.25",
"vue-i18n": "^11.3.0",
"vuedraggable": "^4.1.0",
},
"devDependencies": {
@@ -83,14 +78,6 @@
"@internationalized/number": ["@internationalized/number@3.6.5", "", { "dependencies": { "@swc/helpers": "^0.5.0" } }, "sha512-6hY4Kl4HPBvtfS62asS/R22JzNNy8vi/Ssev7x6EobfCp+9QIB2hKvI2EtbdJ0VSQacxVNtqhE/NmF/NZ0gm6g=="],
"@intlify/core-base": ["@intlify/core-base@11.4.6", "", { "dependencies": { "@intlify/devtools-types": "11.4.6", "@intlify/message-compiler": "11.4.6", "@intlify/shared": "11.4.6" } }, "sha512-EOeHO95XESK9IFHgHeZXunsM/WBAoCA0DlaWODvx14vKmetAuS97t+l6Xe9hTUqntPpF93vtVSjjUDafw3wXMw=="],
"@intlify/devtools-types": ["@intlify/devtools-types@11.4.6", "", { "dependencies": { "@intlify/core-base": "11.4.6", "@intlify/shared": "11.4.6" } }, "sha512-wowQPpNem56b2d43IJmqbrzG2FeBKe5f/kUGlpNuBmXs6OSqncF8m1+1lxHuW8ISZJF0ma2RkW3iLkw0g0G4VA=="],
"@intlify/message-compiler": ["@intlify/message-compiler@11.4.6", "", { "dependencies": { "@intlify/shared": "11.4.6", "source-map-js": "^1.0.2" } }, "sha512-5nj3jULqeTAC1WovwMs1LQWgatTa2pM/rXN9T3XW8rdOtXW9ZF6/GLSNFTKDQmPLwclhPdgUWLJ/4w3fMeeC/Q=="],
"@intlify/shared": ["@intlify/shared@11.4.6", "", {}, "sha512-m1p1HHAMLhqSpTRH7VnXdrN0CQ4y+9vunFkpLkbD8soIuBsnQdawZXqMCgvwI2UVF9Ww7sVaw7g9tV2VO7shoA=="],
"@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.3.13", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA=="],
"@jridgewell/remapping": ["@jridgewell/remapping@2.3.5", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ=="],
@@ -103,10 +90,6 @@
"@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.1.1", "", { "dependencies": { "@emnapi/core": "^1.7.1", "@emnapi/runtime": "^1.7.1", "@tybys/wasm-util": "^0.10.1" } }, "sha512-p64ah1M1ld8xjWv3qbvFwHiFVWrq1yFvV4f7w+mzaqiR4IlSgkqhcRdHwsGgomwzBH51sRY4NEowLxnaBjcW/A=="],
"@noble/ciphers": ["@noble/ciphers@2.2.0", "", {}, "sha512-Z6pjIZ/8IJcCGzb2S/0Px5J81yij85xASuk1teLNeg75bfT07MV3a/O2Mtn1I2se43k3lkVEcFaR10N4cgQcZA=="],
"@noble/hashes": ["@noble/hashes@2.2.0", "", {}, "sha512-IYqDGiTXab6FniAgnSdZwgWbomxpy9FtYvLKs7wCUs2a8RkITG+DFGO1DM9cr+E3/RgADRpFjrKVaJ1z6sjtEg=="],
"@oxc-project/runtime": ["@oxc-project/runtime@0.114.0", "", {}, "sha512-mVGQvr/uFJGQ3hsvgQ1sJfh79t5owyZZZtw+VaH+WhtvsmtgjT6imznB9sz2Q67Q0/4obM9mOOtQscU4aJteSg=="],
"@oxc-project/types": ["@oxc-project/types@0.114.0", "", {}, "sha512-//nBfbzHQHvJs8oFIjv6coZ6uxQ4alLfiPe6D5vit6c4pmxATHHlVwgB1k+Hv4yoAMyncdxgRBF5K4BYWUCzvA=="],
@@ -225,8 +208,6 @@
"@vueuse/shared": ["@vueuse/shared@14.2.1", "", { "peerDependencies": { "vue": "^3.5.0" } }, "sha512-shTJncjV9JTI4oVNyF1FQonetYAiTBd+Qj7cY89SWbXSkx7gyhrgtEdF2ZAVWS1S3SHlaROO6F2IesJxQEkZBw=="],
"@xmldom/xmldom": ["@xmldom/xmldom@0.9.10", "", {}, "sha512-A9gOqLdi6cV4ibazAjcQufGj0B1y/vDqYrcuP6d/6x8P27gRS8643Dj9o1dEKtB6O7fwxb2FgBmJS2mX7gpvdw=="],
"ag-charts-community": ["ag-charts-community@13.1.0", "", { "dependencies": { "ag-charts-core": "13.1.0", "ag-charts-locale": "13.1.0", "ag-charts-types": "13.1.0" } }, "sha512-w+uFTjxlAoTq1+8tgUORtB/zr9jm38ibXzbbWnkBP9Dep9yahi5a1jZL7yExAX35uq3g9QtjTh0Oj/QPDBQ9Ew=="],
"ag-charts-core": ["ag-charts-core@13.1.0", "", { "dependencies": { "ag-charts-types": "13.1.0" } }, "sha512-mLHJZ8oU5CPeLRURescdISCtMsiiA/m4d1iBr6aQBEgiTVogRMGpFpsYNtQiYtoW2sRh+62I9sN8fhC3JQjX/g=="],
@@ -307,8 +288,6 @@
"detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="],
"docxtemplater": ["docxtemplater@3.69.0", "", { "dependencies": { "@xmldom/xmldom": "^0.9.10" } }, "sha512-l1zDGXj4CHdBCkGPvmVOsEzc4DDpMxLXgnNd1zllEck9gxCGkkV5vv1tOD5JhudaM73nTIgymy4wil2u9O/uhQ=="],
"duplexer2": ["duplexer2@0.1.4", "", { "dependencies": { "readable-stream": "^2.0.2" } }, "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA=="],
"end-of-stream": ["end-of-stream@1.4.5", "", { "dependencies": { "once": "^1.4.0" } }, "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg=="],
@@ -325,8 +304,6 @@
"fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
"file-saver": ["file-saver@2.0.5", "", {}, "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA=="],
"framer-motion": ["framer-motion@12.34.3", "", { "dependencies": { "motion-dom": "^12.34.3", "motion-utils": "^12.29.2", "tslib": "^2.4.0" }, "peerDependencies": { "@emotion/is-prop-valid": "*", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "optionalPeers": ["@emotion/is-prop-valid", "react", "react-dom"] }, "sha512-v81ecyZKYO/DfpTwHivqkxSUBzvceOpoI+wLfgCgoUIKxlFKEXdg0oR9imxwXumT4SFy8vRk9xzJ5l3/Du/55Q=="],
"fs-constants": ["fs-constants@1.0.0", "", {}, "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="],
@@ -445,7 +422,7 @@
"once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
"pako": ["pako@2.2.0", "", {}, "sha512-zJq6RP/5q+TO2OpFV3FHzlPnFjmkb7Nc99a5SNjJE+uu/PkpChs+NIZSSzbBoD+6kjiISXjfYdwj1ZRQ81dz/w=="],
"pako": ["pako@1.0.11", "", {}, "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="],
"path-browserify": ["path-browserify@1.0.1", "", {}, "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g=="],
@@ -461,8 +438,6 @@
"pinia-plugin-persistedstate": ["pinia-plugin-persistedstate@4.7.1", "", { "dependencies": { "defu": "^6.1.4" }, "peerDependencies": { "@nuxt/kit": ">=3.0.0", "@pinia/nuxt": ">=0.10.0", "pinia": ">=3.0.0" }, "optionalPeers": ["@nuxt/kit", "@pinia/nuxt", "pinia"] }, "sha512-WHOqh2esDlR3eAaknPbqXrkkj0D24h8shrDPqysgCFR6ghqP/fpFfJmMPJp0gETHsvrh9YNNg6dQfo2OEtDnIQ=="],
"pizzip": ["pizzip@3.2.0", "", { "dependencies": { "pako": "^2.1.0" } }, "sha512-X4NPNICxCfIK8VYhF6wbksn81vTiziyLbvKuORVAmolvnUzl1A1xmz9DAWKxPRq9lZg84pJOOAMq3OE61bD8IQ=="],
"postcss": ["postcss@8.5.6", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg=="],
"process-nextick-args": ["process-nextick-args@2.0.1", "", {}, "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="],
@@ -531,8 +506,6 @@
"vue-demi": ["vue-demi@0.14.10", "", { "peerDependencies": { "@vue/composition-api": "^1.0.0-rc.1", "vue": "^3.0.0-0 || ^2.6.0" }, "optionalPeers": ["@vue/composition-api"], "bin": { "vue-demi-fix": "bin/vue-demi-fix.js", "vue-demi-switch": "bin/vue-demi-switch.js" } }, "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg=="],
"vue-i18n": ["vue-i18n@11.4.6", "", { "dependencies": { "@intlify/core-base": "11.4.6", "@intlify/devtools-types": "11.4.6", "@intlify/shared": "11.4.6", "@vue/devtools-api": "^6.5.0" }, "peerDependencies": { "vue": "^3.0.0" } }, "sha512-l0gE7Rfy0phCa5ChKYkOq543Wgd39BCK6hkktfr1Ed4D99oRkgPK9ffShASZdeC8OJxGfdWmpYoAaAH6iLEuIg=="],
"vue-tsc": ["vue-tsc@3.2.5", "", { "dependencies": { "@volar/typescript": "2.4.28", "@vue/language-core": "3.2.5" }, "peerDependencies": { "typescript": ">=5.0.0" }, "bin": { "vue-tsc": "bin/vue-tsc.js" } }, "sha512-/htfTCMluQ+P2FISGAooul8kO4JMheOTCbCy4M6dYnYYjqLe3BExZudAua6MSIKSFYQtFOYAll7XobYwcpokGA=="],
"vuedraggable": ["vuedraggable@4.1.0", "", { "dependencies": { "sortablejs": "1.14.0" }, "peerDependencies": { "vue": "^3.0.1" } }, "sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww=="],
@@ -567,8 +540,6 @@
"jszip/lie": ["lie@3.3.0", "", { "dependencies": { "immediate": "~3.0.5" } }, "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ=="],
"jszip/pako": ["pako@1.0.11", "", {}, "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="],
"jszip/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
"lazystream/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
@@ -581,8 +552,6 @@
"unzipper/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
"vue-i18n/@vue/devtools-api": ["@vue/devtools-api@6.6.4", "", {}, "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g=="],
"zip-stream/archiver-utils": ["archiver-utils@3.0.4", "", { "dependencies": { "glob": "^7.2.3", "graceful-fs": "^4.2.0", "lazystream": "^1.0.0", "lodash.defaults": "^4.2.0", "lodash.difference": "^4.5.0", "lodash.flatten": "^4.4.0", "lodash.isplainobject": "^4.0.6", "lodash.union": "^4.6.0", "normalize-path": "^3.0.0", "readable-stream": "^3.6.0" } }, "sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw=="],
"archiver-utils/readable-stream/string_decoder": ["string_decoder@1.1.1", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
BIN
View File
Binary file not shown.
-3
View File
@@ -1,3 +0,0 @@
module dist-server
go 1.24
-69
View File
@@ -1,69 +0,0 @@
package main
import (
"log"
"net/http"
"os"
"path/filepath"
"strings"
)
const (
defaultPort = "80"
webRoot = "/www"
indexName = "index.html"
)
func main() {
port := strings.TrimSpace(os.Getenv("PORT"))
if port == "" {
port = defaultPort
}
server := &http.Server{
Addr: ":" + port,
Handler: http.HandlerFunc(serve),
}
log.Printf("dist server listening on :%s", port)
if err := server.ListenAndServe(); err != nil && err != http.ErrServerClosed {
log.Fatal(err)
}
}
func serve(w http.ResponseWriter, r *http.Request) {
requestPath := strings.TrimPrefix(filepath.Clean("/"+r.URL.Path), "/")
if requestPath == "." || requestPath == "" {
serveIndex(w, r)
return
}
fullPath := filepath.Join(webRoot, filepath.FromSlash(requestPath))
if info, err := os.Stat(fullPath); err == nil && !info.IsDir() {
applyAssetCacheHeaders(w, requestPath)
http.ServeFile(w, r, fullPath)
return
}
serveIndex(w, r)
}
func serveIndex(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Cache-Control", "no-cache")
w.Header().Set("Pragma", "no-cache")
w.Header().Set("Expires", "0")
http.ServeFile(w, r, filepath.Join(webRoot, indexName))
}
func applyAssetCacheHeaders(w http.ResponseWriter, requestPath string) {
if strings.EqualFold(requestPath, indexName) {
w.Header().Set("Cache-Control", "no-cache")
w.Header().Set("Pragma", "no-cache")
w.Header().Set("Expires", "0")
return
}
if strings.HasPrefix(requestPath, "static/") {
w.Header().Set("Cache-Control", "public, max-age=31536000, immutable")
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

+3 -13
View File
@@ -4,21 +4,11 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script>
;(() => {
if (window.location.protocol === 'file:') return
const { pathname, search, hash } = window.location
const lastSegment = pathname.slice(pathname.lastIndexOf('/') + 1)
if (pathname !== '/' && !pathname.endsWith('/') && lastSegment && !lastSegment.includes('.')) {
window.location.replace(`${pathname}/${search}${hash}`)
}
})()
</script>
<title>联众咨询</title>
<title>造价计算工具</title>
</head>
<body>
<div id="app"></div>
<!-- <script>
<script>
//上线前添加访问版本号,强制刷新缓存
;(() => {
const makeVisitVersion = () => {
@@ -38,7 +28,7 @@
window.history.replaceState(null, '', nextUrl)
}
})()
</script> -->
</script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loaded 100 of 220 files, more files were not shown because too many files have changed in this diff. Show more