@pie-element/inline-dropdown 11.0.7-next.20261019151920 → 11.0.7-next.20261019155156
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/browser/{Close-QkbyicT5.js → Close-Da70uhKB.js} +178 -152
- package/dist/browser/Close-Da70uhKB.js.map +1 -0
- package/dist/browser/{editor-runtime/PUA-BqHnH_Xu-F1NGqrLM.js → PUA-BqHnH_Xu-CHnKq_6L.js} +2 -2
- package/dist/browser/{PUA-BqHnH_Xu-CSe15f0I.js.map → PUA-BqHnH_Xu-CHnKq_6L.js.map} +1 -1
- package/dist/browser/{accents-CT0iFhkZ-DKbIOqnQ.js → accents-CT0iFhkZ-DYJMuf2i.js} +2 -2
- package/dist/browser/{accents-CT0iFhkZ-DKbIOqnQ.js.map → accents-CT0iFhkZ-DYJMuf2i.js.map} +1 -1
- package/dist/browser/{editor-runtime/accents-b-i-lk3Xez5N-ChWsc3O4.js → accents-b-i-lk3Xez5N-CQXeZt1u.js} +2 -2
- package/dist/browser/{accents-b-i-lk3Xez5N-DtUEAk1-.js.map → accents-b-i-lk3Xez5N-CQXeZt1u.js.map} +1 -1
- package/dist/browser/{editor-runtime/arabic-BPKKhLVq-C9VdXDU7.js → arabic-BPKKhLVq-CQFPw0Th.js} +2 -2
- package/dist/browser/{arabic-BPKKhLVq-CeELHPBw.js.map → arabic-BPKKhLVq-CQFPw0Th.js.map} +1 -1
- package/dist/browser/{editor-runtime/arrows-DqEPtK-Z-D58NqP-7.js → arrows-DqEPtK-Z-Bemqe9rw.js} +2 -2
- package/dist/browser/{arrows-DqEPtK-Z-CBkCFSwx.js.map → arrows-DqEPtK-Z-Bemqe9rw.js.map} +1 -1
- package/dist/browser/author/index.js +2 -2
- package/dist/browser/{editor-runtime/braille-DvxWOt-l-DDeUZwNj.js → braille-DvxWOt-l-DdlpROQ-.js} +2 -2
- package/dist/browser/{braille-DvxWOt-l-D1f74snC.js.map → braille-DvxWOt-l-DdlpROQ-.js.map} +1 -1
- package/dist/browser/{editor-runtime/braille-d-DxXharYY-CY-1_6oW.js → braille-d-DxXharYY-FNPeIr35.js} +2 -2
- package/dist/browser/{braille-d-DxXharYY-BGdZq3Ly.js.map → braille-d-DxXharYY-FNPeIr35.js.map} +1 -1
- package/dist/browser/{calligraphic-kAaGCdjY-C1eFVTGV.js → calligraphic-kAaGCdjY-DKCI1xp_.js} +2 -2
- package/dist/browser/{calligraphic-kAaGCdjY-C1eFVTGV.js.map → calligraphic-kAaGCdjY-DKCI1xp_.js.map} +1 -1
- package/dist/browser/{editor-runtime/cherokee-C8SaLR0X-C87eRQ3B.js → cherokee-C8SaLR0X-CwG7yZGg.js} +2 -2
- package/dist/browser/{cherokee-C8SaLR0X-B0-swTnX.js.map → cherokee-C8SaLR0X-CwG7yZGg.js.map} +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/{editor-runtime/cyrillic-90K8fbWC-Ds8n-q8S.js → cyrillic-90K8fbWC-CeiZxh03.js} +2 -2
- package/dist/browser/{cyrillic-90K8fbWC-B2bh08oU.js.map → cyrillic-90K8fbWC-CeiZxh03.js.map} +1 -1
- package/dist/browser/{editor-runtime/cyrillic-ss-pbT0_1Lh-DJ0ax2_F.js → cyrillic-ss-pbT0_1Lh-C1OZjMGP.js} +2 -2
- package/dist/browser/{cyrillic-ss-pbT0_1Lh-DItqk0Tk.js.map → cyrillic-ss-pbT0_1Lh-C1OZjMGP.js.map} +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/{devanagari-BUPEGT8G-BzpB2XN8.js → devanagari-BUPEGT8G-CUgtXbdO.js} +2 -2
- package/dist/browser/{devanagari-BUPEGT8G-BzpB2XN8.js.map → devanagari-BUPEGT8G-CUgtXbdO.js.map} +1 -1
- package/dist/browser/{editor-runtime/double-struck-CCznZnxx-D51hUSFr.js → double-struck-CCznZnxx-vK_jml0u.js} +2 -2
- package/dist/browser/{double-struck-CCznZnxx-C7_wPha6.js.map → double-struck-CCznZnxx-vK_jml0u.js.map} +1 -1
- package/dist/browser/editor-runtime/{Close-dkZwXchO.js → Close-DUJ0Nby7.js} +178 -152
- package/dist/browser/editor-runtime/Close-DUJ0Nby7.js.map +1 -0
- package/dist/browser/{PUA-BqHnH_Xu-CSe15f0I.js → editor-runtime/PUA-BqHnH_Xu-BLlcdfyb.js} +2 -2
- package/dist/browser/editor-runtime/{PUA-BqHnH_Xu-F1NGqrLM.js.map → PUA-BqHnH_Xu-BLlcdfyb.js.map} +1 -1
- package/dist/browser/editor-runtime/{accents-CT0iFhkZ-Ds94Hdqu.js → accents-CT0iFhkZ-xCtAXq_B.js} +2 -2
- package/dist/browser/editor-runtime/{accents-CT0iFhkZ-Ds94Hdqu.js.map → accents-CT0iFhkZ-xCtAXq_B.js.map} +1 -1
- package/dist/browser/{accents-b-i-lk3Xez5N-DtUEAk1-.js → editor-runtime/accents-b-i-lk3Xez5N-nW7GucHA.js} +2 -2
- package/dist/browser/editor-runtime/{accents-b-i-lk3Xez5N-ChWsc3O4.js.map → accents-b-i-lk3Xez5N-nW7GucHA.js.map} +1 -1
- package/dist/browser/{arabic-BPKKhLVq-CeELHPBw.js → editor-runtime/arabic-BPKKhLVq-Cz1o11i_.js} +2 -2
- package/dist/browser/editor-runtime/{arabic-BPKKhLVq-C9VdXDU7.js.map → arabic-BPKKhLVq-Cz1o11i_.js.map} +1 -1
- package/dist/browser/{arrows-DqEPtK-Z-CBkCFSwx.js → editor-runtime/arrows-DqEPtK-Z-BgNvS9bu.js} +2 -2
- package/dist/browser/editor-runtime/{arrows-DqEPtK-Z-D58NqP-7.js.map → arrows-DqEPtK-Z-BgNvS9bu.js.map} +1 -1
- package/dist/browser/editor-runtime/author/index.js +2 -2
- package/dist/browser/{braille-DvxWOt-l-D1f74snC.js → editor-runtime/braille-DvxWOt-l-CKLg2Bnn.js} +2 -2
- package/dist/browser/editor-runtime/{braille-DvxWOt-l-DDeUZwNj.js.map → braille-DvxWOt-l-CKLg2Bnn.js.map} +1 -1
- package/dist/browser/{braille-d-DxXharYY-BGdZq3Ly.js → editor-runtime/braille-d-DxXharYY-pj7mNGKR.js} +2 -2
- package/dist/browser/editor-runtime/{braille-d-DxXharYY-CY-1_6oW.js.map → braille-d-DxXharYY-pj7mNGKR.js.map} +1 -1
- package/dist/browser/editor-runtime/{calligraphic-kAaGCdjY-D41gPOlR.js → calligraphic-kAaGCdjY-Df8Xj7Na.js} +2 -2
- package/dist/browser/editor-runtime/{calligraphic-kAaGCdjY-D41gPOlR.js.map → calligraphic-kAaGCdjY-Df8Xj7Na.js.map} +1 -1
- package/dist/browser/{cherokee-C8SaLR0X-B0-swTnX.js → editor-runtime/cherokee-C8SaLR0X-C6OVg8cC.js} +2 -2
- package/dist/browser/editor-runtime/{cherokee-C8SaLR0X-C87eRQ3B.js.map → cherokee-C8SaLR0X-C6OVg8cC.js.map} +1 -1
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/{cyrillic-90K8fbWC-B2bh08oU.js → editor-runtime/cyrillic-90K8fbWC-CqJGrYPB.js} +2 -2
- package/dist/browser/editor-runtime/{cyrillic-90K8fbWC-Ds8n-q8S.js.map → cyrillic-90K8fbWC-CqJGrYPB.js.map} +1 -1
- package/dist/browser/{cyrillic-ss-pbT0_1Lh-DItqk0Tk.js → editor-runtime/cyrillic-ss-pbT0_1Lh-DAnA8FX9.js} +2 -2
- package/dist/browser/editor-runtime/{cyrillic-ss-pbT0_1Lh-DJ0ax2_F.js.map → cyrillic-ss-pbT0_1Lh-DAnA8FX9.js.map} +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{devanagari-BUPEGT8G-DsyhRYIP.js → devanagari-BUPEGT8G-DVHVjuJl.js} +2 -2
- package/dist/browser/editor-runtime/{devanagari-BUPEGT8G-DsyhRYIP.js.map → devanagari-BUPEGT8G-DVHVjuJl.js.map} +1 -1
- package/dist/browser/{double-struck-CCznZnxx-C7_wPha6.js → editor-runtime/double-struck-CCznZnxx-Cx3bLMMh.js} +2 -2
- package/dist/browser/editor-runtime/{double-struck-CCznZnxx-D51hUSFr.js.map → double-struck-CCznZnxx-Cx3bLMMh.js.map} +1 -1
- package/dist/browser/editor-runtime/{fraktur-SMS95L_I-Bj8FJUJS.js → fraktur-SMS95L_I-DfhIEYgk.js} +2 -2
- package/dist/browser/editor-runtime/{fraktur-SMS95L_I-Bj8FJUJS.js.map → fraktur-SMS95L_I-DfhIEYgk.js.map} +1 -1
- package/dist/browser/editor-runtime/{greek-C-DH5pc5-DraMsRay.js → greek-C-DH5pc5-0VcD_Vp5.js} +2 -2
- package/dist/browser/editor-runtime/{greek-C-DH5pc5-DraMsRay.js.map → greek-C-DH5pc5-0VcD_Vp5.js.map} +1 -1
- package/dist/browser/editor-runtime/{greek-ss-CEapT6vh-Bf0Yx-d3.js → greek-ss-CEapT6vh-CD7qdsgK.js} +2 -2
- package/dist/browser/editor-runtime/{greek-ss-CEapT6vh-Bf0Yx-d3.js.map → greek-ss-CEapT6vh-CD7qdsgK.js.map} +1 -1
- package/dist/browser/editor-runtime/{hebrew-D2yvNx7x-CUaTXnn8.js → hebrew-D2yvNx7x-LG-tV0gf.js} +2 -2
- package/dist/browser/editor-runtime/{hebrew-D2yvNx7x-CUaTXnn8.js.map → hebrew-D2yvNx7x-LG-tV0gf.js.map} +1 -1
- package/dist/browser/editor-runtime/{latin-DXKr8Dbp-ClymtGlI.js → latin-DXKr8Dbp-BZluUqG_.js} +2 -2
- package/dist/browser/editor-runtime/{latin-DXKr8Dbp-ClymtGlI.js.map → latin-DXKr8Dbp-BZluUqG_.js.map} +1 -1
- package/dist/browser/{latin-b-BoB-xnDF-BY5-0sty.js → editor-runtime/latin-b-BoB-xnDF-CFb08FOa.js} +2 -2
- package/dist/browser/editor-runtime/{latin-b-BoB-xnDF-B14a9Sf-.js.map → latin-b-BoB-xnDF-CFb08FOa.js.map} +1 -1
- package/dist/browser/editor-runtime/{latin-bi-BcLdKR4x-VnrK1HIE.js → latin-bi-BcLdKR4x-Do8xM8fR.js} +2 -2
- package/dist/browser/editor-runtime/{latin-bi-BcLdKR4x-VnrK1HIE.js.map → latin-bi-BcLdKR4x-Do8xM8fR.js.map} +1 -1
- package/dist/browser/editor-runtime/{latin-i-Bi7yeYJ4-CRn87j0A.js → latin-i-Bi7yeYJ4-D3y-1sQd.js} +2 -2
- package/dist/browser/editor-runtime/{latin-i-Bi7yeYJ4-CRn87j0A.js.map → latin-i-Bi7yeYJ4-D3y-1sQd.js.map} +1 -1
- package/dist/browser/{marrows-KqSmC-Xy-CtncAE4Q.js → editor-runtime/marrows-KqSmC-Xy-yCLocHg7.js} +2 -2
- package/dist/browser/editor-runtime/{marrows-KqSmC-Xy-x2aePdld.js.map → marrows-KqSmC-Xy-yCLocHg7.js.map} +1 -1
- package/dist/browser/{math-Brcq-P_I-C9zp1C6s.js → editor-runtime/math-Brcq-P_I-BLQbIky3.js} +2 -2
- package/dist/browser/editor-runtime/{math-Brcq-P_I-UuX-9XJS.js.map → math-Brcq-P_I-BLQbIky3.js.map} +1 -1
- package/dist/browser/editor-runtime/{mathjax-eq7xv-th-BCbEajc_.js → mathjax-eq7xv-th-D3fz5sPk.js} +42 -42
- package/dist/browser/editor-runtime/{mathjax-eq7xv-th-BCbEajc_.js.map → mathjax-eq7xv-th-D3fz5sPk.js.map} +1 -1
- package/dist/browser/{monospace-DNCP_eLB-CpT-nugu.js → editor-runtime/monospace-DNCP_eLB-NYqubfNW.js} +2 -2
- package/dist/browser/editor-runtime/{monospace-DNCP_eLB-Dw3qXIXH.js.map → monospace-DNCP_eLB-NYqubfNW.js.map} +1 -1
- package/dist/browser/{monospace-ex-CseBNM39-BoPZGeL1.js → editor-runtime/monospace-ex-CseBNM39-C006dcYK.js} +2 -2
- package/dist/browser/editor-runtime/{monospace-ex-CseBNM39-DrsvK9Ki.js.map → monospace-ex-CseBNM39-C006dcYK.js.map} +1 -1
- package/dist/browser/{monospace-l-CR2fN48S-DokPbjX-.js → editor-runtime/monospace-l-CR2fN48S-C3VlQ_4n.js} +2 -2
- package/dist/browser/editor-runtime/{monospace-l-CR2fN48S-NwmE4E-a.js.map → monospace-l-CR2fN48S-C3VlQ_4n.js.map} +1 -1
- package/dist/browser/editor-runtime/{mshapes-evOyxz2k-DcH-TCDX.js → mshapes-evOyxz2k-DJay2LhW.js} +2 -2
- package/dist/browser/editor-runtime/{mshapes-evOyxz2k-DcH-TCDX.js.map → mshapes-evOyxz2k-DJay2LhW.js.map} +1 -1
- package/dist/browser/editor-runtime/{phonetics-DLwwvG6x-BtnnRGQW.js → phonetics-DLwwvG6x-DFOLsQGg.js} +2 -2
- package/dist/browser/editor-runtime/{phonetics-DLwwvG6x-BtnnRGQW.js.map → phonetics-DLwwvG6x-DFOLsQGg.js.map} +1 -1
- package/dist/browser/editor-runtime/{phonetics-ss-DBAEzJVF-fQ63Zy57.js → phonetics-ss-DBAEzJVF-XKtx71Yc.js} +2 -2
- package/dist/browser/editor-runtime/{phonetics-ss-DBAEzJVF-fQ63Zy57.js.map → phonetics-ss-DBAEzJVF-XKtx71Yc.js.map} +1 -1
- package/dist/browser/editor-runtime/{sans-serif-CCwtYnyq-u5pgLleL.js → sans-serif-CCwtYnyq-BzOI1hzO.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-CCwtYnyq-u5pgLleL.js.map → sans-serif-CCwtYnyq-BzOI1hzO.js.map} +1 -1
- package/dist/browser/{sans-serif-b-Bwpfq2IJ-CLAVc3Y9.js → editor-runtime/sans-serif-b-Bwpfq2IJ-Ck5eFluA.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-b-Bwpfq2IJ-BvfsAbUb.js.map → sans-serif-b-Bwpfq2IJ-Ck5eFluA.js.map} +1 -1
- package/dist/browser/editor-runtime/{sans-serif-bi-C7Px0log-CT2FfEs5.js → sans-serif-bi-C7Px0log-DGXSyZ7L.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-bi-C7Px0log-CT2FfEs5.js.map → sans-serif-bi-C7Px0log-DGXSyZ7L.js.map} +1 -1
- package/dist/browser/{sans-serif-ex-Cfj44GXC-DVmupsaf.js → editor-runtime/sans-serif-ex-Cfj44GXC-B2bCGuKz.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-ex-Cfj44GXC-B5qQMVq7.js.map → sans-serif-ex-Cfj44GXC-B2bCGuKz.js.map} +1 -1
- package/dist/browser/{sans-serif-i-DGAQjDod-Dc4lFpmx.js → editor-runtime/sans-serif-i-DGAQjDod-BA4rwFUz.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-i-DGAQjDod-Ka2ljOSw.js.map → sans-serif-i-DGAQjDod-BA4rwFUz.js.map} +1 -1
- package/dist/browser/editor-runtime/{sans-serif-r-BoOxW29E-CgQT__H3.js → sans-serif-r-BoOxW29E-5UuFNVE6.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-r-BoOxW29E-CgQT__H3.js.map → sans-serif-r-BoOxW29E-5UuFNVE6.js.map} +1 -1
- package/dist/browser/editor-runtime/{script-Btu8Vmeq-Drh1yr7s.js → script-Btu8Vmeq-CkKE7Ecd.js} +2 -2
- package/dist/browser/editor-runtime/{script-Btu8Vmeq-Drh1yr7s.js.map → script-Btu8Vmeq-CkKE7Ecd.js.map} +1 -1
- package/dist/browser/{shapes-Boj8AIMj-e9UAgQmV.js → editor-runtime/shapes-Boj8AIMj-BLEWkCdY.js} +2 -2
- package/dist/browser/editor-runtime/{shapes-Boj8AIMj-6tdSUnKR.js.map → shapes-Boj8AIMj-BLEWkCdY.js.map} +1 -1
- package/dist/browser/{symbols-Bt-k4k-u-CdSWQKus.js → editor-runtime/symbols-Bt-k4k-u-B0HIukhh.js} +2 -2
- package/dist/browser/editor-runtime/{symbols-Bt-k4k-u-CHNoI__I.js.map → symbols-Bt-k4k-u-B0HIukhh.js.map} +1 -1
- package/dist/browser/{symbols-b-i-BwJ3dJ3E-C4ePLb2P.js → editor-runtime/symbols-b-i-BwJ3dJ3E-8hJtXILx.js} +2 -2
- package/dist/browser/editor-runtime/{symbols-b-i-BwJ3dJ3E-CNY5FVOL.js.map → symbols-b-i-BwJ3dJ3E-8hJtXILx.js.map} +1 -1
- package/dist/browser/editor-runtime/{variants-BAfRhLBF-DqmLeRWq.js → variants-BAfRhLBF-BXP2TuBB.js} +2 -2
- package/dist/browser/editor-runtime/{variants-BAfRhLBF-DqmLeRWq.js.map → variants-BAfRhLBF-BXP2TuBB.js.map} +1 -1
- package/dist/browser/{fraktur-SMS95L_I-B_NkqQcW.js → fraktur-SMS95L_I-Ddgwo1en.js} +2 -2
- package/dist/browser/{fraktur-SMS95L_I-B_NkqQcW.js.map → fraktur-SMS95L_I-Ddgwo1en.js.map} +1 -1
- package/dist/browser/{greek-C-DH5pc5-iS4kKYHX.js → greek-C-DH5pc5-CrKGc5Xw.js} +2 -2
- package/dist/browser/{greek-C-DH5pc5-iS4kKYHX.js.map → greek-C-DH5pc5-CrKGc5Xw.js.map} +1 -1
- package/dist/browser/{greek-ss-CEapT6vh-Cq-2Pq8n.js → greek-ss-CEapT6vh-GMsLCgoz.js} +2 -2
- package/dist/browser/{greek-ss-CEapT6vh-Cq-2Pq8n.js.map → greek-ss-CEapT6vh-GMsLCgoz.js.map} +1 -1
- package/dist/browser/{hebrew-D2yvNx7x-60Bzc6qf.js → hebrew-D2yvNx7x-CyqtAOPF.js} +2 -2
- package/dist/browser/{hebrew-D2yvNx7x-60Bzc6qf.js.map → hebrew-D2yvNx7x-CyqtAOPF.js.map} +1 -1
- package/dist/browser/{latin-DXKr8Dbp-DfqFpL9O.js → latin-DXKr8Dbp-Bc4UUyla.js} +2 -2
- package/dist/browser/{latin-DXKr8Dbp-DfqFpL9O.js.map → latin-DXKr8Dbp-Bc4UUyla.js.map} +1 -1
- package/dist/browser/{editor-runtime/latin-b-BoB-xnDF-B14a9Sf-.js → latin-b-BoB-xnDF-DLL0xHvL.js} +2 -2
- package/dist/browser/{latin-b-BoB-xnDF-BY5-0sty.js.map → latin-b-BoB-xnDF-DLL0xHvL.js.map} +1 -1
- package/dist/browser/{latin-bi-BcLdKR4x-C-opwjCq.js → latin-bi-BcLdKR4x-Cqfsdg_G.js} +2 -2
- package/dist/browser/{latin-bi-BcLdKR4x-C-opwjCq.js.map → latin-bi-BcLdKR4x-Cqfsdg_G.js.map} +1 -1
- package/dist/browser/{latin-i-Bi7yeYJ4-BauCG_cQ.js → latin-i-Bi7yeYJ4-WMjLwtco.js} +2 -2
- package/dist/browser/{latin-i-Bi7yeYJ4-BauCG_cQ.js.map → latin-i-Bi7yeYJ4-WMjLwtco.js.map} +1 -1
- package/dist/browser/{editor-runtime/marrows-KqSmC-Xy-x2aePdld.js → marrows-KqSmC-Xy-CYa9a0kS.js} +2 -2
- package/dist/browser/{marrows-KqSmC-Xy-CtncAE4Q.js.map → marrows-KqSmC-Xy-CYa9a0kS.js.map} +1 -1
- package/dist/browser/{editor-runtime/math-Brcq-P_I-UuX-9XJS.js → math-Brcq-P_I-C4mx5kui.js} +2 -2
- package/dist/browser/{math-Brcq-P_I-C9zp1C6s.js.map → math-Brcq-P_I-C4mx5kui.js.map} +1 -1
- package/dist/browser/{mathjax-eq7xv-th-CMsCPhyM.js → mathjax-eq7xv-th-D_H2j0qH.js} +42 -42
- package/dist/browser/{mathjax-eq7xv-th-CMsCPhyM.js.map → mathjax-eq7xv-th-D_H2j0qH.js.map} +1 -1
- package/dist/browser/{editor-runtime/monospace-DNCP_eLB-Dw3qXIXH.js → monospace-DNCP_eLB-CXGD_4-H.js} +2 -2
- package/dist/browser/{monospace-DNCP_eLB-CpT-nugu.js.map → monospace-DNCP_eLB-CXGD_4-H.js.map} +1 -1
- package/dist/browser/{editor-runtime/monospace-ex-CseBNM39-DrsvK9Ki.js → monospace-ex-CseBNM39-k3laAENT.js} +2 -2
- package/dist/browser/{monospace-ex-CseBNM39-BoPZGeL1.js.map → monospace-ex-CseBNM39-k3laAENT.js.map} +1 -1
- package/dist/browser/{editor-runtime/monospace-l-CR2fN48S-NwmE4E-a.js → monospace-l-CR2fN48S-opb5urIA.js} +2 -2
- package/dist/browser/{monospace-l-CR2fN48S-DokPbjX-.js.map → monospace-l-CR2fN48S-opb5urIA.js.map} +1 -1
- package/dist/browser/{mshapes-evOyxz2k-DyDIfS3T.js → mshapes-evOyxz2k-BB6n2sYF.js} +2 -2
- package/dist/browser/{mshapes-evOyxz2k-DyDIfS3T.js.map → mshapes-evOyxz2k-BB6n2sYF.js.map} +1 -1
- package/dist/browser/{phonetics-DLwwvG6x-JAH2P42B.js → phonetics-DLwwvG6x-C1yCAvqB.js} +2 -2
- package/dist/browser/{phonetics-DLwwvG6x-JAH2P42B.js.map → phonetics-DLwwvG6x-C1yCAvqB.js.map} +1 -1
- package/dist/browser/{phonetics-ss-DBAEzJVF-Ud2FfZdB.js → phonetics-ss-DBAEzJVF-BdNO3A2b.js} +2 -2
- package/dist/browser/{phonetics-ss-DBAEzJVF-Ud2FfZdB.js.map → phonetics-ss-DBAEzJVF-BdNO3A2b.js.map} +1 -1
- package/dist/browser/{sans-serif-CCwtYnyq-DbfKEXq2.js → sans-serif-CCwtYnyq-fNUZVLhQ.js} +2 -2
- package/dist/browser/{sans-serif-CCwtYnyq-DbfKEXq2.js.map → sans-serif-CCwtYnyq-fNUZVLhQ.js.map} +1 -1
- package/dist/browser/{editor-runtime/sans-serif-b-Bwpfq2IJ-BvfsAbUb.js → sans-serif-b-Bwpfq2IJ-DQYXVCUj.js} +2 -2
- package/dist/browser/{sans-serif-b-Bwpfq2IJ-CLAVc3Y9.js.map → sans-serif-b-Bwpfq2IJ-DQYXVCUj.js.map} +1 -1
- package/dist/browser/{sans-serif-bi-C7Px0log-H2Z72h5m.js → sans-serif-bi-C7Px0log-BebVvdoX.js} +2 -2
- package/dist/browser/{sans-serif-bi-C7Px0log-H2Z72h5m.js.map → sans-serif-bi-C7Px0log-BebVvdoX.js.map} +1 -1
- package/dist/browser/{editor-runtime/sans-serif-ex-Cfj44GXC-B5qQMVq7.js → sans-serif-ex-Cfj44GXC-CqjTvY6o.js} +2 -2
- package/dist/browser/{sans-serif-ex-Cfj44GXC-DVmupsaf.js.map → sans-serif-ex-Cfj44GXC-CqjTvY6o.js.map} +1 -1
- package/dist/browser/{editor-runtime/sans-serif-i-DGAQjDod-Ka2ljOSw.js → sans-serif-i-DGAQjDod-aALcmDGt.js} +2 -2
- package/dist/browser/{sans-serif-i-DGAQjDod-Dc4lFpmx.js.map → sans-serif-i-DGAQjDod-aALcmDGt.js.map} +1 -1
- package/dist/browser/{sans-serif-r-BoOxW29E-BcY48TmR.js → sans-serif-r-BoOxW29E-BNiPXwGN.js} +2 -2
- package/dist/browser/{sans-serif-r-BoOxW29E-BcY48TmR.js.map → sans-serif-r-BoOxW29E-BNiPXwGN.js.map} +1 -1
- package/dist/browser/{script-Btu8Vmeq-CddQ8mSM.js → script-Btu8Vmeq-CBdRbrkd.js} +2 -2
- package/dist/browser/{script-Btu8Vmeq-CddQ8mSM.js.map → script-Btu8Vmeq-CBdRbrkd.js.map} +1 -1
- package/dist/browser/{editor-runtime/shapes-Boj8AIMj-6tdSUnKR.js → shapes-Boj8AIMj-BYVWIflR.js} +2 -2
- package/dist/browser/{shapes-Boj8AIMj-e9UAgQmV.js.map → shapes-Boj8AIMj-BYVWIflR.js.map} +1 -1
- package/dist/browser/{editor-runtime/symbols-Bt-k4k-u-CHNoI__I.js → symbols-Bt-k4k-u-DG4ipYY_.js} +2 -2
- package/dist/browser/{symbols-Bt-k4k-u-CdSWQKus.js.map → symbols-Bt-k4k-u-DG4ipYY_.js.map} +1 -1
- package/dist/browser/{editor-runtime/symbols-b-i-BwJ3dJ3E-CNY5FVOL.js → symbols-b-i-BwJ3dJ3E-BQZ6ClKS.js} +2 -2
- package/dist/browser/{symbols-b-i-BwJ3dJ3E-C4ePLb2P.js.map → symbols-b-i-BwJ3dJ3E-BQZ6ClKS.js.map} +1 -1
- package/dist/browser/{variants-BAfRhLBF-CyJ8pMjA.js → variants-BAfRhLBF-DwUK2EGX.js} +2 -2
- package/dist/browser/{variants-BAfRhLBF-CyJ8pMjA.js.map → variants-BAfRhLBF-DwUK2EGX.js.map} +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +8 -8
- package/dist/browser/Close-QkbyicT5.js.map +0 -1
- package/dist/browser/editor-runtime/Close-dkZwXchO.js.map +0 -1
|
@@ -137,7 +137,7 @@ var ce;
|
|
|
137
137
|
function le() {
|
|
138
138
|
return ce;
|
|
139
139
|
}
|
|
140
|
-
var ue = import("./mathjax-eq7xv-th-
|
|
140
|
+
var ue = import("./mathjax-eq7xv-th-D_H2j0qH.js").then((e) => e.t);
|
|
141
141
|
ue.catch(() => {});
|
|
142
142
|
async function de(e, t) {
|
|
143
143
|
let { createMathJax: n } = await ue;
|
|
@@ -12028,11 +12028,11 @@ var hy = {
|
|
|
12028
12028
|
e = n, t = r;
|
|
12029
12029
|
});
|
|
12030
12030
|
return n.resolve = e, n.reject = t, n;
|
|
12031
|
-
}, Dy = (e) => e == null ? "" :
|
|
12031
|
+
}, Dy = (e) => e == null ? "" : String(e), Oy = (e, t, n) => {
|
|
12032
12032
|
e.forEach((e) => {
|
|
12033
12033
|
t[e] && (n[e] = t[e]);
|
|
12034
12034
|
});
|
|
12035
|
-
}, ky = /###/g, Ay = (e) => e && e.
|
|
12035
|
+
}, ky = /###/g, Ay = (e) => e && e.includes("###") ? e.replace(ky, ".") : e, jy = (e) => !e || $(e), My = (e, t, n) => {
|
|
12036
12036
|
let r = $(t) ? t.split(".") : t, i = 0;
|
|
12037
12037
|
for (; i < r.length - 1;) {
|
|
12038
12038
|
if (jy(e)) return {};
|
|
@@ -12062,7 +12062,7 @@ var hy = {
|
|
|
12062
12062
|
let r = Fy(e, n);
|
|
12063
12063
|
return r === void 0 ? Fy(t, n) : r;
|
|
12064
12064
|
}, Ly = (e, t, n) => {
|
|
12065
|
-
for (let r in t) r !== "__proto__" && r !== "constructor" && (r
|
|
12065
|
+
for (let r in t) r !== "__proto__" && r !== "constructor" && (Object.prototype.hasOwnProperty.call(e, r) ? $(e[r]) || e[r] instanceof String || $(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : Ly(e[r], t[r], n) : e[r] = t[r]);
|
|
12066
12066
|
return e;
|
|
12067
12067
|
}, Ry = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), zy = {
|
|
12068
12068
|
"&": "&",
|
|
@@ -12089,7 +12089,7 @@ var hy = {
|
|
|
12089
12089
|
";"
|
|
12090
12090
|
], Uy = new Vy(20), Wy = (e, t, n) => {
|
|
12091
12091
|
t ||= "", n ||= "";
|
|
12092
|
-
let r = Hy.filter((e) => t.
|
|
12092
|
+
let r = Hy.filter((e) => !t.includes(e) && !n.includes(e));
|
|
12093
12093
|
if (r.length === 0) return !0;
|
|
12094
12094
|
let i = Uy.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
|
|
12095
12095
|
if (!a) {
|
|
@@ -12109,7 +12109,7 @@ var hy = {
|
|
|
12109
12109
|
"string",
|
|
12110
12110
|
"number",
|
|
12111
12111
|
"boolean"
|
|
12112
|
-
].
|
|
12112
|
+
].includes(typeof t) && o < r.length - 1) continue;
|
|
12113
12113
|
e += o - e + 1;
|
|
12114
12114
|
break;
|
|
12115
12115
|
}
|
|
@@ -12150,7 +12150,7 @@ var hy = {
|
|
|
12150
12150
|
return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
|
|
12151
12151
|
}
|
|
12152
12152
|
forward(e, t, n, r) {
|
|
12153
|
-
return r && !this.debug ? null : ($(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
12153
|
+
return r && !this.debug ? null : (e = e.map((e) => $(e) ? e.replace(/[\r\n\x00-\x1F\x7F]/g, " ") : e), $(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
12154
12154
|
}
|
|
12155
12155
|
create(t) {
|
|
12156
12156
|
return new e(this.logger, {
|
|
@@ -12175,14 +12175,20 @@ var hy = {
|
|
|
12175
12175
|
off(e, t) {
|
|
12176
12176
|
this.observers[e] && (t ? this.observers[e].delete(t) : delete this.observers[e]);
|
|
12177
12177
|
}
|
|
12178
|
+
once(e, t) {
|
|
12179
|
+
let n = (...r) => {
|
|
12180
|
+
t(...r), this.off(e, n);
|
|
12181
|
+
};
|
|
12182
|
+
return this.on(e, n), this;
|
|
12183
|
+
}
|
|
12178
12184
|
emit(e, ...t) {
|
|
12179
12185
|
this.observers[e] && Array.from(this.observers[e].entries()).forEach(([e, n]) => {
|
|
12180
12186
|
for (let r = 0; r < n; r++) e(...t);
|
|
12181
12187
|
}), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([n, r]) => {
|
|
12182
|
-
for (let i = 0; i < r; i++) n
|
|
12188
|
+
for (let i = 0; i < r; i++) n(e, ...t);
|
|
12183
12189
|
});
|
|
12184
12190
|
}
|
|
12185
|
-
}, Xy = class extends Yy {
|
|
12191
|
+
}, Xy = /* @__PURE__ */ new WeakSet(), Zy = class extends Yy {
|
|
12186
12192
|
constructor(e, t = {
|
|
12187
12193
|
ns: ["translation"],
|
|
12188
12194
|
defaultNS: "translation"
|
|
@@ -12190,7 +12196,7 @@ var hy = {
|
|
|
12190
12196
|
super(), this.data = e || {}, this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0);
|
|
12191
12197
|
}
|
|
12192
12198
|
addNamespaces(e) {
|
|
12193
|
-
this.options.ns.
|
|
12199
|
+
this.options.ns.includes(e) || this.options.ns.push(e);
|
|
12194
12200
|
}
|
|
12195
12201
|
removeNamespaces(e) {
|
|
12196
12202
|
let t = this.options.ns.indexOf(e);
|
|
@@ -12198,13 +12204,13 @@ var hy = {
|
|
|
12198
12204
|
}
|
|
12199
12205
|
getResource(e, t, n, r = {}) {
|
|
12200
12206
|
let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o;
|
|
12201
|
-
e.
|
|
12207
|
+
e.includes(".") ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : $(n) && i ? o.push(...n.split(i)) : o.push(n)));
|
|
12202
12208
|
let s = Fy(this.data, o);
|
|
12203
|
-
return !s && !t && !n && e.
|
|
12209
|
+
return !s && !t && !n && e.includes(".") && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !$(n) ? s : Gy(this.data?.[e]?.[t], n, i);
|
|
12204
12210
|
}
|
|
12205
12211
|
addResource(e, t, n, r, i = { silent: !1 }) {
|
|
12206
12212
|
let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t];
|
|
12207
|
-
n && (o = o.concat(a ? n.split(a) : n)), e.
|
|
12213
|
+
n && (o = o.concat(a ? n.split(a) : n)), e.includes(".") && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Ny(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
|
|
12208
12214
|
}
|
|
12209
12215
|
addResources(e, t, n, r = { silent: !1 }) {
|
|
12210
12216
|
for (let r in n) ($(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
|
|
@@ -12215,7 +12221,7 @@ var hy = {
|
|
|
12215
12221
|
skipCopy: !1
|
|
12216
12222
|
}) {
|
|
12217
12223
|
let o = [e, t];
|
|
12218
|
-
e.
|
|
12224
|
+
e.includes(".") && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
|
|
12219
12225
|
let s = Fy(this.data, o) || {};
|
|
12220
12226
|
a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? Ly(s, n, i) : s = {
|
|
12221
12227
|
...s,
|
|
@@ -12236,12 +12242,15 @@ var hy = {
|
|
|
12236
12242
|
}
|
|
12237
12243
|
hasLanguageSomeTranslations(e) {
|
|
12238
12244
|
let t = this.getDataByLanguage(e);
|
|
12239
|
-
return !!(t && Object.keys(t) || []).find((e) =>
|
|
12245
|
+
return !!(t && Object.keys(t) || []).find((e) => {
|
|
12246
|
+
let n = t[e];
|
|
12247
|
+
return Xy.has(n) ? !0 : !n || Object.keys(n).length === 0 ? !1 : (typeof n == "object" && Xy.add(n), !0);
|
|
12248
|
+
});
|
|
12240
12249
|
}
|
|
12241
12250
|
toJSON() {
|
|
12242
12251
|
return this.data;
|
|
12243
12252
|
}
|
|
12244
|
-
},
|
|
12253
|
+
}, Qy = {
|
|
12245
12254
|
processors: {},
|
|
12246
12255
|
addPostProcessor(e) {
|
|
12247
12256
|
this.processors[e.name] = e;
|
|
@@ -12251,20 +12260,20 @@ var hy = {
|
|
|
12251
12260
|
t = this.processors[e]?.process(t, n, r, i) ?? t;
|
|
12252
12261
|
}), t;
|
|
12253
12262
|
}
|
|
12254
|
-
},
|
|
12255
|
-
function
|
|
12263
|
+
}, $y = Symbol("i18next/PATH_KEY");
|
|
12264
|
+
function eb() {
|
|
12256
12265
|
let e = [], t = Object.create(null), n;
|
|
12257
|
-
return t.get = (r, i) => (n?.revoke?.(), i ===
|
|
12266
|
+
return t.get = (r, i) => (n?.revoke?.(), i === $y ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
|
|
12258
12267
|
}
|
|
12259
|
-
function
|
|
12260
|
-
let { [
|
|
12268
|
+
function tb(e, t) {
|
|
12269
|
+
let { [$y]: n } = e(eb()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":", a = t?.enableSelector === "strict";
|
|
12261
12270
|
if (n.length > 1 && i) {
|
|
12262
|
-
let e = t?.ns,
|
|
12263
|
-
if (
|
|
12271
|
+
let e = t?.ns, o = a ? Array.isArray(e) ? e : e ? [e] : null : Array.isArray(e) ? e : null;
|
|
12272
|
+
if (o && (a ? o : o.length > 1 ? o.slice(1) : []).includes(n[0])) return `${n[0]}${i}${n.slice(1).join(r)}`;
|
|
12264
12273
|
}
|
|
12265
12274
|
return n.join(r);
|
|
12266
12275
|
}
|
|
12267
|
-
var
|
|
12276
|
+
var nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number", rb = class e extends Yy {
|
|
12268
12277
|
constructor(e, t = {}) {
|
|
12269
12278
|
super(), Oy([
|
|
12270
12279
|
"resourceStore",
|
|
@@ -12274,7 +12283,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12274
12283
|
"backendConnector",
|
|
12275
12284
|
"i18nFormat",
|
|
12276
12285
|
"utils"
|
|
12277
|
-
], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Jy.create("translator");
|
|
12286
|
+
], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Jy.create("translator"), this.checkedLoadedFor = {};
|
|
12278
12287
|
}
|
|
12279
12288
|
changeLanguage(e) {
|
|
12280
12289
|
e && (this.language = e);
|
|
@@ -12290,7 +12299,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12290
12299
|
extractFromKey(e, t) {
|
|
12291
12300
|
let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator;
|
|
12292
12301
|
n === void 0 && (n = ":");
|
|
12293
|
-
let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.
|
|
12302
|
+
let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.includes(n), o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Wy(e, n, r);
|
|
12294
12303
|
if (a && !o) {
|
|
12295
12304
|
let t = e.match(this.interpolator.nestingRegexp);
|
|
12296
12305
|
if (t && t.length > 0) return {
|
|
@@ -12298,7 +12307,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12298
12307
|
namespaces: $(i) ? [i] : i
|
|
12299
12308
|
};
|
|
12300
12309
|
let a = e.split(n);
|
|
12301
|
-
(n !== r || n === r && this.options.ns.
|
|
12310
|
+
(n !== r || n === r && this.options.ns.includes(a[0])) && (i = a.shift()), e = a.join(r);
|
|
12302
12311
|
}
|
|
12303
12312
|
return {
|
|
12304
12313
|
key: e,
|
|
@@ -12308,10 +12317,10 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12308
12317
|
translate(t, n, r) {
|
|
12309
12318
|
let i = typeof n == "object" ? { ...n } : n;
|
|
12310
12319
|
if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = { ...i }), i ||= {}, t == null) return "";
|
|
12311
|
-
typeof t == "function" && (t =
|
|
12320
|
+
typeof t == "function" && (t = tb(t, {
|
|
12312
12321
|
...this.options,
|
|
12313
12322
|
...i
|
|
12314
|
-
})), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ?
|
|
12323
|
+
})), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? tb(e, {
|
|
12315
12324
|
...this.options,
|
|
12316
12325
|
...i
|
|
12317
12326
|
}) : String(e));
|
|
@@ -12340,7 +12349,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12340
12349
|
], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !$(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", C = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", w = b && !i.ordinal && i.count === 0, T = w && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${S}`] || i[`defaultValue${C}`] || i.defaultValue, E = m;
|
|
12341
12350
|
y && !m && x && (E = T);
|
|
12342
12351
|
let D = nb(E), O = Object.prototype.toString.apply(E);
|
|
12343
|
-
if (y && E && D && _.
|
|
12352
|
+
if (y && E && D && !_.includes(O) && !($(v) && Array.isArray(E))) {
|
|
12344
12353
|
if (!i.returnObjects && !this.options.returnObjects) {
|
|
12345
12354
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
12346
12355
|
let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, E, {
|
|
@@ -12372,7 +12381,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12372
12381
|
!this.isValidLookup(m) && x && (e = !0, m = T), this.isValidLookup(m) || (n = !0, m = s);
|
|
12373
12382
|
let a = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && n ? void 0 : m, c = x && T !== m && this.options.updateMissing;
|
|
12374
12383
|
if (n || e || c) {
|
|
12375
|
-
if (this.logger.log(c ? "updateKey" : "missingKey", d, l, s, c ? T : m), o) {
|
|
12384
|
+
if (this.logger.log(c ? "updateKey" : "missingKey", d, l, b && !c ? `${s}${this.pluralResolver.getSuffix(d, i.count, i)}` : s, c ? T : m), o) {
|
|
12376
12385
|
let e = this.resolve(s, {
|
|
12377
12386
|
...i,
|
|
12378
12387
|
keySeparator: !1
|
|
@@ -12388,7 +12397,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12388
12397
|
};
|
|
12389
12398
|
this.options.saveMissing && (this.options.saveMissingPlurals && b ? e.forEach((e) => {
|
|
12390
12399
|
let t = this.pluralResolver.getSuffixes(e, i);
|
|
12391
|
-
w && i[`defaultValue${this.options.pluralSeparator}zero`] && t.
|
|
12400
|
+
w && i[`defaultValue${this.options.pluralSeparator}zero`] && !t.includes(`${this.options.pluralSeparator}zero`) && t.push(`${this.options.pluralSeparator}zero`), t.forEach((t) => {
|
|
12392
12401
|
n([e], s + t, i[`defaultValue${t}`] || T);
|
|
12393
12402
|
});
|
|
12394
12403
|
}) : n(e, s, T));
|
|
@@ -12426,7 +12435,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12426
12435
|
!n.lng && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...e) => i?.[0] === e[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`), null) : this.translate(...e, t), n)), n.interpolation && this.interpolator.reset();
|
|
12427
12436
|
}
|
|
12428
12437
|
let a = n.postProcess || this.options.postProcess, o = $(a) ? [a] : a;
|
|
12429
|
-
return e != null && o?.length && n.applyPostProcessor !== !1 && (e =
|
|
12438
|
+
return e != null && o?.length && n.applyPostProcessor !== !1 && (e = Qy.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
12430
12439
|
i18nResolved: {
|
|
12431
12440
|
...r,
|
|
12432
12441
|
usedParams: this.getUsedParamsDetails(n)
|
|
@@ -12436,7 +12445,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12436
12445
|
}
|
|
12437
12446
|
resolve(e, t = {}) {
|
|
12438
12447
|
let n, r, i, a, o;
|
|
12439
|
-
return $(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ?
|
|
12448
|
+
return $(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? tb(e, {
|
|
12440
12449
|
...this.options,
|
|
12441
12450
|
...t
|
|
12442
12451
|
}) : e)), e.forEach((e) => {
|
|
@@ -12447,7 +12456,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12447
12456
|
this.options.fallbackNS && (l = l.concat(this.options.fallbackNS));
|
|
12448
12457
|
let u = t.count !== void 0 && !$(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && ($(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
12449
12458
|
l.forEach((e) => {
|
|
12450
|
-
this.isValidLookup(n) || (o = e, !
|
|
12459
|
+
this.isValidLookup(n) || (o = e, !this.checkedLoadedFor[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (this.checkedLoadedFor[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
|
|
12451
12460
|
if (this.isValidLookup(n)) return;
|
|
12452
12461
|
a = r;
|
|
12453
12462
|
let o = [c];
|
|
@@ -12456,9 +12465,9 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12456
12465
|
let e;
|
|
12457
12466
|
u && (e = this.pluralResolver.getSuffix(r, t.count, t));
|
|
12458
12467
|
let n = `${this.options.pluralSeparator}zero`, i = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
12459
|
-
if (u && (t.ordinal && e.
|
|
12468
|
+
if (u && (t.ordinal && e.startsWith(i) && o.push(c + e.replace(i, this.options.pluralSeparator)), o.push(c + e), d && o.push(c + n)), f) {
|
|
12460
12469
|
let r = `${c}${this.options.contextSeparator || "_"}${t.context}`;
|
|
12461
|
-
o.push(r), u && (t.ordinal && e.
|
|
12470
|
+
o.push(r), u && (t.ordinal && e.startsWith(i) && o.push(r + e.replace(i, this.options.pluralSeparator)), o.push(r + e), d && o.push(r + n));
|
|
12462
12471
|
}
|
|
12463
12472
|
}
|
|
12464
12473
|
let s;
|
|
@@ -12497,7 +12506,10 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12497
12506
|
"postProcess",
|
|
12498
12507
|
"interpolation"
|
|
12499
12508
|
], n = e.replace && !$(e.replace), r = n ? e.replace : e;
|
|
12500
|
-
if (n && e.count !== void 0 && (r
|
|
12509
|
+
if (n && e.count !== void 0 && (r = {
|
|
12510
|
+
...r,
|
|
12511
|
+
count: e.count
|
|
12512
|
+
}), this.options.interpolation.defaultVariables && (r = {
|
|
12501
12513
|
...this.options.interpolation.defaultVariables,
|
|
12502
12514
|
...r
|
|
12503
12515
|
}), !n) {
|
|
@@ -12507,25 +12519,28 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12507
12519
|
return r;
|
|
12508
12520
|
}
|
|
12509
12521
|
static hasDefaultValue(e) {
|
|
12510
|
-
for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.
|
|
12522
|
+
for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.startsWith("defaultValue") && e[t] !== void 0) return !0;
|
|
12511
12523
|
return !1;
|
|
12512
12524
|
}
|
|
12513
12525
|
}, ib = class {
|
|
12514
12526
|
constructor(e) {
|
|
12515
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Jy.create("languageUtils");
|
|
12527
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Jy.create("languageUtils"), this.resolveHierarchyCache = {};
|
|
12528
|
+
}
|
|
12529
|
+
clearCache() {
|
|
12530
|
+
this.resolveHierarchyCache = {};
|
|
12516
12531
|
}
|
|
12517
12532
|
getScriptPartFromCode(e) {
|
|
12518
|
-
if (e = Ky(e), !e || e.
|
|
12533
|
+
if (e = Ky(e), !e || !e.includes("-")) return null;
|
|
12519
12534
|
let t = e.split("-");
|
|
12520
12535
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
12521
12536
|
}
|
|
12522
12537
|
getLanguagePartFromCode(e) {
|
|
12523
|
-
if (e = Ky(e), !e || e.
|
|
12538
|
+
if (e = Ky(e), !e || !e.includes("-")) return e;
|
|
12524
12539
|
let t = e.split("-");
|
|
12525
12540
|
return this.formatLanguageCode(t[0]);
|
|
12526
12541
|
}
|
|
12527
12542
|
formatLanguageCode(e) {
|
|
12528
|
-
if ($(e) && e.
|
|
12543
|
+
if ($(e) && e.includes("-")) {
|
|
12529
12544
|
let t;
|
|
12530
12545
|
try {
|
|
12531
12546
|
t = Intl.getCanonicalLocales(e)[0];
|
|
@@ -12535,7 +12550,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12535
12550
|
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
|
|
12536
12551
|
}
|
|
12537
12552
|
isSupportedCode(e) {
|
|
12538
|
-
return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (e = this.getLanguagePartFromCode(e)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.
|
|
12553
|
+
return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (e = this.getLanguagePartFromCode(e)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.includes(e);
|
|
12539
12554
|
}
|
|
12540
12555
|
getBestMatchFromCodes(e) {
|
|
12541
12556
|
if (!e) return null;
|
|
@@ -12550,9 +12565,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12550
12565
|
if (this.isSupportedCode(n)) return t = n;
|
|
12551
12566
|
let r = this.getLanguagePartFromCode(e);
|
|
12552
12567
|
if (this.isSupportedCode(r)) return t = r;
|
|
12553
|
-
t = this.options.supportedLngs.find((e) =>
|
|
12554
|
-
if (e === r || !(e.indexOf("-") < 0 && r.indexOf("-") < 0) && (e.indexOf("-") > 0 && r.indexOf("-") < 0 && e.substring(0, e.indexOf("-")) === r || e.indexOf(r) === 0 && r.length > 1)) return e;
|
|
12555
|
-
});
|
|
12568
|
+
t = this.options.supportedLngs.find((e) => e === r ? !0 : !e.includes("-") && !r.includes("-") ? !1 : !!(e.includes("-") && !r.includes("-") && e.slice(0, e.indexOf("-")) === r || e.startsWith(r) && r.length > 1));
|
|
12556
12569
|
}), t ||= this.getFallbackCodes(this.options.fallbackLng)[0], t;
|
|
12557
12570
|
}
|
|
12558
12571
|
getFallbackCodes(e, t) {
|
|
@@ -12563,12 +12576,24 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12563
12576
|
return n ||= e[this.getScriptPartFromCode(t)], n ||= e[this.formatLanguageCode(t)], n ||= e[this.getLanguagePartFromCode(t)], n ||= e.default, n || [];
|
|
12564
12577
|
}
|
|
12565
12578
|
toResolveHierarchy(e, t) {
|
|
12566
|
-
let n = this.
|
|
12567
|
-
|
|
12579
|
+
let n = this.options.fallbackLng, r = Array.isArray(n) ? n.join("|") : n;
|
|
12580
|
+
r !== this._cachedFallbackLng && (this.resolveHierarchyCache = {}, this._cachedFallbackLng = r);
|
|
12581
|
+
let i = t === void 0 || t === !1 || $(t), a = t === void 0 && typeof this.options.fallbackLng == "function", o = $(e) && i && !a, s = null;
|
|
12582
|
+
if (o) {
|
|
12583
|
+
let n;
|
|
12584
|
+
n = t === void 0 ? "undefined" : t === !1 ? "boolean:false" : `string:${t}`, s = `${e.length}:${e}|${n}`;
|
|
12585
|
+
}
|
|
12586
|
+
if (s !== null) {
|
|
12587
|
+
let e = this.resolveHierarchyCache[s];
|
|
12588
|
+
if (e !== void 0) return e.slice();
|
|
12589
|
+
}
|
|
12590
|
+
let c = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), l = [], u = (e) => {
|
|
12591
|
+
e && (this.isSupportedCode(e) ? l.push(e) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`));
|
|
12568
12592
|
};
|
|
12569
|
-
return $(e) && (e.
|
|
12570
|
-
|
|
12571
|
-
|
|
12593
|
+
return $(e) && (e.includes("-") || e.includes("_")) ? (this.options.load !== "languageOnly" && u(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && u(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && u(this.getLanguagePartFromCode(e))) : $(e) && u(this.formatLanguageCode(e)), c.forEach((e) => {
|
|
12594
|
+
let t = this.formatLanguageCode(e);
|
|
12595
|
+
l.includes(t) || u(t);
|
|
12596
|
+
}), s === null ? l : (this.resolveHierarchyCache[s] = l, l.slice());
|
|
12572
12597
|
}
|
|
12573
12598
|
}, ab = {
|
|
12574
12599
|
zero: 0,
|
|
@@ -12629,18 +12654,18 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12629
12654
|
init(e = {}) {
|
|
12630
12655
|
e.interpolation ||= { escapeValue: !0 };
|
|
12631
12656
|
let { escape: t, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: o, suffixEscaped: s, formatSeparator: c, unescapeSuffix: l, unescapePrefix: u, nestingPrefix: d, nestingPrefixEscaped: f, nestingSuffix: p, nestingSuffixEscaped: m, nestingOptionsSeparator: h, maxReplaces: g, alwaysFormat: _ } = e.interpolation;
|
|
12632
|
-
this.escape = t === void 0 ? By : t, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? Ry(i) : a || "{{", this.suffix = o ? Ry(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u
|
|
12657
|
+
this.escape = t === void 0 ? By : t, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? Ry(i) : a || "{{", this.suffix = o ? Ry(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u ? Ry(u) : "-", this.unescapeSuffix = this.unescapePrefix ? "" : l ? Ry(l) : "", this.nestingPrefix = d ? Ry(d) : f || Ry("$t("), this.nestingSuffix = p ? Ry(p) : m || Ry(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ !== void 0 && _, this.resetRegExp();
|
|
12633
12658
|
}
|
|
12634
12659
|
reset() {
|
|
12635
12660
|
this.options && this.init(this.options);
|
|
12636
12661
|
}
|
|
12637
12662
|
resetRegExp() {
|
|
12638
12663
|
let e = (e, t) => e?.source === t ? (e.lastIndex = 0, e) : new RegExp(t, "g");
|
|
12639
|
-
this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}((?:[^()"']
|
|
12664
|
+
this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}((?:[^()"']|"[^"]*"|'[^']*'|\\((?:[^()"']|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`);
|
|
12640
12665
|
}
|
|
12641
12666
|
interpolate(e, t, n, r) {
|
|
12642
12667
|
let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => {
|
|
12643
|
-
if (e.
|
|
12668
|
+
if (!e.includes(this.formatSeparator)) {
|
|
12644
12669
|
let i = cb(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
12645
12670
|
return this.alwaysFormat ? this.format(i, void 0, n, {
|
|
12646
12671
|
...r,
|
|
@@ -12655,14 +12680,14 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12655
12680
|
interpolationkey: a
|
|
12656
12681
|
});
|
|
12657
12682
|
};
|
|
12658
|
-
this.resetRegExp();
|
|
12683
|
+
this.resetRegExp(), !this.escapeValue && typeof e == "string" && /\$t\([^)]*\{[^}]*\{\{/.test(e) && this.logger.warn("nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.");
|
|
12659
12684
|
let l = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = r?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables;
|
|
12660
12685
|
return [{
|
|
12661
12686
|
regex: this.regexpUnescape,
|
|
12662
|
-
safeValue: (e) =>
|
|
12687
|
+
safeValue: (e) => e
|
|
12663
12688
|
}, {
|
|
12664
12689
|
regex: this.regexp,
|
|
12665
|
-
safeValue: (e) => this.escapeValue ?
|
|
12690
|
+
safeValue: (e) => this.escapeValue ? this.escape(e) : e
|
|
12666
12691
|
}].forEach((t) => {
|
|
12667
12692
|
for (o = 0; i = t.regex.exec(e);) {
|
|
12668
12693
|
let n = i[1].trim();
|
|
@@ -12677,14 +12702,14 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12677
12702
|
} else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = "";
|
|
12678
12703
|
} else !$(a) && !this.useRawValueToEscape && (a = Dy(a));
|
|
12679
12704
|
let s = t.safeValue(a);
|
|
12680
|
-
if (e = e.replace(i[0], s), u ? (t.regex.lastIndex +=
|
|
12705
|
+
if (e = e.replace(i[0], lb(s)), u ? (t.regex.lastIndex += s.length, t.regex.lastIndex -= i[0].length) : t.regex.lastIndex = 0, o++, o >= this.maxReplaces) break;
|
|
12681
12706
|
}
|
|
12682
12707
|
}), e;
|
|
12683
12708
|
}
|
|
12684
12709
|
nest(e, t, n = {}) {
|
|
12685
12710
|
let r, i, a, o = (e, t) => {
|
|
12686
12711
|
let n = this.nestingOptionsSeparator;
|
|
12687
|
-
if (e.
|
|
12712
|
+
if (!e.includes(n)) return e;
|
|
12688
12713
|
let r = e.split(RegExp(`${Ry(n)}[ ]*{`)), i = `{${r[1]}`;
|
|
12689
12714
|
e = r[0], i = this.interpolate(i, a);
|
|
12690
12715
|
let o = i.match(/'/g), s = i.match(/"/g);
|
|
@@ -12697,27 +12722,27 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12697
12722
|
} catch (t) {
|
|
12698
12723
|
return this.logger.warn(`failed parsing options string in nesting for key ${e}`, t), `${e}${n}${i}`;
|
|
12699
12724
|
}
|
|
12700
|
-
return a.defaultValue && a.defaultValue.
|
|
12701
|
-
};
|
|
12702
|
-
for (; r =
|
|
12703
|
-
let
|
|
12725
|
+
return a.defaultValue && a.defaultValue.includes(this.prefix) && delete a.defaultValue, e;
|
|
12726
|
+
}, s = new RegExp(this.nestingRegexp), c = "", l = 0;
|
|
12727
|
+
for (; r = s.exec(e);) {
|
|
12728
|
+
let u = [];
|
|
12704
12729
|
a = { ...n }, a = a.replace && !$(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
|
|
12705
|
-
let
|
|
12706
|
-
if (
|
|
12707
|
-
$(i) || (i = Dy(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""),
|
|
12730
|
+
let d = /{.*}/s.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator);
|
|
12731
|
+
if (d !== -1 && (u = r[1].slice(d).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, d)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !$(i)) return i;
|
|
12732
|
+
$(i) || (i = Dy(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), u.length && (i = u.reduce((e, t) => this.format(e, t, n.lng, {
|
|
12708
12733
|
...n,
|
|
12709
12734
|
interpolationkey: r[1].trim()
|
|
12710
|
-
}), i.trim())),
|
|
12735
|
+
}), i.trim())), c += e.slice(l, r.index) + Dy(i), l = s.lastIndex, this.regexp.lastIndex = 0;
|
|
12711
12736
|
}
|
|
12712
|
-
return e;
|
|
12737
|
+
return l ? c + e.slice(l) : e;
|
|
12713
12738
|
}
|
|
12714
12739
|
}, db = (e) => {
|
|
12715
12740
|
let t = e.toLowerCase().trim(), n = {};
|
|
12716
|
-
if (e.
|
|
12741
|
+
if (e.includes("(")) {
|
|
12717
12742
|
let r = e.split("(");
|
|
12718
12743
|
t = r[0].toLowerCase().trim();
|
|
12719
|
-
let i = r[1].
|
|
12720
|
-
t === "currency" && i.
|
|
12744
|
+
let i = r[1].slice(0, -1);
|
|
12745
|
+
t === "currency" && !i.includes(":") ? n.currency ||= i.trim() : t === "relativetime" && !i.includes(":") ? n.range ||= i.trim() : i.split(";").forEach((e) => {
|
|
12721
12746
|
if (e) {
|
|
12722
12747
|
let [t, ...r] = e.split(":"), i = r.join(":").trim().replace(/^'+|'+$/g, ""), a = t.trim();
|
|
12723
12748
|
n[a] || (n[a] = i), i === "false" && (n[a] = !1), i === "true" && (n[a] = !0), isNaN(i) || (n[a] = parseInt(i, 10));
|
|
@@ -12779,12 +12804,14 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12779
12804
|
this.formats[e.toLowerCase().trim()] = fb(t);
|
|
12780
12805
|
}
|
|
12781
12806
|
format(e, t, n, r = {}) {
|
|
12782
|
-
|
|
12783
|
-
|
|
12784
|
-
|
|
12785
|
-
|
|
12786
|
-
|
|
12787
|
-
|
|
12807
|
+
if (!t || e == null) return e;
|
|
12808
|
+
let i = t.split(this.formatSeparator), a = [];
|
|
12809
|
+
for (let e = 0; e < i.length; e++) {
|
|
12810
|
+
let t = i[e];
|
|
12811
|
+
for (; t.indexOf("(") > -1 && !t.includes(")") && e + 1 < i.length;) t = `${t}${this.formatSeparator}${i[++e]}`;
|
|
12812
|
+
a.push(t);
|
|
12813
|
+
}
|
|
12814
|
+
return a.reduce((e, t) => {
|
|
12788
12815
|
let { formatName: i, formatOptions: a } = db(t);
|
|
12789
12816
|
if (this.formats[i]) {
|
|
12790
12817
|
let t = e;
|
|
@@ -12864,7 +12891,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12864
12891
|
this.read(e.lng, e.ns, e.fcName, e.tried, e.wait, e.callback);
|
|
12865
12892
|
}
|
|
12866
12893
|
o && s && r < this.maxRetries ? setTimeout(() => {
|
|
12867
|
-
this.read
|
|
12894
|
+
this.read(e, t, n, r + 1, i * 2, a);
|
|
12868
12895
|
}, i) : a(o, s);
|
|
12869
12896
|
}, s = this.backend[n].bind(this.backend);
|
|
12870
12897
|
if (s.length === 2) try {
|
|
@@ -12926,11 +12953,11 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12926
12953
|
nonExplicitSupportedLngs: !1,
|
|
12927
12954
|
load: "all",
|
|
12928
12955
|
preload: !1,
|
|
12929
|
-
simplifyPluralSuffix: !0,
|
|
12930
12956
|
keySeparator: ".",
|
|
12931
12957
|
nsSeparator: ":",
|
|
12932
12958
|
pluralSeparator: "_",
|
|
12933
12959
|
contextSeparator: "_",
|
|
12960
|
+
enableSelector: !1,
|
|
12934
12961
|
partialBundledLanguages: !1,
|
|
12935
12962
|
saveMissing: !1,
|
|
12936
12963
|
updateMissing: !1,
|
|
@@ -12960,7 +12987,6 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12960
12987
|
},
|
|
12961
12988
|
interpolation: {
|
|
12962
12989
|
escapeValue: !0,
|
|
12963
|
-
format: (e) => e,
|
|
12964
12990
|
prefix: "{{",
|
|
12965
12991
|
suffix: "}}",
|
|
12966
12992
|
formatSeparator: ",",
|
|
@@ -12972,13 +12998,11 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12972
12998
|
skipOnVariables: !0
|
|
12973
12999
|
},
|
|
12974
13000
|
cacheInBuiltFormats: !0
|
|
12975
|
-
}), vb = (e) => ($(e.ns) && (e.ns = [e.ns]), $(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), $(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs
|
|
13001
|
+
}), vb = (e) => ($(e.ns) && (e.ns = [e.ns]), $(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), $(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs && !e.supportedLngs.includes("cimode") && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e), yb = () => {}, bb = (e) => {
|
|
12976
13002
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => {
|
|
12977
13003
|
typeof e[t] == "function" && (e[t] = e[t].bind(e));
|
|
12978
13004
|
});
|
|
12979
|
-
}, xb =
|
|
12980
|
-
typeof globalThis < "u" && (globalThis[xb] = !0);
|
|
12981
|
-
}, wb = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((e) => e?.name?.indexOf("Locize") > 0 || e?.constructor?.name?.indexOf("Locize") > 0) || e?.options?.backend?.projectId || e?.options?.backend?.backendOptions && e.options.backend.backendOptions.some((e) => e?.projectId)), Tb = class e extends Yy {
|
|
13005
|
+
}, xb = class e extends Yy {
|
|
12982
13006
|
constructor(e = {}, t) {
|
|
12983
13007
|
if (super(), this.options = vb(e), this.services = {}, this.logger = Jy, this.modules = { external: [] }, bb(this), t && !this.isInitialized && !e.isClone) {
|
|
12984
13008
|
if (!this.options.initAsync) return this.init(e, t), this;
|
|
@@ -12988,7 +13012,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12988
13012
|
}
|
|
12989
13013
|
}
|
|
12990
13014
|
init(e = {}, t) {
|
|
12991
|
-
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && ($(e.ns) ? e.defaultNS = e.ns : e.ns.
|
|
13015
|
+
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && ($(e.ns) ? e.defaultNS = e.ns : e.ns.includes("translation") || (e.defaultNS = e.ns[0]));
|
|
12992
13016
|
let n = _b();
|
|
12993
13017
|
this.options = {
|
|
12994
13018
|
...n,
|
|
@@ -12997,21 +13021,18 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
12997
13021
|
}, this.options.interpolation = {
|
|
12998
13022
|
...n.interpolation,
|
|
12999
13023
|
...this.options.interpolation
|
|
13000
|
-
}, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler)
|
|
13024
|
+
}, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler);
|
|
13001
13025
|
let r = (e) => e ? typeof e == "function" ? new e() : e : null;
|
|
13002
13026
|
if (!this.options.isClone) {
|
|
13003
13027
|
this.modules.logger ? Jy.init(r(this.modules.logger), this.options) : Jy.init(null, this.options);
|
|
13004
13028
|
let e;
|
|
13005
13029
|
e = this.modules.formatter ? this.modules.formatter : mb;
|
|
13006
13030
|
let t = new ib(this.options);
|
|
13007
|
-
this.store = new
|
|
13008
|
-
let
|
|
13009
|
-
|
|
13010
|
-
prepend: this.options.pluralSeparator,
|
|
13011
|
-
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
13012
|
-
}), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new ub(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new gb(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
|
|
13031
|
+
this.store = new Zy(this.options.resources, this.options);
|
|
13032
|
+
let n = this.services;
|
|
13033
|
+
n.logger = Jy, n.resourceStore = this.store, n.languageUtils = t, n.pluralResolver = new sb(t, { prepend: this.options.pluralSeparator }), e && (n.formatter = r(e), n.formatter.init && n.formatter.init(n, this.options), this.options.interpolation.format = n.formatter.format.bind(n.formatter)), n.interpolator = new ub(this.options), n.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, n.backendConnector = new gb(r(this.modules.backend), n.resourceStore, n, this.options), n.backendConnector.on("*", (e, ...t) => {
|
|
13013
13034
|
this.emit(e, ...t);
|
|
13014
|
-
}), this.modules.languageDetector && (
|
|
13035
|
+
}), this.modules.languageDetector && (n.languageDetector = r(this.modules.languageDetector), n.languageDetector.init && n.languageDetector.init(n, this.options.detection, this.options)), this.modules.i18nFormat && (n.i18nFormat = r(this.modules.i18nFormat), n.i18nFormat.init && n.i18nFormat.init(this)), this.translator = new rb(this.services, this.options), this.translator.on("*", (e, ...t) => {
|
|
13015
13036
|
this.emit(e, ...t);
|
|
13016
13037
|
}), this.modules.external.forEach((e) => {
|
|
13017
13038
|
e.init && e.init(this);
|
|
@@ -13040,7 +13061,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
13040
13061
|
let e = (e, n) => {
|
|
13041
13062
|
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), i.resolve(n), t(e, n);
|
|
13042
13063
|
};
|
|
13043
|
-
if (this.languages && !this.isInitialized) return e(null, this.t.bind(this));
|
|
13064
|
+
if ((this.languages || this.isLanguageChangingTo) && !this.isInitialized) return e(null, this.t.bind(this));
|
|
13044
13065
|
this.changeLanguage(this.options.lng, e);
|
|
13045
13066
|
};
|
|
13046
13067
|
return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i;
|
|
@@ -13051,7 +13072,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
13051
13072
|
if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
|
|
13052
13073
|
let e = [], t = (t) => {
|
|
13053
13074
|
t && t !== "cimode" && this.services.languageUtils.toResolveHierarchy(t).forEach((t) => {
|
|
13054
|
-
t !== "cimode" && e.
|
|
13075
|
+
t !== "cimode" && (e.includes(t) || e.push(t));
|
|
13055
13076
|
});
|
|
13056
13077
|
};
|
|
13057
13078
|
r ? t(r) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e) => t(e)), this.options.preload?.forEach?.((e) => t(e)), this.services.backendConnector.load(e, this.options.ns, (e) => {
|
|
@@ -13068,18 +13089,18 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
13068
13089
|
use(e) {
|
|
13069
13090
|
if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
13070
13091
|
if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
13071
|
-
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" &&
|
|
13092
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Qy.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
13072
13093
|
}
|
|
13073
13094
|
setResolvedLanguage(e) {
|
|
13074
|
-
if (e && this.languages && !
|
|
13095
|
+
if (e && this.languages && !["cimode", "dev"].includes(e)) {
|
|
13075
13096
|
for (let e = 0; e < this.languages.length; e++) {
|
|
13076
13097
|
let t = this.languages[e];
|
|
13077
|
-
if (!
|
|
13098
|
+
if (!["cimode", "dev"].includes(t) && this.store.hasLanguageSomeTranslations(t)) {
|
|
13078
13099
|
this.resolvedLanguage = t;
|
|
13079
13100
|
break;
|
|
13080
13101
|
}
|
|
13081
13102
|
}
|
|
13082
|
-
!this.resolvedLanguage && this.languages.
|
|
13103
|
+
!this.resolvedLanguage && !this.languages.includes(e) && this.store.hasLanguageSomeTranslations(e) && (this.resolvedLanguage = e, this.languages.unshift(e));
|
|
13083
13104
|
}
|
|
13084
13105
|
}
|
|
13085
13106
|
changeLanguage(e, t) {
|
|
@@ -13099,19 +13120,21 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
13099
13120
|
};
|
|
13100
13121
|
return !e && this.services.languageDetector && !this.services.languageDetector.async ? a(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(a) : this.services.languageDetector.detect(a) : a(e), n;
|
|
13101
13122
|
}
|
|
13102
|
-
getFixedT(e, t, n) {
|
|
13103
|
-
let r = (e, t, ...
|
|
13104
|
-
let
|
|
13105
|
-
|
|
13106
|
-
let
|
|
13123
|
+
getFixedT(e, t, n, r) {
|
|
13124
|
+
let i = r?.scopeNs, a = (e, t, ...r) => {
|
|
13125
|
+
let o;
|
|
13126
|
+
o = typeof t == "object" ? { ...t } : this.options.overloadTranslationOptionHandler([e, t].concat(r)), o.lng = o.lng || a.lng, o.lngs = o.lngs || a.lngs;
|
|
13127
|
+
let s = o.ns !== void 0 && o.ns !== null;
|
|
13128
|
+
o.ns = o.ns || a.ns, o.keyPrefix !== "" && (o.keyPrefix = o.keyPrefix || n || a.keyPrefix);
|
|
13129
|
+
let c = {
|
|
13107
13130
|
...this.options,
|
|
13108
|
-
...
|
|
13131
|
+
...o
|
|
13109
13132
|
};
|
|
13110
|
-
typeof
|
|
13111
|
-
let
|
|
13112
|
-
return
|
|
13133
|
+
Array.isArray(i) && !s && (c.ns = i), typeof o.keyPrefix == "function" && (o.keyPrefix = tb(o.keyPrefix, c));
|
|
13134
|
+
let l = this.options.keySeparator || ".", u;
|
|
13135
|
+
return o.keyPrefix && Array.isArray(e) ? u = e.map((e) => (typeof e == "function" && (e = tb(e, c)), `${o.keyPrefix}${l}${e}`)) : (typeof e == "function" && (e = tb(e, c)), u = o.keyPrefix ? `${o.keyPrefix}${l}${e}` : e), this.t(u, o);
|
|
13113
13136
|
};
|
|
13114
|
-
return $(e) ?
|
|
13137
|
+
return $(e) ? a.lng = e : a.lngs = e, a.ns = t, a.keyPrefix = n, a;
|
|
13115
13138
|
}
|
|
13116
13139
|
t(...e) {
|
|
13117
13140
|
return this.translator?.translate(...e);
|
|
@@ -13135,12 +13158,14 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
13135
13158
|
let e = t.precheck(this, a);
|
|
13136
13159
|
if (e !== void 0) return e;
|
|
13137
13160
|
}
|
|
13138
|
-
|
|
13161
|
+
if (this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages) return !0;
|
|
13162
|
+
let { languageUtils: o } = this.services, s = t.lng ? o.isSupportedCode(n) && o.toResolveHierarchy(n, !1)[0] : n;
|
|
13163
|
+
return !(s && !a(s, e) || r && !a(i, e));
|
|
13139
13164
|
}
|
|
13140
13165
|
loadNamespaces(e, t) {
|
|
13141
13166
|
let n = Ey();
|
|
13142
13167
|
return this.options.ns ? ($(e) && (e = [e]), e.forEach((e) => {
|
|
13143
|
-
this.options.ns.
|
|
13168
|
+
this.options.ns.includes(e) || this.options.ns.push(e);
|
|
13144
13169
|
}), this.loadResources((e) => {
|
|
13145
13170
|
n.resolve(), t && t(e);
|
|
13146
13171
|
}), n) : (t && t(), Promise.resolve());
|
|
@@ -13148,7 +13173,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
13148
13173
|
loadLanguages(e, t) {
|
|
13149
13174
|
let n = Ey();
|
|
13150
13175
|
$(e) && (e = [e]);
|
|
13151
|
-
let r = this.options.preload || [], i = e.filter((e) => r.
|
|
13176
|
+
let r = this.options.preload || [], i = e.filter((e) => !r.includes(e) && this.services.languageUtils.isSupportedCode(e));
|
|
13152
13177
|
return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => {
|
|
13153
13178
|
n.resolve(), t && t(e);
|
|
13154
13179
|
}), n) : (t && t(), Promise.resolve());
|
|
@@ -13163,7 +13188,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
13163
13188
|
}
|
|
13164
13189
|
} catch {}
|
|
13165
13190
|
let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new ib(_b());
|
|
13166
|
-
return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.
|
|
13191
|
+
return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.includes(n.getLanguagePartFromCode(e)) || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
13167
13192
|
}
|
|
13168
13193
|
static createInstance(t = {}, n) {
|
|
13169
13194
|
let r = new e(t, n);
|
|
@@ -13174,6 +13199,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
13174
13199
|
r && delete t.forkResourceStore;
|
|
13175
13200
|
let i = {
|
|
13176
13201
|
...this.options,
|
|
13202
|
+
preload: !1,
|
|
13177
13203
|
...t,
|
|
13178
13204
|
isClone: !0
|
|
13179
13205
|
}, a = new e(i);
|
|
@@ -13183,7 +13209,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
13183
13209
|
"language"
|
|
13184
13210
|
].forEach((e) => {
|
|
13185
13211
|
a[e] = this[e];
|
|
13186
|
-
}), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new
|
|
13212
|
+
}), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new Zy(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
|
|
13187
13213
|
let e = {
|
|
13188
13214
|
..._b().interpolation,
|
|
13189
13215
|
...this.options.interpolation,
|
|
@@ -13210,7 +13236,7 @@ var tb = {}, nb = (e) => !$(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
13210
13236
|
}.createInstance();
|
|
13211
13237
|
//#endregion
|
|
13212
13238
|
//#region ../../shared/translator/dist/index.js
|
|
13213
|
-
|
|
13239
|
+
xb.createInstance, xb.dir, xb.init, xb.loadResources, xb.reloadResources, xb.use, xb.changeLanguage, xb.getFixedT, xb.t, xb.exists, xb.setDefaultNamespace, xb.hasLoadedNamespace, xb.loadNamespaces, xb.loadLanguages, xb.init({
|
|
13214
13240
|
fallbackLng: "en",
|
|
13215
13241
|
lng: "en",
|
|
13216
13242
|
showSupportNotice: !1,
|
|
@@ -13219,9 +13245,9 @@ Tb.createInstance, Tb.dir, Tb.init, Tb.loadResources, Tb.reloadResources, Tb.use
|
|
|
13219
13245
|
es: Ty
|
|
13220
13246
|
}
|
|
13221
13247
|
});
|
|
13222
|
-
var
|
|
13248
|
+
var Sb = {
|
|
13223
13249
|
translator: {
|
|
13224
|
-
...
|
|
13250
|
+
...xb,
|
|
13225
13251
|
t: (e, t) => {
|
|
13226
13252
|
let { lng: n } = t;
|
|
13227
13253
|
switch (n) {
|
|
@@ -13234,7 +13260,7 @@ var Eb = {
|
|
|
13234
13260
|
case "es_MX":
|
|
13235
13261
|
case "es-MX": t.lng = "es";
|
|
13236
13262
|
}
|
|
13237
|
-
return
|
|
13263
|
+
return xb.t(e, {
|
|
13238
13264
|
lng: n,
|
|
13239
13265
|
...t
|
|
13240
13266
|
});
|
|
@@ -13247,7 +13273,7 @@ var Eb = {
|
|
|
13247
13273
|
value: "es_ES",
|
|
13248
13274
|
label: "Spanish"
|
|
13249
13275
|
}]
|
|
13250
|
-
},
|
|
13276
|
+
}, Cb = Cg(/*#__PURE__*/ m("path", { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }), "Check"), wb = vs("MuiDivider", [
|
|
13251
13277
|
"root",
|
|
13252
13278
|
"absolute",
|
|
13253
13279
|
"fullWidth",
|
|
@@ -13262,7 +13288,7 @@ var Eb = {
|
|
|
13262
13288
|
"textAlignLeft",
|
|
13263
13289
|
"wrapper",
|
|
13264
13290
|
"wrapperVertical"
|
|
13265
|
-
]),
|
|
13291
|
+
]), Tb = vs("MuiListItemIcon", ["root", "alignItemsFlexStart"]), Eb = vs("MuiListItemText", [
|
|
13266
13292
|
"root",
|
|
13267
13293
|
"multiline",
|
|
13268
13294
|
"dense",
|
|
@@ -13272,10 +13298,10 @@ var Eb = {
|
|
|
13272
13298
|
]);
|
|
13273
13299
|
//#endregion
|
|
13274
13300
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+cb46ce523248780c/node_modules/@mui/material/esm/MenuItem/menuItemClasses.js
|
|
13275
|
-
function
|
|
13301
|
+
function Db(e) {
|
|
13276
13302
|
return _s("MuiMenuItem", e);
|
|
13277
13303
|
}
|
|
13278
|
-
var
|
|
13304
|
+
var Ob = vs("MuiMenuItem", [
|
|
13279
13305
|
"root",
|
|
13280
13306
|
"focusVisible",
|
|
13281
13307
|
"dense",
|
|
@@ -13283,14 +13309,14 @@ var Mb = vs("MuiMenuItem", [
|
|
|
13283
13309
|
"divider",
|
|
13284
13310
|
"gutters",
|
|
13285
13311
|
"selected"
|
|
13286
|
-
]),
|
|
13287
|
-
function
|
|
13288
|
-
return r.useContext(
|
|
13312
|
+
]), kb = /*#__PURE__*/ r.createContext(null);
|
|
13313
|
+
function Ab() {
|
|
13314
|
+
return r.useContext(kb);
|
|
13289
13315
|
}
|
|
13290
|
-
var
|
|
13316
|
+
var jb = kb.Provider;
|
|
13291
13317
|
//#endregion
|
|
13292
13318
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+cb46ce523248780c/node_modules/@mui/material/esm/MenuItem/MenuItem.js
|
|
13293
|
-
function
|
|
13319
|
+
function Mb(e, t) {
|
|
13294
13320
|
if (t == null) e.focus();
|
|
13295
13321
|
else try {
|
|
13296
13322
|
e.focus({ focusVisible: t === "keyboard" });
|
|
@@ -13298,7 +13324,7 @@ function Ib(e, t) {
|
|
|
13298
13324
|
e.focus();
|
|
13299
13325
|
}
|
|
13300
13326
|
}
|
|
13301
|
-
var
|
|
13327
|
+
var Nb = (e, t) => {
|
|
13302
13328
|
let { ownerState: n } = e;
|
|
13303
13329
|
return [
|
|
13304
13330
|
t.root,
|
|
@@ -13306,7 +13332,7 @@ var Lb = (e, t) => {
|
|
|
13306
13332
|
n.divider && t.divider,
|
|
13307
13333
|
!n.disableGutters && t.gutters
|
|
13308
13334
|
];
|
|
13309
|
-
},
|
|
13335
|
+
}, Pb = (e) => {
|
|
13310
13336
|
let { disabled: t, dense: n, divider: r, disableGutters: i, selected: a, classes: o } = e, s = Lc({ root: [
|
|
13311
13337
|
"root",
|
|
13312
13338
|
n && "dense",
|
|
@@ -13314,16 +13340,16 @@ var Lb = (e, t) => {
|
|
|
13314
13340
|
!i && "gutters",
|
|
13315
13341
|
r && "divider",
|
|
13316
13342
|
a && "selected"
|
|
13317
|
-
] },
|
|
13343
|
+
] }, Db, o);
|
|
13318
13344
|
return {
|
|
13319
13345
|
...o,
|
|
13320
13346
|
...s
|
|
13321
13347
|
};
|
|
13322
|
-
},
|
|
13348
|
+
}, Fb = K(O_, {
|
|
13323
13349
|
shouldForwardProp: (e) => Xl(e) || e === "classes",
|
|
13324
13350
|
name: "MuiMenuItem",
|
|
13325
13351
|
slot: "Root",
|
|
13326
|
-
overridesResolver:
|
|
13352
|
+
overridesResolver: Nb
|
|
13327
13353
|
})(Hh(({ theme: e }) => ({
|
|
13328
13354
|
...e.typography.body1,
|
|
13329
13355
|
display: "flex",
|
|
@@ -13341,27 +13367,27 @@ var Lb = (e, t) => {
|
|
|
13341
13367
|
backgroundColor: (e.vars || e).palette.action.hover,
|
|
13342
13368
|
"@media (hover: none)": { backgroundColor: "transparent" }
|
|
13343
13369
|
},
|
|
13344
|
-
[`&.${
|
|
13370
|
+
[`&.${Ob.selected}`]: {
|
|
13345
13371
|
backgroundColor: e.alpha((e.vars || e).palette.primary.main, (e.vars || e).palette.action.selectedOpacity),
|
|
13346
|
-
[`&.${
|
|
13372
|
+
[`&.${Ob.focusVisible}`]: { backgroundColor: e.alpha((e.vars || e).palette.primary.main, `${(e.vars || e).palette.action.selectedOpacity} + ${(e.vars || e).palette.action.focusOpacity}`) }
|
|
13347
13373
|
},
|
|
13348
|
-
[`&.${
|
|
13374
|
+
[`&.${Ob.selected}:hover`]: {
|
|
13349
13375
|
backgroundColor: e.alpha((e.vars || e).palette.primary.main, `${(e.vars || e).palette.action.selectedOpacity} + ${(e.vars || e).palette.action.hoverOpacity}`),
|
|
13350
13376
|
"@media (hover: none)": { backgroundColor: e.alpha((e.vars || e).palette.primary.main, (e.vars || e).palette.action.selectedOpacity) }
|
|
13351
13377
|
},
|
|
13352
|
-
[`&.${
|
|
13353
|
-
[`&.${
|
|
13354
|
-
[`& + .${
|
|
13378
|
+
[`&.${Ob.focusVisible}`]: { backgroundColor: (e.vars || e).palette.action.focus },
|
|
13379
|
+
[`&.${Ob.disabled}`]: { opacity: (e.vars || e).palette.action.disabledOpacity },
|
|
13380
|
+
[`& + .${wb.root}`]: {
|
|
13355
13381
|
marginTop: e.spacing(1),
|
|
13356
13382
|
marginBottom: e.spacing(1)
|
|
13357
13383
|
},
|
|
13358
|
-
[`& + .${
|
|
13359
|
-
[`& .${
|
|
13384
|
+
[`& + .${wb.inset}`]: { marginLeft: 52 },
|
|
13385
|
+
[`& .${Eb.root}`]: {
|
|
13360
13386
|
marginTop: 0,
|
|
13361
13387
|
marginBottom: 0
|
|
13362
13388
|
},
|
|
13363
|
-
[`& .${
|
|
13364
|
-
[`& .${
|
|
13389
|
+
[`& .${Eb.inset}`]: { paddingLeft: 36 },
|
|
13390
|
+
[`& .${Tb.root}`]: { minWidth: 36 },
|
|
13365
13391
|
variants: [
|
|
13366
13392
|
{
|
|
13367
13393
|
props: ({ ownerState: e }) => !e.disableGutters,
|
|
@@ -13388,15 +13414,15 @@ var Lb = (e, t) => {
|
|
|
13388
13414
|
paddingTop: 4,
|
|
13389
13415
|
paddingBottom: 4,
|
|
13390
13416
|
...e.typography.body2,
|
|
13391
|
-
[`& .${
|
|
13417
|
+
[`& .${Tb.root} svg`]: { fontSize: "1.25rem" }
|
|
13392
13418
|
}
|
|
13393
13419
|
}
|
|
13394
13420
|
]
|
|
13395
|
-
}))),
|
|
13421
|
+
}))), Ib = /*#__PURE__*/ r.forwardRef(function(e, t) {
|
|
13396
13422
|
let n = Km({
|
|
13397
13423
|
props: e,
|
|
13398
13424
|
name: "MuiMenuItem"
|
|
13399
|
-
}), { autoFocus: i = !1, component: a = "li", dense: o = !1, divider: s = !1, disableGutters: c = !1, focusVisibleClassName: l, role: u = "menuitem", tabIndex: d, className: f, ...p } = n, h =
|
|
13425
|
+
}), { autoFocus: i = !1, component: a = "li", dense: o = !1, divider: s = !1, disableGutters: c = !1, focusVisibleClassName: l, role: u = "menuitem", tabIndex: d, className: f, ...p } = n, h = Ab(), g = r.useContext(ry), _ = r.useMemo(() => ({
|
|
13400
13426
|
dense: o || g.dense || !1,
|
|
13401
13427
|
disableGutters: c
|
|
13402
13428
|
}), [
|
|
@@ -13405,17 +13431,17 @@ var Lb = (e, t) => {
|
|
|
13405
13431
|
c
|
|
13406
13432
|
]), v = r.useRef(null);
|
|
13407
13433
|
Tg(() => {
|
|
13408
|
-
i && v.current &&
|
|
13434
|
+
i && v.current && Mb(v.current, h);
|
|
13409
13435
|
}, [i]);
|
|
13410
13436
|
let y = {
|
|
13411
13437
|
...n,
|
|
13412
13438
|
dense: _.dense,
|
|
13413
13439
|
divider: s,
|
|
13414
13440
|
disableGutters: c
|
|
13415
|
-
}, b =
|
|
13441
|
+
}, b = Pb(n), x = dh(v, t), { root: S, ...C } = b, w;
|
|
13416
13442
|
return n.disabled || (w = d === void 0 ? -1 : d), /*#__PURE__*/ m(ry.Provider, {
|
|
13417
13443
|
value: _,
|
|
13418
|
-
children: /*#__PURE__*/ m(
|
|
13444
|
+
children: /*#__PURE__*/ m(Fb, {
|
|
13419
13445
|
ref: x,
|
|
13420
13446
|
role: u,
|
|
13421
13447
|
tabIndex: w,
|
|
@@ -13427,8 +13453,8 @@ var Lb = (e, t) => {
|
|
|
13427
13453
|
classes: C
|
|
13428
13454
|
})
|
|
13429
13455
|
});
|
|
13430
|
-
}),
|
|
13456
|
+
}), Lb = Cg(/*#__PURE__*/ m("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), "Close");
|
|
13431
13457
|
//#endregion
|
|
13432
|
-
export { dh as $, u_ as A, fs as At, Q as B, yr as Bt, fv as C, Lc as Ct, M_ as D, vs as Dt, W_ as E, Ms as Et, Dg as F, va as Ft, tg as G, Qn as Gt, pg as H, gr as Ht, Eg as I, ya as It, Hh as J, ne as Jt, Zh as K, P as Kt, Tg as L, wr as Lt, Qg as M, Ga as Mt, Bg as N, Ua as Nt, O_ as O, _s as Ot, kg as P, Pa as Pt, hh as Q, wg as R, Cr as Rt, gv as S, Bc as St, nv as T, nc as Tt, rg as U, Xn as Ut, _g as V, vr as Vt, ng as W, Zn as Wt, Ah as X, k as Xt, Vh as Y, g as Yt, kh as Z, Fv as _, Xl as _t,
|
|
13458
|
+
export { dh as $, u_ as A, fs as At, Q as B, yr as Bt, fv as C, Lc as Ct, M_ as D, vs as Dt, W_ as E, Ms as Et, Dg as F, va as Ft, tg as G, Qn as Gt, pg as H, gr as Ht, Eg as I, ya as It, Hh as J, ne as Jt, Zh as K, P as Kt, Tg as L, wr as Lt, Qg as M, Ga as Mt, Bg as N, Ua as Nt, O_ as O, _s as Ot, kg as P, Pa as Pt, hh as Q, wg as R, Cr as Rt, gv as S, Bc as St, nv as T, nc as Tt, rg as U, Xn as Ut, _g as V, vr as Vt, ng as W, Zn as Wt, Ah as X, k as Xt, Vh as Y, g as Yt, kh as Z, Fv as _, Xl as _t, Sb as a, Zm as at, vv as b, ql as bt, xy as c, Jm as ct, ny as d, Gm as dt, uh as et, $v as f, Bm as ft, Rv as g, K as gt, Kv as h, ru as ht, Cb as i, Qm as it, o_ as j, es as jt, d_ as k, V as kt, sy as l, qm as lt, qv as m, Cu as mt, Ib as n, rh as nt, Cy as o, Xm as ot, Zv as p, id as pt, Jh as q, se as qt, jb as r, ih as rt, Sy as s, Ym as st, Lb as t, ah as tt, ry as u, Km as ut, Av as v, Yl as vt, iv as w, uc as wt, _v as x, Kl as xt, Ov as y, Jl as yt, Cg as z, Sr as zt };
|
|
13433
13459
|
|
|
13434
|
-
//# sourceMappingURL=Close-
|
|
13460
|
+
//# sourceMappingURL=Close-Da70uhKB.js.map
|