@sme.up/ketchup2 2.0.0-SNAPSHOT-20260128162921 → 2.0.0-SNAPSHOT-20260128164345
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_baseIsEqual-Kjx_Crpe.js → _baseIsEqual-CuTBHnh3.js} +1 -1
- package/dist/{_baseIsEqual-BA49r1aM.cjs → _baseIsEqual-DSF319le.cjs} +1 -1
- package/dist/{_basePickBy-DIxt0CE8.js → _basePickBy-CEgP0bb0.js} +3 -3
- package/dist/{_basePickBy-DL-5V9VA.cjs → _basePickBy-GKdBoYQ7.cjs} +1 -1
- package/dist/{_baseUniq-B9-7gdtm.cjs → _baseUniq-C0R8BYMi.cjs} +1 -1
- package/dist/{_baseUniq-DYo0sRUr.js → _baseUniq-DhMb7xHF.js} +2 -2
- package/dist/{arc-C1xP35qO.js → arc-DCg6yBK6.js} +1 -1
- package/dist/{arc-REkayeSt.cjs → arc-T_Co_6sd.cjs} +1 -1
- package/dist/{architecture-U656AL7Q-MQfg_NEr.cjs → architecture-U656AL7Q-GBhtaNyX.cjs} +1 -1
- package/dist/{architecture-U656AL7Q-B3Oc8QIj.js → architecture-U656AL7Q-qyuvxJDv.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-DnqVrOSV.js → architectureDiagram-VXUJARFQ-Cvfzj6QT.js} +3 -3
- package/dist/{architectureDiagram-VXUJARFQ-agCnDigG.cjs → architectureDiagram-VXUJARFQ-vWIpkiKP.cjs} +1 -1
- package/dist/{blockDiagram-VD42YOAC-D1LrlY8X.js → blockDiagram-VD42YOAC-Cfo_UQOu.js} +5 -5
- package/dist/{blockDiagram-VD42YOAC-uJzSp5kX.cjs → blockDiagram-VD42YOAC-DlY7h4x4.cjs} +1 -1
- package/dist/{c4Diagram-YG6GDRKO-CxupxcnP.js → c4Diagram-YG6GDRKO-BoeKXCsQ.js} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-C8H1YnHJ.cjs → c4Diagram-YG6GDRKO-CbJBLiSr.cjs} +1 -1
- package/dist/{channel-CLCDr0DO.js → channel-B7YpSieS.js} +1 -1
- package/dist/channel-CevEJyOQ.cjs +1 -0
- package/dist/{chunk-4BX2VUAB-C8DvepUV.js → chunk-4BX2VUAB-BiByqhIA.js} +1 -1
- package/dist/{chunk-4BX2VUAB-BCuLrkcl.cjs → chunk-4BX2VUAB-D128W1Rx.cjs} +1 -1
- package/dist/{chunk-55IACEB6-Bn2XwYFK.js → chunk-55IACEB6-De-KN74I.js} +1 -1
- package/dist/{chunk-55IACEB6-DcQtt03d.cjs → chunk-55IACEB6-OFuhkRmm.cjs} +1 -1
- package/dist/{chunk-B4BG7PRW-DmH6SWzf.js → chunk-B4BG7PRW-BrddtPym.js} +4 -4
- package/dist/{chunk-B4BG7PRW-Hgm0y3fg.cjs → chunk-B4BG7PRW-DWHygV7w.cjs} +1 -1
- package/dist/{chunk-DI55MBZ5-DJj2k0mB.js → chunk-DI55MBZ5-B93hyupJ.js} +3 -3
- package/dist/{chunk-DI55MBZ5-Ca7_hpqf.cjs → chunk-DI55MBZ5-BGJKV-BB.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-BcLMeiHc.js → chunk-FMBD7UC4-CAc988O7.js} +1 -1
- package/dist/{chunk-FMBD7UC4-BF6WMLlI.cjs → chunk-FMBD7UC4-DDFbwTJl.cjs} +1 -1
- package/dist/{chunk-QN33PNHL-19qLicKh.js → chunk-QN33PNHL-Ce7xY0V-.js} +1 -1
- package/dist/{chunk-QN33PNHL-aPSpbWkN.cjs → chunk-QN33PNHL-arRJn7ar.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-DRBOZFYc.cjs → chunk-QZHKN3VN-CYlhLTEt.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-C7usyJCW.js → chunk-QZHKN3VN-jALoVHYK.js} +1 -1
- package/dist/{chunk-TZMSLE5B-CVHZ2vhq.cjs → chunk-TZMSLE5B-1UsEjVWA.cjs} +1 -1
- package/dist/{chunk-TZMSLE5B-Dobe9sC3.js → chunk-TZMSLE5B-qdtbnyLZ.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG-DpfWVQlA.cjs → classDiagram-2ON5EDUG-CGH00tFz.cjs} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-CRMsOtbf.js → classDiagram-2ON5EDUG-DJcz4a-5.js} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-DpfWVQlA.cjs → classDiagram-v2-WZHVMYZB-CGH00tFz.cjs} +1 -1
- package/dist/{classDiagram-2ON5EDUG-CRMsOtbf.js → classDiagram-v2-WZHVMYZB-DJcz4a-5.js} +2 -2
- package/dist/{clone-D4T9TYQP.js → clone-DbeUeM6-.js} +1 -1
- package/dist/clone-DrIjQ8sl.cjs +1 -0
- package/dist/{cloneDeep-BzoHlnxz.js → cloneDeep-83GFq2-M.js} +1 -1
- package/dist/{cloneDeep-B3quwneo.cjs → cloneDeep-RKPWnmXI.cjs} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-5ZDJKqGq.cjs → cose-bilkent-S5V4N54A-BnwQ8xIE.cjs} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-B9QJhjqo.js → cose-bilkent-S5V4N54A-mCfSSHF0.js} +1 -1
- package/dist/{dagre-6UL2VRFP-BNvImxgX.js → dagre-6UL2VRFP-h3aG3Eit.js} +6 -6
- package/dist/{dagre-6UL2VRFP-BXUwrviN.cjs → dagre-6UL2VRFP-kPUqkQNb.cjs} +1 -1
- package/dist/{diagram-PSM6KHXK-C1ipkyuU.js → diagram-PSM6KHXK-BEqLT6_4.js} +4 -4
- package/dist/{diagram-PSM6KHXK-B06PKS7Q.cjs → diagram-PSM6KHXK-DBV2hGfW.cjs} +1 -1
- package/dist/{diagram-QEK2KX5R-BJ5UZKaT.cjs → diagram-QEK2KX5R-BP39Gxoh.cjs} +1 -1
- package/dist/{diagram-QEK2KX5R-CQ1QkArU.js → diagram-QEK2KX5R-Dqs_3Tnd.js} +3 -3
- package/dist/{diagram-S2PKOQOG-gMBr4Xih.cjs → diagram-S2PKOQOG-DnLhx2uU.cjs} +1 -1
- package/dist/{diagram-S2PKOQOG-BxPfDipx.js → diagram-S2PKOQOG-PXk8DFch.js} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-Ckrz6Qho.cjs → erDiagram-Q2GNP2WA-DDdF-sig.cjs} +1 -1
- package/dist/{erDiagram-Q2GNP2WA-B_1l9a8m.js → erDiagram-Q2GNP2WA-Dz6QdUJ1.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-kPT3p_wR.js → flowDiagram-NV44I4VS-00yL4w5I.js} +5 -5
- package/dist/{flowDiagram-NV44I4VS-d1_MujtD.cjs → flowDiagram-NV44I4VS-CQ7t5t88.cjs} +1 -1
- package/dist/functional-components/overlay-panel/overlay-panel-types.d.ts +6 -4
- package/dist/functional-components/overlay-panel/overlay-panel-types.d.ts.map +1 -1
- package/dist/functional-components/overlay-panel/overlay-panel.d.ts.map +1 -1
- package/dist/{ganttDiagram-JELNMOA3-D_QhG3xV.cjs → ganttDiagram-JELNMOA3-Bri-r93l.cjs} +1 -1
- package/dist/{ganttDiagram-JELNMOA3-Ct9E4Mt1.js → ganttDiagram-JELNMOA3-CwB_ECXW.js} +2 -2
- package/dist/{gitGraph-F6HP7TQM-BefTm2gf.js → gitGraph-F6HP7TQM-4v8vWIJz.js} +1 -1
- package/dist/{gitGraph-F6HP7TQM-CZcTVcgl.cjs → gitGraph-F6HP7TQM-bZTpzKAl.cjs} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-lTC64ori.js → gitGraphDiagram-NY62KEGX-BFHy-Ukp.js} +4 -4
- package/dist/{gitGraphDiagram-NY62KEGX-BLpaAFJj.cjs → gitGraphDiagram-NY62KEGX-CKaRrch6.cjs} +1 -1
- package/dist/{graph-C-knIg9m.js → graph-Bvnng_pf.js} +3 -3
- package/dist/{graph-CbERYY8q.cjs → graph-CqbL4dSz.cjs} +1 -1
- package/dist/{index-BNELSvfW.js → index-CTGhrlpC.js} +886 -867
- package/dist/{index-CnvzQDBD.cjs → index-CdQ9I8i8.cjs} +36 -36
- package/dist/{info-NVLQJR56-Cwk6p9bs.cjs → info-NVLQJR56-B9Noq07v.cjs} +1 -1
- package/dist/info-NVLQJR56-BWFTXgst.js +5 -0
- package/dist/{infoDiagram-WHAUD3N6-wFtQR9Ng.js → infoDiagram-WHAUD3N6-B9NvR6xF.js} +2 -2
- package/dist/{infoDiagram-WHAUD3N6-CsPkwD4S.cjs → infoDiagram-WHAUD3N6-BF07fgyk.cjs} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-2uyZCNJZ.cjs → journeyDiagram-XKPGCS4Q-DZL0EYVw.cjs} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-PU2R_t4_.js → journeyDiagram-XKPGCS4Q-vMQQBx2x.js} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-CsXgbjCP.cjs → kanban-definition-3W4ZIXB7-BWYbKjG9.cjs} +1 -1
- package/dist/{kanban-definition-3W4ZIXB7-Bg2HvX0e.js → kanban-definition-3W4ZIXB7-CJwLai2q.js} +2 -2
- package/dist/ketchup2.cjs.js +1 -1
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +1 -1
- package/dist/{layout-DgOFS0hX.js → layout-Ccgua3Mg.js} +5 -5
- package/dist/{layout-DfDXYmTx.cjs → layout-DXGlVpjJ.cjs} +1 -1
- package/dist/{linear-SXCQUbS0.js → linear-CnGOF1ZK.js} +1 -1
- package/dist/{linear-BSKRWn4E.cjs → linear-CnlRo1eZ.cjs} +1 -1
- package/dist/{mermaid-parser.core-DiURMRpv.js → mermaid-parser.core-CK616kYa.js} +12 -12
- package/dist/{mermaid-parser.core-BtKmQ1BX.cjs → mermaid-parser.core-D0jBhpM_.cjs} +2 -2
- package/dist/{mindmap-definition-VGOIOE7T-DdMGvK_0.cjs → mindmap-definition-VGOIOE7T-2o2RpEG0.cjs} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-pPfV6UK3.js → mindmap-definition-VGOIOE7T-C8T6Pk39.js} +3 -3
- package/dist/{packet-BFZMPI3H-B4TxzmqD.js → packet-BFZMPI3H-AG7THDxw.js} +1 -1
- package/dist/{packet-BFZMPI3H-By42bae3.cjs → packet-BFZMPI3H-fRYDRRXe.cjs} +1 -1
- package/dist/pie-7BOR55EZ-C9OnTlma.js +5 -0
- package/dist/{pie-7BOR55EZ-3uVFWYg1.cjs → pie-7BOR55EZ-DLwfeD33.cjs} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-76a8-vP2.cjs → pieDiagram-ADFJNKIX-7xeR-oeD.cjs} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-9S6lQTyZ.js → pieDiagram-ADFJNKIX-cx62aPb6.js} +4 -4
- package/dist/{quadrantDiagram-AYHSOK5B-k6mF0rKe.cjs → quadrantDiagram-AYHSOK5B-B4EJEm_t.cjs} +1 -1
- package/dist/{quadrantDiagram-AYHSOK5B-8-AOj460.js → quadrantDiagram-AYHSOK5B-m3Mmu_ZE.js} +2 -2
- package/dist/{quill-C1-3qF0B.js → quill-BSMl_rdl.js} +3 -3
- package/dist/{quill-CpT0gYSw.cjs → quill-BydnMfgY.cjs} +1 -1
- package/dist/{radar-NHE76QYJ-CYew8WWk.cjs → radar-NHE76QYJ-Boe08ENE.cjs} +1 -1
- package/dist/radar-NHE76QYJ-DUVyJ8x7.js +5 -0
- package/dist/{requirementDiagram-UZGBJVZJ-Dv7Kp9G8.cjs → requirementDiagram-UZGBJVZJ-B4kPrmos.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-CmMZ74jo.js → requirementDiagram-UZGBJVZJ-BvT1dnbN.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-B_x9BKUY.cjs → sankeyDiagram-TZEHDZUN-B2fTjAwB.cjs} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-2nWaOR-P.js → sankeyDiagram-TZEHDZUN-B9Bt-Qbp.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-8wYvdIDt.cjs → sequenceDiagram-WL72ISMW-BDMrt_U0.cjs} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-Ckwfw4Pu.js → sequenceDiagram-WL72ISMW-DRnyRMBQ.js} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-1d57ZWIg.js → stateDiagram-FKZM4ZOC-BTnxALJA.js} +4 -4
- package/dist/{stateDiagram-FKZM4ZOC-CRKyFRBg.cjs → stateDiagram-FKZM4ZOC-D-ljtpve.cjs} +1 -1
- package/dist/{stateDiagram-v2-4FDKWEC3-DL5ExFpB.cjs → stateDiagram-v2-4FDKWEC3-BhWAJUJm.cjs} +1 -1
- package/dist/{stateDiagram-v2-4FDKWEC3-Bn4pdSHb.js → stateDiagram-v2-4FDKWEC3-C9jsY118.js} +2 -2
- package/dist/{time-picker-dropdown-D55xgbX4.cjs → time-picker-dropdown-BHK8O_f8.cjs} +1 -1
- package/dist/{time-picker-dropdown-C9DOO9Hf.js → time-picker-dropdown-Co_sF-Ex.js} +1 -1
- package/dist/{timeline-definition-IT6M3QCI-D-lE5d3i.js → timeline-definition-IT6M3QCI-B_JS32x1.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-Ci4r1fPA.cjs → timeline-definition-IT6M3QCI-cyUi9U7x.cjs} +1 -1
- package/dist/{treemap-KMMF4GRG-BmrGr9il.js → treemap-KMMF4GRG-DMtqBiYg.js} +1 -1
- package/dist/{treemap-KMMF4GRG-Roc43FEi.cjs → treemap-KMMF4GRG-p0kRVloM.cjs} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-B8Uk0Fgx.js → xychartDiagram-PRI3JC2R-D_ty3dT7.js} +2 -2
- package/dist/{xychartDiagram-PRI3JC2R-N-gQWJ9z.cjs → xychartDiagram-PRI3JC2R-UkQtnmPA.cjs} +1 -1
- package/package.json +1 -1
- package/dist/channel-RGZVTOAd.cjs +0 -1
- package/dist/clone-CxYKZOv_.cjs +0 -1
- package/dist/info-NVLQJR56-CTEZozV-.js +0 -5
- package/dist/pie-7BOR55EZ-Hrf90anf.js +0 -5
- package/dist/radar-NHE76QYJ-Bx-Q5q80.js +0 -5
|
@@ -75,14 +75,14 @@ function xce() {
|
|
|
75
75
|
case x:
|
|
76
76
|
return (N._context.displayName || "Context") + ".Consumer";
|
|
77
77
|
case w:
|
|
78
|
-
var
|
|
79
|
-
return N = N.displayName, N || (N =
|
|
78
|
+
var U = N.render;
|
|
79
|
+
return N = N.displayName, N || (N = U.displayName || U.name || "", N = N !== "" ? "ForwardRef(" + N + ")" : "ForwardRef"), N;
|
|
80
80
|
case C:
|
|
81
|
-
return
|
|
81
|
+
return U = N.displayName || null, U !== null ? U : t(N.type) || "Memo";
|
|
82
82
|
case A:
|
|
83
|
-
|
|
83
|
+
U = N._payload, N = N._init;
|
|
84
84
|
try {
|
|
85
|
-
return t(N(
|
|
85
|
+
return t(N(U));
|
|
86
86
|
} catch {
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -94,17 +94,17 @@ function xce() {
|
|
|
94
94
|
function r(N) {
|
|
95
95
|
try {
|
|
96
96
|
e(N);
|
|
97
|
-
var
|
|
97
|
+
var U = !1;
|
|
98
98
|
} catch {
|
|
99
|
-
|
|
99
|
+
U = !0;
|
|
100
100
|
}
|
|
101
|
-
if (
|
|
102
|
-
|
|
103
|
-
var q =
|
|
101
|
+
if (U) {
|
|
102
|
+
U = console;
|
|
103
|
+
var q = U.error, H = typeof Symbol == "function" && Symbol.toStringTag && N[Symbol.toStringTag] || N.constructor.name || "Object";
|
|
104
104
|
return q.call(
|
|
105
|
-
|
|
105
|
+
U,
|
|
106
106
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
107
|
-
|
|
107
|
+
H
|
|
108
108
|
), e(N);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -113,8 +113,8 @@ function xce() {
|
|
|
113
113
|
if (typeof N == "object" && N !== null && N.$$typeof === A)
|
|
114
114
|
return "<...>";
|
|
115
115
|
try {
|
|
116
|
-
var
|
|
117
|
-
return
|
|
116
|
+
var U = t(N);
|
|
117
|
+
return U ? "<" + U + ">" : "<...>";
|
|
118
118
|
} catch {
|
|
119
119
|
return "<...>";
|
|
120
120
|
}
|
|
@@ -128,16 +128,16 @@ function xce() {
|
|
|
128
128
|
}
|
|
129
129
|
function s(N) {
|
|
130
130
|
if (I.call(N, "key")) {
|
|
131
|
-
var
|
|
132
|
-
if (
|
|
131
|
+
var U = Object.getOwnPropertyDescriptor(N, "key").get;
|
|
132
|
+
if (U && U.isReactWarning) return !1;
|
|
133
133
|
}
|
|
134
134
|
return N.key !== void 0;
|
|
135
135
|
}
|
|
136
|
-
function o(N,
|
|
136
|
+
function o(N, U) {
|
|
137
137
|
function q() {
|
|
138
138
|
D || (D = !0, console.error(
|
|
139
139
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
140
|
-
|
|
140
|
+
U
|
|
141
141
|
));
|
|
142
142
|
}
|
|
143
143
|
q.isReactWarning = !0, Object.defineProperty(N, "key", {
|
|
@@ -151,14 +151,14 @@ function xce() {
|
|
|
151
151
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
152
152
|
)), N = this.props.ref, N !== void 0 ? N : null;
|
|
153
153
|
}
|
|
154
|
-
function c(N,
|
|
154
|
+
function c(N, U, q, H, K, W) {
|
|
155
155
|
var V = q.ref;
|
|
156
156
|
return N = {
|
|
157
157
|
$$typeof: p,
|
|
158
158
|
type: N,
|
|
159
|
-
key:
|
|
159
|
+
key: U,
|
|
160
160
|
props: q,
|
|
161
|
-
_owner:
|
|
161
|
+
_owner: H
|
|
162
162
|
}, (V !== void 0 ? V : null) !== null ? Object.defineProperty(N, "ref", {
|
|
163
163
|
enumerable: !1,
|
|
164
164
|
get: l
|
|
@@ -184,42 +184,42 @@ function xce() {
|
|
|
184
184
|
value: W
|
|
185
185
|
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
186
186
|
}
|
|
187
|
-
function h(N,
|
|
188
|
-
var V =
|
|
187
|
+
function h(N, U, q, H, K, W) {
|
|
188
|
+
var V = U.children;
|
|
189
189
|
if (V !== void 0)
|
|
190
|
-
if (
|
|
190
|
+
if (H)
|
|
191
191
|
if (L(V)) {
|
|
192
|
-
for (
|
|
193
|
-
u(V[
|
|
192
|
+
for (H = 0; H < V.length; H++)
|
|
193
|
+
u(V[H]);
|
|
194
194
|
Object.freeze && Object.freeze(V);
|
|
195
195
|
} else
|
|
196
196
|
console.error(
|
|
197
197
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
198
198
|
);
|
|
199
199
|
else u(V);
|
|
200
|
-
if (I.call(
|
|
200
|
+
if (I.call(U, "key")) {
|
|
201
201
|
V = t(N);
|
|
202
|
-
var X = Object.keys(
|
|
202
|
+
var X = Object.keys(U).filter(function(j) {
|
|
203
203
|
return j !== "key";
|
|
204
204
|
});
|
|
205
|
-
|
|
205
|
+
H = 0 < X.length ? "{key: someKey, " + X.join(": ..., ") + ": ...}" : "{key: someKey}", B[V + H] || (X = 0 < X.length ? "{" + X.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
206
206
|
`A props object containing a "key" prop is being spread into JSX:
|
|
207
207
|
let props = %s;
|
|
208
208
|
<%s {...props} />
|
|
209
209
|
React keys must be passed directly to JSX without using spread:
|
|
210
210
|
let props = %s;
|
|
211
211
|
<%s key={someKey} {...props} />`,
|
|
212
|
-
|
|
212
|
+
H,
|
|
213
213
|
V,
|
|
214
214
|
X,
|
|
215
215
|
V
|
|
216
|
-
), B[V +
|
|
216
|
+
), B[V + H] = !0);
|
|
217
217
|
}
|
|
218
|
-
if (V = null, q !== void 0 && (r(q), V = "" + q), s(
|
|
218
|
+
if (V = null, q !== void 0 && (r(q), V = "" + q), s(U) && (r(U.key), V = "" + U.key), "key" in U) {
|
|
219
219
|
q = {};
|
|
220
|
-
for (var G in
|
|
221
|
-
G !== "key" && (q[G] =
|
|
222
|
-
} else q =
|
|
220
|
+
for (var G in U)
|
|
221
|
+
G !== "key" && (q[G] = U[G]);
|
|
222
|
+
} else q = U;
|
|
223
223
|
return V && o(
|
|
224
224
|
q,
|
|
225
225
|
typeof N == "function" ? N.displayName || N.name || "Unknown" : N
|
|
@@ -250,25 +250,25 @@ React keys must be passed directly to JSX without using spread:
|
|
|
250
250
|
d,
|
|
251
251
|
a
|
|
252
252
|
)(), O = P(n(a)), B = {};
|
|
253
|
-
m1.Fragment = m, m1.jsx = function(N,
|
|
254
|
-
var
|
|
253
|
+
m1.Fragment = m, m1.jsx = function(N, U, q) {
|
|
254
|
+
var H = 1e4 > E.recentlyCreatedOwnerStacks++;
|
|
255
255
|
return h(
|
|
256
256
|
N,
|
|
257
|
-
|
|
257
|
+
U,
|
|
258
258
|
q,
|
|
259
259
|
!1,
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
H ? Error("react-stack-top-frame") : M,
|
|
261
|
+
H ? P(n(N)) : O
|
|
262
262
|
);
|
|
263
|
-
}, m1.jsxs = function(N,
|
|
264
|
-
var
|
|
263
|
+
}, m1.jsxs = function(N, U, q) {
|
|
264
|
+
var H = 1e4 > E.recentlyCreatedOwnerStacks++;
|
|
265
265
|
return h(
|
|
266
266
|
N,
|
|
267
|
-
|
|
267
|
+
U,
|
|
268
268
|
q,
|
|
269
269
|
!0,
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
H ? Error("react-stack-top-frame") : M,
|
|
271
|
+
H ? P(n(N)) : O
|
|
272
272
|
);
|
|
273
273
|
};
|
|
274
274
|
})()), m1;
|
|
@@ -487,7 +487,7 @@ var Cce = Sce(), rg = /* @__PURE__ */ new Map(), EW = function(e) {
|
|
|
487
487
|
}, b, w, _, S, C;
|
|
488
488
|
Object.keys(x).forEach(function(M) {
|
|
489
489
|
b = M, _ = x[M], w = u.querySelectorAll(b + "[id]");
|
|
490
|
-
for (var O = function(q,
|
|
490
|
+
for (var O = function(q, H) {
|
|
491
491
|
S = w[q].id, C = S + "-" + Ice();
|
|
492
492
|
var K;
|
|
493
493
|
Array.prototype.forEach.call(_, function(ne) {
|
|
@@ -656,13 +656,13 @@ function Pce() {
|
|
|
656
656
|
function N(J) {
|
|
657
657
|
return b(J) === o;
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function U(J) {
|
|
660
660
|
return b(J) === s;
|
|
661
661
|
}
|
|
662
662
|
function q(J) {
|
|
663
663
|
return typeof J == "object" && J !== null && J.$$typeof === e;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function H(J) {
|
|
666
666
|
return b(J) === h;
|
|
667
667
|
}
|
|
668
668
|
function K(J) {
|
|
@@ -686,7 +686,7 @@ function Pce() {
|
|
|
686
686
|
function Y(J) {
|
|
687
687
|
return b(J) === u;
|
|
688
688
|
}
|
|
689
|
-
Hr.AsyncMode = w, Hr.ConcurrentMode = _, Hr.ContextConsumer = S, Hr.ContextProvider = C, Hr.Element = A, Hr.ForwardRef = T, Hr.Fragment = k, Hr.Lazy = E, Hr.Memo = I, Hr.Portal = L, Hr.Profiler = P, Hr.StrictMode = D, Hr.Suspense = R, Hr.isAsyncMode = O, Hr.isConcurrentMode = B, Hr.isContextConsumer = N, Hr.isContextProvider =
|
|
689
|
+
Hr.AsyncMode = w, Hr.ConcurrentMode = _, Hr.ContextConsumer = S, Hr.ContextProvider = C, Hr.Element = A, Hr.ForwardRef = T, Hr.Fragment = k, Hr.Lazy = E, Hr.Memo = I, Hr.Portal = L, Hr.Profiler = P, Hr.StrictMode = D, Hr.Suspense = R, Hr.isAsyncMode = O, Hr.isConcurrentMode = B, Hr.isContextConsumer = N, Hr.isContextProvider = U, Hr.isElement = q, Hr.isForwardRef = H, Hr.isFragment = K, Hr.isLazy = W, Hr.isMemo = V, Hr.isPortal = X, Hr.isProfiler = G, Hr.isStrictMode = j, Hr.isSuspense = Y, Hr.isValidElementType = x, Hr.typeOf = b;
|
|
690
690
|
})()), Hr;
|
|
691
691
|
}
|
|
692
692
|
var tR;
|
|
@@ -853,7 +853,7 @@ function Oce() {
|
|
|
853
853
|
g.prototype = Error.prototype;
|
|
854
854
|
function m(B) {
|
|
855
855
|
if (process.env.NODE_ENV !== "production")
|
|
856
|
-
var N = {},
|
|
856
|
+
var N = {}, U = 0;
|
|
857
857
|
function q(K, W, V, X, G, j, Y) {
|
|
858
858
|
if (X = X || f, j = j || V, Y !== r) {
|
|
859
859
|
if (l) {
|
|
@@ -864,23 +864,23 @@ function Oce() {
|
|
|
864
864
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
865
865
|
var ne = X + ":" + V;
|
|
866
866
|
!N[ne] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
867
|
-
|
|
867
|
+
U < 3 && (a(
|
|
868
868
|
"You are manually calling a React.PropTypes validation function for the `" + j + "` prop on `" + X + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
869
|
-
), N[ne] = !0,
|
|
869
|
+
), N[ne] = !0, U++);
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
872
|
return W[V] == null ? K ? W[V] === null ? new g("The " + G + " `" + j + "` is marked as required " + ("in `" + X + "`, but its value is `null`.")) : new g("The " + G + " `" + j + "` is marked as required in " + ("`" + X + "`, but its value is `undefined`.")) : null : B(W, V, X, G, j);
|
|
873
873
|
}
|
|
874
|
-
var
|
|
875
|
-
return
|
|
874
|
+
var H = q.bind(null, !1);
|
|
875
|
+
return H.isRequired = q.bind(null, !0), H;
|
|
876
876
|
}
|
|
877
877
|
function v(B) {
|
|
878
|
-
function N(
|
|
879
|
-
var X =
|
|
878
|
+
function N(U, q, H, K, W, V) {
|
|
879
|
+
var X = U[q], G = D(X);
|
|
880
880
|
if (G !== B) {
|
|
881
881
|
var j = R(X);
|
|
882
882
|
return new g(
|
|
883
|
-
"Invalid " + K + " `" + W + "` of type " + ("`" + j + "` supplied to `" +
|
|
883
|
+
"Invalid " + K + " `" + W + "` of type " + ("`" + j + "` supplied to `" + H + "`, expected ") + ("`" + B + "`."),
|
|
884
884
|
{ expectedType: B }
|
|
885
885
|
);
|
|
886
886
|
}
|
|
@@ -892,16 +892,16 @@ function Oce() {
|
|
|
892
892
|
return m(s);
|
|
893
893
|
}
|
|
894
894
|
function x(B) {
|
|
895
|
-
function N(
|
|
895
|
+
function N(U, q, H, K, W) {
|
|
896
896
|
if (typeof B != "function")
|
|
897
|
-
return new g("Property `" + W + "` of component `" +
|
|
898
|
-
var V =
|
|
897
|
+
return new g("Property `" + W + "` of component `" + H + "` has invalid PropType notation inside arrayOf.");
|
|
898
|
+
var V = U[q];
|
|
899
899
|
if (!Array.isArray(V)) {
|
|
900
900
|
var X = D(V);
|
|
901
|
-
return new g("Invalid " + K + " `" + W + "` of type " + ("`" + X + "` supplied to `" +
|
|
901
|
+
return new g("Invalid " + K + " `" + W + "` of type " + ("`" + X + "` supplied to `" + H + "`, expected an array."));
|
|
902
902
|
}
|
|
903
903
|
for (var G = 0; G < V.length; G++) {
|
|
904
|
-
var j = B(V, G,
|
|
904
|
+
var j = B(V, G, H, K, W + "[" + G + "]", r);
|
|
905
905
|
if (j instanceof Error)
|
|
906
906
|
return j;
|
|
907
907
|
}
|
|
@@ -910,32 +910,32 @@ function Oce() {
|
|
|
910
910
|
return m(N);
|
|
911
911
|
}
|
|
912
912
|
function b() {
|
|
913
|
-
function B(N,
|
|
914
|
-
var W = N[
|
|
913
|
+
function B(N, U, q, H, K) {
|
|
914
|
+
var W = N[U];
|
|
915
915
|
if (!o(W)) {
|
|
916
916
|
var V = D(W);
|
|
917
|
-
return new g("Invalid " +
|
|
917
|
+
return new g("Invalid " + H + " `" + K + "` of type " + ("`" + V + "` supplied to `" + q + "`, expected a single ReactElement."));
|
|
918
918
|
}
|
|
919
919
|
return null;
|
|
920
920
|
}
|
|
921
921
|
return m(B);
|
|
922
922
|
}
|
|
923
923
|
function w() {
|
|
924
|
-
function B(N,
|
|
925
|
-
var W = N[
|
|
924
|
+
function B(N, U, q, H, K) {
|
|
925
|
+
var W = N[U];
|
|
926
926
|
if (!t.isValidElementType(W)) {
|
|
927
927
|
var V = D(W);
|
|
928
|
-
return new g("Invalid " +
|
|
928
|
+
return new g("Invalid " + H + " `" + K + "` of type " + ("`" + V + "` supplied to `" + q + "`, expected a single ReactElement type."));
|
|
929
929
|
}
|
|
930
930
|
return null;
|
|
931
931
|
}
|
|
932
932
|
return m(B);
|
|
933
933
|
}
|
|
934
934
|
function _(B) {
|
|
935
|
-
function N(
|
|
936
|
-
if (!(
|
|
937
|
-
var V = B.name || f, X = O(
|
|
938
|
-
return new g("Invalid " + K + " `" + W + "` of type " + ("`" + X + "` supplied to `" +
|
|
935
|
+
function N(U, q, H, K, W) {
|
|
936
|
+
if (!(U[q] instanceof B)) {
|
|
937
|
+
var V = B.name || f, X = O(U[q]);
|
|
938
|
+
return new g("Invalid " + K + " `" + W + "` of type " + ("`" + X + "` supplied to `" + H + "`, expected ") + ("instance of `" + V + "`."));
|
|
939
939
|
}
|
|
940
940
|
return null;
|
|
941
941
|
}
|
|
@@ -946,28 +946,28 @@ function Oce() {
|
|
|
946
946
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
947
947
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
948
948
|
) : a("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
949
|
-
function N(
|
|
950
|
-
for (var V =
|
|
949
|
+
function N(U, q, H, K, W) {
|
|
950
|
+
for (var V = U[q], X = 0; X < B.length; X++)
|
|
951
951
|
if (p(V, B[X]))
|
|
952
952
|
return null;
|
|
953
953
|
var G = JSON.stringify(B, function(Y, J) {
|
|
954
954
|
var ne = R(J);
|
|
955
955
|
return ne === "symbol" ? String(J) : J;
|
|
956
956
|
});
|
|
957
|
-
return new g("Invalid " + K + " `" + W + "` of value `" + String(V) + "` " + ("supplied to `" +
|
|
957
|
+
return new g("Invalid " + K + " `" + W + "` of value `" + String(V) + "` " + ("supplied to `" + H + "`, expected one of " + G + "."));
|
|
958
958
|
}
|
|
959
959
|
return m(N);
|
|
960
960
|
}
|
|
961
961
|
function C(B) {
|
|
962
|
-
function N(
|
|
962
|
+
function N(U, q, H, K, W) {
|
|
963
963
|
if (typeof B != "function")
|
|
964
|
-
return new g("Property `" + W + "` of component `" +
|
|
965
|
-
var V =
|
|
964
|
+
return new g("Property `" + W + "` of component `" + H + "` has invalid PropType notation inside objectOf.");
|
|
965
|
+
var V = U[q], X = D(V);
|
|
966
966
|
if (X !== "object")
|
|
967
|
-
return new g("Invalid " + K + " `" + W + "` of type " + ("`" + X + "` supplied to `" +
|
|
967
|
+
return new g("Invalid " + K + " `" + W + "` of type " + ("`" + X + "` supplied to `" + H + "`, expected an object."));
|
|
968
968
|
for (var G in V)
|
|
969
969
|
if (n(V, G)) {
|
|
970
|
-
var j = B(V, G,
|
|
970
|
+
var j = B(V, G, H, K, W + "." + G, r);
|
|
971
971
|
if (j instanceof Error)
|
|
972
972
|
return j;
|
|
973
973
|
}
|
|
@@ -979,15 +979,15 @@ function Oce() {
|
|
|
979
979
|
if (!Array.isArray(B))
|
|
980
980
|
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
981
981
|
for (var N = 0; N < B.length; N++) {
|
|
982
|
-
var
|
|
983
|
-
if (typeof
|
|
982
|
+
var U = B[N];
|
|
983
|
+
if (typeof U != "function")
|
|
984
984
|
return a(
|
|
985
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + M(
|
|
985
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + M(U) + " at index " + N + "."
|
|
986
986
|
), s;
|
|
987
987
|
}
|
|
988
|
-
function q(
|
|
988
|
+
function q(H, K, W, V, X) {
|
|
989
989
|
for (var G = [], j = 0; j < B.length; j++) {
|
|
990
|
-
var Y = B[j], J = Y(
|
|
990
|
+
var Y = B[j], J = Y(H, K, W, V, X, r);
|
|
991
991
|
if (J == null)
|
|
992
992
|
return null;
|
|
993
993
|
J.data && n(J.data, "expectedType") && G.push(J.data.expectedType);
|
|
@@ -998,26 +998,26 @@ function Oce() {
|
|
|
998
998
|
return m(q);
|
|
999
999
|
}
|
|
1000
1000
|
function T() {
|
|
1001
|
-
function B(N,
|
|
1002
|
-
return L(N[
|
|
1001
|
+
function B(N, U, q, H, K) {
|
|
1002
|
+
return L(N[U]) ? null : new g("Invalid " + H + " `" + K + "` supplied to " + ("`" + q + "`, expected a ReactNode."));
|
|
1003
1003
|
}
|
|
1004
1004
|
return m(B);
|
|
1005
1005
|
}
|
|
1006
|
-
function k(B, N,
|
|
1006
|
+
function k(B, N, U, q, H) {
|
|
1007
1007
|
return new g(
|
|
1008
|
-
(B || "React class") + ": " + N + " type `" +
|
|
1008
|
+
(B || "React class") + ": " + N + " type `" + U + "." + q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + H + "`."
|
|
1009
1009
|
);
|
|
1010
1010
|
}
|
|
1011
1011
|
function E(B) {
|
|
1012
|
-
function N(
|
|
1013
|
-
var V =
|
|
1012
|
+
function N(U, q, H, K, W) {
|
|
1013
|
+
var V = U[q], X = D(V);
|
|
1014
1014
|
if (X !== "object")
|
|
1015
|
-
return new g("Invalid " + K + " `" + W + "` of type `" + X + "` " + ("supplied to `" +
|
|
1015
|
+
return new g("Invalid " + K + " `" + W + "` of type `" + X + "` " + ("supplied to `" + H + "`, expected `object`."));
|
|
1016
1016
|
for (var G in B) {
|
|
1017
1017
|
var j = B[G];
|
|
1018
1018
|
if (typeof j != "function")
|
|
1019
|
-
return k(
|
|
1020
|
-
var Y = j(V, G,
|
|
1019
|
+
return k(H, K, W, G, R(j));
|
|
1020
|
+
var Y = j(V, G, H, K, W + "." + G, r);
|
|
1021
1021
|
if (Y)
|
|
1022
1022
|
return Y;
|
|
1023
1023
|
}
|
|
@@ -1026,21 +1026,21 @@ function Oce() {
|
|
|
1026
1026
|
return m(N);
|
|
1027
1027
|
}
|
|
1028
1028
|
function I(B) {
|
|
1029
|
-
function N(
|
|
1030
|
-
var V =
|
|
1029
|
+
function N(U, q, H, K, W) {
|
|
1030
|
+
var V = U[q], X = D(V);
|
|
1031
1031
|
if (X !== "object")
|
|
1032
|
-
return new g("Invalid " + K + " `" + W + "` of type `" + X + "` " + ("supplied to `" +
|
|
1033
|
-
var G = e({},
|
|
1032
|
+
return new g("Invalid " + K + " `" + W + "` of type `" + X + "` " + ("supplied to `" + H + "`, expected `object`."));
|
|
1033
|
+
var G = e({}, U[q], B);
|
|
1034
1034
|
for (var j in G) {
|
|
1035
1035
|
var Y = B[j];
|
|
1036
1036
|
if (n(B, j) && typeof Y != "function")
|
|
1037
|
-
return k(
|
|
1037
|
+
return k(H, K, W, j, R(Y));
|
|
1038
1038
|
if (!Y)
|
|
1039
1039
|
return new g(
|
|
1040
|
-
"Invalid " + K + " `" + W + "` key `" + j + "` supplied to `" +
|
|
1040
|
+
"Invalid " + K + " `" + W + "` key `" + j + "` supplied to `" + H + "`.\nBad object: " + JSON.stringify(U[q], null, " ") + `
|
|
1041
1041
|
Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
1042
1042
|
);
|
|
1043
|
-
var J = Y(V, j,
|
|
1043
|
+
var J = Y(V, j, H, K, W + "." + j, r);
|
|
1044
1044
|
if (J)
|
|
1045
1045
|
return J;
|
|
1046
1046
|
}
|
|
@@ -1063,15 +1063,15 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
1063
1063
|
return !0;
|
|
1064
1064
|
var N = u(B);
|
|
1065
1065
|
if (N) {
|
|
1066
|
-
var
|
|
1066
|
+
var U = N.call(B), q;
|
|
1067
1067
|
if (N !== B.entries) {
|
|
1068
|
-
for (; !(q =
|
|
1068
|
+
for (; !(q = U.next()).done; )
|
|
1069
1069
|
if (!L(q.value))
|
|
1070
1070
|
return !1;
|
|
1071
1071
|
} else
|
|
1072
|
-
for (; !(q =
|
|
1073
|
-
var
|
|
1074
|
-
if (
|
|
1072
|
+
for (; !(q = U.next()).done; ) {
|
|
1073
|
+
var H = q.value;
|
|
1074
|
+
if (H && !L(H[1]))
|
|
1075
1075
|
return !1;
|
|
1076
1076
|
}
|
|
1077
1077
|
} else
|
|
@@ -1357,7 +1357,7 @@ const Vtt = (t) => {
|
|
|
1357
1357
|
"smp-icon-onSuccessLight": "_smp-icon-onSuccessLight_1p89h_93",
|
|
1358
1358
|
"smp-icon-spin": "_smp-icon-spin_1p89h_101",
|
|
1359
1359
|
"smp-image-interactable": "_smp-image-interactable_1p89h_106"
|
|
1360
|
-
},
|
|
1360
|
+
}, Nr = Ku.memo(
|
|
1361
1361
|
({
|
|
1362
1362
|
icon: t,
|
|
1363
1363
|
width: e,
|
|
@@ -1566,7 +1566,7 @@ const zC = {
|
|
|
1566
1566
|
onMouseEnter: () => a(!0),
|
|
1567
1567
|
onMouseLeave: () => a(!1),
|
|
1568
1568
|
children: /* @__PURE__ */ z.jsx(
|
|
1569
|
-
|
|
1569
|
+
Nr,
|
|
1570
1570
|
{
|
|
1571
1571
|
icon: "info_outline",
|
|
1572
1572
|
tabIndex: 0,
|
|
@@ -1673,7 +1673,7 @@ const zC = {
|
|
|
1673
1673
|
"smp-buttonExt-oneButton-vertical": "_smp-buttonExt-oneButton-vertical_1pw7r_171",
|
|
1674
1674
|
"smp-buttonType-outlined": "_smp-buttonType-outlined_1pw7r_194",
|
|
1675
1675
|
"smp-buttonType-ghost": "_smp-buttonType-ghost_1pw7r_264"
|
|
1676
|
-
},
|
|
1676
|
+
}, Pr = (t) => t == null ? !1 : typeof t == "string" ? t.toLocaleLowerCase() == "yes" || t.toLocaleLowerCase() == "true" : t, Yce = {
|
|
1677
1677
|
success: "onSuccessLight",
|
|
1678
1678
|
info: "onInfoLight",
|
|
1679
1679
|
error: "onDangerLight",
|
|
@@ -2052,9 +2052,9 @@ const RW = (t) => {
|
|
|
2052
2052
|
onBlur: O,
|
|
2053
2053
|
onChange: B,
|
|
2054
2054
|
onKeyDown: N,
|
|
2055
|
-
onEnter:
|
|
2055
|
+
onEnter: U,
|
|
2056
2056
|
onShapeIconClick: q,
|
|
2057
|
-
onClick:
|
|
2057
|
+
onClick: H,
|
|
2058
2058
|
onAdvanceResearchActivation: K,
|
|
2059
2059
|
...W
|
|
2060
2060
|
}) => {
|
|
@@ -2075,7 +2075,7 @@ const RW = (t) => {
|
|
|
2075
2075
|
const _r = `Alt+${Ft.key === " " ? "space" : Ft.key.toUpperCase()}`;
|
|
2076
2076
|
j(_r), X(!0), K?.();
|
|
2077
2077
|
}
|
|
2078
|
-
Ft.key == "Enter" &&
|
|
2078
|
+
Ft.key == "Enter" && U?.({ bindValue: r }), N?.(Ft);
|
|
2079
2079
|
}, {
|
|
2080
2080
|
onAdvanceResearchLoadInitialData: Te,
|
|
2081
2081
|
onAdvanceResearchLeafNodeClick: De,
|
|
@@ -2093,7 +2093,7 @@ const RW = (t) => {
|
|
|
2093
2093
|
}
|
|
2094
2094
|
return Promise.resolve({ type: "SmeupDataTree", children: [] });
|
|
2095
2095
|
}, Ve = {
|
|
2096
|
-
wrapper: `${io["smp-textfield-wrapper"]} ${
|
|
2096
|
+
wrapper: `${io["smp-textfield-wrapper"]} ${Pr(w) ? io["smp-textfield-FullWidth"] : ""}`,
|
|
2097
2097
|
container: `${io["smp-textfield"]} ${e || !s ? io["smp-textfield-disabled"] : ""} ${a ? io["smp-textfield-placeholder"] : ""} ${l ? io[`smp-textfield-${l}`] : ""} ${Ae ? io[`smp-textfield-${Ae}`] : ""} ${x ? io[`smp-textfield-${x}`] : ""} ${u ? io["smp-textfield-top-right-indicator"] : ""}`,
|
|
2098
2098
|
input: `${io["smp-textfield-input"]}`,
|
|
2099
2099
|
decodeWrapper: ` ${n ? io["smp-textfield-decode-wrapper"] : ""}`
|
|
@@ -2103,7 +2103,7 @@ const RW = (t) => {
|
|
|
2103
2103
|
Ft && (Ve.container += ` ${Ft}`);
|
|
2104
2104
|
}
|
|
2105
2105
|
const qe = D === "DescOnly" ? n || "" : r, tt = k ? { "--smp-textField-width-base": k, ...P } : P, _t = /* @__PURE__ */ z.jsxs("div", { className: Ve.container, ref: d, style: tt, children: [
|
|
2106
|
-
i && /* @__PURE__ */ z.jsx(
|
|
2106
|
+
i && /* @__PURE__ */ z.jsx(Nr, { icon: i, disabled: e || !s }),
|
|
2107
2107
|
/* @__PURE__ */ z.jsx(
|
|
2108
2108
|
"input",
|
|
2109
2109
|
{
|
|
@@ -2127,11 +2127,11 @@ const RW = (t) => {
|
|
|
2127
2127
|
autoComplete: E,
|
|
2128
2128
|
size: I,
|
|
2129
2129
|
maxLength: L,
|
|
2130
|
-
onClick:
|
|
2130
|
+
onClick: H
|
|
2131
2131
|
}
|
|
2132
2132
|
),
|
|
2133
2133
|
b && /* @__PURE__ */ z.jsx(
|
|
2134
|
-
|
|
2134
|
+
Nr,
|
|
2135
2135
|
{
|
|
2136
2136
|
icon: "clear",
|
|
2137
2137
|
onClick: se,
|
|
@@ -2140,7 +2140,7 @@ const RW = (t) => {
|
|
|
2140
2140
|
}
|
|
2141
2141
|
),
|
|
2142
2142
|
o && /* @__PURE__ */ z.jsx(
|
|
2143
|
-
|
|
2143
|
+
Nr,
|
|
2144
2144
|
{
|
|
2145
2145
|
icon: o,
|
|
2146
2146
|
disabled: e || !s,
|
|
@@ -2342,7 +2342,7 @@ const fp = {
|
|
|
2342
2342
|
onKeyDown: D,
|
|
2343
2343
|
"aria-activedescendant": v >= 0 && v < C.length ? C[v]?.obj?.k : void 0,
|
|
2344
2344
|
children: /* @__PURE__ */ z.jsx("div", { ...E, className: R.virtualScroll, children: T.map(({ item: O, index: B, offsetTop: N }) => {
|
|
2345
|
-
const
|
|
2345
|
+
const U = O.obj?.k ? s.includes(O.obj.k) : !1;
|
|
2346
2346
|
return (
|
|
2347
2347
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
2348
2348
|
/* @__PURE__ */ z.jsxs(
|
|
@@ -2367,7 +2367,7 @@ const fp = {
|
|
|
2367
2367
|
children: [
|
|
2368
2368
|
/* @__PURE__ */ z.jsxs("div", { className: R.listItemLeft, children: [
|
|
2369
2369
|
d && /* @__PURE__ */ z.jsx(
|
|
2370
|
-
|
|
2370
|
+
Nr,
|
|
2371
2371
|
{
|
|
2372
2372
|
icon: O.icon || "",
|
|
2373
2373
|
width: 16,
|
|
@@ -2380,7 +2380,7 @@ const fp = {
|
|
|
2380
2380
|
r
|
|
2381
2381
|
)
|
|
2382
2382
|
] }),
|
|
2383
|
-
|
|
2383
|
+
U && /* @__PURE__ */ z.jsx(Nr, { icon: "check", width: 16 })
|
|
2384
2384
|
]
|
|
2385
2385
|
},
|
|
2386
2386
|
B + "li"
|
|
@@ -2488,7 +2488,7 @@ const fp = {
|
|
|
2488
2488
|
ref: p,
|
|
2489
2489
|
children: [
|
|
2490
2490
|
/* @__PURE__ */ z.jsxs("div", { className: m.iconTextContainer, children: [
|
|
2491
|
-
/* @__PURE__ */ z.jsx(
|
|
2491
|
+
/* @__PURE__ */ z.jsx(Nr, { icon: t.icon ?? "" }),
|
|
2492
2492
|
/* @__PURE__ */ z.jsx("span", { className: m.nodeText, children: /* @__PURE__ */ z.jsx(
|
|
2493
2493
|
ai,
|
|
2494
2494
|
{
|
|
@@ -2497,7 +2497,7 @@ const fp = {
|
|
|
2497
2497
|
}
|
|
2498
2498
|
) })
|
|
2499
2499
|
] }),
|
|
2500
|
-
t.isLoading ? /* @__PURE__ */ z.jsx(
|
|
2500
|
+
t.isLoading ? /* @__PURE__ */ z.jsx(Nr, { icon: "spinner", spin: !0 }) : f || fS(t) ? /* @__PURE__ */ z.jsx(Nr, { icon: "chevron-right" }) : /* @__PURE__ */ z.jsx(Nr, { icon: "" })
|
|
2501
2501
|
]
|
|
2502
2502
|
}
|
|
2503
2503
|
),
|
|
@@ -2758,7 +2758,7 @@ const ai = ({
|
|
|
2758
2758
|
ref: y,
|
|
2759
2759
|
className: w.toolbar,
|
|
2760
2760
|
children: /* @__PURE__ */ z.jsx(
|
|
2761
|
-
|
|
2761
|
+
Nr,
|
|
2762
2762
|
{
|
|
2763
2763
|
tabIndex: 0,
|
|
2764
2764
|
icon: "more_vert",
|
|
@@ -2771,7 +2771,7 @@ const ai = ({
|
|
|
2771
2771
|
}
|
|
2772
2772
|
),
|
|
2773
2773
|
f && /* @__PURE__ */ z.jsx("div", { "smp-id": "typography-ai-icon", className: w.toolbar, children: /* @__PURE__ */ z.jsx(
|
|
2774
|
-
|
|
2774
|
+
Nr,
|
|
2775
2775
|
{
|
|
2776
2776
|
tabIndex: 0,
|
|
2777
2777
|
icon: "smeup-ai",
|
|
@@ -2813,7 +2813,7 @@ const ai = ({
|
|
|
2813
2813
|
"data-badge-position": i,
|
|
2814
2814
|
"data-badge-type": r,
|
|
2815
2815
|
children: [
|
|
2816
|
-
n && /* @__PURE__ */ z.jsx(
|
|
2816
|
+
n && /* @__PURE__ */ z.jsx(Nr, { icon: n, state: Yce[r ?? "info"] }),
|
|
2817
2817
|
e && /* @__PURE__ */ z.jsx(
|
|
2818
2818
|
ai,
|
|
2819
2819
|
{
|
|
@@ -2850,7 +2850,7 @@ const ai = ({
|
|
|
2850
2850
|
className: w
|
|
2851
2851
|
}) => {
|
|
2852
2852
|
const _ = {
|
|
2853
|
-
container: `${Yc["smp-button"]} ${Yc["smp-button-container"]} ${s ? Yc[`smp-button-${s}`] : ""} ${o ? Yc[`smp-buttonVariant-${o}`] : ""} ${l ? Yc[`smp-buttonType-${l}`] : ""} ${
|
|
2853
|
+
container: `${Yc["smp-button"]} ${Yc["smp-button-container"]} ${s ? Yc[`smp-button-${s}`] : ""} ${o ? Yc[`smp-buttonVariant-${o}`] : ""} ${l ? Yc[`smp-buttonType-${l}`] : ""} ${Pr(u) ? Yc["smp-button-FillSpace"] : ""} ${`smp-justify-${d}`} ${m && !h ? Yc["smp-button-squared"] : ""} ${y ? Yc["smp-buttonActive"] : ""} ${x ? Yc[`smp-buttonExt-${x}`] : ""}`
|
|
2854
2854
|
};
|
|
2855
2855
|
return /* @__PURE__ */ z.jsxs(
|
|
2856
2856
|
"button",
|
|
@@ -2864,9 +2864,9 @@ const ai = ({
|
|
|
2864
2864
|
"aria-busy": f,
|
|
2865
2865
|
title: p || g,
|
|
2866
2866
|
children: [
|
|
2867
|
-
f ? /* @__PURE__ */ z.jsx(
|
|
2867
|
+
f ? /* @__PURE__ */ z.jsx(Nr, { icon: "spinner", state: dR(o, l), spin: !0 }) : /* @__PURE__ */ z.jsxs(z.Fragment, { children: [
|
|
2868
2868
|
n && c && /* @__PURE__ */ z.jsx(
|
|
2869
|
-
|
|
2869
|
+
Nr,
|
|
2870
2870
|
{
|
|
2871
2871
|
icon: n,
|
|
2872
2872
|
placeholderIcon: i,
|
|
@@ -2876,7 +2876,7 @@ const ai = ({
|
|
|
2876
2876
|
height: fR(s)
|
|
2877
2877
|
}
|
|
2878
2878
|
),
|
|
2879
|
-
|
|
2879
|
+
Pr(h) && /* @__PURE__ */ z.jsx("span", { children: g || t })
|
|
2880
2880
|
] }),
|
|
2881
2881
|
b && /* @__PURE__ */ z.jsx(whe, { badgeString: b })
|
|
2882
2882
|
]
|
|
@@ -2976,7 +2976,7 @@ const ai = ({
|
|
|
2976
2976
|
},
|
|
2977
2977
|
children: [
|
|
2978
2978
|
T.icon && /* @__PURE__ */ z.jsx(
|
|
2979
|
-
|
|
2979
|
+
Nr,
|
|
2980
2980
|
{
|
|
2981
2981
|
icon: T.icon,
|
|
2982
2982
|
placeholderIcon: T.placeholderIcon
|
|
@@ -3100,9 +3100,9 @@ const y1 = {
|
|
|
3100
3100
|
}, k = (M) => {
|
|
3101
3101
|
const O = Math.max(Number(n) || 3, 3);
|
|
3102
3102
|
let B = !1, N;
|
|
3103
|
-
const
|
|
3103
|
+
const U = M && M[M.length - 1];
|
|
3104
3104
|
let q;
|
|
3105
|
-
return i === "always" ? (q = M && M.slice(0, M.length - 1), B = !!(q && q.length > 0)) : (B = M && M.length > O, N = M && M.length > 1 ? M[0] : void 0, q = M && M.slice(1, M.length - 1)), { shouldCollapse: B, first: N, last:
|
|
3105
|
+
return i === "always" ? (q = M && M.slice(0, M.length - 1), B = !!(q && q.length > 0)) : (B = M && M.length > O, N = M && M.length > 1 ? M[0] : void 0, q = M && M.slice(1, M.length - 1)), { shouldCollapse: B, first: N, last: U, middleItems: q };
|
|
3106
3106
|
}, E = (M) => {
|
|
3107
3107
|
M?.focus();
|
|
3108
3108
|
}, I = (M, O, B) => {
|
|
@@ -3115,7 +3115,7 @@ const y1 = {
|
|
|
3115
3115
|
"aria-current": B ? "page" : void 0,
|
|
3116
3116
|
children: [
|
|
3117
3117
|
(M?.icon || M?.placeholderIcon) && /* @__PURE__ */ z.jsx(
|
|
3118
|
-
|
|
3118
|
+
Nr,
|
|
3119
3119
|
{
|
|
3120
3120
|
icon: M.icon || "",
|
|
3121
3121
|
placeholderIcon: M.placeholderIcon || "",
|
|
@@ -3126,8 +3126,8 @@ const y1 = {
|
|
|
3126
3126
|
"a",
|
|
3127
3127
|
{
|
|
3128
3128
|
href: "/",
|
|
3129
|
-
onClick: (
|
|
3130
|
-
|
|
3129
|
+
onClick: (U) => {
|
|
3130
|
+
U.preventDefault(), T?.(U, M);
|
|
3131
3131
|
},
|
|
3132
3132
|
className: C.link,
|
|
3133
3133
|
children: /* @__PURE__ */ z.jsx(ai, { variant: "body", bindValue: N || "" })
|
|
@@ -3160,7 +3160,7 @@ const y1 = {
|
|
|
3160
3160
|
className: `${C.breacrumbItem} ${C.collapse}`,
|
|
3161
3161
|
children: [
|
|
3162
3162
|
/* @__PURE__ */ z.jsx("div", { ref: b, "aria-label": "Show more breadcrumbs", children: /* @__PURE__ */ z.jsx(
|
|
3163
|
-
|
|
3163
|
+
Nr,
|
|
3164
3164
|
{
|
|
3165
3165
|
icon: "more_horiz",
|
|
3166
3166
|
isInteractable: !0,
|
|
@@ -3933,13 +3933,13 @@ class yS extends U3 {
|
|
|
3933
3933
|
for (let N = 0; N < O.length; N++)
|
|
3934
3934
|
M.push(O[N]);
|
|
3935
3935
|
else this.options.saveMissingTo === "all" ? M = this.languageUtils.toResolveHierarchy(i.lng || this.language) : M.push(i.lng || this.language);
|
|
3936
|
-
const B = (N,
|
|
3937
|
-
const
|
|
3938
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(N, c,
|
|
3936
|
+
const B = (N, U, q) => {
|
|
3937
|
+
const H = w && q !== p ? q : D;
|
|
3938
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(N, c, U, H, R, i) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(N, c, U, H, R, i), this.emit("missingKey", N, c, U, p);
|
|
3939
3939
|
};
|
|
3940
3940
|
this.options.saveMissing && (this.options.saveMissingPlurals && b ? M.forEach((N) => {
|
|
3941
|
-
const
|
|
3942
|
-
C && i[`defaultValue${this.options.pluralSeparator}zero`] &&
|
|
3941
|
+
const U = this.pluralResolver.getSuffixes(N, i);
|
|
3942
|
+
C && i[`defaultValue${this.options.pluralSeparator}zero`] && U.indexOf(`${this.options.pluralSeparator}zero`) < 0 && U.push(`${this.options.pluralSeparator}zero`), U.forEach((q) => {
|
|
3943
3943
|
B([N], o + q, i[`defaultValue${q}`] || A);
|
|
3944
3944
|
});
|
|
3945
3945
|
}) : B(M, o, A));
|
|
@@ -5091,14 +5091,14 @@ const gd = (t, e) => ({
|
|
|
5091
5091
|
isVisualOnly: y,
|
|
5092
5092
|
...x
|
|
5093
5093
|
}) => {
|
|
5094
|
-
const b = Nt(null), [w, _] = Oe(t), [S, C] = Oe(e), { translate: A } = Da(), [T, k] = Oe(!1), [E, I] = Oe(r), [L, P] = Oe(0), [D, R] = Oe([t]), [M, O] = Oe(), { anchorRef: B, targetRef: N, anchorWidth:
|
|
5094
|
+
const b = Nt(null), [w, _] = Oe(t), [S, C] = Oe(e), { translate: A } = Da(), [T, k] = Oe(!1), [E, I] = Oe(r), [L, P] = Oe(0), [D, R] = Oe([t]), [M, O] = Oe(), { anchorRef: B, targetRef: N, anchorWidth: U } = vl({
|
|
5095
5095
|
position: "bottom",
|
|
5096
5096
|
open: T
|
|
5097
5097
|
}), q = $t(() => {
|
|
5098
5098
|
k(!1), b?.current?.focus();
|
|
5099
5099
|
}, []);
|
|
5100
5100
|
U0([N], T, () => q());
|
|
5101
|
-
const
|
|
5101
|
+
const H = RW(400);
|
|
5102
5102
|
Dt(() => {
|
|
5103
5103
|
v != null && (d ? d(l, void 0).then((Y) => {
|
|
5104
5104
|
const J = bc(Y);
|
|
@@ -5118,7 +5118,7 @@ const gd = (t, e) => ({
|
|
|
5118
5118
|
P(r && r.length > 0 ? 0 : -1);
|
|
5119
5119
|
k(!0);
|
|
5120
5120
|
} else
|
|
5121
|
-
|
|
5121
|
+
H(async () => {
|
|
5122
5122
|
if (d) {
|
|
5123
5123
|
const J = await d(l, Y), ne = bc(J);
|
|
5124
5124
|
I(ne), P(ne && ne.length > 0 ? 0 : -1), k(!0);
|
|
@@ -5172,7 +5172,7 @@ const gd = (t, e) => ({
|
|
|
5172
5172
|
onBlur: () => {
|
|
5173
5173
|
},
|
|
5174
5174
|
ref: B,
|
|
5175
|
-
isClearable:
|
|
5175
|
+
isClearable: Pr(i),
|
|
5176
5176
|
inputRef: b,
|
|
5177
5177
|
onChange: (Y) => K(Y.bindValue),
|
|
5178
5178
|
onKeyDown: j,
|
|
@@ -5192,7 +5192,7 @@ const gd = (t, e) => ({
|
|
|
5192
5192
|
ref: N,
|
|
5193
5193
|
selectedIndex: L,
|
|
5194
5194
|
activeIndex: m || D,
|
|
5195
|
-
width:
|
|
5195
|
+
width: U,
|
|
5196
5196
|
showFilter: !1,
|
|
5197
5197
|
onKeyDown: G,
|
|
5198
5198
|
isOpen: T,
|
|
@@ -5231,8 +5231,8 @@ const gd = (t, e) => ({
|
|
|
5231
5231
|
});
|
|
5232
5232
|
}, [u, o, l]);
|
|
5233
5233
|
const v = g ? { gridTemplateColumns: `repeat(${p}, 1fr)`, display: "grid" } : void 0, y = {
|
|
5234
|
-
container: `${b1["smp-button-group-container"]} ${
|
|
5235
|
-
optionsContainer: `${b1["smp-button-group-options-container"]} ${
|
|
5234
|
+
container: `${b1["smp-button-group-container"]} ${Pr(i) ? b1["smp-button-group-vertical"] : ""}`,
|
|
5235
|
+
optionsContainer: `${b1["smp-button-group-options-container"]} ${Pr(i) ? b1["smp-button-group-vertical"] : ""} ${c ? b1["smp-button-group-danger"] : ""}`
|
|
5236
5236
|
};
|
|
5237
5237
|
return /* @__PURE__ */ z.jsx(
|
|
5238
5238
|
"div",
|
|
@@ -5261,9 +5261,9 @@ const gd = (t, e) => ({
|
|
|
5261
5261
|
n
|
|
5262
5262
|
),
|
|
5263
5263
|
disabled: e || !r,
|
|
5264
|
-
justify:
|
|
5264
|
+
justify: Pr(i) ? "start" : "center",
|
|
5265
5265
|
icon: x.icon,
|
|
5266
|
-
buttonExt: `oneButton-${
|
|
5266
|
+
buttonExt: `oneButton-${Pr(i) ? "vertical" : "horizontal"}`
|
|
5267
5267
|
},
|
|
5268
5268
|
x.obj?.k
|
|
5269
5269
|
))
|
|
@@ -5311,7 +5311,7 @@ const gd = (t, e) => ({
|
|
|
5311
5311
|
});
|
|
5312
5312
|
}, [y, r, m]);
|
|
5313
5313
|
const w = {
|
|
5314
|
-
container: `${GC["smp-button-list"]} ${GC[`smp-button-list-${b}`]} ${`smp-justify-${i}`} ${
|
|
5314
|
+
container: `${GC["smp-button-list"]} ${GC[`smp-button-list-${b}`]} ${`smp-justify-${i}`} ${Pr(h) ? GC["smp-button-list-fillSpace"] : ""}`
|
|
5315
5315
|
}, _ = y?.map((S, C) => {
|
|
5316
5316
|
const A = {
|
|
5317
5317
|
bindValue: S.obj?.k || "",
|
|
@@ -5492,8 +5492,8 @@ function Lue({
|
|
|
5492
5492
|
full: a(Ba.SATURDAY)
|
|
5493
5493
|
}
|
|
5494
5494
|
], b = (O) => r.some((B) => {
|
|
5495
|
-
const N = B.start.getTime(),
|
|
5496
|
-
return q >= N && q <=
|
|
5495
|
+
const N = B.start.getTime(), U = B.end.getTime(), q = O.getTime();
|
|
5496
|
+
return q >= N && q <= U;
|
|
5497
5497
|
}), w = (O) => {
|
|
5498
5498
|
b(O) || (c(O), g(O.getDate()), e && e(Lhe(O)));
|
|
5499
5499
|
}, _ = () => {
|
|
@@ -5508,20 +5508,20 @@ function Lue({
|
|
|
5508
5508
|
}, k = (O, B) => {
|
|
5509
5509
|
const N = L[B];
|
|
5510
5510
|
if (!N) return;
|
|
5511
|
-
const
|
|
5511
|
+
const U = C(f, h), q = N.getDate();
|
|
5512
5512
|
switch (O.key) {
|
|
5513
5513
|
case "ArrowRight":
|
|
5514
5514
|
O.preventDefault();
|
|
5515
5515
|
{
|
|
5516
|
-
let
|
|
5517
|
-
if (
|
|
5516
|
+
let H = q + 1, K = new Date(f, h, H);
|
|
5517
|
+
if (H > U) {
|
|
5518
5518
|
const W = h === 11 ? f + 1 : f, V = h === 11 ? 0 : h + 1;
|
|
5519
|
-
|
|
5519
|
+
H = 1, K = new Date(W, V, H), S(), setTimeout(() => {
|
|
5520
5520
|
E(1, "forward");
|
|
5521
5521
|
}, 0);
|
|
5522
5522
|
return;
|
|
5523
5523
|
}
|
|
5524
|
-
b(K) ? E(
|
|
5524
|
+
b(K) ? E(H, "forward") : T(H);
|
|
5525
5525
|
}
|
|
5526
5526
|
break;
|
|
5527
5527
|
case "Tab":
|
|
@@ -5529,66 +5529,66 @@ function Lue({
|
|
|
5529
5529
|
case "ArrowLeft":
|
|
5530
5530
|
O.preventDefault();
|
|
5531
5531
|
{
|
|
5532
|
-
let
|
|
5533
|
-
if (
|
|
5532
|
+
let H = q - 1, K = new Date(f, h, H);
|
|
5533
|
+
if (H < 1) {
|
|
5534
5534
|
const W = h === 0 ? f - 1 : f, V = h === 0 ? 11 : h - 1, X = C(W, V);
|
|
5535
|
-
|
|
5535
|
+
H = X, K = new Date(W, V, H), _(), setTimeout(() => {
|
|
5536
5536
|
E(X, "backward");
|
|
5537
5537
|
}, 0);
|
|
5538
5538
|
return;
|
|
5539
5539
|
}
|
|
5540
|
-
b(K) ? E(
|
|
5540
|
+
b(K) ? E(H, "backward") : T(H);
|
|
5541
5541
|
}
|
|
5542
5542
|
break;
|
|
5543
5543
|
case "ArrowUp":
|
|
5544
5544
|
O.preventDefault();
|
|
5545
5545
|
{
|
|
5546
|
-
let
|
|
5547
|
-
if (
|
|
5546
|
+
let H = q - 7, K = new Date(f, h, H);
|
|
5547
|
+
if (H < 1) {
|
|
5548
5548
|
const W = h === 0 ? f - 1 : f, V = h === 0 ? 11 : h - 1;
|
|
5549
|
-
|
|
5550
|
-
E(
|
|
5549
|
+
H = C(W, V) + H, K = new Date(W, V, H), _(), setTimeout(() => {
|
|
5550
|
+
E(H, "backward");
|
|
5551
5551
|
}, 0);
|
|
5552
5552
|
return;
|
|
5553
5553
|
}
|
|
5554
|
-
b(K) ? E(
|
|
5554
|
+
b(K) ? E(H, "backward") : T(H);
|
|
5555
5555
|
}
|
|
5556
5556
|
break;
|
|
5557
5557
|
case "ArrowDown":
|
|
5558
5558
|
O.preventDefault();
|
|
5559
5559
|
{
|
|
5560
|
-
let
|
|
5561
|
-
if (
|
|
5560
|
+
let H = q + 7, K = new Date(f, h, H);
|
|
5561
|
+
if (H > U) {
|
|
5562
5562
|
const W = h === 11 ? f + 1 : f, V = h === 11 ? 0 : h + 1;
|
|
5563
|
-
|
|
5564
|
-
E(
|
|
5563
|
+
H = H - U, K = new Date(W, V, H), S(), setTimeout(() => {
|
|
5564
|
+
E(H, "forward");
|
|
5565
5565
|
}, 0);
|
|
5566
5566
|
return;
|
|
5567
5567
|
}
|
|
5568
|
-
b(K) ? E(
|
|
5568
|
+
b(K) ? E(H, "forward") : T(H);
|
|
5569
5569
|
}
|
|
5570
5570
|
break;
|
|
5571
5571
|
case "Home":
|
|
5572
5572
|
O.preventDefault(), E(1, "forward");
|
|
5573
5573
|
break;
|
|
5574
5574
|
case "End":
|
|
5575
|
-
O.preventDefault(), E(
|
|
5575
|
+
O.preventDefault(), E(U, "backward");
|
|
5576
5576
|
break;
|
|
5577
5577
|
case "PageUp":
|
|
5578
5578
|
O.preventDefault(), _(), setTimeout(() => {
|
|
5579
|
-
const
|
|
5579
|
+
const H = C(
|
|
5580
5580
|
h === 0 ? f - 1 : f,
|
|
5581
5581
|
h === 0 ? 11 : h - 1
|
|
5582
|
-
), K = Math.min(q,
|
|
5582
|
+
), K = Math.min(q, H);
|
|
5583
5583
|
E(K, "forward");
|
|
5584
5584
|
}, 0);
|
|
5585
5585
|
break;
|
|
5586
5586
|
case "PageDown":
|
|
5587
5587
|
O.preventDefault(), S(), setTimeout(() => {
|
|
5588
|
-
const
|
|
5588
|
+
const H = C(
|
|
5589
5589
|
h === 11 ? f + 1 : f,
|
|
5590
5590
|
h === 11 ? 0 : h + 1
|
|
5591
|
-
), K = Math.min(q,
|
|
5591
|
+
), K = Math.min(q, H);
|
|
5592
5592
|
E(K, "forward");
|
|
5593
5593
|
}, 0);
|
|
5594
5594
|
break;
|
|
@@ -5604,10 +5604,10 @@ function Lue({
|
|
|
5604
5604
|
}, E = (O, B) => {
|
|
5605
5605
|
const N = C(f, h);
|
|
5606
5606
|
if (B === "forward") {
|
|
5607
|
-
for (let
|
|
5608
|
-
const q = new Date(f, h,
|
|
5607
|
+
for (let U = O; U <= N; U++) {
|
|
5608
|
+
const q = new Date(f, h, U);
|
|
5609
5609
|
if (!b(q)) {
|
|
5610
|
-
T(
|
|
5610
|
+
T(U);
|
|
5611
5611
|
return;
|
|
5612
5612
|
}
|
|
5613
5613
|
}
|
|
@@ -5622,17 +5622,17 @@ function Lue({
|
|
|
5622
5622
|
return;
|
|
5623
5623
|
}
|
|
5624
5624
|
}
|
|
5625
|
-
const
|
|
5625
|
+
const U = h === 0 ? f - 1 : f, q = h === 0 ? 11 : h - 1, H = C(U, q);
|
|
5626
5626
|
_(), setTimeout(() => {
|
|
5627
|
-
E(
|
|
5627
|
+
E(H, "backward");
|
|
5628
5628
|
}, 0);
|
|
5629
5629
|
}
|
|
5630
5630
|
}, L = (() => {
|
|
5631
5631
|
const O = C(f, h), B = A(f, h), N = [];
|
|
5632
|
-
for (let
|
|
5632
|
+
for (let U = 0; U < B; U++)
|
|
5633
5633
|
N.push(null);
|
|
5634
|
-
for (let
|
|
5635
|
-
const q = new Date(f, h,
|
|
5634
|
+
for (let U = 1; U <= O; U++) {
|
|
5635
|
+
const q = new Date(f, h, U);
|
|
5636
5636
|
N.push(q);
|
|
5637
5637
|
}
|
|
5638
5638
|
return N;
|
|
@@ -5658,11 +5658,11 @@ function Lue({
|
|
|
5658
5658
|
calendar: `${Wo["smp-datepickercalendar"]}`,
|
|
5659
5659
|
table: `${Wo["smp-datepickercalendar-table"]}`,
|
|
5660
5660
|
th: `${Wo["smp-datepickercalendar-th"]}`,
|
|
5661
|
-
td: (O, B, N,
|
|
5661
|
+
td: (O, B, N, U) => `${Wo["smp-datepickercalendar-td"]}
|
|
5662
5662
|
${O ? Wo["smp-datepickercalendar-td-today"] : ""}
|
|
5663
5663
|
${B ? Wo["smp-datepickercalendar-td-selected"] : ""}
|
|
5664
5664
|
${N ? Wo["smp-datepickercalendar-td-focused"] : ""}
|
|
5665
|
-
${
|
|
5665
|
+
${U ? Wo["smp-datepickercalendar-td-disabled"] : ""}`
|
|
5666
5666
|
}, M = () => `${y[h]} ${f.toString()}`;
|
|
5667
5667
|
return /* @__PURE__ */ z.jsxs(
|
|
5668
5668
|
"div",
|
|
@@ -5735,8 +5735,8 @@ function Lue({
|
|
|
5735
5735
|
},
|
|
5736
5736
|
O.value
|
|
5737
5737
|
)) }) }),
|
|
5738
|
-
/* @__PURE__ */ z.jsx("tbody", { children: P.map((O, B) => /* @__PURE__ */ z.jsx("tr", { children: O.map((N,
|
|
5739
|
-
const q = B * 7 +
|
|
5738
|
+
/* @__PURE__ */ z.jsx("tbody", { children: P.map((O, B) => /* @__PURE__ */ z.jsx("tr", { children: O.map((N, U) => {
|
|
5739
|
+
const q = B * 7 + U;
|
|
5740
5740
|
if (N === null)
|
|
5741
5741
|
return /* @__PURE__ */ z.jsx(
|
|
5742
5742
|
"td",
|
|
@@ -5748,9 +5748,9 @@ function Lue({
|
|
|
5748
5748
|
!0
|
|
5749
5749
|
)
|
|
5750
5750
|
},
|
|
5751
|
-
`empty-${
|
|
5751
|
+
`empty-${U}`
|
|
5752
5752
|
);
|
|
5753
|
-
const
|
|
5753
|
+
const H = N.getDate() === o.getDate() && N.getMonth() === o.getMonth() && N.getFullYear() === o.getFullYear(), K = l && N.getDate() === l.getDate() && N.getMonth() === l.getMonth() && N.getFullYear() === l.getFullYear(), W = p === N.getDate(), V = b(N);
|
|
5754
5754
|
return /* @__PURE__ */ z.jsx(
|
|
5755
5755
|
"td",
|
|
5756
5756
|
{
|
|
@@ -5766,14 +5766,14 @@ function Lue({
|
|
|
5766
5766
|
v.current[q] = X;
|
|
5767
5767
|
},
|
|
5768
5768
|
className: R.td(
|
|
5769
|
-
|
|
5769
|
+
H,
|
|
5770
5770
|
K,
|
|
5771
5771
|
W,
|
|
5772
5772
|
V
|
|
5773
5773
|
),
|
|
5774
5774
|
children: N.getDate()
|
|
5775
5775
|
},
|
|
5776
|
-
`day-${
|
|
5776
|
+
`day-${U}`
|
|
5777
5777
|
);
|
|
5778
5778
|
}) }, `week-${B}`)) })
|
|
5779
5779
|
]
|
|
@@ -5842,8 +5842,8 @@ const KW = ({
|
|
|
5842
5842
|
}, I = (R) => {
|
|
5843
5843
|
L(R, !0), T();
|
|
5844
5844
|
}, L = (R, M) => {
|
|
5845
|
-
const { isoDate: O, isValid: B } = f(R),
|
|
5846
|
-
return r?.(
|
|
5845
|
+
const { isoDate: O, isValid: B } = f(R), U = { bindValue: B && O || R };
|
|
5846
|
+
return r?.(U), M && n?.(U), U;
|
|
5847
5847
|
}, P = (R) => {
|
|
5848
5848
|
y(R);
|
|
5849
5849
|
}, D = (R) => {
|
|
@@ -6125,7 +6125,7 @@ const KW = ({
|
|
|
6125
6125
|
G.preventDefault(), s || A(!0);
|
|
6126
6126
|
},
|
|
6127
6127
|
[s]
|
|
6128
|
-
),
|
|
6128
|
+
), U = $t(() => {
|
|
6129
6129
|
A(!1);
|
|
6130
6130
|
}, []), q = $t(
|
|
6131
6131
|
(G) => {
|
|
@@ -6140,7 +6140,7 @@ const KW = ({
|
|
|
6140
6140
|
}
|
|
6141
6141
|
},
|
|
6142
6142
|
[w, _]
|
|
6143
|
-
),
|
|
6143
|
+
), H = $t(() => {
|
|
6144
6144
|
s || S.current?.click();
|
|
6145
6145
|
}, [s]), K = $t(() => {
|
|
6146
6146
|
R();
|
|
@@ -6159,9 +6159,9 @@ const KW = ({
|
|
|
6159
6159
|
[_]
|
|
6160
6160
|
), X = $t(
|
|
6161
6161
|
(G) => {
|
|
6162
|
-
(G.key === "Enter" || G.key === " ") && (G.preventDefault(),
|
|
6162
|
+
(G.key === "Enter" || G.key === " ") && (G.preventDefault(), H());
|
|
6163
6163
|
},
|
|
6164
|
-
[
|
|
6164
|
+
[H]
|
|
6165
6165
|
);
|
|
6166
6166
|
return /* @__PURE__ */ z.jsx(
|
|
6167
6167
|
"div",
|
|
@@ -6177,7 +6177,7 @@ const KW = ({
|
|
|
6177
6177
|
s && ki["smp-file-upload-disabled"]
|
|
6178
6178
|
),
|
|
6179
6179
|
onDragOver: N,
|
|
6180
|
-
onDragLeave:
|
|
6180
|
+
onDragLeave: U,
|
|
6181
6181
|
onDrop: B,
|
|
6182
6182
|
children: [
|
|
6183
6183
|
/* @__PURE__ */ z.jsx(
|
|
@@ -6188,7 +6188,7 @@ const KW = ({
|
|
|
6188
6188
|
C && ki["smp-file-upload-dropzone__dragover"],
|
|
6189
6189
|
p && ki[`smp-file-upload-dropzone-${p.toLowerCase()}`]
|
|
6190
6190
|
),
|
|
6191
|
-
onClick:
|
|
6191
|
+
onClick: H,
|
|
6192
6192
|
role: "button",
|
|
6193
6193
|
tabIndex: 0,
|
|
6194
6194
|
onKeyDown: X,
|
|
@@ -6207,7 +6207,7 @@ const KW = ({
|
|
|
6207
6207
|
{
|
|
6208
6208
|
ariaLabel: g(qo.SELECT_FILES),
|
|
6209
6209
|
bindValue: "",
|
|
6210
|
-
onClick:
|
|
6210
|
+
onClick: H,
|
|
6211
6211
|
disabled: s,
|
|
6212
6212
|
optionalDisplayValue: f ?? g(qo.SELECT_FILES)
|
|
6213
6213
|
}
|
|
@@ -6452,10 +6452,10 @@ const KW = ({
|
|
|
6452
6452
|
"--smp-chips-backgroundColor-base": a
|
|
6453
6453
|
},
|
|
6454
6454
|
children: [
|
|
6455
|
-
s && /* @__PURE__ */ z.jsx(
|
|
6455
|
+
s && /* @__PURE__ */ z.jsx(Nr, { icon: "drag_indicator_horizontal", isInteractable: !0 }),
|
|
6456
6456
|
/* @__PURE__ */ z.jsx(ai, { variant: "label", bindValue: S, color: i }),
|
|
6457
6457
|
e && /* @__PURE__ */ z.jsx(
|
|
6458
|
-
|
|
6458
|
+
Nr,
|
|
6459
6459
|
{
|
|
6460
6460
|
icon: "close",
|
|
6461
6461
|
isInteractable: !0,
|
|
@@ -6467,7 +6467,7 @@ const KW = ({
|
|
|
6467
6467
|
},
|
|
6468
6468
|
`chip-${w}`
|
|
6469
6469
|
);
|
|
6470
|
-
}, x = (b) => s && b < t.length - 1 ? /* @__PURE__ */ z.jsx(
|
|
6470
|
+
}, x = (b) => s && b < t.length - 1 ? /* @__PURE__ */ z.jsx(Nr, { icon: "chevron-right", color: i }, `separator-${b}`) : null;
|
|
6471
6471
|
return /* @__PURE__ */ z.jsxs("div", { className: f.container, role: "list", "data-component": "chip", children: [
|
|
6472
6472
|
t.flatMap((b, w) => [
|
|
6473
6473
|
y(b, w),
|
|
@@ -6847,7 +6847,7 @@ const pp = {
|
|
|
6847
6847
|
return `${i.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
|
|
6848
6848
|
}
|
|
6849
6849
|
return null;
|
|
6850
|
-
}, Vue = Ku.lazy(() => import("./time-picker-dropdown-
|
|
6850
|
+
}, Vue = Ku.lazy(() => import("./time-picker-dropdown-Co_sF-Ex.js")), Uue = ({
|
|
6851
6851
|
bindValue: t,
|
|
6852
6852
|
onChange: e,
|
|
6853
6853
|
onBlur: r,
|
|
@@ -6902,13 +6902,13 @@ const pp = {
|
|
|
6902
6902
|
R && (M?.({ bindValue: "" }), O?.({ bindValue: "" }));
|
|
6903
6903
|
return;
|
|
6904
6904
|
}
|
|
6905
|
-
const
|
|
6906
|
-
|
|
6905
|
+
const U = qC(D, B) || D;
|
|
6906
|
+
U !== R && (M?.({ bindValue: U }), O?.({ bindValue: U }));
|
|
6907
6907
|
}, []), A = $t(
|
|
6908
6908
|
(D, R, M) => {
|
|
6909
|
-
const { timeFormat: O, onChange: B } = x.current, N = Math.max(0, Math.min(23, D)),
|
|
6910
|
-
let
|
|
6911
|
-
O === "HH:mm:ss" ?
|
|
6909
|
+
const { timeFormat: O, onChange: B } = x.current, N = Math.max(0, Math.min(23, D)), U = Math.max(0, Math.min(59, R)), q = Math.max(0, Math.min(59, M));
|
|
6910
|
+
let H = "";
|
|
6911
|
+
O === "HH:mm:ss" ? H = `${N.toString().padStart(2, "0")}:${U.toString().padStart(2, "0")}:${q.toString().padStart(2, "0")}` : O === "mm:ss" ? H = `${U.toString().padStart(2, "0")}:${q.toString().padStart(2, "0")}` : H = `${N.toString().padStart(2, "0")}:${U.toString().padStart(2, "0")}`, B?.({ bindValue: H }), f(H);
|
|
6912
6912
|
},
|
|
6913
6913
|
[]
|
|
6914
6914
|
), T = $t(() => {
|
|
@@ -6923,9 +6923,9 @@ const pp = {
|
|
|
6923
6923
|
onEnter: O,
|
|
6924
6924
|
isOpen: B,
|
|
6925
6925
|
selectedHour: N,
|
|
6926
|
-
selectedMinute:
|
|
6926
|
+
selectedMinute: U,
|
|
6927
6927
|
selectedSecond: q,
|
|
6928
|
-
activeColumn:
|
|
6928
|
+
activeColumn: H
|
|
6929
6929
|
} = x.current;
|
|
6930
6930
|
if (D.key === "Enter") {
|
|
6931
6931
|
C(), h(!1), O?.({
|
|
@@ -6943,14 +6943,14 @@ const pp = {
|
|
|
6943
6943
|
}
|
|
6944
6944
|
if (B) {
|
|
6945
6945
|
if (D.key === "ArrowLeft")
|
|
6946
|
-
D.preventDefault(),
|
|
6946
|
+
D.preventDefault(), H === "M" ? M !== "mm:ss" && m("H") : H === "S" && m("M");
|
|
6947
6947
|
else if (D.key === "ArrowRight")
|
|
6948
|
-
D.preventDefault(),
|
|
6948
|
+
D.preventDefault(), H === "H" ? m("M") : H === "M" && (M === "HH:mm:ss" || M === "mm:ss") && m("S");
|
|
6949
6949
|
else if (D.key === "ArrowUp" || D.key === "ArrowDown") {
|
|
6950
6950
|
D.preventDefault();
|
|
6951
6951
|
const K = D.key === "ArrowUp" ? -1 : 1;
|
|
6952
|
-
let W = N === -1 ? 0 : N, V =
|
|
6953
|
-
|
|
6952
|
+
let W = N === -1 ? 0 : N, V = U === -1 ? 0 : U, X = q === -1 ? 0 : q;
|
|
6953
|
+
H === "H" ? W = (W + K + 24) % 24 : H === "M" ? V = (V + K + 60) % 60 : H === "S" && (X = (X + K + 60) % 60), A(W, V, X);
|
|
6954
6954
|
}
|
|
6955
6955
|
}
|
|
6956
6956
|
},
|
|
@@ -6969,15 +6969,15 @@ const pp = {
|
|
|
6969
6969
|
}, [v]), L = (D, R) => {
|
|
6970
6970
|
const M = R.value;
|
|
6971
6971
|
let O = "";
|
|
6972
|
-
const B = w === -1 ? "00" : w.toString().padStart(2, "0"), N = _ === -1 ? "00" : _.toString().padStart(2, "0"),
|
|
6973
|
-
D === "H" ? a === "HH:mm:ss" ? (O = `${M}:${N}:${
|
|
6972
|
+
const B = w === -1 ? "00" : w.toString().padStart(2, "0"), N = _ === -1 ? "00" : _.toString().padStart(2, "0"), U = S === -1 ? "00" : S.toString().padStart(2, "0");
|
|
6973
|
+
D === "H" ? a === "HH:mm:ss" ? (O = `${M}:${N}:${U}`, m("M")) : (O = `${M}:${N}`, m("M")) : D === "M" ? a === "HH:mm:ss" ? (O = `${B}:${M}:${U}`, m("S")) : a === "mm:ss" ? (O = `${M}:${U}`, m("S")) : O = `${B}:${M}` : D === "S" && (a === "mm:ss" ? O = `${N}:${M}` : O = `${B}:${N}:${M}`), e?.({ bindValue: O }), f(O);
|
|
6974
6974
|
}, P = (D, R) => {
|
|
6975
6975
|
D.preventDefault(), D.stopPropagation();
|
|
6976
6976
|
const M = D.deltaY > 0 ? 1 : -1;
|
|
6977
6977
|
let O = 0, B = 60;
|
|
6978
6978
|
if (R === "H") {
|
|
6979
|
-
const
|
|
6980
|
-
B = 24, O = (
|
|
6979
|
+
const U = w === -1 ? 0 : w;
|
|
6980
|
+
B = 24, O = (U + M) % B;
|
|
6981
6981
|
} else R === "M" ? O = ((_ === -1 ? 0 : _) + M) % B : O = ((S === -1 ? 0 : S) + M) % B;
|
|
6982
6982
|
O < 0 && (O += B);
|
|
6983
6983
|
const N = O.toString().padStart(2, "0");
|
|
@@ -7080,12 +7080,12 @@ const Nl = {
|
|
|
7080
7080
|
leftSection: `${Nl["smp-row-leftSection"]}`,
|
|
7081
7081
|
nodeLabel: Nl["smp-row-node-label"]
|
|
7082
7082
|
}, w = (E) => /* @__PURE__ */ z.jsx(Ro, { ...E, onContextMenu: f, dSep: l }), _ = () => /* @__PURE__ */ z.jsx("span", { className: b.toggle, children: v && /* @__PURE__ */ z.jsx(
|
|
7083
|
-
|
|
7083
|
+
Nr,
|
|
7084
7084
|
{
|
|
7085
7085
|
icon: d ? "arrow_drop_right" : "arrow_drop_down",
|
|
7086
7086
|
width: 16
|
|
7087
7087
|
}
|
|
7088
|
-
) }), S = (E, I) => /* @__PURE__ */ z.jsx("span", { className: b.toggle, children: /* @__PURE__ */ z.jsx(
|
|
7088
|
+
) }), S = (E, I) => /* @__PURE__ */ z.jsx("span", { className: b.toggle, children: /* @__PURE__ */ z.jsx(Nr, { icon: E, placeholderIcon: I, width: 16 }) }), C = () => /* @__PURE__ */ z.jsx(
|
|
7089
7089
|
"span",
|
|
7090
7090
|
{
|
|
7091
7091
|
className: b.indent,
|
|
@@ -7610,9 +7610,9 @@ function aq() {
|
|
|
7610
7610
|
let {
|
|
7611
7611
|
IS_ALLOWED_URI: B
|
|
7612
7612
|
} = UR, N = null;
|
|
7613
|
-
const
|
|
7613
|
+
const U = dr({}, [...FR, ...KC, ...ZC, ...JC, ...$R]);
|
|
7614
7614
|
let q = null;
|
|
7615
|
-
const
|
|
7615
|
+
const H = dr({}, [...zR, ...QC, ...VR, ...h2]);
|
|
7616
7616
|
let K = Object.seal(q7(null, {
|
|
7617
7617
|
tagNameCheck: {
|
|
7618
7618
|
writable: !0,
|
|
@@ -7668,7 +7668,7 @@ function aq() {
|
|
|
7668
7668
|
let ie = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7669
7669
|
if (!(xt && xt === ie)) {
|
|
7670
7670
|
if ((!ie || typeof ie != "object") && (ie = {}), ie = Yl(ie), no = // eslint-disable-next-line unicorn/prefer-includes
|
|
7671
|
-
_e.indexOf(ie.PARSER_MEDIA_TYPE) === -1 ? Ie : ie.PARSER_MEDIA_TYPE, Re = no === "application/xhtml+xml" ? XC : g_, N = Yo(ie, "ALLOWED_TAGS") ? dr({}, ie.ALLOWED_TAGS, Re) :
|
|
7671
|
+
_e.indexOf(ie.PARSER_MEDIA_TYPE) === -1 ? Ie : ie.PARSER_MEDIA_TYPE, Re = no === "application/xhtml+xml" ? XC : g_, N = Yo(ie, "ALLOWED_TAGS") ? dr({}, ie.ALLOWED_TAGS, Re) : U, q = Yo(ie, "ALLOWED_ATTR") ? dr({}, ie.ALLOWED_ATTR, Re) : H, au = Yo(ie, "ALLOWED_NAMESPACES") ? dr({}, ie.ALLOWED_NAMESPACES, XC) : Pf, _r = Yo(ie, "ADD_URI_SAFE_ATTR") ? dr(Yl(ro), ie.ADD_URI_SAFE_ATTR, Re) : ro, Ft = Yo(ie, "ADD_DATA_URI_TAGS") ? dr(Yl(La), ie.ADD_DATA_URI_TAGS, Re) : La, tt = Yo(ie, "FORBID_CONTENTS") ? dr({}, ie.FORBID_CONTENTS, Re) : _t, W = Yo(ie, "FORBID_TAGS") ? dr({}, ie.FORBID_TAGS, Re) : Yl({}), V = Yo(ie, "FORBID_ATTR") ? dr({}, ie.FORBID_ATTR, Re) : Yl({}), qe = Yo(ie, "USE_PROFILES") ? ie.USE_PROFILES : !1, G = ie.ALLOW_ARIA_ATTR !== !1, j = ie.ALLOW_DATA_ATTR !== !1, Y = ie.ALLOW_UNKNOWN_PROTOCOLS || !1, J = ie.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ne = ie.SAFE_FOR_TEMPLATES || !1, de = ie.SAFE_FOR_XML !== !1, Ae = ie.WHOLE_DOCUMENT || !1, se = ie.RETURN_DOM || !1, Se = ie.RETURN_DOM_FRAGMENT || !1, Te = ie.RETURN_TRUSTED_TYPE || !1, re = ie.FORCE_BODY || !1, De = ie.SANITIZE_DOM !== !1, ze = ie.SANITIZE_NAMED_PROPS || !1, ge = ie.KEEP_CONTENT !== !1, Ve = ie.IN_PLACE || !1, B = ie.ALLOWED_URI_REGEXP || nq, Dl = ie.NAMESPACE || Ti, Gc = ie.MATHML_TEXT_INTEGRATION_POINTS || Gc, Wc = ie.HTML_INTEGRATION_POINTS || Wc, K = ie.CUSTOM_ELEMENT_HANDLING || {}, ie.CUSTOM_ELEMENT_HANDLING && Mr(ie.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (K.tagNameCheck = ie.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ie.CUSTOM_ELEMENT_HANDLING && Mr(ie.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (K.attributeNameCheck = ie.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ie.CUSTOM_ELEMENT_HANDLING && typeof ie.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (K.allowCustomizedBuiltInElements = ie.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ne && (j = !1), Se && (se = !0), qe && (N = dr({}, $R), q = [], qe.html === !0 && (dr(N, FR), dr(q, zR)), qe.svg === !0 && (dr(N, KC), dr(q, QC), dr(q, h2)), qe.svgFilters === !0 && (dr(N, ZC), dr(q, QC), dr(q, h2)), qe.mathMl === !0 && (dr(N, JC), dr(q, VR), dr(q, h2))), ie.ADD_TAGS && (typeof ie.ADD_TAGS == "function" ? X.tagCheck = ie.ADD_TAGS : (N === U && (N = Yl(N)), dr(N, ie.ADD_TAGS, Re))), ie.ADD_ATTR && (typeof ie.ADD_ATTR == "function" ? X.attributeCheck = ie.ADD_ATTR : (q === H && (q = Yl(q)), dr(q, ie.ADD_ATTR, Re))), ie.ADD_URI_SAFE_ATTR && dr(_r, ie.ADD_URI_SAFE_ATTR, Re), ie.FORBID_CONTENTS && (tt === _t && (tt = Yl(tt)), dr(tt, ie.FORBID_CONTENTS, Re)), ie.ADD_FORBID_CONTENTS && (tt === _t && (tt = Yl(tt)), dr(tt, ie.ADD_FORBID_CONTENTS, Re)), ge && (N["#text"] = !0), Ae && dr(N, ["html", "head", "body"]), N.table && (dr(N, ["tbody"]), delete W.tbody), ie.TRUSTED_TYPES_POLICY) {
|
|
7672
7672
|
if (typeof ie.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
7673
7673
|
throw S1('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
7674
7674
|
if (typeof ie.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -8052,18 +8052,18 @@ function sq(t, e) {
|
|
|
8052
8052
|
};
|
|
8053
8053
|
}, [t, e]);
|
|
8054
8054
|
}
|
|
8055
|
-
const bfe = "
|
|
8056
|
-
"smp-overlay-panel": "_smp-overlay-
|
|
8057
|
-
"smp-overlay-panel-floating": "_smp-overlay-panel-
|
|
8058
|
-
"smp-overlay-panel-left": "_smp-overlay-panel-
|
|
8059
|
-
"smp-overlay-panel-closing": "_smp-overlay-panel-
|
|
8060
|
-
"smp-overlay-panel-right": "_smp-overlay-panel-
|
|
8061
|
-
"smp-overlay-panel-top": "_smp-overlay-panel-
|
|
8062
|
-
"smp-overlay-panel-bottom": "_smp-overlay-panel-
|
|
8063
|
-
"smp-overlay-panel-center": "_smp-overlay-panel-
|
|
8055
|
+
const bfe = "_slideOut_s81bp_1", mp = {
|
|
8056
|
+
"smp-overlay-panel": "_smp-overlay-panel_s81bp_2",
|
|
8057
|
+
"smp-overlay-panel-floating": "_smp-overlay-panel-floating_s81bp_21",
|
|
8058
|
+
"smp-overlay-panel-left": "_smp-overlay-panel-left_s81bp_26",
|
|
8059
|
+
"smp-overlay-panel-closing": "_smp-overlay-panel-closing_s81bp_36",
|
|
8060
|
+
"smp-overlay-panel-right": "_smp-overlay-panel-right_s81bp_42",
|
|
8061
|
+
"smp-overlay-panel-top": "_smp-overlay-panel-top_s81bp_58",
|
|
8062
|
+
"smp-overlay-panel-bottom": "_smp-overlay-panel-bottom_s81bp_71",
|
|
8063
|
+
"smp-overlay-panel-center": "_smp-overlay-panel-center_s81bp_100",
|
|
8064
8064
|
slideOut: bfe,
|
|
8065
|
-
"smp-overlay-panel-backdrop": "_smp-overlay-panel-
|
|
8066
|
-
"smp-backdrop-closing": "_smp-backdrop-
|
|
8065
|
+
"smp-overlay-panel-backdrop": "_smp-overlay-panel-backdrop_s81bp_140",
|
|
8066
|
+
"smp-backdrop-closing": "_smp-backdrop-closing_s81bp_150"
|
|
8067
8067
|
}, wfe = (t, e = {}) => {
|
|
8068
8068
|
const { exitDuration: r = 300 } = e, [n, i] = Oe(t), [a, s] = Oe(!1);
|
|
8069
8069
|
return t && (!n || a) && (i(!0), s(!1)), !t && n && !a && s(!0), Dt(() => {
|
|
@@ -8090,50 +8090,69 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
8090
8090
|
onClose: l,
|
|
8091
8091
|
children: c,
|
|
8092
8092
|
className: h,
|
|
8093
|
-
ref: u
|
|
8093
|
+
ref: u,
|
|
8094
|
+
draggable: f = !1
|
|
8094
8095
|
}) => {
|
|
8095
|
-
const
|
|
8096
|
-
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
|
|
8096
|
+
const d = Nt(null), p = u ?? d, g = Nt(null), m = (S) => {
|
|
8097
|
+
if (!f || e !== "center" || !S.target.closest("[data-drag-handle]")) return;
|
|
8098
|
+
S.preventDefault();
|
|
8099
|
+
const T = p.current;
|
|
8100
|
+
if (!T) return;
|
|
8101
|
+
const k = T.getBoundingClientRect(), E = S.clientX, I = S.clientY, L = k.left, P = k.top, D = (M) => {
|
|
8102
|
+
if (!T) return;
|
|
8103
|
+
const O = M.clientX - E, B = M.clientY - I, N = L + O, U = P + B;
|
|
8104
|
+
T.style.inset = "unset", T.style.margin = "0", T.style.left = `${N}px`, T.style.top = `${U}px`, T.style.transform = "none";
|
|
8105
|
+
}, R = () => {
|
|
8106
|
+
document.removeEventListener("mousemove", D), document.removeEventListener("mouseup", R);
|
|
8107
|
+
};
|
|
8108
|
+
document.addEventListener("mousemove", D), document.addEventListener("mouseup", R);
|
|
8109
|
+
}, { shouldRender: v, isExiting: y, isVisible: x } = wfe(
|
|
8110
|
+
Pr(t),
|
|
8111
|
+
{
|
|
8112
|
+
exitDuration: 300
|
|
8113
|
+
// Match CSS transition duration
|
|
8114
|
+
}
|
|
8115
|
+
);
|
|
8116
|
+
U0([p], t && o && !s, () => {
|
|
8100
8117
|
l && l();
|
|
8101
8118
|
});
|
|
8102
|
-
const
|
|
8119
|
+
const b = `
|
|
8103
8120
|
${mp["smp-overlay-panel"]}
|
|
8104
8121
|
${u ? mp["smp-overlay-panel-floating"] : mp[`smp-overlay-panel-${e}`] || ""}
|
|
8105
|
-
${
|
|
8106
|
-
`.trim(),
|
|
8122
|
+
${y ? mp["smp-overlay-panel-closing"] : ""}
|
|
8123
|
+
`.trim(), w = {
|
|
8107
8124
|
...r && { maxWidth: r },
|
|
8108
8125
|
...i && { minWidth: i },
|
|
8109
8126
|
...n && { maxHeight: n },
|
|
8110
8127
|
...a && { minHeight: a }
|
|
8111
|
-
},
|
|
8112
|
-
return
|
|
8113
|
-
|
|
8128
|
+
}, _ = h ? `${h} ${b}` : b;
|
|
8129
|
+
return v ? /* @__PURE__ */ z.jsxs(Oo, { children: [
|
|
8130
|
+
v && s && /* @__PURE__ */ z.jsx(
|
|
8114
8131
|
"div",
|
|
8115
8132
|
{
|
|
8116
|
-
ref:
|
|
8117
|
-
className: `${mp["smp-overlay-panel-backdrop"]} ${
|
|
8133
|
+
ref: g,
|
|
8134
|
+
className: `${mp["smp-overlay-panel-backdrop"]} ${y ? mp["smp-backdrop-closing"] : ""}`,
|
|
8118
8135
|
role: "button",
|
|
8119
8136
|
tabIndex: o ? 0 : -1,
|
|
8120
8137
|
"aria-label": "Close overlay",
|
|
8121
8138
|
onClick: () => {
|
|
8122
8139
|
o && l && l();
|
|
8123
8140
|
},
|
|
8124
|
-
onKeyDown: (
|
|
8125
|
-
o && (
|
|
8141
|
+
onKeyDown: (S) => {
|
|
8142
|
+
o && (S.key === "Enter" || S.key === " ") && (S.preventDefault(), l && l());
|
|
8126
8143
|
}
|
|
8127
8144
|
}
|
|
8128
8145
|
),
|
|
8129
8146
|
/* @__PURE__ */ z.jsx(
|
|
8130
8147
|
"dialog",
|
|
8131
8148
|
{
|
|
8132
|
-
ref:
|
|
8133
|
-
className:
|
|
8149
|
+
ref: p,
|
|
8150
|
+
className: _,
|
|
8134
8151
|
onClose: l,
|
|
8135
|
-
|
|
8136
|
-
|
|
8152
|
+
...f && e === "center" && { onMouseDown: m },
|
|
8153
|
+
style: w,
|
|
8154
|
+
open: x,
|
|
8155
|
+
"aria-modal": !Pr(s),
|
|
8137
8156
|
children: c
|
|
8138
8157
|
}
|
|
8139
8158
|
)
|
|
@@ -8377,7 +8396,7 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
8377
8396
|
k: "",
|
|
8378
8397
|
fun: ""
|
|
8379
8398
|
}));
|
|
8380
|
-
},
|
|
8399
|
+
}, U = () => {
|
|
8381
8400
|
const V = u.current;
|
|
8382
8401
|
V && (V.format("smeupLink", !1), A((X) => ({
|
|
8383
8402
|
...X,
|
|
@@ -8401,7 +8420,7 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
8401
8420
|
let X;
|
|
8402
8421
|
return (async () => {
|
|
8403
8422
|
try {
|
|
8404
|
-
const Y = (await import("./quill-
|
|
8423
|
+
const Y = (await import("./quill-BSMl_rdl.js")).default, J = Cfe(Y);
|
|
8405
8424
|
Y.register(J, !0);
|
|
8406
8425
|
const ne = V.appendChild(
|
|
8407
8426
|
document.createElement("div")
|
|
@@ -8439,14 +8458,14 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
8439
8458
|
const le = de.clipboard.convert({ html: f.current });
|
|
8440
8459
|
de.setContents(le, "silent"), setTimeout(() => {
|
|
8441
8460
|
const re = de.getSelection() || { index: 0, length: 0 }, se = de.getFormat(re);
|
|
8442
|
-
|
|
8461
|
+
H(se);
|
|
8443
8462
|
}, 0);
|
|
8444
8463
|
}
|
|
8445
8464
|
de.on(Y.events.SELECTION_CHANGE, (le) => {
|
|
8446
8465
|
if (le) {
|
|
8447
8466
|
x({ index: le.index, length: le.length });
|
|
8448
8467
|
const re = de.getFormat(le);
|
|
8449
|
-
|
|
8468
|
+
H(re);
|
|
8450
8469
|
}
|
|
8451
8470
|
}), de.enable(r);
|
|
8452
8471
|
const Ae = (le) => {
|
|
@@ -8501,7 +8520,7 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
8501
8520
|
const le = de.getSelection();
|
|
8502
8521
|
if (le) {
|
|
8503
8522
|
const re = de.getFormat(le);
|
|
8504
|
-
|
|
8523
|
+
H(re);
|
|
8505
8524
|
}
|
|
8506
8525
|
}), X = () => {
|
|
8507
8526
|
de.root.removeEventListener("keydown", Ae), u.current = null, V.innerHTML = "";
|
|
@@ -8513,7 +8532,7 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
8513
8532
|
X?.();
|
|
8514
8533
|
};
|
|
8515
8534
|
}, []);
|
|
8516
|
-
const
|
|
8535
|
+
const H = (V) => {
|
|
8517
8536
|
w({
|
|
8518
8537
|
bold: !!V.bold,
|
|
8519
8538
|
italic: !!V.italic,
|
|
@@ -8829,7 +8848,7 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
8829
8848
|
ur,
|
|
8830
8849
|
{
|
|
8831
8850
|
bindValue: g(Ya.REMOVE),
|
|
8832
|
-
onClick: () =>
|
|
8851
|
+
onClick: () => U(),
|
|
8833
8852
|
variant: "danger",
|
|
8834
8853
|
active: _.link != ""
|
|
8835
8854
|
}
|
|
@@ -8918,9 +8937,9 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
8918
8937
|
optionalDisplayValue: j.optionalDisplayValue
|
|
8919
8938
|
}) : gd(G, j), N = (G, j) => gd(G, {
|
|
8920
8939
|
bindValue: new y0(n, j, x).getLegacyValue()
|
|
8921
|
-
}),
|
|
8940
|
+
}), U = (G) => gd(P, {
|
|
8922
8941
|
bindValue: new dS(n, G).getLegacyValue()
|
|
8923
|
-
}), q = (G) => Iue(P, G),
|
|
8942
|
+
}), q = (G) => Iue(P, G), H = () => {
|
|
8924
8943
|
switch (D) {
|
|
8925
8944
|
case Xe.AUTOCOMPLETE: {
|
|
8926
8945
|
const G = {
|
|
@@ -8979,10 +8998,10 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
8979
8998
|
bindValue: dS.fromDataObj(n).getValue(),
|
|
8980
8999
|
optionalDisplayValue: M,
|
|
8981
9000
|
onChange: (Y) => {
|
|
8982
|
-
w?.(
|
|
9001
|
+
w?.(U(Y));
|
|
8983
9002
|
},
|
|
8984
9003
|
onConfirmedChange: (Y) => {
|
|
8985
|
-
_?.(
|
|
9004
|
+
_?.(U(Y));
|
|
8986
9005
|
},
|
|
8987
9006
|
...G && { variant: "switch" }
|
|
8988
9007
|
};
|
|
@@ -9036,7 +9055,7 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
9036
9055
|
S?.(j, B(P, { bindValue: n.k }));
|
|
9037
9056
|
}
|
|
9038
9057
|
};
|
|
9039
|
-
return /* @__PURE__ */ z.jsx(
|
|
9058
|
+
return /* @__PURE__ */ z.jsx(Nr, { ...G });
|
|
9040
9059
|
}
|
|
9041
9060
|
case Xe.INPUT_NUMBER: {
|
|
9042
9061
|
const G = {
|
|
@@ -9331,7 +9350,7 @@ const bfe = "_slideOut_fvbaj_1", mp = {
|
|
|
9331
9350
|
},
|
|
9332
9351
|
children: [
|
|
9333
9352
|
l && /* @__PURE__ */ z.jsx(hS, { label: l, disabled: !y && !m }),
|
|
9334
|
-
|
|
9353
|
+
H(),
|
|
9335
9354
|
X && /* @__PURE__ */ z.jsx(
|
|
9336
9355
|
sI,
|
|
9337
9356
|
{
|
|
@@ -9905,7 +9924,7 @@ const Htt = ({
|
|
|
9905
9924
|
);
|
|
9906
9925
|
}, [a, t.columns]);
|
|
9907
9926
|
Dt(() => {
|
|
9908
|
-
|
|
9927
|
+
Pr(n) && t.rows.length > 0 && c?.({
|
|
9909
9928
|
row: t.rows[0]
|
|
9910
9929
|
}), r && parseInt(r) - 1 <= t.rows.length && c?.({
|
|
9911
9930
|
row: t.rows[parseInt(r) - 1]
|
|
@@ -9939,7 +9958,7 @@ const Htt = ({
|
|
|
9939
9958
|
height: bS(h) ? xS(h) : void 0
|
|
9940
9959
|
},
|
|
9941
9960
|
children: [
|
|
9942
|
-
|
|
9961
|
+
Pr(i) && /* @__PURE__ */ z.jsx("div", { className: g.smpBoxGlobalFilter, children: /* @__PURE__ */ z.jsx(
|
|
9943
9962
|
eq,
|
|
9944
9963
|
{
|
|
9945
9964
|
bindValue: d,
|
|
@@ -10026,7 +10045,7 @@ const Htt = ({
|
|
|
10026
10045
|
um: ao[`smp-layout-${j}__um`] || "",
|
|
10027
10046
|
value: ao[`smp-layout-${j}__value`] || ao["smp-layout-1__value"]
|
|
10028
10047
|
}),
|
|
10029
|
-
dashList: `${ao["smp-dash-list"]} ${
|
|
10048
|
+
dashList: `${ao["smp-dash-list"]} ${Pr(a) ? ao["smp-dash-list-fill-space"] : ""} ${Pr(o) ? ao["smp-dash-list-horizontal"] : ""}`
|
|
10030
10049
|
}, { format: M } = Da(), O = (j) => `${C}-${j}`, B = (j) => {
|
|
10031
10050
|
const Y = /R(\d{1,3})G(\d{1,3})B(\d{1,3})/;
|
|
10032
10051
|
if (Y.test(j)) {
|
|
@@ -10037,13 +10056,13 @@ const Htt = ({
|
|
|
10037
10056
|
return j;
|
|
10038
10057
|
}, N = (j) => {
|
|
10039
10058
|
if (!u) return j;
|
|
10040
|
-
const [Y, J] =
|
|
10059
|
+
const [Y, J] = U(u).map(
|
|
10041
10060
|
(re) => parseInt(re || "0")
|
|
10042
10061
|
), ne = "0,0" + (J ? "." + "0".repeat(J) : ""), de = M(j, ne, "it");
|
|
10043
10062
|
if (!Y) return de;
|
|
10044
10063
|
const [Ae, le] = de.split(",");
|
|
10045
10064
|
return Ae + (le ? `,${le}` : "");
|
|
10046
|
-
},
|
|
10065
|
+
}, U = (j) => j.includes(";") ? j.split(";") : [j], q = (j) => {
|
|
10047
10066
|
const Y = (ne) => {
|
|
10048
10067
|
if (ne)
|
|
10049
10068
|
return j?.cells?.[ne]?.obj?.k;
|
|
@@ -10057,17 +10076,17 @@ const Htt = ({
|
|
|
10057
10076
|
um: f || Y(d) || J(1) || "",
|
|
10058
10077
|
value: g || Y(m) || J(0) || ""
|
|
10059
10078
|
};
|
|
10060
|
-
},
|
|
10079
|
+
}, H = (j) => {
|
|
10061
10080
|
x?.(j);
|
|
10062
10081
|
}, K = (j, Y) => {
|
|
10063
|
-
(j.key === "Enter" || j.key === " ") && (j.preventDefault(), j.stopPropagation(),
|
|
10082
|
+
(j.key === "Enter" || j.key === " ") && (j.preventDefault(), j.stopPropagation(), H(Y));
|
|
10064
10083
|
}, V = ((j) => {
|
|
10065
10084
|
const Y = R.dash(j);
|
|
10066
10085
|
return {
|
|
10067
10086
|
className: Y,
|
|
10068
10087
|
descr: (J) => /* @__PURE__ */ z.jsx("div", { className: Y.descr, children: J }, `${j}-${A}`),
|
|
10069
10088
|
icon: (J) => /* @__PURE__ */ z.jsx("div", { className: Y.icon, children: /* @__PURE__ */ z.jsx(
|
|
10070
|
-
|
|
10089
|
+
Nr,
|
|
10071
10090
|
{
|
|
10072
10091
|
color: h,
|
|
10073
10092
|
height: L,
|
|
@@ -10103,7 +10122,7 @@ const Htt = ({
|
|
|
10103
10122
|
role: "button",
|
|
10104
10123
|
style: Ae,
|
|
10105
10124
|
tabIndex: 0,
|
|
10106
|
-
onClick: () =>
|
|
10125
|
+
onClick: () => H(j),
|
|
10107
10126
|
onKeyDown: (se) => K(se, j),
|
|
10108
10127
|
children: le
|
|
10109
10128
|
},
|
|
@@ -10647,7 +10666,7 @@ const KR = {
|
|
|
10647
10666
|
children: o?.map((h, u) => {
|
|
10648
10667
|
const f = u === 0, d = f ? /* @__PURE__ */ z.jsxs(z.Fragment, { children: [
|
|
10649
10668
|
/* @__PURE__ */ z.jsx(
|
|
10650
|
-
|
|
10669
|
+
Nr,
|
|
10651
10670
|
{
|
|
10652
10671
|
icon: a ? "arrow_drop_down" : "arrow_drop_right",
|
|
10653
10672
|
width: 16
|
|
@@ -11073,7 +11092,7 @@ const mg = {
|
|
|
11073
11092
|
onDragOver: a,
|
|
11074
11093
|
onDrop: i,
|
|
11075
11094
|
children: [
|
|
11076
|
-
/* @__PURE__ */ z.jsx(
|
|
11095
|
+
/* @__PURE__ */ z.jsx(Nr, { icon: "groups" }),
|
|
11077
11096
|
/* @__PURE__ */ z.jsx(
|
|
11078
11097
|
fI,
|
|
11079
11098
|
{
|
|
@@ -11237,7 +11256,7 @@ const mg = {
|
|
|
11237
11256
|
/* @__PURE__ */ z.jsx(ai, { variant: "title", bindValue: M.title }),
|
|
11238
11257
|
/* @__PURE__ */ z.jsxs("div", { children: [
|
|
11239
11258
|
u === M.name ? /* @__PURE__ */ z.jsx(
|
|
11240
|
-
|
|
11259
|
+
Nr,
|
|
11241
11260
|
{
|
|
11242
11261
|
icon: f === "asc" ? "arrow-up" : "arrow-down",
|
|
11243
11262
|
isInteractable: !0
|
|
@@ -11256,7 +11275,7 @@ const mg = {
|
|
|
11256
11275
|
{
|
|
11257
11276
|
className: `${P(M.name) ? Nf["smp-headerCell-iconNotification"] : ""}`,
|
|
11258
11277
|
children: /* @__PURE__ */ z.jsx(
|
|
11259
|
-
|
|
11278
|
+
Nr,
|
|
11260
11279
|
{
|
|
11261
11280
|
icon: "filter_list",
|
|
11262
11281
|
onClick: (O) => {
|
|
@@ -11355,10 +11374,10 @@ const mg = {
|
|
|
11355
11374
|
rows: y?.rows ?? [],
|
|
11356
11375
|
containerRef: R,
|
|
11357
11376
|
sizingMode: o
|
|
11358
|
-
}), { handleDragStart: B, handleDragOver: N, handleDrop:
|
|
11377
|
+
}), { handleDragStart: B, handleDragOver: N, handleDrop: U } = cde(
|
|
11359
11378
|
y.columns,
|
|
11360
11379
|
(Pe) => x((ge) => ({ ...ge, columns: Pe }))
|
|
11361
|
-
), { sortBy: q, sortOrder:
|
|
11380
|
+
), { sortBy: q, sortOrder: H, handleSort: K } = hde(
|
|
11362
11381
|
{
|
|
11363
11382
|
...y,
|
|
11364
11383
|
rows: y.rows
|
|
@@ -11371,7 +11390,7 @@ const mg = {
|
|
|
11371
11390
|
q && (ge = hq(
|
|
11372
11391
|
{ ...e ?? { columns: [], rows: [] }, rows: Pe },
|
|
11373
11392
|
q,
|
|
11374
|
-
|
|
11393
|
+
H,
|
|
11375
11394
|
i
|
|
11376
11395
|
).rows);
|
|
11377
11396
|
let Ve = ge;
|
|
@@ -11391,7 +11410,7 @@ const mg = {
|
|
|
11391
11410
|
P,
|
|
11392
11411
|
q,
|
|
11393
11412
|
b,
|
|
11394
|
-
|
|
11413
|
+
H,
|
|
11395
11414
|
i,
|
|
11396
11415
|
r,
|
|
11397
11416
|
_,
|
|
@@ -11406,7 +11425,7 @@ const mg = {
|
|
|
11406
11425
|
return Pe.every((ge) => T.has(ge)) && Pe.length > 0;
|
|
11407
11426
|
}, [T, W]);
|
|
11408
11427
|
Dt(() => {
|
|
11409
|
-
if (
|
|
11428
|
+
if (Pr(h) && d) {
|
|
11410
11429
|
const Pe = Array.from(T).map((ge) => W[ge]).filter(Boolean);
|
|
11411
11430
|
d(Pe);
|
|
11412
11431
|
}
|
|
@@ -11465,16 +11484,16 @@ const mg = {
|
|
|
11465
11484
|
columns: y.columns,
|
|
11466
11485
|
columnWidths: M,
|
|
11467
11486
|
groups: b,
|
|
11468
|
-
showGroupBar:
|
|
11487
|
+
showGroupBar: Pr(l),
|
|
11469
11488
|
showFilter: C,
|
|
11470
11489
|
filterColumn: E,
|
|
11471
11490
|
activeFilters: P,
|
|
11472
11491
|
fieldOptions: L,
|
|
11473
11492
|
Filter: c,
|
|
11474
|
-
enableSelection:
|
|
11493
|
+
enableSelection: Pr(h),
|
|
11475
11494
|
allVisibleRowsSelected: Y,
|
|
11476
11495
|
sortBy: q,
|
|
11477
|
-
sortOrder:
|
|
11496
|
+
sortOrder: H,
|
|
11478
11497
|
onToggleFilter: de,
|
|
11479
11498
|
onToggleColumnFilter: Ae,
|
|
11480
11499
|
onFiltersChange: J,
|
|
@@ -11487,7 +11506,7 @@ const mg = {
|
|
|
11487
11506
|
onSort: K,
|
|
11488
11507
|
onDragStart: B,
|
|
11489
11508
|
onDragOver: N,
|
|
11490
|
-
onDrop:
|
|
11509
|
+
onDrop: U
|
|
11491
11510
|
}
|
|
11492
11511
|
),
|
|
11493
11512
|
/* @__PURE__ */ z.jsx("tbody", { ...j, children: X.map(({ item: Pe, index: ge, offsetTop: Ve }) => Pe.isGroup ? /* @__PURE__ */ z.jsx(
|
|
@@ -11517,7 +11536,7 @@ const mg = {
|
|
|
11517
11536
|
offsetTop: Ve,
|
|
11518
11537
|
decimalSeparator: i,
|
|
11519
11538
|
isGroup: !1,
|
|
11520
|
-
enableSelection:
|
|
11539
|
+
enableSelection: Pr(h),
|
|
11521
11540
|
isSelected: T.has(ge),
|
|
11522
11541
|
onToggleSelect: () => {
|
|
11523
11542
|
Te([ge]);
|
|
@@ -11586,7 +11605,7 @@ const mg = {
|
|
|
11586
11605
|
onEnter: (b) => r?.(b),
|
|
11587
11606
|
onContextMenu: (b, w) => i?.(b, w)
|
|
11588
11607
|
};
|
|
11589
|
-
return
|
|
11608
|
+
return Pr(c) && (x.data = {
|
|
11590
11609
|
...x.data,
|
|
11591
11610
|
ShowText: o,
|
|
11592
11611
|
variant: "base",
|
|
@@ -11701,7 +11720,7 @@ const mg = {
|
|
|
11701
11720
|
}, [t, i, h, e]);
|
|
11702
11721
|
const w = (T) => {
|
|
11703
11722
|
b.current?.obj?.k != T.obj?.k && (f?.(T), b.current = T);
|
|
11704
|
-
}, _ =
|
|
11723
|
+
}, _ = Pr(r) ? `${JR["smp-field-position"]}-${n}` : "", S = {
|
|
11705
11724
|
container: `${JR["smp-field-container"]} ${_}`
|
|
11706
11725
|
}, C = l == "Yes" || l == !0, A = c ? parseInt(c) - 1 : void 0;
|
|
11707
11726
|
if (y)
|
|
@@ -11742,7 +11761,7 @@ const mg = {
|
|
|
11742
11761
|
)
|
|
11743
11762
|
}
|
|
11744
11763
|
),
|
|
11745
|
-
|
|
11764
|
+
Pr(r) && //TODO: translation
|
|
11746
11765
|
/* @__PURE__ */ z.jsx(
|
|
11747
11766
|
ur,
|
|
11748
11767
|
{
|
|
@@ -11896,7 +11915,7 @@ const mg = {
|
|
|
11896
11915
|
onMountComponent: w,
|
|
11897
11916
|
onObjectProtocol: _
|
|
11898
11917
|
}, S) => {
|
|
11899
|
-
const C = Nt(!1), A = Nt([]), { state: T, commandState: k } = eN(t, s,
|
|
11918
|
+
const C = Nt(!1), A = Nt([]), { state: T, commandState: k } = eN(t, s, Pr(r)), [E, I] = Oe(T), [L, P] = Oe(k), { translate: D } = Da(), R = ml(), M = Nt(null), O = Nt(T), B = Nt(!1), N = Nt(!1);
|
|
11900
11919
|
kW(
|
|
11901
11920
|
S,
|
|
11902
11921
|
() => ({
|
|
@@ -11906,10 +11925,10 @@ const mg = {
|
|
|
11906
11925
|
}),
|
|
11907
11926
|
[]
|
|
11908
11927
|
);
|
|
11909
|
-
const
|
|
11928
|
+
const U = Nt(!1);
|
|
11910
11929
|
Dt(() => {
|
|
11911
|
-
if (!
|
|
11912
|
-
|
|
11930
|
+
if (!U.current && w) {
|
|
11931
|
+
U.current = !0;
|
|
11913
11932
|
const re = w();
|
|
11914
11933
|
re && I(JSON.parse(re));
|
|
11915
11934
|
}
|
|
@@ -11943,7 +11962,7 @@ const mg = {
|
|
|
11943
11962
|
const se = eN(
|
|
11944
11963
|
t,
|
|
11945
11964
|
s,
|
|
11946
|
-
|
|
11965
|
+
Pr(r)
|
|
11947
11966
|
);
|
|
11948
11967
|
I(se.state), P(se.commandState);
|
|
11949
11968
|
} else
|
|
@@ -11957,12 +11976,12 @@ const mg = {
|
|
|
11957
11976
|
clearTimeout(re);
|
|
11958
11977
|
};
|
|
11959
11978
|
}, [t]), Dt(() => {
|
|
11960
|
-
|
|
11979
|
+
Pr(o) && M.current && A.current.length > 0 && A.current[0].focus();
|
|
11961
11980
|
}, [o]), Dt(() => {
|
|
11962
11981
|
O.current = E;
|
|
11963
11982
|
}, [E]);
|
|
11964
|
-
const
|
|
11965
|
-
if (
|
|
11983
|
+
const H = (re) => ["COLUMNS", "INLINE", "STRETCHED", "WATERMARK"].includes(re), K = _a(() => {
|
|
11984
|
+
if (H(c))
|
|
11966
11985
|
return Ade(t);
|
|
11967
11986
|
}, [t, c]), W = (re, se) => {
|
|
11968
11987
|
if (B.current = !1, I((Se) => ({
|
|
@@ -11982,13 +12001,13 @@ const mg = {
|
|
|
11982
12001
|
// FIXME: remove this when webup.js will not use value
|
|
11983
12002
|
value: se.obj?.k
|
|
11984
12003
|
}
|
|
11985
|
-
})),
|
|
12004
|
+
})), Pr(a) && (se.shape == Xe.CHECKBOX || se.shape == Xe.SWITCH || se.shape == Xe.RADIO)) {
|
|
11986
12005
|
const Se = structuredClone(E);
|
|
11987
12006
|
Se[re].obj.k = se.obj.k, Se[re].value = se.obj.k, f({
|
|
11988
12007
|
value: r8(t, Se)
|
|
11989
12008
|
});
|
|
11990
12009
|
}
|
|
11991
|
-
if (
|
|
12010
|
+
if (Pr(l) && se.data?.maxLength && se.data.maxLength <= se.obj.k.length) {
|
|
11992
12011
|
const Se = A.current.findIndex(
|
|
11993
12012
|
(Te) => Te.name == re
|
|
11994
12013
|
);
|
|
@@ -12061,7 +12080,7 @@ const mg = {
|
|
|
12061
12080
|
onClick: () => V(re.obj?.k)
|
|
12062
12081
|
}
|
|
12063
12082
|
)) || [];
|
|
12064
|
-
|
|
12083
|
+
Pr(n) && Y.unshift(
|
|
12065
12084
|
/* @__PURE__ */ z.jsx(
|
|
12066
12085
|
Ro,
|
|
12067
12086
|
{
|
|
@@ -15096,9 +15115,9 @@ function E0e(t, e, r, n, i, a, s, o, l, c = !1) {
|
|
|
15096
15115
|
const L = n.length;
|
|
15097
15116
|
let P, D, R, M, O, B;
|
|
15098
15117
|
u ? a === 0 ? B = o === 0 ? b : w : B = o === 0 ? S : T : B = x;
|
|
15099
|
-
let N = 0,
|
|
15118
|
+
let N = 0, U;
|
|
15100
15119
|
const q = L === 1 ? n[0].blocksPerLine * n[0].blocksPerColumn : h * r.mcusPerColumn;
|
|
15101
|
-
let
|
|
15120
|
+
let H, K;
|
|
15102
15121
|
for (; N <= q; ) {
|
|
15103
15122
|
const W = i ? Math.min(q - N, i) : q;
|
|
15104
15123
|
if (W > 0) {
|
|
@@ -15110,19 +15129,19 @@ function E0e(t, e, r, n, i, a, s, o, l, c = !1) {
|
|
|
15110
15129
|
else
|
|
15111
15130
|
for (O = 0; O < W; O++) {
|
|
15112
15131
|
for (D = 0; D < L; D++)
|
|
15113
|
-
for (P = n[D],
|
|
15114
|
-
for (M = 0; M <
|
|
15132
|
+
for (P = n[D], H = P.h, K = P.v, R = 0; R < K; R++)
|
|
15133
|
+
for (M = 0; M < H; M++)
|
|
15115
15134
|
E(P, B, N, R, M);
|
|
15116
15135
|
N++;
|
|
15117
15136
|
}
|
|
15118
15137
|
}
|
|
15119
|
-
if (p = 0,
|
|
15138
|
+
if (p = 0, U = G3(t, e), !U)
|
|
15120
15139
|
break;
|
|
15121
|
-
if (
|
|
15140
|
+
if (U.invalid) {
|
|
15122
15141
|
const V = W > 0 ? "unexpected" : "excessive";
|
|
15123
|
-
Q(`decodeScan - ${V} MCU data, current marker is: ${
|
|
15142
|
+
Q(`decodeScan - ${V} MCU data, current marker is: ${U.invalid}`), e = U.offset;
|
|
15124
15143
|
}
|
|
15125
|
-
if (
|
|
15144
|
+
if (U.marker >= 65488 && U.marker <= 65495)
|
|
15126
15145
|
e += 2;
|
|
15127
15146
|
else
|
|
15128
15147
|
break;
|
|
@@ -15673,12 +15692,12 @@ async function P0e(t = {}) {
|
|
|
15673
15692
|
if (_e instanceof T || _e == "unwind")
|
|
15674
15693
|
return h;
|
|
15675
15694
|
i(1, _e);
|
|
15676
|
-
},
|
|
15677
|
-
h = _e,
|
|
15678
|
-
},
|
|
15695
|
+
}, U = () => D || M > 0, q = (_e) => {
|
|
15696
|
+
h = _e, U() || (r.onExit?.(_e), c = !0), i(_e, new T(_e));
|
|
15697
|
+
}, H = (_e, Ie) => {
|
|
15679
15698
|
h = _e, q(_e);
|
|
15680
|
-
}, K =
|
|
15681
|
-
if (!
|
|
15699
|
+
}, K = H, W = () => {
|
|
15700
|
+
if (!U())
|
|
15682
15701
|
try {
|
|
15683
15702
|
K(h);
|
|
15684
15703
|
} catch (_e) {
|
|
@@ -17549,13 +17568,13 @@ function Z0e(t, e, r) {
|
|
|
17549
17568
|
}
|
|
17550
17569
|
function q3(t, e, r, n, i, a, s, o) {
|
|
17551
17570
|
if (t) {
|
|
17552
|
-
const
|
|
17553
|
-
return xI(
|
|
17571
|
+
const U = new Jy(o.data, o.start, o.end);
|
|
17572
|
+
return xI(U, e, r, !1);
|
|
17554
17573
|
}
|
|
17555
17574
|
if (n === 0 && !i && s.length === 4 && s[0].x === 3 && s[0].y === -1 && s[1].x === -3 && s[1].y === -1 && s[2].x === 2 && s[2].y === -2 && s[3].x === -2 && s[3].y === -2)
|
|
17556
17575
|
return Z0e(e, r, o);
|
|
17557
17576
|
const l = Y0e[n].concat(s);
|
|
17558
|
-
l.sort((
|
|
17577
|
+
l.sort((U, q) => U.y - q.y || U.x - q.x);
|
|
17559
17578
|
const c = l.length, h = new Int8Array(c), u = new Int8Array(c), f = [];
|
|
17560
17579
|
let d = 0, p = 0, g = 0, m = 0, v, y;
|
|
17561
17580
|
for (y = 0; y < c; y++)
|
|
@@ -17567,7 +17586,7 @@ function q3(t, e, r, n, i, a, s, o) {
|
|
|
17567
17586
|
let k = new Uint8Array(e);
|
|
17568
17587
|
const E = [], I = o.decoder, L = o.contextCache.getContexts("GB");
|
|
17569
17588
|
let P = 0, D, R, M, O = 0, B, N;
|
|
17570
|
-
for (let
|
|
17589
|
+
for (let U = 0; U < r; U++) {
|
|
17571
17590
|
if (i) {
|
|
17572
17591
|
const q = I.readBit(L, T);
|
|
17573
17592
|
if (P ^= q, P) {
|
|
@@ -17576,12 +17595,12 @@ function q3(t, e, r, n, i, a, s, o) {
|
|
|
17576
17595
|
}
|
|
17577
17596
|
}
|
|
17578
17597
|
for (k = new Uint8Array(k), E.push(k), D = 0; D < e; D++) {
|
|
17579
|
-
if (D >= S && D < A &&
|
|
17598
|
+
if (D >= S && D < A && U >= C)
|
|
17580
17599
|
for (O = O << 1 & d, y = 0; y < x; y++)
|
|
17581
|
-
R =
|
|
17600
|
+
R = U + w[y], M = D + b[y], B = E[R][M], B && (B = _[y], O |= B);
|
|
17582
17601
|
else
|
|
17583
17602
|
for (O = 0, N = c - 1, y = 0; y < c; y++, N--)
|
|
17584
|
-
M = D + h[y], M >= 0 && M < e && (R =
|
|
17603
|
+
M = D + h[y], M >= 0 && M < e && (R = U + u[y], R >= 0 && (B = E[R][M], B && (O |= B << N)));
|
|
17585
17604
|
const q = I.readBit(L, O);
|
|
17586
17605
|
k[D] = q;
|
|
17587
17606
|
}
|
|
@@ -17709,38 +17728,38 @@ function zq(t, e, r, n, i, a, s, o, l, c, h, u, f, d, p, g, m, v, y) {
|
|
|
17709
17728
|
}
|
|
17710
17729
|
let B = 0;
|
|
17711
17730
|
c ? u & 1 ? B = O - 1 : E += O - 1 : u > 1 ? E += M - 1 : B = M - 1;
|
|
17712
|
-
const N = L - (u & 1 ? 0 : O - 1),
|
|
17713
|
-
let q,
|
|
17731
|
+
const N = L - (u & 1 ? 0 : O - 1), U = E - (u & 2 ? M - 1 : 0);
|
|
17732
|
+
let q, H, K;
|
|
17714
17733
|
if (c)
|
|
17715
17734
|
for (q = 0; q < O; q++) {
|
|
17716
|
-
if (w = x[
|
|
17735
|
+
if (w = x[U + q], !w)
|
|
17717
17736
|
continue;
|
|
17718
17737
|
K = R[q];
|
|
17719
17738
|
const V = Math.min(r - N, M);
|
|
17720
17739
|
switch (f) {
|
|
17721
17740
|
case 0:
|
|
17722
|
-
for (
|
|
17723
|
-
w[N +
|
|
17741
|
+
for (H = 0; H < V; H++)
|
|
17742
|
+
w[N + H] |= K[H];
|
|
17724
17743
|
break;
|
|
17725
17744
|
case 2:
|
|
17726
|
-
for (
|
|
17727
|
-
w[N +
|
|
17745
|
+
for (H = 0; H < V; H++)
|
|
17746
|
+
w[N + H] ^= K[H];
|
|
17728
17747
|
break;
|
|
17729
17748
|
default:
|
|
17730
17749
|
throw new xn(`operator ${f} is not supported`);
|
|
17731
17750
|
}
|
|
17732
17751
|
}
|
|
17733
17752
|
else
|
|
17734
|
-
for (
|
|
17735
|
-
if (w = x[N +
|
|
17736
|
-
switch (K = R[
|
|
17753
|
+
for (H = 0; H < O; H++)
|
|
17754
|
+
if (w = x[N + H], !!w)
|
|
17755
|
+
switch (K = R[H], f) {
|
|
17737
17756
|
case 0:
|
|
17738
17757
|
for (q = 0; q < M; q++)
|
|
17739
|
-
w[
|
|
17758
|
+
w[U + q] |= K[q];
|
|
17740
17759
|
break;
|
|
17741
17760
|
case 2:
|
|
17742
17761
|
for (q = 0; q < M; q++)
|
|
17743
|
-
w[
|
|
17762
|
+
w[U + q] ^= K[q];
|
|
17744
17763
|
break;
|
|
17745
17764
|
default:
|
|
17746
17765
|
throw new xn(`operator ${f} is not supported`);
|
|
@@ -17815,11 +17834,11 @@ function epe(t, e, r, n, i, a, s, o, l, c, h, u, f, d, p) {
|
|
|
17815
17834
|
for (N = m[O + v], B = R[v], y = 0; y < _; y++)
|
|
17816
17835
|
N[M + y] |= B[y];
|
|
17817
17836
|
else {
|
|
17818
|
-
let
|
|
17837
|
+
let U, q;
|
|
17819
17838
|
for (v = 0; v < S; v++)
|
|
17820
17839
|
if (q = O + v, !(q < 0 || q >= i))
|
|
17821
17840
|
for (N = m[q], B = R[v], y = 0; y < _; y++)
|
|
17822
|
-
|
|
17841
|
+
U = M + y, U >= 0 && U < n && (N[U] |= B[y]);
|
|
17823
17842
|
}
|
|
17824
17843
|
}
|
|
17825
17844
|
return m;
|
|
@@ -22921,20 +22940,20 @@ class qN {
|
|
|
22921
22940
|
}
|
|
22922
22941
|
checkAndRepair(e, r, n) {
|
|
22923
22942
|
const i = ["OS/2", "cmap", "head", "hhea", "hmtx", "maxp", "name", "post", "loca", "glyf", "fpgm", "prep", "cvt ", "CFF "];
|
|
22924
|
-
function a(
|
|
22943
|
+
function a(H, K) {
|
|
22925
22944
|
const W = /* @__PURE__ */ Object.create(null);
|
|
22926
22945
|
W["OS/2"] = null, W.cmap = null, W.head = null, W.hhea = null, W.hmtx = null, W.maxp = null, W.name = null, W.post = null;
|
|
22927
22946
|
for (let V = 0; V < K; V++) {
|
|
22928
|
-
const X = s(
|
|
22947
|
+
const X = s(H);
|
|
22929
22948
|
i.includes(X.tag) && X.length !== 0 && (W[X.tag] = X);
|
|
22930
22949
|
}
|
|
22931
22950
|
return W;
|
|
22932
22951
|
}
|
|
22933
|
-
function s(
|
|
22934
|
-
const K =
|
|
22935
|
-
|
|
22936
|
-
const j =
|
|
22937
|
-
return
|
|
22952
|
+
function s(H) {
|
|
22953
|
+
const K = H.getString(4), W = H.getInt32() >>> 0, V = H.getInt32() >>> 0, X = H.getInt32() >>> 0, G = H.pos;
|
|
22954
|
+
H.pos = H.start || 0, H.skip(V);
|
|
22955
|
+
const j = H.getBytes(X);
|
|
22956
|
+
return H.pos = G, K === "head" && (j[8] = j[9] = j[10] = j[11] = 0, j[17] |= 32), {
|
|
22938
22957
|
tag: K,
|
|
22939
22958
|
checksum: W,
|
|
22940
22959
|
length: X,
|
|
@@ -22942,21 +22961,21 @@ class qN {
|
|
|
22942
22961
|
data: j
|
|
22943
22962
|
};
|
|
22944
22963
|
}
|
|
22945
|
-
function o(
|
|
22964
|
+
function o(H) {
|
|
22946
22965
|
return {
|
|
22947
|
-
version:
|
|
22948
|
-
numTables:
|
|
22949
|
-
searchRange:
|
|
22950
|
-
entrySelector:
|
|
22951
|
-
rangeShift:
|
|
22966
|
+
version: H.getString(4),
|
|
22967
|
+
numTables: H.getUint16(),
|
|
22968
|
+
searchRange: H.getUint16(),
|
|
22969
|
+
entrySelector: H.getUint16(),
|
|
22970
|
+
rangeShift: H.getUint16()
|
|
22952
22971
|
};
|
|
22953
22972
|
}
|
|
22954
|
-
function l(
|
|
22955
|
-
const K =
|
|
22973
|
+
function l(H) {
|
|
22974
|
+
const K = H.getString(4);
|
|
22956
22975
|
Lr(K === "ttcf", "Must be a TrueType Collection font.");
|
|
22957
|
-
const W =
|
|
22976
|
+
const W = H.getUint16(), V = H.getUint16(), X = H.getInt32() >>> 0, G = [];
|
|
22958
22977
|
for (let Y = 0; Y < X; Y++)
|
|
22959
|
-
G.push(
|
|
22978
|
+
G.push(H.getInt32() >>> 0);
|
|
22960
22979
|
const j = {
|
|
22961
22980
|
ttcTag: K,
|
|
22962
22981
|
majorVersion: W,
|
|
@@ -22968,19 +22987,19 @@ class qN {
|
|
|
22968
22987
|
case 1:
|
|
22969
22988
|
return j;
|
|
22970
22989
|
case 2:
|
|
22971
|
-
return j.dsigTag =
|
|
22990
|
+
return j.dsigTag = H.getInt32() >>> 0, j.dsigLength = H.getInt32() >>> 0, j.dsigOffset = H.getInt32() >>> 0, j;
|
|
22972
22991
|
}
|
|
22973
22992
|
throw new fe(`Invalid TrueType Collection majorVersion: ${W}.`);
|
|
22974
22993
|
}
|
|
22975
|
-
function c(
|
|
22994
|
+
function c(H, K) {
|
|
22976
22995
|
const {
|
|
22977
22996
|
numFonts: W,
|
|
22978
22997
|
offsetTable: V
|
|
22979
|
-
} = l(
|
|
22998
|
+
} = l(H), X = K.split("+");
|
|
22980
22999
|
let G;
|
|
22981
23000
|
for (let j = 0; j < W; j++) {
|
|
22982
|
-
|
|
22983
|
-
const Y = o(
|
|
23001
|
+
H.pos = (H.start || 0) + V[j];
|
|
23002
|
+
const Y = o(H), J = a(H, Y.numTables);
|
|
22984
23003
|
if (!J.name)
|
|
22985
23004
|
throw new fe('TrueType Collection font must contain a "name" table.');
|
|
22986
23005
|
const [ne] = m(J.name);
|
|
@@ -23010,15 +23029,15 @@ class qN {
|
|
|
23010
23029
|
};
|
|
23011
23030
|
throw new fe(`TrueType Collection does not contain "${K}" font.`);
|
|
23012
23031
|
}
|
|
23013
|
-
function h(
|
|
23014
|
-
if (!
|
|
23032
|
+
function h(H, K, W, V) {
|
|
23033
|
+
if (!H)
|
|
23015
23034
|
return Q("No cmap table available."), {
|
|
23016
23035
|
platformId: -1,
|
|
23017
23036
|
encodingId: -1,
|
|
23018
23037
|
mappings: [],
|
|
23019
23038
|
hasShortCmap: !1
|
|
23020
23039
|
};
|
|
23021
|
-
let X, G = (K.start || 0) +
|
|
23040
|
+
let X, G = (K.start || 0) + H.offset;
|
|
23022
23041
|
K.pos = G, K.skip(2);
|
|
23023
23042
|
const j = K.getUint16();
|
|
23024
23043
|
let Y, J = !1;
|
|
@@ -23182,15 +23201,15 @@ class qN {
|
|
|
23182
23201
|
hasShortCmap: de
|
|
23183
23202
|
};
|
|
23184
23203
|
}
|
|
23185
|
-
function u(
|
|
23204
|
+
function u(H, K, W, V, X, G) {
|
|
23186
23205
|
if (!K) {
|
|
23187
23206
|
W && (W.data = null);
|
|
23188
23207
|
return;
|
|
23189
23208
|
}
|
|
23190
|
-
|
|
23191
|
-
const j =
|
|
23192
|
-
|
|
23193
|
-
let Y =
|
|
23209
|
+
H.pos = (H.start || 0) + K.offset, H.pos += 4, H.pos += 2, H.pos += 2, H.pos += 2, H.pos += 2, H.pos += 2, H.pos += 2, H.pos += 2, H.pos += 2, H.pos += 2;
|
|
23210
|
+
const j = H.getUint16();
|
|
23211
|
+
H.pos += 8, H.pos += 2;
|
|
23212
|
+
let Y = H.getUint16();
|
|
23194
23213
|
j !== 0 && (_p(V.data[44], V.data[45]) & 2 || (K.data[22] = 0, K.data[23] = 0)), Y > X && (qt(`The numOfMetrics (${Y}) should not be greater than the numGlyphs (${X}).`), Y = X, K.data[34] = (Y & 65280) >> 8, K.data[35] = Y & 255);
|
|
23195
23214
|
const ne = X - Y - (W.length - Y * 4 >> 1);
|
|
23196
23215
|
if (ne > 0) {
|
|
@@ -23198,14 +23217,14 @@ class qN {
|
|
|
23198
23217
|
de.set(W.data), G && (de[W.length] = W.data[2], de[W.length + 1] = W.data[3]), W.data = de;
|
|
23199
23218
|
}
|
|
23200
23219
|
}
|
|
23201
|
-
function f(
|
|
23220
|
+
function f(H, K, W, V, X, G) {
|
|
23202
23221
|
const j = {
|
|
23203
23222
|
length: 0,
|
|
23204
23223
|
sizeOfInstructions: 0
|
|
23205
23224
|
};
|
|
23206
|
-
if (K < 0 || K >=
|
|
23225
|
+
if (K < 0 || K >= H.length || W > H.length || W - K <= 12)
|
|
23207
23226
|
return j;
|
|
23208
|
-
const Y =
|
|
23227
|
+
const Y = H.subarray(K, W), J = Rs(Y[2], Y[3]), ne = Rs(Y[4], Y[5]), de = Rs(Y[6], Y[7]), Ae = Rs(Y[8], Y[9]);
|
|
23209
23228
|
J > de && (L1(Y, 2, de), L1(Y, 6, J)), ne > Ae && (L1(Y, 4, Ae), L1(Y, 8, ne));
|
|
23210
23229
|
const le = Rs(Y[0], Y[1]);
|
|
23211
23230
|
if (le < 0)
|
|
@@ -23235,8 +23254,8 @@ class qN {
|
|
|
23235
23254
|
let ge = se + Pe;
|
|
23236
23255
|
return ge > Y.length ? j : !G && De > 0 ? (V.set(Y.subarray(0, Te), X), V.set([0, 0], X + Te), V.set(Y.subarray(ze, ge), X + Te + 2), ge -= De, Y.length - ge > 3 && (ge = ge + 3 & -4), j.length = ge, j) : Y.length - ge > 3 ? (ge = ge + 3 & -4, V.set(Y.subarray(0, ge), X), j.length = ge, j) : (V.set(Y, X), j.length = Y.length, j);
|
|
23237
23256
|
}
|
|
23238
|
-
function d(
|
|
23239
|
-
const V =
|
|
23257
|
+
function d(H, K, W) {
|
|
23258
|
+
const V = H.data, X = Age(V[0], V[1], V[2], V[3]);
|
|
23240
23259
|
X >> 16 !== 1 && (qt("Attempting to fix invalid version in head table: " + X), V[0] = 0, V[1] = 1, V[2] = 0, V[3] = 0);
|
|
23241
23260
|
const G = _p(V[50], V[51]);
|
|
23242
23261
|
if (G < 0 || G > 1) {
|
|
@@ -23250,7 +23269,7 @@ class qN {
|
|
|
23250
23269
|
throw new fe("Could not fix indexToLocFormat: " + G);
|
|
23251
23270
|
}
|
|
23252
23271
|
}
|
|
23253
|
-
function p(
|
|
23272
|
+
function p(H, K, W, V, X, G, j) {
|
|
23254
23273
|
let Y, J, ne;
|
|
23255
23274
|
V ? (Y = 4, J = function(tt, _t) {
|
|
23256
23275
|
return tt[_t] << 24 | tt[_t + 1] << 16 | tt[_t + 2] << 8 | tt[_t + 3];
|
|
@@ -23262,7 +23281,7 @@ class qN {
|
|
|
23262
23281
|
tt[_t] = Ft >> 9 & 255, tt[_t + 1] = Ft >> 1 & 255;
|
|
23263
23282
|
});
|
|
23264
23283
|
const de = G ? W + 1 : W, Ae = Y * (1 + de), le = new Uint8Array(Ae);
|
|
23265
|
-
le.set(
|
|
23284
|
+
le.set(H.data.subarray(0, Ae)), H.data = le;
|
|
23266
23285
|
const re = K.data, se = re.length, Se = new Uint8Array(se);
|
|
23267
23286
|
let Te, De;
|
|
23268
23287
|
const ze = [];
|
|
@@ -23304,7 +23323,7 @@ class qN {
|
|
|
23304
23323
|
K.data = qe;
|
|
23305
23324
|
} else if (G) {
|
|
23306
23325
|
const qe = J(le, Y);
|
|
23307
|
-
Se.length > qe + Ve ? K.data = Se.subarray(0, qe + Ve) : (K.data = new Uint8Array(qe + Ve), K.data.set(Se.subarray(0, Ve))), K.data.set(Se.subarray(0, qe), Ve), ne(
|
|
23326
|
+
Se.length > qe + Ve ? K.data = Se.subarray(0, qe + Ve) : (K.data = new Uint8Array(qe + Ve), K.data.set(Se.subarray(0, Ve))), K.data.set(Se.subarray(0, qe), Ve), ne(H.data, le.length - Y, Ve + qe);
|
|
23308
23327
|
} else
|
|
23309
23328
|
K.data = Se.subarray(0, Ve);
|
|
23310
23329
|
return {
|
|
@@ -23312,10 +23331,10 @@ class qN {
|
|
|
23312
23331
|
maxSizeOfInstructions: j
|
|
23313
23332
|
};
|
|
23314
23333
|
}
|
|
23315
|
-
function g(
|
|
23316
|
-
const V = (r.start || 0) +
|
|
23334
|
+
function g(H, K, W) {
|
|
23335
|
+
const V = (r.start || 0) + H.offset;
|
|
23317
23336
|
r.pos = V;
|
|
23318
|
-
const X =
|
|
23337
|
+
const X = H.length, G = V + X, j = r.getInt32();
|
|
23319
23338
|
r.skip(28);
|
|
23320
23339
|
let Y, J = !0, ne;
|
|
23321
23340
|
switch (j) {
|
|
@@ -23363,10 +23382,10 @@ class qN {
|
|
|
23363
23382
|
}
|
|
23364
23383
|
return K.glyphNames = Y, J;
|
|
23365
23384
|
}
|
|
23366
|
-
function m(
|
|
23367
|
-
const K = (r.start || 0) +
|
|
23385
|
+
function m(H) {
|
|
23386
|
+
const K = (r.start || 0) + H.offset;
|
|
23368
23387
|
r.pos = K;
|
|
23369
|
-
const W = [[], []], V = [], X =
|
|
23388
|
+
const W = [[], []], V = [], X = H.length, G = K + X;
|
|
23370
23389
|
if (r.getUint16() !== 0 || X < 6)
|
|
23371
23390
|
return [W, V];
|
|
23372
23391
|
const J = r.getUint16(), ne = r.getUint16(), de = 12;
|
|
@@ -23402,8 +23421,8 @@ class qN {
|
|
|
23402
23421
|
return [W, V];
|
|
23403
23422
|
}
|
|
23404
23423
|
const v = [0, 0, 0, 0, 0, 0, 0, 0, -2, -2, -2, -2, 0, 0, -2, -5, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, -1, -1, 1, -1, -999, 0, 1, 0, -1, -2, 0, -1, -2, -1, -1, 0, -1, -1, 0, 0, -999, -999, -1, -1, -1, -1, -2, -999, -2, -2, -999, 0, -2, -2, 0, 0, -2, 0, -2, 0, 0, 0, -2, -1, -1, 1, 1, 0, 0, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, 0, -999, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, -999, -999, -999, -999, -999, -1, -1, -2, -2, 0, 0, 0, 0, -1, -1, -999, -2, -2, 0, 0, -1, -2, -2, 0, 0, 0, -1, -1, -1, -2];
|
|
23405
|
-
function y(
|
|
23406
|
-
let W =
|
|
23424
|
+
function y(H, K) {
|
|
23425
|
+
let W = H.data, V = 0, X, G, j, Y, J, ne = 0, de = 0;
|
|
23407
23426
|
const Ae = [], le = [], re = [];
|
|
23408
23427
|
let se = K.tooComplexToFollowFunctions, Se = !1, Te = 0, De = 0;
|
|
23409
23428
|
for (let Pe = W.length; V < Pe; ) {
|
|
@@ -23492,27 +23511,27 @@ class qN {
|
|
|
23492
23511
|
}
|
|
23493
23512
|
K.tooComplexToFollowFunctions = se;
|
|
23494
23513
|
const ze = [W];
|
|
23495
|
-
V > W.length && ze.push(new Uint8Array(V - W.length)), de > ne && (Q("TT: complementing a missing function tail"), ze.push(new Uint8Array([34, 45]))), b(
|
|
23514
|
+
V > W.length && ze.push(new Uint8Array(V - W.length)), de > ne && (Q("TT: complementing a missing function tail"), ze.push(new Uint8Array([34, 45]))), b(H, ze);
|
|
23496
23515
|
}
|
|
23497
|
-
function x(
|
|
23498
|
-
if (!
|
|
23499
|
-
if (
|
|
23500
|
-
Q("TT: more functions defined than expected"),
|
|
23516
|
+
function x(H, K) {
|
|
23517
|
+
if (!H.tooComplexToFollowFunctions) {
|
|
23518
|
+
if (H.functionsDefined.length > K) {
|
|
23519
|
+
Q("TT: more functions defined than expected"), H.hintsValid = !1;
|
|
23501
23520
|
return;
|
|
23502
23521
|
}
|
|
23503
|
-
for (let W = 0, V =
|
|
23522
|
+
for (let W = 0, V = H.functionsUsed.length; W < V; W++) {
|
|
23504
23523
|
if (W > K) {
|
|
23505
|
-
Q("TT: invalid function id: " + W),
|
|
23524
|
+
Q("TT: invalid function id: " + W), H.hintsValid = !1;
|
|
23506
23525
|
return;
|
|
23507
23526
|
}
|
|
23508
|
-
if (
|
|
23509
|
-
Q("TT: undefined function: " + W),
|
|
23527
|
+
if (H.functionsUsed[W] && !H.functionsDefined[W]) {
|
|
23528
|
+
Q("TT: undefined function: " + W), H.hintsValid = !1;
|
|
23510
23529
|
return;
|
|
23511
23530
|
}
|
|
23512
23531
|
}
|
|
23513
23532
|
}
|
|
23514
23533
|
}
|
|
23515
|
-
function b(
|
|
23534
|
+
function b(H, K) {
|
|
23516
23535
|
if (K.length > 1) {
|
|
23517
23536
|
let W = 0, V, X;
|
|
23518
23537
|
for (V = 0, X = K.length; V < X; V++)
|
|
@@ -23522,10 +23541,10 @@ class qN {
|
|
|
23522
23541
|
let j = 0;
|
|
23523
23542
|
for (V = 0, X = K.length; V < X; V++)
|
|
23524
23543
|
G.set(K[V], j), j += K[V].length;
|
|
23525
|
-
|
|
23544
|
+
H.data = G, H.length = W;
|
|
23526
23545
|
}
|
|
23527
23546
|
}
|
|
23528
|
-
function w(
|
|
23547
|
+
function w(H, K, W, V) {
|
|
23529
23548
|
const X = {
|
|
23530
23549
|
functionsDefined: [],
|
|
23531
23550
|
functionsUsed: [],
|
|
@@ -23533,7 +23552,7 @@ class qN {
|
|
|
23533
23552
|
tooComplexToFollowFunctions: !1,
|
|
23534
23553
|
hintsValid: !0
|
|
23535
23554
|
};
|
|
23536
|
-
if (
|
|
23555
|
+
if (H && y(H, X), K && y(K, X), H && x(X, V), W && W.length & 1) {
|
|
23537
23556
|
const G = new Uint8Array(W.length + 1);
|
|
23538
23557
|
G.set(W.data), W.data = G;
|
|
23539
23558
|
}
|
|
@@ -23542,8 +23561,8 @@ class qN {
|
|
|
23542
23561
|
r = new un(new Uint8Array(r.getBytes()));
|
|
23543
23562
|
let _, S;
|
|
23544
23563
|
if (Jq(r)) {
|
|
23545
|
-
const
|
|
23546
|
-
_ =
|
|
23564
|
+
const H = c(r, this.name);
|
|
23565
|
+
_ = H.header, S = H.tables;
|
|
23547
23566
|
} else
|
|
23548
23567
|
_ = o(r), S = a(r, _.numTables);
|
|
23549
23568
|
const C = !S["CFF "];
|
|
@@ -23585,26 +23604,26 @@ class qN {
|
|
|
23585
23604
|
}
|
|
23586
23605
|
let E = _p(S.head.data[50], S.head.data[51]);
|
|
23587
23606
|
if (S.loca) {
|
|
23588
|
-
const
|
|
23589
|
-
if (S.loca.length !==
|
|
23607
|
+
const H = E ? (k + 1) * 4 : (k + 1) * 2;
|
|
23608
|
+
if (S.loca.length !== H) {
|
|
23590
23609
|
Q("Incorrect 'loca' table length -- attempting to fix it.");
|
|
23591
23610
|
const K = Object.values(S).filter(Boolean).sort((X, G) => X.offset - G.offset), W = K.indexOf(S.loca), V = K[W + 1] || null;
|
|
23592
|
-
if (V && S.loca.offset +
|
|
23611
|
+
if (V && S.loca.offset + H < V.offset) {
|
|
23593
23612
|
const X = r.pos;
|
|
23594
|
-
r.pos = r.start || 0, r.skip(S.loca.offset), S.loca.data = r.getBytes(
|
|
23613
|
+
r.pos = r.start || 0, r.skip(S.loca.offset), S.loca.data = r.getBytes(H), S.loca.length = H, r.pos = X;
|
|
23595
23614
|
}
|
|
23596
23615
|
}
|
|
23597
23616
|
}
|
|
23598
23617
|
if (n.scaleFactors?.length === k && C) {
|
|
23599
23618
|
const {
|
|
23600
|
-
scaleFactors:
|
|
23619
|
+
scaleFactors: H
|
|
23601
23620
|
} = n, K = new cge({
|
|
23602
23621
|
glyfTable: S.glyf.data,
|
|
23603
23622
|
isGlyphLocationsLong: E,
|
|
23604
23623
|
locaTable: S.loca.data,
|
|
23605
23624
|
numGlyphs: k
|
|
23606
23625
|
});
|
|
23607
|
-
K.scale(
|
|
23626
|
+
K.scale(H);
|
|
23608
23627
|
const {
|
|
23609
23628
|
glyf: W,
|
|
23610
23629
|
loca: V,
|
|
@@ -23613,9 +23632,9 @@ class qN {
|
|
|
23613
23632
|
S.glyf.data = W, S.loca.data = V, X !== !!E && (S.head.data[50] = 0, E = S.head.data[51] = X ? 1 : 0);
|
|
23614
23633
|
const G = S.hmtx.data;
|
|
23615
23634
|
for (let j = 0; j < k; j++) {
|
|
23616
|
-
const Y = 4 * j, J = Math.round(
|
|
23635
|
+
const Y = 4 * j, J = Math.round(H[j] * _p(G[Y], G[Y + 1]));
|
|
23617
23636
|
G[Y] = J >> 8 & 255, G[Y + 1] = J & 255;
|
|
23618
|
-
const ne = Math.round(
|
|
23637
|
+
const ne = Math.round(H[j] * Rs(G[Y + 2], G[Y + 3]));
|
|
23619
23638
|
L1(G, Y + 2, ne);
|
|
23620
23639
|
}
|
|
23621
23640
|
}
|
|
@@ -23629,8 +23648,8 @@ class qN {
|
|
|
23629
23648
|
d(S.head, k, C ? S.loca.length : 0);
|
|
23630
23649
|
let M = /* @__PURE__ */ Object.create(null);
|
|
23631
23650
|
if (C) {
|
|
23632
|
-
const
|
|
23633
|
-
M =
|
|
23651
|
+
const H = p(S.loca, S.glyf, k, E, R, L, D);
|
|
23652
|
+
M = H.missingGlyphs, T >= 65536 && S.maxp.length >= 32 && (S.maxp.data[26] = H.maxSizeOfInstructions >> 8, S.maxp.data[27] = H.maxSizeOfInstructions & 255);
|
|
23634
23653
|
}
|
|
23635
23654
|
if (!S.hhea)
|
|
23636
23655
|
throw new fe('Required "hhea" table is not found');
|
|
@@ -23648,19 +23667,19 @@ class qN {
|
|
|
23648
23667
|
data: WN(n)
|
|
23649
23668
|
};
|
|
23650
23669
|
const B = /* @__PURE__ */ Object.create(null);
|
|
23651
|
-
function N(
|
|
23652
|
-
return !M[
|
|
23670
|
+
function N(H) {
|
|
23671
|
+
return !M[H];
|
|
23653
23672
|
}
|
|
23654
23673
|
if (n.composite) {
|
|
23655
|
-
const
|
|
23674
|
+
const H = n.cidToGidMap || [], K = H.length === 0;
|
|
23656
23675
|
n.cMap.forEach(function(W, V) {
|
|
23657
23676
|
if (typeof V == "string" && (V = m8(W, V, !0)), V > 65535)
|
|
23658
23677
|
throw new fe("Max size of CID is 65,535");
|
|
23659
23678
|
let X = -1;
|
|
23660
|
-
K ? X = V :
|
|
23679
|
+
K ? X = V : H[V] !== void 0 && (X = H[V]), X >= 0 && X < k && N(X) && (B[W] = X);
|
|
23661
23680
|
});
|
|
23662
23681
|
} else {
|
|
23663
|
-
const
|
|
23682
|
+
const H = h(S.cmap, r, this.isSymbolicFont, n.hasEncoding), K = H.platformId, W = H.encodingId, V = H.mappings;
|
|
23664
23683
|
let X = [], G = !1;
|
|
23665
23684
|
if (n.hasEncoding && (n.baseEncodingName === "MacRomanEncoding" || n.baseEncodingName === "WinAnsiEncoding") && (X = ex(n.baseEncodingName)), n.hasEncoding && !this.isSymbolicFont && (K === 3 && W === 1 || K === 1 && W === 0)) {
|
|
23666
23685
|
const j = cc();
|
|
@@ -23708,15 +23727,15 @@ class qN {
|
|
|
23708
23727
|
}
|
|
23709
23728
|
}
|
|
23710
23729
|
B.length === 0 && (B[0] = 0);
|
|
23711
|
-
let
|
|
23712
|
-
if (L || (
|
|
23713
|
-
const
|
|
23714
|
-
this.toFontChar =
|
|
23730
|
+
let U = I - 1;
|
|
23731
|
+
if (L || (U = 0), !n.cssFontInfo) {
|
|
23732
|
+
const H = HN(B, N, U, this.toUnicode);
|
|
23733
|
+
this.toFontChar = H.toFontChar, S.cmap = {
|
|
23715
23734
|
tag: "cmap",
|
|
23716
|
-
data: jN(
|
|
23735
|
+
data: jN(H.charCodeToGlyphId, H.toUnicodeExtraMap, I)
|
|
23717
23736
|
}, (!S["OS/2"] || !Pge(S["OS/2"], r)) && (S["OS/2"] = {
|
|
23718
23737
|
tag: "OS/2",
|
|
23719
|
-
data: GN(n,
|
|
23738
|
+
data: GN(n, H.charCodeToGlyphId, O)
|
|
23720
23739
|
});
|
|
23721
23740
|
}
|
|
23722
23741
|
if (!S.name)
|
|
@@ -23725,12 +23744,12 @@ class qN {
|
|
|
23725
23744
|
data: v8(this.name)
|
|
23726
23745
|
};
|
|
23727
23746
|
else {
|
|
23728
|
-
const [
|
|
23729
|
-
S.name.data = v8(e,
|
|
23747
|
+
const [H, K] = m(S.name);
|
|
23748
|
+
S.name.data = v8(e, H), this.psName = H[0][6] || null, n.composite || wge(n, this.isSymbolicFont, K);
|
|
23730
23749
|
}
|
|
23731
23750
|
const q = new ax(_.version);
|
|
23732
|
-
for (const
|
|
23733
|
-
q.addTable(
|
|
23751
|
+
for (const H in S)
|
|
23752
|
+
q.addTable(H, S[H].data);
|
|
23734
23753
|
return q.toArray();
|
|
23735
23754
|
}
|
|
23736
23755
|
convert(e, r, n) {
|
|
@@ -24408,8 +24427,8 @@ class $ge extends my {
|
|
|
24408
24427
|
let f = !1, d = !1;
|
|
24409
24428
|
const p = e.getArray("Extend");
|
|
24410
24429
|
if (jde(p, 2) && ([f, d] = p), this.shadingType === ja.RADIAL && (!f || !d)) {
|
|
24411
|
-
const [
|
|
24412
|
-
|
|
24430
|
+
const [U, q, H, K, W, V] = this.coordsArr, X = Math.hypot(U - K, q - W);
|
|
24431
|
+
H <= V + X && V <= H + X && Q("Unsupported radial gradient.");
|
|
24413
24432
|
}
|
|
24414
24433
|
this.extendStart = f, this.extendEnd = d;
|
|
24415
24434
|
const g = e.getRaw("Function"), m = i.create(g, !0), v = 840, y = (h - c) / v, x = this.colorStops = [];
|
|
@@ -24427,14 +24446,14 @@ class $ge extends my {
|
|
|
24427
24446
|
let k = 1;
|
|
24428
24447
|
w[0] = c + y, m(w, 0, b, 0), l.getRgb(b, 0, S);
|
|
24429
24448
|
let [E, I, L] = S, P = E - C + 1, D = I - A + 1, R = L - T + 1, M = E - C - 1, O = I - A - 1, B = L - T - 1;
|
|
24430
|
-
for (let
|
|
24431
|
-
w[0] = c +
|
|
24432
|
-
const [q,
|
|
24433
|
-
if (P = Math.min(P, (q - C + 1) / W), D = Math.min(D, (
|
|
24449
|
+
for (let U = 2; U < v; U++) {
|
|
24450
|
+
w[0] = c + U * y, m(w, 0, b, 0), l.getRgb(b, 0, S);
|
|
24451
|
+
const [q, H, K] = S, W = U - _;
|
|
24452
|
+
if (P = Math.min(P, (q - C + 1) / W), D = Math.min(D, (H - A + 1) / W), R = Math.min(R, (K - T + 1) / W), M = Math.max(M, (q - C - 1) / W), O = Math.max(O, (H - A - 1) / W), B = Math.max(B, (K - T - 1) / W), !(M <= P && O <= D && B <= R)) {
|
|
24434
24453
|
const X = xr.makeHexColor(E, I, L);
|
|
24435
|
-
x.push([k / v, X]), P = q - E + 1, D =
|
|
24454
|
+
x.push([k / v, X]), P = q - E + 1, D = H - I + 1, R = K - L + 1, M = q - E - 1, O = H - I - 1, B = K - L - 1, _ = k, C = E, A = I, T = L;
|
|
24436
24455
|
}
|
|
24437
|
-
k =
|
|
24456
|
+
k = U, E = q, I = H, L = K;
|
|
24438
24457
|
}
|
|
24439
24458
|
x.push([1, xr.makeHexColor(E, I, L)]);
|
|
24440
24459
|
let N = "transparent";
|
|
@@ -27687,10 +27706,10 @@ class lm {
|
|
|
27687
27706
|
h.ensureStateFont(x.state);
|
|
27688
27707
|
continue;
|
|
27689
27708
|
}
|
|
27690
|
-
const
|
|
27709
|
+
const U = [], q = x.state;
|
|
27691
27710
|
for (const W of M[0])
|
|
27692
|
-
typeof W == "string" ?
|
|
27693
|
-
M[0] =
|
|
27711
|
+
typeof W == "string" ? U.push(...h.handleText(W, q)) : typeof W == "number" && U.push(W);
|
|
27712
|
+
M[0] = U, O = Z.showText;
|
|
27694
27713
|
break;
|
|
27695
27714
|
case Z.nextLineShowText:
|
|
27696
27715
|
if (!x.state.font) {
|
|
@@ -27786,12 +27805,12 @@ class lm {
|
|
|
27786
27805
|
M = [P.getRgbHex(M, 0)], O = Z.setStrokeRGBColor;
|
|
27787
27806
|
break;
|
|
27788
27807
|
case Z.shadingFill:
|
|
27789
|
-
let
|
|
27808
|
+
let H;
|
|
27790
27809
|
try {
|
|
27791
27810
|
const W = n.get("Shading");
|
|
27792
27811
|
if (!W)
|
|
27793
27812
|
throw new fe("No shading resource found");
|
|
27794
|
-
if (
|
|
27813
|
+
if (H = W.get(M[0].name), !H)
|
|
27795
27814
|
throw new fe("No shading object found");
|
|
27796
27815
|
} catch (W) {
|
|
27797
27816
|
if (W instanceof ea)
|
|
@@ -27803,7 +27822,7 @@ class lm {
|
|
|
27803
27822
|
throw W;
|
|
27804
27823
|
}
|
|
27805
27824
|
const K = h.parseShading({
|
|
27806
|
-
shading:
|
|
27825
|
+
shading: H,
|
|
27807
27826
|
resources: n,
|
|
27808
27827
|
localColorSpaceCache: d,
|
|
27809
27828
|
localShadingPatternCache: m
|
|
@@ -28021,7 +28040,7 @@ class lm {
|
|
|
28021
28040
|
let R = null;
|
|
28022
28041
|
const M = new QN(), O = new eO(), B = new Zu(e, P, i);
|
|
28023
28042
|
let N;
|
|
28024
|
-
function
|
|
28043
|
+
function U({
|
|
28025
28044
|
width: le = 0,
|
|
28026
28045
|
height: re = 0,
|
|
28027
28046
|
transform: se = y.prevTransform,
|
|
@@ -28045,7 +28064,7 @@ class lm {
|
|
|
28045
28064
|
}
|
|
28046
28065
|
return xr.transform(N.ctm, xr.transform(N.textMatrix, re));
|
|
28047
28066
|
}
|
|
28048
|
-
function
|
|
28067
|
+
function H() {
|
|
28049
28068
|
if (y.initialized)
|
|
28050
28069
|
return y;
|
|
28051
28070
|
const {
|
|
@@ -28130,16 +28149,16 @@ class lm {
|
|
|
28130
28149
|
}
|
|
28131
28150
|
if (N.font.vertical) {
|
|
28132
28151
|
const qe = (De - Se) / y.textAdvanceScale, tt = se - Te, _t = Math.sign(y.height);
|
|
28133
|
-
return qe < _t * y.negativeSpaceMax ? Math.abs(tt) > 0.5 * y.width ? (Y(), !0) : (S(), ne(), !0) : Math.abs(tt) > y.width ? (Y(), !0) : (qe <= _t * y.notASpace && S(), qe <= _t * y.trackingSpaceMin ? _() ? (S(), ne(),
|
|
28152
|
+
return qe < _t * y.negativeSpaceMax ? Math.abs(tt) > 0.5 * y.width ? (Y(), !0) : (S(), ne(), !0) : Math.abs(tt) > y.width ? (Y(), !0) : (qe <= _t * y.notASpace && S(), qe <= _t * y.trackingSpaceMin ? _() ? (S(), ne(), U({
|
|
28134
28153
|
height: Math.abs(qe)
|
|
28135
|
-
})) : y.height += qe : J(qe, y.prevTransform, _t) || (y.str.length === 0 ? (S(),
|
|
28154
|
+
})) : y.height += qe : J(qe, y.prevTransform, _t) || (y.str.length === 0 ? (S(), U({
|
|
28136
28155
|
height: Math.abs(qe)
|
|
28137
28156
|
})) : y.height += qe), Math.abs(tt) > y.width * I && ne(), !0);
|
|
28138
28157
|
}
|
|
28139
28158
|
const Pe = (se - Te) / y.textAdvanceScale, ge = Se - De, Ve = Math.sign(y.width);
|
|
28140
|
-
return Pe < Ve * y.negativeSpaceMax ? Math.abs(ge) > 0.5 * y.height ? (Y(), !0) : (S(), ne(), !0) : Math.abs(ge) > y.height ? (Y(), !0) : (Pe <= Ve * y.notASpace && S(), Pe <= Ve * y.trackingSpaceMin ? _() ? (S(), ne(),
|
|
28159
|
+
return Pe < Ve * y.negativeSpaceMax ? Math.abs(ge) > 0.5 * y.height ? (Y(), !0) : (S(), ne(), !0) : Math.abs(ge) > y.height ? (Y(), !0) : (Pe <= Ve * y.notASpace && S(), Pe <= Ve * y.trackingSpaceMin ? _() ? (S(), ne(), U({
|
|
28141
28160
|
width: Math.abs(Pe)
|
|
28142
|
-
})) : y.width += Pe : J(Pe, y.prevTransform, Ve) || (y.str.length === 0 ? (S(),
|
|
28161
|
+
})) : y.width += Pe : J(Pe, y.prevTransform, Ve) || (y.str.length === 0 ? (S(), U({
|
|
28143
28162
|
width: Math.abs(Pe)
|
|
28144
28163
|
})) : y.width += Pe), Math.abs(ge) > y.height * I && ne(), !0);
|
|
28145
28164
|
}
|
|
@@ -28172,7 +28191,7 @@ class lm {
|
|
|
28172
28191
|
se.vertical ? N.translateTextMatrix(0, _t) : N.translateTextMatrix(_t * N.textHScale, 0);
|
|
28173
28192
|
continue;
|
|
28174
28193
|
}
|
|
28175
|
-
const Ft =
|
|
28194
|
+
const Ft = H();
|
|
28176
28195
|
ge.isZeroWidthDiacritic && (_t = 0), se.vertical ? (p?.addGlyph(q(), 0, _t, Pe.unicode), N.translateTextMatrix(0, _t), _t = Math.abs(_t), Ft.height += _t) : (_t *= N.textHScale, p?.addGlyph(q(), _t, 0, Pe.unicode), N.translateTextMatrix(_t, 0), Ft.width += _t), _t && (Ft.prevTransform = q());
|
|
28177
28196
|
const La = Pe.unicode;
|
|
28178
28197
|
w(La) && (Ft.str.push(" "), p?.addExtraChar(" ")), p || Ft.str.push(La), qe && (se.vertical ? N.translateTextMatrix(0, -qe) : N.translateTextMatrix(qe * N.textHScale, 0));
|
|
@@ -28195,7 +28214,7 @@ class lm {
|
|
|
28195
28214
|
return y.initialized && (S(), y.str.push(" "), p?.addExtraChar(" ")), !1;
|
|
28196
28215
|
const Se = y.fontName;
|
|
28197
28216
|
let Te = 0;
|
|
28198
|
-
return y.vertical && (Te = le, le = 0), ne(), S(),
|
|
28217
|
+
return y.vertical && (Te = le, le = 0), ne(), S(), U({
|
|
28199
28218
|
width: Math.abs(le),
|
|
28200
28219
|
height: Math.abs(Te),
|
|
28201
28220
|
transform: re || q(),
|
|
@@ -28931,21 +28950,21 @@ class lm {
|
|
|
28931
28950
|
capHeight: 0,
|
|
28932
28951
|
italicAngle: 0,
|
|
28933
28952
|
isType3Font: h
|
|
28934
|
-
},
|
|
28935
|
-
let
|
|
28936
|
-
q && (
|
|
28953
|
+
}, U = r.get("Widths"), q = DN(R);
|
|
28954
|
+
let H = null;
|
|
28955
|
+
q && (H = await this.fetchStandardFontData(q), N.isInternalFont = !!H), !N.isInternalFont && this.options.useSystemFonts && (N.systemFontInfo = lO(this.systemFontCache, this.idFactory, this.options.standardFontDataUrl, R, q, a));
|
|
28937
28956
|
const K = await this.extractDataStructures(r, N);
|
|
28938
|
-
if (Array.isArray(
|
|
28957
|
+
if (Array.isArray(U)) {
|
|
28939
28958
|
const W = [];
|
|
28940
28959
|
let V = s;
|
|
28941
|
-
for (const X of
|
|
28960
|
+
for (const X of U) {
|
|
28942
28961
|
const G = this.xref.fetchIfRef(X);
|
|
28943
28962
|
typeof G == "number" && (W[V] = G), V++;
|
|
28944
28963
|
}
|
|
28945
28964
|
K.widths = W;
|
|
28946
28965
|
} else
|
|
28947
28966
|
K.widths = this.buildCharCodeToWidth(M.widths, K);
|
|
28948
|
-
return new qN(R,
|
|
28967
|
+
return new qN(R, H, K, this.options);
|
|
28949
28968
|
}
|
|
28950
28969
|
let u = e.get("FontName"), f = r.get("BaseFont");
|
|
28951
28970
|
typeof u == "string" && (u = ve.get(u)), typeof f == "string" && (f = ve.get(f));
|
|
@@ -32168,7 +32187,7 @@ class hm {
|
|
|
32168
32187
|
await new hm(e, r, n).load();
|
|
32169
32188
|
}
|
|
32170
32189
|
}
|
|
32171
|
-
const Y3 = /* @__PURE__ */ Symbol(), r0 = /* @__PURE__ */ Symbol(), bn = /* @__PURE__ */ Symbol(), cf = /* @__PURE__ */ Symbol(), Fo = /* @__PURE__ */ Symbol(), yg = /* @__PURE__ */ Symbol(), S_ = /* @__PURE__ */ Symbol(), nl = /* @__PURE__ */ Symbol(), lc = /* @__PURE__ */ Symbol(), me = /* @__PURE__ */ Symbol("content"), Io = /* @__PURE__ */ Symbol("data"), um = /* @__PURE__ */ Symbol(), ce = /* @__PURE__ */ Symbol("extra"),
|
|
32190
|
+
const Y3 = /* @__PURE__ */ Symbol(), r0 = /* @__PURE__ */ Symbol(), bn = /* @__PURE__ */ Symbol(), cf = /* @__PURE__ */ Symbol(), Fo = /* @__PURE__ */ Symbol(), yg = /* @__PURE__ */ Symbol(), S_ = /* @__PURE__ */ Symbol(), nl = /* @__PURE__ */ Symbol(), lc = /* @__PURE__ */ Symbol(), me = /* @__PURE__ */ Symbol("content"), Io = /* @__PURE__ */ Symbol("data"), um = /* @__PURE__ */ Symbol(), ce = /* @__PURE__ */ Symbol("extra"), Or = /* @__PURE__ */ Symbol(), ub = /* @__PURE__ */ Symbol(), wT = /* @__PURE__ */ Symbol(), hX = /* @__PURE__ */ Symbol(), n0 = /* @__PURE__ */ Symbol(), K3 = /* @__PURE__ */ Symbol(), lx = /* @__PURE__ */ Symbol(), xy = /* @__PURE__ */ Symbol(), RI = /* @__PURE__ */ Symbol(), oa = /* @__PURE__ */ Symbol(), by = /* @__PURE__ */ Symbol(), Fi = /* @__PURE__ */ Symbol(), fm = /* @__PURE__ */ Symbol(), mh = /* @__PURE__ */ Symbol(), Ln = /* @__PURE__ */ Symbol(), At = /* @__PURE__ */ Symbol(), Dn = /* @__PURE__ */ Symbol(), Rr = /* @__PURE__ */ Symbol(), cx = /* @__PURE__ */ Symbol(), ig = /* @__PURE__ */ Symbol(), _T = /* @__PURE__ */ Symbol(), C_ = /* @__PURE__ */ Symbol(), NI = /* @__PURE__ */ Symbol(), j0 = /* @__PURE__ */ Symbol(), xg = /* @__PURE__ */ Symbol(), Iu = /* @__PURE__ */ Symbol(), wy = /* @__PURE__ */ Symbol(), Dh = /* @__PURE__ */ Symbol(), Vh = /* @__PURE__ */ Symbol(), hx = /* @__PURE__ */ Symbol(), ux = /* @__PURE__ */ Symbol(), o1e = /* @__PURE__ */ Symbol(), Mn = /* @__PURE__ */ Symbol("namespaceId"), pr = /* @__PURE__ */ Symbol("nodeName"), Od = /* @__PURE__ */ Symbol(), wc = /* @__PURE__ */ Symbol(), ST = /* @__PURE__ */ Symbol(), Mh = /* @__PURE__ */ Symbol(), Dc = /* @__PURE__ */ Symbol(), Es = /* @__PURE__ */ Symbol(), Hm = /* @__PURE__ */ Symbol(), $u = /* @__PURE__ */ Symbol(), uX = /* @__PURE__ */ Symbol("root"), $v = /* @__PURE__ */ Symbol(), wh = /* @__PURE__ */ Symbol(), CT = /* @__PURE__ */ Symbol(), fX = /* @__PURE__ */ Symbol(), Ls = /* @__PURE__ */ Symbol(), tl = /* @__PURE__ */ Symbol(), si = /* @__PURE__ */ Symbol(), dX = /* @__PURE__ */ Symbol(), ft = /* @__PURE__ */ Symbol(), _y = /* @__PURE__ */ Symbol(), fr = /* @__PURE__ */ Symbol(), kr = /* @__PURE__ */ Symbol("uid"), Sl = /* @__PURE__ */ Symbol(), On = {
|
|
32172
32191
|
config: {
|
|
32173
32192
|
id: 0,
|
|
32174
32193
|
check: (t) => t.startsWith("http://www.xfa.org/schema/xci/")
|
|
@@ -32434,7 +32453,7 @@ function OI(t, e) {
|
|
|
32434
32453
|
function d1e(t, e = !1) {
|
|
32435
32454
|
let r = null;
|
|
32436
32455
|
if (t) {
|
|
32437
|
-
const s = Z3(t.typeface), o = t[
|
|
32456
|
+
const s = Z3(t.typeface), o = t[Rr].fontFinder.find(s);
|
|
32438
32457
|
r = OI(t, o);
|
|
32439
32458
|
}
|
|
32440
32459
|
if (!r)
|
|
@@ -32739,7 +32758,7 @@ let AT = 0;
|
|
|
32739
32758
|
const mX = On.datasets.id;
|
|
32740
32759
|
class he {
|
|
32741
32760
|
constructor(e, r, n = !1) {
|
|
32742
|
-
this[Mn] = e, this[pr] = r, this[T8] = n, this[_o] = null, this[Gt] = [], this[kr] = `${r}${AT++}`, this[
|
|
32761
|
+
this[Mn] = e, this[pr] = r, this[T8] = n, this[_o] = null, this[Gt] = [], this[kr] = `${r}${AT++}`, this[Rr] = null;
|
|
32743
32762
|
}
|
|
32744
32763
|
get isXFAObject() {
|
|
32745
32764
|
return !0;
|
|
@@ -32798,7 +32817,7 @@ class he {
|
|
|
32798
32817
|
this.id && this[Mn] === On.template.id && e.set(this.id, this);
|
|
32799
32818
|
}
|
|
32800
32819
|
[Dn]() {
|
|
32801
|
-
return this[
|
|
32820
|
+
return this[Rr].template;
|
|
32802
32821
|
}
|
|
32803
32822
|
[Dh]() {
|
|
32804
32823
|
return !1;
|
|
@@ -32807,7 +32826,7 @@ class he {
|
|
|
32807
32826
|
return !1;
|
|
32808
32827
|
}
|
|
32809
32828
|
[bn](e) {
|
|
32810
|
-
e[_o] = this, this[Gt].push(e), !e[
|
|
32829
|
+
e[_o] = this, this[Gt].push(e), !e[Rr] && this[Rr] && (e[Rr] = this[Rr]);
|
|
32811
32830
|
}
|
|
32812
32831
|
[$u](e) {
|
|
32813
32832
|
const r = this[Gt].indexOf(e);
|
|
@@ -32820,7 +32839,7 @@ class he {
|
|
|
32820
32839
|
}
|
|
32821
32840
|
[Mh](e) {
|
|
32822
32841
|
}
|
|
32823
|
-
[
|
|
32842
|
+
[Or]() {
|
|
32824
32843
|
}
|
|
32825
32844
|
[Fo](e) {
|
|
32826
32845
|
delete this[T8], this[S_] && (e.clean(this[S_]), delete this[S_]);
|
|
@@ -32829,7 +32848,7 @@ class he {
|
|
|
32829
32848
|
return this[Gt].indexOf(e);
|
|
32830
32849
|
}
|
|
32831
32850
|
[C_](e, r) {
|
|
32832
|
-
r[_o] = this, this[Gt].splice(e, 0, r), !r[
|
|
32851
|
+
r[_o] = this, this[Gt].splice(e, 0, r), !r[Rr] && this[Rr] && (r[Rr] = this[Rr]);
|
|
32833
32852
|
}
|
|
32834
32853
|
[hx]() {
|
|
32835
32854
|
return !this.name;
|
|
@@ -33139,7 +33158,7 @@ class _c extends he {
|
|
|
33139
33158
|
[Mh](e) {
|
|
33140
33159
|
this[me] += e;
|
|
33141
33160
|
}
|
|
33142
|
-
[
|
|
33161
|
+
[Or]() {
|
|
33143
33162
|
if (this[me] && this[Gt].length > 0) {
|
|
33144
33163
|
const e = new _c(this[Mn], "#text");
|
|
33145
33164
|
this[bn](e), e[me] = this[me], delete this[me];
|
|
@@ -33204,14 +33223,14 @@ class Sn extends he {
|
|
|
33204
33223
|
[Mh](e) {
|
|
33205
33224
|
this[me] += e;
|
|
33206
33225
|
}
|
|
33207
|
-
[
|
|
33226
|
+
[Or]() {
|
|
33208
33227
|
}
|
|
33209
33228
|
}
|
|
33210
33229
|
class Er extends Sn {
|
|
33211
33230
|
constructor(e, r, n) {
|
|
33212
33231
|
super(e, r), this[I2] = n;
|
|
33213
33232
|
}
|
|
33214
|
-
[
|
|
33233
|
+
[Or]() {
|
|
33215
33234
|
this[me] = J3({
|
|
33216
33235
|
data: this[me],
|
|
33217
33236
|
defaultValue: this[I2][0],
|
|
@@ -33223,7 +33242,7 @@ class Er extends Sn {
|
|
|
33223
33242
|
}
|
|
33224
33243
|
}
|
|
33225
33244
|
class Qt extends Sn {
|
|
33226
|
-
[
|
|
33245
|
+
[Or]() {
|
|
33227
33246
|
this[me] = this[me].trim();
|
|
33228
33247
|
}
|
|
33229
33248
|
}
|
|
@@ -33231,7 +33250,7 @@ class Al extends Sn {
|
|
|
33231
33250
|
constructor(e, r, n, i) {
|
|
33232
33251
|
super(e, r), this[C8] = n, this[k8] = i;
|
|
33233
33252
|
}
|
|
33234
|
-
[
|
|
33253
|
+
[Or]() {
|
|
33235
33254
|
this[me] = wt({
|
|
33236
33255
|
data: this[me],
|
|
33237
33256
|
defaultValue: this[C8],
|
|
@@ -33370,7 +33389,7 @@ function FI(t, e) {
|
|
|
33370
33389
|
d = d[At]();
|
|
33371
33390
|
}
|
|
33372
33391
|
}
|
|
33373
|
-
const h = (t.w || e.width) - a, u = t[
|
|
33392
|
+
const h = (t.w || e.width) - a, u = t[Rr].fontFinder;
|
|
33374
33393
|
if (t.value.exData && t.value.exData[me] && t.value.exData.contentType === "text/html") {
|
|
33375
33394
|
const f = SO(t.value.exData[me], c, l, o, u, h);
|
|
33376
33395
|
n = f.width, r = f.height, i = f.isBroken;
|
|
@@ -34466,7 +34485,7 @@ class U1e extends Sn {
|
|
|
34466
34485
|
constructor(e) {
|
|
34467
34486
|
super(Ee, "date"), this.id = e.id || "", this.name = e.name || "", this.use = e.use || "", this.usehref = e.usehref || "";
|
|
34468
34487
|
}
|
|
34469
|
-
[
|
|
34488
|
+
[Or]() {
|
|
34470
34489
|
const e = this[me].trim();
|
|
34471
34490
|
this[me] = e ? new Date(e) : null;
|
|
34472
34491
|
}
|
|
@@ -34478,7 +34497,7 @@ class H1e extends Sn {
|
|
|
34478
34497
|
constructor(e) {
|
|
34479
34498
|
super(Ee, "dateTime"), this.id = e.id || "", this.name = e.name || "", this.use = e.use || "", this.usehref = e.usehref || "";
|
|
34480
34499
|
}
|
|
34481
|
-
[
|
|
34500
|
+
[Or]() {
|
|
34482
34501
|
const e = this[me].trim();
|
|
34483
34502
|
this[me] = e ? new Date(e) : null;
|
|
34484
34503
|
}
|
|
@@ -34524,7 +34543,7 @@ class G1e extends Sn {
|
|
|
34524
34543
|
validate: (r) => !0
|
|
34525
34544
|
}), this.name = e.name || "", this.use = e.use || "", this.usehref = e.usehref || "";
|
|
34526
34545
|
}
|
|
34527
|
-
[
|
|
34546
|
+
[Or]() {
|
|
34528
34547
|
const e = parseFloat(this[me].trim());
|
|
34529
34548
|
this[me] = isNaN(e) ? null : e;
|
|
34530
34549
|
}
|
|
@@ -34845,7 +34864,7 @@ class jI extends he {
|
|
|
34845
34864
|
}
|
|
34846
34865
|
[ft](e) {
|
|
34847
34866
|
if (t5(this), !this.ui) {
|
|
34848
|
-
this.ui = new qI({}), this.ui[
|
|
34867
|
+
this.ui = new qI({}), this.ui[Rr] = this[Rr], this[bn](this.ui);
|
|
34849
34868
|
let v;
|
|
34850
34869
|
switch (this.items.children.length) {
|
|
34851
34870
|
case 0:
|
|
@@ -35012,7 +35031,7 @@ class hve extends Sn {
|
|
|
35012
35031
|
constructor(e) {
|
|
35013
35032
|
super(Ee, "float"), this.id = e.id || "", this.name = e.name || "", this.use = e.use || "", this.usehref = e.usehref || "";
|
|
35014
35033
|
}
|
|
35015
|
-
[
|
|
35034
|
+
[Or]() {
|
|
35016
35035
|
const e = parseFloat(this[me].trim());
|
|
35017
35036
|
this[me] = isNaN(e) ? null : e;
|
|
35018
35037
|
}
|
|
@@ -35045,11 +35064,11 @@ class uve extends he {
|
|
|
35045
35064
|
}), this.underlinePeriod = ye(e.underlinePeriod, ["all", "word"]), this.use = e.use || "", this.usehref = e.usehref || "", this.weight = ye(e.weight, ["normal", "bold"]), this.extras = null, this.fill = null;
|
|
35046
35065
|
}
|
|
35047
35066
|
[Fo](e) {
|
|
35048
|
-
super[Fo](e), this[
|
|
35067
|
+
super[Fo](e), this[Rr].usedTypefaces.add(this.typeface);
|
|
35049
35068
|
}
|
|
35050
35069
|
[fr]() {
|
|
35051
35070
|
const e = us(this, "fill"), r = e.color;
|
|
35052
|
-
return r && (r === "#000000" ? delete e.color : r.startsWith("#") || (e.background = r, e.backgroundClip = "text", e.color = "transparent")), this.baselineShift && (e.verticalAlign = bt(this.baselineShift)), e.fontKerning = this.kerningMode === "none" ? "none" : "normal", e.letterSpacing = bt(this.letterSpacing), this.lineThrough !== 0 && (e.textDecoration = "line-through", this.lineThrough === 2 && (e.textDecorationStyle = "double")), this.overline !== 0 && (e.textDecoration = "overline", this.overline === 2 && (e.textDecorationStyle = "double")), e.fontStyle = this.posture, e.fontSize = bt(0.99 * this.size), CX(this, this, this[
|
|
35071
|
+
return r && (r === "#000000" ? delete e.color : r.startsWith("#") || (e.background = r, e.backgroundClip = "text", e.color = "transparent")), this.baselineShift && (e.verticalAlign = bt(this.baselineShift)), e.fontKerning = this.kerningMode === "none" ? "none" : "normal", e.letterSpacing = bt(this.letterSpacing), this.lineThrough !== 0 && (e.textDecoration = "line-through", this.lineThrough === 2 && (e.textDecorationStyle = "double")), this.overline !== 0 && (e.textDecoration = "overline", this.overline === 2 && (e.textDecorationStyle = "double")), e.fontStyle = this.posture, e.fontSize = bt(0.99 * this.size), CX(this, this, this[Rr].fontFinder, e), this.underline !== 0 && (e.textDecoration = "underline", this.underline === 2 && (e.textDecorationStyle = "double")), e.fontWeight = this.weight, e;
|
|
35053
35072
|
}
|
|
35054
35073
|
}
|
|
35055
35074
|
class fve extends he {
|
|
@@ -35098,7 +35117,7 @@ let $X = class extends Qt {
|
|
|
35098
35117
|
[ft]() {
|
|
35099
35118
|
if (this.contentType && !C1e.has(this.contentType.toLowerCase()))
|
|
35100
35119
|
return Je.EMPTY;
|
|
35101
|
-
let e = this[
|
|
35120
|
+
let e = this[Rr].images?.get(this.href);
|
|
35102
35121
|
if (!e && (this.href || !this[me]) || (!e && this.transferEncoding === "base64" && (e = Fde(this[me])), !e))
|
|
35103
35122
|
return Je.EMPTY;
|
|
35104
35123
|
if (!this.contentType) {
|
|
@@ -35166,7 +35185,7 @@ class mve extends Sn {
|
|
|
35166
35185
|
constructor(e) {
|
|
35167
35186
|
super(Ee, "integer"), this.id = e.id || "", this.name = e.name || "", this.use = e.use || "", this.usehref = e.usehref || "";
|
|
35168
35187
|
}
|
|
35169
|
-
[
|
|
35188
|
+
[Or]() {
|
|
35170
35189
|
const e = parseInt(this[me].trim(), 10);
|
|
35171
35190
|
this[me] = isNaN(e) ? null : e;
|
|
35172
35191
|
}
|
|
@@ -35265,7 +35284,7 @@ class _ve extends Sn {
|
|
|
35265
35284
|
constructor(e) {
|
|
35266
35285
|
super(Ee, "lockDocument"), this.id = e.id || "", this.type = ye(e.type, ["optional", "required"]), this.use = e.use || "", this.usehref = e.usehref || "";
|
|
35267
35286
|
}
|
|
35268
|
-
[
|
|
35287
|
+
[Or]() {
|
|
35269
35288
|
this[me] = ye(this[me], ["auto", "0", "1"]);
|
|
35270
35289
|
}
|
|
35271
35290
|
}
|
|
@@ -35708,7 +35727,7 @@ class UX extends he {
|
|
|
35708
35727
|
target: this.break.afterTarget,
|
|
35709
35728
|
startNew: this.break.startNew.toString()
|
|
35710
35729
|
});
|
|
35711
|
-
b[
|
|
35730
|
+
b[Rr] = this[Rr], this[bn](b), this.breakAfter.push(b);
|
|
35712
35731
|
}
|
|
35713
35732
|
if (this.break.before !== "auto" || this.break.beforeTarget !== "") {
|
|
35714
35733
|
const b = new PX({
|
|
@@ -35716,7 +35735,7 @@ class UX extends he {
|
|
|
35716
35735
|
target: this.break.beforeTarget,
|
|
35717
35736
|
startNew: this.break.startNew.toString()
|
|
35718
35737
|
});
|
|
35719
|
-
b[
|
|
35738
|
+
b[Rr] = this[Rr], this[bn](b), this.breakBefore.push(b);
|
|
35720
35739
|
}
|
|
35721
35740
|
if (this.break.overflowTarget !== "") {
|
|
35722
35741
|
const b = new zX({
|
|
@@ -35724,7 +35743,7 @@ class UX extends he {
|
|
|
35724
35743
|
leader: this.break.overflowLeader,
|
|
35725
35744
|
trailer: this.break.overflowTrailer
|
|
35726
35745
|
});
|
|
35727
|
-
b[
|
|
35746
|
+
b[Rr] = this[Rr], this[bn](b), this.overflow.push(b);
|
|
35728
35747
|
}
|
|
35729
35748
|
this[$u](this.break), this.break = null;
|
|
35730
35749
|
}
|
|
@@ -35834,7 +35853,7 @@ class Xve extends Sn {
|
|
|
35834
35853
|
constructor(e) {
|
|
35835
35854
|
super(Ee, "subjectDN"), this.delimiter = e.delimiter || ",", this.id = e.id || "", this.name = e.name || "", this.use = e.use || "", this.usehref = e.usehref || "";
|
|
35836
35855
|
}
|
|
35837
|
-
[
|
|
35856
|
+
[Or]() {
|
|
35838
35857
|
this[me] = new Map(this[me].split(this.delimiter).map((e) => (e = e.split("=", 2), e[0] = e[0].trim(), e)));
|
|
35839
35858
|
}
|
|
35840
35859
|
}
|
|
@@ -35860,7 +35879,7 @@ class WI extends he {
|
|
|
35860
35879
|
constructor(e) {
|
|
35861
35880
|
super(Ee, "template", !0), this.baseProfile = ye(e.baseProfile, ["full", "interactiveForms"]), this.extras = null, this.subform = new ee();
|
|
35862
35881
|
}
|
|
35863
|
-
[
|
|
35882
|
+
[Or]() {
|
|
35864
35883
|
this.subform.children.length === 0 && Q("XFA - No subforms in template node."), this.subform.children.length >= 2 && Q("XFA - Several subforms in template node: please file a bug."), this[tl] = _1e;
|
|
35865
35884
|
}
|
|
35866
35885
|
[Dh]() {
|
|
@@ -35975,7 +35994,7 @@ class HX extends Sn {
|
|
|
35975
35994
|
[Mh](e) {
|
|
35976
35995
|
this[me] instanceof he || super[Mh](e);
|
|
35977
35996
|
}
|
|
35978
|
-
[
|
|
35997
|
+
[Or]() {
|
|
35979
35998
|
typeof this[me] == "string" && (this[me] = this[me].replaceAll(`\r
|
|
35980
35999
|
`, `
|
|
35981
36000
|
`));
|
|
@@ -36059,7 +36078,7 @@ class Zve extends Qt {
|
|
|
36059
36078
|
constructor(e) {
|
|
36060
36079
|
super(Ee, "time"), this.id = e.id || "", this.name = e.name || "", this.use = e.use || "", this.usehref = e.usehref || "";
|
|
36061
36080
|
}
|
|
36062
|
-
[
|
|
36081
|
+
[Or]() {
|
|
36063
36082
|
const e = this[me].trim();
|
|
36064
36083
|
this[me] = e ? new Date(e) : null;
|
|
36065
36084
|
}
|
|
@@ -36618,7 +36637,7 @@ class iye {
|
|
|
36618
36637
|
Q("XFA - Invalid node to use in setProperty");
|
|
36619
36638
|
continue;
|
|
36620
36639
|
}
|
|
36621
|
-
c[Io] = o, c[me] = u, c[
|
|
36640
|
+
c[Io] = o, c[me] = u, c[Or]();
|
|
36622
36641
|
}
|
|
36623
36642
|
}
|
|
36624
36643
|
_bindItems(e, r) {
|
|
@@ -36923,7 +36942,7 @@ class _ye extends Sn {
|
|
|
36923
36942
|
constructor(e) {
|
|
36924
36943
|
super(we, "behaviorOverride");
|
|
36925
36944
|
}
|
|
36926
|
-
[
|
|
36945
|
+
[Or]() {
|
|
36927
36946
|
this[me] = new Map(this[me].trim().split(/\s+/).filter((e) => e.includes(":")).map((e) => e.split(":", 2)));
|
|
36928
36947
|
}
|
|
36929
36948
|
}
|
|
@@ -37084,7 +37103,7 @@ class Zye extends Sn {
|
|
|
37084
37103
|
constructor(e) {
|
|
37085
37104
|
super(we, "exclude");
|
|
37086
37105
|
}
|
|
37087
|
-
[
|
|
37106
|
+
[Or]() {
|
|
37088
37107
|
this[me] = this[me].trim().split(/\s+/).filter((e) => e && ["calculate", "close", "enter", "exit", "initialize", "ready", "validate"].includes(e));
|
|
37089
37108
|
}
|
|
37090
37109
|
}
|
|
@@ -37257,7 +37276,7 @@ class Mxe extends Qt {
|
|
|
37257
37276
|
constructor(e) {
|
|
37258
37277
|
super(we, "packets");
|
|
37259
37278
|
}
|
|
37260
|
-
[
|
|
37279
|
+
[Or]() {
|
|
37261
37280
|
this[me] !== "*" && (this[me] = this[me].trim().split(/\s+/).filter((e) => ["config", "datasets", "template", "xfdf", "xslt"].includes(e)));
|
|
37262
37281
|
}
|
|
37263
37282
|
}
|
|
@@ -37278,7 +37297,7 @@ class Pxe extends Qt {
|
|
|
37278
37297
|
constructor(e) {
|
|
37279
37298
|
super(we, "pageRange");
|
|
37280
37299
|
}
|
|
37281
|
-
[
|
|
37300
|
+
[Or]() {
|
|
37282
37301
|
const e = this[me].trim().split(/\s+/).map((n) => parseInt(n, 10)), r = [];
|
|
37283
37302
|
for (let n = 0, i = e.length; n < i; n += 2)
|
|
37284
37303
|
r.push(e.slice(n, n + 2));
|
|
@@ -37379,7 +37398,7 @@ let Jxe = class extends Sn {
|
|
|
37379
37398
|
constructor(e) {
|
|
37380
37399
|
super(we, "range");
|
|
37381
37400
|
}
|
|
37382
|
-
[
|
|
37401
|
+
[Or]() {
|
|
37383
37402
|
this[me] = this[me].split(",", 2).map((e) => e.split("-").map((r) => parseInt(r.trim(), 10))).filter((e) => e.every((r) => !isNaN(r))).map((e) => (e.length === 1 && e.push(e[0]), e));
|
|
37384
37403
|
}
|
|
37385
37404
|
};
|
|
@@ -37387,7 +37406,7 @@ class Qxe extends Sn {
|
|
|
37387
37406
|
constructor(e) {
|
|
37388
37407
|
super(we, "record");
|
|
37389
37408
|
}
|
|
37390
|
-
[
|
|
37409
|
+
[Or]() {
|
|
37391
37410
|
this[me] = this[me].trim();
|
|
37392
37411
|
const e = parseInt(this[me], 10);
|
|
37393
37412
|
!isNaN(e) && e >= 0 && (this[me] = e);
|
|
@@ -37397,7 +37416,7 @@ class ebe extends Sn {
|
|
|
37397
37416
|
constructor(e) {
|
|
37398
37417
|
super(we, "relevant");
|
|
37399
37418
|
}
|
|
37400
|
-
[
|
|
37419
|
+
[Or]() {
|
|
37401
37420
|
this[me] = this[me].trim().split(/\s+/);
|
|
37402
37421
|
}
|
|
37403
37422
|
}
|
|
@@ -37405,7 +37424,7 @@ class tbe extends Sn {
|
|
|
37405
37424
|
constructor(e) {
|
|
37406
37425
|
super(we, "rename");
|
|
37407
37426
|
}
|
|
37408
|
-
[
|
|
37427
|
+
[Or]() {
|
|
37409
37428
|
this[me] = this[me].trim(), (this[me].toLowerCase().startsWith("xml") || new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*", "u").test(this[me])) && Q("XFA - Rename: invalid XFA name");
|
|
37410
37429
|
}
|
|
37411
37430
|
}
|
|
@@ -37531,7 +37550,7 @@ class Abe extends Sn {
|
|
|
37531
37550
|
constructor(e) {
|
|
37532
37551
|
super(we, "validateApprovalSignatures");
|
|
37533
37552
|
}
|
|
37534
|
-
[
|
|
37553
|
+
[Or]() {
|
|
37535
37554
|
this[me] = this[me].trim().split(/\s+/).filter((e) => ["docReady", "postSign"].includes(e));
|
|
37536
37555
|
}
|
|
37537
37556
|
}
|
|
@@ -37569,7 +37588,7 @@ class Lbe extends Sn {
|
|
|
37569
37588
|
constructor(e) {
|
|
37570
37589
|
super(we, "window");
|
|
37571
37590
|
}
|
|
37572
|
-
[
|
|
37591
|
+
[Or]() {
|
|
37573
37592
|
const e = this[me].split(",", 2).map((r) => parseInt(r.trim(), 10));
|
|
37574
37593
|
if (e.some((r) => isNaN(r))) {
|
|
37575
37594
|
this[me] = [0, 0];
|
|
@@ -38428,14 +38447,14 @@ function P2e(t, e, r) {
|
|
|
38428
38447
|
weight: n.fontWeight || "normal",
|
|
38429
38448
|
posture: n.fontStyle || "normal",
|
|
38430
38449
|
size: i.fontSize || 0
|
|
38431
|
-
}, e, e[
|
|
38450
|
+
}, e, e[Rr].fontFinder, n), r && n.verticalAlign && n.verticalAlign !== "0px" && n.fontSize) {
|
|
38432
38451
|
const o = He(n.fontSize);
|
|
38433
38452
|
n.fontSize = bt(o * 0.583), n.verticalAlign = bt(Math.sign(He(n.verticalAlign)) * o * 0.333);
|
|
38434
38453
|
}
|
|
38435
38454
|
return r && n.fontSize && (n.fontSize = `calc(${n.fontSize} * var(--total-scale-factor))`), wX(n), n;
|
|
38436
38455
|
}
|
|
38437
38456
|
function R2e(t) {
|
|
38438
|
-
return t.style ? t.style.split(";").filter((e) => !!e.trim()).map((e) => e.split(":", 2).map((r) => r.trim())).filter(([e, r]) => (e === "font-family" && t[
|
|
38457
|
+
return t.style ? t.style.split(";").filter((e) => !!e.trim()).map((e) => e.split(":", 2).map((r) => r.trim())).filter(([e, r]) => (e === "font-family" && t[Rr].usedTypefaces.add(r), E2e.has(e))).map((e) => e.join(":")).join(";") : "";
|
|
38439
38458
|
}
|
|
38440
38459
|
const N2e = /* @__PURE__ */ new Set(["body", "html"]);
|
|
38441
38460
|
class Qs extends _c {
|
|
@@ -38739,8 +38758,8 @@ class Y2e extends he {
|
|
|
38739
38758
|
[wc](e) {
|
|
38740
38759
|
return this.element = e, !0;
|
|
38741
38760
|
}
|
|
38742
|
-
[
|
|
38743
|
-
super[
|
|
38761
|
+
[Or]() {
|
|
38762
|
+
super[Or](), this.element.template instanceof WI && (this[ig].set(uX, this.element), this.element.template[$v](this[ig]), this.element.template[ig] = this[ig]);
|
|
38744
38763
|
}
|
|
38745
38764
|
}
|
|
38746
38765
|
class K2e extends he {
|
|
@@ -38841,7 +38860,7 @@ class VS extends lX {
|
|
|
38841
38860
|
}
|
|
38842
38861
|
parse(e) {
|
|
38843
38862
|
if (this.parseXml(e), this._errorCode === bs.NoError)
|
|
38844
|
-
return this._current[
|
|
38863
|
+
return this._current[Or](), this._current.element;
|
|
38845
38864
|
}
|
|
38846
38865
|
onText(e) {
|
|
38847
38866
|
if (e = e.replace(this._nbsps, (r) => r.slice(1) + " "), this._richText || this._current[Y3]()) {
|
|
@@ -38891,8 +38910,8 @@ class VS extends lX {
|
|
|
38891
38910
|
namespace: i,
|
|
38892
38911
|
prefixes: a
|
|
38893
38912
|
});
|
|
38894
|
-
if (c[
|
|
38895
|
-
c[
|
|
38913
|
+
if (c[Rr] = this._globalData, n) {
|
|
38914
|
+
c[Or](), this._current[wc](c) && c[CT](this._ids), c[Fo](this._builder);
|
|
38896
38915
|
return;
|
|
38897
38916
|
}
|
|
38898
38917
|
this._stack.push(this._current), this._current = c;
|
|
@@ -38905,7 +38924,7 @@ class VS extends lX {
|
|
|
38905
38924
|
const i = n.parse(r[me]);
|
|
38906
38925
|
r[me] = null, r[wc](i);
|
|
38907
38926
|
}
|
|
38908
|
-
r[
|
|
38927
|
+
r[Or](), this._current = this._stack.pop(), this._current[wc](r) && r[CT](this._ids), r[Fo](this._builder);
|
|
38909
38928
|
}
|
|
38910
38929
|
onError(e) {
|
|
38911
38930
|
this._errorCode = e;
|
|
@@ -38916,7 +38935,7 @@ class pb {
|
|
|
38916
38935
|
try {
|
|
38917
38936
|
this.root = new VS().parse(pb._createDocument(e));
|
|
38918
38937
|
const r = new iye(this.root);
|
|
38919
|
-
this.form = r.bind(), this.dataHandler = new aye(this.root, r.getData()), this.form[
|
|
38938
|
+
this.form = r.bind(), this.dataHandler = new aye(this.root, r.getData()), this.form[Rr].template = this.form;
|
|
38920
38939
|
} catch (r) {
|
|
38921
38940
|
Q(`XFA - an error occurred during parsing and binding: ${r}`);
|
|
38922
38941
|
}
|
|
@@ -38958,17 +38977,17 @@ class pb {
|
|
|
38958
38977
|
return this.pages || await this._createPages(), this.dims.length;
|
|
38959
38978
|
}
|
|
38960
38979
|
setImages(e) {
|
|
38961
|
-
this.form[
|
|
38980
|
+
this.form[Rr].images = e;
|
|
38962
38981
|
}
|
|
38963
38982
|
setFonts(e) {
|
|
38964
|
-
this.form[
|
|
38983
|
+
this.form[Rr].fontFinder = new f1e(e);
|
|
38965
38984
|
const r = [];
|
|
38966
|
-
for (let n of this.form[
|
|
38967
|
-
n = Z3(n), this.form[
|
|
38985
|
+
for (let n of this.form[Rr].usedTypefaces)
|
|
38986
|
+
n = Z3(n), this.form[Rr].fontFinder.find(n) || r.push(n);
|
|
38968
38987
|
return r.length > 0 ? r : null;
|
|
38969
38988
|
}
|
|
38970
38989
|
appendFonts(e, r) {
|
|
38971
|
-
this.form[
|
|
38990
|
+
this.form[Rr].fontFinder.add(e, r);
|
|
38972
38991
|
}
|
|
38973
38992
|
async getPages() {
|
|
38974
38993
|
this.pages || await this._createPages();
|
|
@@ -40717,8 +40736,8 @@ class E8 extends Ps {
|
|
|
40717
40736
|
if (i)
|
|
40718
40737
|
d.set("Helv", i);
|
|
40719
40738
|
else {
|
|
40720
|
-
const
|
|
40721
|
-
|
|
40739
|
+
const H = new te(r);
|
|
40740
|
+
H.setIfName("BaseFont", "Helvetica"), H.setIfName("Type", "Font"), H.setIfName("Subtype", "Type1"), H.setIfName("Encoding", "WinAnsiEncoding"), d.set("Helv", H);
|
|
40722
40741
|
}
|
|
40723
40742
|
f.set("Font", d);
|
|
40724
40743
|
const p = await yl._getFontData(a, s, {
|
|
@@ -40731,13 +40750,13 @@ class E8 extends Ps {
|
|
|
40731
40750
|
`), _ = l / 1e3;
|
|
40732
40751
|
let S = -1 / 0;
|
|
40733
40752
|
const C = [];
|
|
40734
|
-
for (let
|
|
40735
|
-
const K = p.encodeString(
|
|
40753
|
+
for (let H of w) {
|
|
40754
|
+
const K = p.encodeString(H);
|
|
40736
40755
|
if (K.length > 1)
|
|
40737
40756
|
return null;
|
|
40738
|
-
|
|
40757
|
+
H = K.join(""), C.push(H);
|
|
40739
40758
|
let W = 0;
|
|
40740
|
-
const V = p.charsToGlyphs(
|
|
40759
|
+
const V = p.charsToGlyphs(H);
|
|
40741
40760
|
for (const X of V)
|
|
40742
40761
|
W += X.width * _;
|
|
40743
40762
|
S = Math.max(S, W);
|
|
@@ -40766,16 +40785,16 @@ class E8 extends Ps {
|
|
|
40766
40785
|
const O = ["q", `${M.join(" ")} 0 0 cm`, `${R.join(" ")} re W n`, "BT", `${Ic(o, !0)}`, `0 Tc /Helv ${or(P)} Tf`];
|
|
40767
40786
|
O.push(`${D.join(" ")} Td (${sm(C[0])}) Tj`);
|
|
40768
40787
|
const B = or(k);
|
|
40769
|
-
for (let
|
|
40770
|
-
const W = C[
|
|
40788
|
+
for (let H = 1, K = C.length; H < K; H++) {
|
|
40789
|
+
const W = C[H];
|
|
40771
40790
|
O.push(`0 -${B} Td (${sm(W)}) Tj`);
|
|
40772
40791
|
}
|
|
40773
40792
|
O.push("ET", "Q");
|
|
40774
40793
|
const N = O.join(`
|
|
40775
|
-
`),
|
|
40776
|
-
|
|
40794
|
+
`), U = new te(r);
|
|
40795
|
+
U.set("FormType", 1), U.setIfName("Subtype", "Form"), U.setIfName("Type", "XObject"), U.set("BBox", c), U.set("Resources", f), U.set("Matrix", [1, 0, 0, 1, -c[0], -c[1]]);
|
|
40777
40796
|
const q = new Ta(N);
|
|
40778
|
-
return q.dict =
|
|
40797
|
+
return q.dict = U, q;
|
|
40779
40798
|
}
|
|
40780
40799
|
}
|
|
40781
40800
|
class iwe extends Ps {
|
|
@@ -45357,24 +45376,24 @@ const PP = class PP {
|
|
|
45357
45376
|
P.reject(O), a = null;
|
|
45358
45377
|
}), new Promise(function(O, B) {
|
|
45359
45378
|
const N = function({
|
|
45360
|
-
value:
|
|
45379
|
+
value: U,
|
|
45361
45380
|
done: q
|
|
45362
45381
|
}) {
|
|
45363
45382
|
try {
|
|
45364
45383
|
if (p(), q) {
|
|
45365
45384
|
if (!D) {
|
|
45366
|
-
const
|
|
45367
|
-
R = [], C &&
|
|
45385
|
+
const H = _q(R);
|
|
45386
|
+
R = [], C && H.length !== C && Q("reported HTTP length is different from actual"), E.source = H, D = new M8(E), P.resolve(D);
|
|
45368
45387
|
}
|
|
45369
45388
|
a = null;
|
|
45370
45389
|
return;
|
|
45371
45390
|
}
|
|
45372
|
-
M +=
|
|
45391
|
+
M += U.byteLength, L.isStreamingSupported || d.send("DocProgress", {
|
|
45373
45392
|
loaded: M,
|
|
45374
45393
|
total: Math.max(M, L.contentLength || 0)
|
|
45375
|
-
}), D ? D.sendProgressiveData(
|
|
45376
|
-
} catch (
|
|
45377
|
-
B(
|
|
45394
|
+
}), D ? D.sendProgressiveData(U) : R.push(U), L.read().then(N, B);
|
|
45395
|
+
} catch (H) {
|
|
45396
|
+
B(H);
|
|
45378
45397
|
}
|
|
45379
45398
|
};
|
|
45380
45399
|
L.read().then(N, B);
|
|
@@ -45619,12 +45638,12 @@ const PP = class PP {
|
|
|
45619
45638
|
return E.bytes;
|
|
45620
45639
|
} else if (A.size === 0)
|
|
45621
45640
|
return E.bytes;
|
|
45622
|
-
const
|
|
45623
|
-
let
|
|
45641
|
+
const U = L && I instanceof te && A.values().some((V) => V.needAppearances), q = I instanceof te && I.get("XFA") || null;
|
|
45642
|
+
let H = null, K = !1;
|
|
45624
45643
|
if (Array.isArray(q)) {
|
|
45625
45644
|
for (let V = 0, X = q.length; V < X; V += 2)
|
|
45626
|
-
q[V] === "datasets" && (
|
|
45627
|
-
|
|
45645
|
+
q[V] === "datasets" && (H = q[V + 1], K = !0);
|
|
45646
|
+
H === null && (H = D.getNewTemporaryRef());
|
|
45628
45647
|
} else q && Q("Unsupported XFA type.");
|
|
45629
45648
|
let W = /* @__PURE__ */ Object.create(null);
|
|
45630
45649
|
if (D.trailer) {
|
|
@@ -45649,9 +45668,9 @@ const PP = class PP {
|
|
|
45649
45668
|
changes: A,
|
|
45650
45669
|
xref: D,
|
|
45651
45670
|
hasXfa: !!q,
|
|
45652
|
-
xfaDatasetsRef:
|
|
45671
|
+
xfaDatasetsRef: H,
|
|
45653
45672
|
hasXfaDatasetsEntry: K,
|
|
45654
|
-
needAppearances:
|
|
45673
|
+
needAppearances: U,
|
|
45655
45674
|
acroFormRef: L,
|
|
45656
45675
|
acroForm: I,
|
|
45657
45676
|
xfaData: N,
|
|
@@ -47190,46 +47209,46 @@ function fY(t, e, r) {
|
|
|
47190
47209
|
for (const n of r)
|
|
47191
47210
|
e.addEventListener(n, t[n].bind(t));
|
|
47192
47211
|
}
|
|
47193
|
-
class
|
|
47212
|
+
class $r {
|
|
47194
47213
|
static #e = NaN;
|
|
47195
47214
|
static #t = null;
|
|
47196
47215
|
static #n = NaN;
|
|
47197
47216
|
static #r = null;
|
|
47198
47217
|
static initializeAndAddPointerId(e) {
|
|
47199
|
-
(
|
|
47218
|
+
($r.#t ||= /* @__PURE__ */ new Set()).add(e);
|
|
47200
47219
|
}
|
|
47201
47220
|
static setPointer(e, r) {
|
|
47202
|
-
|
|
47221
|
+
$r.#e ||= r, $r.#r ??= e;
|
|
47203
47222
|
}
|
|
47204
47223
|
static setTimeStamp(e) {
|
|
47205
|
-
|
|
47224
|
+
$r.#n = e;
|
|
47206
47225
|
}
|
|
47207
47226
|
static isSamePointerId(e) {
|
|
47208
|
-
return
|
|
47227
|
+
return $r.#e === e;
|
|
47209
47228
|
}
|
|
47210
47229
|
static isSamePointerIdOrRemove(e) {
|
|
47211
|
-
return
|
|
47230
|
+
return $r.#e === e ? !0 : ($r.#t?.delete(e), !1);
|
|
47212
47231
|
}
|
|
47213
47232
|
static isSamePointerType(e) {
|
|
47214
|
-
return
|
|
47233
|
+
return $r.#r === e;
|
|
47215
47234
|
}
|
|
47216
47235
|
static isInitializedAndDifferentPointerType(e) {
|
|
47217
|
-
return
|
|
47236
|
+
return $r.#r !== null && !$r.isSamePointerType(e);
|
|
47218
47237
|
}
|
|
47219
47238
|
static isSameTimeStamp(e) {
|
|
47220
|
-
return
|
|
47239
|
+
return $r.#n === e;
|
|
47221
47240
|
}
|
|
47222
47241
|
static isUsingMultiplePointers() {
|
|
47223
|
-
return
|
|
47242
|
+
return $r.#t?.size >= 1;
|
|
47224
47243
|
}
|
|
47225
47244
|
static clearPointerType() {
|
|
47226
|
-
|
|
47245
|
+
$r.#r = null;
|
|
47227
47246
|
}
|
|
47228
47247
|
static clearPointerIds() {
|
|
47229
|
-
|
|
47248
|
+
$r.#e = NaN, $r.#t = null;
|
|
47230
47249
|
}
|
|
47231
47250
|
static clearTimeStamp() {
|
|
47232
|
-
|
|
47251
|
+
$r.#n = NaN;
|
|
47233
47252
|
}
|
|
47234
47253
|
}
|
|
47235
47254
|
class D_e {
|
|
@@ -48169,7 +48188,7 @@ class uf {
|
|
|
48169
48188
|
}
|
|
48170
48189
|
for (const o of this.#r.values())
|
|
48171
48190
|
o.addStandaloneCommentButton();
|
|
48172
|
-
e === nr.SIGNATURE && await this.#$?.loadSignatures(), n &&
|
|
48191
|
+
e === nr.SIGNATURE && await this.#$?.loadSignatures(), n && $r.clearPointerType(), this.setEditingState(!0), await this.#de(), this.unselectAll();
|
|
48173
48192
|
for (const o of this.#i.values())
|
|
48174
48193
|
o.updateMode(e);
|
|
48175
48194
|
if (e === nr.POPUP) {
|
|
@@ -52337,19 +52356,19 @@ function $8(t, e, r, n, i, a, s, o) {
|
|
|
52337
52356
|
return;
|
|
52338
52357
|
const x = c[a], b = c[a + 1], w = c[a + 2], _ = c[s], S = c[s + 1], C = c[s + 2], A = c[o], T = c[o + 1], k = c[o + 2], E = Math.round(p), I = Math.round(y);
|
|
52339
52358
|
let L, P, D, R, M, O, B, N;
|
|
52340
|
-
for (let
|
|
52341
|
-
if (
|
|
52342
|
-
const V =
|
|
52359
|
+
for (let U = E; U <= I; U++) {
|
|
52360
|
+
if (U < m) {
|
|
52361
|
+
const V = U < p ? 0 : (p - U) / (p - m);
|
|
52343
52362
|
L = d - (d - g) * V, P = x - (x - _) * V, D = b - (b - S) * V, R = w - (w - C) * V;
|
|
52344
52363
|
} else {
|
|
52345
52364
|
let V;
|
|
52346
|
-
|
|
52365
|
+
U > y ? V = 1 : m === y ? V = 0 : V = (m - U) / (m - y), L = g - (g - v) * V, P = _ - (_ - A) * V, D = S - (S - T) * V, R = C - (C - k) * V;
|
|
52347
52366
|
}
|
|
52348
52367
|
let q;
|
|
52349
|
-
|
|
52350
|
-
const
|
|
52351
|
-
let W = u *
|
|
52352
|
-
for (let V =
|
|
52368
|
+
U < p ? q = 0 : U > y ? q = 1 : q = (p - U) / (p - y), M = d - (d - v) * q, O = x - (x - A) * q, B = b - (b - T) * q, N = w - (w - k) * q;
|
|
52369
|
+
const H = Math.round(Math.min(L, M)), K = Math.round(Math.max(L, M));
|
|
52370
|
+
let W = u * U + H * 4;
|
|
52371
|
+
for (let V = H; V <= K; V++)
|
|
52353
52372
|
q = (L - V) / (L - M), q < 0 ? q = 0 : q > 1 && (q = 1), h[W++] = P - (P - O) * q | 0, h[W++] = D - (D - B) * q | 0, h[W++] = R - (R - N) * q | 0, h[W++] = 255;
|
|
52354
52373
|
}
|
|
52355
52374
|
}
|
|
@@ -52470,12 +52489,12 @@ class aD {
|
|
|
52470
52489
|
if (M.groupLevel = e.groupLevel, this.setFillAndStrokeStyleToContext(M, a, o), R.translate(-L.scale * u, -P.scale * f), M.transform(0, L.scale, 0, 0, P.scale, 0, 0), R.save(), M.dependencyTracker?.save(), this.clipBbox(M, u, f, d, p), M.baseTransform = An(M.ctx), M.executeOperatorList(i), M.endDrawing(), M.dependencyTracker?.restore(), R.restore(), C || A) {
|
|
52471
52490
|
const O = D.canvas;
|
|
52472
52491
|
C && (_ = c), A && (S = h);
|
|
52473
|
-
const B = this.getSizeAndScale(_, this.ctx.canvas.width, b), N = this.getSizeAndScale(S, this.ctx.canvas.height, w),
|
|
52492
|
+
const B = this.getSizeAndScale(_, this.ctx.canvas.width, b), N = this.getSizeAndScale(S, this.ctx.canvas.height, w), U = B.size, q = N.size, H = e.cachedCanvases.getCanvas("pattern-workaround", U, q), K = H.context, W = C ? Math.floor(g / c) : 0, V = A ? Math.floor(m / h) : 0;
|
|
52474
52493
|
for (let X = 0; X <= W; X++)
|
|
52475
52494
|
for (let G = 0; G <= V; G++)
|
|
52476
|
-
K.drawImage(O,
|
|
52495
|
+
K.drawImage(O, U * X, q * G, U, q, 0, 0, U, q);
|
|
52477
52496
|
return {
|
|
52478
|
-
canvas:
|
|
52497
|
+
canvas: H.canvas,
|
|
52479
52498
|
scaleX: B.scale,
|
|
52480
52499
|
scaleY: N.scale,
|
|
52481
52500
|
offsetX: u,
|
|
@@ -53271,8 +53290,8 @@ class Fg {
|
|
|
53271
53290
|
const I = (k.isSpace ? c : 0) + l, L = k.fontChar, P = k.accent;
|
|
53272
53291
|
let D, R, M = k.width;
|
|
53273
53292
|
if (d) {
|
|
53274
|
-
const N = k.vmetric || g,
|
|
53275
|
-
M = N ? -N[0] : M, D =
|
|
53293
|
+
const N = k.vmetric || g, U = -(k.vmetric ? N[1] : M * 0.5) * m, q = N[2] * m;
|
|
53294
|
+
M = N ? -N[0] : M, D = U / o, R = (A + q) / o;
|
|
53276
53295
|
} else
|
|
53277
53296
|
D = A / o, R = 0;
|
|
53278
53297
|
let O;
|
|
@@ -53280,8 +53299,8 @@ class Fg {
|
|
|
53280
53299
|
O = s.measureText(L);
|
|
53281
53300
|
const N = O.width * 1e3 / a * o;
|
|
53282
53301
|
if (M < N && this.isFontSubpixelAAEnabled) {
|
|
53283
|
-
const
|
|
53284
|
-
E = !0, s.save(), s.scale(
|
|
53302
|
+
const U = M / N;
|
|
53303
|
+
E = !0, s.save(), s.scale(U, 1), D /= U;
|
|
53285
53304
|
} else M !== N && (D += (M - N) / 2e3 * a / o);
|
|
53286
53305
|
}
|
|
53287
53306
|
if (this.contentVisible && (k.isInFont || i.missingFile)) {
|
|
@@ -53290,8 +53309,8 @@ class Fg {
|
|
|
53290
53309
|
bbox: null
|
|
53291
53310
|
} : i, a / o, D, R, () => O ?? s.measureText(L));
|
|
53292
53311
|
else if (this.paintChar(e, L, D, R, y, x), P) {
|
|
53293
|
-
const N = D + a * P.offset.x / o,
|
|
53294
|
-
this.paintChar(e, P.fontChar, N,
|
|
53312
|
+
const N = D + a * P.offset.x / o, U = R - a * P.offset.y / o;
|
|
53313
|
+
this.paintChar(e, P.fontChar, N, U, y, x);
|
|
53295
53314
|
}
|
|
53296
53315
|
}
|
|
53297
53316
|
const B = d ? M * m - I * h : M * m + I * h;
|
|
@@ -55077,7 +55096,7 @@ function kY(t = {}) {
|
|
|
55077
55096
|
docId: r
|
|
55078
55097
|
} = e, n = t.url ? O_e(t.url) : null, i = t.data ? B_e(t.data) : null, a = t.httpHeaders || null, s = t.withCredentials === !0, o = t.password ?? null, l = t.range instanceof EY ? t.range : null, c = Number.isInteger(t.rangeChunkSize) && t.rangeChunkSize > 0 ? t.rangeChunkSize : 2 ** 16;
|
|
55079
55098
|
let h = t.worker instanceof mx ? t.worker : null;
|
|
55080
|
-
const u = t.verbosity, f = typeof t.docBaseUrl == "string" && !c5(t.docBaseUrl) ? t.docBaseUrl : null, d = R2(t.cMapUrl), p = t.cMapPacked !== !1, g = t.CMapReaderFactory || (Fa ? G_e : qO), m = R2(t.iccUrl), v = R2(t.standardFontDataUrl), y = t.StandardFontDataFactory || (Fa ? W_e : XO), x = R2(t.wasmUrl), b = t.WasmFactory || (Fa ? q_e : YO), w = t.stopAtErrors !== !0, _ = Number.isInteger(t.maxImageSize) && t.maxImageSize > -1 ? t.maxImageSize : -1, S = t.isEvalSupported !== !1, C = typeof t.isOffscreenCanvasSupported == "boolean" ? t.isOffscreenCanvasSupported : !Fa, A = typeof t.isImageDecoderSupported == "boolean" ? t.isImageDecoderSupported : !Fa && (bi.platform.isFirefox || !globalThis.chrome), T = Number.isInteger(t.canvasMaxAreaInBytes) ? t.canvasMaxAreaInBytes : -1, k = typeof t.disableFontFace == "boolean" ? t.disableFontFace : Fa, E = t.fontExtraProperties === !0, I = t.enableXfa === !0, L = t.ownerDocument || globalThis.document, P = t.disableRange === !0, D = t.disableStream === !0, R = t.disableAutoFetch === !0, M = t.pdfBug === !0, O = t.CanvasFactory || (Fa ? j_e : V_e), B = t.FilterFactory || (Fa ? H_e : U_e), N = t.enableHWA === !0,
|
|
55099
|
+
const u = t.verbosity, f = typeof t.docBaseUrl == "string" && !c5(t.docBaseUrl) ? t.docBaseUrl : null, d = R2(t.cMapUrl), p = t.cMapPacked !== !1, g = t.CMapReaderFactory || (Fa ? G_e : qO), m = R2(t.iccUrl), v = R2(t.standardFontDataUrl), y = t.StandardFontDataFactory || (Fa ? W_e : XO), x = R2(t.wasmUrl), b = t.WasmFactory || (Fa ? q_e : YO), w = t.stopAtErrors !== !0, _ = Number.isInteger(t.maxImageSize) && t.maxImageSize > -1 ? t.maxImageSize : -1, S = t.isEvalSupported !== !1, C = typeof t.isOffscreenCanvasSupported == "boolean" ? t.isOffscreenCanvasSupported : !Fa, A = typeof t.isImageDecoderSupported == "boolean" ? t.isImageDecoderSupported : !Fa && (bi.platform.isFirefox || !globalThis.chrome), T = Number.isInteger(t.canvasMaxAreaInBytes) ? t.canvasMaxAreaInBytes : -1, k = typeof t.disableFontFace == "boolean" ? t.disableFontFace : Fa, E = t.fontExtraProperties === !0, I = t.enableXfa === !0, L = t.ownerDocument || globalThis.document, P = t.disableRange === !0, D = t.disableStream === !0, R = t.disableAutoFetch === !0, M = t.pdfBug === !0, O = t.CanvasFactory || (Fa ? j_e : V_e), B = t.FilterFactory || (Fa ? H_e : U_e), N = t.enableHWA === !0, U = t.useWasm !== !1, q = l ? l.length : t.length ?? NaN, H = typeof t.useSystemFonts == "boolean" ? t.useSystemFonts : !Fa && !k, K = typeof t.useWorkerFetch == "boolean" ? t.useWorkerFetch : !!(g === qO && y === XO && b === YO && d && v && x && Vv(d, document.baseURI) && Vv(v, document.baseURI) && Vv(x, document.baseURI)), W = null;
|
|
55081
55100
|
c_e(u);
|
|
55082
55101
|
const V = {
|
|
55083
55102
|
canvasFactory: new O({
|
|
@@ -55122,8 +55141,8 @@ function kY(t = {}) {
|
|
|
55122
55141
|
isImageDecoderSupported: A,
|
|
55123
55142
|
canvasMaxAreaInBytes: T,
|
|
55124
55143
|
fontExtraProperties: E,
|
|
55125
|
-
useSystemFonts:
|
|
55126
|
-
useWasm:
|
|
55144
|
+
useSystemFonts: H,
|
|
55145
|
+
useWasm: U,
|
|
55127
55146
|
useWorkerFetch: K,
|
|
55128
55147
|
cMapUrl: d,
|
|
55129
55148
|
iccUrl: m,
|
|
@@ -60425,7 +60444,7 @@ class BY {
|
|
|
60425
60444
|
sn("Not implemented");
|
|
60426
60445
|
}
|
|
60427
60446
|
}
|
|
60428
|
-
class
|
|
60447
|
+
class Fr extends Et {
|
|
60429
60448
|
#e = null;
|
|
60430
60449
|
#t;
|
|
60431
60450
|
_colorPicker = null;
|
|
@@ -60455,7 +60474,7 @@ class Br extends Et {
|
|
|
60455
60474
|
#s(e, r) {
|
|
60456
60475
|
const {
|
|
60457
60476
|
id: n
|
|
60458
|
-
} = r.drawLayer.draw(
|
|
60477
|
+
} = r.drawLayer.draw(Fr._mergeSVGProperties(this._drawingOptions.toSVGProperties(), e.defaultSVGProperties), !1, !1);
|
|
60459
60478
|
return n;
|
|
60460
60479
|
}
|
|
60461
60480
|
static _mergeSVGProperties(e, r) {
|
|
@@ -60478,7 +60497,7 @@ class Br extends Et {
|
|
|
60478
60497
|
}
|
|
60479
60498
|
static updateDefaultParams(e, r) {
|
|
60480
60499
|
const n = this.typesMap.get(e);
|
|
60481
|
-
n && this._defaultDrawingOptions.updateProperty(n, r), this._currentParent && (
|
|
60500
|
+
n && this._defaultDrawingOptions.updateProperty(n, r), this._currentParent && (Fr.#n.updateProperty(n, r), this._currentParent.drawLayer.updateProperties(this._currentDrawId, this._defaultDrawingOptions.toSVGProperties()));
|
|
60482
60501
|
}
|
|
60483
60502
|
updateParams(e, r) {
|
|
60484
60503
|
const n = this.constructor.typesMap.get(e);
|
|
@@ -60515,12 +60534,12 @@ class Br extends Et {
|
|
|
60515
60534
|
});
|
|
60516
60535
|
}
|
|
60517
60536
|
_onResizing() {
|
|
60518
|
-
this.parent?.drawLayer.updateProperties(this._drawId,
|
|
60537
|
+
this.parent?.drawLayer.updateProperties(this._drawId, Fr._mergeSVGProperties(this.#e.getPathResizingSVGProperties(this.#f()), {
|
|
60519
60538
|
bbox: this.#d()
|
|
60520
60539
|
}));
|
|
60521
60540
|
}
|
|
60522
60541
|
_onResized() {
|
|
60523
|
-
this.parent?.drawLayer.updateProperties(this._drawId,
|
|
60542
|
+
this.parent?.drawLayer.updateProperties(this._drawId, Fr._mergeSVGProperties(this.#e.getPathResizedSVGProperties(this.#f()), {
|
|
60524
60543
|
bbox: this.#d()
|
|
60525
60544
|
}));
|
|
60526
60545
|
}
|
|
@@ -60530,7 +60549,7 @@ class Br extends Et {
|
|
|
60530
60549
|
});
|
|
60531
60550
|
}
|
|
60532
60551
|
_onTranslated() {
|
|
60533
|
-
this.parent?.drawLayer.updateProperties(this._drawId,
|
|
60552
|
+
this.parent?.drawLayer.updateProperties(this._drawId, Fr._mergeSVGProperties(this.#e.getPathTranslatedSVGProperties(this.#f(), this.parentDimensions), {
|
|
60534
60553
|
bbox: this.#d()
|
|
60535
60554
|
}));
|
|
60536
60555
|
}
|
|
@@ -60673,7 +60692,7 @@ class Br extends Et {
|
|
|
60673
60692
|
}
|
|
60674
60693
|
}
|
|
60675
60694
|
rotate() {
|
|
60676
|
-
this.parent && this.parent.drawLayer.updateProperties(this._drawId,
|
|
60695
|
+
this.parent && this.parent.drawLayer.updateProperties(this._drawId, Fr._mergeSVGProperties({
|
|
60677
60696
|
bbox: this.#d()
|
|
60678
60697
|
}, this.#e.updateRotation((this.parentRotation - this.rotation + 360) % 360)));
|
|
60679
60698
|
}
|
|
@@ -60703,7 +60722,7 @@ class Br extends Et {
|
|
|
60703
60722
|
pointerId: l,
|
|
60704
60723
|
pointerType: c
|
|
60705
60724
|
} = i;
|
|
60706
|
-
if (
|
|
60725
|
+
if ($r.isInitializedAndDifferentPointerType(c))
|
|
60707
60726
|
return;
|
|
60708
60727
|
const {
|
|
60709
60728
|
viewport: {
|
|
@@ -60712,17 +60731,17 @@ class Br extends Et {
|
|
|
60712
60731
|
} = e, {
|
|
60713
60732
|
width: u,
|
|
60714
60733
|
height: f
|
|
60715
|
-
} = a.getBoundingClientRect(), d =
|
|
60716
|
-
if (
|
|
60717
|
-
|
|
60734
|
+
} = a.getBoundingClientRect(), d = Fr.#r = new AbortController(), p = e.combinedSignal(d);
|
|
60735
|
+
if ($r.setPointer(c, l), window.addEventListener("pointerup", (g) => {
|
|
60736
|
+
$r.isSamePointerIdOrRemove(g.pointerId) && this._endDraw(g);
|
|
60718
60737
|
}, {
|
|
60719
60738
|
signal: p
|
|
60720
60739
|
}), window.addEventListener("pointercancel", (g) => {
|
|
60721
|
-
|
|
60740
|
+
$r.isSamePointerIdOrRemove(g.pointerId) && this._currentParent.endDrawingSession();
|
|
60722
60741
|
}, {
|
|
60723
60742
|
signal: p
|
|
60724
60743
|
}), window.addEventListener("pointerdown", (g) => {
|
|
60725
|
-
|
|
60744
|
+
$r.isSamePointerType(g.pointerType) && ($r.initializeAndAddPointerId(g.pointerId), Fr.#n.isCancellable() && (Fr.#n.removeLastElement(), Fr.#n.isEmpty() ? this._currentParent.endDrawingSession(!0) : this._endDraw(null)));
|
|
60726
60745
|
}, {
|
|
60727
60746
|
capture: !0,
|
|
60728
60747
|
passive: !1,
|
|
@@ -60732,41 +60751,41 @@ class Br extends Et {
|
|
|
60732
60751
|
}), a.addEventListener("pointermove", this._drawMove.bind(this), {
|
|
60733
60752
|
signal: p
|
|
60734
60753
|
}), a.addEventListener("touchmove", (g) => {
|
|
60735
|
-
|
|
60754
|
+
$r.isSameTimeStamp(g.timeStamp) && In(g);
|
|
60736
60755
|
}, {
|
|
60737
60756
|
signal: p
|
|
60738
|
-
}), e.toggleDrawing(), r._editorUndoBar?.hide(),
|
|
60739
|
-
e.drawLayer.updateProperties(this._currentDrawId,
|
|
60757
|
+
}), e.toggleDrawing(), r._editorUndoBar?.hide(), Fr.#n) {
|
|
60758
|
+
e.drawLayer.updateProperties(this._currentDrawId, Fr.#n.startNew(s, o, u, f, h));
|
|
60740
60759
|
return;
|
|
60741
60760
|
}
|
|
60742
|
-
r.updateUIForDefaultProperties(this),
|
|
60761
|
+
r.updateUIForDefaultProperties(this), Fr.#n = this.createDrawerInstance(s, o, u, f, h), Fr.#i = this.getDefaultDrawingOptions(), this._currentParent = e, {
|
|
60743
60762
|
id: this._currentDrawId
|
|
60744
|
-
} = e.drawLayer.draw(this._mergeSVGProperties(
|
|
60763
|
+
} = e.drawLayer.draw(this._mergeSVGProperties(Fr.#i.toSVGProperties(), Fr.#n.defaultSVGProperties), !0, !1);
|
|
60745
60764
|
}
|
|
60746
60765
|
static _drawMove(e) {
|
|
60747
|
-
if (
|
|
60766
|
+
if ($r.isSameTimeStamp(e.timeStamp), !Fr.#n)
|
|
60748
60767
|
return;
|
|
60749
60768
|
const {
|
|
60750
60769
|
offsetX: r,
|
|
60751
60770
|
offsetY: n,
|
|
60752
60771
|
pointerId: i
|
|
60753
60772
|
} = e;
|
|
60754
|
-
if (
|
|
60755
|
-
if (
|
|
60773
|
+
if ($r.isSamePointerId(i)) {
|
|
60774
|
+
if ($r.isUsingMultiplePointers()) {
|
|
60756
60775
|
this._endDraw(e);
|
|
60757
60776
|
return;
|
|
60758
60777
|
}
|
|
60759
|
-
this._currentParent.drawLayer.updateProperties(this._currentDrawId,
|
|
60778
|
+
this._currentParent.drawLayer.updateProperties(this._currentDrawId, Fr.#n.add(r, n)), $r.setTimeStamp(e.timeStamp), In(e);
|
|
60760
60779
|
}
|
|
60761
60780
|
}
|
|
60762
60781
|
static _cleanup(e) {
|
|
60763
|
-
e && (this._currentDrawId = -1, this._currentParent = null,
|
|
60782
|
+
e && (this._currentDrawId = -1, this._currentParent = null, Fr.#n = null, Fr.#i = null, $r.clearTimeStamp()), Fr.#r && (Fr.#r.abort(), Fr.#r = null, $r.clearPointerIds());
|
|
60764
60783
|
}
|
|
60765
60784
|
static _endDraw(e) {
|
|
60766
60785
|
const r = this._currentParent;
|
|
60767
60786
|
if (r) {
|
|
60768
|
-
if (r.toggleDrawing(!0), this._cleanup(!1), e?.target === r.div && r.drawLayer.updateProperties(this._currentDrawId,
|
|
60769
|
-
const n =
|
|
60787
|
+
if (r.toggleDrawing(!0), this._cleanup(!1), e?.target === r.div && r.drawLayer.updateProperties(this._currentDrawId, Fr.#n.end(e.offsetX, e.offsetY)), this.supportMultipleDrawings) {
|
|
60788
|
+
const n = Fr.#n, i = this._currentDrawId, a = n.getLastElement();
|
|
60770
60789
|
r.addCommands({
|
|
60771
60790
|
cmd: () => {
|
|
60772
60791
|
r.drawLayer.updateProperties(i, n.setLastElement(a));
|
|
@@ -60786,7 +60805,7 @@ class Br extends Et {
|
|
|
60786
60805
|
const r = this._currentParent;
|
|
60787
60806
|
if (!r)
|
|
60788
60807
|
return null;
|
|
60789
|
-
if (r.toggleDrawing(!0), r.cleanUndoStack(Ar.DRAW_STEP), !
|
|
60808
|
+
if (r.toggleDrawing(!0), r.cleanUndoStack(Ar.DRAW_STEP), !Fr.#n.isEmpty()) {
|
|
60790
60809
|
const {
|
|
60791
60810
|
pageDimensions: [n, i],
|
|
60792
60811
|
scale: a
|
|
@@ -60795,8 +60814,8 @@ class Br extends Et {
|
|
|
60795
60814
|
offsetY: 0
|
|
60796
60815
|
}, !1, {
|
|
60797
60816
|
drawId: this._currentDrawId,
|
|
60798
|
-
drawOutlines:
|
|
60799
|
-
drawingOptions:
|
|
60817
|
+
drawOutlines: Fr.#n.getOutlines(n * a, i * a, a, this._INNER_MARGIN),
|
|
60818
|
+
drawingOptions: Fr.#i,
|
|
60800
60819
|
mustBeCommitted: !e
|
|
60801
60820
|
});
|
|
60802
60821
|
return this._cleanup(!0), s;
|
|
@@ -61299,7 +61318,7 @@ class f5 extends BY {
|
|
|
61299
61318
|
return e.updateAll(this), e;
|
|
61300
61319
|
}
|
|
61301
61320
|
}
|
|
61302
|
-
class hD extends
|
|
61321
|
+
class hD extends Fr {
|
|
61303
61322
|
static _type = "ink";
|
|
61304
61323
|
static _editorType = nr.INK;
|
|
61305
61324
|
static _defaultDrawingOptions = null;
|
|
@@ -61882,7 +61901,7 @@ class fD extends f5 {
|
|
|
61882
61901
|
return e.updateAll(this), e;
|
|
61883
61902
|
}
|
|
61884
61903
|
}
|
|
61885
|
-
class rc extends
|
|
61904
|
+
class rc extends Fr {
|
|
61886
61905
|
#e = !1;
|
|
61887
61906
|
#t = null;
|
|
61888
61907
|
#n = null;
|
|
@@ -63295,7 +63314,7 @@ const brt = ({
|
|
|
63295
63314
|
className: c.mainComponent,
|
|
63296
63315
|
"smp-id": "pdf",
|
|
63297
63316
|
children: [
|
|
63298
|
-
|
|
63317
|
+
!Pr(n) && /* @__PURE__ */ z.jsx(
|
|
63299
63318
|
"div",
|
|
63300
63319
|
{
|
|
63301
63320
|
className: c.toolbar,
|
|
@@ -63533,8 +63552,8 @@ function o9e() {
|
|
|
63533
63552
|
if (typeof M == "string" && !/Z$/i.test(M)) {
|
|
63534
63553
|
var B = M.match(m);
|
|
63535
63554
|
if (B) {
|
|
63536
|
-
var N = B[2] - 1 || 0,
|
|
63537
|
-
return O ? new Date(Date.UTC(B[1], N, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0,
|
|
63555
|
+
var N = B[2] - 1 || 0, U = (B[7] || "0").substring(0, 3);
|
|
63556
|
+
return O ? new Date(Date.UTC(B[1], N, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, U)) : new Date(B[1], N, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, U);
|
|
63538
63557
|
}
|
|
63539
63558
|
}
|
|
63540
63559
|
return new Date(M);
|
|
@@ -63563,37 +63582,37 @@ function o9e() {
|
|
|
63563
63582
|
var M = this, O = !!k.u(R) || R, B = k.p(D), N = function(G, j) {
|
|
63564
63583
|
var Y = k.w(M.$u ? Date.UTC(M.$y, j, G) : new Date(M.$y, j, G), M);
|
|
63565
63584
|
return O ? Y : Y.endOf(c);
|
|
63566
|
-
},
|
|
63585
|
+
}, U = function(G, j) {
|
|
63567
63586
|
return k.w(M.toDate()[G].apply(M.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), M);
|
|
63568
|
-
}, q = this.$W,
|
|
63587
|
+
}, q = this.$W, H = this.$M, K = this.$D, W = "set" + (this.$u ? "UTC" : "");
|
|
63569
63588
|
switch (B) {
|
|
63570
63589
|
case d:
|
|
63571
63590
|
return O ? N(1, 0) : N(31, 11);
|
|
63572
63591
|
case u:
|
|
63573
|
-
return O ? N(1,
|
|
63592
|
+
return O ? N(1, H) : N(0, H + 1);
|
|
63574
63593
|
case h:
|
|
63575
63594
|
var V = this.$locale().weekStart || 0, X = (q < V ? q + 7 : q) - V;
|
|
63576
|
-
return N(O ? K - X : K + (6 - X),
|
|
63595
|
+
return N(O ? K - X : K + (6 - X), H);
|
|
63577
63596
|
case c:
|
|
63578
63597
|
case p:
|
|
63579
|
-
return
|
|
63598
|
+
return U(W + "Hours", 0);
|
|
63580
63599
|
case l:
|
|
63581
|
-
return
|
|
63600
|
+
return U(W + "Minutes", 1);
|
|
63582
63601
|
case o:
|
|
63583
|
-
return
|
|
63602
|
+
return U(W + "Seconds", 2);
|
|
63584
63603
|
case s:
|
|
63585
|
-
return
|
|
63604
|
+
return U(W + "Milliseconds", 3);
|
|
63586
63605
|
default:
|
|
63587
63606
|
return this.clone();
|
|
63588
63607
|
}
|
|
63589
63608
|
}, P.endOf = function(D) {
|
|
63590
63609
|
return this.startOf(D, !1);
|
|
63591
63610
|
}, P.$set = function(D, R) {
|
|
63592
|
-
var M, O = k.p(D), B = "set" + (this.$u ? "UTC" : ""), N = (M = {}, M[c] = B + "Date", M[p] = B + "Date", M[u] = B + "Month", M[d] = B + "FullYear", M[l] = B + "Hours", M[o] = B + "Minutes", M[s] = B + "Seconds", M[a] = B + "Milliseconds", M)[O],
|
|
63611
|
+
var M, O = k.p(D), B = "set" + (this.$u ? "UTC" : ""), N = (M = {}, M[c] = B + "Date", M[p] = B + "Date", M[u] = B + "Month", M[d] = B + "FullYear", M[l] = B + "Hours", M[o] = B + "Minutes", M[s] = B + "Seconds", M[a] = B + "Milliseconds", M)[O], U = O === c ? this.$D + (R - this.$W) : R;
|
|
63593
63612
|
if (O === u || O === d) {
|
|
63594
63613
|
var q = this.clone().set(p, 1);
|
|
63595
|
-
q.$d[N](
|
|
63596
|
-
} else N && this.$d[N](
|
|
63614
|
+
q.$d[N](U), q.init(), this.$d = q.set(p, Math.min(this.$D, q.daysInMonth())).$d;
|
|
63615
|
+
} else N && this.$d[N](U);
|
|
63597
63616
|
return this.init(), this;
|
|
63598
63617
|
}, P.set = function(D, R) {
|
|
63599
63618
|
return this.clone().$set(D, R);
|
|
@@ -63602,22 +63621,22 @@ function o9e() {
|
|
|
63602
63621
|
}, P.add = function(D, R) {
|
|
63603
63622
|
var M, O = this;
|
|
63604
63623
|
D = Number(D);
|
|
63605
|
-
var B = k.p(R), N = function(
|
|
63624
|
+
var B = k.p(R), N = function(H) {
|
|
63606
63625
|
var K = T(O);
|
|
63607
|
-
return k.w(K.date(K.date() + Math.round(
|
|
63626
|
+
return k.w(K.date(K.date() + Math.round(H * D)), O);
|
|
63608
63627
|
};
|
|
63609
63628
|
if (B === u) return this.set(u, this.$M + D);
|
|
63610
63629
|
if (B === d) return this.set(d, this.$y + D);
|
|
63611
63630
|
if (B === c) return N(1);
|
|
63612
63631
|
if (B === h) return N(7);
|
|
63613
|
-
var
|
|
63632
|
+
var U = (M = {}, M[o] = n, M[l] = i, M[s] = r, M)[B] || 1, q = this.$d.getTime() + D * U;
|
|
63614
63633
|
return k.w(q, this);
|
|
63615
63634
|
}, P.subtract = function(D, R) {
|
|
63616
63635
|
return this.add(-1 * D, R);
|
|
63617
63636
|
}, P.format = function(D) {
|
|
63618
63637
|
var R = this, M = this.$locale();
|
|
63619
63638
|
if (!this.isValid()) return M.invalidDate || g;
|
|
63620
|
-
var O = D || "YYYY-MM-DDTHH:mm:ssZ", B = k.z(this), N = this.$H,
|
|
63639
|
+
var O = D || "YYYY-MM-DDTHH:mm:ssZ", B = k.z(this), N = this.$H, U = this.$m, q = this.$M, H = M.weekdays, K = M.months, W = M.meridiem, V = function(j, Y, J, ne) {
|
|
63621
63640
|
return j && (j[Y] || j(R, O)) || J[Y].slice(0, ne);
|
|
63622
63641
|
}, X = function(j) {
|
|
63623
63642
|
return k.s(N % 12 || 12, j, "0");
|
|
@@ -63647,11 +63666,11 @@ function o9e() {
|
|
|
63647
63666
|
case "d":
|
|
63648
63667
|
return String(R.$W);
|
|
63649
63668
|
case "dd":
|
|
63650
|
-
return V(M.weekdaysMin, R.$W,
|
|
63669
|
+
return V(M.weekdaysMin, R.$W, H, 2);
|
|
63651
63670
|
case "ddd":
|
|
63652
|
-
return V(M.weekdaysShort, R.$W,
|
|
63671
|
+
return V(M.weekdaysShort, R.$W, H, 3);
|
|
63653
63672
|
case "dddd":
|
|
63654
|
-
return
|
|
63673
|
+
return H[R.$W];
|
|
63655
63674
|
case "H":
|
|
63656
63675
|
return String(N);
|
|
63657
63676
|
case "HH":
|
|
@@ -63661,13 +63680,13 @@ function o9e() {
|
|
|
63661
63680
|
case "hh":
|
|
63662
63681
|
return X(2);
|
|
63663
63682
|
case "a":
|
|
63664
|
-
return G(N,
|
|
63683
|
+
return G(N, U, !0);
|
|
63665
63684
|
case "A":
|
|
63666
|
-
return G(N,
|
|
63685
|
+
return G(N, U, !1);
|
|
63667
63686
|
case "m":
|
|
63668
|
-
return String(
|
|
63687
|
+
return String(U);
|
|
63669
63688
|
case "mm":
|
|
63670
|
-
return k.s(
|
|
63689
|
+
return k.s(U, 2, "0");
|
|
63671
63690
|
case "s":
|
|
63672
63691
|
return String(R.$s);
|
|
63673
63692
|
case "ss":
|
|
@@ -63683,8 +63702,8 @@ function o9e() {
|
|
|
63683
63702
|
}, P.utcOffset = function() {
|
|
63684
63703
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
63685
63704
|
}, P.diff = function(D, R, M) {
|
|
63686
|
-
var O, B = this, N = k.p(R),
|
|
63687
|
-
return k.m(B,
|
|
63705
|
+
var O, B = this, N = k.p(R), U = T(D), q = (U.utcOffset() - this.utcOffset()) * n, H = this - U, K = function() {
|
|
63706
|
+
return k.m(B, U);
|
|
63688
63707
|
};
|
|
63689
63708
|
switch (N) {
|
|
63690
63709
|
case d:
|
|
@@ -63697,22 +63716,22 @@ function o9e() {
|
|
|
63697
63716
|
O = K() / 3;
|
|
63698
63717
|
break;
|
|
63699
63718
|
case h:
|
|
63700
|
-
O = (
|
|
63719
|
+
O = (H - q) / 6048e5;
|
|
63701
63720
|
break;
|
|
63702
63721
|
case c:
|
|
63703
|
-
O = (
|
|
63722
|
+
O = (H - q) / 864e5;
|
|
63704
63723
|
break;
|
|
63705
63724
|
case l:
|
|
63706
|
-
O =
|
|
63725
|
+
O = H / i;
|
|
63707
63726
|
break;
|
|
63708
63727
|
case o:
|
|
63709
|
-
O =
|
|
63728
|
+
O = H / n;
|
|
63710
63729
|
break;
|
|
63711
63730
|
case s:
|
|
63712
|
-
O =
|
|
63731
|
+
O = H / r;
|
|
63713
63732
|
break;
|
|
63714
63733
|
default:
|
|
63715
|
-
O =
|
|
63734
|
+
O = H;
|
|
63716
63735
|
}
|
|
63717
63736
|
return M ? O : k.a(O);
|
|
63718
63737
|
}, P.daysInMonth = function() {
|
|
@@ -75232,30 +75251,30 @@ F(jee, "windowPane");
|
|
|
75232
75251
|
async function hM(t, e) {
|
|
75233
75252
|
const r = e;
|
|
75234
75253
|
if (r.alias && (e.label = r.alias), e.look === "handDrawn") {
|
|
75235
|
-
const { themeVariables:
|
|
75254
|
+
const { themeVariables: U } = Sa(), { background: q } = U, H = {
|
|
75236
75255
|
...e,
|
|
75237
75256
|
id: e.id + "-background",
|
|
75238
75257
|
look: "default",
|
|
75239
75258
|
cssStyles: ["stroke: none", `fill: ${q}`]
|
|
75240
75259
|
};
|
|
75241
|
-
await hM(t,
|
|
75260
|
+
await hM(t, H);
|
|
75242
75261
|
}
|
|
75243
75262
|
const n = Sa();
|
|
75244
75263
|
e.useHtmlLabels = n.htmlLabels;
|
|
75245
75264
|
let i = n.er?.diagramPadding ?? 10, a = n.er?.entityPadding ?? 6;
|
|
75246
75265
|
const { cssStyles: s } = e, { labelStyles: o, nodeStyles: l } = gt(e);
|
|
75247
75266
|
if (r.attributes.length === 0 && e.label) {
|
|
75248
|
-
const
|
|
75267
|
+
const U = {
|
|
75249
75268
|
rx: 0,
|
|
75250
75269
|
ry: 0,
|
|
75251
75270
|
labelPaddingX: i,
|
|
75252
75271
|
labelPaddingY: i * 1.5
|
|
75253
75272
|
};
|
|
75254
|
-
Hh(e.label, n) +
|
|
75255
|
-
const q = await N5(t, e,
|
|
75273
|
+
Hh(e.label, n) + U.labelPaddingX * 2 < n.er.minEntityWidth && (e.width = n.er.minEntityWidth);
|
|
75274
|
+
const q = await N5(t, e, U);
|
|
75256
75275
|
if (!_i(n.htmlLabels)) {
|
|
75257
|
-
const
|
|
75258
|
-
|
|
75276
|
+
const H = q.select("text"), K = H.node()?.getBBox();
|
|
75277
|
+
H.attr("transform", `translate(${-K.width / 2}, 0)`);
|
|
75259
75278
|
}
|
|
75260
75279
|
return q;
|
|
75261
75280
|
}
|
|
@@ -75267,10 +75286,10 @@ async function hM(t, e) {
|
|
|
75267
75286
|
let f = 0;
|
|
75268
75287
|
const d = [], p = [];
|
|
75269
75288
|
let g = 0, m = 0, v = 0, y = 0, x = !0, b = !0;
|
|
75270
|
-
for (const
|
|
75289
|
+
for (const U of r.attributes) {
|
|
75271
75290
|
const q = await cg(
|
|
75272
75291
|
h,
|
|
75273
|
-
|
|
75292
|
+
U.type,
|
|
75274
75293
|
n,
|
|
75275
75294
|
0,
|
|
75276
75295
|
f,
|
|
@@ -75278,19 +75297,19 @@ async function hM(t, e) {
|
|
|
75278
75297
|
o
|
|
75279
75298
|
);
|
|
75280
75299
|
g = Math.max(g, q.width + i);
|
|
75281
|
-
const
|
|
75300
|
+
const H = await cg(
|
|
75282
75301
|
h,
|
|
75283
|
-
|
|
75302
|
+
U.name,
|
|
75284
75303
|
n,
|
|
75285
75304
|
0,
|
|
75286
75305
|
f,
|
|
75287
75306
|
["attribute-name"],
|
|
75288
75307
|
o
|
|
75289
75308
|
);
|
|
75290
|
-
m = Math.max(m,
|
|
75309
|
+
m = Math.max(m, H.width + i);
|
|
75291
75310
|
const K = await cg(
|
|
75292
75311
|
h,
|
|
75293
|
-
|
|
75312
|
+
U.keys.join(),
|
|
75294
75313
|
n,
|
|
75295
75314
|
0,
|
|
75296
75315
|
f,
|
|
@@ -75300,7 +75319,7 @@ async function hM(t, e) {
|
|
|
75300
75319
|
v = Math.max(v, K.width + i);
|
|
75301
75320
|
const W = await cg(
|
|
75302
75321
|
h,
|
|
75303
|
-
|
|
75322
|
+
U.comment,
|
|
75304
75323
|
n,
|
|
75305
75324
|
0,
|
|
75306
75325
|
f,
|
|
@@ -75308,23 +75327,23 @@ async function hM(t, e) {
|
|
|
75308
75327
|
o
|
|
75309
75328
|
);
|
|
75310
75329
|
y = Math.max(y, W.width + i);
|
|
75311
|
-
const V = Math.max(q.height,
|
|
75330
|
+
const V = Math.max(q.height, H.height, K.height, W.height) + a;
|
|
75312
75331
|
p.push({ yOffset: f, rowHeight: V }), f += V;
|
|
75313
75332
|
}
|
|
75314
75333
|
let w = 4;
|
|
75315
75334
|
v <= i && (x = !1, v = 0, w--), y <= i && (b = !1, y = 0, w--);
|
|
75316
75335
|
const _ = h.node().getBBox();
|
|
75317
75336
|
if (u.width + i * 2 - (g + m + v + y) > 0) {
|
|
75318
|
-
const
|
|
75319
|
-
g +=
|
|
75337
|
+
const U = u.width + i * 2 - (g + m + v + y);
|
|
75338
|
+
g += U / w, m += U / w, v > 0 && (v += U / w), y > 0 && (y += U / w);
|
|
75320
75339
|
}
|
|
75321
75340
|
const S = g + m + v + y, C = dt.svg(h), A = pt(e, {});
|
|
75322
75341
|
e.look !== "handDrawn" && (A.roughness = 0, A.fillStyle = "solid");
|
|
75323
75342
|
let T = 0;
|
|
75324
|
-
p.length > 0 && (T = p.reduce((
|
|
75343
|
+
p.length > 0 && (T = p.reduce((U, q) => U + (q?.rowHeight ?? 0), 0));
|
|
75325
75344
|
const k = Math.max(_.width + i * 2, e?.width || 0, S), E = Math.max((T ?? 0) + u.height, e?.height || 0), I = -k / 2, L = -E / 2;
|
|
75326
|
-
h.selectAll("g:not(:first-child)").each((
|
|
75327
|
-
const K = Dr(
|
|
75345
|
+
h.selectAll("g:not(:first-child)").each((U, q, H) => {
|
|
75346
|
+
const K = Dr(H[q]), W = K.attr("transform");
|
|
75328
75347
|
let V = 0, X = 0;
|
|
75329
75348
|
if (W) {
|
|
75330
75349
|
const j = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(W);
|
|
@@ -75337,8 +75356,8 @@ async function hM(t, e) {
|
|
|
75337
75356
|
}), h.select(".name").attr("transform", "translate(" + -u.width / 2 + ", " + (L + a / 2) + ")");
|
|
75338
75357
|
const P = C.rectangle(I, L, k, E, A), D = h.insert(() => P, ":first-child").attr("style", s.join("")), { themeVariables: R } = Sa(), { rowEven: M, rowOdd: O, nodeBorder: B } = R;
|
|
75339
75358
|
d.push(0);
|
|
75340
|
-
for (const [
|
|
75341
|
-
const K = (
|
|
75359
|
+
for (const [U, q] of p.entries()) {
|
|
75360
|
+
const K = (U + 1) % 2 === 0 && q.yOffset !== 0, W = C.rectangle(I, u.height + L + q?.yOffset, k, q?.rowHeight, {
|
|
75342
75361
|
...A,
|
|
75343
75362
|
fill: K ? M : O,
|
|
75344
75363
|
stroke: B
|
|
@@ -75359,20 +75378,20 @@ async function hM(t, e) {
|
|
|
75359
75378
|
E + L,
|
|
75360
75379
|
A
|
|
75361
75380
|
), h.insert(() => N).attr("class", "divider"));
|
|
75362
|
-
for (const
|
|
75381
|
+
for (const U of d)
|
|
75363
75382
|
N = C.line(
|
|
75364
75383
|
I,
|
|
75365
|
-
u.height + L +
|
|
75384
|
+
u.height + L + U,
|
|
75366
75385
|
k + I,
|
|
75367
|
-
u.height + L +
|
|
75386
|
+
u.height + L + U,
|
|
75368
75387
|
A
|
|
75369
75388
|
), h.insert(() => N).attr("class", "divider");
|
|
75370
75389
|
if (vt(e, D), l && e.look !== "handDrawn") {
|
|
75371
|
-
const q = l.split(";")?.filter((
|
|
75390
|
+
const q = l.split(";")?.filter((H) => H.includes("stroke"))?.map((H) => `${H}`).join("; ");
|
|
75372
75391
|
h.selectAll("path").attr("style", q ?? ""), h.selectAll(".row-rect-even path").attr("style", l);
|
|
75373
75392
|
}
|
|
75374
|
-
return e.intersect = function(
|
|
75375
|
-
return st.rect(e,
|
|
75393
|
+
return e.intersect = function(U) {
|
|
75394
|
+
return st.rect(e, U);
|
|
75376
75395
|
}, h;
|
|
75377
75396
|
}
|
|
75378
75397
|
F(hM, "erBox");
|
|
@@ -76679,10 +76698,10 @@ var SF = /* @__PURE__ */ F(function(t, e, r) {
|
|
|
76679
76698
|
let D = w.attr("d");
|
|
76680
76699
|
w.attr("d", D), t.node().appendChild(w.node());
|
|
76681
76700
|
} else {
|
|
76682
|
-
const L = d.join(";"), P = S ? S.reduce((
|
|
76701
|
+
const L = d.join(";"), P = S ? S.reduce((U, q) => U + q + ";", "") : "";
|
|
76683
76702
|
let D = "";
|
|
76684
76703
|
e.animate && (D = " edge-animation-fast"), e.animation && (D = " edge-animation-" + e.animation);
|
|
76685
|
-
const R = (L ? L + ";" + P + ";" : P) + ";" + (S ? S.reduce((
|
|
76704
|
+
const R = (L ? L + ";" + P + ";" : P) + ";" + (S ? S.reduce((U, q) => U + ";" + q, "") : "");
|
|
76686
76705
|
w = t.append("path").attr("d", _).attr("id", e.id).attr(
|
|
76687
76706
|
"class",
|
|
76688
76707
|
" " + b + (e.classes ? " " + e.classes : "") + (D ?? "")
|
|
@@ -76835,11 +76854,11 @@ var eEe = /* @__PURE__ */ F((t, e, r, n) => {
|
|
|
76835
76854
|
ite([
|
|
76836
76855
|
{
|
|
76837
76856
|
name: "dagre",
|
|
76838
|
-
loader: /* @__PURE__ */ F(async () => await import("./dagre-6UL2VRFP-
|
|
76857
|
+
loader: /* @__PURE__ */ F(async () => await import("./dagre-6UL2VRFP-h3aG3Eit.js"), "loader")
|
|
76839
76858
|
},
|
|
76840
76859
|
{
|
|
76841
76860
|
name: "cose-bilkent",
|
|
76842
|
-
loader: /* @__PURE__ */ F(async () => await import("./cose-bilkent-S5V4N54A-
|
|
76861
|
+
loader: /* @__PURE__ */ F(async () => await import("./cose-bilkent-S5V4N54A-mCfSSHF0.js"), "loader")
|
|
76843
76862
|
}
|
|
76844
76863
|
]);
|
|
76845
76864
|
}, "registerDefaultLayoutLoaders");
|
|
@@ -77186,119 +77205,119 @@ function MF(t) {
|
|
|
77186
77205
|
return !0;
|
|
77187
77206
|
}
|
|
77188
77207
|
var ute = "c4", ZEe = /* @__PURE__ */ F((t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), "detector"), JEe = /* @__PURE__ */ F(async () => {
|
|
77189
|
-
const { diagram: t } = await import("./c4Diagram-YG6GDRKO-
|
|
77208
|
+
const { diagram: t } = await import("./c4Diagram-YG6GDRKO-BoeKXCsQ.js");
|
|
77190
77209
|
return { id: ute, diagram: t };
|
|
77191
77210
|
}, "loader"), QEe = {
|
|
77192
77211
|
id: ute,
|
|
77193
77212
|
detector: ZEe,
|
|
77194
77213
|
loader: JEe
|
|
77195
77214
|
}, eIe = QEe, fte = "flowchart", tIe = /* @__PURE__ */ F((t, e) => e?.flowchart?.defaultRenderer === "dagre-wrapper" || e?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(t), "detector"), rIe = /* @__PURE__ */ F(async () => {
|
|
77196
|
-
const { diagram: t } = await import("./flowDiagram-NV44I4VS-
|
|
77215
|
+
const { diagram: t } = await import("./flowDiagram-NV44I4VS-00yL4w5I.js");
|
|
77197
77216
|
return { id: fte, diagram: t };
|
|
77198
77217
|
}, "loader"), nIe = {
|
|
77199
77218
|
id: fte,
|
|
77200
77219
|
detector: tIe,
|
|
77201
77220
|
loader: rIe
|
|
77202
77221
|
}, iIe = nIe, dte = "flowchart-v2", aIe = /* @__PURE__ */ F((t, e) => e?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (e?.flowchart?.defaultRenderer === "elk" && (e.layout = "elk"), /^\s*graph/.test(t) && e?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t)), "detector"), sIe = /* @__PURE__ */ F(async () => {
|
|
77203
|
-
const { diagram: t } = await import("./flowDiagram-NV44I4VS-
|
|
77222
|
+
const { diagram: t } = await import("./flowDiagram-NV44I4VS-00yL4w5I.js");
|
|
77204
77223
|
return { id: dte, diagram: t };
|
|
77205
77224
|
}, "loader"), oIe = {
|
|
77206
77225
|
id: dte,
|
|
77207
77226
|
detector: aIe,
|
|
77208
77227
|
loader: sIe
|
|
77209
77228
|
}, lIe = oIe, pte = "er", cIe = /* @__PURE__ */ F((t) => /^\s*erDiagram/.test(t), "detector"), hIe = /* @__PURE__ */ F(async () => {
|
|
77210
|
-
const { diagram: t } = await import("./erDiagram-Q2GNP2WA-
|
|
77229
|
+
const { diagram: t } = await import("./erDiagram-Q2GNP2WA-Dz6QdUJ1.js");
|
|
77211
77230
|
return { id: pte, diagram: t };
|
|
77212
77231
|
}, "loader"), uIe = {
|
|
77213
77232
|
id: pte,
|
|
77214
77233
|
detector: cIe,
|
|
77215
77234
|
loader: hIe
|
|
77216
77235
|
}, fIe = uIe, gte = "gitGraph", dIe = /* @__PURE__ */ F((t) => /^\s*gitGraph/.test(t), "detector"), pIe = /* @__PURE__ */ F(async () => {
|
|
77217
|
-
const { diagram: t } = await import("./gitGraphDiagram-NY62KEGX-
|
|
77236
|
+
const { diagram: t } = await import("./gitGraphDiagram-NY62KEGX-BFHy-Ukp.js");
|
|
77218
77237
|
return { id: gte, diagram: t };
|
|
77219
77238
|
}, "loader"), gIe = {
|
|
77220
77239
|
id: gte,
|
|
77221
77240
|
detector: dIe,
|
|
77222
77241
|
loader: pIe
|
|
77223
77242
|
}, mIe = gIe, mte = "gantt", vIe = /* @__PURE__ */ F((t) => /^\s*gantt/.test(t), "detector"), yIe = /* @__PURE__ */ F(async () => {
|
|
77224
|
-
const { diagram: t } = await import("./ganttDiagram-JELNMOA3-
|
|
77243
|
+
const { diagram: t } = await import("./ganttDiagram-JELNMOA3-CwB_ECXW.js");
|
|
77225
77244
|
return { id: mte, diagram: t };
|
|
77226
77245
|
}, "loader"), xIe = {
|
|
77227
77246
|
id: mte,
|
|
77228
77247
|
detector: vIe,
|
|
77229
77248
|
loader: yIe
|
|
77230
77249
|
}, bIe = xIe, vte = "info", wIe = /* @__PURE__ */ F((t) => /^\s*info/.test(t), "detector"), _Ie = /* @__PURE__ */ F(async () => {
|
|
77231
|
-
const { diagram: t } = await import("./infoDiagram-WHAUD3N6-
|
|
77250
|
+
const { diagram: t } = await import("./infoDiagram-WHAUD3N6-B9NvR6xF.js");
|
|
77232
77251
|
return { id: vte, diagram: t };
|
|
77233
77252
|
}, "loader"), SIe = {
|
|
77234
77253
|
id: vte,
|
|
77235
77254
|
detector: wIe,
|
|
77236
77255
|
loader: _Ie
|
|
77237
77256
|
}, yte = "pie", CIe = /* @__PURE__ */ F((t) => /^\s*pie/.test(t), "detector"), AIe = /* @__PURE__ */ F(async () => {
|
|
77238
|
-
const { diagram: t } = await import("./pieDiagram-ADFJNKIX-
|
|
77257
|
+
const { diagram: t } = await import("./pieDiagram-ADFJNKIX-cx62aPb6.js");
|
|
77239
77258
|
return { id: yte, diagram: t };
|
|
77240
77259
|
}, "loader"), TIe = {
|
|
77241
77260
|
id: yte,
|
|
77242
77261
|
detector: CIe,
|
|
77243
77262
|
loader: AIe
|
|
77244
77263
|
}, xte = "quadrantChart", kIe = /* @__PURE__ */ F((t) => /^\s*quadrantChart/.test(t), "detector"), EIe = /* @__PURE__ */ F(async () => {
|
|
77245
|
-
const { diagram: t } = await import("./quadrantDiagram-AYHSOK5B-
|
|
77264
|
+
const { diagram: t } = await import("./quadrantDiagram-AYHSOK5B-m3Mmu_ZE.js");
|
|
77246
77265
|
return { id: xte, diagram: t };
|
|
77247
77266
|
}, "loader"), IIe = {
|
|
77248
77267
|
id: xte,
|
|
77249
77268
|
detector: kIe,
|
|
77250
77269
|
loader: EIe
|
|
77251
77270
|
}, DIe = IIe, bte = "xychart", MIe = /* @__PURE__ */ F((t) => /^\s*xychart(-beta)?/.test(t), "detector"), LIe = /* @__PURE__ */ F(async () => {
|
|
77252
|
-
const { diagram: t } = await import("./xychartDiagram-PRI3JC2R-
|
|
77271
|
+
const { diagram: t } = await import("./xychartDiagram-PRI3JC2R-D_ty3dT7.js");
|
|
77253
77272
|
return { id: bte, diagram: t };
|
|
77254
77273
|
}, "loader"), PIe = {
|
|
77255
77274
|
id: bte,
|
|
77256
77275
|
detector: MIe,
|
|
77257
77276
|
loader: LIe
|
|
77258
77277
|
}, RIe = PIe, wte = "requirement", NIe = /* @__PURE__ */ F((t) => /^\s*requirement(Diagram)?/.test(t), "detector"), OIe = /* @__PURE__ */ F(async () => {
|
|
77259
|
-
const { diagram: t } = await import("./requirementDiagram-UZGBJVZJ-
|
|
77278
|
+
const { diagram: t } = await import("./requirementDiagram-UZGBJVZJ-BvT1dnbN.js");
|
|
77260
77279
|
return { id: wte, diagram: t };
|
|
77261
77280
|
}, "loader"), BIe = {
|
|
77262
77281
|
id: wte,
|
|
77263
77282
|
detector: NIe,
|
|
77264
77283
|
loader: OIe
|
|
77265
77284
|
}, FIe = BIe, _te = "sequence", $Ie = /* @__PURE__ */ F((t) => /^\s*sequenceDiagram/.test(t), "detector"), zIe = /* @__PURE__ */ F(async () => {
|
|
77266
|
-
const { diagram: t } = await import("./sequenceDiagram-WL72ISMW-
|
|
77285
|
+
const { diagram: t } = await import("./sequenceDiagram-WL72ISMW-DRnyRMBQ.js");
|
|
77267
77286
|
return { id: _te, diagram: t };
|
|
77268
77287
|
}, "loader"), VIe = {
|
|
77269
77288
|
id: _te,
|
|
77270
77289
|
detector: $Ie,
|
|
77271
77290
|
loader: zIe
|
|
77272
77291
|
}, UIe = VIe, Ste = "class", HIe = /* @__PURE__ */ F((t, e) => e?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t), "detector"), jIe = /* @__PURE__ */ F(async () => {
|
|
77273
|
-
const { diagram: t } = await import("./classDiagram-2ON5EDUG-
|
|
77292
|
+
const { diagram: t } = await import("./classDiagram-2ON5EDUG-DJcz4a-5.js");
|
|
77274
77293
|
return { id: Ste, diagram: t };
|
|
77275
77294
|
}, "loader"), GIe = {
|
|
77276
77295
|
id: Ste,
|
|
77277
77296
|
detector: HIe,
|
|
77278
77297
|
loader: jIe
|
|
77279
77298
|
}, WIe = GIe, Cte = "classDiagram", qIe = /* @__PURE__ */ F((t, e) => /^\s*classDiagram/.test(t) && e?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t), "detector"), XIe = /* @__PURE__ */ F(async () => {
|
|
77280
|
-
const { diagram: t } = await import("./classDiagram-v2-WZHVMYZB-
|
|
77299
|
+
const { diagram: t } = await import("./classDiagram-v2-WZHVMYZB-DJcz4a-5.js");
|
|
77281
77300
|
return { id: Cte, diagram: t };
|
|
77282
77301
|
}, "loader"), YIe = {
|
|
77283
77302
|
id: Cte,
|
|
77284
77303
|
detector: qIe,
|
|
77285
77304
|
loader: XIe
|
|
77286
77305
|
}, KIe = YIe, Ate = "state", ZIe = /* @__PURE__ */ F((t, e) => e?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t), "detector"), JIe = /* @__PURE__ */ F(async () => {
|
|
77287
|
-
const { diagram: t } = await import("./stateDiagram-FKZM4ZOC-
|
|
77306
|
+
const { diagram: t } = await import("./stateDiagram-FKZM4ZOC-BTnxALJA.js");
|
|
77288
77307
|
return { id: Ate, diagram: t };
|
|
77289
77308
|
}, "loader"), QIe = {
|
|
77290
77309
|
id: Ate,
|
|
77291
77310
|
detector: ZIe,
|
|
77292
77311
|
loader: JIe
|
|
77293
77312
|
}, eDe = QIe, Tte = "stateDiagram", tDe = /* @__PURE__ */ F((t, e) => !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && e?.state?.defaultRenderer === "dagre-wrapper"), "detector"), rDe = /* @__PURE__ */ F(async () => {
|
|
77294
|
-
const { diagram: t } = await import("./stateDiagram-v2-4FDKWEC3-
|
|
77313
|
+
const { diagram: t } = await import("./stateDiagram-v2-4FDKWEC3-C9jsY118.js");
|
|
77295
77314
|
return { id: Tte, diagram: t };
|
|
77296
77315
|
}, "loader"), nDe = {
|
|
77297
77316
|
id: Tte,
|
|
77298
77317
|
detector: tDe,
|
|
77299
77318
|
loader: rDe
|
|
77300
77319
|
}, iDe = nDe, kte = "journey", aDe = /* @__PURE__ */ F((t) => /^\s*journey/.test(t), "detector"), sDe = /* @__PURE__ */ F(async () => {
|
|
77301
|
-
const { diagram: t } = await import("./journeyDiagram-XKPGCS4Q-
|
|
77320
|
+
const { diagram: t } = await import("./journeyDiagram-XKPGCS4Q-vMQQBx2x.js");
|
|
77302
77321
|
return { id: kte, diagram: t };
|
|
77303
77322
|
}, "loader"), oDe = {
|
|
77304
77323
|
id: kte,
|
|
@@ -77339,70 +77358,70 @@ var ute = "c4", ZEe = /* @__PURE__ */ F((t) => /^\s*C4Context|C4Container|C4Comp
|
|
|
77339
77358
|
/^\s*flowchart-elk/.test(t) || // If a flowchart/graph diagram has their default renderer set to elk
|
|
77340
77359
|
/^\s*(flowchart|graph)/.test(t) && e?.flowchart?.defaultRenderer === "elk" ? (e.layout = "elk", !0) : !1
|
|
77341
77360
|
), "detector"), pDe = /* @__PURE__ */ F(async () => {
|
|
77342
|
-
const { diagram: t } = await import("./flowDiagram-NV44I4VS-
|
|
77361
|
+
const { diagram: t } = await import("./flowDiagram-NV44I4VS-00yL4w5I.js");
|
|
77343
77362
|
return { id: Ite, diagram: t };
|
|
77344
77363
|
}, "loader"), gDe = {
|
|
77345
77364
|
id: Ite,
|
|
77346
77365
|
detector: dDe,
|
|
77347
77366
|
loader: pDe
|
|
77348
77367
|
}, mDe = gDe, Dte = "timeline", vDe = /* @__PURE__ */ F((t) => /^\s*timeline/.test(t), "detector"), yDe = /* @__PURE__ */ F(async () => {
|
|
77349
|
-
const { diagram: t } = await import("./timeline-definition-IT6M3QCI-
|
|
77368
|
+
const { diagram: t } = await import("./timeline-definition-IT6M3QCI-B_JS32x1.js");
|
|
77350
77369
|
return { id: Dte, diagram: t };
|
|
77351
77370
|
}, "loader"), xDe = {
|
|
77352
77371
|
id: Dte,
|
|
77353
77372
|
detector: vDe,
|
|
77354
77373
|
loader: yDe
|
|
77355
77374
|
}, bDe = xDe, Mte = "mindmap", wDe = /* @__PURE__ */ F((t) => /^\s*mindmap/.test(t), "detector"), _De = /* @__PURE__ */ F(async () => {
|
|
77356
|
-
const { diagram: t } = await import("./mindmap-definition-VGOIOE7T-
|
|
77375
|
+
const { diagram: t } = await import("./mindmap-definition-VGOIOE7T-C8T6Pk39.js");
|
|
77357
77376
|
return { id: Mte, diagram: t };
|
|
77358
77377
|
}, "loader"), SDe = {
|
|
77359
77378
|
id: Mte,
|
|
77360
77379
|
detector: wDe,
|
|
77361
77380
|
loader: _De
|
|
77362
77381
|
}, CDe = SDe, Lte = "kanban", ADe = /* @__PURE__ */ F((t) => /^\s*kanban/.test(t), "detector"), TDe = /* @__PURE__ */ F(async () => {
|
|
77363
|
-
const { diagram: t } = await import("./kanban-definition-3W4ZIXB7-
|
|
77382
|
+
const { diagram: t } = await import("./kanban-definition-3W4ZIXB7-CJwLai2q.js");
|
|
77364
77383
|
return { id: Lte, diagram: t };
|
|
77365
77384
|
}, "loader"), kDe = {
|
|
77366
77385
|
id: Lte,
|
|
77367
77386
|
detector: ADe,
|
|
77368
77387
|
loader: TDe
|
|
77369
77388
|
}, EDe = kDe, Pte = "sankey", IDe = /* @__PURE__ */ F((t) => /^\s*sankey(-beta)?/.test(t), "detector"), DDe = /* @__PURE__ */ F(async () => {
|
|
77370
|
-
const { diagram: t } = await import("./sankeyDiagram-TZEHDZUN-
|
|
77389
|
+
const { diagram: t } = await import("./sankeyDiagram-TZEHDZUN-B9Bt-Qbp.js");
|
|
77371
77390
|
return { id: Pte, diagram: t };
|
|
77372
77391
|
}, "loader"), MDe = {
|
|
77373
77392
|
id: Pte,
|
|
77374
77393
|
detector: IDe,
|
|
77375
77394
|
loader: DDe
|
|
77376
77395
|
}, LDe = MDe, Rte = "packet", PDe = /* @__PURE__ */ F((t) => /^\s*packet(-beta)?/.test(t), "detector"), RDe = /* @__PURE__ */ F(async () => {
|
|
77377
|
-
const { diagram: t } = await import("./diagram-S2PKOQOG-
|
|
77396
|
+
const { diagram: t } = await import("./diagram-S2PKOQOG-PXk8DFch.js");
|
|
77378
77397
|
return { id: Rte, diagram: t };
|
|
77379
77398
|
}, "loader"), NDe = {
|
|
77380
77399
|
id: Rte,
|
|
77381
77400
|
detector: PDe,
|
|
77382
77401
|
loader: RDe
|
|
77383
77402
|
}, Nte = "radar", ODe = /* @__PURE__ */ F((t) => /^\s*radar-beta/.test(t), "detector"), BDe = /* @__PURE__ */ F(async () => {
|
|
77384
|
-
const { diagram: t } = await import("./diagram-QEK2KX5R-
|
|
77403
|
+
const { diagram: t } = await import("./diagram-QEK2KX5R-Dqs_3Tnd.js");
|
|
77385
77404
|
return { id: Nte, diagram: t };
|
|
77386
77405
|
}, "loader"), FDe = {
|
|
77387
77406
|
id: Nte,
|
|
77388
77407
|
detector: ODe,
|
|
77389
77408
|
loader: BDe
|
|
77390
77409
|
}, Ote = "block", $De = /* @__PURE__ */ F((t) => /^\s*block(-beta)?/.test(t), "detector"), zDe = /* @__PURE__ */ F(async () => {
|
|
77391
|
-
const { diagram: t } = await import("./blockDiagram-VD42YOAC-
|
|
77410
|
+
const { diagram: t } = await import("./blockDiagram-VD42YOAC-Cfo_UQOu.js");
|
|
77392
77411
|
return { id: Ote, diagram: t };
|
|
77393
77412
|
}, "loader"), VDe = {
|
|
77394
77413
|
id: Ote,
|
|
77395
77414
|
detector: $De,
|
|
77396
77415
|
loader: zDe
|
|
77397
77416
|
}, UDe = VDe, Bte = "architecture", HDe = /* @__PURE__ */ F((t) => /^\s*architecture/.test(t), "detector"), jDe = /* @__PURE__ */ F(async () => {
|
|
77398
|
-
const { diagram: t } = await import("./architectureDiagram-VXUJARFQ-
|
|
77417
|
+
const { diagram: t } = await import("./architectureDiagram-VXUJARFQ-Cvfzj6QT.js");
|
|
77399
77418
|
return { id: Bte, diagram: t };
|
|
77400
77419
|
}, "loader"), GDe = {
|
|
77401
77420
|
id: Bte,
|
|
77402
77421
|
detector: HDe,
|
|
77403
77422
|
loader: jDe
|
|
77404
77423
|
}, WDe = GDe, Fte = "treemap", qDe = /* @__PURE__ */ F((t) => /^\s*treemap/.test(t), "detector"), XDe = /* @__PURE__ */ F(async () => {
|
|
77405
|
-
const { diagram: t } = await import("./diagram-PSM6KHXK-
|
|
77424
|
+
const { diagram: t } = await import("./diagram-PSM6KHXK-BEqLT6_4.js");
|
|
77406
77425
|
return { id: Fte, diagram: t };
|
|
77407
77426
|
}, "loader"), YDe = {
|
|
77408
77427
|
id: Fte,
|
|
@@ -77976,7 +77995,7 @@ ${String(o)}</pre>`
|
|
|
77976
77995
|
}
|
|
77977
77996
|
) }),
|
|
77978
77997
|
/* @__PURE__ */ z.jsxs("span", { className: l.label, "aria-label": "step-label", children: [
|
|
77979
|
-
/* @__PURE__ */ z.jsx(
|
|
77998
|
+
/* @__PURE__ */ z.jsx(Nr, { icon: t.icon || t.placeholderIcon || "dot" }),
|
|
77980
77999
|
/* @__PURE__ */ z.jsx(
|
|
77981
78000
|
ai,
|
|
77982
78001
|
{
|
|
@@ -78010,9 +78029,9 @@ ${String(o)}</pre>`
|
|
|
78010
78029
|
isCompleted: d < c,
|
|
78011
78030
|
isActive: d === c,
|
|
78012
78031
|
isLast: d === o.length - 1,
|
|
78013
|
-
showDecode:
|
|
78014
|
-
showDot:
|
|
78015
|
-
step:
|
|
78032
|
+
showDecode: Pr(e),
|
|
78033
|
+
showDot: Pr(r),
|
|
78034
|
+
step: Pr(n)
|
|
78016
78035
|
},
|
|
78017
78036
|
d
|
|
78018
78037
|
)) });
|
|
@@ -82655,11 +82674,11 @@ function aRe(t, e, r, n, i) {
|
|
|
82655
82674
|
I.percentWidth = B, v.push(I), I.contentWidth = Ec(kc(R), I.text);
|
|
82656
82675
|
else {
|
|
82657
82676
|
if (N) {
|
|
82658
|
-
var
|
|
82677
|
+
var U = L.backgroundColor, q = U && U.image;
|
|
82659
82678
|
q && (q = QPe(q), J5(q) && (I.width = Math.max(I.width, q.width * M / q.height)));
|
|
82660
82679
|
}
|
|
82661
|
-
var
|
|
82662
|
-
|
|
82680
|
+
var H = b && h != null ? h - k : null;
|
|
82681
|
+
H != null && H < I.width ? !N || H < D ? (I.text = "", I.width = I.contentWidth = 0) : (eRe(_, I.text, H - D, R, e.ellipsis, { minChar: e.truncateMinChar }), I.text = _.text, a.isTruncated = a.isTruncated || _.isTruncated, I.width = I.contentWidth = Ec(kc(R), I.text)) : I.contentWidth = Ec(kc(R), I.text);
|
|
82663
82682
|
}
|
|
82664
82683
|
I.width += D, k += I.width, L && (T = Math.max(T, I.lineHeight));
|
|
82665
82684
|
}
|
|
@@ -83184,14 +83203,14 @@ var Fc = (function() {
|
|
|
83184
83203
|
break;
|
|
83185
83204
|
}
|
|
83186
83205
|
case jr.A:
|
|
83187
|
-
var B = n[_++], N = n[_++],
|
|
83206
|
+
var B = n[_++], N = n[_++], U = n[_++], q = n[_++], H = n[_++], K = n[_++], W = n[_++], V = !n[_++], X = U > q ? U : q, G = rh(U - q) > 1e-3, j = H + K, Y = !1;
|
|
83188
83207
|
if (d) {
|
|
83189
83208
|
var k = p[v++];
|
|
83190
|
-
m + k > y && (j =
|
|
83209
|
+
m + k > y && (j = H + K * (y - m) / k, Y = !0), m += k;
|
|
83191
83210
|
}
|
|
83192
|
-
if (G && e.ellipse ? e.ellipse(B, N,
|
|
83211
|
+
if (G && e.ellipse ? e.ellipse(B, N, U, q, W, H, j, V) : e.arc(B, N, X, H, j, V), Y)
|
|
83193
83212
|
break e;
|
|
83194
|
-
C && (o = Qf(
|
|
83213
|
+
C && (o = Qf(H) * U + B, l = ed(H) * q + N), c = Qf(j) * U + B, h = ed(j) * q + N;
|
|
83195
83214
|
break;
|
|
83196
83215
|
case jr.R:
|
|
83197
83216
|
o = c = n[_], l = h = n[_ + 1], u = n[_++], f = n[_++];
|
|
@@ -84587,9 +84606,9 @@ function fNe(t, e) {
|
|
|
84587
84606
|
B && (r = uNe(B), g = r[0], m = r[1], v = r[2], y = r[3]);
|
|
84588
84607
|
var N = Q$(n - i) / 2;
|
|
84589
84608
|
if (x = Gl(N, v), b = Gl(N, y), w = Gl(N, g), _ = Gl(N, m), A = S = ny(x, b), T = C = ny(w, _), (S > Xo || C > Xo) && (k = n * Rp(c), E = n * rd(c), I = i * Rp(l), L = i * rd(l), d < xne)) {
|
|
84590
|
-
var
|
|
84591
|
-
if (
|
|
84592
|
-
var q = P -
|
|
84609
|
+
var U = hNe(P, D, I, L, k, E, R, M);
|
|
84610
|
+
if (U) {
|
|
84611
|
+
var q = P - U[0], H = D - U[1], K = k - U[0], W = E - U[1], V = 1 / rd(cNe((q * K + H * W) / (Oy(q * q + H * H) * Oy(K * K + W * W))) / 2), X = Oy(U[0] * U[0] + U[1] * U[1]);
|
|
84593
84612
|
A = Gl(S, (n - X) / (V + 1)), T = Gl(C, (i - X) / (V - 1));
|
|
84594
84613
|
}
|
|
84595
84614
|
}
|
|
@@ -89437,7 +89456,7 @@ function o1() {
|
|
|
89437
89456
|
return (i !== s || a !== o) && "reset";
|
|
89438
89457
|
};
|
|
89439
89458
|
}
|
|
89440
|
-
var Rie = zt(), IBe = o1(),
|
|
89459
|
+
var Rie = zt(), IBe = o1(), Br = (
|
|
89441
89460
|
/** @class */
|
|
89442
89461
|
(function() {
|
|
89443
89462
|
function t() {
|
|
@@ -89496,8 +89515,8 @@ function $z(t, e, r) {
|
|
|
89496
89515
|
Fz(a, r, i);
|
|
89497
89516
|
});
|
|
89498
89517
|
}
|
|
89499
|
-
IM(
|
|
89500
|
-
Z5(
|
|
89518
|
+
IM(Br, ["dispose"]);
|
|
89519
|
+
Z5(Br);
|
|
89501
89520
|
function DBe(t) {
|
|
89502
89521
|
return IBe(t.model);
|
|
89503
89522
|
}
|
|
@@ -90892,8 +90911,8 @@ function Dm(t, e) {
|
|
|
90892
90911
|
if (N <= 0)
|
|
90893
90912
|
break;
|
|
90894
90913
|
if (O % 2 === 0) {
|
|
90895
|
-
var
|
|
90896
|
-
X(q,
|
|
90914
|
+
var U = (1 - s.symbolSize) * 0.5, q = M + m[D][O] * U, H = I + v[L] * U, K = m[D][O] * s.symbolSize, W = v[L] * s.symbolSize, V = B / 2 % y[R].length;
|
|
90915
|
+
X(q, H, K, W, y[R][V]);
|
|
90897
90916
|
}
|
|
90898
90917
|
M += m[D][O], ++B, ++O, O === m[D].length && (O = 0);
|
|
90899
90918
|
}
|
|
@@ -91484,7 +91503,7 @@ var hd, s6, Aw, ih, Tw, o6, l6, $p, zp, sV, oV, c6, lV, kw, cV, aae, fo, hV, Vp,
|
|
|
91484
91503
|
// For backward compat, still support a chart type declared as only subType
|
|
91485
91504
|
// like "liquidfill", but recommend "series.liquidfill"
|
|
91486
91505
|
// But need a base class to make a type series.
|
|
91487
|
-
|
|
91506
|
+
Br.getClass(T.sub)
|
|
91488
91507
|
);
|
|
91489
91508
|
process.env.NODE_ENV !== "production" && je(k, T.sub + " does not exist."), A = new k(), A.init(d, y), m[C] = A, g.push(A), v.add(A.group);
|
|
91490
91509
|
}
|
|
@@ -91585,7 +91604,7 @@ var hd, s6, Aw, ih, Tw, o6, l6, $p, zp, sV, oV, c6, lV, kw, cV, aae, fo, hV, Vp,
|
|
|
91585
91604
|
},
|
|
91586
91605
|
updateView: function(u) {
|
|
91587
91606
|
var f = this._model;
|
|
91588
|
-
f && (f.setUpdatePayload(u),
|
|
91607
|
+
f && (f.setUpdatePayload(u), Br.markUpdateMethod(u, "updateView"), n(f), this._scheduler.performVisualTasks(f, u, {
|
|
91589
91608
|
setDirty: !0
|
|
91590
91609
|
}), c6(this, f, this._api, u, {}), Zo.trigger("afterupdate", f, this._api));
|
|
91591
91610
|
},
|
|
@@ -91593,7 +91612,7 @@ var hd, s6, Aw, ih, Tw, o6, l6, $p, zp, sV, oV, c6, lV, kw, cV, aae, fo, hV, Vp,
|
|
|
91593
91612
|
var f = this, d = this._model;
|
|
91594
91613
|
d && (d.setUpdatePayload(u), d.eachSeries(function(p) {
|
|
91595
91614
|
p.getData().clearAllVisual();
|
|
91596
|
-
}),
|
|
91615
|
+
}), Br.markUpdateMethod(u, "updateVisual"), n(d), this._scheduler.performVisualTasks(d, u, {
|
|
91597
91616
|
visualType: "visual",
|
|
91598
91617
|
setDirty: !0
|
|
91599
91618
|
}), d.eachComponent(function(p, g) {
|
|
@@ -92059,7 +92078,7 @@ var dV = [], QFe = {
|
|
|
92059
92078
|
ComponentModel: Ut,
|
|
92060
92079
|
ComponentView: rn,
|
|
92061
92080
|
SeriesModel: Yr,
|
|
92062
|
-
ChartView:
|
|
92081
|
+
ChartView: Br,
|
|
92063
92082
|
// TODO Use ComponentModel and SeriesModel instead of Constructor
|
|
92064
92083
|
registerComponentModel: function(t) {
|
|
92065
92084
|
Ut.registerClass(t);
|
|
@@ -92071,7 +92090,7 @@ var dV = [], QFe = {
|
|
|
92071
92090
|
Yr.registerClass(t);
|
|
92072
92091
|
},
|
|
92073
92092
|
registerChartView: function(t) {
|
|
92074
|
-
|
|
92093
|
+
Br.registerClass(t);
|
|
92075
92094
|
},
|
|
92076
92095
|
registerCustomSeries: function(t, e) {
|
|
92077
92096
|
kFe(t, e);
|
|
@@ -93400,19 +93419,19 @@ function Cae(t) {
|
|
|
93400
93419
|
u && (R = +L - E.get(s, k));
|
|
93401
93420
|
var M = void 0, O = void 0, B = void 0, N = void 0;
|
|
93402
93421
|
if (f) {
|
|
93403
|
-
var
|
|
93422
|
+
var U = n.dataToPoint([L, P]);
|
|
93404
93423
|
if (u) {
|
|
93405
93424
|
var q = n.dataToPoint([R, P]);
|
|
93406
93425
|
D = q[0];
|
|
93407
93426
|
}
|
|
93408
|
-
M = D, O =
|
|
93427
|
+
M = D, O = U[1] + y, B = U[0] - D, N = v, Math.abs(B) < g && (B = (B < 0 ? -1 : 1) * g);
|
|
93409
93428
|
} else {
|
|
93410
|
-
var
|
|
93429
|
+
var U = n.dataToPoint([P, L]);
|
|
93411
93430
|
if (u) {
|
|
93412
93431
|
var q = n.dataToPoint([P, R]);
|
|
93413
93432
|
D = q[1];
|
|
93414
93433
|
}
|
|
93415
|
-
M =
|
|
93434
|
+
M = U[0] + y, O = D, B = v, N = U[1] - D, Math.abs(N) < g && (N = (N <= 0 ? -1 : 1) * g);
|
|
93416
93435
|
}
|
|
93417
93436
|
p ? (_[I] = M, _[I + 1] = O, _[I + 2] = f ? B : N, S && (S[I] = f ? A.x : M, S[I + 1] = f ? O : A.y, S[I + 2] = T), C[k] = k) : b.setItemLayout(k, {
|
|
93418
93437
|
x: M,
|
|
@@ -93584,16 +93603,16 @@ function F$e(t, e) {
|
|
|
93584
93603
|
function $$e(t, e, r, n, i, a) {
|
|
93585
93604
|
var s = 1e4, o = ZNe, l = 0;
|
|
93586
93605
|
function c(I, L, P, D, R, M, O) {
|
|
93587
|
-
for (var B = F$e(R, I), N = L,
|
|
93606
|
+
for (var B = F$e(R, I), N = L, U = new Date(N); N < P && N <= n[1]; ) {
|
|
93588
93607
|
if (O.push({
|
|
93589
93608
|
value: N
|
|
93590
93609
|
}), l++ > s) {
|
|
93591
93610
|
process.env.NODE_ENV !== "production" && hn("Exceed safe limit in time scale.");
|
|
93592
93611
|
break;
|
|
93593
93612
|
}
|
|
93594
|
-
if (
|
|
93613
|
+
if (U[R](U[D]() + I), N = U.getTime(), a) {
|
|
93595
93614
|
var q = a.calcNiceTickMultiple(N, B);
|
|
93596
|
-
q > 0 && (
|
|
93615
|
+
q > 0 && (U[R](U[D]() + q * I), N = U.getTime());
|
|
93597
93616
|
}
|
|
93598
93617
|
}
|
|
93599
93618
|
O.push({
|
|
@@ -93612,38 +93631,38 @@ function $$e(t, e, r, n, i, a) {
|
|
|
93612
93631
|
for (var M = 0; M < L.length - 1; M++) {
|
|
93613
93632
|
var O = L[M].value, B = L[M + 1].value;
|
|
93614
93633
|
if (O !== B) {
|
|
93615
|
-
var N = void 0,
|
|
93634
|
+
var N = void 0, U = void 0, q = void 0, H = !1;
|
|
93616
93635
|
switch (I) {
|
|
93617
93636
|
case "year":
|
|
93618
|
-
N = Math.max(1, Math.round(e / Mo / 365)),
|
|
93637
|
+
N = Math.max(1, Math.round(e / Mo / 365)), U = $ne(r), q = nOe(r);
|
|
93619
93638
|
break;
|
|
93620
93639
|
case "half-year":
|
|
93621
93640
|
case "quarter":
|
|
93622
93641
|
case "month":
|
|
93623
|
-
N = R$e(e),
|
|
93642
|
+
N = R$e(e), U = qM(r), q = zne(r);
|
|
93624
93643
|
break;
|
|
93625
93644
|
case "week":
|
|
93626
93645
|
// PENDING If week is added. Ignore day.
|
|
93627
93646
|
case "half-week":
|
|
93628
93647
|
case "day":
|
|
93629
|
-
N = P$e(e),
|
|
93648
|
+
N = P$e(e), U = XM(r), q = Vne(r), H = !0;
|
|
93630
93649
|
break;
|
|
93631
93650
|
case "half-day":
|
|
93632
93651
|
case "quarter-day":
|
|
93633
93652
|
case "hour":
|
|
93634
|
-
N = N$e(e),
|
|
93653
|
+
N = N$e(e), U = YM(r), q = Une(r);
|
|
93635
93654
|
break;
|
|
93636
93655
|
case "minute":
|
|
93637
|
-
N = bV(e, !0),
|
|
93656
|
+
N = bV(e, !0), U = KM(r), q = Hne(r);
|
|
93638
93657
|
break;
|
|
93639
93658
|
case "second":
|
|
93640
|
-
N = bV(e, !1),
|
|
93659
|
+
N = bV(e, !1), U = ZM(r), q = jne(r);
|
|
93641
93660
|
break;
|
|
93642
93661
|
case "millisecond":
|
|
93643
|
-
N = O$e(e),
|
|
93662
|
+
N = O$e(e), U = JM(r), q = Gne(r);
|
|
93644
93663
|
break;
|
|
93645
93664
|
}
|
|
93646
|
-
B >= n[0] && O <= n[1] && c(N, O, B,
|
|
93665
|
+
B >= n[0] && O <= n[1] && c(N, O, B, U, q, H, D), I === "year" && P.length > 1 && M === 0 && P.unshift({
|
|
93647
93666
|
value: P[0].value - N
|
|
93648
93667
|
});
|
|
93649
93668
|
}
|
|
@@ -95431,20 +95450,20 @@ function xC(t, e, r, n) {
|
|
|
95431
95450
|
return Hze[Y];
|
|
95432
95451
|
});
|
|
95433
95452
|
}
|
|
95434
|
-
for (var
|
|
95435
|
-
var K =
|
|
95453
|
+
for (var U = Yt(S), q = !0, H, T = 1; T < U.length; T++) {
|
|
95454
|
+
var K = U[T - 1], W = U[T];
|
|
95436
95455
|
if (S[K][_d] !== S[W][_d]) {
|
|
95437
95456
|
q = !1;
|
|
95438
95457
|
break;
|
|
95439
95458
|
}
|
|
95440
|
-
|
|
95459
|
+
H = S[K][_d];
|
|
95441
95460
|
}
|
|
95442
|
-
if (q &&
|
|
95461
|
+
if (q && H) {
|
|
95443
95462
|
for (var I in S)
|
|
95444
95463
|
S[I][_d] && delete S[I][_d];
|
|
95445
|
-
e[_d] =
|
|
95464
|
+
e[_d] = H;
|
|
95446
95465
|
}
|
|
95447
|
-
if (br(
|
|
95466
|
+
if (br(U, function(X) {
|
|
95448
95467
|
return Yt(S[X]).length > 0;
|
|
95449
95468
|
}).length) {
|
|
95450
95469
|
var V = tse(S, r);
|
|
@@ -96786,8 +96805,8 @@ function yVe(t, e, r, n, i, a, s, o) {
|
|
|
96786
96805
|
return g[K] - g[W];
|
|
96787
96806
|
});
|
|
96788
96807
|
for (var D = c.length, R = vc(D), M = vc(D), O = vc(D), B = vc(D), N = [], x = 0; x < p.length; x++) {
|
|
96789
|
-
var
|
|
96790
|
-
R[q] = c[
|
|
96808
|
+
var U = p[x], q = x * 2, H = U * 2;
|
|
96809
|
+
R[q] = c[H], R[q + 1] = c[H + 1], M[q] = h[H], M[q + 1] = h[H + 1], O[q] = u[H], O[q + 1] = u[H + 1], B[q] = f[H], B[q + 1] = f[H + 1], N[x] = d[U];
|
|
96791
96810
|
}
|
|
96792
96811
|
return {
|
|
96793
96812
|
current: R,
|
|
@@ -97300,23 +97319,23 @@ var DVe = (
|
|
|
97300
97319
|
smoothMonotone: N,
|
|
97301
97320
|
connectNulls: S
|
|
97302
97321
|
}), g) {
|
|
97303
|
-
var
|
|
97322
|
+
var U = o.getCalculationInfo("stackedOnSeries"), q = 0;
|
|
97304
97323
|
g.useStyle(it(c.getAreaStyle(), {
|
|
97305
97324
|
fill: E,
|
|
97306
97325
|
opacity: 0.7,
|
|
97307
97326
|
lineJoin: "bevel",
|
|
97308
97327
|
decal: o.getVisual("style").decal
|
|
97309
|
-
})),
|
|
97328
|
+
})), U && (q = JV(U.get("smooth"))), g.setShape({
|
|
97310
97329
|
smooth: B,
|
|
97311
97330
|
stackedOnSmooth: q,
|
|
97312
97331
|
smoothMonotone: N,
|
|
97313
97332
|
connectNulls: S
|
|
97314
97333
|
}), li(g, r, "areaStyle"), lt(g).seriesIndex = r.seriesIndex, on(g, D, R, M);
|
|
97315
97334
|
}
|
|
97316
|
-
var
|
|
97335
|
+
var H = this._changePolyState;
|
|
97317
97336
|
o.eachItemGraphicEl(function(K) {
|
|
97318
|
-
K && (K.onHoverStateChange =
|
|
97319
|
-
}), this._polyline.onHoverStateChange =
|
|
97337
|
+
K && (K.onHoverStateChange = H);
|
|
97338
|
+
}), this._polyline.onHoverStateChange = H, this._data = o, this._coordSys = a, this._stackedOnPoints = w, this._points = h, this._step = T, this._valueOrigin = x, r.get("triggerLineEvent") && (this.packEventData(r, p), g && this.packEventData(r, g));
|
|
97320
97339
|
}, e.prototype.packEventData = function(r, n) {
|
|
97321
97340
|
lt(n).eventData = {
|
|
97322
97341
|
componentType: "series",
|
|
@@ -97341,14 +97360,14 @@ var DVe = (
|
|
|
97341
97360
|
}
|
|
97342
97361
|
c.highlight();
|
|
97343
97362
|
} else
|
|
97344
|
-
|
|
97363
|
+
Br.prototype.highlight.call(this, r, n, i, a);
|
|
97345
97364
|
}, e.prototype.downplay = function(r, n, i, a) {
|
|
97346
97365
|
var s = r.getData(), o = R0(s, a);
|
|
97347
97366
|
if (this._changePolyState("normal"), o != null && o >= 0) {
|
|
97348
97367
|
var l = s.getItemGraphicEl(o);
|
|
97349
97368
|
l && (l.__temp ? (s.setItemGraphicEl(o, null), this.group.remove(l)) : l.downplay());
|
|
97350
97369
|
} else
|
|
97351
|
-
|
|
97370
|
+
Br.prototype.downplay.call(this, r, n, i, a);
|
|
97352
97371
|
}, e.prototype._changePolyState = function(r) {
|
|
97353
97372
|
var n = this._polygon;
|
|
97354
97373
|
H9(this._polyline, r), n && H9(n, r);
|
|
@@ -97519,7 +97538,7 @@ var DVe = (
|
|
|
97519
97538
|
a.__temp && (n.remove(a), i.setItemGraphicEl(s, null));
|
|
97520
97539
|
}), this._polyline = this._polygon = this._coordSys = this._points = this._stackedOnPoints = this._endLabel = this._data = null;
|
|
97521
97540
|
}, e.type = "line", e;
|
|
97522
|
-
})(
|
|
97541
|
+
})(Br)
|
|
97523
97542
|
);
|
|
97524
97543
|
function Xb(t, e) {
|
|
97525
97544
|
return {
|
|
@@ -97934,8 +97953,8 @@ var $Ve = (
|
|
|
97934
97953
|
if (B && (M && Nh(M, r, E), M = null), M ? Ho(M) : M = tU[c.type](r, o, k, L, u, f, h.model, !0, m), d && (M.forceLabelAnimation = !0), S) {
|
|
97935
97954
|
var N = M.getTextContent();
|
|
97936
97955
|
if (N) {
|
|
97937
|
-
var
|
|
97938
|
-
|
|
97956
|
+
var U = i1(N);
|
|
97957
|
+
U.prevValue != null && (U.prevValue = U.value);
|
|
97939
97958
|
}
|
|
97940
97959
|
} else
|
|
97941
97960
|
aU(M, o, k, I, L, r, u, c.type === "polar");
|
|
@@ -98042,7 +98061,7 @@ var $Ve = (
|
|
|
98042
98061
|
}, e.prototype._removeBackground = function() {
|
|
98043
98062
|
this.group.remove(this._backgroundGroup), this._backgroundGroup = null;
|
|
98044
98063
|
}, e.type = "bar", e;
|
|
98045
|
-
})(
|
|
98064
|
+
})(Br)
|
|
98046
98065
|
), eU = {
|
|
98047
98066
|
cartesian2d: function(t, e) {
|
|
98048
98067
|
var r = e.width < 0 ? -1 : 1, n = e.height < 0 ? -1 : 1;
|
|
@@ -98366,11 +98385,11 @@ function YVe(t, e, r) {
|
|
|
98366
98385
|
return;
|
|
98367
98386
|
}
|
|
98368
98387
|
w !== "area" ? O = y === 0 && _ ? x : R * x : O = E / v, O < m ? (O = m, I -= m) : L += R;
|
|
98369
|
-
var B = P + C * O, N = 0,
|
|
98370
|
-
p > O ? (N = P + C * O / 2,
|
|
98388
|
+
var B = P + C * O, N = 0, U = 0;
|
|
98389
|
+
p > O ? (N = P + C * O / 2, U = N) : (N = P + T, U = B - T), i.setItemLayout(M, {
|
|
98371
98390
|
angle: O,
|
|
98372
98391
|
startAngle: N,
|
|
98373
|
-
endAngle:
|
|
98392
|
+
endAngle: U,
|
|
98374
98393
|
clockwise: b,
|
|
98375
98394
|
cx: o,
|
|
98376
98395
|
cy: l,
|
|
@@ -98391,8 +98410,8 @@ function YVe(t, e, r) {
|
|
|
98391
98410
|
} else
|
|
98392
98411
|
x = I / L, P = f, i.each(a, function(R, M) {
|
|
98393
98412
|
if (!isNaN(R)) {
|
|
98394
|
-
var O = i.getItemLayout(M), B = O.angle === m ? m : R * x, N = 0,
|
|
98395
|
-
B < p ? (N = P + C * B / 2,
|
|
98413
|
+
var O = i.getItemLayout(M), B = O.angle === m ? m : R * x, N = 0, U = 0;
|
|
98414
|
+
B < p ? (N = P + C * B / 2, U = N) : (N = P + T, U = P + C * B - T), O.startAngle = N, O.endAngle = U, P += C * B;
|
|
98396
98415
|
}
|
|
98397
98416
|
});
|
|
98398
98417
|
});
|
|
@@ -98529,18 +98548,18 @@ function QVe(t) {
|
|
|
98529
98548
|
return;
|
|
98530
98549
|
}
|
|
98531
98550
|
if (p(A)) {
|
|
98532
|
-
var N = (C.startAngle + C.endAngle) / 2,
|
|
98551
|
+
var N = (C.startAngle + C.endAngle) / 2, U = Math.cos(N), q = Math.sin(N), H, K, W, V;
|
|
98533
98552
|
n = C.cx, i = C.cy;
|
|
98534
98553
|
var X = I === "inside" || I === "inner";
|
|
98535
98554
|
if (I === "center")
|
|
98536
|
-
|
|
98555
|
+
H = C.cx, K = C.cy, V = "center";
|
|
98537
98556
|
else {
|
|
98538
|
-
var G = (X ? (C.r + C.r0) / 2 *
|
|
98539
|
-
if (
|
|
98540
|
-
var Y = G +
|
|
98541
|
-
P === "edge" ?
|
|
98557
|
+
var G = (X ? (C.r + C.r0) / 2 * U : C.r * U) + n, j = (X ? (C.r + C.r0) / 2 * q : C.r * q) + i;
|
|
98558
|
+
if (H = G + U * 3, K = j + q * 3, !X) {
|
|
98559
|
+
var Y = G + U * (O + l - C.r), J = j + q * (O + l - C.r), ne = Y + (U < 0 ? -1 : 1) * B, de = J;
|
|
98560
|
+
P === "edge" ? H = U < 0 ? h + D : h + c - D : H = ne + (U < 0 ? -L : L), K = de, W = [[G, j], [Y, J], [ne, de]];
|
|
98542
98561
|
}
|
|
98543
|
-
V = X ? "center" : P === "edge" ?
|
|
98562
|
+
V = X ? "center" : P === "edge" ? U > 0 ? "right" : "left" : U > 0 ? "left" : "right";
|
|
98544
98563
|
}
|
|
98545
98564
|
var Ae = Math.PI, le = 0, re = E.get("rotate");
|
|
98546
98565
|
if (sr(re))
|
|
@@ -98548,15 +98567,15 @@ function QVe(t) {
|
|
|
98548
98567
|
else if (I === "center")
|
|
98549
98568
|
le = 0;
|
|
98550
98569
|
else if (re === "radial" || re === !0) {
|
|
98551
|
-
var se =
|
|
98570
|
+
var se = U < 0 ? -N + Ae : -N;
|
|
98552
98571
|
le = se;
|
|
98553
98572
|
} else if (re === "tangential" && I !== "outside" && I !== "outer") {
|
|
98554
|
-
var Se = Math.atan2(
|
|
98573
|
+
var Se = Math.atan2(U, q);
|
|
98555
98574
|
Se < 0 && (Se = Ae * 2 + Se);
|
|
98556
98575
|
var Te = q > 0;
|
|
98557
98576
|
Te && (Se = Ae + Se), le = Se - Ae;
|
|
98558
98577
|
}
|
|
98559
|
-
if (a = !!le, A.x =
|
|
98578
|
+
if (a = !!le, A.x = H, A.y = K, A.rotation = le, A.setStyle({
|
|
98560
98579
|
verticalAlign: "middle"
|
|
98561
98580
|
}), X) {
|
|
98562
98581
|
A.setStyle({
|
|
@@ -98574,7 +98593,7 @@ function QVe(t) {
|
|
|
98574
98593
|
len2: B,
|
|
98575
98594
|
minTurnAngle: M.get("minTurnAngle"),
|
|
98576
98595
|
maxSurfaceAngle: M.get("maxSurfaceAngle"),
|
|
98577
|
-
surfaceNormal: new nt(
|
|
98596
|
+
surfaceNormal: new nt(U, q),
|
|
98578
98597
|
linePoints: W,
|
|
98579
98598
|
textAlign: V,
|
|
98580
98599
|
labelDistance: L,
|
|
@@ -98743,7 +98762,7 @@ var eUe = (
|
|
|
98743
98762
|
return l <= a.r && l >= a.r0;
|
|
98744
98763
|
}
|
|
98745
98764
|
}, e.type = "pie", e;
|
|
98746
|
-
})(
|
|
98765
|
+
})(Br)
|
|
98747
98766
|
);
|
|
98748
98767
|
function f1(t, e, r) {
|
|
98749
98768
|
e = xe(e) && {
|
|
@@ -99165,7 +99184,7 @@ var aUe = (
|
|
|
99165
99184
|
this._symbolDraw && this._symbolDraw.remove(!0), this._symbolDraw = null;
|
|
99166
99185
|
}, e.prototype.dispose = function() {
|
|
99167
99186
|
}, e.type = "scatter", e;
|
|
99168
|
-
})(
|
|
99187
|
+
})(Br)
|
|
99169
99188
|
), Tse = {
|
|
99170
99189
|
left: 0,
|
|
99171
99190
|
right: 0,
|
|
@@ -100058,12 +100077,12 @@ function LUe(t, e, r, n, i, a) {
|
|
|
100058
100077
|
tickIndex: w
|
|
100059
100078
|
}
|
|
100060
100079
|
}), m) {
|
|
100061
|
-
var
|
|
100062
|
-
|
|
100080
|
+
var U = ns.makeAxisEventDataBase(i);
|
|
100081
|
+
U.targetType = "axisLabel", U.value = A, U.tickIndex = w, b.break && (U.break = {
|
|
100063
100082
|
// type: labelItem.break.type,
|
|
100064
100083
|
start: b.break.parsedBreak.vmin,
|
|
100065
100084
|
end: b.break.parsedBreak.vmax
|
|
100066
|
-
}), s.type === "category" && (
|
|
100085
|
+
}), s.type === "category" && (U.dataIndex = S), lt(B).eventData = U, b.break && NUe(i, a, B, b.break);
|
|
100067
100086
|
}
|
|
100068
100087
|
g.push(B), l.add(B);
|
|
100069
100088
|
});
|
|
@@ -101106,7 +101125,7 @@ var uHe = (
|
|
|
101106
101125
|
}, e.prototype.remove = function() {
|
|
101107
101126
|
this.group.removeAll(), this._data = null;
|
|
101108
101127
|
}, e.type = "radar", e;
|
|
101109
|
-
})(
|
|
101128
|
+
})(Br)
|
|
101110
101129
|
), fHe = (
|
|
101111
101130
|
/** @class */
|
|
101112
101131
|
(function(t) {
|
|
@@ -102750,7 +102769,7 @@ var KHe = (
|
|
|
102750
102769
|
}
|
|
102751
102770
|
});
|
|
102752
102771
|
}, e.type = "map", e;
|
|
102753
|
-
})(
|
|
102772
|
+
})(Br)
|
|
102754
102773
|
), ZHe = (
|
|
102755
102774
|
/** @class */
|
|
102756
102775
|
(function(t) {
|
|
@@ -103625,7 +103644,7 @@ var mje = (
|
|
|
103625
103644
|
}, e.prototype.remove = function() {
|
|
103626
103645
|
this._mainGroup.removeAll(), this._data = null;
|
|
103627
103646
|
}, e.type = "tree", e;
|
|
103628
|
-
})(
|
|
103647
|
+
})(Br)
|
|
103629
103648
|
);
|
|
103630
103649
|
function ZU(t, e) {
|
|
103631
103650
|
var r = t.getItemLayout(e);
|
|
@@ -104879,7 +104898,7 @@ var _E = Ze, nH = Ot, iH = 3, aH = "label", sH = "upperLabel", jje = t1 * 10, Gj
|
|
|
104879
104898
|
}
|
|
104880
104899
|
}, this), i;
|
|
104881
104900
|
}, e.type = "treemap", e;
|
|
104882
|
-
})(
|
|
104901
|
+
})(Br)
|
|
104883
104902
|
);
|
|
104884
104903
|
function Av() {
|
|
104885
104904
|
return {
|
|
@@ -104920,7 +104939,7 @@ function Xje(t, e, r, n, i, a, s, o, l, c) {
|
|
|
104920
104939
|
height: p,
|
|
104921
104940
|
r: T
|
|
104922
104941
|
}), m)
|
|
104923
|
-
|
|
104942
|
+
U(G);
|
|
104924
104943
|
else {
|
|
104925
104944
|
G.invisible = !1;
|
|
104926
104945
|
var J = s.getVisual("style"), ne = J.stroke, de = oH(_);
|
|
@@ -104961,7 +104980,7 @@ function Xje(t, e, r, n, i, a, s, o, l, c) {
|
|
|
104961
104980
|
height: J,
|
|
104962
104981
|
r: T
|
|
104963
104982
|
}), m)
|
|
104964
|
-
|
|
104983
|
+
U(G);
|
|
104965
104984
|
else {
|
|
104966
104985
|
G.invisible = !1;
|
|
104967
104986
|
var ne = s.getVisual("style"), de = ne.fill, Ae = oH(_);
|
|
@@ -104971,7 +104990,7 @@ function Xje(t, e, r, n, i, a, s, o, l, c) {
|
|
|
104971
104990
|
}
|
|
104972
104991
|
X.add(G);
|
|
104973
104992
|
}
|
|
104974
|
-
function
|
|
104993
|
+
function U(X) {
|
|
104975
104994
|
!X.invisible && a.push(X);
|
|
104976
104995
|
}
|
|
104977
104996
|
function q(X, G, j, Y) {
|
|
@@ -104994,12 +105013,12 @@ function Xje(t, e, r, n, i, a, s, o, l, c) {
|
|
|
104994
105013
|
width: Se,
|
|
104995
105014
|
height: Te
|
|
104996
105015
|
});
|
|
104997
|
-
}, le.truncateMinChar = 2, le.lineOverflow = "truncate",
|
|
105016
|
+
}, le.truncateMinChar = 2, le.lineOverflow = "truncate", H(le, Y, h);
|
|
104998
105017
|
var se = Ae.getState("emphasis");
|
|
104999
|
-
|
|
105018
|
+
H(se ? se.style : null, Y, h);
|
|
105000
105019
|
}
|
|
105001
105020
|
}
|
|
105002
|
-
function
|
|
105021
|
+
function H(X, G, j) {
|
|
105003
105022
|
var Y = X ? X.text : null;
|
|
105004
105023
|
if (!G && j.isLeafRoot && Y != null) {
|
|
105005
105024
|
var J = t.get("drillDownIcon", !0);
|
|
@@ -106540,7 +106559,7 @@ var NGe = (
|
|
|
106540
106559
|
});
|
|
106541
106560
|
}
|
|
106542
106561
|
}, e.type = "graph", e;
|
|
106543
|
-
})(
|
|
106562
|
+
})(Br)
|
|
106544
106563
|
);
|
|
106545
106564
|
function qp(t) {
|
|
106546
106565
|
return "_EC_" + t;
|
|
@@ -107142,7 +107161,7 @@ var zGe = Math.PI / 180, VGe = (
|
|
|
107142
107161
|
}).execute(), this._edgeData = a;
|
|
107143
107162
|
}, e.prototype.dispose = function() {
|
|
107144
107163
|
}, e.type = "chord", e;
|
|
107145
|
-
})(
|
|
107164
|
+
})(Br)
|
|
107146
107165
|
), UGe = (
|
|
107147
107166
|
/** @class */
|
|
107148
107167
|
(function(t) {
|
|
@@ -107304,10 +107323,10 @@ function jGe(t, e) {
|
|
|
107304
107323
|
if (!(P <= 0)) {
|
|
107305
107324
|
var O = M.getLayout().angle;
|
|
107306
107325
|
if (O > f && f > 0) {
|
|
107307
|
-
var B = I ? 1 : Math.min(O / E, 1), N = O - f,
|
|
107308
|
-
P -=
|
|
107309
|
-
angle: O -
|
|
107310
|
-
ratio: (O -
|
|
107326
|
+
var B = I ? 1 : Math.min(O / E, 1), N = O - f, U = Math.min(N, Math.min(P, T * B));
|
|
107327
|
+
P -= U, M.setLayout({
|
|
107328
|
+
angle: O - U,
|
|
107329
|
+
ratio: (O - U) / O
|
|
107311
107330
|
}, !0);
|
|
107312
107331
|
} else f > 0 && M.setLayout({
|
|
107313
107332
|
angle: f,
|
|
@@ -107328,12 +107347,12 @@ function jGe(t, e) {
|
|
|
107328
107347
|
clockwise: g
|
|
107329
107348
|
}, !0), R[M.dataIndex] = D, D += (O + u) * m;
|
|
107330
107349
|
}), n.eachEdge(function(M) {
|
|
107331
|
-
var O = w ? 1 : M.getValue("value"), B = A * (C ? O : 1) * m, N = M.node1.dataIndex,
|
|
107350
|
+
var O = w ? 1 : M.getValue("value"), B = A * (C ? O : 1) * m, N = M.node1.dataIndex, U = R[N] || 0, q = Math.abs((M.node1.getLayout().ratio || 1) * B), H = U + q * m, K = [o + h * Math.cos(U), l + h * Math.sin(U)], W = [o + h * Math.cos(H), l + h * Math.sin(H)], V = M.node2.dataIndex, X = R[V] || 0, G = Math.abs((M.node2.getLayout().ratio || 1) * B), j = X + G * m, Y = [o + h * Math.cos(X), l + h * Math.sin(X)], J = [o + h * Math.cos(j), l + h * Math.sin(j)];
|
|
107332
107351
|
M.setLayout({
|
|
107333
107352
|
s1: K,
|
|
107334
107353
|
s2: W,
|
|
107335
|
-
sStartAngle:
|
|
107336
|
-
sEndAngle:
|
|
107354
|
+
sStartAngle: U,
|
|
107355
|
+
sEndAngle: H,
|
|
107337
107356
|
t1: Y,
|
|
107338
107357
|
t2: J,
|
|
107339
107358
|
tStartAngle: X,
|
|
@@ -107343,7 +107362,7 @@ function jGe(t, e) {
|
|
|
107343
107362
|
r: h,
|
|
107344
107363
|
value: O,
|
|
107345
107364
|
clockwise: g
|
|
107346
|
-
}), R[N] =
|
|
107365
|
+
}), R[N] = H, R[V] = j;
|
|
107347
107366
|
});
|
|
107348
107367
|
}
|
|
107349
107368
|
}
|
|
@@ -107457,12 +107476,12 @@ var YGe = (
|
|
|
107457
107476
|
}), u.add(M);
|
|
107458
107477
|
}
|
|
107459
107478
|
if (x.get("show")) {
|
|
107460
|
-
var R = x.get("distance") + I, O = qw(Hn(D / b * (m - g) + g), x.get("formatter")), B = a(D / b), N = L * (p - _ - R) + f,
|
|
107461
|
-
q === "radial" ? (
|
|
107479
|
+
var R = x.get("distance") + I, O = qw(Hn(D / b * (m - g) + g), x.get("formatter")), B = a(D / b), N = L * (p - _ - R) + f, U = P * (p - _ - R) + d, q = x.get("rotate"), H = 0;
|
|
107480
|
+
q === "radial" ? (H = -C + 2 * Math.PI, H > Math.PI / 2 && (H += Math.PI)) : q === "tangential" ? H = -C - Math.PI / 2 : sr(q) && (H = q * Math.PI / 180), H === 0 ? u.add(new lr({
|
|
107462
107481
|
style: qr(x, {
|
|
107463
107482
|
text: O,
|
|
107464
107483
|
x: N,
|
|
107465
|
-
y:
|
|
107484
|
+
y: U,
|
|
107466
107485
|
verticalAlign: P < -0.8 ? "top" : P > 0.8 ? "bottom" : "middle",
|
|
107467
107486
|
align: L < -0.4 ? "left" : L > 0.4 ? "right" : "center"
|
|
107468
107487
|
}, {
|
|
@@ -107473,7 +107492,7 @@ var YGe = (
|
|
|
107473
107492
|
style: qr(x, {
|
|
107474
107493
|
text: O,
|
|
107475
107494
|
x: N,
|
|
107476
|
-
y:
|
|
107495
|
+
y: U,
|
|
107477
107496
|
verticalAlign: "middle",
|
|
107478
107497
|
align: "center"
|
|
107479
107498
|
}, {
|
|
@@ -107481,8 +107500,8 @@ var YGe = (
|
|
|
107481
107500
|
}),
|
|
107482
107501
|
silent: !0,
|
|
107483
107502
|
originX: N,
|
|
107484
|
-
originY:
|
|
107485
|
-
rotation:
|
|
107503
|
+
originY: U,
|
|
107504
|
+
rotation: H
|
|
107486
107505
|
}));
|
|
107487
107506
|
}
|
|
107488
107507
|
if (y.get("show") && D !== b) {
|
|
@@ -107644,7 +107663,7 @@ var YGe = (
|
|
|
107644
107663
|
}, x, function(B) {
|
|
107645
107664
|
return qw(B, M);
|
|
107646
107665
|
}), g && Rne(T, v, l, r, {
|
|
107647
|
-
getFormattedLabel: function(B, N,
|
|
107666
|
+
getFormattedLabel: function(B, N, U, q, H, K) {
|
|
107648
107667
|
return qw(K ? K.interpolatedValue : x, M);
|
|
107649
107668
|
}
|
|
107650
107669
|
}), b.add(T);
|
|
@@ -107652,7 +107671,7 @@ var YGe = (
|
|
|
107652
107671
|
f.add(b);
|
|
107653
107672
|
}), this.group.add(f), this._titleEls = d, this._detailEls = p;
|
|
107654
107673
|
}, e.type = "gauge", e;
|
|
107655
|
-
})(
|
|
107674
|
+
})(Br)
|
|
107656
107675
|
), KGe = (
|
|
107657
107676
|
/** @class */
|
|
107658
107677
|
(function(t) {
|
|
@@ -107887,7 +107906,7 @@ var JGe = ["itemStyle", "opacity"], QGe = (
|
|
|
107887
107906
|
this.group.removeAll(), this._data = null;
|
|
107888
107907
|
}, e.prototype.dispose = function() {
|
|
107889
107908
|
}, e.type = "funnel", e;
|
|
107890
|
-
})(
|
|
107909
|
+
})(Br)
|
|
107891
107910
|
), tWe = (
|
|
107892
107911
|
/** @class */
|
|
107893
107912
|
(function(t) {
|
|
@@ -108011,19 +108030,19 @@ function iWe(t, e) {
|
|
|
108011
108030
|
}
|
|
108012
108031
|
return [[D, O], [D, O + M]];
|
|
108013
108032
|
}
|
|
108014
|
-
var B = n.get(i, P) || 0, N = yr(B, [m, v], p, !0),
|
|
108033
|
+
var B = n.get(i, P) || 0, N = yr(B, [m, v], p, !0), U;
|
|
108015
108034
|
switch (y) {
|
|
108016
108035
|
case "left":
|
|
108017
|
-
|
|
108036
|
+
U = f;
|
|
108018
108037
|
break;
|
|
108019
108038
|
case "center":
|
|
108020
|
-
|
|
108039
|
+
U = f + (c - N) / 2;
|
|
108021
108040
|
break;
|
|
108022
108041
|
case "right":
|
|
108023
|
-
|
|
108042
|
+
U = f + c - N;
|
|
108024
108043
|
break;
|
|
108025
108044
|
}
|
|
108026
|
-
return [[
|
|
108045
|
+
return [[U, D], [U + N, D]];
|
|
108027
108046
|
};
|
|
108028
108047
|
a === "ascending" && (w = -w, x = -x, l === "horizontal" ? f += c : d += h, u = u.reverse());
|
|
108029
108048
|
for (var S = 0; S < u.length; S++) {
|
|
@@ -108100,7 +108119,7 @@ var sWe = 0.3, oWe = (
|
|
|
108100
108119
|
}, e.prototype.remove = function() {
|
|
108101
108120
|
this._dataGroup && this._dataGroup.removeAll(), this._data = null;
|
|
108102
108121
|
}, e.type = "parallel", e;
|
|
108103
|
-
})(
|
|
108122
|
+
})(Br)
|
|
108104
108123
|
);
|
|
108105
108124
|
function lWe(t, e, r) {
|
|
108106
108125
|
var n = t.model, i = t.getRect(), a = new Ot({
|
|
@@ -109264,8 +109283,8 @@ var QWe = (
|
|
|
109264
109283
|
cpx2: O,
|
|
109265
109284
|
cpy2: B
|
|
109266
109285
|
}), g.useStyle(y.getItemStyle()), NH(g.style, d, p);
|
|
109267
|
-
var N = "" + v.get("value"),
|
|
109268
|
-
Si(g,
|
|
109286
|
+
var N = "" + v.get("value"), U = ci(v, "edgeLabel");
|
|
109287
|
+
Si(g, U, {
|
|
109269
109288
|
labelFetcher: {
|
|
109270
109289
|
getFormattedLabel: function(K, W, V, X, G, j) {
|
|
109271
109290
|
return r.getFormattedLabel(
|
|
@@ -109275,7 +109294,7 @@ var QWe = (
|
|
|
109275
109294
|
X,
|
|
109276
109295
|
// ensure edgeLabel formatter is provided
|
|
109277
109296
|
// to prevent the inheritance from `label.formatter` of the series
|
|
109278
|
-
ts(G,
|
|
109297
|
+
ts(G, U.normal && U.normal.get("formatter"), N),
|
|
109279
109298
|
j
|
|
109280
109299
|
);
|
|
109281
109300
|
}
|
|
@@ -109290,8 +109309,8 @@ var QWe = (
|
|
|
109290
109309
|
var W = K.getItemStyle();
|
|
109291
109310
|
return NH(W, d, p), W;
|
|
109292
109311
|
}), o.add(g), f.setItemGraphicEl(p.dataIndex, g);
|
|
109293
|
-
var
|
|
109294
|
-
on(g,
|
|
109312
|
+
var H = q.get("focus");
|
|
109313
|
+
on(g, H === "adjacency" ? p.getAdjacentDataIndices() : H === "trajectory" ? p.getTrajectoryDataIndices() : H, q.get("blurScope"), q.get("disabled"));
|
|
109295
109314
|
}), s.eachNode(function(p) {
|
|
109296
109315
|
var g = p.getLayout(), m = p.getModel(), v = m.get("localX"), y = m.get("localY"), x = m.getModel("emphasis"), b = m.get(["itemStyle", "borderRadius"]) || 0, w = new Ot({
|
|
109297
109316
|
shape: {
|
|
@@ -109345,7 +109364,7 @@ var QWe = (
|
|
|
109345
109364
|
scaleY: o.scaleY
|
|
109346
109365
|
});
|
|
109347
109366
|
}, e.type = "sankey", e;
|
|
109348
|
-
})(
|
|
109367
|
+
})(Br)
|
|
109349
109368
|
);
|
|
109350
109369
|
function NH(t, e, r) {
|
|
109351
109370
|
switch (t.fill) {
|
|
@@ -109957,7 +109976,7 @@ var Sqe = (
|
|
|
109957
109976
|
a && n.remove(a);
|
|
109958
109977
|
});
|
|
109959
109978
|
}, e.type = "boxplot", e;
|
|
109960
|
-
})(
|
|
109979
|
+
})(Br)
|
|
109961
109980
|
), Cqe = (
|
|
109962
109981
|
/** @class */
|
|
109963
109982
|
/* @__PURE__ */ (function() {
|
|
@@ -110210,7 +110229,7 @@ var $qe = {
|
|
|
110210
110229
|
}, e.prototype._clear = function() {
|
|
110211
110230
|
this.group.removeAll(), this._data = null;
|
|
110212
110231
|
}, e.type = "candlestick", e;
|
|
110213
|
-
})(
|
|
110232
|
+
})(Br)
|
|
110214
110233
|
), Uqe = (
|
|
110215
110234
|
/** @class */
|
|
110216
110235
|
/* @__PURE__ */ (function() {
|
|
@@ -110418,21 +110437,21 @@ var qqe = {
|
|
|
110418
110437
|
brushRect: O(_, S, x)
|
|
110419
110438
|
});
|
|
110420
110439
|
}
|
|
110421
|
-
function R(N,
|
|
110440
|
+
function R(N, U) {
|
|
110422
110441
|
var q = [];
|
|
110423
|
-
return q[i] =
|
|
110442
|
+
return q[i] = U, q[a] = N, isNaN(U) || isNaN(N) ? [NaN, NaN] : e.dataToPoint(q);
|
|
110424
110443
|
}
|
|
110425
|
-
function M(N,
|
|
110426
|
-
var
|
|
110427
|
-
|
|
110444
|
+
function M(N, U, q) {
|
|
110445
|
+
var H = U.slice(), K = U.slice();
|
|
110446
|
+
H[i] = K_(H[i] + n / 2, 1, !1), K[i] = K_(K[i] - n / 2, 1, !0), q ? N.push(H, K) : N.push(K, H);
|
|
110428
110447
|
}
|
|
110429
|
-
function O(N,
|
|
110430
|
-
var
|
|
110431
|
-
return
|
|
110432
|
-
x:
|
|
110433
|
-
y:
|
|
110448
|
+
function O(N, U, q) {
|
|
110449
|
+
var H = R(N, q), K = R(U, q);
|
|
110450
|
+
return H[i] -= n / 2, K[i] -= n / 2, {
|
|
110451
|
+
x: H[0],
|
|
110452
|
+
y: H[1],
|
|
110434
110453
|
width: n,
|
|
110435
|
-
height: K[1] -
|
|
110454
|
+
height: K[1] - H[1]
|
|
110436
110455
|
};
|
|
110437
110456
|
}
|
|
110438
110457
|
function B(N) {
|
|
@@ -110575,7 +110594,7 @@ var Kqe = (
|
|
|
110575
110594
|
}, e.prototype.remove = function(r, n) {
|
|
110576
110595
|
this._symbolDraw && this._symbolDraw.remove(!0);
|
|
110577
110596
|
}, e.type = "effectScatter", e;
|
|
110578
|
-
})(
|
|
110597
|
+
})(Br)
|
|
110579
110598
|
), Jqe = (
|
|
110580
110599
|
/** @class */
|
|
110581
110600
|
(function(t) {
|
|
@@ -111012,7 +111031,7 @@ var Yoe = (
|
|
|
111012
111031
|
}, e.prototype.dispose = function(r, n) {
|
|
111013
111032
|
this.remove(r, n);
|
|
111014
111033
|
}, e.type = "lines", e;
|
|
111015
|
-
})(
|
|
111034
|
+
})(Br)
|
|
111016
111035
|
), aXe = typeof Uint32Array > "u" ? Array : Uint32Array, sXe = typeof Float64Array > "u" ? Array : Float64Array;
|
|
111017
111036
|
function VH(t) {
|
|
111018
111037
|
var e = t.data;
|
|
@@ -111336,8 +111355,8 @@ var pXe = (
|
|
|
111336
111355
|
y = N.getModel("itemStyle").getItemStyle(), x = B.getModel(["blur", "itemStyle"]).getItemStyle(), b = B.getModel(["select", "itemStyle"]).getItemStyle(), w = B.get(["itemStyle", "borderRadius"]), C = N.get("focus"), A = N.get("blurScope"), T = N.get("disabled"), _ = ci(B);
|
|
111337
111356
|
}
|
|
111338
111357
|
I.shape.r = w;
|
|
111339
|
-
var
|
|
111340
|
-
|
|
111358
|
+
var U = r.getRawValue(E), q = "-";
|
|
111359
|
+
U && U[2] != null && (q = U[2] + ""), Si(I, _, {
|
|
111341
111360
|
labelFetcher: r,
|
|
111342
111361
|
labelDataIndex: E,
|
|
111343
111362
|
defaultOpacity: L.opacity,
|
|
@@ -111369,7 +111388,7 @@ var pXe = (
|
|
|
111369
111388
|
});
|
|
111370
111389
|
this.group.add(_);
|
|
111371
111390
|
}, e.type = "heatmap", e;
|
|
111372
|
-
})(
|
|
111391
|
+
})(Br)
|
|
111373
111392
|
), gXe = (
|
|
111374
111393
|
/** @class */
|
|
111375
111394
|
(function(t) {
|
|
@@ -111466,7 +111485,7 @@ var vXe = ["itemStyle", "borderWidth"], HH = [{
|
|
|
111466
111485
|
qH(a, lt(s).dataIndex, r, s);
|
|
111467
111486
|
}) : i.removeAll();
|
|
111468
111487
|
}, e.type = "pictorialBar", e;
|
|
111469
|
-
})(
|
|
111488
|
+
})(Br)
|
|
111470
111489
|
);
|
|
111471
111490
|
function jH(t, e, r, n) {
|
|
111472
111491
|
var i = t.getItemLayout(e), a = r.get("symbolRepeat"), s = r.get("symbolClip"), o = r.get("symbolPosition") || "start", l = r.get("symbolRotate"), c = (l || 0) * Math.PI / 180 || 0, h = r.get("symbolPatternSize") || 2, u = r.isAnimationEnabled(), f = {
|
|
@@ -111829,7 +111848,7 @@ var EXe = (
|
|
|
111829
111848
|
}
|
|
111830
111849
|
this._layersSeries = l, this._layers = p;
|
|
111831
111850
|
}, e.type = "themeRiver", e;
|
|
111832
|
-
})(
|
|
111851
|
+
})(Br)
|
|
111833
111852
|
);
|
|
111834
111853
|
function IXe(t, e, r) {
|
|
111835
111854
|
var n = new Ot({
|
|
@@ -112209,7 +112228,7 @@ var FXe = (
|
|
|
112209
112228
|
return l <= a.r && l >= a.r0;
|
|
112210
112229
|
}
|
|
112211
112230
|
}, e.type = "sunburst", e;
|
|
112212
|
-
})(
|
|
112231
|
+
})(Br)
|
|
112213
112232
|
), $Xe = (
|
|
112214
112233
|
/** @class */
|
|
112215
112234
|
(function(t) {
|
|
@@ -112345,10 +112364,10 @@ function zXe(t, e, r) {
|
|
|
112345
112364
|
if (D !== g) {
|
|
112346
112365
|
var O = D.getValue(), B = b === 0 && T ? w : O * w;
|
|
112347
112366
|
B < p && (B = p), M = R + k * B;
|
|
112348
|
-
var N = D.depth - v - (_ ? -1 : 1),
|
|
112349
|
-
if (
|
|
112350
|
-
var K =
|
|
112351
|
-
V != null && (K = V[0], W = V[1]), K != null && (
|
|
112367
|
+
var N = D.depth - v - (_ ? -1 : 1), U = u + C * N, q = u + C * (N + 1), H = n.getLevelModel(D);
|
|
112368
|
+
if (H) {
|
|
112369
|
+
var K = H.get("r0", !0), W = H.get("r", !0), V = H.get("radius", !0);
|
|
112370
|
+
V != null && (K = V[0], W = V[1]), K != null && (U = Ne(K, l / 2)), W != null && (q = Ne(W, l / 2));
|
|
112352
112371
|
}
|
|
112353
112372
|
D.setLayout({
|
|
112354
112373
|
angle: B,
|
|
@@ -112357,7 +112376,7 @@ function zXe(t, e, r) {
|
|
|
112357
112376
|
clockwise: A,
|
|
112358
112377
|
cx: c,
|
|
112359
112378
|
cy: h,
|
|
112360
|
-
r0:
|
|
112379
|
+
r0: U,
|
|
112361
112380
|
r: q
|
|
112362
112381
|
});
|
|
112363
112382
|
}
|
|
@@ -113034,7 +113053,7 @@ var gYe = (
|
|
|
113034
113053
|
return !0;
|
|
113035
113054
|
return !1;
|
|
113036
113055
|
}, e.type = "custom", e;
|
|
113037
|
-
})(
|
|
113056
|
+
})(Br)
|
|
113038
113057
|
);
|
|
113039
113058
|
function oP(t) {
|
|
113040
113059
|
var e = t.type, r;
|
|
@@ -113206,10 +113225,10 @@ function hj(t, e, r, n) {
|
|
|
113206
113225
|
M != null && (B.fill = M), O != null && (B.opacity = O);
|
|
113207
113226
|
var N = {
|
|
113208
113227
|
inheritColor: Be(M) ? M : ae.color.neutral99
|
|
113209
|
-
},
|
|
113210
|
-
q.text =
|
|
113211
|
-
var
|
|
113212
|
-
return T(P, B), B = nj(B, q,
|
|
113228
|
+
}, U = b(D, Xu), q = qr(U, null, N, !1, !0);
|
|
113229
|
+
q.text = U.getShallow("show") ? Ge(t.getFormattedLabel(D, Xu), Rm(e, D)) : null;
|
|
113230
|
+
var H = G9(U, N, !1);
|
|
113231
|
+
return T(P, B), B = nj(B, q, H), P && A(B, P), B.legacy = !0, B;
|
|
113213
113232
|
}
|
|
113214
113233
|
function C(P, D) {
|
|
113215
113234
|
process.env.NODE_ENV !== "production" && aj("api.styleEmphasis", "Please write literal style directly instead."), D == null && (D = h);
|
|
@@ -114746,8 +114765,8 @@ function uKe(t, e, r) {
|
|
|
114746
114765
|
var B = p.dataToCoord(E) - A, N = l.dataToCoord(I);
|
|
114747
114766
|
Math.abs(B) < v && (B = (B < 0 ? -1 : 1) * v), D = P, R = P + B, M = N - f, O = M - d, w && (n[h][I][L] = R);
|
|
114748
114767
|
} else {
|
|
114749
|
-
var
|
|
114750
|
-
Math.abs(
|
|
114768
|
+
var U = p.dataToCoord(E, _) - A, q = l.dataToCoord(I);
|
|
114769
|
+
Math.abs(U) < y && (U = (U < 0 ? -1 : 1) * y), D = q + f, R = D + d, M = P, O = P + U, w && (n[h][I][L] = O);
|
|
114751
114770
|
}
|
|
114752
114771
|
s.setItemLayout(T, {
|
|
114753
114772
|
cx: g,
|
|
@@ -123656,10 +123675,10 @@ function het(t, e) {
|
|
|
123656
123675
|
T += u.get(["data", "allData"]);
|
|
123657
123676
|
for (var P = u.get(["data", "separator", "middle"]), D = u.get(["data", "separator", "end"]), R = u.get(["data", "excludeDimensionId"]), M = [], O = 0; O < I.count(); O++)
|
|
123658
123677
|
if (O < d) {
|
|
123659
|
-
var B = I.getName(O), N = R ? br(I.getValues(O), function(q,
|
|
123660
|
-
return Tt(R,
|
|
123661
|
-
}) : I.getValues(O),
|
|
123662
|
-
M.push(s(
|
|
123678
|
+
var B = I.getName(O), N = R ? br(I.getValues(O), function(q, H) {
|
|
123679
|
+
return Tt(R, H) === -1;
|
|
123680
|
+
}) : I.getValues(O), U = u.get(["data", B ? "withName" : "withoutName"]);
|
|
123681
|
+
M.push(s(U, {
|
|
123663
123682
|
name: B,
|
|
123664
123683
|
value: N.join(P)
|
|
123665
123684
|
}));
|
|
@@ -123969,8 +123988,8 @@ function QE(t) {
|
|
|
123969
123988
|
Mg(I, P) && Mg(L, D) || i.push(I, L, P, D, P, D);
|
|
123970
123989
|
}
|
|
123971
123990
|
function u(I, L, P, D, R, M) {
|
|
123972
|
-
var O = Math.abs(L - I), B = Math.tan(O / 4) * 4 / 3, N = L < I ? -1 : 1,
|
|
123973
|
-
i.push(W - j * q, V + Y *
|
|
123991
|
+
var O = Math.abs(L - I), B = Math.tan(O / 4) * 4 / 3, N = L < I ? -1 : 1, U = Math.cos(I), q = Math.sin(I), H = Math.cos(L), K = Math.sin(L), W = U * R + P, V = q * M + D, X = H * R + P, G = K * M + D, j = R * B * N, Y = M * B * N;
|
|
123992
|
+
i.push(W - j * q, V + Y * U, X + j * K, G - Y * H, X, G);
|
|
123974
123993
|
}
|
|
123975
123994
|
for (var f, d, p, g, m = 0; m < r; ) {
|
|
123976
123995
|
var v = e[m++], y = m === 1;
|
|
@@ -125320,13 +125339,13 @@ function vtt(t, e, r, n, i) {
|
|
|
125320
125339
|
}), de[0] = le.x1, de[1] = le.y1, de[D];
|
|
125321
125340
|
}
|
|
125322
125341
|
k = O(k), E = O(E);
|
|
125323
|
-
for (var B = [], N = [],
|
|
125342
|
+
for (var B = [], N = [], U = !0, q = n[mt[R]], H = 0; ; H++) {
|
|
125324
125343
|
var K = q === n[mt[R]], W = q >= M;
|
|
125325
125344
|
W && (q = M);
|
|
125326
125345
|
var V = [], X = [];
|
|
125327
|
-
V[D] = k, X[D] = E, !K && !W && (V[D] +=
|
|
125346
|
+
V[D] = k, X[D] = E, !K && !W && (V[D] += U ? -l : l, X[D] -= U ? l : -l), V[R] = q, X[R] = q, B.push(V), N.push(X);
|
|
125328
125347
|
var G = void 0;
|
|
125329
|
-
if (
|
|
125348
|
+
if (H < A.length ? G = A[H] : (G = Math.random(), A.push(G)), q += G * (h - c) + c, U = !U, W)
|
|
125330
125349
|
break;
|
|
125331
125350
|
}
|
|
125332
125351
|
var j = Gn().serializeAxisBreakIdentifier(L.breakOption);
|
|
@@ -125815,7 +125834,7 @@ const Mtt = (t) => t ? Ett[t] : "status", f_ = {
|
|
|
125815
125834
|
),
|
|
125816
125835
|
t.message && /* @__PURE__ */ z.jsx("strong", { children: /* @__PURE__ */ z.jsx(ai, { variant: "title", bindValue: t.message }) })
|
|
125817
125836
|
] }),
|
|
125818
|
-
/* @__PURE__ */ z.jsx(
|
|
125837
|
+
/* @__PURE__ */ z.jsx(Nr, { icon: "close", title: "close", onClick: r, isInteractable: !0 })
|
|
125819
125838
|
] }),
|
|
125820
125839
|
/* @__PURE__ */ z.jsxs("div", { className: o.body, children: [
|
|
125821
125840
|
t.fullMessage && /* @__PURE__ */ z.jsx("div", { children: /* @__PURE__ */ z.jsx(ai, { variant: "body", bindValue: t.fullMessage }) }),
|
|
@@ -125845,7 +125864,7 @@ const Mtt = (t) => t ? Ett[t] : "status", f_ = {
|
|
|
125845
125864
|
const { translate: i } = Da();
|
|
125846
125865
|
return /* @__PURE__ */ z.jsxs("div", { className: Rv["smp-notification-widget-container"], children: [
|
|
125847
125866
|
/* @__PURE__ */ z.jsx("div", { className: Rv["smp-notification-widget-header"], children: /* @__PURE__ */ z.jsxs(z.Fragment, { children: [
|
|
125848
|
-
/* @__PURE__ */ z.jsx(
|
|
125867
|
+
/* @__PURE__ */ z.jsx(Nr, { icon: "notifications" }),
|
|
125849
125868
|
/* @__PURE__ */ z.jsx(
|
|
125850
125869
|
ai,
|
|
125851
125870
|
{
|
|
@@ -126088,7 +126107,7 @@ const Ott = (t) => {
|
|
|
126088
126107
|
sttActive: m = !1,
|
|
126089
126108
|
UserLabel: v = ""
|
|
126090
126109
|
}) => {
|
|
126091
|
-
const y =
|
|
126110
|
+
const y = Pr(i), x = {
|
|
126092
126111
|
actions: Wi["smp-chat-actions"],
|
|
126093
126112
|
commands: Wi["smp-chat-commands"],
|
|
126094
126113
|
chat: Wi["smp-chat"],
|
|
@@ -126158,31 +126177,31 @@ const Ott = (t) => {
|
|
|
126158
126177
|
content: B,
|
|
126159
126178
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
126160
126179
|
};
|
|
126161
|
-
w((
|
|
126180
|
+
w((U) => [...U, N]), S(""), A(!0);
|
|
126162
126181
|
try {
|
|
126163
126182
|
if (g === "all") {
|
|
126164
|
-
const
|
|
126165
|
-
await c?.(
|
|
126183
|
+
const U = [...b, N];
|
|
126184
|
+
await c?.(U);
|
|
126166
126185
|
} else
|
|
126167
126186
|
await c?.([N]);
|
|
126168
126187
|
A(!1);
|
|
126169
|
-
} catch (
|
|
126170
|
-
console.error(
|
|
126188
|
+
} catch (U) {
|
|
126189
|
+
console.error(U);
|
|
126171
126190
|
const q = {
|
|
126172
126191
|
id: `m_err_${Date.now()}`,
|
|
126173
126192
|
author: "system",
|
|
126174
126193
|
content: "Message failed to send",
|
|
126175
126194
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
126176
126195
|
};
|
|
126177
|
-
w((
|
|
126196
|
+
w((H) => [...H, q]), A(!1);
|
|
126178
126197
|
}
|
|
126179
126198
|
}, [c, _, g, b]), D = Rtt({
|
|
126180
126199
|
onResult: (B, N) => {
|
|
126181
126200
|
if (S(B), l)
|
|
126182
126201
|
try {
|
|
126183
126202
|
l(B, N);
|
|
126184
|
-
} catch (
|
|
126185
|
-
console.error("onDictate handler error:",
|
|
126203
|
+
} catch (U) {
|
|
126204
|
+
console.error("onDictate handler error:", U);
|
|
126186
126205
|
}
|
|
126187
126206
|
}
|
|
126188
126207
|
}), R = D?.active ?? !1, M = (B) => {
|
|
@@ -126305,7 +126324,7 @@ const Ott = (t) => {
|
|
|
126305
126324
|
children: /* @__PURE__ */ z.jsx("span", { dangerouslySetInnerHTML: { __html: sf.sanitize(B.content) } })
|
|
126306
126325
|
}
|
|
126307
126326
|
),
|
|
126308
|
-
B.buttons && B.buttons.length > 0 && /* @__PURE__ */ z.jsx("div", { className: x.commands, children: B.buttons.map((N,
|
|
126327
|
+
B.buttons && B.buttons.length > 0 && /* @__PURE__ */ z.jsx("div", { className: x.commands, children: B.buttons.map((N, U) => /* @__PURE__ */ z.jsx(
|
|
126309
126328
|
ur,
|
|
126310
126329
|
{
|
|
126311
126330
|
appearance: "outlined",
|
|
@@ -126315,7 +126334,7 @@ const Ott = (t) => {
|
|
|
126315
126334
|
onClick: () => o?.(N),
|
|
126316
126335
|
sizing: "small"
|
|
126317
126336
|
},
|
|
126318
|
-
`btn_${
|
|
126337
|
+
`btn_${U}`
|
|
126319
126338
|
)) })
|
|
126320
126339
|
]
|
|
126321
126340
|
}
|
|
@@ -126545,7 +126564,7 @@ export {
|
|
|
126545
126564
|
fI as c0,
|
|
126546
126565
|
que as c1,
|
|
126547
126566
|
KW as c2,
|
|
126548
|
-
|
|
126567
|
+
Nr as c3,
|
|
126549
126568
|
rnt as c4,
|
|
126550
126569
|
Yue as c5,
|
|
126551
126570
|
Fue as c6,
|