decocms 4.161.2 → 4.162.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-DkjWcZD-.js → AlertCircle-LCxBCJ8n.js} +1 -1
- package/dist/client/assets/{AreaChart-BhkonnRg.js → AreaChart-CVlhdmdg.js} +1 -1
- package/dist/client/assets/{ArrowUp-DAA8boPY.js → ArrowUp-LFRKHLuQ.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-D8TPuRuJ.js → ArrowUpRight-CXMFqfGp.js} +1 -1
- package/dist/client/assets/{Check-De5xpJ0K.js → Check-BCFAcmIa.js} +1 -1
- package/dist/client/assets/{CheckCircle-DeJIdYYq.js → CheckCircle-DpOD9rH0.js} +1 -1
- package/dist/client/assets/{ChevronDown-grOM3xSX.js → ChevronDown-BOvaCVzg.js} +1 -1
- package/dist/client/assets/{ChevronRight-Cyogjxfm.js → ChevronRight-liTksB2U.js} +1 -1
- package/dist/client/assets/{ChevronUp-DIUedEx1.js → ChevronUp-BIqoKMUJ.js} +1 -1
- package/dist/client/assets/{Copy01-DEkTleE-.js → Copy01-ZIMiAxdP.js} +1 -1
- package/dist/client/assets/{CpuChip01-Dsk680MX.js → CpuChip01-ZsmfFXVO.js} +1 -1
- package/dist/client/assets/{DotsVertical-BaMvQPx5.js → DotsVertical-CtO9eku7.js} +1 -1
- package/dist/client/assets/{Eye-DdzBJpW0.js → Eye-BQWYf35S.js} +1 -1
- package/dist/client/assets/{FilterLines-1IFdHyBL.js → FilterLines-CaGojimS.js} +1 -1
- package/dist/client/assets/{HardDrive-CZF0RiCb.js → HardDrive-BRyCfhBH.js} +1 -1
- package/dist/client/assets/{Key01-qFWWm7I0.js → Key01-i8xg5eM3.js} +1 -1
- package/dist/client/assets/{LayoutLeft-D3dfvOJc.js → LayoutLeft-Co2_iLon.js} +1 -1
- package/dist/client/assets/{LinkExternal01-BUH7ViZX.js → LinkExternal01-S8dAjzzi.js} +1 -1
- package/dist/client/assets/{LogOut01-GO407ARs.js → LogOut01-D75UBZCc.js} +1 -1
- package/dist/client/assets/{Monitor01-BBb-96JI.js → Monitor01-BAx1QWFz.js} +1 -1
- package/dist/client/assets/{Palette-G-qrN-IT.js → Palette-Bg3YC03V.js} +1 -1
- package/dist/client/assets/{Play-CkvF8PeT.js → Play-VIp82r5R.js} +1 -1
- package/dist/client/assets/{Plus-DolMQAo4.js → Plus-C9hAZmdY.js} +1 -1
- package/dist/client/assets/{SearchLg-CFQzg9fN.js → SearchLg-CqGEHAUM.js} +1 -1
- package/dist/client/assets/{SearchMd-DCX7P32_.js → SearchMd-oPsBet0y.js} +1 -1
- package/dist/client/assets/{Settings02-QFTejQVV.js → Settings02-DNMfHyCE.js} +1 -1
- package/dist/client/assets/{Shield01-BlitQe4N.js → Shield01-DD8XMdYI.js} +1 -1
- package/dist/client/assets/{Star01-D0qlrfqR.js → Star01-y2n-9wTn.js} +1 -1
- package/dist/client/assets/{Stars01-2TnupN6q.js → Stars01-CJ0QEEdc.js} +1 -1
- package/dist/client/assets/{Stars02-DbK2oBak.js → Stars02-B3TWh8au.js} +1 -1
- package/dist/client/assets/{Sun-DVajpqnC.js → Sun-BQEYQLhf.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-DY4K5cqR.js → SwitchHorizontal01-Dsxsamxe.js} +1 -1
- package/dist/client/assets/{Tool01-CgtDQOgO.js → Tool01-Oew-Vovb.js} +1 -1
- package/dist/client/assets/{Tool02-MSwzSxke.js → Tool02-CJeM1QZT.js} +1 -1
- package/dist/client/assets/{Trash01-DSxLTY0P.js → Trash01-CLRqp8e5.js} +1 -1
- package/dist/client/assets/{TrendUp01-djHA1GEE.js → TrendUp01-Bm1SbHN0.js} +1 -1
- package/dist/client/assets/{Upload01-W82kShpH.js → Upload01-ZVOuhs4w.js} +1 -1
- package/dist/client/assets/{User01-CXTn_TP5.js → User01-BYLEai7_.js} +1 -1
- package/dist/client/assets/{Users01-DQVb_7oO.js → Users01-CS4W313X.js} +1 -1
- package/dist/client/assets/{Users03-DK2c0NaU.js → Users03-CbHaoSh0.js} +1 -1
- package/dist/client/assets/{X-DsGAzzV8.js → X-x99fWfG-.js} +1 -1
- package/dist/client/assets/{XCircle-DuADiFVm.js → XCircle-CeqmuHIK.js} +1 -1
- package/dist/client/assets/{XClose-BOYWq1vy.js → XClose-CCug5seG.js} +1 -1
- package/dist/client/assets/{Zap-Djw_FpdI.js → Zap-DHqCvvjt.js} +1 -1
- package/dist/client/assets/{ZapSquare-C3s49zNL.js → ZapSquare-BKWVL4uR.js} +1 -1
- package/dist/client/assets/{access-gate-BRcWAcEH.js → access-gate-C9PFWoZS.js} +1 -1
- package/dist/client/assets/{add-section-modal-DkaZh9cy.js → add-section-modal-DEjIe-XG.js} +1 -1
- package/dist/client/assets/{agent-icon-D0etPDkN.js → agent-icon-DR5LB4zY.js} +1 -1
- package/dist/client/assets/{agents-list-1nArnMzn.js → agents-list-BvXD__fr.js} +1 -1
- package/dist/client/assets/{ai-providers-XeksWCKW.js → ai-providers-DuMestUx.js} +1 -1
- package/dist/client/assets/{alert-I-_PUhRM.js → alert-DWAFMZWl.js} +1 -1
- package/dist/client/assets/{alert-dialog-B3JnEiZT.js → alert-dialog-DR9_FciR.js} +1 -1
- package/dist/client/assets/{app-editor-BbkYtqwi.js → app-editor-BC28cPFO.js} +1 -1
- package/dist/client/assets/{auth-BkcPrlSH.js → auth-BiMrtm96.js} +1 -1
- package/dist/client/assets/{auth-catchall-JZDu0xii.js → auth-catchall-BNPPREMt.js} +1 -1
- package/dist/client/assets/{auth-entry-D376ANc2.js → auth-entry-CVJjeL2L.js} +1 -1
- package/dist/client/assets/{auth-split-layout-DULW70yu.js → auth-split-layout-CbPO57v5.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-DZxhoF_0.js → authenticate-and-persist-oauth-B8SUVbil.js} +1 -1
- package/dist/client/assets/{automation-list-row-y5_hhf0p.js → automation-list-row-C5X09Iy0.js} +1 -1
- package/dist/client/assets/{automation-runs-DNqF8MQa.js → automation-runs-i1Rm2H_V.js} +1 -1
- package/dist/client/assets/{automations-BTGiuB5f.js → automations-C48IGjrC.js} +1 -1
- package/dist/client/assets/{avatar-ShBwmidu.js → avatar-CssB4IS0.js} +1 -1
- package/dist/client/assets/{badge-CLGDkcax.js → badge-B-S2iO6e.js} +1 -1
- package/dist/client/assets/{block-document-DKkHndgg.js → block-document-Dotg4_gG.js} +1 -1
- package/dist/client/assets/{brand-context-DidwD5g4.js → brand-context-C331P1EH.js} +1 -1
- package/dist/client/assets/{buckets-BXy6rRmD.js → buckets-zt_s5mti.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-Pp9TOqgP.js → bulk-category-panel-DMe3EujP.js} +1 -1
- package/dist/client/assets/{calendar-BcaXLcUe.js → calendar-BO4sgiAT.js} +1 -1
- package/dist/client/assets/{capability-load-error-CqdQPRYW.js → capability-load-error-B2CpoAHd.js} +1 -1
- package/dist/client/assets/{card-C98b87L-.js → card-Dtd81GX2.js} +1 -1
- package/dist/client/assets/{category-editor-BnVhTkaR.js → category-editor-BxdNiDrW.js} +1 -1
- package/dist/client/assets/{chat-context-DAYV5YFw.js → chat-context-_ugV5jB0.js} +1 -1
- package/dist/client/assets/{checkbox-hx3qwtU4.js → checkbox-DyL6jqNP.js} +1 -1
- package/dist/client/assets/{cli-auth-success-CSA4lo7W.js → cli-auth-success-CBllfpZy.js} +1 -1
- package/dist/client/assets/{collection-detail-Dnt_8ShC.js → collection-detail-CJ-IT8lZ.js} +1 -1
- package/dist/client/assets/{collection-display-button-D7ZFqgmc.js → collection-display-button-rIB9x9ex.js} +1 -1
- package/dist/client/assets/{collection-search-BujcF3uz.js → collection-search-DDaBoxpd.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Dxzi1B76.js → collection-table-wrapper-DvDVvjdJ.js} +1 -1
- package/dist/client/assets/{collection-tabs-1Doa_k8q.js → collection-tabs-6ZZEGxA4.js} +1 -1
- package/dist/client/assets/{command-DTif1pCh.js → command-B0sPw5D_.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-CkLAXxz7.js → commerce-onboarding-CA2gNg1f.js} +1 -1
- package/dist/client/assets/{companions-core-DyTSbEDy.js → companions-core-bB24Ott2.js} +1 -1
- package/dist/client/assets/{connect-BQJsmY0Z.js → connect-dTZGddot.js} +1 -1
- package/dist/client/assets/{connection-DT5hjP5L.js → connection-B2NXk64E.js} +1 -1
- package/dist/client/assets/{connection-card-BEnBoaJQ.js → connection-card-D4yqc7qp.js} +1 -1
- package/dist/client/assets/{connection-detail-3HClPo6D.js → connection-detail-BNv09xz3.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-D1M4SXKF.js → connection-form-helpers-Dp2JRmtQ.js} +1 -1
- package/dist/client/assets/{connections-ok4_lFFO.js → connections-Dkp0iGo0.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-Z3wBsgik.js → decopilot-sse-pool-tfgrlddF.js} +1 -1
- package/dist/client/assets/{dialog-B1XOtEFa.js → dialog-DDV9hxrK.js} +1 -1
- package/dist/client/assets/{domain-settings-BX-8JSGW.js → domain-settings-Cj5IWEJw.js} +1 -1
- package/dist/client/assets/{drawer-Bindqbrh.js → drawer-CLLhxT0A.js} +1 -1
- package/dist/client/assets/{dropdown-menu-B2utwqdh.js → dropdown-menu-DFyP7pd-.js} +1 -1
- package/dist/client/assets/{empty-state-ClLU6296.js → empty-state-C8MJdBfO.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DSg0AjMi.js → extract-connection-data-GzPEHPIn.js} +1 -1
- package/dist/client/assets/{file-explorer-5gFVDcag.js → file-explorer-DcVPQshc.js} +1 -1
- package/dist/client/assets/{form-ujVSU6EU.js → form-dL4WOA5T.js} +1 -1
- package/dist/client/assets/{general-BgWx-5sJ.js → general-6LKGbmPX.js} +1 -1
- package/dist/client/assets/{github-repo-picker-CuyTuY6S.js → github-repo-picker-BYme-j8T.js} +1 -1
- package/dist/client/assets/{hooks-BSzBu2tD.js → hooks-B9cPFqGD.js} +1 -1
- package/dist/client/assets/{index-Cx7SoZn_.js → index-60s5nmmz.js} +1 -1
- package/dist/client/assets/{index-DLYm4Sa-.js → index-BBd4FRXS.js} +1 -1
- package/dist/client/assets/{index-BwQT5Hhi.js → index-By7P3hhU.js} +1 -1
- package/dist/client/assets/{index-Bhxc2Isb.js → index-D2YLDCkn.js} +1 -1
- package/dist/client/assets/{index-B6q32zYz.js → index-DeVgWfhn.js} +1 -1
- package/dist/client/assets/{index-CBD4gVZR.js → index-Y9ucfh4p.js} +1 -1
- package/dist/client/assets/{index-DvtCTmmx.js → index-ZADPN4om.js} +3 -3
- package/dist/client/assets/{index-DyrZQfe8.js → index-jG87093U.js} +1 -1
- package/dist/client/assets/{index-WEdfBcak.js → index-kfiIPtrP.js} +3 -3
- package/dist/client/assets/{index-PxBIb6oF.js → index-pBoO89BO.js} +1 -1
- package/dist/client/assets/{index-redirect-CzO62sP0.js → index-redirect-CfBCt2ky.js} +1 -1
- package/dist/client/assets/{index-DJEeCuky.js → index-u1ajTG-j.js} +5 -5
- package/dist/client/assets/{input-psV6HQEl.js → input-BjlpMnRZ.js} +1 -1
- package/dist/client/assets/{integration-icon-DjHXNUPP.js → integration-icon-CI602PfH.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-CB5VBjiU.js → invite-member-dialog-phqD0XUF.js} +1 -1
- package/dist/client/assets/{label-6xyucx-s.js → label-CSNgMmTA.js} +1 -1
- package/dist/client/assets/{layout-CBOg45xC.js → layout-BBpcfaXL.js} +1 -1
- package/dist/client/assets/{login-Cxn9KXio.js → login-DE_463fT.js} +1 -1
- package/dist/client/assets/{mcp-oauth-CKixkOtS.js → mcp-oauth-CxvR2V5h.js} +1 -1
- package/dist/client/assets/{members-CL8x8Krr.js → members-CeatJR1m.js} +1 -1
- package/dist/client/assets/{monaco-editor-DJpDPKHP.js → monaco-editor-zuz4s4Wv.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DPROMALt.js → monitoring-stats-row-krDWXB2t.js} +1 -1
- package/dist/client/assets/{multi-select-Bh_v-l_m.js → multi-select-CMyA49eR.js} +1 -1
- package/dist/client/assets/{oauth-callback-DutuJ6V_.js → oauth-callback-C9jDdjjs.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-C4S55pOq.js → oauth-callback-ai-provider-CY3QZi7E.js} +1 -1
- package/dist/client/assets/{onboarding-DuerzaiT.js → onboarding-C3hOUjMo.js} +1 -1
- package/dist/client/assets/{org-layout-of8A1jAC.js → org-layout-XwuOFG3d.js} +1 -1
- package/dist/client/assets/{organization-choice-B3rPtstm.js → organization-choice-BM-XKanD.js} +1 -1
- package/dist/client/assets/{orgs-3twuRrYh.js → orgs-DmL2XQRI.js} +1 -1
- package/dist/client/assets/{page-seo-form-BY3nYdel.js → page-seo-form-0xV6qNbu.js} +1 -1
- package/dist/client/assets/{popover-BGrrSZ8M.js → popover-EE72qx8A.js} +1 -1
- package/dist/client/assets/{post-editor-C4XyjEMt.js → post-editor-BuHJ7HnN.js} +1 -1
- package/dist/client/assets/{primitives-CbLkj1JF.js → primitives-ChQICk_y.js} +1 -1
- package/dist/client/assets/{profile-QV2jNue9.js → profile-B0SoUvj9.js} +1 -1
- package/dist/client/assets/project-app-view-YTx3iCq1.js +1 -0
- package/dist/client/assets/record-editor-M7bvrOuK.js +1 -0
- package/dist/client/assets/{redirect-editor-s6PMTrlX.js → redirect-editor-_6dVoePs.js} +1 -1
- package/dist/client/assets/registry-fNrz9Fbw.js +2 -0
- package/dist/client/assets/{registry-layout-DO-5mJZI.js → registry-layout-OS_nbWHC.js} +1 -1
- package/dist/client/assets/{reports-CwFf2f6b.js → reports-B3VBQs5Y.js} +1 -1
- package/dist/client/assets/{require-capability-BeOopecx.js → require-capability-CieeBdjs.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BFWyMRf5.js → required-auth-layout-BDIyJAhL.js} +1 -1
- package/dist/client/assets/{reset-password-C_-lQlSH.js → reset-password-CpG0cI8F.js} +1 -1
- package/dist/client/assets/{roles-D_oBaje3.js → roles-DlOhY5JD.js} +1 -1
- package/dist/client/assets/{search-input-Bfg6VxQW.js → search-input-cF6ciAVZ.js} +1 -1
- package/dist/client/assets/{secrets-k2GFZysm.js → secrets-Dh26lP0l.js} +1 -1
- package/dist/client/assets/{sections-editor-BujDptuZ.js → sections-editor-HbcASmu4.js} +1 -1
- package/dist/client/assets/{select-CWMyLghp.js → select-ceaThfRJ.js} +1 -1
- package/dist/client/assets/{select-model-CXvd3jI3.js → select-model-CDLnPEtQ.js} +1 -1
- package/dist/client/assets/{self-tool-result-BpCEaqPw.js → self-tool-result-CaPtQwDV.js} +1 -1
- package/dist/client/assets/{seo-editor-Cxh8JRxE.js → seo-editor-CoW5u7nN.js} +1 -1
- package/dist/client/assets/{settings-layout-D-wc3B9V.js → settings-layout-CM35yCas.js} +1 -1
- package/dist/client/assets/{settings-section-Z9R6HthO.js → settings-section-BJKYi71q.js} +1 -1
- package/dist/client/assets/{shell-controls-DJv-74jc.js → shell-controls-BLKKFd-i.js} +1 -1
- package/dist/client/assets/{shell-layout-C7_zhx2J.js → shell-layout-Cem8gTbL.js} +1 -1
- package/dist/client/assets/{sidebar-CGksZnes.js → sidebar-4JG4Ky1v.js} +1 -1
- package/dist/client/assets/{skeleton-BpfjGmFh.js → skeleton-QaXxQA1G.js} +1 -1
- package/dist/client/assets/{spinner-D0HY4fdO.js → spinner-CyUVcOie.js} +1 -1
- package/dist/client/assets/{sso-Bz5k2CGO.js → sso-CCHd62CO.js} +1 -1
- package/dist/client/assets/{store-DT_Iylxw.js → store-lf3dlAB1.js} +1 -1
- package/dist/client/assets/store-registry-BTA3Me55.js +2 -0
- package/dist/client/assets/{studio-tools-ChooDZCt.js → studio-tools-CUWFqlTh.js} +1 -1
- package/dist/client/assets/{switch-BmoPsk_L.js → switch-1Vfz3uSg.js} +1 -1
- package/dist/client/assets/{tab-id-DpWn0fbM.js → tab-id-CI2T4n3l.js} +1 -1
- package/dist/client/assets/{table-BluVU23Z.js → table-BQAbKOYa.js} +1 -1
- package/dist/client/assets/{tabs-C9Dri0XB.js → tabs-qagPrFeg.js} +1 -1
- package/dist/client/assets/{textarea-CMhJIDqb.js → textarea-C3WLqu3y.js} +1 -1
- package/dist/client/assets/{toggle-group-BK4yx2ic.js → toggle-group-NXghphbz.js} +1 -1
- package/dist/client/assets/{toolbar-CJN41Q0U.js → toolbar-ZE2CENTf.js} +1 -1
- package/dist/client/assets/{tooltip-DCC06XNr.js → tooltip-CiyZj9MW.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CTGRuhSY.js → use-ai-providers-B6AoVltc.js} +1 -1
- package/dist/client/assets/{use-automations-CTEnO1Zu.js → use-automations-CiQS3Pmq.js} +1 -1
- package/dist/client/assets/{use-autosave-CgHGIUlv.js → use-autosave-DE9X8qzD.js} +1 -1
- package/dist/client/assets/{use-capability-BTlnzwER.js → use-capability-DX60Hp0S.js} +1 -1
- package/dist/client/assets/{use-clock-tick-Dg1-zfZ4.js → use-clock-tick-Q8CgV2VU.js} +1 -1
- package/dist/client/assets/{use-connection-BTIHIL2U.js → use-connection-c87Xz8U-.js} +1 -1
- package/dist/client/assets/{use-copy-Bkx7pWID.js → use-copy-BPhBM3Oi.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-ClJmipur.js → use-create-virtual-mcp-BnZL3DPb.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-Dp_dA5sI.js → use-debounced-autosave-BmT6bwNL.js} +1 -1
- package/dist/client/assets/{use-debounced-value-Dx_Znjq0.js → use-debounced-value-DViZw7k7.js} +1 -1
- package/dist/client/assets/{use-deco-credits-CnnQh7bH.js → use-deco-credits-DJJXk8t9.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-B84Jbaf1.js → use-decopilot-events-DuMl-BWe.js} +1 -1
- package/dist/client/assets/{use-delete-connection-Dd7d9SGg.js → use-delete-connection--jtVGLkv.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-CElXlSvL.js → use-deployment-admin-Cr_7c4Yl.js} +1 -1
- package/dist/client/assets/{use-file-configs-DUlhqIgH.js → use-file-configs-CwjnQywn.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-CRM4xUSx.js → use-infinite-scroll-8IyahDR0.js} +1 -1
- package/dist/client/assets/{use-join-requests-B0JwpKM9.js → use-join-requests-tHCwhSs3.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-DH8oUnNS.js → use-mcp-auth-status-sjpR15R6.js} +1 -1
- package/dist/client/assets/{use-mcp-client-C78T1evw.js → use-mcp-client-BmnPrlCp.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-qcP_UOWU.js → use-mcp-tools-B9U_ZOEs.js} +1 -1
- package/dist/client/assets/{use-members-5U5mLxdD.js → use-members-BglXgqfG.js} +1 -1
- package/dist/client/assets/{use-mobile-BufL0gpx.js → use-mobile-ZF_jSfPp.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-bcvHJsmR.js → use-navigate-to-agent-DIeI8ULY.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-B93vTKrZ.js → use-org-auth-client-C-GSCd--.js} +1 -1
- package/dist/client/assets/{use-org-sso-BpALHDeh.js → use-org-sso-BawqtY1O.js} +1 -1
- package/dist/client/assets/{use-organization-roles-CHjz2_ga.js → use-organization-roles-BfAcHhLm.js} +1 -1
- package/dist/client/assets/{use-organization-settings-rcLpLxq6.js → use-organization-settings-DcixnwK-.js} +1 -1
- package/dist/client/assets/{use-registry-connections-XjUGFr5z.js → use-registry-connections-VIMCCdEN.js} +1 -1
- package/dist/client/assets/{use-secrets-DVGBRr0e.js → use-secrets-DN6xkhJI.js} +1 -1
- package/dist/client/assets/{use-status-sounds-CNPY1kJ-.js → use-status-sounds-CVssdpKX.js} +1 -1
- package/dist/client/assets/{use-tags-d-ihZKch.js → use-tags-OVuXWbIz.js} +1 -1
- package/dist/client/assets/{use-view-mode-CxLEvfyI.js → use-view-mode-BdkdIEp5.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-tTUO8PD5.js → use-virtual-mcp-BIQdKSoy.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-QTu-xaep.js +1 -0
- package/dist/client/assets/{useQueries-CX-pbcRo.js → useQueries-D2CKhSr2.js} +1 -1
- package/dist/client/assets/{useRouterState-DM9ViZSm.js → useRouterState-B0tRZSRp.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-_f32It26.js +1 -0
- package/dist/client/assets/{users-hps1B13C.js → users-Xgmv3XAu.js} +1 -1
- package/dist/client/assets/{variant-calendar--g4p8stV.js → variant-calendar-CHbHmJQD.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-Cn3ICdtv.js → view-mode-toggle-DTYJdfuz.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +766 -766
- package/dist/server/server.js +576 -576
- package/package.json +2 -4
- package/dist/client/assets/project-app-view-CZZgc1s8.js +0 -1
- package/dist/client/assets/record-editor-Bk_Re_fD.js +0 -1
- package/dist/client/assets/registry-BTKEcIS_.js +0 -2
- package/dist/client/assets/store-registry-DwAm5lvb.js +0 -2
- package/dist/client/assets/useInfiniteQuery-C1ye6sqf.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CiYM_Dv6.js +0 -1
- package/dist/server/node_modules/@resvg/resvg-js/LICENSE +0 -373
- package/dist/server/node_modules/@resvg/resvg-js/README.md +0 -314
- package/dist/server/node_modules/@resvg/resvg-js/index.js +0 -23
- package/dist/server/node_modules/@resvg/resvg-js/js-binding.js +0 -1
- package/dist/server/node_modules/@resvg/resvg-js/package.json +0 -152
- package/dist/server/node_modules/@shuding/opentype.js/LICENSE +0 -20
- package/dist/server/node_modules/@shuding/opentype.js/README.md +0 -9
- package/dist/server/node_modules/@shuding/opentype.js/RELEASES.md +0 -272
- package/dist/server/node_modules/@shuding/opentype.js/bin/ot +0 -84
- package/dist/server/node_modules/@shuding/opentype.js/bin/server.js +0 -64
- package/dist/server/node_modules/@shuding/opentype.js/bin/test-render +0 -96
- package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.js +0 -11655
- package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.min.js +0 -2
- package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.module.js +0 -11639
- package/dist/server/node_modules/@shuding/opentype.js/package.json +0 -73
- package/dist/server/node_modules/@shuding/opentype.js/src/bbox.js +0 -158
- package/dist/server/node_modules/@shuding/opentype.js/src/bidi.js +0 -243
- package/dist/server/node_modules/@shuding/opentype.js/src/char.js +0 -43
- package/dist/server/node_modules/@shuding/opentype.js/src/check.js +0 -16
- package/dist/server/node_modules/@shuding/opentype.js/src/encoding.js +0 -1032
- package/dist/server/node_modules/@shuding/opentype.js/src/features/applySubstitution.js +0 -74
- package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/arabicPresentationForms.js +0 -83
- package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/arabicRequiredLigatures.js +0 -41
- package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/contextCheck/arabicSentence.js +0 -43
- package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/contextCheck/arabicWord.js +0 -31
- package/dist/server/node_modules/@shuding/opentype.js/src/features/featureQuery.js +0 -483
- package/dist/server/node_modules/@shuding/opentype.js/src/features/latn/contextCheck/latinWord.js +0 -31
- package/dist/server/node_modules/@shuding/opentype.js/src/features/latn/latinLigatures.js +0 -40
- package/dist/server/node_modules/@shuding/opentype.js/src/font.js +0 -433
- package/dist/server/node_modules/@shuding/opentype.js/src/glyph.js +0 -274
- package/dist/server/node_modules/@shuding/opentype.js/src/glyphset.js +0 -150
- package/dist/server/node_modules/@shuding/opentype.js/src/hintingtt.js +0 -3062
- package/dist/server/node_modules/@shuding/opentype.js/src/index.js +0 -5
- package/dist/server/node_modules/@shuding/opentype.js/src/layout.js +0 -357
- package/dist/server/node_modules/@shuding/opentype.js/src/opentype.js +0 -375
- package/dist/server/node_modules/@shuding/opentype.js/src/parse.js +0 -628
- package/dist/server/node_modules/@shuding/opentype.js/src/path.js +0 -212
- package/dist/server/node_modules/@shuding/opentype.js/src/position.js +0 -77
- package/dist/server/node_modules/@shuding/opentype.js/src/substitution.js +0 -447
- package/dist/server/node_modules/@shuding/opentype.js/src/table.js +0 -215
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/cff.js +0 -1156
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/cmap.js +0 -145
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/fvar.js +0 -71
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/gdef.js +0 -62
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/glyf.js +0 -349
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/gpos.js +0 -146
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/gsub.js +0 -251
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/head.js +0 -35
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/hhea.js +0 -27
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/hmtx.js +0 -51
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/kern.js +0 -69
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/loca.js +0 -31
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/ltag.js +0 -33
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/maxp.js +0 -32
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/meta.js +0 -30
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/name.js +0 -680
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/os2.js +0 -65
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/post.js +0 -41
- package/dist/server/node_modules/@shuding/opentype.js/src/tokenizer.js +0 -522
- package/dist/server/node_modules/@shuding/opentype.js/src/types.js +0 -976
- package/dist/server/node_modules/@shuding/opentype.js/src/util.js +0 -17
- package/dist/server/node_modules/base64-js/.travis.yml +0 -5
- package/dist/server/node_modules/base64-js/LICENSE.MIT +0 -21
- package/dist/server/node_modules/base64-js/README.md +0 -31
- package/dist/server/node_modules/base64-js/bench/bench.js +0 -19
- package/dist/server/node_modules/base64-js/lib/b64.js +0 -124
- package/dist/server/node_modules/base64-js/package.json +0 -34
- package/dist/server/node_modules/base64-js/test/convert.js +0 -51
- package/dist/server/node_modules/base64-js/test/url-safe.js +0 -18
- package/dist/server/node_modules/camelize/.eslintrc +0 -24
- package/dist/server/node_modules/camelize/.github/FUNDING.yml +0 -12
- package/dist/server/node_modules/camelize/CHANGELOG.md +0 -64
- package/dist/server/node_modules/camelize/LICENSE +0 -18
- package/dist/server/node_modules/camelize/README.md +0 -81
- package/dist/server/node_modules/camelize/example/camel.js +0 -12
- package/dist/server/node_modules/camelize/index.js +0 -61
- package/dist/server/node_modules/camelize/package.json +0 -84
- package/dist/server/node_modules/camelize/test/camel.js +0 -48
- package/dist/server/node_modules/color-name/LICENSE +0 -8
- package/dist/server/node_modules/color-name/README.md +0 -11
- package/dist/server/node_modules/color-name/index.js +0 -152
- package/dist/server/node_modules/color-name/package.json +0 -28
- package/dist/server/node_modules/css-background-parser/LICENSE +0 -22
- package/dist/server/node_modules/css-background-parser/README.md +0 -149
- package/dist/server/node_modules/css-background-parser/index.js +0 -162
- package/dist/server/node_modules/css-background-parser/package.json +0 -19
- package/dist/server/node_modules/css-box-shadow/README.md +0 -27
- package/dist/server/node_modules/css-box-shadow/index.js +0 -64
- package/dist/server/node_modules/css-box-shadow/package.json +0 -14
- package/dist/server/node_modules/css-box-shadow/test.js +0 -204
- package/dist/server/node_modules/css-color-keywords/LICENSE +0 -15
- package/dist/server/node_modules/css-color-keywords/README.md +0 -47
- package/dist/server/node_modules/css-color-keywords/colors.json +0 -148
- package/dist/server/node_modules/css-color-keywords/index.js +0 -3
- package/dist/server/node_modules/css-color-keywords/package.json +0 -27
- package/dist/server/node_modules/css-gradient-parser/LICENSE +0 -21
- package/dist/server/node_modules/css-gradient-parser/README.md +0 -75
- package/dist/server/node_modules/css-gradient-parser/dist/index.cjs +0 -2
- package/dist/server/node_modules/css-gradient-parser/dist/index.js +0 -2
- package/dist/server/node_modules/css-gradient-parser/package.json +0 -54
- package/dist/server/node_modules/css-to-react-native/LICENSE.md +0 -21
- package/dist/server/node_modules/css-to-react-native/README.md +0 -115
- package/dist/server/node_modules/css-to-react-native/index.js +0 -886
- package/dist/server/node_modules/css-to-react-native/package.json +0 -65
- package/dist/server/node_modules/css-to-react-native/src/TokenStream.js +0 -74
- package/dist/server/node_modules/css-to-react-native/src/__tests__/aspectRatio.js +0 -23
- package/dist/server/node_modules/css-to-react-native/src/__tests__/border.js +0 -85
- package/dist/server/node_modules/css-to-react-native/src/__tests__/borderColor.js +0 -37
- package/dist/server/node_modules/css-to-react-native/src/__tests__/boxModel.js +0 -136
- package/dist/server/node_modules/css-to-react-native/src/__tests__/boxShadow.js +0 -83
- package/dist/server/node_modules/css-to-react-native/src/__tests__/colors.js +0 -31
- package/dist/server/node_modules/css-to-react-native/src/__tests__/flex.js +0 -122
- package/dist/server/node_modules/css-to-react-native/src/__tests__/flexFlow.js +0 -22
- package/dist/server/node_modules/css-to-react-native/src/__tests__/font.js +0 -117
- package/dist/server/node_modules/css-to-react-native/src/__tests__/fontFamily.js +0 -43
- package/dist/server/node_modules/css-to-react-native/src/__tests__/fontVariant.js +0 -15
- package/dist/server/node_modules/css-to-react-native/src/__tests__/fontWeight.js +0 -8
- package/dist/server/node_modules/css-to-react-native/src/__tests__/index.js +0 -204
- package/dist/server/node_modules/css-to-react-native/src/__tests__/placeContent.js +0 -19
- package/dist/server/node_modules/css-to-react-native/src/__tests__/shadowOffsets.js +0 -13
- package/dist/server/node_modules/css-to-react-native/src/__tests__/textDecoration.js +0 -103
- package/dist/server/node_modules/css-to-react-native/src/__tests__/textDecorationLine.js +0 -23
- package/dist/server/node_modules/css-to-react-native/src/__tests__/textShadow.js +0 -30
- package/dist/server/node_modules/css-to-react-native/src/__tests__/transform.js +0 -55
- package/dist/server/node_modules/css-to-react-native/src/__tests__/units.js +0 -132
- package/dist/server/node_modules/css-to-react-native/src/devPropertiesWithoutUnitsRegExp.js +0 -19
- package/dist/server/node_modules/css-to-react-native/src/index.js +0 -90
- package/dist/server/node_modules/css-to-react-native/src/tokenTypes.js +0 -75
- package/dist/server/node_modules/css-to-react-native/src/transforms/aspectRatio.js +0 -12
- package/dist/server/node_modules/css-to-react-native/src/transforms/border.js +0 -53
- package/dist/server/node_modules/css-to-react-native/src/transforms/boxShadow.js +0 -11
- package/dist/server/node_modules/css-to-react-native/src/transforms/flex.js +0 -65
- package/dist/server/node_modules/css-to-react-native/src/transforms/flexFlow.js +0 -37
- package/dist/server/node_modules/css-to-react-native/src/transforms/font.js +0 -63
- package/dist/server/node_modules/css-to-react-native/src/transforms/fontFamily.js +0 -20
- package/dist/server/node_modules/css-to-react-native/src/transforms/fontVariant.js +0 -14
- package/dist/server/node_modules/css-to-react-native/src/transforms/index.js +0 -77
- package/dist/server/node_modules/css-to-react-native/src/transforms/placeContent.js +0 -24
- package/dist/server/node_modules/css-to-react-native/src/transforms/textDecoration.js +0 -53
- package/dist/server/node_modules/css-to-react-native/src/transforms/textDecorationLine.js +0 -18
- package/dist/server/node_modules/css-to-react-native/src/transforms/textShadow.js +0 -10
- package/dist/server/node_modules/css-to-react-native/src/transforms/transform.js +0 -74
- package/dist/server/node_modules/css-to-react-native/src/transforms/util.js +0 -99
- package/dist/server/node_modules/hex-rgb/index.js +0 -47
- package/dist/server/node_modules/hex-rgb/license +0 -9
- package/dist/server/node_modules/hex-rgb/package.json +0 -39
- package/dist/server/node_modules/hex-rgb/readme.md +0 -86
- package/dist/server/node_modules/linebreak/LICENSE +0 -21
- package/dist/server/node_modules/linebreak/dist/main.cjs +0 -1369
- package/dist/server/node_modules/linebreak/dist/module.mjs +0 -1368
- package/dist/server/node_modules/linebreak/package.json +0 -57
- package/dist/server/node_modules/linebreak/readme.md +0 -62
- package/dist/server/node_modules/parse-css-color/CHANGELOG.md +0 -54
- package/dist/server/node_modules/parse-css-color/LICENSE +0 -21
- package/dist/server/node_modules/parse-css-color/README.md +0 -110
- package/dist/server/node_modules/parse-css-color/dist/index.cjs.js +0 -171
- package/dist/server/node_modules/parse-css-color/dist/index.esm.js +0 -167
- package/dist/server/node_modules/parse-css-color/dist/index.umd.js +0 -7
- package/dist/server/node_modules/parse-css-color/package.json +0 -55
- package/dist/server/node_modules/postcss-value-parser/LICENSE +0 -22
- package/dist/server/node_modules/postcss-value-parser/README.md +0 -263
- package/dist/server/node_modules/postcss-value-parser/lib/index.js +0 -28
- package/dist/server/node_modules/postcss-value-parser/lib/parse.js +0 -321
- package/dist/server/node_modules/postcss-value-parser/lib/stringify.js +0 -48
- package/dist/server/node_modules/postcss-value-parser/lib/unit.js +0 -120
- package/dist/server/node_modules/postcss-value-parser/lib/walk.js +0 -22
- package/dist/server/node_modules/postcss-value-parser/package.json +0 -58
- package/dist/server/node_modules/satori/LICENSE +0 -373
- package/dist/server/node_modules/satori/README.md +0 -516
- package/dist/server/node_modules/satori/dist/index.cjs +0 -8
- package/dist/server/node_modules/satori/dist/index.cjs.LEGAL.txt +0 -4
- package/dist/server/node_modules/satori/dist/index.js +0 -8
- package/dist/server/node_modules/satori/dist/index.js.LEGAL.txt +0 -4
- package/dist/server/node_modules/satori/dist/jsx/index.cjs +0 -2
- package/dist/server/node_modules/satori/dist/jsx/index.cjs.LEGAL.txt +0 -0
- package/dist/server/node_modules/satori/dist/jsx/index.js +0 -2
- package/dist/server/node_modules/satori/dist/jsx/index.js.LEGAL.txt +0 -0
- package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.cjs +0 -2
- package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.cjs.LEGAL.txt +0 -0
- package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.js +0 -2
- package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.js.LEGAL.txt +0 -0
- package/dist/server/node_modules/satori/dist/standalone.cjs +0 -8
- package/dist/server/node_modules/satori/dist/standalone.cjs.LEGAL.txt +0 -4
- package/dist/server/node_modules/satori/dist/standalone.js +0 -8
- package/dist/server/node_modules/satori/dist/standalone.js.LEGAL.txt +0 -4
- package/dist/server/node_modules/satori/package.json +0 -149
- package/dist/server/node_modules/satori/yoga.wasm +0 -0
- package/dist/server/node_modules/tiny-inflate/LICENSE +0 -21
- package/dist/server/node_modules/tiny-inflate/index.js +0 -375
- package/dist/server/node_modules/tiny-inflate/package.json +0 -28
- package/dist/server/node_modules/tiny-inflate/readme.md +0 -31
- package/dist/server/node_modules/tiny-inflate/test/index.js +0 -75
- package/dist/server/node_modules/tiny-inflate/test/lorem.txt +0 -199
- package/dist/server/node_modules/unicode-trie/LICENSE +0 -8
- package/dist/server/node_modules/unicode-trie/README.md +0 -77
- package/dist/server/node_modules/unicode-trie/builder.js +0 -966
- package/dist/server/node_modules/unicode-trie/index.js +0 -136
- package/dist/server/node_modules/unicode-trie/package.json +0 -27
- package/dist/server/node_modules/unicode-trie/swap.js +0 -25
- package/dist/server/node_modules/unicode-trie/test/mocha.opts +0 -1
- package/dist/server/node_modules/unicode-trie/test/test.js +0 -243
|
@@ -1,628 +0,0 @@
|
|
|
1
|
-
// Parsing utility functions
|
|
2
|
-
|
|
3
|
-
import check from './check';
|
|
4
|
-
|
|
5
|
-
// Retrieve an unsigned byte from the DataView.
|
|
6
|
-
function getByte(dataView, offset) {
|
|
7
|
-
return dataView.getUint8(offset);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// Retrieve an unsigned 16-bit short from the DataView.
|
|
11
|
-
// The value is stored in big endian.
|
|
12
|
-
function getUShort(dataView, offset) {
|
|
13
|
-
return dataView.getUint16(offset, false);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// Retrieve a signed 16-bit short from the DataView.
|
|
17
|
-
// The value is stored in big endian.
|
|
18
|
-
function getShort(dataView, offset) {
|
|
19
|
-
return dataView.getInt16(offset, false);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// Retrieve an unsigned 32-bit long from the DataView.
|
|
23
|
-
// The value is stored in big endian.
|
|
24
|
-
function getULong(dataView, offset) {
|
|
25
|
-
return dataView.getUint32(offset, false);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// Retrieve a 32-bit signed fixed-point number (16.16) from the DataView.
|
|
29
|
-
// The value is stored in big endian.
|
|
30
|
-
function getFixed(dataView, offset) {
|
|
31
|
-
const decimal = dataView.getInt16(offset, false);
|
|
32
|
-
const fraction = dataView.getUint16(offset + 2, false);
|
|
33
|
-
return decimal + fraction / 65535;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Retrieve a 4-character tag from the DataView.
|
|
37
|
-
// Tags are used to identify tables.
|
|
38
|
-
function getTag(dataView, offset) {
|
|
39
|
-
let tag = '';
|
|
40
|
-
for (let i = offset; i < offset + 4; i += 1) {
|
|
41
|
-
tag += String.fromCharCode(dataView.getInt8(i));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return tag;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Retrieve an offset from the DataView.
|
|
48
|
-
// Offsets are 1 to 4 bytes in length, depending on the offSize argument.
|
|
49
|
-
function getOffset(dataView, offset, offSize) {
|
|
50
|
-
let v = 0;
|
|
51
|
-
for (let i = 0; i < offSize; i += 1) {
|
|
52
|
-
v <<= 8;
|
|
53
|
-
v += dataView.getUint8(offset + i);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
return v;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Retrieve a number of bytes from start offset to the end offset from the DataView.
|
|
60
|
-
function getBytes(dataView, startOffset, endOffset) {
|
|
61
|
-
const bytes = [];
|
|
62
|
-
for (let i = startOffset; i < endOffset; i += 1) {
|
|
63
|
-
bytes.push(dataView.getUint8(i));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
return bytes;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// Convert the list of bytes to a string.
|
|
70
|
-
function bytesToString(bytes) {
|
|
71
|
-
let s = '';
|
|
72
|
-
for (let i = 0; i < bytes.length; i += 1) {
|
|
73
|
-
s += String.fromCharCode(bytes[i]);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
return s;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
const typeOffsets = {
|
|
80
|
-
byte: 1,
|
|
81
|
-
uShort: 2,
|
|
82
|
-
short: 2,
|
|
83
|
-
uLong: 4,
|
|
84
|
-
fixed: 4,
|
|
85
|
-
longDateTime: 8,
|
|
86
|
-
tag: 4
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
// A stateful parser that changes the offset whenever a value is retrieved.
|
|
90
|
-
// The data is a DataView.
|
|
91
|
-
function Parser(data, offset) {
|
|
92
|
-
this.data = data;
|
|
93
|
-
this.offset = offset;
|
|
94
|
-
this.relativeOffset = 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
Parser.prototype.parseByte = function() {
|
|
98
|
-
const v = this.data.getUint8(this.offset + this.relativeOffset);
|
|
99
|
-
this.relativeOffset += 1;
|
|
100
|
-
return v;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
Parser.prototype.parseChar = function() {
|
|
104
|
-
const v = this.data.getInt8(this.offset + this.relativeOffset);
|
|
105
|
-
this.relativeOffset += 1;
|
|
106
|
-
return v;
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
Parser.prototype.parseCard8 = Parser.prototype.parseByte;
|
|
110
|
-
|
|
111
|
-
Parser.prototype.parseUShort = function() {
|
|
112
|
-
const v = this.data.getUint16(this.offset + this.relativeOffset);
|
|
113
|
-
this.relativeOffset += 2;
|
|
114
|
-
return v;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
Parser.prototype.parseCard16 = Parser.prototype.parseUShort;
|
|
118
|
-
Parser.prototype.parseSID = Parser.prototype.parseUShort;
|
|
119
|
-
Parser.prototype.parseOffset16 = Parser.prototype.parseUShort;
|
|
120
|
-
|
|
121
|
-
Parser.prototype.parseShort = function() {
|
|
122
|
-
const v = this.data.getInt16(this.offset + this.relativeOffset);
|
|
123
|
-
this.relativeOffset += 2;
|
|
124
|
-
return v;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
Parser.prototype.parseF2Dot14 = function() {
|
|
128
|
-
const v = this.data.getInt16(this.offset + this.relativeOffset) / 16384;
|
|
129
|
-
this.relativeOffset += 2;
|
|
130
|
-
return v;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
Parser.prototype.parseULong = function() {
|
|
134
|
-
const v = getULong(this.data, this.offset + this.relativeOffset);
|
|
135
|
-
this.relativeOffset += 4;
|
|
136
|
-
return v;
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
Parser.prototype.parseOffset32 = Parser.prototype.parseULong;
|
|
140
|
-
|
|
141
|
-
Parser.prototype.parseFixed = function() {
|
|
142
|
-
const v = getFixed(this.data, this.offset + this.relativeOffset);
|
|
143
|
-
this.relativeOffset += 4;
|
|
144
|
-
return v;
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
Parser.prototype.parseString = function(length) {
|
|
148
|
-
const dataView = this.data;
|
|
149
|
-
const offset = this.offset + this.relativeOffset;
|
|
150
|
-
let string = '';
|
|
151
|
-
this.relativeOffset += length;
|
|
152
|
-
for (let i = 0; i < length; i++) {
|
|
153
|
-
string += String.fromCharCode(dataView.getUint8(offset + i));
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
return string;
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
Parser.prototype.parseTag = function() {
|
|
160
|
-
return this.parseString(4);
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
// LONGDATETIME is a 64-bit integer.
|
|
164
|
-
// JavaScript and unix timestamps traditionally use 32 bits, so we
|
|
165
|
-
// only take the last 32 bits.
|
|
166
|
-
// + Since until 2038 those bits will be filled by zeros we can ignore them.
|
|
167
|
-
Parser.prototype.parseLongDateTime = function() {
|
|
168
|
-
let v = getULong(this.data, this.offset + this.relativeOffset + 4);
|
|
169
|
-
// Subtract seconds between 01/01/1904 and 01/01/1970
|
|
170
|
-
// to convert Apple Mac timestamp to Standard Unix timestamp
|
|
171
|
-
v -= 2082844800;
|
|
172
|
-
this.relativeOffset += 8;
|
|
173
|
-
return v;
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
Parser.prototype.parseVersion = function(minorBase) {
|
|
177
|
-
const major = getUShort(this.data, this.offset + this.relativeOffset);
|
|
178
|
-
|
|
179
|
-
// How to interpret the minor version is very vague in the spec. 0x5000 is 5, 0x1000 is 1
|
|
180
|
-
// Default returns the correct number if minor = 0xN000 where N is 0-9
|
|
181
|
-
// Set minorBase to 1 for tables that use minor = N where N is 0-9
|
|
182
|
-
const minor = getUShort(this.data, this.offset + this.relativeOffset + 2);
|
|
183
|
-
this.relativeOffset += 4;
|
|
184
|
-
if (minorBase === undefined) minorBase = 0x1000;
|
|
185
|
-
return major + minor / minorBase / 10;
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
Parser.prototype.skip = function(type, amount) {
|
|
189
|
-
if (amount === undefined) {
|
|
190
|
-
amount = 1;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
this.relativeOffset += typeOffsets[type] * amount;
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
///// Parsing lists and records ///////////////////////////////
|
|
197
|
-
|
|
198
|
-
// Parse a list of 32 bit unsigned integers.
|
|
199
|
-
Parser.prototype.parseULongList = function(count) {
|
|
200
|
-
if (count === undefined) { count = this.parseULong(); }
|
|
201
|
-
const offsets = new Array(count);
|
|
202
|
-
const dataView = this.data;
|
|
203
|
-
let offset = this.offset + this.relativeOffset;
|
|
204
|
-
for (let i = 0; i < count; i++) {
|
|
205
|
-
offsets[i] = dataView.getUint32(offset);
|
|
206
|
-
offset += 4;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
this.relativeOffset += count * 4;
|
|
210
|
-
return offsets;
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
// Parse a list of 16 bit unsigned integers. The length of the list can be read on the stream
|
|
214
|
-
// or provided as an argument.
|
|
215
|
-
Parser.prototype.parseOffset16List =
|
|
216
|
-
Parser.prototype.parseUShortList = function(count) {
|
|
217
|
-
if (count === undefined) { count = this.parseUShort(); }
|
|
218
|
-
const offsets = new Array(count);
|
|
219
|
-
const dataView = this.data;
|
|
220
|
-
let offset = this.offset + this.relativeOffset;
|
|
221
|
-
for (let i = 0; i < count; i++) {
|
|
222
|
-
offsets[i] = dataView.getUint16(offset);
|
|
223
|
-
offset += 2;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
this.relativeOffset += count * 2;
|
|
227
|
-
return offsets;
|
|
228
|
-
};
|
|
229
|
-
|
|
230
|
-
// Parses a list of 16 bit signed integers.
|
|
231
|
-
Parser.prototype.parseShortList = function(count) {
|
|
232
|
-
const list = new Array(count);
|
|
233
|
-
const dataView = this.data;
|
|
234
|
-
let offset = this.offset + this.relativeOffset;
|
|
235
|
-
for (let i = 0; i < count; i++) {
|
|
236
|
-
list[i] = dataView.getInt16(offset);
|
|
237
|
-
offset += 2;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
this.relativeOffset += count * 2;
|
|
241
|
-
return list;
|
|
242
|
-
};
|
|
243
|
-
|
|
244
|
-
// Parses a list of bytes.
|
|
245
|
-
Parser.prototype.parseByteList = function(count) {
|
|
246
|
-
const list = new Array(count);
|
|
247
|
-
const dataView = this.data;
|
|
248
|
-
let offset = this.offset + this.relativeOffset;
|
|
249
|
-
for (let i = 0; i < count; i++) {
|
|
250
|
-
list[i] = dataView.getUint8(offset++);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
this.relativeOffset += count;
|
|
254
|
-
return list;
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* Parse a list of items.
|
|
259
|
-
* Record count is optional, if omitted it is read from the stream.
|
|
260
|
-
* itemCallback is one of the Parser methods.
|
|
261
|
-
*/
|
|
262
|
-
Parser.prototype.parseList = function(count, itemCallback) {
|
|
263
|
-
if (!itemCallback) {
|
|
264
|
-
itemCallback = count;
|
|
265
|
-
count = this.parseUShort();
|
|
266
|
-
}
|
|
267
|
-
const list = new Array(count);
|
|
268
|
-
for (let i = 0; i < count; i++) {
|
|
269
|
-
list[i] = itemCallback.call(this);
|
|
270
|
-
}
|
|
271
|
-
return list;
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
Parser.prototype.parseList32 = function(count, itemCallback) {
|
|
275
|
-
if (!itemCallback) {
|
|
276
|
-
itemCallback = count;
|
|
277
|
-
count = this.parseULong();
|
|
278
|
-
}
|
|
279
|
-
const list = new Array(count);
|
|
280
|
-
for (let i = 0; i < count; i++) {
|
|
281
|
-
list[i] = itemCallback.call(this);
|
|
282
|
-
}
|
|
283
|
-
return list;
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Parse a list of records.
|
|
288
|
-
* Record count is optional, if omitted it is read from the stream.
|
|
289
|
-
* Example of recordDescription: { sequenceIndex: Parser.uShort, lookupListIndex: Parser.uShort }
|
|
290
|
-
*/
|
|
291
|
-
Parser.prototype.parseRecordList = function(count, recordDescription) {
|
|
292
|
-
// If the count argument is absent, read it in the stream.
|
|
293
|
-
if (!recordDescription) {
|
|
294
|
-
recordDescription = count;
|
|
295
|
-
count = this.parseUShort();
|
|
296
|
-
}
|
|
297
|
-
const records = new Array(count);
|
|
298
|
-
const fields = Object.keys(recordDescription);
|
|
299
|
-
for (let i = 0; i < count; i++) {
|
|
300
|
-
const rec = {};
|
|
301
|
-
for (let j = 0; j < fields.length; j++) {
|
|
302
|
-
const fieldName = fields[j];
|
|
303
|
-
const fieldType = recordDescription[fieldName];
|
|
304
|
-
rec[fieldName] = fieldType.call(this);
|
|
305
|
-
}
|
|
306
|
-
records[i] = rec;
|
|
307
|
-
}
|
|
308
|
-
return records;
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
Parser.prototype.parseRecordList32 = function(count, recordDescription) {
|
|
312
|
-
// If the count argument is absent, read it in the stream.
|
|
313
|
-
if (!recordDescription) {
|
|
314
|
-
recordDescription = count;
|
|
315
|
-
count = this.parseULong();
|
|
316
|
-
}
|
|
317
|
-
const records = new Array(count);
|
|
318
|
-
const fields = Object.keys(recordDescription);
|
|
319
|
-
for (let i = 0; i < count; i++) {
|
|
320
|
-
const rec = {};
|
|
321
|
-
for (let j = 0; j < fields.length; j++) {
|
|
322
|
-
const fieldName = fields[j];
|
|
323
|
-
const fieldType = recordDescription[fieldName];
|
|
324
|
-
rec[fieldName] = fieldType.call(this);
|
|
325
|
-
}
|
|
326
|
-
records[i] = rec;
|
|
327
|
-
}
|
|
328
|
-
return records;
|
|
329
|
-
};
|
|
330
|
-
|
|
331
|
-
// Parse a data structure into an object
|
|
332
|
-
// Example of description: { sequenceIndex: Parser.uShort, lookupListIndex: Parser.uShort }
|
|
333
|
-
Parser.prototype.parseStruct = function(description) {
|
|
334
|
-
if (typeof description === 'function') {
|
|
335
|
-
return description.call(this);
|
|
336
|
-
} else {
|
|
337
|
-
const fields = Object.keys(description);
|
|
338
|
-
const struct = {};
|
|
339
|
-
for (let j = 0; j < fields.length; j++) {
|
|
340
|
-
const fieldName = fields[j];
|
|
341
|
-
const fieldType = description[fieldName];
|
|
342
|
-
struct[fieldName] = fieldType.call(this);
|
|
343
|
-
}
|
|
344
|
-
return struct;
|
|
345
|
-
}
|
|
346
|
-
};
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* Parse a GPOS valueRecord
|
|
350
|
-
* https://docs.microsoft.com/en-us/typography/opentype/spec/gpos#value-record
|
|
351
|
-
* valueFormat is optional, if omitted it is read from the stream.
|
|
352
|
-
*/
|
|
353
|
-
Parser.prototype.parseValueRecord = function(valueFormat) {
|
|
354
|
-
if (valueFormat === undefined) {
|
|
355
|
-
valueFormat = this.parseUShort();
|
|
356
|
-
}
|
|
357
|
-
if (valueFormat === 0) {
|
|
358
|
-
// valueFormat2 in kerning pairs is most often 0
|
|
359
|
-
// in this case return undefined instead of an empty object, to save space
|
|
360
|
-
return;
|
|
361
|
-
}
|
|
362
|
-
const valueRecord = {};
|
|
363
|
-
|
|
364
|
-
if (valueFormat & 0x0001) { valueRecord.xPlacement = this.parseShort(); }
|
|
365
|
-
if (valueFormat & 0x0002) { valueRecord.yPlacement = this.parseShort(); }
|
|
366
|
-
if (valueFormat & 0x0004) { valueRecord.xAdvance = this.parseShort(); }
|
|
367
|
-
if (valueFormat & 0x0008) { valueRecord.yAdvance = this.parseShort(); }
|
|
368
|
-
|
|
369
|
-
// Device table (non-variable font) / VariationIndex table (variable font) not supported
|
|
370
|
-
// https://docs.microsoft.com/fr-fr/typography/opentype/spec/chapter2#devVarIdxTbls
|
|
371
|
-
if (valueFormat & 0x0010) { valueRecord.xPlaDevice = undefined; this.parseShort(); }
|
|
372
|
-
if (valueFormat & 0x0020) { valueRecord.yPlaDevice = undefined; this.parseShort(); }
|
|
373
|
-
if (valueFormat & 0x0040) { valueRecord.xAdvDevice = undefined; this.parseShort(); }
|
|
374
|
-
if (valueFormat & 0x0080) { valueRecord.yAdvDevice = undefined; this.parseShort(); }
|
|
375
|
-
|
|
376
|
-
return valueRecord;
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* Parse a list of GPOS valueRecords
|
|
381
|
-
* https://docs.microsoft.com/en-us/typography/opentype/spec/gpos#value-record
|
|
382
|
-
* valueFormat and valueCount are read from the stream.
|
|
383
|
-
*/
|
|
384
|
-
Parser.prototype.parseValueRecordList = function() {
|
|
385
|
-
const valueFormat = this.parseUShort();
|
|
386
|
-
const valueCount = this.parseUShort();
|
|
387
|
-
const values = new Array(valueCount);
|
|
388
|
-
for (let i = 0; i < valueCount; i++) {
|
|
389
|
-
values[i] = this.parseValueRecord(valueFormat);
|
|
390
|
-
}
|
|
391
|
-
return values;
|
|
392
|
-
};
|
|
393
|
-
|
|
394
|
-
Parser.prototype.parsePointer = function(description) {
|
|
395
|
-
const structOffset = this.parseOffset16();
|
|
396
|
-
if (structOffset > 0) {
|
|
397
|
-
// NULL offset => return undefined
|
|
398
|
-
return new Parser(this.data, this.offset + structOffset).parseStruct(description);
|
|
399
|
-
}
|
|
400
|
-
return undefined;
|
|
401
|
-
};
|
|
402
|
-
|
|
403
|
-
Parser.prototype.parsePointer32 = function(description) {
|
|
404
|
-
const structOffset = this.parseOffset32();
|
|
405
|
-
if (structOffset > 0) {
|
|
406
|
-
// NULL offset => return undefined
|
|
407
|
-
return new Parser(this.data, this.offset + structOffset).parseStruct(description);
|
|
408
|
-
}
|
|
409
|
-
return undefined;
|
|
410
|
-
};
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
* Parse a list of offsets to lists of 16-bit integers,
|
|
414
|
-
* or a list of offsets to lists of offsets to any kind of items.
|
|
415
|
-
* If itemCallback is not provided, a list of list of UShort is assumed.
|
|
416
|
-
* If provided, itemCallback is called on each item and must parse the item.
|
|
417
|
-
* See examples in tables/gsub.js
|
|
418
|
-
*/
|
|
419
|
-
Parser.prototype.parseListOfLists = function(itemCallback) {
|
|
420
|
-
const offsets = this.parseOffset16List();
|
|
421
|
-
const count = offsets.length;
|
|
422
|
-
const relativeOffset = this.relativeOffset;
|
|
423
|
-
const list = new Array(count);
|
|
424
|
-
for (let i = 0; i < count; i++) {
|
|
425
|
-
const start = offsets[i];
|
|
426
|
-
if (start === 0) {
|
|
427
|
-
// NULL offset
|
|
428
|
-
// Add i as owned property to list. Convenient with assert.
|
|
429
|
-
list[i] = undefined;
|
|
430
|
-
continue;
|
|
431
|
-
}
|
|
432
|
-
this.relativeOffset = start;
|
|
433
|
-
if (itemCallback) {
|
|
434
|
-
const subOffsets = this.parseOffset16List();
|
|
435
|
-
const subList = new Array(subOffsets.length);
|
|
436
|
-
for (let j = 0; j < subOffsets.length; j++) {
|
|
437
|
-
this.relativeOffset = start + subOffsets[j];
|
|
438
|
-
subList[j] = itemCallback.call(this);
|
|
439
|
-
}
|
|
440
|
-
list[i] = subList;
|
|
441
|
-
} else {
|
|
442
|
-
list[i] = this.parseUShortList();
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
this.relativeOffset = relativeOffset;
|
|
446
|
-
return list;
|
|
447
|
-
};
|
|
448
|
-
|
|
449
|
-
///// Complex tables parsing //////////////////////////////////
|
|
450
|
-
|
|
451
|
-
// Parse a coverage table in a GSUB, GPOS or GDEF table.
|
|
452
|
-
// https://www.microsoft.com/typography/OTSPEC/chapter2.htm
|
|
453
|
-
// parser.offset must point to the start of the table containing the coverage.
|
|
454
|
-
Parser.prototype.parseCoverage = function() {
|
|
455
|
-
const startOffset = this.offset + this.relativeOffset;
|
|
456
|
-
const format = this.parseUShort();
|
|
457
|
-
const count = this.parseUShort();
|
|
458
|
-
if (format === 1) {
|
|
459
|
-
return {
|
|
460
|
-
format: 1,
|
|
461
|
-
glyphs: this.parseUShortList(count)
|
|
462
|
-
};
|
|
463
|
-
} else if (format === 2) {
|
|
464
|
-
const ranges = new Array(count);
|
|
465
|
-
for (let i = 0; i < count; i++) {
|
|
466
|
-
ranges[i] = {
|
|
467
|
-
start: this.parseUShort(),
|
|
468
|
-
end: this.parseUShort(),
|
|
469
|
-
index: this.parseUShort()
|
|
470
|
-
};
|
|
471
|
-
}
|
|
472
|
-
return {
|
|
473
|
-
format: 2,
|
|
474
|
-
ranges: ranges
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
|
-
throw new Error('0x' + startOffset.toString(16) + ': Coverage format must be 1 or 2.');
|
|
478
|
-
};
|
|
479
|
-
|
|
480
|
-
// Parse a Class Definition Table in a GSUB, GPOS or GDEF table.
|
|
481
|
-
// https://www.microsoft.com/typography/OTSPEC/chapter2.htm
|
|
482
|
-
Parser.prototype.parseClassDef = function() {
|
|
483
|
-
const startOffset = this.offset + this.relativeOffset;
|
|
484
|
-
const format = this.parseUShort();
|
|
485
|
-
if (format === 1) {
|
|
486
|
-
return {
|
|
487
|
-
format: 1,
|
|
488
|
-
startGlyph: this.parseUShort(),
|
|
489
|
-
classes: this.parseUShortList()
|
|
490
|
-
};
|
|
491
|
-
} else if (format === 2) {
|
|
492
|
-
return {
|
|
493
|
-
format: 2,
|
|
494
|
-
ranges: this.parseRecordList({
|
|
495
|
-
start: Parser.uShort,
|
|
496
|
-
end: Parser.uShort,
|
|
497
|
-
classId: Parser.uShort
|
|
498
|
-
})
|
|
499
|
-
};
|
|
500
|
-
}
|
|
501
|
-
throw new Error('0x' + startOffset.toString(16) + ': ClassDef format must be 1 or 2.');
|
|
502
|
-
};
|
|
503
|
-
|
|
504
|
-
///// Static methods ///////////////////////////////////
|
|
505
|
-
// These convenience methods can be used as callbacks and should be called with "this" context set to a Parser instance.
|
|
506
|
-
|
|
507
|
-
Parser.list = function(count, itemCallback) {
|
|
508
|
-
return function() {
|
|
509
|
-
return this.parseList(count, itemCallback);
|
|
510
|
-
};
|
|
511
|
-
};
|
|
512
|
-
|
|
513
|
-
Parser.list32 = function(count, itemCallback) {
|
|
514
|
-
return function() {
|
|
515
|
-
return this.parseList32(count, itemCallback);
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
|
|
519
|
-
Parser.recordList = function(count, recordDescription) {
|
|
520
|
-
return function() {
|
|
521
|
-
return this.parseRecordList(count, recordDescription);
|
|
522
|
-
};
|
|
523
|
-
};
|
|
524
|
-
|
|
525
|
-
Parser.recordList32 = function(count, recordDescription) {
|
|
526
|
-
return function() {
|
|
527
|
-
return this.parseRecordList32(count, recordDescription);
|
|
528
|
-
};
|
|
529
|
-
};
|
|
530
|
-
|
|
531
|
-
Parser.pointer = function(description) {
|
|
532
|
-
return function() {
|
|
533
|
-
return this.parsePointer(description);
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
|
-
|
|
537
|
-
Parser.pointer32 = function(description) {
|
|
538
|
-
return function() {
|
|
539
|
-
return this.parsePointer32(description);
|
|
540
|
-
};
|
|
541
|
-
};
|
|
542
|
-
|
|
543
|
-
Parser.tag = Parser.prototype.parseTag;
|
|
544
|
-
Parser.byte = Parser.prototype.parseByte;
|
|
545
|
-
Parser.uShort = Parser.offset16 = Parser.prototype.parseUShort;
|
|
546
|
-
Parser.uShortList = Parser.prototype.parseUShortList;
|
|
547
|
-
Parser.uLong = Parser.offset32 = Parser.prototype.parseULong;
|
|
548
|
-
Parser.uLongList = Parser.prototype.parseULongList;
|
|
549
|
-
Parser.struct = Parser.prototype.parseStruct;
|
|
550
|
-
Parser.coverage = Parser.prototype.parseCoverage;
|
|
551
|
-
Parser.classDef = Parser.prototype.parseClassDef;
|
|
552
|
-
|
|
553
|
-
///// Script, Feature, Lookup lists ///////////////////////////////////////////////
|
|
554
|
-
// https://www.microsoft.com/typography/OTSPEC/chapter2.htm
|
|
555
|
-
|
|
556
|
-
const langSysTable = {
|
|
557
|
-
reserved: Parser.uShort,
|
|
558
|
-
reqFeatureIndex: Parser.uShort,
|
|
559
|
-
featureIndexes: Parser.uShortList
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
Parser.prototype.parseScriptList = function() {
|
|
563
|
-
return this.parsePointer(Parser.recordList({
|
|
564
|
-
tag: Parser.tag,
|
|
565
|
-
script: Parser.pointer({
|
|
566
|
-
defaultLangSys: Parser.pointer(langSysTable),
|
|
567
|
-
langSysRecords: Parser.recordList({
|
|
568
|
-
tag: Parser.tag,
|
|
569
|
-
langSys: Parser.pointer(langSysTable)
|
|
570
|
-
})
|
|
571
|
-
})
|
|
572
|
-
})) || [];
|
|
573
|
-
};
|
|
574
|
-
|
|
575
|
-
Parser.prototype.parseFeatureList = function() {
|
|
576
|
-
return this.parsePointer(Parser.recordList({
|
|
577
|
-
tag: Parser.tag,
|
|
578
|
-
feature: Parser.pointer({
|
|
579
|
-
featureParams: Parser.offset16,
|
|
580
|
-
lookupListIndexes: Parser.uShortList
|
|
581
|
-
})
|
|
582
|
-
})) || [];
|
|
583
|
-
};
|
|
584
|
-
|
|
585
|
-
Parser.prototype.parseLookupList = function(lookupTableParsers) {
|
|
586
|
-
return this.parsePointer(Parser.list(Parser.pointer(function() {
|
|
587
|
-
const lookupType = this.parseUShort();
|
|
588
|
-
check.argument(1 <= lookupType && lookupType <= 9, 'GPOS/GSUB lookup type ' + lookupType + ' unknown.');
|
|
589
|
-
const lookupFlag = this.parseUShort();
|
|
590
|
-
const useMarkFilteringSet = lookupFlag & 0x10;
|
|
591
|
-
return {
|
|
592
|
-
lookupType: lookupType,
|
|
593
|
-
lookupFlag: lookupFlag,
|
|
594
|
-
subtables: this.parseList(Parser.pointer(lookupTableParsers[lookupType])),
|
|
595
|
-
markFilteringSet: useMarkFilteringSet ? this.parseUShort() : undefined
|
|
596
|
-
};
|
|
597
|
-
}))) || [];
|
|
598
|
-
};
|
|
599
|
-
|
|
600
|
-
Parser.prototype.parseFeatureVariationsList = function() {
|
|
601
|
-
return this.parsePointer32(function() {
|
|
602
|
-
const majorVersion = this.parseUShort();
|
|
603
|
-
const minorVersion = this.parseUShort();
|
|
604
|
-
check.argument(majorVersion === 1 && minorVersion < 1, 'GPOS/GSUB feature variations table unknown.');
|
|
605
|
-
const featureVariations = this.parseRecordList32({
|
|
606
|
-
conditionSetOffset: Parser.offset32,
|
|
607
|
-
featureTableSubstitutionOffset: Parser.offset32
|
|
608
|
-
});
|
|
609
|
-
return featureVariations;
|
|
610
|
-
}) || [];
|
|
611
|
-
};
|
|
612
|
-
|
|
613
|
-
export default {
|
|
614
|
-
getByte,
|
|
615
|
-
getCard8: getByte,
|
|
616
|
-
getUShort,
|
|
617
|
-
getCard16: getUShort,
|
|
618
|
-
getShort,
|
|
619
|
-
getULong,
|
|
620
|
-
getFixed,
|
|
621
|
-
getTag,
|
|
622
|
-
getOffset,
|
|
623
|
-
getBytes,
|
|
624
|
-
bytesToString,
|
|
625
|
-
Parser,
|
|
626
|
-
};
|
|
627
|
-
|
|
628
|
-
export { Parser };
|