@jackuait/blok 0.10.0-beta.6 → 0.10.0-beta.8
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/codemod/migrate-editorjs-to-blok.js +0 -2
- package/codemod/test.js +0 -6
- package/dist/blok.mjs +2 -2
- package/dist/chunks/_basePickBy-DISiGhsr.mjs +410 -0
- package/dist/chunks/_baseUniq-gAuHRtRF.mjs +1045 -0
- package/dist/chunks/_getTag-Aj56Wgor.mjs +26 -0
- package/dist/chunks/arc-D-pL2Ftf.mjs +80 -0
- package/dist/chunks/architecture-YZFGNWBL-CuqTb_ae.mjs +3 -0
- package/dist/chunks/architectureDiagram-Q4EWVU46-DS7mqjL2.mjs +4066 -0
- package/dist/chunks/array-BsrkCVSZ.mjs +6 -0
- package/dist/chunks/blockDiagram-DXYQGD6D-BTtcn4NG.mjs +3259 -0
- package/dist/chunks/{blok-BdlR_lX6.mjs → blok-CRvF-xVm.mjs} +2142 -2171
- package/dist/chunks/c-C6JXJf5K.mjs +5 -0
- package/dist/chunks/c4Diagram-AHTNJAMY-Y4Dcwcoo.mjs +2956 -0
- package/dist/chunks/ccount-C9Y7nqDe.mjs +10 -0
- package/dist/chunks/channel-Cln-eWE0.mjs +5 -0
- package/dist/chunks/chunk-2KRD3SAO-DkM7qh-k.mjs +20 -0
- package/dist/chunks/chunk-336JU56O-B17AtzlK.mjs +49 -0
- package/dist/chunks/chunk-426QAEUC-D6UAVUog.mjs +13 -0
- package/dist/chunks/chunk-4BX2VUAB-CgIkjF7Z.mjs +19 -0
- package/dist/chunks/chunk-4TB4RGXK-BUP4eON3.mjs +3250 -0
- package/dist/chunks/chunk-55IACEB6-zZ-IgaSt.mjs +8 -0
- package/dist/chunks/chunk-5FUZZQ4R-DsZnJYxM.mjs +3786 -0
- package/dist/chunks/chunk-5PVQY5BW-CORl9dnu.mjs +1692 -0
- package/dist/chunks/chunk-67CJDMHE-m0UKdcSH.mjs +20 -0
- package/dist/chunks/chunk-7N4EOEYR-DKNajFZd.mjs +29 -0
- package/dist/chunks/chunk-AA7GKIK3-BeLhNzKa.mjs +24 -0
- package/dist/chunks/chunk-BSJP7CBP-CJExmx8a.mjs +83 -0
- package/dist/chunks/chunk-CIAEETIT-CTikoJ19.mjs +20 -0
- package/dist/chunks/{chunk-Byubey_H.mjs → chunk-D6kmoKXy.mjs} +5 -5
- package/dist/chunks/chunk-EDXVE4YY-DjInnnwb.mjs +26 -0
- package/dist/chunks/chunk-ENJZ2VHE-CIl5FRDA.mjs +566 -0
- package/dist/chunks/chunk-FMBD7UC4-DjV0W7UE.mjs +5 -0
- package/dist/chunks/chunk-FOC6F5B3-LmHCCWYY.mjs +20 -0
- package/dist/chunks/chunk-ICPOFSXX-BHZIN46A.mjs +3290 -0
- package/dist/chunks/chunk-K5T4RW27-BPZ6fFnW.mjs +16370 -0
- package/dist/chunks/chunk-KGLVRYIC-S1OQdW76.mjs +20 -0
- package/dist/chunks/chunk-LIHQZDEY-CjtyJlI6.mjs +55 -0
- package/dist/chunks/chunk-ORNJ4GCN-CdO0hAge.mjs +25 -0
- package/dist/chunks/chunk-OYMX7WX6-ApX8eV4o.mjs +2038 -0
- package/dist/chunks/chunk-QZHKN3VN-BGFuA6-k.mjs +12 -0
- package/dist/chunks/chunk-U2HBQHQK-B88ZUOTL.mjs +1875 -0
- package/dist/chunks/chunk-X2U36JSP-1VS5TyCr.mjs +68 -0
- package/dist/chunks/chunk-XPW4576I-BMupdrvo.mjs +1146 -0
- package/dist/chunks/chunk-YZCP3GAM-BQ7eEsm2.mjs +60 -0
- package/dist/chunks/chunk-ZZ45TVLE-D1xks9zd.mjs +33 -0
- package/dist/chunks/classDiagram-6PBFFD2Q-C59BZJxp.mjs +30 -0
- package/dist/chunks/classDiagram-v2-HSJHXN6E-7a0qeMsE.mjs +30 -0
- package/dist/chunks/clone-Ckjt1LtE.mjs +8 -0
- package/dist/chunks/{constants-Cp8O0UfP.mjs → constants-BOZ5plBi.mjs} +49 -50
- package/dist/chunks/core-Bm6DWt7D.mjs +4501 -0
- package/dist/chunks/cose-bilkent-S5V4N54A-Bpcs2jA_.mjs +2246 -0
- package/dist/chunks/cpp-BdjvAny0.mjs +16 -0
- package/dist/chunks/csharp-YHxeHpeH.mjs +3 -0
- package/dist/chunks/css-DdLevFaX.mjs +3 -0
- package/dist/chunks/cytoscape.esm-BvD8wo00.mjs +18108 -0
- package/dist/chunks/dagre-CGNbYTKq.mjs +1536 -0
- package/dist/chunks/dagre-KV5264BT-DUD9ikgN.mjs +298 -0
- package/dist/chunks/dart-DrPWqfcC.mjs +3 -0
- package/dist/chunks/defaultLocale-ChuSeAxU.mjs +201 -0
- package/dist/chunks/diagram-5BDNPKRD-CZGfTYEe.mjs +112 -0
- package/dist/chunks/diagram-G4DWMVQ6-CuS0-h95.mjs +546 -0
- package/dist/chunks/diagram-MMDJMWI5-C-AEApYz.mjs +234 -0
- package/dist/chunks/diagram-TYMM5635-CiwAJVMq.mjs +144 -0
- package/dist/chunks/dist-Ctq-pyfb.mjs +59 -0
- package/dist/chunks/dockerfile-C68ALcaN.mjs +3 -0
- package/dist/chunks/engine-javascript-CJpnSvzf.mjs +2373 -0
- package/dist/chunks/erDiagram-SMLLAGMA-DeH5yck2.mjs +1712 -0
- package/dist/chunks/flowDiagram-DWJPFMVM-Cr6dwmQ5.mjs +4175 -0
- package/dist/chunks/ganttDiagram-T4ZO3ILL-K-divBg_.mjs +3083 -0
- package/dist/chunks/gitGraph-7Q5UKJZL-Dl-vQzrq.mjs +3 -0
- package/dist/chunks/gitGraphDiagram-UUTBAWPF-UytPZv72.mjs +792 -0
- package/dist/chunks/go-Fm5N96DN.mjs +3 -0
- package/dist/chunks/graphlib-Cye9EPNq.mjs +223 -0
- package/dist/chunks/graphql-BSnqmqgO.mjs +11 -0
- package/dist/chunks/html-BLNeZvnp.mjs +10 -0
- package/dist/chunks/{i18next-loader-oDO9ZKUV.mjs → i18next-loader-CwsYu0n6.mjs} +2 -2
- package/dist/chunks/info-OMHHGYJF-BOejJvJR.mjs +3 -0
- package/dist/chunks/infoDiagram-42DDH7IO-DuYnDbF3.mjs +29 -0
- package/dist/chunks/init-C6T-mugb.mjs +15 -0
- package/dist/chunks/ishikawaDiagram-UXIWVN3A-CHc59dLn.mjs +719 -0
- package/dist/chunks/java-83DWBpzu.mjs +5 -0
- package/dist/chunks/javascript-CBgeF1Xx.mjs +3 -0
- package/dist/chunks/journeyDiagram-VCZTEJTY-CD25C4_n.mjs +885 -0
- package/dist/chunks/json-BI17y-1H.mjs +3 -0
- package/dist/chunks/kanban-definition-6JOO6SKY-CTCT6N_p.mjs +980 -0
- package/dist/chunks/{katex-NjLaA6AJ.mjs → katex-CmTPfM0f.mjs} +1 -1
- package/dist/chunks/kotlin-DjnvsrfO.mjs +3 -0
- package/dist/chunks/latex-24n3TcOR.mjs +5 -0
- package/dist/chunks/{lightweight-i18n-DTySD6f6.mjs → lightweight-i18n-Cvv8CWh4.mjs} +13 -0
- package/dist/chunks/line-Dct5pMmw.mjs +34 -0
- package/dist/chunks/linear-BRCpMvtr.mjs +289 -0
- package/dist/chunks/lua-DV0fuZWx.mjs +5 -0
- package/dist/chunks/markdown-BqQYT45f.mjs +3 -0
- package/dist/chunks/{mdast-util-math-yS0EygZV.mjs → mdast-util-math-BlK2Zu-1.mjs} +1 -1
- package/dist/chunks/mermaid-parser.core-CA3DKkuk.mjs +57 -0
- package/dist/chunks/mermaid-vF0cEnZ0.mjs +3 -0
- package/dist/chunks/mermaid.core-CA8nc1sZ.mjs +989 -0
- package/dist/{messages-BYQ769S5.mjs → chunks/messages-8IHf7ZP3.mjs} +26 -1
- package/dist/chunks/{messages-DRv4g-IA.mjs → messages-A_MkXDlG.mjs} +26 -1
- package/dist/chunks/{messages-vN4T4r67.mjs → messages-B0vPBsWq.mjs} +26 -1
- package/dist/chunks/{messages-BDXl53cy2.mjs → messages-B2N4fUi72.mjs} +26 -1
- package/dist/chunks/{messages-DopbvJlg.mjs → messages-B4UMuyjT.mjs} +31 -6
- package/dist/{messages-uCsQjz7M.mjs → chunks/messages-B9kmbUWV.mjs} +26 -1
- package/dist/{messages-JK9Okzsy2.mjs → chunks/messages-BA8Iv99Y2.mjs} +26 -1
- package/dist/chunks/{messages-yszqJukE.mjs → messages-BAsb5CgZ.mjs} +26 -1
- package/dist/{messages-CEEzfqMO2.mjs → chunks/messages-BDZA10kl2.mjs} +29 -4
- package/dist/{messages-BeI2HORe2.mjs → chunks/messages-BE6lHKwf.mjs} +26 -1
- package/dist/{messages--cUQf9JX.mjs → chunks/messages-BQYvBqm2.mjs} +27 -2
- package/dist/{messages-CsiGzUSP2.mjs → chunks/messages-BSghd0ez.mjs} +26 -1
- package/dist/chunks/{messages-BXn9Vzbx2.mjs → messages-BUVhHx0q2.mjs} +26 -1
- package/dist/chunks/{messages-5ArOv8cj.mjs → messages-BVjoM7P0.mjs} +26 -1
- package/dist/chunks/{messages-CvlMT1e62.mjs → messages-BXM80fdr2.mjs} +26 -1
- package/dist/chunks/{messages-BlcRm2I3.mjs → messages-BYlSMRkd.mjs} +26 -1
- package/dist/chunks/{messages-bmwto4UV.mjs → messages-BYxLFj7y.mjs} +26 -1
- package/dist/chunks/{messages-SSDr5fGF2.mjs → messages-BeFqtIrc2.mjs} +26 -1
- package/dist/{messages-CD8K1g_t2.mjs → chunks/messages-Bfnq1xv4.mjs} +26 -1
- package/dist/chunks/{messages-B5fKJXd6.mjs → messages-BhzzNkN-.mjs} +26 -1
- package/dist/{messages-Dq_v7slw2.mjs → chunks/messages-BjadX8jR2.mjs} +26 -1
- package/dist/{messages-x353UCBI.mjs → chunks/messages-Bp8qin1R.mjs} +26 -1
- package/dist/{messages-hrSlVSHp.mjs → chunks/messages-Bphq_Bt3.mjs} +33 -8
- package/dist/chunks/{messages-CF_PfacZ.mjs → messages-Bxvi1ebN.mjs} +26 -1
- package/dist/chunks/{messages-DdmWzF5M.mjs → messages-C0HvoMPb.mjs} +27 -2
- package/dist/chunks/{messages-C5aCWL7B.mjs → messages-C3aX3q0H.mjs} +26 -1
- package/dist/{messages-DbZsJAff.mjs → chunks/messages-C6Mpiacw.mjs} +26 -1
- package/dist/{messages-PvMdmlxI.mjs → chunks/messages-C7VGpihw.mjs} +28 -3
- package/dist/chunks/{messages-DGD6BiGd.mjs → messages-CKBhDGI3.mjs} +28 -3
- package/dist/chunks/{messages-BaoJwsEZ.mjs → messages-COO5xmcA.mjs} +26 -1
- package/dist/chunks/{messages-Dz3UhEco2.mjs → messages-CSJ_zb3a2.mjs} +26 -1
- package/dist/chunks/{messages-CjVPwkVy.mjs → messages-CSL-6xfb2.mjs} +26 -1
- package/dist/{messages-B4lhNMKm2.mjs → chunks/messages-CVdpweyf2.mjs} +28 -3
- package/dist/chunks/{messages-DQ5ng0_t2.mjs → messages-Cdf0W9H02.mjs} +26 -1
- package/dist/{messages-Bug6Du35.mjs → chunks/messages-Ck81cQkn2.mjs} +26 -1
- package/dist/chunks/{messages-DUGEqDEG.mjs → messages-Cmf6NhSC.mjs} +26 -1
- package/dist/chunks/{messages-BMq9k_lI.mjs → messages-Cs81Z_Bh.mjs} +26 -1
- package/dist/{messages-B3Yhiycb2.mjs → chunks/messages-Cu-Wevxs2.mjs} +27 -2
- package/dist/{messages-DIKCwGog.mjs → chunks/messages-D3zojZ94.mjs} +30 -5
- package/dist/{messages-Bdk4ocMI.mjs → chunks/messages-D55HRx5O2.mjs} +26 -1
- package/dist/{messages-CvvbLyTy2.mjs → chunks/messages-D9N2MvQx2.mjs} +26 -1
- package/dist/{messages-C5Uufygq.mjs → chunks/messages-DG-4DPmP.mjs} +26 -1
- package/dist/{messages-C8f1I5EQ2.mjs → chunks/messages-DGL1ySqb2.mjs} +27 -2
- package/dist/chunks/{messages-D8-N0FmU.mjs → messages-DJoNVjqP.mjs} +27 -2
- package/dist/chunks/{messages-CcyIKgGU.mjs → messages-DMVXnAYj.mjs} +30 -5
- package/dist/chunks/{messages-CZ5Sbf8U.mjs → messages-DOuS1Qge.mjs} +26 -1
- package/dist/chunks/{messages-BXSXk3oS2.mjs → messages-DWu1r4gc2.mjs} +28 -3
- package/dist/{messages-KqWQKmIu2.mjs → chunks/messages-DlLXpgWM2.mjs} +27 -2
- package/dist/{messages-DQN1y6E9.mjs → chunks/messages-DlonA3wa.mjs} +28 -3
- package/dist/chunks/{messages-DVKifYlq.mjs → messages-Dr0Ekmbz.mjs} +49 -24
- package/dist/{messages-DACg1XAu.mjs → chunks/messages-DzTk8bJ5.mjs} +26 -1
- package/dist/{messages-BOE2mzCj2.mjs → chunks/messages-FWfsxpBz.mjs} +26 -1
- package/dist/{messages-CBPiFbEf2.mjs → chunks/messages-G416eyjY.mjs} +26 -1
- package/dist/chunks/{messages-DZwCufSb.mjs → messages-Je5YvxiY.mjs} +26 -1
- package/dist/chunks/{messages-DN-194c32.mjs → messages-JyvWu4rf2.mjs} +26 -1
- package/dist/chunks/{messages-CqgEz7C5.mjs → messages-KdawW5Na.mjs} +26 -1
- package/dist/{messages-X80Nh0ib.mjs → chunks/messages-MxpWO1db.mjs} +27 -2
- package/dist/chunks/{messages-CnQydQJd2.mjs → messages-NEqrrYvE2.mjs} +26 -1
- package/dist/{messages-DkvQ-6HC2.mjs → chunks/messages-RInp1ytX.mjs} +28 -3
- package/dist/chunks/{messages-DSO2U-ul.mjs → messages-TRUuyiFB.mjs} +26 -1
- package/dist/chunks/{messages-BhcYsC_M2.mjs → messages-aZcy0JQq2.mjs} +26 -1
- package/dist/chunks/{messages-ByAqzAhB.mjs → messages-iS34FHFB.mjs} +26 -1
- package/dist/{messages-12_eyAo-.mjs → chunks/messages-ihCjSFJI2.mjs} +26 -1
- package/dist/{messages-mipkPgwQ2.mjs → chunks/messages-jfVpL9c-2.mjs} +26 -1
- package/dist/{messages-Cb3wXGnc.mjs → chunks/messages-p1mbe__S.mjs} +27 -2
- package/dist/chunks/{messages-Dgng6KN8.mjs → messages-rCd0Rrw6.mjs} +28 -3
- package/dist/{messages-Dj79y02X.mjs → chunks/messages-xuqyb6Ff2.mjs} +26 -1
- package/dist/chunks/{micromark-extension-math-CCEGWpdz.mjs → micromark-extension-math-BbkUb36G.mjs} +2 -2
- package/dist/chunks/mindmap-definition-QFDTVHPH-hNnyBkEP.mjs +1013 -0
- package/dist/chunks/objectWithoutProperties-D0XxKB4n.mjs +23 -0
- package/dist/chunks/one-light-DmNO_Y4X.mjs +4 -0
- package/dist/chunks/ordinal-B-kolV-i.mjs +65 -0
- package/dist/chunks/packet-4T2RLAQJ-B5ZMgwzZ.mjs +3 -0
- package/dist/chunks/path-rIMjg_tH.mjs +85 -0
- package/dist/chunks/php-DmXKyPwJ.mjs +18 -0
- package/dist/chunks/pie-ZZUOXDRM-B9l6y0XJ.mjs +3 -0
- package/dist/chunks/pieDiagram-DEJITSTG-Gw-fsc6U.mjs +179 -0
- package/dist/chunks/python-DfwfY9t5.mjs +3 -0
- package/dist/chunks/quadrantDiagram-34T5L4WZ-CQ5fGYI5.mjs +1960 -0
- package/dist/chunks/r-BD2D7qEW.mjs +5 -0
- package/dist/chunks/radar-PYXPWWZC-D5kYmUaB.mjs +3 -0
- package/dist/chunks/requirementDiagram-MS252O5E-DjWKB42c.mjs +2224 -0
- package/dist/chunks/rough.esm-cmMIcj7N.mjs +1353 -0
- package/dist/chunks/ruby-DdOo03Kg.mjs +33 -0
- package/dist/chunks/rust-DEDueB5R.mjs +3 -0
- package/dist/chunks/sankeyDiagram-XADWPNL6-BIN2evSB.mjs +909 -0
- package/dist/chunks/scala-CsjqvxE4.mjs +3 -0
- package/dist/chunks/sequenceDiagram-FGHM5R23-CQz2lMoS.mjs +4181 -0
- package/dist/chunks/shellscript-Bh5zEpnQ.mjs +3 -0
- package/dist/chunks/sql-D9CrOi1i.mjs +3 -0
- package/dist/chunks/src-DVJl6f6s.mjs +2149 -0
- package/dist/chunks/stateDiagram-FHFEXIEX-BIBFsF65.mjs +218 -0
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-BZUmAVw7.mjs +28 -0
- package/dist/chunks/swift-Dpyt0s2c.mjs +3 -0
- package/dist/chunks/timeline-definition-GMOUNBTQ-CzvQ7Lav.mjs +1084 -0
- package/dist/chunks/{tools-DGOsJbHH.mjs → tools-CnqCfv2L.mjs} +2116 -1268
- package/dist/chunks/treeView-SZITEDCU-BNtnNxpI.mjs +3 -0
- package/dist/chunks/treemap-W4RFUUIX-DYENULz2.mjs +3 -0
- package/dist/chunks/typescript-DO5cd4m8.mjs +5 -0
- package/dist/chunks/vennDiagram-DHZGUBPP-B0DmLQqe.mjs +1876 -0
- package/dist/chunks/vitesse-dark-CcorSKT2.mjs +4 -0
- package/dist/chunks/wardley-RL74JXVD-ByNHVBTb.mjs +3 -0
- package/dist/chunks/wardleyDiagram-NUSXRM2D-CzoKesUw.mjs +594 -0
- package/dist/chunks/xml-g8kXXALs.mjs +5 -0
- package/dist/chunks/xychartDiagram-5P7HB3ND-CixwR8r2.mjs +2017 -0
- package/dist/chunks/yaml-CrNNZyLb.mjs +3 -0
- package/dist/cli.mjs +1 -1
- package/dist/full.mjs +3 -3
- package/dist/locales.mjs +80 -67
- package/dist/markdown.mjs +385 -393
- package/dist/{chunks/messages-9l49jauY.mjs → messages-5jvKxQNu2.mjs} +26 -1
- package/dist/{messages-CkySRhtd2.mjs → messages-7QD-X6XT2.mjs} +26 -1
- package/dist/{chunks/messages-Btr121zI2.mjs → messages-96iaAUds2.mjs} +27 -2
- package/dist/{chunks/messages-BAP2OAQk.mjs → messages-B19o-Teb.mjs} +28 -3
- package/dist/{messages-DJU4YLij.mjs → messages-B1ZUQagA.mjs} +26 -1
- package/dist/{messages-Dg2CDXZi2.mjs → messages-B7ieAJBd2.mjs} +26 -1
- package/dist/{messages-CByBLxWk.mjs → messages-BECMxmfX.mjs} +26 -1
- package/dist/{messages-CwCEcbWG.mjs → messages-BIHc0KHY.mjs} +27 -2
- package/dist/{messages-D8WvwU42.mjs → messages-BIoeoik5.mjs} +26 -1
- package/dist/{messages-D38h5XlF.mjs → messages-BJeGJksD.mjs} +26 -1
- package/dist/{messages-Cd23UgLV2.mjs → messages-BRZX964b2.mjs} +27 -2
- package/dist/{chunks/messages-B9N__q552.mjs → messages-BTQPpoM42.mjs} +29 -4
- package/dist/{messages-CUzBNjnc.mjs → messages-BYNcD6uR.mjs} +26 -1
- package/dist/{messages-DjWfVYHS2.mjs → messages-BYmmMDrN2.mjs} +26 -1
- package/dist/{chunks/messages-DkTxBa1V.mjs → messages-BbYq1pk-.mjs} +26 -1
- package/dist/{chunks/messages-BHhbHLoq.mjs → messages-BiUGXvYr2.mjs} +26 -1
- package/dist/{messages-So3SHdIc2.mjs → messages-BiiongNz2.mjs} +26 -1
- package/dist/{chunks/messages-BxBID_0B.mjs → messages-Bm0Feca1.mjs} +30 -5
- package/dist/{messages-C2veeQpU.mjs → messages-BmAn22OX.mjs} +26 -1
- package/dist/{messages-KbYSpNrE.mjs → messages-Bq3F2Tp_.mjs} +26 -1
- package/dist/{chunks/messages-Dux1S0-D2.mjs → messages-BsycN_JI2.mjs} +26 -1
- package/dist/{messages-DRU_IgoW.mjs → messages-BwHs4cm1.mjs} +30 -5
- package/dist/{messages-Cv-DKlZd.mjs → messages-CJTy6JZt.mjs} +26 -1
- package/dist/{chunks/messages-D7n_wJK7.mjs → messages-CR_L_UtK.mjs} +26 -1
- package/dist/{messages-DnhEzmXJ2.mjs → messages-CSUHBs4c2.mjs} +26 -1
- package/dist/{messages-C_HmWyXc2.mjs → messages-CWIXvnDf2.mjs} +26 -1
- package/dist/{messages-KSxF8eib.mjs → messages-CcF4y-E4.mjs} +26 -1
- package/dist/{chunks/messages-CL3mCbi6.mjs → messages-Ce6KVEbT.mjs} +27 -2
- package/dist/{chunks/messages-C-jA6Rf7.mjs → messages-Ci0KqX-J.mjs} +33 -8
- package/dist/{chunks/messages-DMyRdafk2.mjs → messages-CjbnogEC.mjs} +26 -1
- package/dist/{chunks/messages-BlO_37l_.mjs → messages-CmB406HW.mjs} +28 -3
- package/dist/{messages-Cho2VTAX.mjs → messages-CqXtJTpU.mjs} +26 -1
- package/dist/{messages-CWEL1WDy2.mjs → messages-D0aw5_0k2.mjs} +28 -3
- package/dist/{messages-CgEDVri-2.mjs → messages-D8FQWulF2.mjs} +26 -1
- package/dist/{chunks/messages-B5aAzExz.mjs → messages-DBiVgUs2.mjs} +27 -2
- package/dist/{chunks/messages-DYizZHT2.mjs → messages-DIJlIqlQ2.mjs} +26 -1
- package/dist/{messages-BPL7riv-.mjs → messages-DLX_iBDJ.mjs} +26 -1
- package/dist/{messages-vptt-pVF.mjs → messages-DLlc9QPw.mjs} +26 -1
- package/dist/{chunks/messages-876bKyUj2.mjs → messages-DMr62KiO2.mjs} +26 -1
- package/dist/{chunks/messages-CgedvWCf.mjs → messages-DPA-mMWC2.mjs} +27 -2
- package/dist/{messages-vcoib5Ga.mjs → messages-DTh9a8mR.mjs} +26 -1
- package/dist/{chunks/messages-DgEGJECT.mjs → messages-DY4IqlhY.mjs} +26 -1
- package/dist/{chunks/messages-CdzF0Hvl.mjs → messages-DYTTu0O12.mjs} +26 -1
- package/dist/{messages-rbox5gSb2.mjs → messages-DbySKTKt2.mjs} +28 -3
- package/dist/{chunks/messages-BGCQCeWd.mjs → messages-Ddnj2iTG2.mjs} +26 -1
- package/dist/{chunks/messages-CNEJxD8q2.mjs → messages-DkLU_rWm.mjs} +26 -1
- package/dist/{chunks/messages-FYl9woii2.mjs → messages-Dl3Sv6Rq2.mjs} +27 -2
- package/dist/{messages-Clsh86WQ.mjs → messages-Dl5Y2-Ia.mjs} +49 -24
- package/dist/{chunks/messages-CKRJDX0K2.mjs → messages-DnG0ef8t2.mjs} +28 -3
- package/dist/{chunks/messages-CyxDkx8a.mjs → messages-DnGJD4TL.mjs} +26 -1
- package/dist/{chunks/messages-DnJHflSh.mjs → messages-Dnp9N6RU2.mjs} +26 -1
- package/dist/{chunks/messages-Jps5Tc77.mjs → messages-Dvn35ksS.mjs} +26 -1
- package/dist/{messages-ChTWmxS8.mjs → messages-Dw__BcTj.mjs} +26 -1
- package/dist/{messages-D7juvhHp.mjs → messages-Dy-Y_nEI.mjs} +26 -1
- package/dist/{messages-CNNcKuGH.mjs → messages-E_ZuzGDt.mjs} +26 -1
- package/dist/{chunks/messages-DJO0ERQT.mjs → messages-F2xRoY1w.mjs} +26 -1
- package/dist/{messages-DqJTZbwt.mjs → messages-Smt4GBbj.mjs} +31 -6
- package/dist/{chunks/messages-D8dKkyII2.mjs → messages-aMXpHt5X2.mjs} +26 -1
- package/dist/{chunks/messages-DWD0ry9x.mjs → messages-aWZH50vu2.mjs} +28 -3
- package/dist/{chunks/messages-BbfLRqLh2.mjs → messages-dv19AkyJ.mjs} +26 -1
- package/dist/{chunks/messages-Dw2rmKMi2.mjs → messages-hWwSRF-2.mjs} +26 -1
- package/dist/{messages-En8LDjUB.mjs → messages-j7o5rT9s.mjs} +26 -1
- package/dist/{chunks/messages-NJsvFwJj.mjs → messages-nUVjeh7K.mjs} +27 -2
- package/dist/{messages-Cg1CF4pw.mjs → messages-nlhESX9t.mjs} +26 -1
- package/dist/{messages-CSl0Wla62.mjs → messages-rk-A1Wa42.mjs} +28 -3
- package/dist/{messages-nOe1gJYu.mjs → messages-xh2eOLvs.mjs} +26 -1
- package/dist/{messages-B_sKqaeK.mjs → messages-ynAe7ewZ.mjs} +26 -1
- package/dist/react.mjs +26 -25
- package/dist/tools.mjs +2 -2
- package/dist/vendor.LICENSE.txt +4065 -316
- package/package.json +2 -1
- package/src/components/constants/data-attributes.ts +0 -2
- package/src/components/i18n/locales/am/messages.json +26 -1
- package/src/components/i18n/locales/ar/messages.json +26 -1
- package/src/components/i18n/locales/az/messages.json +26 -1
- package/src/components/i18n/locales/bg/messages.json +26 -1
- package/src/components/i18n/locales/bn/messages.json +26 -1
- package/src/components/i18n/locales/bs/messages.json +28 -3
- package/src/components/i18n/locales/cs/messages.json +30 -5
- package/src/components/i18n/locales/da/messages.json +33 -8
- package/src/components/i18n/locales/de/messages.json +31 -6
- package/src/components/i18n/locales/dv/messages.json +26 -1
- package/src/components/i18n/locales/el/messages.json +26 -1
- package/src/components/i18n/locales/en/messages.json +13 -0
- package/src/components/i18n/locales/es/messages.json +27 -2
- package/src/components/i18n/locales/et/messages.json +30 -5
- package/src/components/i18n/locales/fa/messages.json +26 -1
- package/src/components/i18n/locales/fi/messages.json +26 -1
- package/src/components/i18n/locales/fil/messages.json +49 -24
- package/src/components/i18n/locales/fr/messages.json +27 -2
- package/src/components/i18n/locales/gu/messages.json +26 -1
- package/src/components/i18n/locales/he/messages.json +26 -1
- package/src/components/i18n/locales/hi/messages.json +26 -1
- package/src/components/i18n/locales/hr/messages.json +28 -3
- package/src/components/i18n/locales/hu/messages.json +27 -2
- package/src/components/i18n/locales/hy/messages.json +26 -1
- package/src/components/i18n/locales/id/messages.json +26 -1
- package/src/components/i18n/locales/it/messages.json +27 -2
- package/src/components/i18n/locales/ja/messages.json +26 -1
- package/src/components/i18n/locales/ka/messages.json +26 -1
- package/src/components/i18n/locales/km/messages.json +26 -1
- package/src/components/i18n/locales/kn/messages.json +26 -1
- package/src/components/i18n/locales/ko/messages.json +26 -1
- package/src/components/i18n/locales/ku/messages.json +26 -1
- package/src/components/i18n/locales/lo/messages.json +26 -1
- package/src/components/i18n/locales/lt/messages.json +26 -1
- package/src/components/i18n/locales/lv/messages.json +26 -1
- package/src/components/i18n/locales/mk/messages.json +26 -1
- package/src/components/i18n/locales/ml/messages.json +26 -1
- package/src/components/i18n/locales/mn/messages.json +26 -1
- package/src/components/i18n/locales/mr/messages.json +26 -1
- package/src/components/i18n/locales/ms/messages.json +28 -3
- package/src/components/i18n/locales/my/messages.json +26 -1
- package/src/components/i18n/locales/ne/messages.json +26 -1
- package/src/components/i18n/locales/nl/messages.json +28 -3
- package/src/components/i18n/locales/no/messages.json +29 -4
- package/src/components/i18n/locales/pa/messages.json +26 -1
- package/src/components/i18n/locales/pl/messages.json +27 -2
- package/src/components/i18n/locales/ps/messages.json +26 -1
- package/src/components/i18n/locales/pt/messages.json +27 -2
- package/src/components/i18n/locales/ro/messages.json +27 -2
- package/src/components/i18n/locales/ru/messages.json +26 -1
- package/src/components/i18n/locales/sd/messages.json +26 -1
- package/src/components/i18n/locales/si/messages.json +26 -1
- package/src/components/i18n/locales/sk/messages.json +28 -3
- package/src/components/i18n/locales/sl/messages.json +28 -3
- package/src/components/i18n/locales/sq/messages.json +27 -2
- package/src/components/i18n/locales/sr/messages.json +26 -1
- package/src/components/i18n/locales/sv/messages.json +28 -3
- package/src/components/i18n/locales/sw/messages.json +26 -1
- package/src/components/i18n/locales/ta/messages.json +26 -1
- package/src/components/i18n/locales/te/messages.json +26 -1
- package/src/components/i18n/locales/th/messages.json +26 -1
- package/src/components/i18n/locales/tr/messages.json +26 -1
- package/src/components/i18n/locales/ug/messages.json +26 -1
- package/src/components/i18n/locales/uk/messages.json +26 -1
- package/src/components/i18n/locales/ur/messages.json +26 -1
- package/src/components/i18n/locales/vi/messages.json +26 -1
- package/src/components/i18n/locales/yi/messages.json +26 -1
- package/src/components/i18n/locales/zh/messages.json +26 -1
- package/src/components/icons/index.ts +38 -0
- package/src/components/modules/api/ui.ts +0 -3
- package/src/components/modules/ui.ts +0 -13
- package/src/stories/EditorModes.stories.ts +0 -60
- package/src/styles/main.css +44 -2
- package/src/tools/callout/emoji-picker/index.ts +3 -2
- package/src/tools/code/code-keyboard.ts +16 -9
- package/src/tools/code/constants.ts +26 -3
- package/src/tools/code/dom-builder.ts +40 -5
- package/src/tools/code/highlight-applier.ts +229 -0
- package/src/tools/code/index.ts +141 -1
- package/src/tools/code/mermaid-loader.ts +45 -0
- package/src/tools/code/shiki-loader.ts +135 -0
- package/src/tools/table/core/table-commands.ts +16 -0
- package/src/tools/table/core/table-controller.ts +29 -0
- package/src/tools/table/core/table-events.ts +17 -0
- package/src/tools/table/index.ts +194 -11
- package/src/tools/table/table-cell-blocks.ts +9 -6
- package/src/tools/table/table-cell-clipboard.ts +6 -1
- package/src/tools/table/table-cell-placement-picker.ts +133 -0
- package/src/tools/table/table-cell-selection.ts +174 -19
- package/src/tools/table/table-core.ts +321 -113
- package/src/tools/table/table-map.ts +279 -0
- package/src/tools/table/table-model.ts +901 -1
- package/src/tools/table/table-operations.ts +78 -44
- package/src/tools/table/table-resize.ts +19 -17
- package/src/tools/table/table-row-col-drag.ts +24 -10
- package/src/tools/table/types.ts +24 -2
- package/types/data-attributes.d.ts +0 -1
- package/types/tools/code.d.ts +2 -0
- /package/dist/chunks/{am-CS-JjQ0N.mjs → am-BxlkYGsI.mjs} +0 -0
- /package/dist/chunks/{ar-Dt4XzR5U.mjs → ar-9vlpr9V8.mjs} +0 -0
- /package/dist/chunks/{az-CaDTXby8.mjs → az-ON63W_FP.mjs} +0 -0
- /package/dist/chunks/{bg-D1pLog-R.mjs → bg-CtXWTP5w.mjs} +0 -0
- /package/dist/chunks/{bn-Db_ae60m.mjs → bn-BERvhXM4.mjs} +0 -0
- /package/dist/chunks/{bs-DJTg1R9e.mjs → bs-CBg8NVPG.mjs} +0 -0
- /package/dist/chunks/{cs-_Gc21gSL.mjs → cs-DeQddxS7.mjs} +0 -0
- /package/dist/chunks/{da-xDB8uhCd.mjs → da-DyTo-ec_.mjs} +0 -0
- /package/dist/chunks/{de-B6gVjh1Z.mjs → de-Cu7545m1.mjs} +0 -0
- /package/dist/chunks/{default-DIfXCS2E.mjs → default-qigT1Xpq.mjs} +0 -0
- /package/dist/chunks/{el-ClbRSnOs.mjs → el-oiubLRBq.mjs} +0 -0
- /package/dist/chunks/{es-CuY9rnLK.mjs → es-DZUC6Klv.mjs} +0 -0
- /package/dist/chunks/{et-BLu5lDVc.mjs → et-CDeklAog.mjs} +0 -0
- /package/dist/chunks/{fa-P3gnrZH8.mjs → fa-Cafp7_Li.mjs} +0 -0
- /package/dist/chunks/{fi-B8PVHLjq.mjs → fi-BD_V_aVW.mjs} +0 -0
- /package/dist/chunks/{fil-B9JII5iF.mjs → fil-Crsfbtx4.mjs} +0 -0
- /package/dist/chunks/{fr-BWLDZdcc.mjs → fr-BGGc04Zv.mjs} +0 -0
- /package/dist/chunks/{gu-BH3R_s4c.mjs → gu-Vg_BgCTp.mjs} +0 -0
- /package/dist/chunks/{he-CCmeCVR_.mjs → he-DTY9chlZ.mjs} +0 -0
- /package/dist/chunks/{hi-BBav00DN.mjs → hi-DChMXk0x.mjs} +0 -0
- /package/dist/chunks/{hr-B5ZX0r9G.mjs → hr-BWVgNU8k.mjs} +0 -0
- /package/dist/chunks/{hu-1jgDa3YU.mjs → hu-B37awHXA.mjs} +0 -0
- /package/dist/chunks/{hy-LX4Kp2PE.mjs → hy-DGC_GDHh.mjs} +0 -0
- /package/dist/chunks/{i18next-KNC_XV5x.mjs → i18next-CXx5niYF.mjs} +0 -0
- /package/dist/chunks/{id-CcG40D1H.mjs → id-V7cw6La2.mjs} +0 -0
- /package/dist/chunks/{it-Cb8_K72W.mjs → it-DrTGP8Rn.mjs} +0 -0
- /package/dist/chunks/{ja-ipCH91mv.mjs → ja-DS4pbJEG.mjs} +0 -0
- /package/dist/chunks/{ka-BRvREIgq.mjs → ka-BueyosRh.mjs} +0 -0
- /package/dist/chunks/{km-BJwVw7Fg.mjs → km-B0K891yW.mjs} +0 -0
- /package/dist/chunks/{kn-BPgUazCC.mjs → kn-BQ__skg8.mjs} +0 -0
- /package/dist/chunks/{ko-CQLzxe7k.mjs → ko-BuPxi_7e.mjs} +0 -0
- /package/dist/chunks/{ku-BHhHu8Iz.mjs → ku-nQjwPRw2.mjs} +0 -0
- /package/dist/chunks/{lo-DsTgYblY.mjs → lo-K5NVFoq1.mjs} +0 -0
- /package/dist/chunks/{lt-CDzHJm71.mjs → lt-D3xD6Eb2.mjs} +0 -0
- /package/dist/chunks/{lv-MLLIAnIX.mjs → lv-DH13mzZj.mjs} +0 -0
- /package/dist/chunks/{micromark-factory-space-WwmyBO_J.mjs → micromark-factory-space-y4SDWQKm.mjs} +0 -0
- /package/dist/chunks/{mk-DQdmUquZ.mjs → mk-Bb48BcDA.mjs} +0 -0
- /package/dist/chunks/{ml-DqehZnra.mjs → ml-BHPEj1kD.mjs} +0 -0
- /package/dist/chunks/{mn-4cFkKFjW.mjs → mn-BNGzpdI6.mjs} +0 -0
- /package/dist/chunks/{mr-DWiztOP4.mjs → mr-D5PgU-cH.mjs} +0 -0
- /package/dist/chunks/{ms-BSz-iSnc.mjs → ms-DPkxqKz5.mjs} +0 -0
- /package/dist/chunks/{my-DbtbM1MW.mjs → my-DZGcyfxy.mjs} +0 -0
- /package/dist/chunks/{native-CzYG0YgY.mjs → native-D0cfLXsM.mjs} +0 -0
- /package/dist/chunks/{ne-CqALWw_f.mjs → ne-BU_Wh4Wv.mjs} +0 -0
- /package/dist/chunks/{nl-D_ra6RvH.mjs → nl-DtAPk1mK.mjs} +0 -0
- /package/dist/chunks/{no-Cg_kz_jl.mjs → no-CdW3n3BY.mjs} +0 -0
- /package/dist/chunks/{notifier-BOwxj_Ok.mjs → notifier-CuvTt9pe.mjs} +0 -0
- /package/dist/chunks/{pa-NLAsNqwY.mjs → pa-BacCHz87.mjs} +0 -0
- /package/dist/chunks/{pl-NHKp4YDg.mjs → pl-8zBJbmhZ.mjs} +0 -0
- /package/dist/chunks/{ps-D1zEqNeg.mjs → ps-c6nGXD-W.mjs} +0 -0
- /package/dist/chunks/{pt-DBtqbUEB.mjs → pt-B5yR8Qhr.mjs} +0 -0
- /package/dist/chunks/{ro-lqr63ai5.mjs → ro-Nscylsqb.mjs} +0 -0
- /package/dist/chunks/{ru-BycNnDyN.mjs → ru-DxERQkVJ.mjs} +0 -0
- /package/dist/chunks/{sd-DpHpIN9Z.mjs → sd-5z-QY3q9.mjs} +0 -0
- /package/dist/chunks/{si-BwiwaC7N.mjs → si-DTL0mzrx.mjs} +0 -0
- /package/dist/chunks/{sk-CqRHT2Gp.mjs → sk-DrGczTvY.mjs} +0 -0
- /package/dist/chunks/{sl-DA348uQ_.mjs → sl-D8nJjig4.mjs} +0 -0
- /package/dist/chunks/{sq-D7JNgve1.mjs → sq-C74Hm3YL.mjs} +0 -0
- /package/dist/chunks/{sr-D8RK6Kwp.mjs → sr-DAwB05Gj.mjs} +0 -0
- /package/dist/chunks/{sv-dwgT67ZG.mjs → sv-BkHBsN4y.mjs} +0 -0
- /package/dist/chunks/{sw-ZRRJnkem.mjs → sw-BBQLTq_z.mjs} +0 -0
- /package/dist/chunks/{ta-5x4L5Krl.mjs → ta-DRRzdKky.mjs} +0 -0
- /package/dist/chunks/{te-BZpEimwA.mjs → te-CedXLsKM.mjs} +0 -0
- /package/dist/chunks/{th-Bhr-33kv.mjs → th-DDOlGA0W.mjs} +0 -0
- /package/dist/chunks/{tr-6tSNKGNB.mjs → tr-ClgvwOlL.mjs} +0 -0
- /package/dist/chunks/{ug-_e-jvr2b.mjs → ug-bXxwiinM.mjs} +0 -0
- /package/dist/chunks/{uk-DooSc2Ja.mjs → uk-Dp46o_VT.mjs} +0 -0
- /package/dist/chunks/{ur-rb-krkIO.mjs → ur-MfEEhdFq.mjs} +0 -0
- /package/dist/chunks/{vi-CQkLn2AQ.mjs → vi-bt-3LPGO.mjs} +0 -0
- /package/dist/chunks/{zh-CXQ40Q2_.mjs → zh-Dgyb5Ly8.mjs} +0 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { t as e } from "./dagre-CGNbYTKq.mjs";
|
|
2
|
+
import { t } from "./graphlib-Cye9EPNq.mjs";
|
|
3
|
+
import { g as n, h as r, p as i } from "./src-DVJl6f6s.mjs";
|
|
4
|
+
import { D as a, b as o, c as s, s as c } from "./chunk-ICPOFSXX-BHZIN46A.mjs";
|
|
5
|
+
import "./dist-Ctq-pyfb.mjs";
|
|
6
|
+
import { $ as l, h as u } from "./chunk-5PVQY5BW-CORl9dnu.mjs";
|
|
7
|
+
import { t as d } from "./line-Dct5pMmw.mjs";
|
|
8
|
+
import "./chunk-U2HBQHQK-B88ZUOTL.mjs";
|
|
9
|
+
import "./chunk-BSJP7CBP-CJExmx8a.mjs";
|
|
10
|
+
import "./chunk-ZZ45TVLE-D1xks9zd.mjs";
|
|
11
|
+
import "./chunk-55IACEB6-zZ-IgaSt.mjs";
|
|
12
|
+
import "./chunk-EDXVE4YY-DjInnnwb.mjs";
|
|
13
|
+
import "./chunk-X2U36JSP-1VS5TyCr.mjs";
|
|
14
|
+
import "./chunk-5FUZZQ4R-DsZnJYxM.mjs";
|
|
15
|
+
import "./chunk-ENJZ2VHE-CIl5FRDA.mjs";
|
|
16
|
+
import "./chunk-336JU56O-B17AtzlK.mjs";
|
|
17
|
+
import { i as f, n as p, t as m } from "./chunk-OYMX7WX6-ApX8eV4o.mjs";
|
|
18
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.mjs
|
|
19
|
+
var h = /* @__PURE__ */ r((e) => e.append("circle").attr("class", "start-state").attr("r", o().state.sizeUnit).attr("cx", o().state.padding + o().state.sizeUnit).attr("cy", o().state.padding + o().state.sizeUnit), "drawStartState"), g = /* @__PURE__ */ r((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", o().state.textHeight).attr("class", "divider").attr("x2", o().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), _ = /* @__PURE__ */ r((e, t) => {
|
|
20
|
+
let n = e.append("text").attr("x", 2 * o().state.padding).attr("y", o().state.textHeight + 2 * o().state.padding).attr("font-size", o().state.fontSize).attr("class", "state-title").text(t.id), r = n.node().getBBox();
|
|
21
|
+
return e.insert("rect", ":first-child").attr("x", o().state.padding).attr("y", o().state.padding).attr("width", r.width + 2 * o().state.padding).attr("height", r.height + 2 * o().state.padding).attr("rx", o().state.radius), n;
|
|
22
|
+
}, "drawSimpleState"), v = /* @__PURE__ */ r((e, t) => {
|
|
23
|
+
let n = /* @__PURE__ */ r(function(e, t, n) {
|
|
24
|
+
let r = e.append("tspan").attr("x", 2 * o().state.padding).text(t);
|
|
25
|
+
n || r.attr("dy", o().state.textHeight);
|
|
26
|
+
}, "addTspan"), i = e.append("text").attr("x", 2 * o().state.padding).attr("y", o().state.textHeight + 1.3 * o().state.padding).attr("font-size", o().state.fontSize).attr("class", "state-title").text(t.descriptions[0]).node().getBBox(), a = i.height, s = e.append("text").attr("x", o().state.padding).attr("y", a + o().state.padding * .4 + o().state.dividerMargin + o().state.textHeight).attr("class", "state-description"), c = !0, l = !0;
|
|
27
|
+
t.descriptions.forEach(function(e) {
|
|
28
|
+
c || (n(s, e, l), l = !1), c = !1;
|
|
29
|
+
});
|
|
30
|
+
let u = e.append("line").attr("x1", o().state.padding).attr("y1", o().state.padding + a + o().state.dividerMargin / 2).attr("y2", o().state.padding + a + o().state.dividerMargin / 2).attr("class", "descr-divider"), d = s.node().getBBox(), f = Math.max(d.width, i.width);
|
|
31
|
+
return u.attr("x2", f + 3 * o().state.padding), e.insert("rect", ":first-child").attr("x", o().state.padding).attr("y", o().state.padding).attr("width", f + 2 * o().state.padding).attr("height", d.height + a + 2 * o().state.padding).attr("rx", o().state.radius), e;
|
|
32
|
+
}, "drawDescrState"), y = /* @__PURE__ */ r((e, t, n) => {
|
|
33
|
+
let r = o().state.padding, i = 2 * o().state.padding, a = e.node().getBBox(), s = a.width, c = a.x, l = e.append("text").attr("x", 0).attr("y", o().state.titleShift).attr("font-size", o().state.fontSize).attr("class", "state-title").text(t.id), u = l.node().getBBox().width + i, d = Math.max(u, s);
|
|
34
|
+
d === s && (d += i);
|
|
35
|
+
let f, p = e.node().getBBox();
|
|
36
|
+
t.doc, f = c - r, u > s && (f = (s - d) / 2 + r), Math.abs(c - p.x) < r && u > s && (f = c - (u - s) / 2);
|
|
37
|
+
let m = 1 - o().state.textHeight;
|
|
38
|
+
return e.insert("rect", ":first-child").attr("x", f).attr("y", m).attr("class", n ? "alt-composit" : "composit").attr("width", d).attr("height", p.height + o().state.textHeight + o().state.titleShift + 1).attr("rx", "0"), l.attr("x", f + r), u <= s && l.attr("x", c + (d - i) / 2 - u / 2 + r), e.insert("rect", ":first-child").attr("x", f).attr("y", o().state.titleShift - o().state.textHeight - o().state.padding).attr("width", d).attr("height", o().state.textHeight * 3).attr("rx", o().state.radius), e.insert("rect", ":first-child").attr("x", f).attr("y", o().state.titleShift - o().state.textHeight - o().state.padding).attr("width", d).attr("height", p.height + 3 + 2 * o().state.textHeight).attr("rx", o().state.radius), e;
|
|
39
|
+
}, "addTitleAndBox"), b = /* @__PURE__ */ r((e) => (e.append("circle").attr("class", "end-state-outer").attr("r", o().state.sizeUnit + o().state.miniPadding).attr("cx", o().state.padding + o().state.sizeUnit + o().state.miniPadding).attr("cy", o().state.padding + o().state.sizeUnit + o().state.miniPadding), e.append("circle").attr("class", "end-state-inner").attr("r", o().state.sizeUnit).attr("cx", o().state.padding + o().state.sizeUnit + 2).attr("cy", o().state.padding + o().state.sizeUnit + 2)), "drawEndState"), x = /* @__PURE__ */ r((e, t) => {
|
|
40
|
+
let n = o().state.forkWidth, r = o().state.forkHeight;
|
|
41
|
+
if (t.parentId) {
|
|
42
|
+
let e = n;
|
|
43
|
+
n = r, r = e;
|
|
44
|
+
}
|
|
45
|
+
return e.append("rect").style("stroke", "black").style("fill", "black").attr("width", n).attr("height", r).attr("x", o().state.padding).attr("y", o().state.padding);
|
|
46
|
+
}, "drawForkJoinState"), S = /* @__PURE__ */ r((e, t, n, r) => {
|
|
47
|
+
let i = 0, a = r.append("text");
|
|
48
|
+
a.style("text-anchor", "start"), a.attr("class", "noteText");
|
|
49
|
+
let s = e.replace(/\r\n/g, "<br/>");
|
|
50
|
+
s = s.replace(/\n/g, "<br/>");
|
|
51
|
+
let l = s.split(c.lineBreakRegex), u = 1.25 * o().state.noteMargin;
|
|
52
|
+
for (let e of l) {
|
|
53
|
+
let r = e.trim();
|
|
54
|
+
if (r.length > 0) {
|
|
55
|
+
let e = a.append("tspan");
|
|
56
|
+
if (e.text(r), u === 0) {
|
|
57
|
+
let t = e.node().getBBox();
|
|
58
|
+
u += t.height;
|
|
59
|
+
}
|
|
60
|
+
i += u, e.attr("x", t + o().state.noteMargin), e.attr("y", n + i + 1.25 * o().state.noteMargin);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
textWidth: a.node().getBBox().width,
|
|
65
|
+
textHeight: i
|
|
66
|
+
};
|
|
67
|
+
}, "_drawLongText"), C = /* @__PURE__ */ r((e, t) => {
|
|
68
|
+
t.attr("class", "state-note");
|
|
69
|
+
let n = t.append("rect").attr("x", 0).attr("y", o().state.padding), { textWidth: r, textHeight: i } = S(e, 0, 0, t.append("g"));
|
|
70
|
+
return n.attr("height", i + 2 * o().state.noteMargin), n.attr("width", r + o().state.noteMargin * 2), n;
|
|
71
|
+
}, "drawNote"), w = /* @__PURE__ */ r(function(e, t) {
|
|
72
|
+
let n = t.id, r = {
|
|
73
|
+
id: n,
|
|
74
|
+
label: t.id,
|
|
75
|
+
width: 0,
|
|
76
|
+
height: 0
|
|
77
|
+
}, i = e.append("g").attr("id", n).attr("class", "stateGroup");
|
|
78
|
+
t.type === "start" && h(i), t.type === "end" && b(i), (t.type === "fork" || t.type === "join") && x(i, t), t.type === "note" && C(t.note.text, i), t.type === "divider" && g(i), t.type === "default" && t.descriptions.length === 0 && _(i, t), t.type === "default" && t.descriptions.length > 0 && v(i, t);
|
|
79
|
+
let a = i.node().getBBox();
|
|
80
|
+
return r.width = a.width + 2 * o().state.padding, r.height = a.height + 2 * o().state.padding, r;
|
|
81
|
+
}, "drawState"), T = 0, E = /* @__PURE__ */ r(function(e, t, i) {
|
|
82
|
+
let s = /* @__PURE__ */ r(function(e) {
|
|
83
|
+
switch (e) {
|
|
84
|
+
case m.relationType.AGGREGATION: return "aggregation";
|
|
85
|
+
case m.relationType.EXTENSION: return "extension";
|
|
86
|
+
case m.relationType.COMPOSITION: return "composition";
|
|
87
|
+
case m.relationType.DEPENDENCY: return "dependency";
|
|
88
|
+
}
|
|
89
|
+
}, "getRelationType");
|
|
90
|
+
t.points = t.points.filter((e) => !Number.isNaN(e.y));
|
|
91
|
+
let f = t.points, p = d().x(function(e) {
|
|
92
|
+
return e.x;
|
|
93
|
+
}).y(function(e) {
|
|
94
|
+
return e.y;
|
|
95
|
+
}).curve(l), h = e.append("path").attr("d", p(f)).attr("id", "edge" + T).attr("class", "transition"), g = "";
|
|
96
|
+
if (o().state.arrowMarkerAbsolute && (g = a(!0)), h.attr("marker-end", "url(" + g + "#" + s(m.relationType.DEPENDENCY) + "End)"), i.title !== void 0) {
|
|
97
|
+
let r = e.append("g").attr("class", "stateLabel"), { x: a, y: s } = u.calcLabelPosition(t.points), l = c.getRows(i.title), d = 0, f = [], p = 0, m = 0;
|
|
98
|
+
for (let e = 0; e <= l.length; e++) {
|
|
99
|
+
let t = r.append("text").attr("text-anchor", "middle").text(l[e]).attr("x", a).attr("y", s + d), i = t.node().getBBox();
|
|
100
|
+
p = Math.max(p, i.width), m = Math.min(m, i.x), n.info(i.x, a, s + d), d === 0 && (d = t.node().getBBox().height, n.info("Title height", d, s)), f.push(t);
|
|
101
|
+
}
|
|
102
|
+
let h = d * l.length;
|
|
103
|
+
if (l.length > 1) {
|
|
104
|
+
let e = (l.length - 1) * d * .5;
|
|
105
|
+
f.forEach((t, n) => t.attr("y", s + n * d - e)), h = d * l.length;
|
|
106
|
+
}
|
|
107
|
+
let g = r.node().getBBox();
|
|
108
|
+
r.insert("rect", ":first-child").attr("class", "box").attr("x", a - p / 2 - o().state.padding / 2).attr("y", s - h / 2 - o().state.padding / 2 - 3.5).attr("width", p + o().state.padding).attr("height", h + o().state.padding), n.info(g);
|
|
109
|
+
}
|
|
110
|
+
T++;
|
|
111
|
+
}, "drawEdge"), D, O = {}, k = /* @__PURE__ */ r(function() {}, "setConf"), A = /* @__PURE__ */ r(function(e) {
|
|
112
|
+
e.append("defs").append("marker").attr("id", "dependencyEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
|
|
113
|
+
}, "insertMarkers"), j = /* @__PURE__ */ r(function(e, t, r, a) {
|
|
114
|
+
D = o().state;
|
|
115
|
+
let c = o().securityLevel, l;
|
|
116
|
+
c === "sandbox" && (l = i("#i" + t));
|
|
117
|
+
let u = i(c === "sandbox" ? l.nodes()[0].contentDocument.body : "body"), d = c === "sandbox" ? l.nodes()[0].contentDocument : document;
|
|
118
|
+
n.debug("Rendering diagram " + e);
|
|
119
|
+
let f = u.select(`[id='${t}']`);
|
|
120
|
+
A(f), N(a.db.getRootDoc(), f.append("g").attr("id", t + "-root"), void 0, !1, u, d, a);
|
|
121
|
+
let p = D.padding, m = f.node().getBBox(), h = m.width + p * 2, g = m.height + p * 2;
|
|
122
|
+
s(f, g, h * 1.75, D.useMaxWidth), f.attr("viewBox", `${m.x - D.padding} ${m.y - D.padding} ` + h + " " + g);
|
|
123
|
+
}, "draw"), M = /* @__PURE__ */ r((e) => e ? e.length * D.fontSizeFactor : 1, "getLabelWidth"), N = /* @__PURE__ */ r((r, i, a, o, s, l, u) => {
|
|
124
|
+
let d = new t({
|
|
125
|
+
compound: !0,
|
|
126
|
+
multigraph: !0
|
|
127
|
+
}), f, p = !0;
|
|
128
|
+
for (f = 0; f < r.length; f++) if (r[f].stmt === "relation") {
|
|
129
|
+
p = !1;
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
a ? d.setGraph({
|
|
133
|
+
rankdir: "LR",
|
|
134
|
+
multigraph: !0,
|
|
135
|
+
compound: !0,
|
|
136
|
+
ranker: "tight-tree",
|
|
137
|
+
ranksep: p ? 1 : D.edgeLengthFactor,
|
|
138
|
+
nodeSep: p ? 1 : 50,
|
|
139
|
+
isMultiGraph: !0
|
|
140
|
+
}) : d.setGraph({
|
|
141
|
+
rankdir: "TB",
|
|
142
|
+
multigraph: !0,
|
|
143
|
+
compound: !0,
|
|
144
|
+
ranksep: p ? 1 : D.edgeLengthFactor,
|
|
145
|
+
nodeSep: p ? 1 : 50,
|
|
146
|
+
ranker: "tight-tree",
|
|
147
|
+
isMultiGraph: !0
|
|
148
|
+
}), d.setDefaultEdgeLabel(function() {
|
|
149
|
+
return {};
|
|
150
|
+
});
|
|
151
|
+
let m = u.db.getStates(), h = u.db.getRelations(), g = Object.keys(m);
|
|
152
|
+
for (let e of g) {
|
|
153
|
+
let t = m[e];
|
|
154
|
+
a && (t.parentId = a);
|
|
155
|
+
let n;
|
|
156
|
+
if (t.doc) {
|
|
157
|
+
let e = i.append("g").attr("id", t.id).attr("class", "stateGroup");
|
|
158
|
+
n = N(t.doc, e, t.id, !o, s, l, u);
|
|
159
|
+
{
|
|
160
|
+
e = y(e, t, o);
|
|
161
|
+
let r = e.node().getBBox();
|
|
162
|
+
n.width = r.width, n.height = r.height + D.padding / 2, O[t.id] = { y: D.compositTitleSize };
|
|
163
|
+
}
|
|
164
|
+
} else n = w(i, t, d);
|
|
165
|
+
if (t.note) {
|
|
166
|
+
let e = w(i, {
|
|
167
|
+
descriptions: [],
|
|
168
|
+
id: t.id + "-note",
|
|
169
|
+
note: t.note,
|
|
170
|
+
type: "note"
|
|
171
|
+
}, d);
|
|
172
|
+
t.note.position === "left of" ? (d.setNode(n.id + "-note", e), d.setNode(n.id, n)) : (d.setNode(n.id, n), d.setNode(n.id + "-note", e)), d.setParent(n.id, n.id + "-group"), d.setParent(n.id + "-note", n.id + "-group");
|
|
173
|
+
} else d.setNode(n.id, n);
|
|
174
|
+
}
|
|
175
|
+
n.debug("Count=", d.nodeCount(), d);
|
|
176
|
+
let _ = 0;
|
|
177
|
+
h.forEach(function(e) {
|
|
178
|
+
_++, n.debug("Setting edge", e), d.setEdge(e.id1, e.id2, {
|
|
179
|
+
relation: e,
|
|
180
|
+
width: M(e.title),
|
|
181
|
+
height: D.labelHeight * c.getRows(e.title).length,
|
|
182
|
+
labelpos: "c"
|
|
183
|
+
}, "id" + _);
|
|
184
|
+
}), e(d), n.debug("Graph after layout", d.nodes());
|
|
185
|
+
let v = i.node();
|
|
186
|
+
d.nodes().forEach(function(e) {
|
|
187
|
+
e !== void 0 && d.node(e) !== void 0 ? (n.warn("Node " + e + ": " + JSON.stringify(d.node(e))), s.select("#" + v.id + " #" + e).attr("transform", "translate(" + (d.node(e).x - d.node(e).width / 2) + "," + (d.node(e).y + (O[e] ? O[e].y : 0) - d.node(e).height / 2) + " )"), s.select("#" + v.id + " #" + e).attr("data-x-shift", d.node(e).x - d.node(e).width / 2), l.querySelectorAll("#" + v.id + " #" + e + " .divider").forEach((e) => {
|
|
188
|
+
let t = e.parentElement, n = 0, r = 0;
|
|
189
|
+
t && (t.parentElement && (n = t.parentElement.getBBox().width), r = parseInt(t.getAttribute("data-x-shift"), 10), Number.isNaN(r) && (r = 0)), e.setAttribute("x1", 0 - r + 8), e.setAttribute("x2", n - r - 8);
|
|
190
|
+
})) : n.debug("No Node " + e + ": " + JSON.stringify(d.node(e)));
|
|
191
|
+
});
|
|
192
|
+
let b = v.getBBox();
|
|
193
|
+
d.edges().forEach(function(e) {
|
|
194
|
+
e !== void 0 && d.edge(e) !== void 0 && (n.debug("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(d.edge(e))), E(i, d.edge(e), d.edge(e).relation));
|
|
195
|
+
}), b = v.getBBox();
|
|
196
|
+
let x = {
|
|
197
|
+
id: a || "root",
|
|
198
|
+
label: a || "root",
|
|
199
|
+
width: 0,
|
|
200
|
+
height: 0
|
|
201
|
+
};
|
|
202
|
+
return x.width = b.width + 2 * D.padding, x.height = b.height + 2 * D.padding, n.debug("Doc rendered", x, d), x;
|
|
203
|
+
}, "renderDoc"), P = {
|
|
204
|
+
parser: p,
|
|
205
|
+
get db() {
|
|
206
|
+
return new m(1);
|
|
207
|
+
},
|
|
208
|
+
renderer: {
|
|
209
|
+
setConf: k,
|
|
210
|
+
draw: j
|
|
211
|
+
},
|
|
212
|
+
styles: f,
|
|
213
|
+
init: /* @__PURE__ */ r((e) => {
|
|
214
|
+
e.state || (e.state = {}), e.state.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
215
|
+
}, "init")
|
|
216
|
+
};
|
|
217
|
+
//#endregion
|
|
218
|
+
export { P as diagram };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { h as e } from "./src-DVJl6f6s.mjs";
|
|
2
|
+
import "./chunk-ICPOFSXX-BHZIN46A.mjs";
|
|
3
|
+
import "./dist-Ctq-pyfb.mjs";
|
|
4
|
+
import "./chunk-5PVQY5BW-CORl9dnu.mjs";
|
|
5
|
+
import "./chunk-U2HBQHQK-B88ZUOTL.mjs";
|
|
6
|
+
import "./chunk-BSJP7CBP-CJExmx8a.mjs";
|
|
7
|
+
import "./chunk-ZZ45TVLE-D1xks9zd.mjs";
|
|
8
|
+
import "./chunk-55IACEB6-zZ-IgaSt.mjs";
|
|
9
|
+
import "./chunk-EDXVE4YY-DjInnnwb.mjs";
|
|
10
|
+
import "./chunk-X2U36JSP-1VS5TyCr.mjs";
|
|
11
|
+
import "./chunk-5FUZZQ4R-DsZnJYxM.mjs";
|
|
12
|
+
import "./chunk-ENJZ2VHE-CIl5FRDA.mjs";
|
|
13
|
+
import "./chunk-336JU56O-B17AtzlK.mjs";
|
|
14
|
+
import { i as t, n, r, t as i } from "./chunk-OYMX7WX6-ApX8eV4o.mjs";
|
|
15
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.mjs
|
|
16
|
+
var a = {
|
|
17
|
+
parser: n,
|
|
18
|
+
get db() {
|
|
19
|
+
return new i(2);
|
|
20
|
+
},
|
|
21
|
+
renderer: r,
|
|
22
|
+
styles: t,
|
|
23
|
+
init: /* @__PURE__ */ e((e) => {
|
|
24
|
+
e.state || (e.state = {}), e.state.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
25
|
+
}, "init")
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { a as diagram };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var e = [Object.freeze(JSON.parse("{\"displayName\":\"Swift\",\"fileTypes\":[\"swift\"],\"firstLineMatch\":\"^#!/.*\\\\bswift\",\"name\":\"swift\",\"patterns\":[{\"include\":\"#root\"}],\"repository\":{\"async-throws\":{\"captures\":{\"1\":{\"name\":\"invalid.illegal.await-must-precede-throws.swift\"},\"2\":{\"name\":\"storage.modifier.exception.swift\"},\"3\":{\"name\":\"storage.modifier.async.swift\"}},\"match\":\"\\\\b(?:((?:throws\\\\s+|rethrows\\\\s+)async)|((?:|re)throws)|(async))\\\\b\"},\"attributes\":{\"patterns\":[{\"begin\":\"((@)available)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.attribute.swift\"},\"2\":{\"name\":\"punctuation.definition.attribute.swift\"},\"3\":{\"name\":\"punctuation.definition.arguments.begin.swift\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.arguments.end.swift\"}},\"name\":\"meta.attribute.available.swift\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.platform.os.swift\"},\"2\":{\"name\":\"constant.numeric.swift\"}},\"match\":\"\\\\b(swift|(?:iOS|macOS|OSX|watchOS|tvOS|visionOS|UIKitForMac)(?:ApplicationExtension)?)\\\\b(?:\\\\s+([0-9]+(?:\\\\.[0-9]+)*)\\\\b)?\"},{\"begin\":\"\\\\b((?:introduc|deprecat|obsolet)ed)\\\\s*(:)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.swift\"},\"2\":{\"name\":\"punctuation.separator.key-value.swift\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"match\":\"\\\\b[0-9]+(?:\\\\.[0-9]+)*\\\\b\",\"name\":\"constant.numeric.swift\"}]},{\"begin\":\"\\\\b(message|renamed)\\\\s*(:)\\\\s*(?=\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.swift\"},\"2\":{\"name\":\"punctuation.separator.key-value.swift\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"include\":\"#literals\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.other.platform.all.swift\"},\"2\":{\"name\":\"keyword.other.swift\"},\"3\":{\"name\":\"invalid.illegal.character-not-allowed-here.swift\"}},\"match\":\"(?:(\\\\*)|\\\\b(deprecated|unavailable|noasync)\\\\b)\\\\s*(.*?)(?=[),])\"}]},{\"begin\":\"((@)objc)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.attribute.swift\"},\"2\":{\"name\":\"punctuation.definition.attribute.swift\"},\"3\":{\"name\":\"punctuation.definition.arguments.begin.swift\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.arguments.end.swift\"}},\"name\":\"meta.attribute.objc.swift\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"invalid.illegal.missing-colon-after-selector-piece.swift\"}},\"match\":\"\\\\w*(?::(?:\\\\w*:)*(\\\\w*))?\",\"name\":\"entity.name.function.swift\"}]},{\"begin\":\"(@)(?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>)\",\"beginCaptures\":{\"0\":{\"name\":\"storage.modifier.attribute.swift\"},\"1\":{\"name\":\"punctuation.definition.attribute.swift\"},\"2\":{\"name\":\"punctuation.definition.identifier.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"(?!\\\\G\\\\()\",\"name\":\"meta.attribute.swift\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.arguments.begin.swift\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.arguments.end.swift\"}},\"name\":\"meta.arguments.attribute.swift\",\"patterns\":[{\"include\":\"#expressions\"}]}]}]},\"builtin-functions\":{\"patterns\":[{\"match\":\"(?<=\\\\.)(?:s(?:ort(?:ed)?|plit)|contains|index|partition|f(?:i(?:lter|rst)|orEach|latMap)|with(?:MutableCharacters|CString|U(?:nsafe(?:Mutable(?:BufferPointer|Pointer(?:s|To(?:Header|Elements)))|BufferPointer)|TF8Buffer))|m(?:in|a[px]))(?=\\\\s*[({])\\\\b\",\"name\":\"support.function.swift\"},{\"match\":\"(?<=\\\\.)(?:s(?:ymmetricDifference|t(?:oreBytes|arts|ride)|ortInPlace|u(?:ccessor|ffix|btract(?:ing|InPlace|WithOverflow)?)|quareRoot|amePosition)|h(?:oldsUnique(?:|OrPinned)Reference|as(?:Suf|Pre)fix)|ne(?:gated?|xt)|c(?:o(?:untByEnumerating|py(?:Bytes)?)|lamp(?:ed)?|reate)|t(?:o(?:IntMax|Opaque|UIntMax)|ake(?:R|Unr)etainedValue|r(?:uncatingRemainder|a(?:nscodedLength|ilSurrogate)))|i(?:s(?:MutableAndUniquelyReferenced(?:OrPinned)?|S(?:trictSu(?:perset(?:Of)?|bset(?:Of)?)|u(?:perset(?:Of)?|bset(?:Of)?))|Continuation|T(?:otallyOrdered|railSurrogate)|Disjoint(?:With)?|Unique(?:Reference|lyReferenced(?:OrPinned)?)|Equal|Le(?:ss(?:ThanOrEqualTo)?|adSurrogate))|n(?:sert(?:ContentsOf)?|tersect(?:ion|InPlace)?|itialize(?:Memory|From)?|dex(?:Of|ForKey)))|o(?:verlaps|bjectAt)|d(?:i(?:stance(?:To)?|vide(?:d|WithOverflow)?)|e(?:s(?:cendant|troy)|code(?:CString)?|initialize|alloc(?:ate(?:Capacity)?)?)|rop(?:First|Last))|u(?:n(?:ion(?:InPlace)?|derestimateCount|wrappedOrError)|p(?:date(?:Value)?|percased))|join(?:ed|WithSeparator)|p(?:op(?:First|Last)|ass(?:R|Unr)etained|re(?:decessor|fix))|e(?:scaped?|n(?:code|umerated?)|lementsEqual|xclusiveOr(?:InPlace)?)|f(?:orm(?:Remainder|S(?:ymmetricDifference|quareRoot)|TruncatingRemainder|In(?:tersection|dex)|Union)|latten|rom(?:CString(?:RepairingIllFormedUTF8)?|Opaque))|w(?:i(?:thMemoryRebound|dth)|rite(?:To)?)|l(?:o(?:wercased|ad)|e(?:adSurrogate|xicographical(?:Compare|lyPrecedes)))|a(?:ss(?:ign(?:(?:Backward|)From)?|umingMemoryBound)|d(?:d(?:ing(?:Product)?|Product|WithOverflow)?|vanced(?:By)?)|utorelease|ppend(?:ContentsOf)?|lloc(?:ate)?|bs)|r(?:ound(?:ed)?|e(?:serveCapacity|tain|duce|place(?:(?:R|Subr)ange)?|versed?|quest(?:Native|UniqueMutableBacking)Buffer|lease|m(?:ove(?:Range|Subrange|Value(?:ForKey)?|First|Last|A(?:tIndex|ll))?|ainder(?:WithOverflow)?)))|ge(?:nerate|t(?:Objects|Element))|m(?:in(?:imum(?:Magnitude)?|Element)|ove(?:Initialize(?:Memory|BackwardFrom|From)?|Assign(?:From)?)?|ultipl(?:y(?:WithOverflow)?|ied)|easure|a(?:ke(?:Iterator|Description)|x(?:imum(?:Magnitude)?|Element)))|bindMemory)(?=\\\\s*\\\\()\",\"name\":\"support.function.swift\"},{\"match\":\"(?<=\\\\.)(?:s(?:uperclassMirror|amePositionIn|tartsWith)|nextObject|c(?:haracterAtIndex|o(?:untByEnumeratingWithState|pyWithZone)|ustom(?:Mirror|PlaygroundQuickLook))|is(?:EmptyInput|ASCII)|object(?:Enumerator|ForKey|AtIndex)|join|put|keyEnumerator|withUnsafeMutablePointerToValue|length|getMirror|m(?:oveInitializeAssignFrom|ember))(?=\\\\s*\\\\()\",\"name\":\"support.function.swift\"}]},\"builtin-global-functions\":{\"patterns\":[{\"begin\":\"\\\\b(type)(\\\\()\\\\s*(of)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.dynamic-type.swift\"},\"2\":{\"name\":\"punctuation.definition.arguments.begin.swift\"},\"3\":{\"name\":\"support.variable.parameter.swift\"},\"4\":{\"name\":\"punctuation.separator.argument-label.begin.swift\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.arguments.end.swift\"}},\"patterns\":[{\"include\":\"#expressions\"}]},{\"match\":\"\\\\ba(?:nyGenerator|utoreleasepool)(?=\\\\s*[({])\\\\b\",\"name\":\"support.function.swift\"},{\"match\":\"\\\\b(?:s(?:tride(?:of(?:Value)?)?|izeof(?:Value)?|equence|wap)|numericCast|transcode|is(?:UniquelyReferenced(?:NonObjC)?|KnownUniquelyReferenced)|zip|d(?:ump|ebugPrint)|unsafe(?:BitCast|Downcast|Unwrap|Address(?:Of)?)|pr(?:int|econdition(?:Failure)?)|fatalError|with(?:Unsafe(?:Mutable|)Pointer|ExtendedLifetime|VaList)|a(?:ssert(?:ionFailure)?|lignof(?:Value)?|bs)|re(?:peatElement|adLine)|getVaList|m(?:in|ax))(?=\\\\s*\\\\()\",\"name\":\"support.function.swift\"},{\"match\":\"\\\\b(?:s(?:ort|uffix|pli(?:ce|t))|insert|overlaps|d(?:istance|rop(?:First|Last))|join|prefix|extend|withUnsafe(?:Mutable|)Pointers|lazy|advance|re(?:flect|move(?:Range|Last|A(?:tIndex|ll))))(?=\\\\s*\\\\()\",\"name\":\"support.function.swift\"}]},\"builtin-properties\":{\"patterns\":[{\"match\":\"(?<=(?:^|\\\\W)(?:Process\\\\.|CommandLine\\\\.))(arguments|argc|unsafeArgv)\",\"name\":\"support.variable.swift\"},{\"match\":\"(?<=\\\\.)(?:s(?:t(?:artIndex|ri(?:ngValue|de))|i(?:ze|gn(?:BitIndex|ificand(?:Bit(?:Count|Pattern)|Width)?|alingNaN)?)|u(?:perclassMirror|mmary|bscriptBaseAddress))|h(?:eader|as(?:hValue|PointerRepresentation))|n(?:ulTerminatedUTF8|ext(?:Down|Up)|a(?:n|tiveOwner))|c(?:haracters|ount(?:TrailingZeros)?|ustom(?:Mirror|PlaygroundQuickLook)|apacity)|i(?:s(?:S(?:ign(?:Minus|aling(?:NaN)?)|ubnormal)|N(?:ormal|aN)|Canonical|Infinite|Zero|Empty|Finite|ASCII)|n(?:dices|finity)|dentity)|owner|de(?:|bugDe)scription|u(?:n(?:safelyUnwrapped|icodeScalars?|derestimatedCount)|tf(?:16|8(?:Start|C(?:String|odeUnitCount))?)|intValue|ppercaseString|lp(?:OfOne)?)|p(?:i|ointee)|e(?:ndIndex|lements|xponent(?:Bit(?:Count|Pattern))?)|values?|keys|quietNaN|f(?:irst(?:ElementAddress(?:IfContiguous)?)?|loatingPointClass)|l(?:ittleEndian|owercaseString|eastNo(?:nzero|rmal)Magnitude|a(?:st|zy))|a(?:l(?:ignment|l(?:ocatedElementCount|Zeros))|rray(?:PropertyIsNativeTypeChecked)?)|ra(?:dix|wValue)|greatestFiniteMagnitude|m(?:in|emory|ax)|b(?:yteS(?:ize|wapped)|i(?:nade|tPattern|gEndian)|uffer|ase(?:Address)?))\\\\b\",\"name\":\"support.variable.swift\"},{\"match\":\"(?<=\\\\.)(?:boolValue|disposition|end|objectIdentifier|quickLookObject|start|valueType)\\\\b\",\"name\":\"support.variable.swift\"},{\"match\":\"(?<=\\\\.)(?:s(?:calarValue|i(?:ze|gnalingNaN)|o(?:und|me)|uppressed|prite|et)|n(?:one|egative(?:Subnormal|Normal|Infinity|Zero))|c(?:ol(?:or|lection)|ustomized)|t(?:o(?:NearestOr(?:Even|AwayFromZero)|wardZero)|uple|ext)|i(?:nt|mage)|optional|d(?:ictionary|o(?:uble|wn))|u(?:Int|p|rl)|p(?:o(?:sitive(?:Subnormal|Normal|Infinity|Zero)|int)|lus)|e(?:rror|mptyInput)|view|quietNaN|float|a(?:ttributedString|wayFromZero)|r(?:ectangle|ange)|generated|minus|b(?:ool|ezierPath))\\\\b\",\"name\":\"support.variable.swift\"}]},\"builtin-types\":{\"patterns\":[{\"include\":\"#builtin-types-builtin-class-type\"},{\"include\":\"#builtin-types-builtin-enum-type\"},{\"include\":\"#builtin-types-builtin-protocol-type\"},{\"include\":\"#builtin-types-builtin-struct-type\"},{\"include\":\"#builtin-types-builtin-typealias\"},{\"match\":\"\\\\bAny\\\\b\",\"name\":\"support.type.any.swift\"}]},\"builtin-types-builtin-class-type\":{\"match\":\"\\\\b(Managed((?:|Proto)Buffer)|NonObjectiveCBase|AnyGenerator)\\\\b\",\"name\":\"support.class.swift\"},\"builtin-types-builtin-enum-type\":{\"patterns\":[{\"match\":\"\\\\b(?:CommandLine|Process(?=\\\\.))\\\\b\",\"name\":\"support.constant.swift\"},{\"match\":\"\\\\bNever\\\\b\",\"name\":\"support.constant.never.swift\"},{\"match\":\"\\\\b(?:ImplicitlyUnwrappedOptional|Representation|MemoryLayout|FloatingPointClassification|SetIndexRepresentation|SetIteratorRepresentation|FloatingPointRoundingRule|UnicodeDecodingResult|Optional|DictionaryIndexRepresentation|AncestorRepresentation|DisplayStyle|PlaygroundQuickLook|Never|FloatingPointSign|Bit|DictionaryIteratorRepresentation)\\\\b\",\"name\":\"support.type.swift\"},{\"match\":\"\\\\b(?:MirrorDisposition|QuickLookObject)\\\\b\",\"name\":\"support.type.swift\"}]},\"builtin-types-builtin-protocol-type\":{\"patterns\":[{\"match\":\"\\\\b(?:Ra(?:n(?:domAccess(?:Collection|Indexable)|geReplaceable(?:Collection|Indexable))|wRepresentable)|M(?:irrorPath|utable(?:Collection|Indexable))|Bi(?:naryFloatingPoint|twiseOperations|directional(?:Collection|Indexable))|S(?:tr(?:ide|eam)able|igned(?:Number|Integer)|e(?:tAlgebra|quence))|Hashable|C(?:o(?:llection|mparable)|ustom(?:Reflecta|StringConverti|DebugStringConverti|PlaygroundQuickLooka|LeafReflecta)ble|VarArg)|TextOutputStream|I(?:n(?:teger(?:Arithmetic)?|dexable(?:Base)?)|teratorProtocol)|OptionSet|Un(?:signedInteger|icodeCodec)|E(?:quatable|rror|xpressibleBy(?:BooleanLiteral|String(?:Interpolation|Literal)|NilLiteral|IntegerLiteral|DictionaryLiteral|UnicodeScalarLiteral|ExtendedGraphemeClusterLiteral|FloatLiteral|ArrayLiteral))|FloatingPoint|L(?:osslessStringConvertible|azy(?:Sequence|Collection)Protocol)|A(?:nyObject|bsoluteValuable))\\\\b\",\"name\":\"support.type.swift\"},{\"match\":\"\\\\b(?:Ran(?:domAccessIndex|geReplaceableCollection)Type|GeneratorType|M(?:irror(?:|Path)Type|utable(?:Sliceable|CollectionType))|B(?:i(?:twiseOperations|directionalIndex)Type|oolean(?:Type|LiteralConvertible))|S(?:tring(?:Interpolation|Literal)Convertible|i(?:nk|gned(?:Numb|Integ)er)Type|e(?:tAlgebra|quence)Type|liceable)|NilLiteralConvertible|C(?:ollection|VarArg)Type|Inte(?:rvalType|ger(?:Type|LiteralConvertible|ArithmeticType))|O(?:utputStream|ptionSet)Type|DictionaryLiteralConvertible|Un(?:signedIntegerType|icode(?:ScalarLiteralConvertible|CodecType))|E(?:rrorType|xten(?:sibleCollectionType|dedGraphemeClusterLiteralConvertible))|F(?:orwardIndexType|loat(?:ingPointType|LiteralConvertible))|A(?:nyCollectionType|rrayLiteralConvertible))\\\\b\",\"name\":\"support.type.swift\"}]},\"builtin-types-builtin-struct-type\":{\"patterns\":[{\"match\":\"\\\\b(?:R(?:e(?:peat(?:ed)?|versed(?:RandomAccess(?:Collection|Index)|Collection|Index))|an(?:domAccessSlice|ge(?:Replaceable(?:RandomAccess|Bidirectional|)Slice|Generator)?))|Generator(?:Sequence|OfOne)|M(?:irror|utable(?:Ran(?:domAccess|geReplaceable(?:RandomAccess|Bidirectional|))|Bidirectional|)Slice|anagedBufferPointer)|B(?:idirectionalSlice|ool)|S(?:t(?:aticString|ri(?:ng|deT(?:hrough(?:(?:Gen|It)erator)?|o(?:(?:Gen|It)erator)?)))|et(?:I(?:ndex|terator))?|lice)|HalfOpenInterval|C(?:haracter(?:View)?|o(?:ntiguousArray|untable(?:|Closed)Range|llectionOfOne)|OpaquePointer|losed(?:Range(?:I(?:ndex|terator))?|Interval)|VaListPointer)|I(?:n(?:t(?:16|8|32|64)?|d(?:ices|ex(?:ing(?:Gen|It)erator)?))|terator(?:Sequence|OverOne)?)|Zip2(?:Sequence|Iterator)|O(?:paquePointer|bjectIdentifier)|D(?:ictionary(?:I(?:ndex|terator)|Literal)?|ouble|efault(?:RandomAccess|Bidirectional|)Indices)|U(?:n(?:safe(?:RawPointer|Mutable(?:Raw|Buffer|)Pointer|BufferPointer(?:(?:Gen|It)erator)?|Pointer)|icodeScalar(?:View)?|foldSequence|managed)|TF(?:16(?:View)?|8(?:View)?|32)|Int(?:16|8|32|64)?)|Join(?:Generator|ed(?:Sequence|Iterator))|PermutationGenerator|E(?:numerate(?:Generator|Sequence|d(?:Sequence|Iterator))|mpty(?:Generator|Collection|Iterator))|Fl(?:oat(?:80)?|atten(?:Generator|BidirectionalCollection(?:Index)?|Sequence|Collection(?:Index)?|Iterator))|L(?:egacyChildren|azy(?:RandomAccessCollection|Map(?:RandomAccessCollection|Generator|BidirectionalCollection|Sequence|Collection|Iterator)|BidirectionalCollection|Sequence|Collection|Filter(?:Generator|BidirectionalCollection|Sequence|Collection|I(?:ndex|terator))))|A(?:ny(?:RandomAccessCollection|Generator|BidirectionalCollection|Sequence|Hashable|Collection|I(?:ndex|terator))|utoreleasingUnsafeMutablePointer|rray(?:Slice)?))\\\\b\",\"name\":\"support.type.swift\"},{\"match\":\"\\\\b(?:R(?:everse(?:RandomAccess(?:Collection|Index)|Collection|Index)|awByte)|Map(?:Generator|Sequence|Collection)|S(?:inkOf|etGenerator)|Zip2Generator|DictionaryGenerator|Filter(?:Generator|Sequence|Collection(?:Index)?)|LazyForwardCollection|Any(?:RandomAccessIndex|BidirectionalIndex|Forward(?:Collection|Index)))\\\\b\",\"name\":\"support.type.swift\"}]},\"builtin-types-builtin-typealias\":{\"patterns\":[{\"match\":\"\\\\b(?:Raw(?:Significand|Exponent|Value)|B(?:ooleanLiteralType|uffer|ase)|S(?:t(?:orage|r(?:i(?:ngLiteralType|de)|eam[12]))|ubSequence)|NativeBuffer|C(?:hild(?:ren)?|Bool|S(?:hort|ignedChar)|odeUnit|Char(?:16|32)?|Int|Double|Unsigned(?:Short|Char|Int|Long(?:Long)?)|Float|WideChar|Long(?:Long)?)|I(?:n(?:t(?:Max|egerLiteralType)|d(?:ices|ex(?:Distance)?))|terator)|Distance|U(?:n(?:icodeScalar(?:Type|Index|View|LiteralType)|foldFirstSequence)|TF(?:16(?:Index|View)|8Index)|IntMax)|E(?:lements?|x(?:tendedGraphemeCluster(?:|Literal)Type|ponent))|V(?:oid|alue)|Key|Float(?:32|LiteralType|64)|AnyClass)\\\\b\",\"name\":\"support.type.swift\"},{\"match\":\"\\\\b(?:Generator|PlaygroundQuickLook|UWord|Word)\\\\b\",\"name\":\"support.type.swift\"}]},\"code-block\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.begin.swift\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.swift\"}},\"patterns\":[{\"include\":\"$self\"}]},\"comments\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.swift\"}},\"match\":\"\\\\A^(#!).*$\\\\n?\",\"name\":\"comment.line.number-sign.swift\"},{\"begin\":\"/\\\\*\\\\*(?!/)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.swift\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.swift\"}},\"name\":\"comment.block.documentation.swift\",\"patterns\":[{\"include\":\"#comments-nested\"}]},{\"begin\":\"/\\\\*:\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.swift\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.swift\"}},\"name\":\"comment.block.documentation.playground.swift\",\"patterns\":[{\"include\":\"#comments-nested\"}]},{\"begin\":\"/\\\\*\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.swift\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.swift\"}},\"name\":\"comment.block.swift\",\"patterns\":[{\"include\":\"#comments-nested\"}]},{\"match\":\"\\\\*/\",\"name\":\"invalid.illegal.unexpected-end-of-block-comment.swift\"},{\"begin\":\"(^[\\\\t ]+)?(?=//)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.swift\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"///\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.swift\"}},\"end\":\"$\",\"name\":\"comment.line.triple-slash.documentation.swift\"},{\"begin\":\"//:\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.swift\"}},\"end\":\"$\",\"name\":\"comment.line.double-slash.documentation.swift\"},{\"begin\":\"//\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.swift\"}},\"end\":\"$\",\"name\":\"comment.line.double-slash.swift\"}]}]},\"comments-nested\":{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"patterns\":[{\"include\":\"#comments-nested\"}]},\"compiler-control\":{\"patterns\":[{\"begin\":\"^\\\\s*(#)(if|elseif)\\\\s+(false)\\\\b.*?(?=$|//|/\\\\*)\",\"beginCaptures\":{\"0\":{\"name\":\"meta.preprocessor.conditional.swift\"},\"1\":{\"name\":\"punctuation.definition.preprocessor.swift\"},\"2\":{\"name\":\"keyword.control.import.preprocessor.conditional.swift\"},\"3\":{\"name\":\"constant.language.boolean.swift\"}},\"contentName\":\"comment.block.preprocessor.swift\",\"end\":\"(?=^\\\\s*(#(e(?:lseif|lse|ndif)))\\\\b)\"},{\"begin\":\"^\\\\s*(#)(if|elseif)\\\\s+\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.preprocessor.swift\"},\"2\":{\"name\":\"keyword.control.import.preprocessor.conditional.swift\"}},\"end\":\"(?=\\\\s*/[*/])|$\",\"name\":\"meta.preprocessor.conditional.swift\",\"patterns\":[{\"match\":\"(&&|\\\\|\\\\|)\",\"name\":\"keyword.operator.logical.swift\"},{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.boolean.swift\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.condition.swift\"},\"2\":{\"name\":\"punctuation.definition.parameters.begin.swift\"},\"3\":{\"name\":\"support.constant.platform.architecture.swift\"},\"4\":{\"name\":\"punctuation.definition.parameters.end.swift\"}},\"match\":\"\\\\b(arch)\\\\s*(\\\\()\\\\s*(?:(arm|arm64|powerpc64|powerpc64le|i386|x86_64|s390x)|\\\\w+)\\\\s*(\\\\))\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.condition.swift\"},\"2\":{\"name\":\"punctuation.definition.parameters.begin.swift\"},\"3\":{\"name\":\"support.constant.platform.os.swift\"},\"4\":{\"name\":\"punctuation.definition.parameters.end.swift\"}},\"match\":\"\\\\b(os)\\\\s*(\\\\()\\\\s*(?:(macOS|OSX|iOS|tvOS|watchOS|visionOS|Android|Linux|FreeBSD|Windows|PS4)|\\\\w+)\\\\s*(\\\\))\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.condition.swift\"},\"2\":{\"name\":\"punctuation.definition.parameters.begin.swift\"},\"3\":{\"name\":\"entity.name.type.module.swift\"},\"4\":{\"name\":\"punctuation.definition.parameters.end.swift\"}},\"match\":\"\\\\b(canImport)\\\\s*(\\\\()([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)(\\\\))\"},{\"begin\":\"\\\\b(targetEnvironment)\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.condition.swift\"},\"2\":{\"name\":\"punctuation.definition.parameters.begin.swift\"}},\"end\":\"(\\\\))|$\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.swift\"}},\"patterns\":[{\"match\":\"\\\\b(simulator|UIKitForMac)\\\\b\",\"name\":\"support.constant.platform.environment.swift\"}]},{\"begin\":\"\\\\b(swift|compiler)\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.condition.swift\"},\"2\":{\"name\":\"punctuation.definition.parameters.begin.swift\"}},\"end\":\"(\\\\))|$\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.swift\"}},\"patterns\":[{\"match\":\">=|<\",\"name\":\"keyword.operator.comparison.swift\"},{\"match\":\"\\\\b[0-9]+(?:\\\\.[0-9]+)*\\\\b\",\"name\":\"constant.numeric.swift\"}]}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.preprocessor.swift\"},\"2\":{\"name\":\"keyword.control.import.preprocessor.conditional.swift\"},\"3\":{\"patterns\":[{\"match\":\"\\\\S+\",\"name\":\"invalid.illegal.character-not-allowed-here.swift\"}]}},\"match\":\"^\\\\s*(#)(e(?:lse|ndif))(.*?)(?=$|//|/\\\\*)\",\"name\":\"meta.preprocessor.conditional.swift\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.preprocessor.swift\"},\"2\":{\"name\":\"keyword.control.import.preprocessor.sourcelocation.swift\"},\"4\":{\"name\":\"punctuation.definition.parameters.begin.swift\"},\"5\":{\"patterns\":[{\"begin\":\"(file)\\\\s*(:)\\\\s*(?=\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.variable.parameter.swift\"},\"2\":{\"name\":\"punctuation.separator.key-value.swift\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"include\":\"#literals\"}]},{\"captures\":{\"1\":{\"name\":\"support.variable.parameter.swift\"},\"2\":{\"name\":\"punctuation.separator.key-value.swift\"},\"3\":{\"name\":\"constant.numeric.integer.swift\"}},\"match\":\"(line)\\\\s*(:)\\\\s*([0-9]+)\"},{\"match\":\",\",\"name\":\"punctuation.separator.parameters.swift\"},{\"match\":\"\\\\S+\",\"name\":\"invalid.illegal.character-not-allowed-here.swift\"}]},\"6\":{\"name\":\"punctuation.definition.parameters.begin.swift\"},\"7\":{\"patterns\":[{\"match\":\"\\\\S+\",\"name\":\"invalid.illegal.character-not-allowed-here.swift\"}]}},\"match\":\"^\\\\s*(#)(sourceLocation)((\\\\()([^)]*)(\\\\)))(.*?)(?=$|//|/\\\\*)\",\"name\":\"meta.preprocessor.sourcelocation.swift\"}]},\"conditionals\":{\"patterns\":[{\"begin\":\"(?<!\\\\.)\\\\b(if|guard|switch|for)\\\\b\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#keywords\"}]}},\"end\":\"(?=\\\\{)\",\"patterns\":[{\"include\":\"#expressions-without-trailing-closures\"}]},{\"begin\":\"(?<!\\\\.)\\\\b(while)\\\\b\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#keywords\"}]}},\"end\":\"(?=\\\\{)|$\",\"patterns\":[{\"include\":\"#expressions-without-trailing-closures\"}]}]},\"declarations\":{\"patterns\":[{\"include\":\"#declarations-function\"},{\"include\":\"#declarations-function-initializer\"},{\"include\":\"#declarations-function-subscript\"},{\"include\":\"#declarations-typed-variable-declaration\"},{\"include\":\"#declarations-import\"},{\"include\":\"#declarations-operator\"},{\"include\":\"#declarations-precedencegroup\"},{\"include\":\"#declarations-protocol\"},{\"include\":\"#declarations-type\"},{\"include\":\"#declarations-extension\"},{\"include\":\"#declarations-typealias\"},{\"include\":\"#declarations-macro\"}]},\"declarations-available-types\":{\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#builtin-types\"},{\"include\":\"#attributes\"},{\"match\":\"\\\\basync\\\\b\",\"name\":\"storage.modifier.async.swift\"},{\"match\":\"\\\\b(?:|re)throws\\\\b\",\"name\":\"storage.modifier.exception.swift\"},{\"match\":\"\\\\bsome\\\\b\",\"name\":\"keyword.other.operator.type.opaque.swift\"},{\"match\":\"\\\\bany\\\\b\",\"name\":\"keyword.other.operator.type.existential.swift\"},{\"match\":\"\\\\b(?:repeat|each)\\\\b\",\"name\":\"keyword.control.loop.swift\"},{\"match\":\"\\\\b(?:inout|isolated|borrowing|consuming)\\\\b\",\"name\":\"storage.modifier.swift\"},{\"match\":\"\\\\bSelf\\\\b\",\"name\":\"variable.language.swift\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.type.function.swift\"}},\"match\":\"(?<![-!%\\\\&*+./<=>^|~])(->)(?![-!%\\\\&*+./<=>^|~])\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.type.composition.swift\"}},\"match\":\"(?<![-!%\\\\&*+./<=>^|~])(&)(?![-!%\\\\&*+./<=>^|~])\"},{\"match\":\"[!?]\",\"name\":\"keyword.operator.type.optional.swift\"},{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"keyword.operator.function.variadic-parameter.swift\"},{\"match\":\"\\\\bprotocol\\\\b\",\"name\":\"keyword.other.type.composition.swift\"},{\"match\":\"(?<=\\\\.)(?:Protocol|Type)\\\\b\",\"name\":\"keyword.other.type.metatype.swift\"},{\"include\":\"#declarations-available-types-tuple-type\"},{\"include\":\"#declarations-available-types-collection-type\"},{\"include\":\"#declarations-generic-argument-clause\"}]},\"declarations-available-types-collection-type\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.collection-type.begin.swift\"}},\"end\":\"]|(?=[)>{}])\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.collection-type.end.swift\"}},\"patterns\":[{\"include\":\"#declarations-available-types\"},{\"include\":\"#literals-numeric\"},{\"match\":\"\\\\b_\\\\b\",\"name\":\"support.variable.inferred.swift\"},{\"match\":\"(?<=\\\\s)\\\\bof\\\\b(?=\\\\s+[(\\\\[_\\\\p{L}\\\\d\\\\p{N}\\\\p{M}])\",\"name\":\"keyword.other.inline-array.swift\"},{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.key-value.swift\"}},\"end\":\"(?=[])>{}])\",\"patterns\":[{\"match\":\":\",\"name\":\"invalid.illegal.extra-colon-in-dictionary-type.swift\"},{\"include\":\"#declarations-available-types\"}]}]},\"declarations-available-types-tuple-type\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.tuple-type.begin.swift\"}},\"end\":\"\\\\)|(?=[]>{}])\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.tuple-type.end.swift\"}},\"patterns\":[{\"include\":\"#declarations-available-types\"}]},\"declarations-extension\":{\"begin\":\"\\\\b(extension)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.$1.swift\"}},\"end\":\"(?<=})\",\"name\":\"meta.definition.type.$1.swift\",\"patterns\":[{\"begin\":\"\\\\G(?!\\\\s*[\\\\n:{])\",\"end\":\"(?=\\\\s*[\\\\n:{])|(?!\\\\G)(?=\\\\s*where\\\\b)\",\"name\":\"entity.name.type.swift\",\"patterns\":[{\"include\":\"#declarations-available-types\"}]},{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-where-clause\"},{\"include\":\"#declarations-inheritance-clause\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.type.begin.swift\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.type.end.swift\"}},\"name\":\"meta.definition.type.body.swift\",\"patterns\":[{\"include\":\"$self\"}]}]},\"declarations-function\":{\"begin\":\"\\\\b(func)\\\\s+((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>)|(?:((?<oph>[-!%\\\\&*+/<-?^|~¡-§©«¬®°±¶»¿×÷‖‗†-‧‰-‾⁁-⁓⁕-⁞←-⏿─-❵➔-⯿⸀-、。〃〈-〰])(\\\\g<oph>|(?<opc>[̀-ͯ᷀-᷿⃐-︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))*)|(\\\\.(\\\\g<oph>|\\\\g<opc>|\\\\.)+)))\\\\s*(?=[(<])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.swift\"},\"2\":{\"name\":\"entity.name.function.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"(?<=})|$\",\"name\":\"meta.definition.function.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-parameter-clause\"},{\"include\":\"#declarations-parameter-clause\"},{\"include\":\"#declarations-function-result\"},{\"include\":\"#async-throws\"},{\"include\":\"#declarations-generic-where-clause\"},{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.function.begin.swift\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.function.end.swift\"}},\"name\":\"meta.definition.function.body.swift\",\"patterns\":[{\"include\":\"$self\"}]}]},\"declarations-function-initializer\":{\"begin\":\"(?<!\\\\.)\\\\b(init[!?]*)\\\\s*(?=[(<])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.swift\",\"patterns\":[{\"match\":\"(?<=[!?])[!?]+\",\"name\":\"invalid.illegal.character-not-allowed-here.swift\"}]}},\"end\":\"(?<=})|$\",\"name\":\"meta.definition.function.initializer.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-parameter-clause\"},{\"include\":\"#declarations-parameter-clause\"},{\"include\":\"#async-throws\"},{\"include\":\"#declarations-generic-where-clause\"},{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.function.begin.swift\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.function.end.swift\"}},\"name\":\"meta.definition.function.body.swift\",\"patterns\":[{\"include\":\"$self\"}]}]},\"declarations-function-result\":{\"begin\":\"(?<![-!%\\\\&*+./<=>^|~])(->)(?![-!%\\\\&*+./<=>^|~])\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.function-result.swift\"}},\"end\":\"(?!\\\\G)(?=\\\\{|\\\\bwhere\\\\b|[;=])|$\",\"name\":\"meta.function-result.swift\",\"patterns\":[{\"match\":\"\\\\bsending\\\\b\",\"name\":\"storage.modifier.swift\"},{\"include\":\"#declarations-available-types\"}]},\"declarations-function-subscript\":{\"begin\":\"(?<!\\\\.)\\\\b(subscript)\\\\s*(?=[(<])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.swift\"}},\"end\":\"(?<=})|$\",\"name\":\"meta.definition.function.subscript.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-parameter-clause\"},{\"include\":\"#declarations-parameter-clause\"},{\"include\":\"#declarations-function-result\"},{\"include\":\"#async-throws\"},{\"include\":\"#declarations-generic-where-clause\"},{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.function.begin.swift\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.function.end.swift\"}},\"name\":\"meta.definition.function.body.swift\",\"patterns\":[{\"include\":\"$self\"}]}]},\"declarations-generic-argument-clause\":{\"begin\":\"<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.generic-argument-clause.begin.swift\"}},\"end\":\">|(?=[]){}])\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.separator.generic-argument-clause.end.swift\"}},\"name\":\"meta.generic-argument-clause.swift\",\"patterns\":[{\"include\":\"#literals-numeric\"},{\"include\":\"#declarations-available-types\"}]},\"declarations-generic-parameter-clause\":{\"begin\":\"<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.generic-parameter-clause.begin.swift\"}},\"end\":\">|(?=[^\\\\&,:<=>`\\\\w\\\\d\\\\s])\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.separator.generic-parameter-clause.end.swift\"}},\"name\":\"meta.generic-parameter-clause.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-where-clause\"},{\"match\":\"\\\\blet\\\\b\",\"name\":\"keyword.other.declaration-specifier.swift\"},{\"match\":\"\\\\beach\\\\b\",\"name\":\"keyword.control.loop.swift\"},{\"captures\":{\"1\":{\"name\":\"variable.language.generic-parameter.swift\"}},\"match\":\"\\\\b((?!\\\\d)\\\\w[\\\\w\\\\d]*)\\\\b\"},{\"match\":\",\",\"name\":\"punctuation.separator.generic-parameters.swift\"},{\"begin\":\"(:)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.separator.generic-parameter-constraint.swift\"}},\"end\":\"(?=[,>]|(?!\\\\G)\\\\bwhere\\\\b)\",\"name\":\"meta.generic-parameter-constraint.swift\",\"patterns\":[{\"begin\":\"\\\\G\",\"end\":\"(?=[,>]|(?!\\\\G)\\\\bwhere\\\\b)\",\"name\":\"entity.other.inherited-class.swift\",\"patterns\":[{\"include\":\"#declarations-type-identifier\"},{\"include\":\"#declarations-type-operators\"}]}]}]},\"declarations-generic-where-clause\":{\"begin\":\"\\\\b(where)\\\\b\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.generic-constraint-introducer.swift\"}},\"end\":\"(?!\\\\G)$|(?=[\\\\n;>{}]|//|/\\\\*)\",\"name\":\"meta.generic-where-clause.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-where-clause-requirement-list\"}]},\"declarations-generic-where-clause-requirement-list\":{\"begin\":\"\\\\G|,\\\\s*\",\"end\":\"(?=[\\\\n,;>{}]|//|/\\\\*)\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#constraint\"},{\"include\":\"#declarations-available-types\"},{\"begin\":\"(?<![-!%\\\\&*+./<=>^|~])(==)(?![-!%\\\\&*+./<=>^|~])\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.generic-constraint.same-type.swift\"}},\"end\":\"(?=\\\\s*[\\\\n,;>{}]|//|/\\\\*)\",\"name\":\"meta.generic-where-clause.same-type-requirement.swift\",\"patterns\":[{\"include\":\"#declarations-available-types\"}]},{\"begin\":\"(?<![-!%\\\\&*+./<=>^|~])(:)(?![-!%\\\\&*+./<=>^|~])\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.generic-constraint.conforms-to.swift\"}},\"end\":\"(?=\\\\s*[\\\\n,;>{}]|//|/\\\\*)\",\"name\":\"meta.generic-where-clause.conformance-requirement.swift\",\"patterns\":[{\"begin\":\"\\\\G\\\\s*\",\"contentName\":\"entity.other.inherited-class.swift\",\"end\":\"(?=\\\\s*[\\\\n,;>{}]|//|/\\\\*)\",\"patterns\":[{\"include\":\"#declarations-available-types\"}]}]}]},\"declarations-import\":{\"begin\":\"(?<!\\\\.)\\\\b(import)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.import.swift\"}},\"end\":\"(;)|$\\\\n?|(?=/[*/])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.statement.swift\"}},\"name\":\"meta.import.swift\",\"patterns\":[{\"begin\":\"\\\\G(?!;|$|//|/\\\\*)(?:(typealias|struct|class|actor|enum|protocol|var|func)\\\\s+)?\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.swift\"}},\"end\":\"(?=;|$|//|/\\\\*)\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.identifier.swift\"},\"2\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"match\":\"(?<=\\\\G|\\\\.)(?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>)\",\"name\":\"entity.name.type.swift\"},{\"match\":\"(?<=\\\\G|\\\\.)\\\\$[0-9]+\",\"name\":\"entity.name.type.swift\"},{\"captures\":{\"1\":{\"patterns\":[{\"match\":\"\\\\.\",\"name\":\"invalid.illegal.dot-not-allowed-here.swift\"}]}},\"match\":\"(?<=\\\\G|\\\\.)(?:((?<oph>[-!%\\\\&*+/<-?^|~¡-§©«¬®°±¶»¿×÷‖‗†-‧‰-‾⁁-⁓⁕-⁞←-⏿─-❵➔-⯿⸀-、。〃〈-〰])(\\\\g<oph>|(?<opc>[̀-ͯ᷀-᷿⃐-︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))*)|(\\\\.(\\\\g<oph>|\\\\g<opc>|\\\\.)+))(?=[.;]|$|//|/\\\\*|\\\\s)\",\"name\":\"entity.name.type.swift\"},{\"match\":\"\\\\.\",\"name\":\"punctuation.separator.import.swift\"},{\"begin\":\"(?!\\\\s*(;|$|//|/\\\\*))\",\"end\":\"(?=\\\\s*(;|$|//|/\\\\*))\",\"name\":\"invalid.illegal.character-not-allowed-here.swift\"}]}]},\"declarations-inheritance-clause\":{\"begin\":\"(:)(?=\\\\s*\\\\{)|(:)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"invalid.illegal.empty-inheritance-clause.swift\"},\"2\":{\"name\":\"punctuation.separator.inheritance-clause.swift\"}},\"end\":\"(?!\\\\G)$|(?=[={}]|(?!\\\\G)\\\\bwhere\\\\b)\",\"name\":\"meta.inheritance-clause.swift\",\"patterns\":[{\"begin\":\"\\\\bclass\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"storage.type.class.swift\"}},\"end\":\"(?=[={}]|(?!\\\\G)\\\\bwhere\\\\b)\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-inheritance-clause-more-types\"}]},{\"begin\":\"\\\\G\",\"end\":\"(?!\\\\G)$|(?=[={}]|(?!\\\\G)\\\\bwhere\\\\b)\",\"patterns\":[{\"include\":\"#attributes\"},{\"include\":\"#comments\"},{\"include\":\"#declarations-inheritance-clause-inherited-type\"},{\"include\":\"#declarations-inheritance-clause-more-types\"},{\"include\":\"#declarations-type-operators\"}]}]},\"declarations-inheritance-clause-inherited-type\":{\"begin\":\"(?=[_`\\\\p{L}])\",\"end\":\"(?!\\\\G)\",\"name\":\"entity.other.inherited-class.swift\",\"patterns\":[{\"include\":\"#declarations-type-identifier\"}]},\"declarations-inheritance-clause-more-types\":{\"begin\":\",\\\\s*\",\"end\":\"(?!\\\\G)(?!/[*/])|(?=[,={}]|(?!\\\\G)\\\\bwhere\\\\b)\",\"name\":\"meta.inheritance-list.more-types\",\"patterns\":[{\"include\":\"#attributes\"},{\"include\":\"#comments\"},{\"include\":\"#declarations-inheritance-clause-inherited-type\"},{\"include\":\"#declarations-inheritance-clause-more-types\"},{\"include\":\"#declarations-type-operators\"}]},\"declarations-macro\":{\"begin\":\"\\\\b(macro)\\\\s+((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\\\\s*(?=[(<=])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.swift\"},\"2\":{\"name\":\"entity.name.function.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"$|(?=;|//|/\\\\*|[=}])\",\"name\":\"meta.definition.macro.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-parameter-clause\"},{\"include\":\"#declarations-parameter-clause\"},{\"include\":\"#declarations-function-result\"},{\"include\":\"#async-throws\"},{\"include\":\"#declarations-generic-where-clause\"}]},\"declarations-operator\":{\"begin\":\"(?:\\\\b((?:pre|in|post)fix)\\\\s+)?\\\\b(operator)\\\\s+(((?<oph>[-!%\\\\&*+/<-?^|~¡-§©«¬®°±¶»¿×÷‖‗†-‧‰-‾⁁-⁓⁕-⁞←-⏿─-❵➔-⯿⸀-、。〃〈-〰])(\\\\g<oph>|\\\\.|(?<opc>[̀-ͯ᷀-᷿⃐-︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))*+)|(\\\\.(\\\\g<oph>|\\\\g<opc>|\\\\.)++))\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.swift\"},\"2\":{\"name\":\"storage.type.function.operator.swift\"},\"3\":{\"name\":\"entity.name.function.operator.swift\"},\"4\":{\"name\":\"entity.name.function.operator.swift\",\"patterns\":[{\"match\":\"\\\\.\",\"name\":\"invalid.illegal.dot-not-allowed-here.swift\"}]}},\"end\":\"(;)|$\\\\n?|(?=/[*/])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.statement.swift\"}},\"name\":\"meta.definition.operator.swift\",\"patterns\":[{\"include\":\"#declarations-operator-swift2\"},{\"include\":\"#declarations-operator-swift3\"},{\"match\":\"((?!$|;|//|/\\\\*)\\\\S)+\",\"name\":\"invalid.illegal.character-not-allowed-here.swift\"}]},\"declarations-operator-swift2\":{\"begin\":\"\\\\G(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.operator.begin.swift\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.operator.end.swift\"}},\"patterns\":[{\"include\":\"#comments\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.swift\"},\"2\":{\"name\":\"keyword.other.operator.associativity.swift\"}},\"match\":\"\\\\b(associativity)\\\\s+(left|right)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.swift\"},\"2\":{\"name\":\"constant.numeric.integer.swift\"}},\"match\":\"\\\\b(precedence)\\\\s+([0-9]+)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.swift\"}},\"match\":\"\\\\b(assignment)\\\\b\"}]},\"declarations-operator-swift3\":{\"captures\":{\"2\":{\"name\":\"entity.other.inherited-class.swift\",\"patterns\":[{\"include\":\"#declarations-types-precedencegroup\"}]},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"match\":\"\\\\G(:)\\\\s*((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\"},\"declarations-parameter-clause\":{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.begin.swift\"}},\"end\":\"(\\\\))(?:\\\\s*(async)\\\\b)?\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.swift\"},\"2\":{\"name\":\"storage.modifier.async.swift\"}},\"name\":\"meta.parameter-clause.swift\",\"patterns\":[{\"include\":\"#declarations-parameter-list\"}]},\"declarations-parameter-list\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.function.swift\"},\"2\":{\"name\":\"punctuation.definition.identifier.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"variable.parameter.function.swift\"},\"5\":{\"name\":\"punctuation.definition.identifier.swift\"},\"6\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"match\":\"((?<q1>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q1>))\\\\s+((?<q2>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q2>))(?=\\\\s*:)\"},{\"captures\":{\"1\":{\"name\":\"variable.parameter.function.swift\"},\"2\":{\"name\":\"entity.name.function.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"match\":\"(((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>)))(?=\\\\s*:)\"},{\"begin\":\":\\\\s*(?!\\\\s)\",\"end\":\"(?=[),])\",\"patterns\":[{\"match\":\"\\\\bsending\\\\b\",\"name\":\"storage.modifier.swift\"},{\"include\":\"#declarations-available-types\"},{\"match\":\":\",\"name\":\"invalid.illegal.extra-colon-in-parameter-list.swift\"},{\"begin\":\"=\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.swift\"}},\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#expressions\"}]}]}]},\"declarations-precedencegroup\":{\"begin\":\"\\\\b(precedencegroup)\\\\s+((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\\\\s*(?=\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.precedencegroup.swift\"},\"2\":{\"name\":\"entity.name.type.precedencegroup.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"(?!\\\\G)\",\"name\":\"meta.definition.precedencegroup.swift\",\"patterns\":[{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.precedencegroup.begin.swift\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.precedencegroup.end.swift\"}},\"patterns\":[{\"include\":\"#comments\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.swift\"},\"2\":{\"name\":\"entity.other.inherited-class.swift\",\"patterns\":[{\"include\":\"#declarations-types-precedencegroup\"}]},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"match\":\"\\\\b((?:high|low)erThan)\\\\s*:\\\\s*((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.swift\"},\"2\":{\"name\":\"keyword.other.operator.associativity.swift\"}},\"match\":\"\\\\b(associativity)\\\\b(?:\\\\s*:\\\\s*(right|left|none)\\\\b)?\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.swift\"},\"2\":{\"name\":\"constant.language.boolean.swift\"}},\"match\":\"\\\\b(assignment)\\\\b(?:\\\\s*:\\\\s*(true|false)\\\\b)?\"}]}]},\"declarations-protocol\":{\"begin\":\"\\\\b(protocol)\\\\s+((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.$1.swift\"},\"2\":{\"name\":\"entity.name.type.$1.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"(?<=})\",\"name\":\"meta.definition.type.protocol.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-inheritance-clause\"},{\"include\":\"#declarations-generic-where-clause\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.type.begin.swift\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.type.end.swift\"}},\"name\":\"meta.definition.type.body.swift\",\"patterns\":[{\"include\":\"#declarations-protocol-protocol-method\"},{\"include\":\"#declarations-protocol-protocol-initializer\"},{\"include\":\"#declarations-protocol-associated-type\"},{\"include\":\"$self\"}]}]},\"declarations-protocol-associated-type\":{\"begin\":\"\\\\b(associatedtype)\\\\s+((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.declaration-specifier.swift\"},\"2\":{\"name\":\"variable.language.associatedtype.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"(?!\\\\G)$|(?=[;}]|$)\",\"name\":\"meta.definition.associatedtype.swift\",\"patterns\":[{\"include\":\"#declarations-inheritance-clause\"},{\"include\":\"#declarations-generic-where-clause\"},{\"include\":\"#declarations-typealias-assignment\"}]},\"declarations-protocol-protocol-initializer\":{\"begin\":\"(?<!\\\\.)\\\\b(init[!?]*)\\\\s*(?=[(<])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.swift\",\"patterns\":[{\"match\":\"(?<=[!?])[!?]+\",\"name\":\"invalid.illegal.character-not-allowed-here.swift\"}]}},\"end\":\"$|(?=;|//|/\\\\*|})\",\"name\":\"meta.definition.function.initializer.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-parameter-clause\"},{\"include\":\"#declarations-parameter-clause\"},{\"include\":\"#async-throws\"},{\"include\":\"#declarations-generic-where-clause\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.function.begin.swift\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.function.end.swift\"}},\"name\":\"invalid.illegal.function-body-not-allowed-in-protocol.swift\",\"patterns\":[{\"include\":\"$self\"}]}]},\"declarations-protocol-protocol-method\":{\"begin\":\"\\\\b(func)\\\\s+((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>)|(?:((?<oph>[-!%\\\\&*+/<-?^|~¡-§©«¬®°±¶»¿×÷‖‗†-‧‰-‾⁁-⁓⁕-⁞←-⏿─-❵➔-⯿⸀-、。〃〈-〰])(\\\\g<oph>|(?<opc>[̀-ͯ᷀-᷿⃐-︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))*)|(\\\\.(\\\\g<oph>|\\\\g<opc>|\\\\.)+)))\\\\s*(?=[(<])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.swift\"},\"2\":{\"name\":\"entity.name.function.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"$|(?=;|//|/\\\\*|})\",\"name\":\"meta.definition.function.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-parameter-clause\"},{\"include\":\"#declarations-parameter-clause\"},{\"include\":\"#declarations-function-result\"},{\"include\":\"#async-throws\"},{\"include\":\"#declarations-generic-where-clause\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.function.begin.swift\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.function.end.swift\"}},\"name\":\"invalid.illegal.function-body-not-allowed-in-protocol.swift\",\"patterns\":[{\"include\":\"$self\"}]}]},\"declarations-type\":{\"patterns\":[{\"begin\":\"\\\\b(class(?!\\\\s+(?:func|var|let)\\\\b)|struct|actor)\\\\b\\\\s*((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.$1.swift\"},\"2\":{\"name\":\"entity.name.type.$1.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"(?<=})\",\"name\":\"meta.definition.type.$1.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-parameter-clause\"},{\"include\":\"#declarations-generic-where-clause\"},{\"include\":\"#declarations-inheritance-clause\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.type.begin.swift\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.type.end.swift\"}},\"name\":\"meta.definition.type.body.swift\",\"patterns\":[{\"include\":\"$self\"}]}]},{\"include\":\"#declarations-type-enum\"}]},\"declarations-type-enum\":{\"begin\":\"\\\\b(enum)\\\\s+((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.$1.swift\"},\"2\":{\"name\":\"entity.name.type.$1.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"(?<=})\",\"name\":\"meta.definition.type.$1.swift\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-generic-parameter-clause\"},{\"include\":\"#declarations-generic-where-clause\"},{\"include\":\"#declarations-inheritance-clause\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.type.begin.swift\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.type.end.swift\"}},\"name\":\"meta.definition.type.body.swift\",\"patterns\":[{\"include\":\"#declarations-type-enum-enum-case-clause\"},{\"include\":\"$self\"}]}]},\"declarations-type-enum-associated-values\":{\"begin\":\"\\\\G\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.begin.swift\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.swift\"}},\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"(?:(_)|((?<q1>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\k<q1>))\\\\s+(((?<q2>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\k<q2>))\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.swift\"},\"2\":{\"name\":\"invalid.illegal.distinct-labels-not-allowed.swift\"},\"5\":{\"name\":\"variable.parameter.function.swift\"},\"7\":{\"name\":\"punctuation.separator.argument-label.swift\"}},\"end\":\"(?=[]),])\",\"patterns\":[{\"include\":\"#declarations-available-types\"}]},{\"begin\":\"(((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\k<q>))\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.swift\"},\"2\":{\"name\":\"variable.parameter.function.swift\"},\"4\":{\"name\":\"punctuation.separator.argument-label.swift\"}},\"end\":\"(?=[]),])\",\"patterns\":[{\"include\":\"#declarations-available-types\"}]},{\"begin\":\"(?![]),])(?=\\\\S)\",\"end\":\"(?=[]),])\",\"patterns\":[{\"include\":\"#declarations-available-types\"},{\"match\":\":\",\"name\":\"invalid.illegal.extra-colon-in-parameter-list.swift\"}]}]},\"declarations-type-enum-enum-case\":{\"begin\":\"((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.enummember.swift\"}},\"end\":\"(?<=\\\\))|(?![(=])\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-type-enum-associated-values\"},{\"include\":\"#declarations-type-enum-raw-value-assignment\"}]},\"declarations-type-enum-enum-case-clause\":{\"begin\":\"\\\\b(case)\\\\b\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.enum.case.swift\"}},\"end\":\"(?=[;}])|(?!\\\\G)(?!/[*/])(?=[^,\\\\s])\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-type-enum-enum-case\"},{\"include\":\"#declarations-type-enum-more-cases\"}]},\"declarations-type-enum-more-cases\":{\"begin\":\",\\\\s*\",\"end\":\"(?!\\\\G)(?!/[*/])(?=[;}[^,\\\\s]])\",\"name\":\"meta.enum-case.more-cases\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations-type-enum-enum-case\"},{\"include\":\"#declarations-type-enum-more-cases\"}]},\"declarations-type-enum-raw-value-assignment\":{\"begin\":\"(=)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.assignment.swift\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#literals\"}]},\"declarations-type-identifier\":{\"begin\":\"((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"meta.type-name.swift\",\"patterns\":[{\"include\":\"#builtin-types\"}]},\"2\":{\"name\":\"punctuation.definition.identifier.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"(?!<)\",\"patterns\":[{\"begin\":\"(?=<)\",\"end\":\"(?!\\\\G)\",\"patterns\":[{\"include\":\"#declarations-generic-argument-clause\"}]}]},\"declarations-type-operators\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.operator.type.composition.swift\"}},\"match\":\"(?<![-!%\\\\&*+./<=>^|~])(&)(?![-!%\\\\&*+./<=>^|~])\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.type.requirement-suppression.swift\"}},\"match\":\"(?<![-!%\\\\&*+./<=>^|~])(~)(?![-!%\\\\&*+./<=>^|~])\"}]},\"declarations-typealias\":{\"begin\":\"\\\\b(typealias)\\\\s+((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.declaration-specifier.swift\"},\"2\":{\"name\":\"entity.name.type.typealias.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"end\":\"(?!\\\\G)$|(?=;|//|/\\\\*|$)\",\"name\":\"meta.definition.typealias.swift\",\"patterns\":[{\"begin\":\"\\\\G(?=<)\",\"end\":\"(?!\\\\G)\",\"patterns\":[{\"include\":\"#declarations-generic-parameter-clause\"}]},{\"include\":\"#declarations-typealias-assignment\"}]},\"declarations-typealias-assignment\":{\"begin\":\"(=)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.assignment.swift\"}},\"end\":\"(?!\\\\G)$|(?=;|//|/\\\\*|$)\",\"patterns\":[{\"include\":\"#declarations-available-types\"}]},\"declarations-typed-variable-declaration\":{\"begin\":\"\\\\b(?:(async)\\\\s+)?(let|var)\\\\b\\\\s+(?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>)\\\\s*:\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.async.swift\"},\"2\":{\"name\":\"keyword.other.declaration-specifier.swift\"}},\"end\":\"(?=$|[={])\",\"patterns\":[{\"include\":\"#declarations-available-types\"}]},\"declarations-types-precedencegroup\":{\"patterns\":[{\"match\":\"\\\\b(?:BitwiseShift|Assignment|RangeFormation|Casting|Addition|NilCoalescing|Comparison|LogicalConjunction|LogicalDisjunction|Default|Ternary|Multiplication|FunctionArrow)Precedence\\\\b\",\"name\":\"support.type.swift\"}]},\"expressions\":{\"patterns\":[{\"include\":\"#expressions-without-trailing-closures-or-member-references\"},{\"include\":\"#expressions-trailing-closure\"},{\"include\":\"#member-reference\"}]},\"expressions-trailing-closure\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"support.function.any-method.swift\"},\"2\":{\"name\":\"punctuation.definition.identifier.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"match\":\"(#?(?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))(?=\\\\s*\\\\{)\",\"name\":\"meta.function-call.trailing-closure-only.swift\"},{\"captures\":{\"1\":{\"name\":\"support.function.any-method.trailing-closure-label.swift\"},\"2\":{\"name\":\"punctuation.definition.identifier.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.separator.argument-label.swift\"}},\"match\":\"((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\\\\s*(:)(?=\\\\s*\\\\{)\"}]},\"expressions-without-trailing-closures\":{\"patterns\":[{\"include\":\"#expressions-without-trailing-closures-or-member-references\"},{\"include\":\"#member-references\"}]},\"expressions-without-trailing-closures-or-member-references\":{\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#code-block\"},{\"include\":\"#attributes\"},{\"include\":\"#expressions-without-trailing-closures-or-member-references-closure-parameter\"},{\"include\":\"#literals\"},{\"include\":\"#operators\"},{\"include\":\"#builtin-types\"},{\"include\":\"#builtin-functions\"},{\"include\":\"#builtin-global-functions\"},{\"include\":\"#builtin-properties\"},{\"include\":\"#expressions-without-trailing-closures-or-member-references-compound-name\"},{\"include\":\"#conditionals\"},{\"include\":\"#keywords\"},{\"include\":\"#expressions-without-trailing-closures-or-member-references-availability-condition\"},{\"include\":\"#expressions-without-trailing-closures-or-member-references-function-or-macro-call-expression\"},{\"include\":\"#expressions-without-trailing-closures-or-member-references-macro-expansion\"},{\"include\":\"#expressions-without-trailing-closures-or-member-references-subscript-expression\"},{\"include\":\"#expressions-without-trailing-closures-or-member-references-parenthesized-expression\"},{\"match\":\"\\\\b_\\\\b\",\"name\":\"support.variable.discard-value.swift\"}]},\"expressions-without-trailing-closures-or-member-references-availability-condition\":{\"begin\":\"\\\\B(#(?:un)?available)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.availability-condition.swift\"},\"2\":{\"name\":\"punctuation.definition.arguments.begin.swift\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.arguments.end.swift\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.platform.os.swift\"},\"2\":{\"name\":\"constant.numeric.swift\"}},\"match\":\"\\\\s*\\\\b((?:iOS|macOS|OSX|watchOS|tvOS|visionOS|UIKitForMac)(?:ApplicationExtension)?)\\\\b\\\\s+([0-9]+(?:\\\\.[0-9]+)*)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.platform.all.swift\"},\"2\":{\"name\":\"invalid.illegal.character-not-allowed-here.swift\"}},\"match\":\"(\\\\*)\\\\s*(.*?)(?=[),])\"},{\"match\":\"[^),\\\\s]+\",\"name\":\"invalid.illegal.character-not-allowed-here.swift\"}]},\"expressions-without-trailing-closures-or-member-references-closure-parameter\":{\"match\":\"\\\\$[0-9]+\",\"name\":\"variable.language.closure-parameter.swift\"},\"expressions-without-trailing-closures-or-member-references-compound-name\":{\"captures\":{\"1\":{\"name\":\"entity.name.function.compound-name.swift\"},\"2\":{\"name\":\"punctuation.definition.entity.swift\"},\"3\":{\"name\":\"punctuation.definition.entity.swift\"},\"4\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.entity.swift\"},\"2\":{\"name\":\"punctuation.definition.entity.swift\"}},\"match\":\"(?<q>`?)(?!_:)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>):\",\"name\":\"entity.name.function.compound-name.swift\"}]}},\"match\":\"((?<q1>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q1>))\\\\(((((?<q2>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q2>)):)+)\\\\)\"},\"expressions-without-trailing-closures-or-member-references-expression-element-list\":{\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.any-method.swift\"},\"2\":{\"name\":\"punctuation.definition.identifier.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.separator.argument-label.swift\"}},\"end\":\"(?=[]),])\",\"patterns\":[{\"include\":\"#expressions\"}]},{\"begin\":\"(?![]),])(?=\\\\S)\",\"end\":\"(?=[]),])\",\"patterns\":[{\"include\":\"#expressions\"}]}]},\"expressions-without-trailing-closures-or-member-references-function-or-macro-call-expression\":{\"patterns\":[{\"begin\":\"(#?(?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.any-method.swift\"},\"2\":{\"name\":\"punctuation.definition.identifier.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"},\"4\":{\"name\":\"punctuation.definition.arguments.begin.swift\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.arguments.end.swift\"}},\"name\":\"meta.function-call.swift\",\"patterns\":[{\"include\":\"#expressions-without-trailing-closures-or-member-references-expression-element-list\"}]},{\"begin\":\"(?<=[])>_`}\\\\p{L}\\\\p{N}\\\\p{M}])\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.arguments.begin.swift\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.arguments.end.swift\"}},\"name\":\"meta.function-call.swift\",\"patterns\":[{\"include\":\"#expressions-without-trailing-closures-or-member-references-expression-element-list\"}]}]},\"expressions-without-trailing-closures-or-member-references-macro-expansion\":{\"match\":\"(#(?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\",\"name\":\"support.function.any-method.swift\"},\"expressions-without-trailing-closures-or-member-references-parenthesized-expression\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.tuple.begin.swift\"}},\"end\":\"(\\\\))\\\\s*((?:\\\\b(?:async|throws|rethrows)\\\\s)*)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.tuple.end.swift\"},\"2\":{\"patterns\":[{\"match\":\"\\\\brethrows\\\\b\",\"name\":\"invalid.illegal.rethrows-only-allowed-on-function-declarations.swift\"},{\"include\":\"#async-throws\"}]}},\"patterns\":[{\"include\":\"#expressions-without-trailing-closures-or-member-references-expression-element-list\"}]},\"expressions-without-trailing-closures-or-member-references-subscript-expression\":{\"begin\":\"(?<=[_`\\\\p{L}\\\\p{N}\\\\p{M}])\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.arguments.begin.swift\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.arguments.end.swift\"}},\"name\":\"meta.subscript-expression.swift\",\"patterns\":[{\"include\":\"#expressions-without-trailing-closures-or-member-references-expression-element-list\"}]},\"keywords\":{\"patterns\":[{\"match\":\"(?<!\\\\.)\\\\b(?:if|else|guard|where|switch|case|default|fallthrough)\\\\b\",\"name\":\"keyword.control.branch.swift\"},{\"match\":\"(?<!\\\\.)\\\\b(?:continue|break|fallthrough|return|yield)\\\\b\",\"name\":\"keyword.control.transfer.swift\"},{\"match\":\"(?<!\\\\.)\\\\b(?:while|for|in|each)\\\\b\",\"name\":\"keyword.control.loop.swift\"},{\"match\":\"(?<=\\\\s)\\\\bof\\\\b(?=\\\\s+[(\\\\[_\\\\p{L}\\\\d\\\\p{N}\\\\p{M}])\",\"name\":\"keyword.other.inline-array.swift\"},{\"match\":\"\\\\bany\\\\b(?=\\\\s*`?[_\\\\p{L}])\",\"name\":\"keyword.other.operator.type.existential.swift\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.loop.swift\"},\"2\":{\"name\":\"punctuation.whitespace.trailing.repeat.swift\"}},\"match\":\"(?<!\\\\.)\\\\b(repeat)\\\\b(\\\\s*)\"},{\"match\":\"(?<!\\\\.)\\\\bdefer\\\\b\",\"name\":\"keyword.control.defer.swift\"},{\"captures\":{\"1\":{\"name\":\"invalid.illegal.try-must-precede-await.swift\"},\"2\":{\"name\":\"keyword.control.await.swift\"}},\"match\":\"(?<!\\\\.)\\\\b(?:(await\\\\s+try)|(await))\\\\b\"},{\"match\":\"(?<!\\\\.)\\\\b(?:catch|throw|try)\\\\b|\\\\btry[!?]\\\\B\",\"name\":\"keyword.control.exception.swift\"},{\"match\":\"(?<!\\\\.)\\\\b(?:|re)throws\\\\b\",\"name\":\"storage.modifier.exception.swift\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.exception.swift\"},\"2\":{\"name\":\"punctuation.whitespace.trailing.do.swift\"}},\"match\":\"(?<!\\\\.)\\\\b(do)\\\\b(\\\\s*)\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.async.swift\"},\"2\":{\"name\":\"keyword.other.declaration-specifier.swift\"}},\"match\":\"(?<!\\\\.)\\\\b(?:(async)\\\\s+)?(let|var)\\\\b\"},{\"match\":\"(?<!\\\\.)\\\\b(?:associatedtype|operator|typealias)\\\\b\",\"name\":\"keyword.other.declaration-specifier.swift\"},{\"match\":\"(?<!\\\\.)\\\\b(class|enum|extension|precedencegroup|protocol|struct|actor)\\\\b(?=\\\\s*`?[_\\\\p{L}])\",\"name\":\"storage.type.$1.swift\"},{\"match\":\"(?<!\\\\.)\\\\b(?:inout|static|final|lazy|mutating|nonmutating|optional|indirect|required|override|dynamic|convenience|infix|prefix|postfix|distributed|nonisolated|borrowing|consuming)\\\\b\",\"name\":\"storage.modifier.swift\"},{\"match\":\"\\\\binit[!?]|\\\\binit\\\\b|(?<!\\\\.)\\\\b(?:func|deinit|subscript|didSet|get|set|willSet|yielding\\\\s+borrow|yielding\\\\s+mutate)\\\\b\",\"name\":\"storage.type.function.swift\"},{\"match\":\"(?<!\\\\.)\\\\b(?:fileprivate|private|internal|public|open|package)\\\\b\",\"name\":\"keyword.other.declaration-specifier.accessibility.swift\"},{\"match\":\"(?<!\\\\.)\\\\bunowned\\\\((?:|un)safe\\\\)|(?<!\\\\.)\\\\b(?:weak|unowned)\\\\b\",\"name\":\"keyword.other.capture-specifier.swift\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.type.swift\"},\"2\":{\"name\":\"keyword.other.type.metatype.swift\"}},\"match\":\"(?<=\\\\.)(?:(dynamicType|self)|(Protocol|Type))\\\\b\"},{\"match\":\"(?<!\\\\.)\\\\b(?:super|self|Self)\\\\b\",\"name\":\"variable.language.swift\"},{\"match\":\"(?:\\\\B#(?:file|filePath|fileID|line|column|function|dsohandle)|\\\\b__(?:FILE|LINE|COLUMN|FUNCTION|DSO_HANDLE)__)\\\\b\",\"name\":\"support.variable.swift\"},{\"match\":\"(?<!\\\\.)\\\\bimport\\\\b\",\"name\":\"keyword.control.import.swift\"},{\"match\":\"(?<!\\\\.)\\\\bconsume(?=\\\\s+`?[_\\\\p{L}])\",\"name\":\"keyword.control.consume.swift\"},{\"match\":\"(?<!\\\\.)\\\\bcopy(?=\\\\s+`?[_\\\\p{L}])\",\"name\":\"keyword.control.copy.swift\"}]},\"literals\":{\"patterns\":[{\"include\":\"#literals-boolean\"},{\"include\":\"#literals-numeric\"},{\"include\":\"#literals-string\"},{\"match\":\"\\\\bnil\\\\b\",\"name\":\"constant.language.nil.swift\"},{\"match\":\"\\\\B#((?:color|image|file)Literal)\\\\b\",\"name\":\"support.function.object-literal.swift\"},{\"match\":\"\\\\B#externalMacro\\\\b\",\"name\":\"support.function.builtin-macro.swift\"},{\"match\":\"\\\\B#keyPath\\\\b\",\"name\":\"support.function.key-path.swift\"},{\"begin\":\"\\\\B(#selector)(\\\\()(?:\\\\s*([gs]etter)\\\\s*(:))?\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.selector-reference.swift\"},\"2\":{\"name\":\"punctuation.definition.arguments.begin.swift\"},\"3\":{\"name\":\"support.variable.parameter.swift\"},\"4\":{\"name\":\"punctuation.separator.argument-label.swift\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.arguments.end.swift\"}},\"patterns\":[{\"include\":\"#expressions\"}]},{\"include\":\"#literals-regular-expression-literal\"}]},\"literals-boolean\":{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.boolean.swift\"},\"literals-numeric\":{\"patterns\":[{\"match\":\"(\\\\B-|\\\\b)(?<![]()\\\\[_{}\\\\p{L}\\\\p{N}\\\\p{M}]\\\\.)[0-9][0-9_]*(?=\\\\.[0-9]|[Ee])(?:\\\\.[0-9][0-9_]*)?(?:[Ee][-+]?[0-9][0-9_]*)?\\\\b(?!\\\\.[0-9])\",\"name\":\"constant.numeric.float.decimal.swift\"},{\"match\":\"(\\\\B-|\\\\b)(?<![]()\\\\[_{}\\\\p{L}\\\\p{N}\\\\p{M}]\\\\.)(0x\\\\h[_\\\\h]*)(?:\\\\.\\\\h[_\\\\h]*)?[Pp][-+]?[0-9][0-9_]*\\\\b(?!\\\\.[0-9])\",\"name\":\"constant.numeric.float.hexadecimal.swift\"},{\"match\":\"(\\\\B-|\\\\b)(?<![]()\\\\[_{}\\\\p{L}\\\\p{N}\\\\p{M}]\\\\.)(0x\\\\h[_\\\\h]*)(?:\\\\.\\\\h[_\\\\h]*)?[Pp][-+]?\\\\w*\\\\b(?!\\\\.[0-9])\",\"name\":\"invalid.illegal.numeric.float.invalid-exponent.swift\"},{\"match\":\"(\\\\B-|\\\\b)(?<![]()\\\\[_{}\\\\p{L}\\\\p{N}\\\\p{M}]\\\\.)(0x\\\\h[_\\\\h]*)\\\\.[0-9][.\\\\w]*\",\"name\":\"invalid.illegal.numeric.float.missing-exponent.swift\"},{\"match\":\"(?<=\\\\s|^)-?\\\\.[0-9][.\\\\w]*\",\"name\":\"invalid.illegal.numeric.float.missing-leading-zero.swift\"},{\"match\":\"(\\\\B-|\\\\b)0[box]_[_\\\\h]*(?:[EPep][-+]?\\\\w+)?[.\\\\w]+\",\"name\":\"invalid.illegal.numeric.leading-underscore.swift\"},{\"match\":\"(?<=[]()\\\\[_{}\\\\p{L}\\\\p{N}\\\\p{M}]\\\\.)[0-9]+\\\\b\"},{\"match\":\"(\\\\B-|\\\\b)(?<![]()\\\\[_{}\\\\p{L}\\\\p{N}\\\\p{M}]\\\\.)0b[01][01_]*\\\\b(?!\\\\.[0-9])\",\"name\":\"constant.numeric.integer.binary.swift\"},{\"match\":\"(\\\\B-|\\\\b)(?<![]()\\\\[_{}\\\\p{L}\\\\p{N}\\\\p{M}]\\\\.)0o[0-7][0-7_]*\\\\b(?!\\\\.[0-9])\",\"name\":\"constant.numeric.integer.octal.swift\"},{\"match\":\"(\\\\B-|\\\\b)(?<![]()\\\\[_{}\\\\p{L}\\\\p{N}\\\\p{M}]\\\\.)[0-9][0-9_]*\\\\b(?!\\\\.[0-9])\",\"name\":\"constant.numeric.integer.decimal.swift\"},{\"match\":\"(\\\\B-|\\\\b)(?<![]()\\\\[_{}\\\\p{L}\\\\p{N}\\\\p{M}]\\\\.)0x\\\\h[_\\\\h]*\\\\b(?!\\\\.[0-9])\",\"name\":\"constant.numeric.integer.hexadecimal.swift\"},{\"match\":\"(\\\\B-|\\\\b)[0-9][.\\\\w]*\",\"name\":\"invalid.illegal.numeric.other.swift\"}]},\"literals-regular-expression-literal\":{\"patterns\":[{\"begin\":\"(#+)/\\\\n\",\"end\":\"/\\\\1\",\"name\":\"string.regexp.block.swift\",\"patterns\":[{\"include\":\"#literals-regular-expression-literal-regex-guts\"},{\"include\":\"#literals-regular-expression-literal-line-comment\"}]},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"#literals-regular-expression-literal-regex-guts\"}]},\"1\":{\"name\":\"punctuation.definition.string.begin.regexp.swift\"},\"3\":{\"name\":\"punctuation.definition.string.end.regexp.swift\"}},\"match\":\"(/)(?!\\\\s)(?!/)(?:\\\\\\\\\\\\s(?=/)|(?<guts>(?>(?:\\\\\\\\Q(?:(?!\\\\\\\\E)(?!/).)*+(?:\\\\\\\\E|(?=/))|\\\\\\\\.|\\\\(\\\\?#[^)]*\\\\)|\\\\(\\\\?(?>\\\\{(?:[^{].*?|\\\\{[^{].*?}|\\\\{\\\\{[^{].*?}}|\\\\{\\\\{\\\\{[^{].*?}}}|\\\\{\\\\{\\\\{\\\\{[^{].*?}}}}|\\\\{\\\\{\\\\{\\\\{\\\\{.+?}}}}})})(?:\\\\[(?!\\\\d)\\\\w+])?[<>X]?\\\\)|\\\\[(?:\\\\\\\\.|[^]\\\\[\\\\\\\\]|\\\\[(?:\\\\\\\\.|[^]\\\\[\\\\\\\\]|\\\\[(?:\\\\\\\\.|[^]\\\\[\\\\\\\\]|\\\\[(?:\\\\\\\\.|[^]\\\\[\\\\\\\\])+])+])+])+]|\\\\(\\\\g<guts>?+\\\\)|(?:(?!/)[^()\\\\[\\\\\\\\])+)+))?+(?<!\\\\s))(/)\",\"name\":\"string.regexp.line.swift\"},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"#literals-regular-expression-literal-regex-guts\"}]},\"1\":{\"name\":\"punctuation.definition.string.begin.regexp.swift\"},\"4\":{\"name\":\"punctuation.definition.string.end.regexp.swift\"},\"5\":{\"name\":\"invalid.illegal.returns-not-allowed.regexp\"}},\"match\":\"((#+)/)(?<guts>(?>(?:\\\\\\\\Q(?:(?!\\\\\\\\E)(?!/\\\\2).)*+(?:\\\\\\\\E|(?=/\\\\2))|\\\\\\\\.|\\\\(\\\\?#[^)]*\\\\)|\\\\(\\\\?(?>\\\\{(?:[^{].*?|\\\\{[^{].*?}|\\\\{\\\\{[^{].*?}}|\\\\{\\\\{\\\\{[^{].*?}}}|\\\\{\\\\{\\\\{\\\\{[^{].*?}}}}|\\\\{\\\\{\\\\{\\\\{\\\\{.+?}}}}})})(?:\\\\[(?!\\\\d)\\\\w+])?[<>X]?\\\\)|\\\\[(?:\\\\\\\\.|[^]\\\\[\\\\\\\\]|\\\\[(?:\\\\\\\\.|[^]\\\\[\\\\\\\\]|\\\\[(?:\\\\\\\\.|[^]\\\\[\\\\\\\\]|\\\\[(?:\\\\\\\\.|[^]\\\\[\\\\\\\\])+])+])+])+]|\\\\(\\\\g<guts>?+\\\\)|(?:(?!/\\\\2)[^()\\\\[\\\\\\\\])+)+))?+(/\\\\2)|#+/.+(\\\\n)\",\"name\":\"string.regexp.line.extended.swift\"}]},\"literals-regular-expression-literal-backreference-or-subpattern\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.character.escape.backslash.regexp\"},\"2\":{\"name\":\"variable.other.group-name.regexp\"},\"3\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"4\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"5\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"6\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"7\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"8\":{\"name\":\"constant.character.escape.backslash.regexp\"}},\"match\":\"(\\\\\\\\g\\\\{)(?:((?!\\\\d)\\\\w+)(?:([-+])(\\\\d+))?|([-+]?\\\\d+)(?:([-+])(\\\\d+))?)(})\"},{\"captures\":{\"1\":{\"name\":\"constant.character.escape.backslash.regexp\"},\"2\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"3\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"4\":{\"name\":\"constant.numeric.integer.decimal.regexp\"}},\"match\":\"(\\\\\\\\g)([-+]?\\\\d+)(?:([-+])(\\\\d+))?\"},{\"captures\":{\"1\":{\"name\":\"constant.character.escape.backslash.regexp\"},\"2\":{\"name\":\"variable.other.group-name.regexp\"},\"3\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"4\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"5\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"6\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"7\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"8\":{\"name\":\"constant.character.escape.backslash.regexp\"}},\"match\":\"(\\\\\\\\[gk]<)(?:((?!\\\\d)\\\\w+)(?:([-+])(\\\\d+))?|([-+]?\\\\d+)(?:([-+])(\\\\d+))?)(>)\"},{\"captures\":{\"1\":{\"name\":\"constant.character.escape.backslash.regexp\"},\"2\":{\"name\":\"variable.other.group-name.regexp\"},\"3\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"4\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"5\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"6\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"7\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"8\":{\"name\":\"constant.character.escape.backslash.regexp\"}},\"match\":\"(\\\\\\\\[gk]')(?:((?!\\\\d)\\\\w+)(?:([-+])(\\\\d+))?|([-+]?\\\\d+)(?:([-+])(\\\\d+))?)(')\"},{\"captures\":{\"1\":{\"name\":\"constant.character.escape.backslash.regexp\"},\"2\":{\"name\":\"variable.other.group-name.regexp\"},\"3\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"4\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"5\":{\"name\":\"constant.character.escape.backslash.regexp\"}},\"match\":\"(\\\\\\\\k\\\\{)((?!\\\\d)\\\\w+)(?:([-+])(\\\\d+))?(})\"},{\"match\":\"\\\\\\\\[1-9][0-9]+\",\"name\":\"keyword.other.back-reference.regexp\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.back-reference.regexp\"},\"2\":{\"name\":\"variable.other.group-name.regexp\"},\"3\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"4\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"5\":{\"name\":\"keyword.other.back-reference.regexp\"}},\"match\":\"(\\\\(\\\\?(?:P[=>]|&))((?!\\\\d)\\\\w+)(?:([-+])(\\\\d+))?(\\\\))\"},{\"match\":\"\\\\(\\\\?R\\\\)\",\"name\":\"keyword.other.back-reference.regexp\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.back-reference.regexp\"},\"2\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"3\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"4\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"5\":{\"name\":\"keyword.other.back-reference.regexp\"}},\"match\":\"(\\\\(\\\\?)([-+]?\\\\d+)(?:([-+])(\\\\d+))?(\\\\))\"}]},\"literals-regular-expression-literal-backtracking-directive-or-global-matching-option\":{\"captures\":{\"1\":{\"name\":\"keyword.control.directive.regexp\"},\"2\":{\"name\":\"keyword.control.directive.regexp\"},\"3\":{\"name\":\"keyword.control.directive.regexp\"},\"4\":{\"name\":\"variable.language.tag.regexp\"},\"5\":{\"name\":\"keyword.control.directive.regexp\"},\"6\":{\"name\":\"keyword.operator.assignment.regexp\"},\"7\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"8\":{\"name\":\"keyword.control.directive.regexp\"},\"9\":{\"name\":\"keyword.control.directive.regexp\"}},\"match\":\"(\\\\(\\\\*)(?:(ACCEPT|FAIL|F|MARK(?=:)|(?=:)|COMMIT|PRUNE|SKIP|THEN)(?:(:)([^)]+))?|(LIMIT_(?:DEPTH|HEAP|MATCH))(=)(\\\\d+)|(CRLF|CR|ANYCRLF|ANY|LF|NUL|BSR_ANYCRLF|BSR_UNICODE|NOTEMPTY_ATSTART|NOTEMPTY|NO_AUTO_POSSESS|NO_DOTSTAR_ANCHOR|NO_JIT|NO_START_OPT|UTF|UCP))(\\\\))\"},\"literals-regular-expression-literal-callout\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.group.regexp\"},\"2\":{\"name\":\"keyword.control.callout.regexp\"},\"3\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"4\":{\"name\":\"entity.name.function.callout.regexp\"},\"5\":{\"name\":\"entity.name.function.callout.regexp\"},\"6\":{\"name\":\"entity.name.function.callout.regexp\"},\"7\":{\"name\":\"entity.name.function.callout.regexp\"},\"8\":{\"name\":\"entity.name.function.callout.regexp\"},\"9\":{\"name\":\"entity.name.function.callout.regexp\"},\"10\":{\"name\":\"entity.name.function.callout.regexp\"},\"11\":{\"name\":\"entity.name.function.callout.regexp\"},\"12\":{\"name\":\"punctuation.definition.group.regexp\"},\"13\":{\"name\":\"punctuation.definition.group.regexp\"},\"14\":{\"name\":\"keyword.control.callout.regexp\"},\"15\":{\"name\":\"entity.name.function.callout.regexp\"},\"16\":{\"name\":\"variable.language.tag-name.regexp\"},\"17\":{\"name\":\"punctuation.definition.group.regexp\"},\"18\":{\"name\":\"punctuation.definition.group.regexp\"},\"19\":{\"name\":\"keyword.control.callout.regexp\"},\"21\":{\"name\":\"variable.language.tag-name.regexp\"},\"22\":{\"name\":\"keyword.control.callout.regexp\"},\"23\":{\"name\":\"punctuation.definition.group.regexp\"}},\"match\":\"(\\\\()(?<keyw>\\\\?C)(?:(?<num>\\\\d+)|`(?<name>(?:[^`]|``)*)`|'(?<name>(?:[^']|'')*)'|\\\"(?<name>(?:[^\\\"]|\\\"\\\")*)\\\"|\\\\^(?<name>(?:[^^]|\\\\^\\\\^)*)\\\\^|%(?<name>(?:[^%]|%%)*)%|#(?<name>(?:[^#]|##)*)#|\\\\$(?<name>(?:[^$]|\\\\$\\\\$)*)\\\\$|\\\\{(?<name>(?:[^}]|}})*)})?(\\\\))|(\\\\()(?<keyw>\\\\*)(?<name>(?!\\\\d)\\\\w+)(?:\\\\[(?<tag>(?!\\\\d)\\\\w+)])?(?:\\\\{[^,}]+(?:,[^,}]+)*})?(\\\\))|(\\\\()(?<keyw>\\\\?)(?>(\\\\{(?:\\\\g<20>|(?!\\\\{).*?)}))(?:\\\\[(?<tag>(?!\\\\d)\\\\w+)])?(?<keyw>[<>X]?)(\\\\))\",\"name\":\"meta.callout.regexp\"},\"literals-regular-expression-literal-character-properties\":{\"captures\":{\"1\":{\"name\":\"support.variable.character-property.regexp\"},\"2\":{\"name\":\"punctuation.definition.character-class.regexp\"},\"3\":{\"name\":\"support.variable.character-property.regexp\"},\"4\":{\"name\":\"punctuation.definition.character-class.regexp\"}},\"match\":\"\\\\\\\\[Pp]\\\\{([-\\\\s\\\\w]+(?:=[-\\\\s\\\\w]+)?)}|(\\\\[:)([-\\\\s\\\\w]+(?:=[-\\\\s\\\\w]+)?)(:])\",\"name\":\"constant.other.character-class.set.regexp\"},\"literals-regular-expression-literal-custom-char-class\":{\"patterns\":[{\"begin\":\"(\\\\[)(\\\\^)?\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.character-class.regexp\"},\"2\":{\"name\":\"keyword.operator.negation.regexp\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.character-class.regexp\"}},\"name\":\"constant.other.character-class.set.regexp\",\"patterns\":[{\"include\":\"#literals-regular-expression-literal-custom-char-class-members\"}]}]},\"literals-regular-expression-literal-custom-char-class-members\":{\"patterns\":[{\"match\":\"\\\\\\\\b\",\"name\":\"constant.character.escape.backslash.regexp\"},{\"include\":\"#literals-regular-expression-literal-custom-char-class\"},{\"include\":\"#literals-regular-expression-literal-quote\"},{\"include\":\"#literals-regular-expression-literal-set-operators\"},{\"include\":\"#literals-regular-expression-literal-unicode-scalars\"},{\"include\":\"#literals-regular-expression-literal-character-properties\"}]},\"literals-regular-expression-literal-group-option-toggle\":{\"match\":\"\\\\(\\\\?(?:\\\\^(?:[DJPSUWimnswx]|xx|y\\\\{[gw]})*|(?:[DJPSUWimnswx]|xx|y\\\\{[gw]})+|(?:[DJPSUWimnswx]|xx|y\\\\{[gw]})*-(?:[DJPSUWimnswx]|xx|y\\\\{[gw]})*)\\\\)\",\"name\":\"keyword.other.option-toggle.regexp\"},\"literals-regular-expression-literal-group-or-conditional\":{\"patterns\":[{\"begin\":\"(\\\\()(\\\\?~)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.group.regexp\"},\"2\":{\"name\":\"keyword.control.conditional.absent.regexp\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.regexp\"}},\"name\":\"meta.group.absent.regexp\",\"patterns\":[{\"include\":\"#literals-regular-expression-literal-regex-guts\"}]},{\"begin\":\"(\\\\()(?<cond>\\\\?\\\\()(?:(?<NumberRef>(?<num>[-+]?\\\\d+)(?:(?<op>[-+])(?<num>\\\\d+))?)|(?<cond>R)\\\\g<NumberRef>?|(?<cond>R&)(?<NamedRef>(?<name>(?!\\\\d)\\\\w+)(?:(?<op>[-+])(?<num>\\\\d+))?)|(?<cond><)(?:\\\\g<NamedRef>|\\\\g<NumberRef>)(?<cond>>)|(?<cond>')(?:\\\\g<NamedRef>|\\\\g<NumberRef>)(?<cond>')|(?<cond>DEFINE)|(?<cond>VERSION)(?<compar>>?=)(?<num>\\\\d+\\\\.\\\\d+))(?<cond>\\\\))|(\\\\()(?<cond>\\\\?)(?=\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.group.regexp\"},\"2\":{\"name\":\"keyword.control.conditional.regexp\"},\"4\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"5\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"6\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"7\":{\"name\":\"keyword.control.conditional.regexp\"},\"8\":{\"name\":\"keyword.control.conditional.regexp\"},\"10\":{\"name\":\"variable.other.group-name.regexp\"},\"11\":{\"name\":\"keyword.operator.recursion-level.regexp\"},\"12\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"13\":{\"name\":\"keyword.control.conditional.regexp\"},\"14\":{\"name\":\"keyword.control.conditional.regexp\"},\"15\":{\"name\":\"keyword.control.conditional.regexp\"},\"16\":{\"name\":\"keyword.control.conditional.regexp\"},\"17\":{\"name\":\"keyword.control.conditional.regexp\"},\"18\":{\"name\":\"keyword.control.conditional.regexp\"},\"19\":{\"name\":\"keyword.operator.comparison.regexp\"},\"20\":{\"name\":\"constant.numeric.integer.decimal.regexp\"},\"21\":{\"name\":\"keyword.control.conditional.regexp\"},\"22\":{\"name\":\"punctuation.definition.group.regexp\"},\"23\":{\"name\":\"keyword.control.conditional.regexp\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.regexp\"}},\"name\":\"meta.group.conditional.regexp\",\"patterns\":[{\"include\":\"#literals-regular-expression-literal-regex-guts\"}]},{\"begin\":\"(\\\\()((\\\\?)(?:([!*:=>|]|<[!*=])|P?<(?:((?!\\\\d)\\\\w+)(-))?((?!\\\\d)\\\\w+)>|'(?:((?!\\\\d)\\\\w+)(-))?((?!\\\\d)\\\\w+)'|(?:\\\\^(?:[DJPSUWimnswx]|xx|y\\\\{[gw]})*|(?:[DJPSUWimnswx]|xx|y\\\\{[gw]})+|(?:[DJPSUWimnswx]|xx|y\\\\{[gw]})*-(?:[DJPSUWimnswx]|xx|y\\\\{[gw]})*):)|\\\\*(atomic|pla|positive_lookahead|nla|negative_lookahead|plb|positive_lookbehind|nlb|negative_lookbehind|napla|non_atomic_positive_lookahead|naplb|non_atomic_positive_lookbehind|sr|script_run|asr|atomic_script_run):)?+\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.group.regexp\"},\"2\":{\"name\":\"keyword.other.group-options.regexp\"},\"3\":{\"name\":\"punctuation.definition.group.regexp\"},\"4\":{\"name\":\"punctuation.definition.group.regexp\"},\"5\":{\"name\":\"variable.other.group-name.regexp\"},\"6\":{\"name\":\"keyword.operator.balancing-group.regexp\"},\"7\":{\"name\":\"variable.other.group-name.regexp\"},\"8\":{\"name\":\"variable.other.group-name.regexp\"},\"9\":{\"name\":\"keyword.operator.balancing-group.regexp\"},\"10\":{\"name\":\"variable.other.group-name.regexp\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.regexp\"}},\"name\":\"meta.group.regexp\",\"patterns\":[{\"include\":\"#literals-regular-expression-literal-regex-guts\"}]}]},\"literals-regular-expression-literal-line-comment\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.regexp\"}},\"match\":\"(#).*$\",\"name\":\"comment.line.regexp\"},\"literals-regular-expression-literal-quote\":{\"begin\":\"\\\\\\\\Q\",\"beginCaptures\":{\"0\":{\"name\":\"constant.character.escape.backslash.regexp\"}},\"end\":\"\\\\\\\\E|(\\\\n)\",\"endCaptures\":{\"0\":{\"name\":\"constant.character.escape.backslash.regexp\"},\"1\":{\"name\":\"invalid.illegal.returns-not-allowed.regexp\"}},\"name\":\"string.quoted.other.regexp.swift\"},\"literals-regular-expression-literal-regex-guts\":{\"patterns\":[{\"include\":\"#literals-regular-expression-literal-quote\"},{\"begin\":\"\\\\(\\\\?#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.regexp\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.regexp\"}},\"name\":\"comment.block.regexp\"},{\"begin\":\"<\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.regexp\"}},\"end\":\"}>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.regexp\"}},\"name\":\"meta.embedded.expression.regexp\"},{\"include\":\"#literals-regular-expression-literal-unicode-scalars\"},{\"include\":\"#literals-regular-expression-literal-character-properties\"},{\"match\":\"[$^]|\\\\\\\\[ABGYZbyz]|\\\\\\\\K\",\"name\":\"keyword.control.anchor.regexp\"},{\"include\":\"#literals-regular-expression-literal-backtracking-directive-or-global-matching-option\"},{\"include\":\"#literals-regular-expression-literal-callout\"},{\"include\":\"#literals-regular-expression-literal-backreference-or-subpattern\"},{\"match\":\"\\\\.|\\\\\\\\[CDHNORSVWXdhsvw]\",\"name\":\"constant.character.character-class.regexp\"},{\"match\":\"\\\\\\\\c.\",\"name\":\"constant.character.entity.control-character.regexp\"},{\"match\":\"\\\\\\\\[^c]\",\"name\":\"constant.character.escape.backslash.regexp\"},{\"match\":\"\\\\|\",\"name\":\"keyword.operator.or.regexp\"},{\"match\":\"[*+?]\",\"name\":\"keyword.operator.quantifier.regexp\"},{\"match\":\"\\\\{(?:\\\\s*\\\\d+\\\\s*(?:,\\\\s*\\\\d*\\\\s*)?}|\\\\s*,\\\\s*\\\\d+\\\\s*})\",\"name\":\"keyword.operator.quantifier.regexp\"},{\"include\":\"#literals-regular-expression-literal-custom-char-class\"},{\"include\":\"#literals-regular-expression-literal-group-option-toggle\"},{\"include\":\"#literals-regular-expression-literal-group-or-conditional\"}]},\"literals-regular-expression-literal-set-operators\":{\"patterns\":[{\"match\":\"&&\",\"name\":\"keyword.operator.intersection.regexp.swift\"},{\"match\":\"--\",\"name\":\"keyword.operator.subtraction.regexp.swift\"},{\"match\":\"~~\",\"name\":\"keyword.operator.symmetric-difference.regexp.swift\"}]},\"literals-regular-expression-literal-unicode-scalars\":{\"match\":\"\\\\\\\\(?:u\\\\{\\\\s*(?:\\\\h+\\\\s*)+}|u\\\\h{4}|x\\\\{\\\\h+}|x\\\\h{0,2}|U\\\\h{8}|o\\\\{[0-7]+}|0[0-7]{0,3}|N\\\\{(?:U\\\\+\\\\h{1,8}|[-\\\\s\\\\w]+)})\",\"name\":\"constant.character.numeric.regexp\"},\"literals-string\":{\"patterns\":[{\"begin\":\"\\\"\\\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.swift\"}},\"end\":\"\\\"\\\"\\\"(#*)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.swift\"},\"1\":{\"name\":\"invalid.illegal.extra-closing-delimiter.swift\"}},\"name\":\"string.quoted.double.block.swift\",\"patterns\":[{\"match\":\"\\\\G(?:.+(?=\\\"\\\"\\\")|.+)\",\"name\":\"invalid.illegal.content-after-opening-delimiter.swift\"},{\"match\":\"\\\\\\\\\\\\s*\\\\n\",\"name\":\"constant.character.escape.newline.swift\"},{\"include\":\"#literals-string-string-guts\"},{\"match\":\"\\\\S((?!\\\\\\\\\\\\().)*(?=\\\"\\\"\\\")\",\"name\":\"invalid.illegal.content-before-closing-delimiter.swift\"}]},{\"begin\":\"#\\\"\\\"\\\"(?!#)(?=(?:[^\\\"]|\\\"(?!#))*$)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.swift\"}},\"end\":\"\\\"\\\"\\\"#(#*)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.swift\"},\"1\":{\"name\":\"invalid.illegal.extra-closing-delimiter.swift\"}},\"name\":\"string.quoted.double.block.raw.swift\",\"patterns\":[{\"match\":\"\\\\G(?:.+(?=\\\"\\\"\\\")|.+)\",\"name\":\"invalid.illegal.content-after-opening-delimiter.swift\"},{\"match\":\"\\\\\\\\#\\\\s*\\\\n\",\"name\":\"constant.character.escape.newline.swift\"},{\"include\":\"#literals-string-raw-string-guts\"},{\"match\":\"\\\\S((?!\\\\\\\\#\\\\().)*(?=\\\"\\\"\\\")\",\"name\":\"invalid.illegal.content-before-closing-delimiter.swift\"}]},{\"begin\":\"(?<!#)(##+)\\\"\\\"\\\"(?!\\\\1)(?=(?:[^\\\"]|\\\"(?!\\\\1))*$)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.swift\"}},\"end\":\"\\\"\\\"\\\"\\\\1(#*)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.swift\"},\"1\":{\"name\":\"invalid.illegal.extra-closing-delimiter.swift\"}},\"name\":\"string.quoted.double.block.raw.swift\",\"patterns\":[{\"match\":\"\\\\G(?:.+(?=\\\"\\\"\\\")|.+)\",\"name\":\"invalid.illegal.content-after-opening-delimiter.swift\"}]},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.swift\"}},\"end\":\"\\\"(#*)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.swift\"},\"1\":{\"name\":\"invalid.illegal.extra-closing-delimiter.swift\"}},\"name\":\"string.quoted.double.single-line.swift\",\"patterns\":[{\"match\":\"[\\\\n\\\\r]\",\"name\":\"invalid.illegal.returns-not-allowed.swift\"},{\"include\":\"#literals-string-string-guts\"}]},{\"begin\":\"(?<!#)(##+)\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.raw.swift\"}},\"end\":\"\\\"\\\\1(#*)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.raw.swift\"},\"1\":{\"name\":\"invalid.illegal.extra-closing-delimiter.swift\"}},\"name\":\"string.quoted.double.single-line.raw.swift\",\"patterns\":[{\"match\":\"[\\\\n\\\\r]\",\"name\":\"invalid.illegal.returns-not-allowed.swift\"}]},{\"begin\":\"#\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.raw.swift\"}},\"end\":\"\\\"#(#*)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.raw.swift\"},\"1\":{\"name\":\"invalid.illegal.extra-closing-delimiter.swift\"}},\"name\":\"string.quoted.double.single-line.raw.swift\",\"patterns\":[{\"match\":\"[\\\\n\\\\r]\",\"name\":\"invalid.illegal.returns-not-allowed.swift\"},{\"include\":\"#literals-string-raw-string-guts\"}]}]},\"literals-string-raw-string-guts\":{\"patterns\":[{\"match\":\"\\\\\\\\#[\\\"'0\\\\\\\\nrt]\",\"name\":\"constant.character.escape.swift\"},{\"match\":\"\\\\\\\\#u\\\\{\\\\h{1,8}}\",\"name\":\"constant.character.escape.unicode.swift\"},{\"begin\":\"\\\\\\\\#\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.swift\"}},\"contentName\":\"source.swift\",\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.swift\"}},\"name\":\"meta.embedded.line.swift\",\"patterns\":[{\"include\":\"$self\"},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\"}]},{\"match\":\"\\\\\\\\#.\",\"name\":\"invalid.illegal.escape-not-recognized\"}]},\"literals-string-string-guts\":{\"patterns\":[{\"match\":\"\\\\\\\\[\\\"'0\\\\\\\\nrt]\",\"name\":\"constant.character.escape.swift\"},{\"match\":\"\\\\\\\\u\\\\{\\\\h{1,8}}\",\"name\":\"constant.character.escape.unicode.swift\"},{\"begin\":\"\\\\\\\\\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.swift\"}},\"contentName\":\"source.swift\",\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.swift\"}},\"name\":\"meta.embedded.line.swift\",\"patterns\":[{\"include\":\"$self\"},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\"}]},{\"match\":\"\\\\\\\\.\",\"name\":\"invalid.illegal.escape-not-recognized\"}]},\"member-reference\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.other.swift\"},\"2\":{\"name\":\"punctuation.definition.identifier.swift\"},\"3\":{\"name\":\"punctuation.definition.identifier.swift\"}},\"match\":\"(?<=\\\\.)((?<q>`?)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*(\\\\k<q>))\"}]},\"operators\":{\"patterns\":[{\"match\":\"\\\\b(is\\\\b|as([!?]\\\\B|\\\\b))\",\"name\":\"keyword.operator.type-casting.swift\"},{\"begin\":\"(?=(?<oph>[-!%\\\\&*+/<-?^|~¡-§©«¬®°±¶»¿×÷‖‗†-‧‰-‾⁁-⁓⁕-⁞←-⏿─-❵➔-⯿⸀-、。〃〈-〰])|\\\\.(\\\\g<oph>|[.̀-ͯ᷀-᷿⃐-︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))\",\"end\":\"(?!\\\\G)\",\"patterns\":[{\"captures\":{\"0\":{\"patterns\":[{\"match\":\"\\\\G(\\\\+\\\\+|--)$\",\"name\":\"keyword.operator.increment-or-decrement.swift\"},{\"match\":\"\\\\G([-+])$\",\"name\":\"keyword.operator.arithmetic.unary.swift\"},{\"match\":\"\\\\G!$\",\"name\":\"keyword.operator.logical.not.swift\"},{\"match\":\"\\\\G~$\",\"name\":\"keyword.operator.bitwise.not.swift\"},{\"match\":\".+\",\"name\":\"keyword.operator.custom.prefix.swift\"}]}},\"match\":\"\\\\G(?<=^|[(,:;\\\\[{\\\\s])((?!(//|/\\\\*|\\\\*/))([-!%\\\\&*+/<-?^|~¡-§©«¬®°±¶»¿×÷̀-ͯ᷀-᷿‖‗†-‧‰-‾⁁-⁓⁕-⁞⃐-←-⏿─-❵➔-⯿⸀-、。〃〈-〰︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))++(?![]),:;}\\\\s]|\\\\z)\"},{\"captures\":{\"0\":{\"patterns\":[{\"match\":\"\\\\G(\\\\+\\\\+|--)$\",\"name\":\"keyword.operator.increment-or-decrement.swift\"},{\"match\":\"\\\\G!$\",\"name\":\"keyword.operator.increment-or-decrement.swift\"},{\"match\":\".+\",\"name\":\"keyword.operator.custom.postfix.swift\"}]}},\"match\":\"\\\\G(?<!^|[(,:;\\\\[{\\\\s])((?!(//|/\\\\*|\\\\*/))([-!%\\\\&*+/<-?^|~¡-§©«¬®°±¶»¿×÷̀-ͯ᷀-᷿‖‗†-‧‰-‾⁁-⁓⁕-⁞⃐-←-⏿─-❵➔-⯿⸀-、。〃〈-〰︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))++(?=[]),:;}\\\\s]|\\\\z)\"},{\"captures\":{\"0\":{\"patterns\":[{\"match\":\"\\\\G=$\",\"name\":\"keyword.operator.assignment.swift\"},{\"match\":\"\\\\G([-%*+/]|<<|>>|[\\\\&^|]|&&|\\\\|\\\\|)=$\",\"name\":\"keyword.operator.assignment.compound.swift\"},{\"match\":\"\\\\G([-*+/])$\",\"name\":\"keyword.operator.arithmetic.swift\"},{\"match\":\"\\\\G&([-*+])$\",\"name\":\"keyword.operator.arithmetic.overflow.swift\"},{\"match\":\"\\\\G%$\",\"name\":\"keyword.operator.arithmetic.remainder.swift\"},{\"match\":\"\\\\G(==|!=|[<>]|>=|<=|~=)$\",\"name\":\"keyword.operator.comparison.swift\"},{\"match\":\"\\\\G\\\\?\\\\?$\",\"name\":\"keyword.operator.coalescing.swift\"},{\"match\":\"\\\\G(&&|\\\\|\\\\|)$\",\"name\":\"keyword.operator.logical.swift\"},{\"match\":\"\\\\G([\\\\&^|]|<<|>>)$\",\"name\":\"keyword.operator.bitwise.swift\"},{\"match\":\"\\\\G([!=]==)$\",\"name\":\"keyword.operator.bitwise.swift\"},{\"match\":\"\\\\G\\\\?$\",\"name\":\"keyword.operator.ternary.swift\"},{\"match\":\".+\",\"name\":\"keyword.operator.custom.infix.swift\"}]}},\"match\":\"\\\\G((?!(//|/\\\\*|\\\\*/))([-!%\\\\&*+/<-?^|~¡-§©«¬®°±¶»¿×÷̀-ͯ᷀-᷿‖‗†-‧‰-‾⁁-⁓⁕-⁞⃐-←-⏿─-❵➔-⯿⸀-、。〃〈-〰︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))++\"},{\"captures\":{\"0\":{\"patterns\":[{\"match\":\".+\",\"name\":\"keyword.operator.custom.prefix.dot.swift\"}]}},\"match\":\"\\\\G(?<=^|[(,:;\\\\[{\\\\s])\\\\.((?!(//|/\\\\*|\\\\*/))([-!%\\\\&*+./<-?^|~¡-§©«¬®°±¶»¿×÷̀-ͯ᷀-᷿‖‗†-‧‰-‾⁁-⁓⁕-⁞⃐-←-⏿─-❵➔-⯿⸀-、。〃〈-〰︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))++(?![]),:;}\\\\s]|\\\\z)\"},{\"captures\":{\"0\":{\"patterns\":[{\"match\":\".+\",\"name\":\"keyword.operator.custom.postfix.dot.swift\"}]}},\"match\":\"\\\\G(?<!^|[(,:;\\\\[{\\\\s])\\\\.((?!(//|/\\\\*|\\\\*/))([-!%\\\\&*+./<-?^|~¡-§©«¬®°±¶»¿×÷̀-ͯ᷀-᷿‖‗†-‧‰-‾⁁-⁓⁕-⁞⃐-←-⏿─-❵➔-⯿⸀-、。〃〈-〰︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))++(?=[]),:;}\\\\s]|\\\\z)\"},{\"captures\":{\"0\":{\"patterns\":[{\"match\":\"\\\\G\\\\.\\\\.[.<]$\",\"name\":\"keyword.operator.range.swift\"},{\"match\":\".+\",\"name\":\"keyword.operator.custom.infix.dot.swift\"}]}},\"match\":\"\\\\G\\\\.((?!(//|/\\\\*|\\\\*/))([-!%\\\\&*+./<-?^|~¡-§©«¬®°±¶»¿×÷̀-ͯ᷀-᷿‖‗†-‧‰-‾⁁-⁓⁕-⁞⃐-←-⏿─-❵➔-⯿⸀-、。〃〈-〰︀-️︠-︯\\\\x{E0100}-\\\\x{E01EF}]))++\"}]},{\"match\":\":\",\"name\":\"keyword.operator.ternary.swift\"}]},\"root\":{\"patterns\":[{\"include\":\"#compiler-control\"},{\"include\":\"#declarations\"},{\"include\":\"#expressions\"}]}},\"scopeName\":\"source.swift\"}"))];
|
|
2
|
+
//#endregion
|
|
3
|
+
export { e as default };
|