@imgly/codesign-mcp 0.7.2 → 0.7.3-next.20261125135902.gfdc6ee3

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.
Files changed (539) hide show
  1. package/README.md +35 -17
  2. package/dist/cli/license.js +1 -1
  3. package/dist/runtime/cli/commands.d.ts +2 -0
  4. package/dist/runtime/cli/commands.d.ts.map +1 -1
  5. package/dist/runtime/cli/commands.js +56 -1
  6. package/dist/runtime/cli/commands.js.map +1 -1
  7. package/dist/runtime/cli/main.d.ts.map +1 -1
  8. package/dist/runtime/cli/main.js +5 -0
  9. package/dist/runtime/cli/main.js.map +1 -1
  10. package/dist/runtime/codesign-shim/codesign-router/protocol/types.mjs +1 -0
  11. package/dist/runtime/codesign-shim/codesign-router/release-build.generated.mjs +1 -1
  12. package/dist/server-client-types/protocol/types.d.ts +25 -3
  13. package/dist/server-client.mjs +1 -0
  14. package/dist/server.d.ts +2 -0
  15. package/dist/server.d.ts.map +1 -1
  16. package/dist/server.js +4 -2
  17. package/dist/server.js.map +1 -1
  18. package/node_modules/@imgly/codesign-billing/README.md +138 -0
  19. package/node_modules/@imgly/{codesign-sdk/dist/executor/billing → codesign-billing/dist}/charge.d.ts +30 -5
  20. package/node_modules/@imgly/codesign-billing/dist/charge.d.ts.map +1 -0
  21. package/node_modules/@imgly/{codesign-sdk/dist/executor/billing → codesign-billing/dist}/charge.js +16 -1
  22. package/node_modules/@imgly/codesign-billing/dist/charge.js.map +1 -0
  23. package/node_modules/@imgly/codesign-billing/dist/charges.d.ts +71 -0
  24. package/node_modules/@imgly/codesign-billing/dist/charges.d.ts.map +1 -0
  25. package/node_modules/@imgly/codesign-billing/dist/charges.js +198 -0
  26. package/node_modules/@imgly/codesign-billing/dist/charges.js.map +1 -0
  27. package/node_modules/@imgly/codesign-billing/dist/index.d.ts +6 -0
  28. package/node_modules/@imgly/codesign-billing/dist/index.d.ts.map +1 -0
  29. package/node_modules/@imgly/codesign-billing/dist/index.js +6 -0
  30. package/node_modules/@imgly/codesign-billing/dist/index.js.map +1 -0
  31. package/node_modules/@imgly/codesign-billing/dist/ledger.d.ts +55 -0
  32. package/node_modules/@imgly/codesign-billing/dist/ledger.d.ts.map +1 -0
  33. package/node_modules/@imgly/codesign-billing/dist/ledger.js +80 -0
  34. package/node_modules/@imgly/codesign-billing/dist/ledger.js.map +1 -0
  35. package/node_modules/@imgly/{codesign-sdk/dist/executor/billing → codesign-billing/dist}/metering.d.ts +9 -1
  36. package/node_modules/@imgly/codesign-billing/dist/metering.d.ts.map +1 -0
  37. package/node_modules/@imgly/{codesign-sdk/dist/executor/billing → codesign-billing/dist}/metering.js +77 -21
  38. package/node_modules/@imgly/codesign-billing/dist/metering.js.map +1 -0
  39. package/node_modules/@imgly/codesign-billing/dist/refusal.d.ts +20 -0
  40. package/node_modules/@imgly/codesign-billing/dist/refusal.d.ts.map +1 -0
  41. package/node_modules/@imgly/codesign-billing/dist/refusal.js +13 -0
  42. package/node_modules/@imgly/codesign-billing/dist/refusal.js.map +1 -0
  43. package/node_modules/@imgly/codesign-billing/package.json +30 -0
  44. package/node_modules/@imgly/codesign-router/dist/config/unit-config.d.ts +13 -5
  45. package/node_modules/@imgly/codesign-router/dist/config/unit-config.d.ts.map +1 -1
  46. package/node_modules/@imgly/codesign-router/dist/config/unit-config.js +18 -12
  47. package/node_modules/@imgly/codesign-router/dist/config/unit-config.js.map +1 -1
  48. package/node_modules/@imgly/codesign-router/dist/consent.d.ts +6 -2
  49. package/node_modules/@imgly/codesign-router/dist/consent.d.ts.map +1 -1
  50. package/node_modules/@imgly/codesign-router/dist/consent.js +65 -9
  51. package/node_modules/@imgly/codesign-router/dist/consent.js.map +1 -1
  52. package/node_modules/@imgly/codesign-router/dist/protocol/types.d.ts +25 -3
  53. package/node_modules/@imgly/codesign-router/dist/protocol/types.d.ts.map +1 -1
  54. package/node_modules/@imgly/codesign-router/dist/protocol/types.js +1 -0
  55. package/node_modules/@imgly/codesign-router/dist/protocol/types.js.map +1 -1
  56. package/node_modules/@imgly/codesign-router/dist/release-build.generated.d.ts +1 -1
  57. package/node_modules/@imgly/codesign-router/dist/release-build.generated.d.ts.map +1 -1
  58. package/node_modules/@imgly/codesign-router/dist/release-build.generated.js +1 -1
  59. package/node_modules/@imgly/codesign-router/dist/release-build.generated.js.map +1 -1
  60. package/node_modules/@imgly/codesign-router/dist/router/channels-v2.d.ts.map +1 -1
  61. package/node_modules/@imgly/codesign-router/dist/router/channels-v2.js +14 -4
  62. package/node_modules/@imgly/codesign-router/dist/router/channels-v2.js.map +1 -1
  63. package/node_modules/@imgly/codesign-router/dist/router/main.d.ts.map +1 -1
  64. package/node_modules/@imgly/codesign-router/dist/router/main.js +9 -1
  65. package/node_modules/@imgly/codesign-router/dist/router/main.js.map +1 -1
  66. package/node_modules/@imgly/codesign-sdk/CHANGELOG.md +24 -0
  67. package/node_modules/@imgly/codesign-sdk/README.md +8 -7
  68. package/node_modules/@imgly/codesign-sdk/dist/abort.d.ts +1 -0
  69. package/node_modules/@imgly/codesign-sdk/dist/abort.js +18 -0
  70. package/node_modules/@imgly/codesign-sdk/dist/assets/inline.generated.js +12 -12
  71. package/node_modules/@imgly/codesign-sdk/dist/browser/index.d.ts +1 -1
  72. package/node_modules/@imgly/codesign-sdk/dist/browser/worker.d.ts +1 -1
  73. package/node_modules/@imgly/codesign-sdk/dist/browser/worker.js +15 -8
  74. package/node_modules/@imgly/codesign-sdk/dist/cesdk-utils/index.js +2 -0
  75. package/node_modules/@imgly/codesign-sdk/dist/codesign-error.d.ts +38 -1
  76. package/node_modules/@imgly/codesign-sdk/dist/codesign-error.js +9 -0
  77. package/node_modules/@imgly/codesign-sdk/dist/codesign.d.ts +19 -12
  78. package/node_modules/@imgly/codesign-sdk/dist/codesign.js +268 -43
  79. package/node_modules/@imgly/codesign-sdk/dist/design/animatable.generated.js +3 -0
  80. package/node_modules/@imgly/codesign-sdk/dist/design/capabilities.generated.js +1 -0
  81. package/node_modules/@imgly/codesign-sdk/dist/design/facade.d.ts +1 -1
  82. package/node_modules/@imgly/codesign-sdk/dist/design/facade.js +128 -36
  83. package/node_modules/@imgly/codesign-sdk/dist/design/keyframes.js +2 -1
  84. package/node_modules/@imgly/codesign-sdk/dist/design/lint.d.ts +1 -1
  85. package/node_modules/@imgly/codesign-sdk/dist/design/lint.js +82 -5
  86. package/node_modules/@imgly/codesign-sdk/dist/design/props.generated.js +3 -0
  87. package/node_modules/@imgly/codesign-sdk/dist/design/run-offsets.d.ts +10 -0
  88. package/node_modules/@imgly/codesign-sdk/dist/design/run-offsets.js +26 -0
  89. package/node_modules/@imgly/codesign-sdk/dist/design/scene-lint.d.ts +23 -1
  90. package/node_modules/@imgly/codesign-sdk/dist/design/scene-lint.js +194 -3
  91. package/node_modules/@imgly/codesign-sdk/dist/design/timeline-poses.d.ts +8 -0
  92. package/node_modules/@imgly/codesign-sdk/dist/design/timeline-poses.js +53 -0
  93. package/node_modules/@imgly/codesign-sdk/dist/design/variables.d.ts +14 -0
  94. package/node_modules/@imgly/codesign-sdk/dist/design/variables.js +250 -37
  95. package/node_modules/@imgly/codesign-sdk/dist/designs/s3-presigner.d.ts +50 -0
  96. package/node_modules/@imgly/codesign-sdk/dist/designs/s3-presigner.js +116 -0
  97. package/node_modules/@imgly/codesign-sdk/dist/designs/types.d.ts +79 -3
  98. package/node_modules/@imgly/codesign-sdk/dist/engine/audio-extract.d.ts +12 -1
  99. package/node_modules/@imgly/codesign-sdk/dist/engine/audio-extract.js +20 -4
  100. package/node_modules/@imgly/codesign-sdk/dist/engine/engine-capacity.d.ts +20 -7
  101. package/node_modules/@imgly/codesign-sdk/dist/engine/engine-capacity.js +31 -14
  102. package/node_modules/@imgly/codesign-sdk/dist/engine/headless.d.ts +4 -0
  103. package/node_modules/@imgly/codesign-sdk/dist/engine/headless.js +20 -0
  104. package/node_modules/@imgly/codesign-sdk/dist/executor/billing/check.d.ts +1 -14
  105. package/node_modules/@imgly/codesign-sdk/dist/executor/billing/check.js +2 -7
  106. package/node_modules/@imgly/codesign-sdk/dist/executor/billing/metered.d.ts +1 -2
  107. package/node_modules/@imgly/codesign-sdk/dist/executor/billing/metered.js +120 -91
  108. package/node_modules/@imgly/codesign-sdk/dist/executor/encode-watchdog.d.ts +2 -2
  109. package/node_modules/@imgly/codesign-sdk/dist/executor/encode-watchdog.js +10 -4
  110. package/node_modules/@imgly/codesign-sdk/dist/executor/engine-protocol.d.ts +1 -1
  111. package/node_modules/@imgly/codesign-sdk/dist/executor/engine-protocol.js +13 -3
  112. package/node_modules/@imgly/codesign-sdk/dist/executor/executor-options.d.ts +6 -7
  113. package/node_modules/@imgly/codesign-sdk/dist/executor/executor-options.js +14 -7
  114. package/node_modules/@imgly/codesign-sdk/dist/executor/handler.d.ts +47 -2
  115. package/node_modules/@imgly/codesign-sdk/dist/executor/handler.js +519 -8
  116. package/node_modules/@imgly/codesign-sdk/dist/executor/node.d.ts +42 -6
  117. package/node_modules/@imgly/codesign-sdk/dist/executor/node.js +231 -9
  118. package/node_modules/@imgly/codesign-sdk/dist/exporters/fig.d.ts +13 -0
  119. package/node_modules/@imgly/codesign-sdk/dist/exporters/fig.js +28 -0
  120. package/node_modules/@imgly/codesign-sdk/dist/exporters/html.d.ts +18 -2
  121. package/node_modules/@imgly/codesign-sdk/dist/exporters/html.js +129 -15
  122. package/node_modules/@imgly/codesign-sdk/dist/exporters/index.d.ts +5 -2
  123. package/node_modules/@imgly/codesign-sdk/dist/exporters/index.js +2 -2
  124. package/node_modules/@imgly/codesign-sdk/dist/exporters/node.d.ts +1 -1
  125. package/node_modules/@imgly/codesign-sdk/dist/exporters/node.js +4 -3
  126. package/node_modules/@imgly/codesign-sdk/dist/exporters/psd.js +1 -1
  127. package/node_modules/@imgly/codesign-sdk/dist/formats/av-limit.d.ts +2 -0
  128. package/node_modules/@imgly/codesign-sdk/dist/formats/av-limit.js +1 -1
  129. package/node_modules/@imgly/codesign-sdk/dist/formats/design-sniff.d.ts +3 -1
  130. package/node_modules/@imgly/codesign-sdk/dist/formats/design-sniff.js +7 -0
  131. package/node_modules/@imgly/codesign-sdk/dist/formats/import-registry.d.ts +1 -1
  132. package/node_modules/@imgly/codesign-sdk/dist/formats/import-registry.js +4 -2
  133. package/node_modules/@imgly/codesign-sdk/dist/formats/import-warnings.d.ts +5 -0
  134. package/node_modules/@imgly/codesign-sdk/dist/formats/import-warnings.js +31 -0
  135. package/node_modules/@imgly/codesign-sdk/dist/formats/media-facts.d.ts +15 -0
  136. package/node_modules/@imgly/codesign-sdk/dist/formats/media-facts.js +26 -0
  137. package/node_modules/@imgly/codesign-sdk/dist/formats/mime.d.ts +6 -0
  138. package/node_modules/@imgly/codesign-sdk/dist/formats/mime.js +37 -0
  139. package/node_modules/@imgly/codesign-sdk/dist/formats/refuse-media.d.ts +7 -0
  140. package/node_modules/@imgly/codesign-sdk/dist/formats/refuse-media.js +46 -0
  141. package/node_modules/@imgly/codesign-sdk/dist/formats/svg-export.d.ts +6 -0
  142. package/node_modules/@imgly/codesign-sdk/dist/formats/svg-export.js +20 -0
  143. package/node_modules/@imgly/codesign-sdk/dist/formats/svg-import.d.ts +3 -0
  144. package/node_modules/@imgly/codesign-sdk/dist/formats/svg-import.js +25 -0
  145. package/node_modules/@imgly/codesign-sdk/dist/formats/zip-entries.d.ts +2 -0
  146. package/node_modules/@imgly/codesign-sdk/dist/formats/zip-entries.js +1 -0
  147. package/node_modules/@imgly/codesign-sdk/dist/gateway/asset-generate.d.ts +10 -4
  148. package/node_modules/@imgly/codesign-sdk/dist/gateway/asset-generate.js +205 -79
  149. package/node_modules/@imgly/codesign-sdk/dist/gateway/client.d.ts +23 -2
  150. package/node_modules/@imgly/codesign-sdk/dist/gateway/client.js +40 -41
  151. package/node_modules/@imgly/codesign-sdk/dist/gateway/index.d.ts +3 -0
  152. package/node_modules/@imgly/codesign-sdk/dist/gateway/index.js +4 -0
  153. package/node_modules/@imgly/codesign-sdk/dist/gateway/types.d.ts +18 -3
  154. package/node_modules/@imgly/codesign-sdk/dist/gateway/upload-origin.d.ts +3 -0
  155. package/node_modules/@imgly/codesign-sdk/dist/gateway/upload-origin.js +5 -0
  156. package/node_modules/@imgly/codesign-sdk/dist/host/edit-code.d.ts +2 -0
  157. package/node_modules/@imgly/codesign-sdk/dist/host/edit-code.js +8 -1
  158. package/node_modules/@imgly/codesign-sdk/dist/host/preview-size.d.ts +4 -2
  159. package/node_modules/@imgly/codesign-sdk/dist/host/preview-size.js +7 -4
  160. package/node_modules/@imgly/codesign-sdk/dist/host.d.ts +34 -5
  161. package/node_modules/@imgly/codesign-sdk/dist/host.js +6 -0
  162. package/node_modules/@imgly/codesign-sdk/dist/importers/fig.d.ts +4 -0
  163. package/node_modules/@imgly/codesign-sdk/dist/importers/fig.js +57 -0
  164. package/node_modules/@imgly/codesign-sdk/dist/importers/index.d.ts +2 -2
  165. package/node_modules/@imgly/codesign-sdk/dist/importers/index.js +38 -25
  166. package/node_modules/@imgly/codesign-sdk/dist/importers/node.d.ts +5 -0
  167. package/node_modules/@imgly/codesign-sdk/dist/importers/node.js +8 -0
  168. package/node_modules/@imgly/codesign-sdk/dist/importers/pdf-fonts.d.ts +20 -0
  169. package/node_modules/@imgly/codesign-sdk/dist/importers/pdf-fonts.js +76 -0
  170. package/node_modules/@imgly/codesign-sdk/dist/importers/shared.d.ts +14 -0
  171. package/node_modules/@imgly/codesign-sdk/dist/importers/shared.js +18 -0
  172. package/node_modules/@imgly/codesign-sdk/dist/index.d.ts +5 -4
  173. package/node_modules/@imgly/codesign-sdk/dist/index.js +2 -1
  174. package/node_modules/@imgly/codesign-sdk/dist/internal/index.d.ts +24 -17
  175. package/node_modules/@imgly/codesign-sdk/dist/internal/index.js +19 -10
  176. package/node_modules/@imgly/codesign-sdk/dist/node/edit-renders.d.ts +5 -0
  177. package/node_modules/@imgly/codesign-sdk/dist/node/edit-renders.js +73 -0
  178. package/node_modules/@imgly/codesign-sdk/dist/node/engine-child.js +18 -2
  179. package/node_modules/@imgly/codesign-sdk/dist/node/engine-http.js +8 -2
  180. package/node_modules/@imgly/codesign-sdk/dist/node/index.d.ts +1 -0
  181. package/node_modules/@imgly/codesign-sdk/dist/node/index.js +1 -0
  182. package/node_modules/@imgly/codesign-sdk/dist/node/media-probe.js +1 -1
  183. package/node_modules/@imgly/codesign-sdk/dist/sdk-version.generated.js +2 -2
  184. package/node_modules/@imgly/codesign-sdk/dist/session/engine-session.d.ts +59 -13
  185. package/node_modules/@imgly/codesign-sdk/dist/session/engine-session.js +19 -0
  186. package/node_modules/@imgly/codesign-sdk/dist/session/export-facts.d.ts +1 -14
  187. package/node_modules/@imgly/codesign-sdk/dist/session/export-facts.js +15 -4
  188. package/node_modules/@imgly/codesign-sdk/dist/session/file-formats.d.ts +5 -0
  189. package/node_modules/@imgly/codesign-sdk/dist/session/guarded-engine-session.d.ts +2 -0
  190. package/node_modules/@imgly/codesign-sdk/dist/session/guarded-engine-session.js +18 -7
  191. package/node_modules/@imgly/codesign-sdk/dist/session/local-engine-session.js +247 -68
  192. package/node_modules/@imgly/codesign-sdk/dist/session/local-engine.js +2 -2
  193. package/node_modules/@imgly/codesign-sdk/dist/session/multipart.js +10 -2
  194. package/node_modules/@imgly/codesign-sdk/dist/session/pending-video.js +2 -3
  195. package/node_modules/@imgly/codesign-sdk/dist/session/read-resolved.js +93 -6
  196. package/node_modules/@imgly/codesign-sdk/dist/session/remote.d.ts +34 -10
  197. package/node_modules/@imgly/codesign-sdk/dist/session/remote.js +377 -87
  198. package/node_modules/@imgly/codesign-sdk/dist/session/render-id.js +11 -2
  199. package/node_modules/@imgly/codesign-sdk/dist/session/session.d.ts +67 -6
  200. package/node_modules/@imgly/codesign-sdk/dist/session/session.js +213 -32
  201. package/node_modules/@imgly/codesign-sdk/dist/session/silent-audio.d.ts +18 -0
  202. package/node_modules/@imgly/codesign-sdk/dist/session/silent-audio.js +47 -0
  203. package/node_modules/@imgly/codesign-sdk/dist/session/transfers.d.ts +85 -0
  204. package/node_modules/@imgly/codesign-sdk/dist/session/transfers.js +80 -0
  205. package/node_modules/@imgly/codesign-sdk/dist/session/url-guard.d.ts +30 -0
  206. package/node_modules/@imgly/codesign-sdk/dist/session/url-guard.js +187 -0
  207. package/node_modules/@imgly/codesign-sdk/dist/session/url-source.d.ts +21 -0
  208. package/node_modules/@imgly/codesign-sdk/dist/session/url-source.js +163 -0
  209. package/node_modules/@imgly/codesign-sdk/dist/session/wire.d.ts +8 -1
  210. package/node_modules/@imgly/codesign-sdk/dist/session/wire.js +2 -1
  211. package/node_modules/@imgly/codesign-sdk/dist/session-instructions.js +2 -2
  212. package/node_modules/@imgly/codesign-sdk/dist/sessions/state.d.ts +3 -1
  213. package/node_modules/@imgly/codesign-sdk/dist/sessions/state.js +5 -1
  214. package/node_modules/@imgly/codesign-sdk/dist/signed-urls.d.ts +3 -0
  215. package/node_modules/@imgly/codesign-sdk/dist/signed-urls.js +30 -0
  216. package/node_modules/@imgly/codesign-sdk/dist/skill-tool.js +12 -12
  217. package/node_modules/@imgly/codesign-sdk/dist/sources/handshake.d.ts +2 -0
  218. package/node_modules/@imgly/codesign-sdk/dist/sources/mime.js +0 -1
  219. package/node_modules/@imgly/codesign-sdk/dist/sources/route.d.ts +8 -1
  220. package/node_modules/@imgly/codesign-sdk/dist/sources/route.js +17 -2
  221. package/node_modules/@imgly/codesign-sdk/dist/sources/search.js +9 -2
  222. package/node_modules/@imgly/codesign-sdk/dist/sources/types.d.ts +8 -1
  223. package/node_modules/@imgly/codesign-sdk/dist/testing/conformance.js +11 -6
  224. package/node_modules/@imgly/codesign-sdk/dist/testing/fake-engine.d.ts +1 -1
  225. package/node_modules/@imgly/codesign-sdk/dist/testing/fake-engine.js +11 -4
  226. package/node_modules/@imgly/codesign-sdk/dist/tools/edit.js +11 -4
  227. package/node_modules/@imgly/codesign-sdk/dist/tools/errors.js +2 -2
  228. package/node_modules/@imgly/codesign-sdk/dist/tools/export-formats/table.d.ts +4 -4
  229. package/node_modules/@imgly/codesign-sdk/dist/tools/export-formats/table.js +8 -0
  230. package/node_modules/@imgly/codesign-sdk/dist/tools/export.d.ts +3 -1
  231. package/node_modules/@imgly/codesign-sdk/dist/tools/export.js +75 -12
  232. package/node_modules/@imgly/codesign-sdk/dist/tools/omit-defaults.d.ts +3 -0
  233. package/node_modules/@imgly/codesign-sdk/dist/tools/omit-defaults.js +7 -0
  234. package/node_modules/@imgly/codesign-sdk/dist/tools/preview.js +42 -19
  235. package/node_modules/@imgly/codesign-sdk/dist/tools/source-tools.js +11 -4
  236. package/node_modules/@imgly/codesign-sdk/package.json +18 -10
  237. package/node_modules/@imgly/codesign-server/assets/ai-plugins/apps.mjs +5 -5
  238. package/node_modules/@imgly/codesign-server/assets/ai-plugins/image-gateway.mjs +5 -5
  239. package/node_modules/@imgly/codesign-server/assets/ai-plugins/version.json +1 -1
  240. package/node_modules/@imgly/codesign-server/dist/catalog/link.d.ts.map +1 -1
  241. package/node_modules/@imgly/codesign-server/dist/catalog/link.js +2 -1
  242. package/node_modules/@imgly/codesign-server/dist/catalog/link.js.map +1 -1
  243. package/node_modules/@imgly/codesign-server/dist/catalog/local-server.d.ts.map +1 -1
  244. package/node_modules/@imgly/codesign-server/dist/catalog/local-server.js +1 -0
  245. package/node_modules/@imgly/codesign-server/dist/catalog/local-server.js.map +1 -1
  246. package/node_modules/@imgly/codesign-server/dist/catalog/tools/asset-add.d.ts +59 -1
  247. package/node_modules/@imgly/codesign-server/dist/catalog/tools/asset-add.d.ts.map +1 -1
  248. package/node_modules/@imgly/codesign-server/dist/catalog/tools/asset-add.js +127 -23
  249. package/node_modules/@imgly/codesign-server/dist/catalog/tools/asset-add.js.map +1 -1
  250. package/node_modules/@imgly/codesign-server/dist/catalog/tools/asset-search.d.ts +7 -0
  251. package/node_modules/@imgly/codesign-server/dist/catalog/tools/asset-search.d.ts.map +1 -1
  252. package/node_modules/@imgly/codesign-server/dist/catalog/tools/asset-search.js +65 -15
  253. package/node_modules/@imgly/codesign-server/dist/catalog/tools/asset-search.js.map +1 -1
  254. package/node_modules/@imgly/codesign-server/dist/catalog/tools/checklist.d.ts +2 -0
  255. package/node_modules/@imgly/codesign-server/dist/catalog/tools/checklist.d.ts.map +1 -1
  256. package/node_modules/@imgly/codesign-server/dist/catalog/tools/checklist.js +15 -5
  257. package/node_modules/@imgly/codesign-server/dist/catalog/tools/checklist.js.map +1 -1
  258. package/node_modules/@imgly/codesign-server/dist/catalog/tools/export-description.d.ts +1 -1
  259. package/node_modules/@imgly/codesign-server/dist/catalog/tools/export-description.d.ts.map +1 -1
  260. package/node_modules/@imgly/codesign-server/dist/catalog/tools/export-description.js +7 -6
  261. package/node_modules/@imgly/codesign-server/dist/catalog/tools/export-description.js.map +1 -1
  262. package/node_modules/@imgly/codesign-server/dist/catalog/tools/export-formats/modules.d.ts +2 -2
  263. package/node_modules/@imgly/codesign-server/dist/catalog/tools/export-formats/modules.d.ts.map +1 -1
  264. package/node_modules/@imgly/codesign-server/dist/catalog/tools/export-formats/modules.js +14 -4
  265. package/node_modules/@imgly/codesign-server/dist/catalog/tools/export-formats/modules.js.map +1 -1
  266. package/node_modules/@imgly/codesign-server/dist/catalog/tools/import.d.ts +10 -0
  267. package/node_modules/@imgly/codesign-server/dist/catalog/tools/import.d.ts.map +1 -1
  268. package/node_modules/@imgly/codesign-server/dist/catalog/tools/import.js +106 -22
  269. package/node_modules/@imgly/codesign-server/dist/catalog/tools/import.js.map +1 -1
  270. package/node_modules/@imgly/codesign-server/dist/cli/connectors.js +1 -1
  271. package/node_modules/@imgly/codesign-server/dist/cli/connectors.js.map +1 -1
  272. package/node_modules/@imgly/codesign-server/dist/cli/doctor/checks/mcp-servers.js +1 -1
  273. package/node_modules/@imgly/codesign-server/dist/cli/doctor/checks/mcp-servers.js.map +1 -1
  274. package/node_modules/@imgly/codesign-server/dist/cli/pack.d.ts +1 -1
  275. package/node_modules/@imgly/codesign-server/dist/cli/pack.d.ts.map +1 -1
  276. package/node_modules/@imgly/codesign-server/dist/cli/pack.js +24 -18
  277. package/node_modules/@imgly/codesign-server/dist/cli/pack.js.map +1 -1
  278. package/node_modules/@imgly/codesign-server/dist/conversation/instructions.js +1 -1
  279. package/node_modules/@imgly/codesign-server/dist/conversation/instructions.js.map +1 -1
  280. package/node_modules/@imgly/codesign-server/dist/conversation/main.d.ts.map +1 -1
  281. package/node_modules/@imgly/codesign-server/dist/conversation/main.js +4 -3
  282. package/node_modules/@imgly/codesign-server/dist/conversation/main.js.map +1 -1
  283. package/node_modules/@imgly/codesign-server/dist/conversation/stage.d.ts +4 -0
  284. package/node_modules/@imgly/codesign-server/dist/conversation/stage.d.ts.map +1 -1
  285. package/node_modules/@imgly/codesign-server/dist/conversation/stage.js +13 -0
  286. package/node_modules/@imgly/codesign-server/dist/conversation/stage.js.map +1 -1
  287. package/node_modules/@imgly/codesign-server/dist/credentials/credential-store.d.ts +0 -6
  288. package/node_modules/@imgly/codesign-server/dist/credentials/credential-store.d.ts.map +1 -1
  289. package/node_modules/@imgly/codesign-server/dist/credentials/credential-store.js +0 -58
  290. package/node_modules/@imgly/codesign-server/dist/credentials/credential-store.js.map +1 -1
  291. package/node_modules/@imgly/codesign-server/dist/credentials/keychain.d.ts +10 -0
  292. package/node_modules/@imgly/codesign-server/dist/credentials/keychain.d.ts.map +1 -0
  293. package/node_modules/@imgly/codesign-server/dist/credentials/keychain.js +84 -0
  294. package/node_modules/@imgly/codesign-server/dist/credentials/keychain.js.map +1 -0
  295. package/node_modules/@imgly/codesign-server/dist/credentials/token-store.d.ts +1 -3
  296. package/node_modules/@imgly/codesign-server/dist/credentials/token-store.d.ts.map +1 -1
  297. package/node_modules/@imgly/codesign-server/dist/credentials/token-store.js +3 -23
  298. package/node_modules/@imgly/codesign-server/dist/credentials/token-store.js.map +1 -1
  299. package/node_modules/@imgly/codesign-server/dist/design/design-library-tools.d.ts +59 -8
  300. package/node_modules/@imgly/codesign-server/dist/design/design-library-tools.d.ts.map +1 -1
  301. package/node_modules/@imgly/codesign-server/dist/design/design-library-tools.js +317 -40
  302. package/node_modules/@imgly/codesign-server/dist/design/design-library-tools.js.map +1 -1
  303. package/node_modules/@imgly/codesign-server/dist/design/engine.js +4 -9
  304. package/node_modules/@imgly/codesign-server/dist/design/engine.js.map +1 -1
  305. package/node_modules/@imgly/codesign-server/dist/design/engines.d.ts +5 -0
  306. package/node_modules/@imgly/codesign-server/dist/design/engines.d.ts.map +1 -1
  307. package/node_modules/@imgly/codesign-server/dist/design/engines.js +49 -0
  308. package/node_modules/@imgly/codesign-server/dist/design/engines.js.map +1 -1
  309. package/node_modules/@imgly/codesign-server/dist/design/host.d.ts +2 -0
  310. package/node_modules/@imgly/codesign-server/dist/design/host.d.ts.map +1 -1
  311. package/node_modules/@imgly/codesign-server/dist/design/host.js +10 -6
  312. package/node_modules/@imgly/codesign-server/dist/design/host.js.map +1 -1
  313. package/node_modules/@imgly/codesign-server/dist/design/lazy-executors.d.ts.map +1 -1
  314. package/node_modules/@imgly/codesign-server/dist/design/lazy-executors.js +34 -5
  315. package/node_modules/@imgly/codesign-server/dist/design/lazy-executors.js.map +1 -1
  316. package/node_modules/@imgly/codesign-server/dist/design/local-design.d.ts +42 -5
  317. package/node_modules/@imgly/codesign-server/dist/design/local-design.d.ts.map +1 -1
  318. package/node_modules/@imgly/codesign-server/dist/design/local-design.js +175 -38
  319. package/node_modules/@imgly/codesign-server/dist/design/local-design.js.map +1 -1
  320. package/node_modules/@imgly/codesign-server/dist/design/local-tools.d.ts +27 -1
  321. package/node_modules/@imgly/codesign-server/dist/design/local-tools.d.ts.map +1 -1
  322. package/node_modules/@imgly/codesign-server/dist/design/local-tools.js +65 -7
  323. package/node_modules/@imgly/codesign-server/dist/design/local-tools.js.map +1 -1
  324. package/node_modules/@imgly/codesign-server/dist/design/main.d.ts.map +1 -1
  325. package/node_modules/@imgly/codesign-server/dist/design/main.js +23 -10
  326. package/node_modules/@imgly/codesign-server/dist/design/main.js.map +1 -1
  327. package/node_modules/@imgly/codesign-server/dist/design/node-exporters.d.ts +4 -0
  328. package/node_modules/@imgly/codesign-server/dist/design/node-exporters.d.ts.map +1 -0
  329. package/node_modules/@imgly/codesign-server/dist/design/node-exporters.js +13 -0
  330. package/node_modules/@imgly/codesign-server/dist/design/node-exporters.js.map +1 -0
  331. package/node_modules/@imgly/codesign-server/dist/design/probe-media.d.ts +2 -0
  332. package/node_modules/@imgly/codesign-server/dist/design/probe-media.d.ts.map +1 -0
  333. package/node_modules/@imgly/codesign-server/dist/design/probe-media.js +16 -0
  334. package/node_modules/@imgly/codesign-server/dist/design/probe-media.js.map +1 -0
  335. package/node_modules/@imgly/codesign-server/dist/design/remote-resources.d.ts +22 -3
  336. package/node_modules/@imgly/codesign-server/dist/design/remote-resources.d.ts.map +1 -1
  337. package/node_modules/@imgly/codesign-server/dist/design/remote-resources.js +123 -32
  338. package/node_modules/@imgly/codesign-server/dist/design/remote-resources.js.map +1 -1
  339. package/node_modules/@imgly/codesign-server/dist/design/save.d.ts +5 -0
  340. package/node_modules/@imgly/codesign-server/dist/design/save.d.ts.map +1 -1
  341. package/node_modules/@imgly/codesign-server/dist/design/save.js +9 -0
  342. package/node_modules/@imgly/codesign-server/dist/design/save.js.map +1 -1
  343. package/node_modules/@imgly/codesign-server/dist/design/sessions/store.d.ts +33 -4
  344. package/node_modules/@imgly/codesign-server/dist/design/sessions/store.d.ts.map +1 -1
  345. package/node_modules/@imgly/codesign-server/dist/design/sessions/store.js +121 -43
  346. package/node_modules/@imgly/codesign-server/dist/design/sessions/store.js.map +1 -1
  347. package/node_modules/@imgly/codesign-server/dist/design/workspace-files.d.ts +8 -0
  348. package/node_modules/@imgly/codesign-server/dist/design/workspace-files.d.ts.map +1 -1
  349. package/node_modules/@imgly/codesign-server/dist/design/workspace-files.js +50 -61
  350. package/node_modules/@imgly/codesign-server/dist/design/workspace-files.js.map +1 -1
  351. package/node_modules/@imgly/codesign-server/dist/design/workspace-library.d.ts +24 -2
  352. package/node_modules/@imgly/codesign-server/dist/design/workspace-library.d.ts.map +1 -1
  353. package/node_modules/@imgly/codesign-server/dist/design/workspace-library.js +132 -17
  354. package/node_modules/@imgly/codesign-server/dist/design/workspace-library.js.map +1 -1
  355. package/node_modules/@imgly/codesign-server/dist/services/archives/create.d.ts.map +1 -1
  356. package/node_modules/@imgly/codesign-server/dist/services/archives/create.js +19 -6
  357. package/node_modules/@imgly/codesign-server/dist/services/archives/create.js.map +1 -1
  358. package/node_modules/@imgly/codesign-server/dist/services/archives/handlers.d.ts.map +1 -1
  359. package/node_modules/@imgly/codesign-server/dist/services/archives/handlers.js +10 -7
  360. package/node_modules/@imgly/codesign-server/dist/services/archives/handlers.js.map +1 -1
  361. package/node_modules/@imgly/codesign-server/dist/services/archives/pack.d.ts +3 -1
  362. package/node_modules/@imgly/codesign-server/dist/services/archives/pack.d.ts.map +1 -1
  363. package/node_modules/@imgly/codesign-server/dist/services/archives/pack.js +5 -4
  364. package/node_modules/@imgly/codesign-server/dist/services/archives/pack.js.map +1 -1
  365. package/node_modules/@imgly/codesign-server/dist/services/archives/seed-pack.d.ts +56 -0
  366. package/node_modules/@imgly/codesign-server/dist/services/archives/seed-pack.d.ts.map +1 -0
  367. package/node_modules/@imgly/codesign-server/dist/services/archives/seed-pack.js +218 -0
  368. package/node_modules/@imgly/codesign-server/dist/services/archives/seed-pack.js.map +1 -0
  369. package/node_modules/@imgly/codesign-server/dist/services/archives/seed.d.ts.map +1 -1
  370. package/node_modules/@imgly/codesign-server/dist/services/archives/seed.js +33 -124
  371. package/node_modules/@imgly/codesign-server/dist/services/archives/seed.js.map +1 -1
  372. package/node_modules/@imgly/codesign-server/dist/services/archives/template.d.ts +1 -0
  373. package/node_modules/@imgly/codesign-server/dist/services/archives/template.d.ts.map +1 -1
  374. package/node_modules/@imgly/codesign-server/dist/services/archives/template.js +1 -1
  375. package/node_modules/@imgly/codesign-server/dist/services/archives/template.js.map +1 -1
  376. package/node_modules/@imgly/codesign-server/dist/services/auth/login-manager.d.ts.map +1 -1
  377. package/node_modules/@imgly/codesign-server/dist/services/auth/login-manager.js +2 -1
  378. package/node_modules/@imgly/codesign-server/dist/services/auth/login-manager.js.map +1 -1
  379. package/node_modules/@imgly/codesign-server/dist/services/diagnostics/status.d.ts +9 -5
  380. package/node_modules/@imgly/codesign-server/dist/services/diagnostics/status.d.ts.map +1 -1
  381. package/node_modules/@imgly/codesign-server/dist/services/diagnostics/status.js +14 -19
  382. package/node_modules/@imgly/codesign-server/dist/services/diagnostics/status.js.map +1 -1
  383. package/node_modules/@imgly/codesign-server/dist/services/diagnostics/tool.d.ts +2 -0
  384. package/node_modules/@imgly/codesign-server/dist/services/diagnostics/tool.d.ts.map +1 -1
  385. package/node_modules/@imgly/codesign-server/dist/services/diagnostics/tool.js +1 -0
  386. package/node_modules/@imgly/codesign-server/dist/services/diagnostics/tool.js.map +1 -1
  387. package/node_modules/@imgly/codesign-server/dist/services/engine/workspace-image-source.d.ts.map +1 -1
  388. package/node_modules/@imgly/codesign-server/dist/services/engine/workspace-image-source.js +4 -1
  389. package/node_modules/@imgly/codesign-server/dist/services/engine/workspace-image-source.js.map +1 -1
  390. package/node_modules/@imgly/codesign-server/dist/services/engine/workspace-source-module.d.ts +5 -1
  391. package/node_modules/@imgly/codesign-server/dist/services/engine/workspace-source-module.d.ts.map +1 -1
  392. package/node_modules/@imgly/codesign-server/dist/services/engine/workspace-source-module.js +67 -6
  393. package/node_modules/@imgly/codesign-server/dist/services/engine/workspace-source-module.js.map +1 -1
  394. package/node_modules/@imgly/codesign-server/dist/services/flags/manifest.js +2 -2
  395. package/node_modules/@imgly/codesign-server/dist/services/flags/manifest.js.map +1 -1
  396. package/node_modules/@imgly/codesign-server/dist/services/flags/release-flags.generated.d.ts +3 -3
  397. package/node_modules/@imgly/codesign-server/dist/services/flags/release-flags.generated.d.ts.map +1 -1
  398. package/node_modules/@imgly/codesign-server/dist/services/flags/release-flags.generated.js +3 -3
  399. package/node_modules/@imgly/codesign-server/dist/services/flags/release-flags.generated.js.map +1 -1
  400. package/node_modules/@imgly/codesign-server/dist/services/gateway-bearer.d.ts +15 -0
  401. package/node_modules/@imgly/codesign-server/dist/services/gateway-bearer.d.ts.map +1 -0
  402. package/node_modules/@imgly/codesign-server/dist/services/gateway-bearer.js +14 -0
  403. package/node_modules/@imgly/codesign-server/dist/services/gateway-bearer.js.map +1 -0
  404. package/node_modules/@imgly/codesign-server/dist/services/telemetry/error-policy.d.ts.map +1 -1
  405. package/node_modules/@imgly/codesign-server/dist/services/telemetry/error-policy.js +36 -0
  406. package/node_modules/@imgly/codesign-server/dist/services/telemetry/error-policy.js.map +1 -1
  407. package/node_modules/@imgly/codesign-server/dist/services/telemetry/usage-sink.d.ts +2 -2
  408. package/node_modules/@imgly/codesign-server/dist/services/telemetry/usage-sink.d.ts.map +1 -1
  409. package/node_modules/@imgly/codesign-server/dist/services/telemetry/usage-sink.js +3 -5
  410. package/node_modules/@imgly/codesign-server/dist/services/telemetry/usage-sink.js.map +1 -1
  411. package/node_modules/@imgly/codesign-server/dist/services/viewer/ai-plugin-assets.d.ts.map +1 -1
  412. package/node_modules/@imgly/codesign-server/dist/services/viewer/ai-plugin-assets.js +5 -4
  413. package/node_modules/@imgly/codesign-server/dist/services/viewer/ai-plugin-assets.js.map +1 -1
  414. package/node_modules/@imgly/codesign-server/dist/services/viewer/spa-assets.generated.d.ts.map +1 -1
  415. package/node_modules/@imgly/codesign-server/dist/services/viewer/spa-assets.generated.js +0 -64
  416. package/node_modules/@imgly/codesign-server/dist/services/viewer/spa-assets.generated.js.map +1 -1
  417. package/node_modules/@imgly/codesign-server/dist/services/viewer/url-builder.d.ts +4 -0
  418. package/node_modules/@imgly/codesign-server/dist/services/viewer/url-builder.d.ts.map +1 -1
  419. package/node_modules/@imgly/codesign-server/dist/services/viewer/url-builder.js +4 -0
  420. package/node_modules/@imgly/codesign-server/dist/services/viewer/url-builder.js.map +1 -1
  421. package/node_modules/@imgly/codesign-server/dist/services/viewer/workspace-source-route.d.ts.map +1 -1
  422. package/node_modules/@imgly/codesign-server/dist/services/viewer/workspace-source-route.js +2 -24
  423. package/node_modules/@imgly/codesign-server/dist/services/viewer/workspace-source-route.js.map +1 -1
  424. package/node_modules/@imgly/codesign-server/dist/services/workspace/asset-sidecars.d.ts +4 -2
  425. package/node_modules/@imgly/codesign-server/dist/services/workspace/asset-sidecars.d.ts.map +1 -1
  426. package/node_modules/@imgly/codesign-server/dist/services/workspace/asset-sidecars.js +15 -14
  427. package/node_modules/@imgly/codesign-server/dist/services/workspace/asset-sidecars.js.map +1 -1
  428. package/node_modules/@imgly/codesign-server/dist/services/workspace/asset-store.d.ts +12 -2
  429. package/node_modules/@imgly/codesign-server/dist/services/workspace/asset-store.d.ts.map +1 -1
  430. package/node_modules/@imgly/codesign-server/dist/services/workspace/asset-store.js +42 -12
  431. package/node_modules/@imgly/codesign-server/dist/services/workspace/asset-store.js.map +1 -1
  432. package/node_modules/@imgly/codesign-server/dist/services/workspace/assets-handlers.d.ts.map +1 -1
  433. package/node_modules/@imgly/codesign-server/dist/services/workspace/assets-handlers.js +1 -2
  434. package/node_modules/@imgly/codesign-server/dist/services/workspace/assets-handlers.js.map +1 -1
  435. package/node_modules/@imgly/codesign-server/dist/services/workspace/image-listing.d.ts.map +1 -1
  436. package/node_modules/@imgly/codesign-server/dist/services/workspace/image-listing.js +24 -2
  437. package/node_modules/@imgly/codesign-server/dist/services/workspace/image-listing.js.map +1 -1
  438. package/node_modules/@imgly/codesign-server/dist/services/workspace/layout-keys.d.ts +47 -0
  439. package/node_modules/@imgly/codesign-server/dist/services/workspace/layout-keys.d.ts.map +1 -0
  440. package/node_modules/@imgly/codesign-server/dist/services/workspace/layout-keys.js +167 -0
  441. package/node_modules/@imgly/codesign-server/dist/services/workspace/layout-keys.js.map +1 -0
  442. package/node_modules/@imgly/codesign-server/dist/services/workspace/layout.d.ts +2 -0
  443. package/node_modules/@imgly/codesign-server/dist/services/workspace/layout.d.ts.map +1 -1
  444. package/node_modules/@imgly/codesign-server/dist/services/workspace/layout.js +2 -0
  445. package/node_modules/@imgly/codesign-server/dist/services/workspace/layout.js.map +1 -1
  446. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store-fs.d.ts +32 -0
  447. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store-fs.d.ts.map +1 -0
  448. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store-fs.js +79 -0
  449. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store-fs.js.map +1 -0
  450. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store-workspace.d.ts +35 -0
  451. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store-workspace.d.ts.map +1 -0
  452. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store-workspace.js +185 -0
  453. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store-workspace.js.map +1 -0
  454. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store.d.ts +74 -0
  455. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store.d.ts.map +1 -0
  456. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store.js +82 -0
  457. package/node_modules/@imgly/codesign-server/dist/services/workspace/object-store.js.map +1 -0
  458. package/node_modules/@imgly/codesign-server/dist/services/workspace/types.d.ts +10 -0
  459. package/node_modules/@imgly/codesign-server/dist/services/workspace/types.d.ts.map +1 -1
  460. package/node_modules/@imgly/codesign-server/dist/services/workspace/types.js +1 -0
  461. package/node_modules/@imgly/codesign-server/dist/services/workspace/types.js.map +1 -1
  462. package/node_modules/@imgly/codesign-server/dist/services/workspace/write-atomic.d.ts.map +1 -1
  463. package/node_modules/@imgly/codesign-server/dist/services/workspace/write-atomic.js +5 -0
  464. package/node_modules/@imgly/codesign-server/dist/services/workspace/write-atomic.js.map +1 -1
  465. package/node_modules/@imgly/codesign-server/package.json +13 -11
  466. package/node_modules/@imgly/design-lint/dist/rules/text-legibility.d.ts +2 -1
  467. package/node_modules/@imgly/design-lint/dist/rules/text-legibility.d.ts.map +1 -1
  468. package/node_modules/@imgly/design-lint/dist/rules/text-legibility.js +5 -1
  469. package/node_modules/@imgly/design-lint/dist/rules/text-legibility.js.map +1 -1
  470. package/node_modules/@imgly/design-lint/package.json +2 -2
  471. package/node_modules/@imgly/figma-exporter/CHANGELOG.md +79 -0
  472. package/node_modules/@imgly/figma-exporter/LICENSE.md +137 -0
  473. package/node_modules/@imgly/figma-exporter/README.md +201 -0
  474. package/node_modules/@imgly/figma-exporter/THIRD_PARTY_NOTICES.md +475 -0
  475. package/node_modules/@imgly/figma-exporter/dist/index.cjs +1 -0
  476. package/node_modules/@imgly/figma-exporter/dist/index.d.cts +8833 -0
  477. package/node_modules/@imgly/figma-exporter/dist/index.d.ts +8833 -0
  478. package/node_modules/@imgly/figma-exporter/dist/index.js +1 -0
  479. package/node_modules/@imgly/figma-exporter/package.json +92 -0
  480. package/node_modules/@imgly/figma-importer/CHANGELOG.md +84 -0
  481. package/node_modules/@imgly/figma-importer/LICENSE.md +137 -0
  482. package/node_modules/@imgly/figma-importer/README.md +256 -0
  483. package/node_modules/@imgly/figma-importer/THIRD_PARTY_NOTICES.md +446 -0
  484. package/node_modules/@imgly/figma-importer/dist/index.cjs +2 -0
  485. package/node_modules/@imgly/figma-importer/dist/index.d.cts +12831 -0
  486. package/node_modules/@imgly/figma-importer/dist/index.d.ts +12831 -0
  487. package/node_modules/@imgly/figma-importer/dist/index.js +2 -0
  488. package/node_modules/@imgly/figma-importer/package.json +85 -0
  489. package/node_modules/@imgly/html-exporter/CHANGELOG.md +35 -0
  490. package/node_modules/@imgly/html-exporter/README.md +45 -4
  491. package/node_modules/@imgly/html-exporter/dist/index.cjs +610 -493
  492. package/node_modules/@imgly/html-exporter/dist/index.d.cts +235 -216
  493. package/node_modules/@imgly/html-exporter/dist/index.d.ts +235 -216
  494. package/node_modules/@imgly/html-exporter/dist/index.js +610 -493
  495. package/node_modules/@imgly/html-exporter/package.json +15 -10
  496. package/node_modules/@imgly/idml-exporter/CHANGELOG.md +10 -0
  497. package/node_modules/@imgly/idml-exporter/README.md +17 -18
  498. package/node_modules/@imgly/idml-exporter/dist/harfbuzz.browser.js +1 -1
  499. package/node_modules/@imgly/idml-exporter/dist/index.cjs +8 -11
  500. package/node_modules/@imgly/idml-exporter/dist/index.d.cts +14480 -10275
  501. package/node_modules/@imgly/idml-exporter/dist/index.d.ts +14480 -10275
  502. package/node_modules/@imgly/idml-exporter/dist/index.js +8 -10
  503. package/node_modules/@imgly/idml-exporter/dist/woff2.browser.js +14 -14
  504. package/node_modules/@imgly/idml-exporter/package.json +17 -12
  505. package/node_modules/@imgly/idml-importer/CHANGELOG.md +37 -0
  506. package/node_modules/@imgly/idml-importer/README.md +148 -17
  507. package/node_modules/@imgly/idml-importer/dist/index.cjs +6 -5
  508. package/node_modules/@imgly/idml-importer/dist/index.d.cts +1003 -632
  509. package/node_modules/@imgly/idml-importer/dist/index.d.ts +1003 -632
  510. package/node_modules/@imgly/idml-importer/dist/index.js +6 -5
  511. package/node_modules/@imgly/idml-importer/package.json +9 -9
  512. package/node_modules/@imgly/pdf-importer/CHANGELOG.md +59 -0
  513. package/node_modules/@imgly/pdf-importer/README.md +71 -7
  514. package/node_modules/@imgly/pdf-importer/dist/browser.d.ts +940 -788
  515. package/node_modules/@imgly/pdf-importer/dist/browser.js +17 -15
  516. package/node_modules/@imgly/pdf-importer/dist/node.cjs +17 -16
  517. package/node_modules/@imgly/pdf-importer/dist/node.d.cts +940 -788
  518. package/node_modules/@imgly/pdf-importer/dist/node.d.ts +940 -788
  519. package/node_modules/@imgly/pdf-importer/dist/node.js +17 -15
  520. package/node_modules/@imgly/pdf-importer/dist/pdf.worker.mjs +80265 -61990
  521. package/node_modules/@imgly/pdf-importer/package.json +13 -13
  522. package/node_modules/@imgly/psd-exporter/CHANGELOG.md +12 -0
  523. package/node_modules/@imgly/psd-exporter/README.md +50 -7
  524. package/node_modules/@imgly/psd-exporter/dist/index.cjs +5 -7
  525. package/node_modules/@imgly/psd-exporter/dist/index.d.cts +14332 -10063
  526. package/node_modules/@imgly/psd-exporter/dist/index.d.ts +14332 -10063
  527. package/node_modules/@imgly/psd-exporter/dist/index.js +5 -6
  528. package/node_modules/@imgly/psd-exporter/dist/wawoff2-LICENSE.txt +19 -0
  529. package/node_modules/@imgly/psd-exporter/dist/woff2.browser.js +19 -0
  530. package/node_modules/@imgly/psd-exporter/package.json +26 -9
  531. package/node_modules/@imgly/psd-importer/CHANGELOG.md +29 -1
  532. package/node_modules/@imgly/psd-importer/README.md +22 -30
  533. package/node_modules/@imgly/psd-importer/dist/index.cjs +11 -11
  534. package/node_modules/@imgly/psd-importer/dist/index.d.cts +10479 -12978
  535. package/node_modules/@imgly/psd-importer/dist/index.d.ts +10479 -12978
  536. package/node_modules/@imgly/psd-importer/dist/index.js +11 -11
  537. package/node_modules/@imgly/psd-importer/package.json +8 -11
  538. package/package.json +28 -17
  539. package/node_modules/@imgly/pdf-importer/dist/browser.d.cts +0 -941
@@ -0,0 +1 @@
1
+ import{ByteBuffer as e,compileSchemaJS as t,decodeBinarySchema as n,encodeBinarySchema as r}from"kiwi-schema";import{Inflate as i,Unzip as a,UnzipInflate as o,deflateSync as s,unzipSync as c,zipSync as l}from"fflate";import{Zstd as u}from"@hpcc-js/wasm-zstd";import{sha1 as d}from"@noble/hashes/legacy.js";import{bytesToHex as f}from"@noble/hashes/utils.js";function p(e){"@babel/helpers - typeof";return p=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},p(e)}function m(e,t){if(p(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(p(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function h(e){var t=m(e,`string`);return p(t)==`symbol`?t:t+``}function g(e,t,n){return(t=h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e,t){return e.replace(/\{(\w+)\}/g,(n,r)=>{if(!(r in t))throw Error(`Missing param "${r}" for warning template: ${e}`);return String(t[r])})}var v=class{constructor(e){g(this,`registry`,void 0),g(this,`messages`,[]),this.registry=e}emit(e,t={}){let n=this.registry[e];this.messages.push({code:e,type:n.severity,message:_(n.template,t),params:t})}getMessages(){return this.messages}};function ee(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function te(e){let t=new TextEncoder().encode(e),n=new Uint8Array(t.length),r=0;for(let e=0;e<t.length;e++){if(t[e]!==37){n[r++]=t[e];continue}let i=String.fromCharCode(t[e+1]??0,t[e+2]??0);if(!/^[0-9a-f]{2}$/i.test(i))return null;n[r++]=Number.parseInt(i,16),e+=2}return n.subarray(0,r)}async function y(e,t){try{if(t.startsWith(`data:`)){let e=t.match(/^data:([^,]*),(.*)$/s);return e?/;base64$/i.test(e[1])?ee(decodeURIComponent(e[2])):te(e[2]):null}let n=typeof e.editor?.getAbsoluteURI==`function`?await e.editor.getAbsoluteURI(t):t;if(n!==t&&n.startsWith(`data:`))return y(e,n);if(n.startsWith(`buffer://`))return new Uint8Array(e.editor.getBufferData(n,0,e.editor.getBufferLength(n)));if(n.startsWith(`file://`)){let{readFile:e}=await import(`fs/promises`),{fileURLToPath:t}=await import(`url`);return new Uint8Array(await e(t(n)))}if(/^https?:\/\//.test(n)){let e=await fetch(n);return e.ok?new Uint8Array(await e.arrayBuffer()):null}if(n.startsWith(`blob:`)){let e=await fetch(n).catch(()=>null);if(e?.ok)return new Uint8Array(await e.arrayBuffer())}let r=null;return e.editor.getResourceData(n,0,e=>(r=new Uint8Array(e),!1)),r}catch{return null}}function b(e){return Number.isFinite(e)&&e>=0?e:0}const ne={id:void 0,exportOptions:e=>e,end:()=>{},cancel:()=>{}};function re(e,t){let n=e.editor;if(typeof n.beginExportTransaction!=`function`||typeof n.endExportTransaction!=`function`||typeof n.cancelExportTransaction!=`function`)return ne;let r;try{r=n.beginExportTransaction(t.type,t.format,t.producer,t.block)}catch{return ne}let i=t.warn??(e=>console.warn(e)),a=()=>{try{n.cancelExportTransaction(r)}catch(e){i(`The export transaction of a ${t.type} export did not cancel: ${e}`)}};return{id:r,exportOptions:e=>({...e,transactionId:r}),end:(e,o)=>{try{n.endExportTransaction(r,b(e),b(o))}catch(e){i(`The ${t.type} export is complete, but its export transaction did not end: ${e}`),a()}},cancel:a}}let x;async function ie(){try{x??=await u.load()}catch(e){throw Error(`Cannot load the Zstandard WebAssembly codec. It needs WebAssembly SIMD (Safari 16.4 or newer) and, under a Content Security Policy, 'wasm-unsafe-eval' in script-src.`,{cause:e})}}function ae(){if(!x)throw Error(`Zstandard is not loaded: await loadZstd() before reading or writing a .fig file`);return x}const S=1048576,C={inputBytes:64*S,archiveBytes:256*S,schemaBytes:S,messageBytes:128*S,metadataBytes:S,files:4096,chunks:64};function w(e,t,n){if(e>t)throw Error(`Figma ${n} limit exceeded (${t})`)}function T(e,t){let n=[],r=0;return{push(i){w(r+i.length,e,t),n.push(i),r+=i.length},finish(){let e=new Uint8Array(r),t=0;for(let r of n)e.set(r,t),t+=r.length;return e}}}function E(e,t,n=1024){e.length||t(e,!0);for(let r=0;r<e.length;r+=n)t(e.subarray(r,r+n),r+n>=e.length)}function oe(e,t,n){let r=T(t,n),a=new i(e=>r.push(e));return E(e,(e,t)=>a.push(e,t)),r.finish()}function se(e){w(e.length,C.inputBytes,`input bytes`);let t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=!1;for(let r=e.length-22;r>=Math.max(0,e.length-65557);--r)if(t.getUint32(r,!0)===101010256&&r+22+t.getUint16(r+20,!0)===e.length){n=!0;break}if(!n)throw Error(`Incomplete Figma ZIP archive`);let r=0;c(e,{filter(e){return w(++r,C.files,`archive files`),w(e.name.length,1024,`archive filename`),!1}});let i=Object.create(null),s=0,l=0,u=new a(e=>{w(++s,C.files,`archive files`),w(e.name.length,1024,`archive filename`),w(e.originalSize??0,C.archiveBytes-l,`archive bytes`);let t=T(C.archiveBytes,`archive bytes`);e.ondata=(n,r,a)=>{if(n)throw n;w(l+r.length,C.archiveBytes,`archive bytes`),l+=r.length,t.push(r),a&&(i[e.name]=t.finish())},e.start()});if(u.register(o),E(e,(e,t)=>u.push(e,t)),s!==r)throw Error(`Invalid Figma ZIP directory`);return i}function ce(e,t){let n=()=>{throw Error(`Invalid or unsupported Figma Zstandard frame`)},r=t=>{t>e.length&&n()};r(5),(e[0]!==40||e[1]!==181||e[2]!==47||e[3]!==253)&&n();let i=e[4];i&8&&n();let a=!!(i&32),o=i>>>6,s=5,c=0;if(!a){r(++s);let n=e[5],i=2**(10+(n>>>3));c=i+i/8*(n&7),w(c,t,`Zstandard window bytes`)}let l=i&3;s+=l===3?4:l;let u=o?2**o:Number(a);r(s+u);let d=0;for(let t=0;t<u;++t)d+=e[s+t]*2**(t*8);o===1&&(d+=256),u&&w(d,t,`message bytes`),s+=u;let f=0,p=!1;for(;!p;){w(++f,4096,`Zstandard blocks`),r(s+3);let t=e[s]+e[s+1]*256+e[s+2]*65536;s+=3,p=!!(t&1);let i=t>>>1&3,a=t>>>3;(i===3||a>131072)&&n(),s+=i===1?1:a,r(s)}i&4&&(s+=4),r(s),s!==e.length&&n()}function le(e,t){ce(e,t);let n=ae(),r=T(t,`message bytes`);return n.resetDecompression(),E(e,e=>r.push(n.decompressChunk(e)),128),n.decompressEnd(),r.finish()}const D={schemaDefinitions:4096,schemaFields:32768,schemaNameLength:1024,schemaNameUnits:1048576,sourceUnits:8388608,arraySlots:1e7,objects:1e6,depth:128,work:1e7,byteArrayBytes:134217728};var ue=class{constructor(){g(this,`limits`,{...D}),g(this,`remaining`,{...this.limits}),g(this,`depth`,0)}consume(e,t){w(this.limits[e]-this.remaining[e]+t,this.limits[e],`Kiwi ${e}`),this.remaining[e]-=t}};function de(e){w(e.definitions.length,D.schemaDefinitions,`Kiwi schema definitions`);let t=0,n=0,r=e=>{w(e.length,D.schemaNameLength,`Kiwi schema name length`),n+=e.length,w(n,D.schemaNameUnits,`Kiwi schema names`)};for(let n of e.definitions){r(n.name),t+=n.fields.length,w(t,D.schemaFields,`Kiwi schema fields`);for(let e of n.fields)r(e.name),e.type!==null&&r(e.type)}}function fe(n){de(n);let r=t(n);w(r.length,D.sourceUnits,`Kiwi generated source`);let i;class a extends e{constructor(...e){super(...e),g(this,`readingByteArray`,!1)}readByte(){return i?.consume(`work`,1),super.readByte()}readVarFloat(){return i?.consume(`work`,1),super.readVarFloat()}readVarUint(){let e=super.readVarUint();return this.readingByteArray&&i?.consume(`byteArrayBytes`,e),e}readByteArray(){this.readingByteArray=!0;try{return super.readByteArray()}finally{this.readingByteArray=!1}}}let o=e=>(i?.consume(`arraySlots`,e),i?.consume(`work`,e),Array(e)),s={ByteBuffer:a};Function(`exports`,`Array`,r)(s,o);for(let e of n.definitions){if(e.kind===`ENUM`)continue;let t=`decode${e.name}`,n=s[t];s[t]=function(e){let t=i===void 0,r=i??=new ue;r.depth++;try{return w(r.depth,r.limits.depth,`Kiwi depth`),r.consume(`objects`,1),r.consume(`work`,1),n.call(this,e)}finally{r.depth--,t&&(i=void 0)}}}return s}function pe(e){return e?.guid?`${e.guid.sessionID}:${e.guid.localID}`:null}function me(e){w(e.length,C.archiveBytes,`canvas bytes`);let t=new DataView(e.buffer,e.byteOffset,e.byteLength),r=String.fromCharCode(...e.subarray(0,8));if(!r.startsWith(`fig-`))throw Error(`Unknown prelude: ${r}`);let i=t.getUint32(8,!0),a=[],o=12;for(;o<e.byteLength;){if(w(a.length+1,C.chunks,`binary chunks`),o+4>e.byteLength)throw Error(`Truncated .fig binary: ${e.byteLength-o} byte(s) left at offset ${o}, expected a 4-byte chunk length`);let n=t.getUint32(o,!0);if(o+=4,o+n>e.byteLength)throw Error(`Truncated .fig binary: chunk ${a.length} declares ${n} bytes at offset ${o} but only ${e.byteLength-o} remain`);a.push(e.subarray(o,o+n)),o+=n}if(a.length<2)throw Error(`Expected at least 2 chunks in .fig binary`);let s=oe(a[0],C.schemaBytes,`schema bytes`),c=n(s),l=fe(c),u,d=a[1];u=d[0]===40&&d[1]===181&&d[2]===47&&d[3]===253?le(d,C.messageBytes):oe(d,C.messageBytes,`message bytes`);let f=l.decodeMessage(u),p=f.nodeChanges,m=/* @__PURE__ */ new Map,h=/* @__PURE__ */ new Map;for(let e of p){let t=pe(e);t&&m.set(t,e)}for(let e of p){if(!e.parentIndex?.guid)continue;let t=`${e.parentIndex.guid.sessionID}:${e.parentIndex.guid.localID}`;h.has(t)||h.set(t,[]),h.get(t).push(e)}return{header:{prelude:r.trim(),version:i},nodes:p,nodeMap:m,childrenMap:h,schema:c,compiledSchema:l,rawChunks:a,message:f,images:/* @__PURE__ */ new Map}}function he(e){if(e[0]!==80||e[1]!==75)throw Error(`Not a valid .fig file (missing ZIP header)`);let t=se(e),n=Object.keys(t).find(e=>e.endsWith(`canvas.fig`));if(!n)throw Error(`No canvas.fig found in .fig archive`);let r=me(t[n]),i=Object.keys(t).find(e=>e.endsWith(`meta.json`));if(i){w(t[i].length,C.metadataBytes,`metadata bytes`);try{r.meta=JSON.parse(new TextDecoder().decode(t[i]))}catch{}}let a=Object.keys(t).find(e=>e.endsWith(`thumbnail.png`));a&&(r.thumbnail=t[a]);for(let e of Object.keys(t))if(e.includes(`images/`)&&e!==`images/`){let n=e.split(`/`).pop();r.images.set(n,t[e])}return r}function ge(e){if(!e.compiledSchema||!e.message)throw Error(`FigDocument missing compiledSchema or message — cannot encode`);if(!e.schema)throw Error(`FigDocument missing schema — cannot encode`);let t=new Uint8Array(e.compiledSchema.encodeMessage(e.message)),n=r(e.schema),i=s(new Uint8Array(n)),a=e.rawChunks.slice(2);return{schemaCompressed:i,messageRaw:t,prelude:e.header.prelude,version:e.header.version,passThrough:a}}function _e(e){let{prelude:t,version:n,schemaCompressed:r,messageCompressed:i,passThrough:a=[]}=e,o=[r,i,...a],s=o.reduce((e,t)=>e+4+t.byteLength,12),c=new Uint8Array(s),l=new DataView(c.buffer),u=0,d=new TextEncoder().encode(t);c.set(d,0);for(let e=d.length;e<8;e++)c[e]=32;u=8,l.setUint32(u,n,!0),u+=4;for(let e of o)l.setUint32(u,e.byteLength,!0),u+=4,c.set(e,u),u+=e.byteLength;return c}function ve(e){let t={};if(t[`canvas.fig`]=[e.canvasFig,{level:0}],e.meta&&(t[`meta.json`]=[new TextEncoder().encode(JSON.stringify(e.meta)),{level:0}]),e.thumbnail&&(t[`thumbnail.png`]=[e.thumbnail,{level:0}]),e.images)for(let[n,r]of e.images)t[`images/${n}`]=[r,{level:0}];return l(t)}function ye(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function be(){return he(ye(`UEsDBBQAAAAAADoOcVxRM0UEL2YAAC9mAAAKAAAAY2FudmFzLmZpZ2ZpZy1raXdpZQAAAJJlAAC0fQuYZFdV7j6nqrq6p+eVyTskIbzfGMLb17Wqu7q7Zrq7iqrqnkyu17a6q2a6mO6upqp6MpPr1RARMQSEABEBY4wYQoyIiIgYERERERERERURIyIiIiIiIuL9/7X23mefqprI993vzvdN136dtd9rr7X2Wmvfk11q9/vNU+3Gud22MZcfrZSX1+qNQq1h8G+5Mltam1koLM+X6ohGK/VSLYjHUrq0PItwpl6eXy4sIpStN04slhDISWCtXiKsiQTyWv1YubpWKy1WCvwyv1xplOdOrNUXKiuLs2sr1flaYZbfT9rg2mxlmfEpF6+V5mql+gKS9tVnSsulNSRXF9aet1KqnUDidJhYK1UXmbh/tjw3h98DM4vl0nJjrVhD7TOFOtt2MGjb0cpKDf0osWWH6o1aqbDkx+OwjWuPLygvN0q1wkyjvIpOLpb9UCHvSK00U1leLs2gs2NaeOH4bNfWi9y4rpWXZ2qlJbS3sIhc+w1KXCwzg3Y1VupJrZfYvtXwaakmXbi0uHLDDWuFarVWWQUMX/SywtlOHzN4PaeZdUaFjQ2sBCShi7NrlWVpiZHI8Vq5wY+i5W6rXd1s9rFSYjSs0JA6UGipsirB6Hhnp9XZOVXb22KZ5cry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RhLmpzb25QSwECFAAUAAAAAAA6DnFctGJoU0MAAABDAAAADQAAAAAAAAAAAAAAAACiZgAAdGh1bWJuYWlsLnBuZ1BLBQYAAAAAAwADAKoAAAAQZwAAAAA=`))}function O(e,t,n,r,i,a){return{type:`C`,c1x:e+2/3*(n-e),c1y:t+2/3*(r-t),c2x:i+2/3*(n-i),c2y:a+2/3*(r-a),x:i,y:a}}function xe(e){let t=[],n=/([MmLlCcSsQqTtHhVvZz])|([+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?)/g,r;for(;(r=n.exec(e))!==null;)r[1]?t.push(r[1]):t.push(Number.parseFloat(r[2]));let i=[],a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=``,h=()=>{let e=t[a++];if(typeof e!=`number`||Number.isNaN(e))throw Error(`Invalid SVG path data near token index ${a-1}`);return e};for(;a<t.length;)switch(typeof t[a]==`string`&&(m=t[a++]),m){case`M`:o=h(),s=h(),c=o,l=s,i.push({type:`M`,x:o,y:s}),u=o,d=s,f=o,p=s,m=`L`;break;case`m`:o+=h(),s+=h(),c=o,l=s,i.push({type:`M`,x:o,y:s}),u=o,d=s,f=o,p=s,m=`l`;break;case`L`:o=h(),s=h(),i.push({type:`L`,x:o,y:s}),u=o,d=s,f=o,p=s;break;case`l`:o+=h(),s+=h(),i.push({type:`L`,x:o,y:s}),u=o,d=s,f=o,p=s;break;case`H`:o=h(),i.push({type:`L`,x:o,y:s}),u=o,d=s,f=o,p=s;break;case`h`:o+=h(),i.push({type:`L`,x:o,y:s}),u=o,d=s,f=o,p=s;break;case`V`:s=h(),i.push({type:`L`,x:o,y:s}),u=o,d=s,f=o,p=s;break;case`v`:s+=h(),i.push({type:`L`,x:o,y:s}),u=o,d=s,f=o,p=s;break;case`C`:{let e=h(),t=h(),n=h(),r=h();o=h(),s=h(),u=n,d=r,f=o,p=s,i.push({type:`C`,c1x:e,c1y:t,c2x:n,c2y:r,x:o,y:s});break}case`c`:{let e=o+h(),t=s+h(),n=o+h(),r=s+h();o+=h(),s+=h(),u=n,d=r,f=o,p=s,i.push({type:`C`,c1x:e,c1y:t,c2x:n,c2y:r,x:o,y:s});break}case`S`:{let e=2*o-u,t=2*s-d,n=h(),r=h();o=h(),s=h(),u=n,d=r,f=o,p=s,i.push({type:`C`,c1x:e,c1y:t,c2x:n,c2y:r,x:o,y:s});break}case`s`:{let e=2*o-u,t=2*s-d,n=o+h(),r=s+h();o+=h(),s+=h(),u=n,d=r,f=o,p=s,i.push({type:`C`,c1x:e,c1y:t,c2x:n,c2y:r,x:o,y:s});break}case`Q`:{let e=h(),t=h(),n=h(),r=h(),a=O(o,s,e,t,n,r);i.push(a),f=e,p=t,u=a.c2x,d=a.c2y,o=n,s=r;break}case`q`:{let e=o+h(),t=s+h(),n=o+h(),r=s+h(),a=O(o,s,e,t,n,r);i.push(a),f=e,p=t,u=a.c2x,d=a.c2y,o=n,s=r;break}case`T`:{let e=2*o-f,t=2*s-p,n=h(),r=h(),a=O(o,s,e,t,n,r);i.push(a),f=e,p=t,u=a.c2x,d=a.c2y,o=n,s=r;break}case`t`:{let e=2*o-f,t=2*s-p,n=o+h(),r=s+h(),a=O(o,s,e,t,n,r);i.push(a),f=e,p=t,u=a.c2x,d=a.c2y,o=n,s=r;break}case`Z`:case`z`:i.push({type:`Z`}),o=c,s=l,u=o,d=s,f=o,p=s;break;case``:a++;break;default:throw Error(`Unsupported SVG path command: ${m}`)}return i}function Se(e,t=1,n=1){let r=0;for(let t of e)r+=1,t.type===`M`||t.type===`L`?r+=8:t.type===`C`&&(r+=24);let i=new ArrayBuffer(r),a=new DataView(i),o=0;for(let r of e)switch(r.type){case`M`:a.setUint8(o++,1),a.setFloat32(o,r.x*t,!0),o+=4,a.setFloat32(o,r.y*n,!0),o+=4;break;case`L`:a.setUint8(o++,2),a.setFloat32(o,r.x*t,!0),o+=4,a.setFloat32(o,r.y*n,!0),o+=4;break;case`C`:a.setUint8(o++,4),a.setFloat32(o,r.c1x*t,!0),o+=4,a.setFloat32(o,r.c1y*n,!0),o+=4,a.setFloat32(o,r.c2x*t,!0),o+=4,a.setFloat32(o,r.c2y*n,!0),o+=4,a.setFloat32(o,r.x*t,!0),o+=4,a.setFloat32(o,r.y*n,!0),o+=4;break;case`Z`:a.setUint8(o++,0)}return new Uint8Array(i,0,o)}function Ce(e,{emitRegions:t=!0}={}){let n=[],r=[],i=[];for(let a of e){let e=[],o=[],s=-1,c=-1,l=0,u=0;for(let t of a)if(t.type===`M`){o.length>0&&(e.push(o),o=[]);let r=n.length;n.push({x:t.x,y:t.y,styleID:0}),s=r,c=r,l=t.x,u=t.y}else if(t.type===`L`){let e=n.length;n.push({x:t.x,y:t.y,styleID:0}),c>=0&&(o.push(r.length),r.push({start:{vertex:c,dx:0,dy:0},end:{vertex:e,dx:0,dy:0},isStraight:!0})),c=e,l=t.x,u=t.y}else if(t.type===`C`){let e=n.length;if(n.push({x:t.x,y:t.y,styleID:0}),c>=0){let n=t.c1x-l,i=t.c1y-u,a=t.c2x-t.x,s=t.c2y-t.y;o.push(r.length),r.push({start:{vertex:c,dx:n,dy:i},end:{vertex:e,dx:a,dy:s},isStraight:n===0&&i===0&&a===0&&s===0})}c=e,l=t.x,u=t.y}else if(t.type===`Z`){if(c>=0&&c!==s){let e=n[c],t=n[s],i=e.x-t.x,a=e.y-t.y;if(i*i+a*a<1e-4){let e=r[r.length-1];e&&e.end.vertex===c&&(e.end.vertex=s,n.pop())}else o.push(r.length),r.push({start:{vertex:c,dx:0,dy:0},end:{vertex:s,dx:0,dy:0},isStraight:!0})}s>=0&&(c=s,l=n[s].x,u=n[s].y)}o.length>0&&e.push(o),t&&e.length>0&&i.push({windingRule:`NONZERO`,styleID:0,loops:e})}return we({vertices:n,segments:r,regions:i})}function we(e){let t=0;for(let n of e.regions){t+=8;for(let e of n.loops)t+=4+e.length*4}let n=12+e.vertices.length*12+e.segments.length*28+t,r=new ArrayBuffer(n),i=new DataView(r),a=0;i.setUint32(a,e.vertices.length,!0),a+=4,i.setUint32(a,e.segments.length,!0),a+=4,i.setUint32(a,e.regions.length,!0),a+=4;for(let t of e.vertices)i.setUint32(a,t.styleID,!0),a+=4,i.setFloat32(a,t.x,!0),a+=4,i.setFloat32(a,t.y,!0),a+=4;for(let t of e.segments)i.setUint32(a,0,!0),a+=4,i.setUint32(a,t.start.vertex,!0),a+=4,i.setFloat32(a,t.start.dx,!0),a+=4,i.setFloat32(a,t.start.dy,!0),a+=4,i.setUint32(a,t.end.vertex,!0),a+=4,i.setFloat32(a,t.end.dx,!0),a+=4,i.setFloat32(a,t.end.dy,!0),a+=4;for(let t of e.regions){let e=t.styleID<<1|t.windingRule===`NONZERO`;i.setUint32(a,e,!0),a+=4,i.setUint32(a,t.loops.length,!0),a+=4;for(let e of t.loops){i.setUint32(a,e.length,!0),a+=4;for(let t of e)i.setUint32(a,t,!0),a+=4}}return new Uint8Array(r,0,a)}function k(e){if(e?.length)return JSON.parse(JSON.stringify(e))}function Te(e){if(Array.isArray(e.commands)&&e.commands.length>0)return e.commands.map(e=>({...e}));if(e.svgPath)return xe(e.svgPath);throw Error(`Vector geometry input requires either svgPath or commands`)}function Ee(e,t){let n=e.message?.blobs??(e.message.blobs=[]),r=t.normalizedWidth??t.width,i=t.normalizedHeight??t.height,a=r===0?1:t.width/r,o=i===0?1:t.height/i,s=(t.fillPaths??[]).map(Te),c=(t.strokePaths??[]).map(Te);if(s.length===0&&c.length===0)throw Error(`Vector payload requires at least one fill or stroke path`);let l=[];for(let e=0;e<s.length;e++){let r=Se(s[e],a,o);n.push({bytes:r});let i=t.fillPaths?.[e];l.push({windingRule:i?.windingRule??`NONZERO`,commandsBlob:n.length-1,styleID:i?.styleID??0})}let u=[];for(let e=0;e<c.length;e++){let r=Se(c[e],a,o);n.push({bytes:r});let i=t.strokePaths?.[e];u.push({windingRule:i?.windingRule??`NONZERO`,commandsBlob:n.length-1,styleID:i?.styleID??0})}let d=Ce([...s,...c]);return n.push({bytes:d}),{fillGeometry:l,strokeGeometry:u,vectorData:{vectorNetworkBlob:n.length-1,normalizedSize:{x:r,y:i},...k(t.styleOverrideTable)?.length?{styleOverrideTable:k(t.styleOverrideTable)}:{}}}}var De=`@imgly/figma-exporter`,Oe=`0.2.1`;function ke(e,{fileName:t,thumbnail:n}={}){let r=ge(e);return ve({canvasFig:_e({...r,messageCompressed:ae().compress(r.messageRaw)}),meta:{...e.meta,file_name:t??e.meta?.file_name},thumbnail:n??e.thumbnail,images:e.images})}const Ae={TEXT_EMPTY_PADDED:{severity:`info`,template:`Empty text was written as a single space; Figma rejects an empty character string.`},IMAGE_EMPTY:{severity:`warning`,template:`Image paint bytes are empty; the fill references a zero-byte image.`},IMAGE_SIZE_UNKNOWN:{severity:`warning`,template:`Image header gave no pixel size; Figma paints such a fill black.`},UNSUPPORTED_BLOCK_TYPE:{severity:`warning`,template:`CE.SDK block type has no .fig equivalent; the block was skipped.`},BLOCK_RASTERIZED:{severity:`info`,template:`Block has no native .fig form; its CE.SDK render was written as an image fill.`},BLOCK_RENDER_FAILED:{severity:`warning`,template:`CE.SDK could not render the block; an empty node was written in its place.`},PAINT_APPROXIMATED:{severity:`warning`,template:`Fill has no exact .fig paint; the closest paint type was written.`},EFFECT_UNSUPPORTED:{severity:`warning`,template:`Effect has no .fig equivalent; a graphic carrying it is written as its render, any other block loses it.`},BLEND_MODE_APPROXIMATED:{severity:`warning`,template:`Blend mode has no .fig equivalent; written as NORMAL.`},VECTOR_PATH_UNSUPPORTED:{severity:`warning`,template:`Path uses commands the .fig vector encoder cannot express; the shape was rasterized.`},VECTOR_PATH_EMPTY:{severity:`warning`,template:`Shape carries no path data; an empty node was written where it sits, as the block itself draws nothing.`},TEXT_RUNS_FLATTENED:{severity:`warning`,template:`A text run property has no .fig per-run field; the paragraph value was applied to the whole string.`},FONT_NAME_UNVERIFIED:{severity:`warning`,template:`Font family came from the design rather than from the font file; Figma resolves fonts by name and may not know this one.`},FONT_UNRESOLVED:{severity:`warning`,template:`Typeface has no known Figma font name; the family name was written as-is and Figma may substitute.`},BLOCK_OFF_SCREEN:{severity:`info`,template:`Block is not on screen at the scene's playhead; a .fig holds no timeline, so it was skipped.`},METADATA_RESTORED:{severity:`info`,template:`Figma data preserved as x-figma metadata was restored onto the node.`},METADATA_INVALID:{severity:`warning`,template:`x-figma metadata could not be parsed and was ignored for this block.`}},A=class extends v{constructor(){super(Ae)}};function je(e){return Pe(e)??Fe(e)??Ie(e)??Le(e)}const Me=(e,t)=>e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3],j=(e,t)=>e[t]|e[t+1]<<8,Ne=(e,t)=>(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0;function Pe(e){if(!(e.length<24||e[0]!==137||e[1]!==80||e[2]!==78||e[3]!==71))return{x:Me(e,16),y:Me(e,20)}}function Fe(e){if(e.length<4||e[0]!==255||e[1]!==216)return;let t=2;for(;t+8<e.length;){if(e[t]!==255){t++;continue}let n=e[t+1];if(n>=192&&n<=207&&n!==196&&n!==200&&n!==204)return{x:e[t+7]<<8|e[t+8],y:e[t+5]<<8|e[t+6]};t+=n===216||n>=208&&n<=217?2:2+(e[t+2]<<8|e[t+3])}}function Ie(e){if(!(e.length<10||e[0]!==71||e[1]!==73||e[2]!==70))return{x:j(e,6),y:j(e,8)}}function Le(e){if(e.length<30||e[0]!==82||e[1]!==73||e[2]!==70||e[3]!==70||e[8]!==87||e[9]!==69||e[10]!==66||e[11]!==80)return;let t=String.fromCharCode(e[12],e[13],e[14],e[15]);if(t===`VP8 `)return{x:j(e,26)&16383,y:j(e,28)&16383};if(t===`VP8L`){let t=Ne(e,21);return{x:(t&16383)+1,y:(t>>14&16383)+1}}if(t===`VP8X`)return{x:(e[24]|e[25]<<8|e[26]<<16)+1,y:(e[27]|e[28]<<8|e[29]<<16)+1}}const M=(e,t)=>t<e.length?e.charCodeAt(t)-33:0,Re=e=>String.fromCharCode(33+e);function ze(e=``,t){return N(e,t,t===void 0)}function N(e,t,n){if(t!==void 0){if(e>=t)throw Error(`position: '${e}' is not below '${t}'`);let r=0;for(;r<t.length&&M(e,r)===M(t,r);)r++;if(r===t.length)throw Error(`position: no room before '${t}'`);if(r>0)return t.slice(0,r)+N(e.slice(r),t.slice(r),n)}let r=M(e,0),i=t===void 0?94:M(t,0);return i-r>1?Re(n?r+1:Math.round((r+i)/2)):t!==void 0&&t.length>1?t[0]:Re(r)+N(e.slice(1),void 0,n)}const P=(e,t,n,r,i,a)=>({m00:e+0,m01:t+0,m02:n+0,m10:r+0,m11:i+0,m12:a+0}),F=P(1,0,0,0,1,0),I=(e,t)=>P(e.m00*t.m00+e.m01*t.m10,e.m00*t.m01+e.m01*t.m11,e.m00*t.m02+e.m01*t.m12+e.m02,e.m10*t.m00+e.m11*t.m10,e.m10*t.m01+e.m11*t.m11,e.m10*t.m02+e.m11*t.m12+e.m12);function L(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}function R(e,...t){for(let n of t)if(n!==void 0&&!Number.isFinite(n))throw Error(`${e}: ${n} is not a finite number`)}const Be=e=>Array.from(e),z=e=>({value:e,units:`PERCENT`});function Ve(e){let t=e=>e.replace(/\s+/g,``);return{family:e.family,style:e.style,postscript:e.postscript||`${t(e.family)}-${t(e.style)}`}}function He(e){return R(`text style`,e.fontSize,e.letterSpacing?.value,e.lineHeight?.value),L({fontName:e.font&&Ve(e.font),fontSize:e.fontSize,fillPaints:e.fills,textDecoration:e.decoration,textCase:e.textCase,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,hyperlink:e.hyperlink===void 0?void 0:{url:e.hyperlink}})}const Ue=[`fontName`,`fontSize`,`fillPaints`,`textDecoration`,`textCase`,`letterSpacing`,`lineHeight`,`hyperlink`];function We(e,t){R(`text`,e.paragraphSpacing,e.paragraphIndent);let n=e.characters;n===``&&(n=` `,t?.emit(`TEXT_EMPTY_PADDED`));let r=Be(n).length,i=(e.runs??[]).map(e=>({...e,fields:He(e.style)}));for(let e of i)if(e.start<0||e.end>r||e.start>e.end)throw Error(`text: run ${e.start}..${e.end} is outside 0..${r}`);let a=/* @__PURE__ */ new Map,o=Array.from({length:r},(e,t)=>{let n={};for(let e of i)e.start<=t&&t<e.end&&Object.assign(n,e.fields);let r=JSON.stringify(Ue.map(e=>n[e]));return Object.keys(n).length===0?0:(a.has(r)||a.set(r,{styleID:a.size+1,...n}),a.get(r).styleID)});return L({...He(e),fontSize:e.fontSize??12,fontName:Ve(e.font??{family:`Inter`,style:`Regular`}),textAlignHorizontal:e.alignHorizontal??`LEFT`,textAlignVertical:e.alignVertical??`TOP`,textAutoResize:(e.autoResize??`NONE`)===`NONE`?void 0:e.autoResize,paragraphSpacing:e.paragraphSpacing||void 0,paragraphIndent:e.paragraphIndent||void 0,textData:L({characters:n,characterStyleIDs:a.size>0?o:void 0,styleOverrideTable:a.size>0?[...a.values()]:void 0})})}function Ge(e,{size:t,paths:n,strokePaths:r=[]}){let i=[],a=e=>(e.fills&&i.push({styleID:i.length+1,fillPaints:e.fills}),{svgPath:e.d,windingRule:e.windingRule??`NONZERO`,styleID:e.fills?i.length:0}),o=Ee(e,{width:t.x,height:t.y,fillPaths:n.map(a),strokePaths:r.map(a)});return{...o,vectorData:{...o.vectorData,...i.length?{styleOverrideTable:i}:{}}}}function Ke({x:e=0,y:t=0,rotation:n=0,flipX:r,flipY:i},a,o){let s=Math.cos(n),c=Math.sin(n),l=r?-1:1,u=i?-1:1,d=r?a:0,f=i?o:0;return P(s*l,-c*u,e+s*d-c*f,c*l,s*u,t+c*d+s*f)}var qe=class{constructor(e=new A){g(this,`doc`,be()),g(this,`logger`,void 0),g(this,`document`,{sessionID:0,localID:0}),g(this,`page`,{sessionID:0,localID:1}),g(this,`localID`,1),g(this,`records`,/* @__PURE__ */ new Map),g(this,`children`,/* @__PURE__ */ new Map),this.logger=e;for(let e of this.doc.message.nodeChanges)this.track(e)}childrenOf(e){return this.children.get(B(e))??[]}addPage(e,t){return this.push({parent:this.document,before:t,name:e},`CANVAS`,{backgroundColor:{r:.9607843,g:.9607843,b:.9607843,a:1},backgroundOpacity:1,backgroundEnabled:!0})}addFrame(e){return this.shape(e,`FRAME`,{frameMaskDisabled:!(e.clipsContent??!0),...H(e.cornerRadius)})}addGroup(e){return this.shape({...e,blendMode:e.blendMode??`PASS_THROUGH`},`GROUP`,{})}addRect(e){return this.shape(e,`ROUNDED_RECTANGLE`,H(e.cornerRadius))}addLine(e){return this.shape(e,`LINE`,{})}addEllipse(e){return this.shape(e,`ELLIPSE`,L({arcData:e.arc}))}addPolygon(e){return this.shape(e,`REGULAR_POLYGON`,{count:e.count})}addStar(e){return this.shape(e,`STAR`,{count:e.count,starInnerScale:e.innerScale})}addText(e){return this.shape(e,`TEXT`,We({...e,fills:void 0},this.logger))}addVector(e){return this.shape(e,`VECTOR`,Ge(this.doc,{...e,size:{x:e.width,y:e.height}}))}addComponent(e){return this.shape(e,`SYMBOL`,{frameMaskDisabled:!(e.clipsContent??!0),...H(e.cornerRadius)})}addInstance(e){if(this.records.get(B(e.component))?.type!==`SYMBOL`)throw Error(`addInstance: component is not a SYMBOL in this document`);return this.shape(e,`INSTANCE`,{symbolData:{symbolID:e.component}})}addImage(e){e.length===0&&this.logger.emit(`IMAGE_EMPTY`);let t=d(e),n=f(t);this.doc.images.set(n,e);let r=je(e);return!r&&e.length>0&&this.logger.emit(`IMAGE_SIZE_UNKNOWN`,{bytes:e.length}),{hash:t,name:n,size:r}}shape(e,t,n){if(R(`${t} "${e.name}"`,e.width,e.height,e.x,e.y,e.rotation,e.opacity,e.strokeWeight),e.width<0||e.height<0)throw Error(`${t} "${e.name}": size must not be negative`);return this.push(e,t,{visible:e.visible??!0,locked:e.locked||void 0,opacity:e.opacity??1,blendMode:e.blendMode??`NORMAL`,size:{x:e.width,y:e.height},transform:this.placement(e),fillPaints:e.fills??[],strokePaints:e.strokes,strokeWeight:e.strokeWeight??0,strokeAlign:e.strokeAlign??`CENTER`,strokeJoin:e.strokeJoin??`MITER`,miterLimit:e.miterLimit,strokeCap:e.strokeCap??`NONE`,dashPattern:e.dashPattern,effects:e.effects,...n})}placement(e){return e.transform??Ke(e,e.width,e.height)}push({parent:e,before:t,name:n,extra:r},i,a){let o=this.childrenOf(e);if(!this.records.has(B(e)))throw Error(`${i} "${n}": parent ${B(e)} is not in the document`);let s=t===void 0?o.length:o.findIndex(e=>B(e.guid)===B(t));if(s<0)throw Error(`${i} "${n}": 'before' ${B(t)} is not a child of ${B(e)}`);let c=ze(s>0?V(o[s-1]):``,o[s]&&V(o[s])),l={sessionID:1,localID:this.localID++},u=L({...r,guid:l,phase:`CREATED`,parentIndex:{guid:e,position:c},type:i,name:n,...a}),d=this.doc.message.nodeChanges;return d.splice(t===void 0?d.length:d.indexOf(o[s]),0,u),this.track(u),l}track(e){this.records.set(B(e.guid),e);let t=e.parentIndex;if(!t)return;let n=this.children.get(B(t.guid))??[];n.push(e),n.sort((e,t)=>V(e)<V(t)?-1:1),this.children.set(B(t.guid),n)}};const B=e=>`${e.sessionID}:${e.localID}`,V=e=>e.parentIndex.position;function H(e){if(e===void 0)return{};let[t,n,r,i]=typeof e==`number`?[e,e,e,e]:e;return R(`cornerRadius`,t,n,r,i),{cornerRadius:t,rectangleTopLeftCornerRadius:t,rectangleTopRightCornerRadius:n,rectangleBottomRightCornerRadius:r,rectangleBottomLeftCornerRadius:i,rectangleCornerRadiiIndependent:t!==n||n!==r||r!==i}}const U=(e,t)=>({type:e,opacity:t.opacity??1,visible:t.visible??!0,blendMode:t.blendMode??`NORMAL`});function W(e,t={}){return R(`solidPaint`,e.r,e.g,e.b,e.a,t.opacity),{...U(`SOLID`,{...t,opacity:(t.opacity??1)*e.a}),color:{...e,a:1}}}function Je(e,t,n=[{x:0,y:.5},{x:1,y:.5}],r={}){if(t.length===0)throw Error(`gradientPaint: at least one stop is required`);return{...U(`GRADIENT_${e}`,r),stops:t,transform:Ye(e,n)}}function Ye(e,[t,n,r]){let i={x:n.x-t.x,y:n.y-t.y},a=r??{x:t.x-i.y/2,y:t.y+i.x/2},o={x:a.x-t.x,y:a.y-t.y};return Xe(e===`LINEAR`?{m00:i.x,m01:2*o.x,m02:t.x-o.x,m10:i.y,m11:2*o.y,m12:t.y-o.y}:{m00:2*i.x,m01:2*o.x,m02:t.x-i.x-o.x,m10:2*i.y,m11:2*o.y,m12:t.y-i.y-o.y})}function Xe({m00:e,m01:t,m02:n,m10:r,m11:i,m12:a}){let o=e*i-t*r;if(!(Math.abs(o)>1e-12))throw Error(`gradientTransform: handles are degenerate`);return P(i/o,-t/o,(t*a-i*n)/o,-r/o,e/o,(r*n-e*a)/o)}function G(e,t={}){R(`imagePaint`,t.scale,t.rotation,t.originalSize?.x,t.originalSize?.y);let n={hash:e.hash,name:e.name};return L({...U(`IMAGE`,t),image:n,imageThumbnail:n,imageScaleMode:t.scaleMode??`FILL`,transform:t.transform??F,scale:t.scale,rotation:t.rotation,originalImageWidth:t.originalSize?.x??e.size?.x,originalImageHeight:t.originalSize?.y??e.size?.y})}const K=(e,t)=>`r`in t?t:e.editor.convertColorToColorSpace(t,`sRGB`),Ze=e=>e[0]===137&&e[1]===80&&e[2]===78&&e[3]===71||e[0]===255&&e[1]===216&&e[2]===255||e[0]===71&&e[1]===73&&e[2]===70&&e[3]===56||e[0]===82&&e[1]===73&&e[2]===70&&e[3]===70&&e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80;async function Qe(e,t){let n=await y(e,t);return n&&(Ze(n)?n:void 0)}const q=1e-9;function $e(e,t,{width:n,height:r}){let i={x:t.x-e.x,y:t.y-e.y},a=i.x*i.x*n**4+i.y*i.y*r**4;if(n<q||r<q||a<q)return[e,t];let o=(i.x*i.x*n*n+i.y*i.y*r*r)/a;return[e,{x:e.x+o*i.x*n*n,y:e.y+o*i.y*r*r}]}function et(e,t,{width:n,height:r}){let i=t*Math.min(n,r);return[e,{x:e.x+i/n,y:e.y},{x:e.x,y:e.y+i/r}]}const tt=e=>[e,{x:e.x+.5,y:e.y},{x:e.x,y:e.y+.5}];function nt({scaleX:e,scaleY:t,translationX:n,translationY:r}){if(e>q&&t>q)return P(1/e,0,-n/e,0,1/t,-r/t)}const rt={Cover:`FILL`,Contain:`FIT`,Crop:`STRETCH`};function it(e,t,n,r){let i=e.block.getContentFillMode(t);if(i!==`Crop`)return G(n,{scaleMode:rt[i]});let a=e.block,o=a.getCropRotation(t)===0?nt({scaleX:a.getCropScaleX(t),scaleY:a.getCropScaleY(t),translationX:a.getCropTranslationX(t),translationY:a.getCropTranslationY(t)}):void 0;return o||r.emit(`PAINT_APPROXIMATED`,{block:t,reason:`rotated-or-degenerate-crop`}),o?G(n,{scaleMode:`STRETCH`,transform:o}):G(n,{scaleMode:`FILL`})}function at(e,t,n,r,i){let a=e.block,o=a.getType(n).replace(`//ly.img.ubq/fill/`,``);if(o===`color`)return W(K(e,a.getColor(n,`fill/color/value`)));if(!o.startsWith(`gradient/`)){i.emit(`PAINT_APPROXIMATED`,{block:t,fill:o,reason:`no .fig paint form; left unfilled`});return}let s=e=>({x:a.getFloat(n,`${e}X`),y:a.getFloat(n,`${e}Y`)}),c=a.getGradientColorStops(n,`fill/gradient/colors`).map(t=>({color:K(e,t.color),position:t.stop})),[l,u]=o===`gradient/linear`?[`LINEAR`,$e(s(`fill/gradient/linear/startPoint`),s(`fill/gradient/linear/endPoint`),r)]:o===`gradient/radial`?[`RADIAL`,et(s(`fill/gradient/radial/centerPoint`),a.getFloat(n,`fill/gradient/radial/radius`),r)]:[`ANGULAR`,tt(s(`fill/gradient/conical/centerPoint`))];try{return Je(l,c,u)}catch(e){return i.emit(`PAINT_APPROXIMATED`,{block:t,fill:o,reason:e.message}),W(c.length?c[c.length-1].color:{r:0,g:0,b:0,a:0})}}function J({x:e,y:t,rotation:n,flipX:r,flipY:i}){let a=Math.cos(n),o=Math.sin(n),s=r?-1:1,c=i?-1:1;return P(a*s,-o*c,e,o*s,a*c,t)}const ot=(e,t)=>I(Xe(e),t),Y=(e,t,n)=>({x:e.m00*t+e.m01*n+e.m02,y:e.m10*t+e.m11*n+e.m12});function st(e,t){let n=e.filter(e=>e.at!==void 0),r=e.reduce((e,t)=>t.at?e:Math.min(e,t.bounds?.top??0),0),i=n.length?Math.max(...n.map(e=>e.at.y+(e.bounds?.bottom??e.height)))+t-r:0,a=n.length?Math.min(...n.map(e=>e.at.x)):0;return e.map(({width:e,at:n})=>{if(n)return n;let r={x:a,y:i};return a+=e+t,r})}const ct={PassThrough:`PASS_THROUGH`,Normal:`NORMAL`,Darken:`DARKEN`,Multiply:`MULTIPLY`,LinearBurn:`LINEAR_BURN`,ColorBurn:`COLOR_BURN`,Lighten:`LIGHTEN`,Screen:`SCREEN`,LinearDodge:`LINEAR_DODGE`,ColorDodge:`COLOR_DODGE`,Overlay:`OVERLAY`,SoftLight:`SOFT_LIGHT`,HardLight:`HARD_LIGHT`,Difference:`DIFFERENCE`,Exclusion:`EXCLUSION`,Hue:`HUE`,Saturation:`SATURATION`,Color:`COLOR`,Luminosity:`LUMINOSITY`};function lt(e,t,n,r=!1){let i=e.block.getBlendMode(t),a=ct[i];a||n.emit(`BLEND_MODE_APPROXIMATED`,{block:t,blendMode:i});let o=a??`NORMAL`;return o===`PASS_THROUGH`&&!r?`NORMAL`:o}const ut={Center:`CENTER`,Inner:`INSIDE`,Outer:`OUTSIDE`},dt={Miter:`MITER`,Bevel:`BEVEL`,Round:`ROUND`},ft={Butt:`NONE`,Round:`ROUND`,Square:`SQUARE`};function pt(e,t,n){let r=e.block;if(!r.supportsStroke(t)||!r.isStrokeEnabled(t))return;let i=dt[r.getStrokeCornerGeometry(t)],a=r.getStrokeDashArray(t);return{strokes:[W(K(e,r.getStrokeColor(t)))],strokeWeight:r.getStrokeWidth(t)*n,strokeAlign:ut[r.getStrokePosition(t)],strokeJoin:i,miterLimit:i===`MITER`?64:void 0,strokeCap:ft[r.getStrokeStartCap(t)],dashPattern:a.length?a.map(e=>e*n):void 0}}function mt(e,t,n,r){let i=e.block,a=[];if(i.supportsDropShadow(t)&&i.isDropShadowEnabled(t)){let[o,s]=[i.getDropShadowBlurRadiusX(t)*r,i.getDropShadowBlurRadiusY(t)*r];o!==s&&n.emit(`EFFECT_UNSUPPORTED`,{block:t,effect:`dropShadow`,reason:`anisotropic-blur-radius`,approximatedWith:`x`}),a.push({type:`DROP_SHADOW`,visible:!0,blendMode:`NORMAL`,color:K(e,i.getDropShadowColor(t)),offset:{x:i.getDropShadowOffsetX(t)*r,y:i.getDropShadowOffsetY(t)*r},radius:o/1.517240893793259,spread:0,showShadowBehindNode:!1})}let o=i.supportsBlur(t)&&i.isBlurEnabled(t)?i.getBlur(t):null;if(o!=null&&i.isValid(o)){let e=i.getType(o);e===`//ly.img.ubq/blur/uniform`?a.push({type:`FOREGROUND_BLUR`,visible:!0,blendMode:`NORMAL`,radius:i.getFloat(o,`blur/uniform/intensity`)/.015714280685715894}):n.emit(`EFFECT_UNSUPPORTED`,{block:t,effect:e})}for(let r of X(e,t))n.emit(`EFFECT_UNSUPPORTED`,{block:t,effect:r});return a}function X(e,t){let n=e.block;return n.supportsEffects(t)?n.getEffects(t).filter(t=>n.isEffectEnabled(t)&&!ht(e,t)).map(e=>n.getType(e)):[]}function ht(e,t){let n=e.block,r=e=>{try{return n.getFloat(t,e)}catch{return}},i=n.findAllProperties(t),a=i.find(e=>e.endsWith(`/intensity`));return a!==void 0&&r(a)===0||n.getType(t)===`//ly.img.ubq/effect/adjustments`&&i.every(e=>(r(e)??0)===0)}const gt=/* @__PURE__ */ new Set([`fills`,`strokes`,`effects`,`transform`,`corners`,`text`]);function _t(e,t,n){let r={};for(let i of e.block.findAllMetadata(t)){if(!i.startsWith(`x-figma/`))continue;let a=i.slice(8);try{r[a]=JSON.parse(e.block.getMetadata(t,i))}catch{n.emit(`METADATA_INVALID`,{block:t,topic:a})}}let i=Object.keys(r).filter(e=>gt.has(e)),a=Object.keys(r).filter(e=>!gt.has(e));return i.length&&n.emit(`METADATA_RESTORED`,{block:t,topics:i,ignored:a}),r}function vt(e){let t=e??{};return Number.isFinite(t.x)&&Number.isFinite(t.y)?{x:t.x,y:t.y}:void 0}const yt=e=>vt(e?.absoluteBoundingBox);function bt(e){let t=e?.backgroundColor;if(t&&[`r`,`g`,`b`,`a`].every(e=>Number.isFinite(t[e])))return t}function xt(e){let t=e?.id;return typeof t==`string`?t:void 0}const St={GRADIENT_LINEAR:`LINEAR`,GRADIENT_RADIAL:`RADIAL`,GRADIENT_ANGULAR:`ANGULAR`,GRADIENT_DIAMOND:`DIAMOND`};function Z(e,t,n){let r={opacity:e.opacity,visible:e.visible,blendMode:e.blendMode};if(e.type===`SOLID`)return W(e.color,r);let i=r=>{t.emit(`PAINT_APPROXIMATED`,{...n,dropped:e.type,reason:r})};if(e.type in St)try{let t=(e.gradientStops??[]).map(e=>({color:e.color,position:e.position}));return Je(St[e.type],t,e.gradientHandlePositions,r)}catch(e){return i(e.message)}return e.type===`IMAGE`||e.type===`PATTERN`?i(`preserved paint has no bytes in the engine`):{opacity:1,visible:!0,blendMode:`NORMAL`,...e}}function Ct(e,t,n,r){if(!e)return t?[t]:[];let i=e.mapped,a=e.paints.map((e,a)=>a===i&&t?void 0:Z(e,n,r));if(i===null)t&&a.push(t);else if(t){let n=e.paints[i];a[i]=n?.type===t.type?{...t,blendMode:n.blendMode??t.blendMode}:t}else a[i]=void 0;return a.filter(e=>e!==void 0)}const wt={LINE_ARROW:`ARROW_LINES`,TRIANGLE_ARROW:`ARROW_EQUILATERAL`},Tt=/* @__PURE__ */ new Set([`NONE`,`ROUND`,`SQUARE`]);function Et(e,t,n,r){if(!e)return t??{};let i=e.strokes??[],a=i.map(e=>Z(e,n,r)),o=i.findLastIndex(e=>e.visible!==!1&&(e.type===`SOLID`||e.gradientStops?.length>0));o<0?t&&a.push(t.strokes[0]):a[o]=t?.strokes[0];let s=t?.strokeCap===`NONE`&&e.strokeCap&&!Tt.has(e.strokeCap)?wt[e.strokeCap]??e.strokeCap:t?.strokeCap,c=e.individualStrokeWeights,l=c&&t&&Math.abs(Math.max(c.top,c.right,c.bottom,c.left)-t.strokeWeight)<1e-6;return L({strokeWeight:e.strokeWeight,...t,strokes:a.filter(e=>e!==void 0),strokeCap:s,extra:l?Dt(c):void 0})}function Dt(e){return{borderStrokeWeightsIndependent:!0,borderTopWeight:e.top,borderRightWeight:e.right,borderBottomWeight:e.bottom,borderLeftWeight:e.left}}function Ot(e,t,n){if(!Array.isArray(e.strokes))return{};let r=e.strokes.map(e=>Z(e,t,n)).filter(e=>e!==void 0);if(r.length===0)return{};let i=e.individualStrokeWeights,a=i&&[i.top,i.right,i.bottom,i.left].every(Number.isFinite);return L({strokes:r,strokeWeight:Number.isFinite(e.strokeWeight)?e.strokeWeight:1,strokeAlign:e.strokeAlign===`OUTSIDE`?`OUTSIDE`:`CENTER`,strokeJoin:e.strokeJoin,strokeCap:wt[e.strokeCap]??e.strokeCap,dashPattern:e.strokeDashes,extra:a?Dt(i):void 0})}const kt={LAYER_BLUR:`FOREGROUND_BLUR`};function At({type:e=`INNER_SHADOW`,blurType:t,noiseSize:n,...r}){return L({visible:!0,...r,type:kt[e]??e,blurOpType:t===`PROGRESSIVE`?`PROGRESSIVE`:void 0,noiseSize:n===void 0?void 0:{x:n,y:n}})}function jt(e,t,n=!1){if(!e)return t;let r=e.map(At),i=[...t];for(let e of[`DROP_SHADOW`,`FOREGROUND_BLUR`]){let t=i.findIndex(t=>t.type===e),a=t<0?void 0:i.splice(t,1)[0];if(n&&e===`FOREGROUND_BLUR`&&!a)continue;let o=r.findIndex(t=>t?.type===e&&t.visible!==!1);if(o<0){a&&r.push(a);continue}let{spread:s,blendMode:c,showShadowBehindNode:l,radius:u}=r[o],d=e===`FOREGROUND_BLUR`&&a&&(a.radius??0)*.015714280685715894>=1-1e-6&&(u??0)>(a.radius??0);r[o]=a&&{...a,...L({spread:s,blendMode:c,showShadowBehindNode:l,radius:d?u:void 0})}}return[...r.filter(e=>e!==void 0),...i]}const Mt=e=>{let t=Math.atan2(Math.sin(e),Math.cos(e));return Math.abs(t)<1e-12?0:t};function Nt([[e,t,n],[r,i,a]],o,s){let c=Math.atan2(r,e),l=!1,u=e*i-r*t<0;return u&&Math.abs(Mt(c+Math.PI))<Math.abs(c)-1e-12&&([l,u,c]=[!0,!1,Mt(c+Math.PI)]),{x:n,y:a,width:o,height:s,rotation:c,flipX:l,flipY:u}}function Pt(e,t,n,r,i=.01){let a=e;if(!Array.isArray(a)||a.length!==2||!a.every(e=>Array.isArray(e)&&e.length===3&&e.every(Number.isFinite)))return;let o=J(Nt(a,n,r));return[[0,0],[n,0],[0,r]].every(([e,n])=>{let[r,a]=[Y(o,e,n),Y(t,e,n)];return Math.abs(r.x-a.x)<=i&&Math.abs(r.y-a.y)<=i})?P(a[0][0],a[0][1],a[0][2],a[1][0],a[1][1],a[1][2]):void 0}const Ft=e=>L({cornerSmoothing:e?.cornerSmoothing});function It(e){let t=e?.rectangleCornerRadii,n=e=>typeof e==`number`&&Number.isFinite(e)&&e>=0;return Array.isArray(t)&&t.length===4&&t.every(n)?t:n(e?.cornerRadius)?e?.cornerRadius:void 0}function Lt(e,t,n){if(!e)return{props:t};let r=e.style??{},i={...t,paragraphIndent:r.paragraphIndent};return r.textAlignHorizontal===`JUSTIFIED`&&t.alignHorizontal===`LEFT`&&(i.alignHorizontal=`JUSTIFIED`),e.characters===t.characters&&(i.runs=[...t.runs??[],...Rt(e,t)]),(r.textAutoResize===`WIDTH_AND_HEIGHT`||r.textAutoResize===`HEIGHT`)&&n?.height===`Auto`&&n.width===(r.textAutoResize===`WIDTH_AND_HEIGHT`?`Auto`:`Absolute`)&&(i.autoResize=r.textAutoResize),{props:i,extra:L({maxLines:r.maxLines,listSpacing:r.listSpacing,textTruncation:r.textTruncation,semanticWeight:r.semanticWeight,semanticItalic:r.semanticItalic})}}function Rt({style:e={},characterStyleOverrides:t=[],styleOverrideTable:n={}},r){let i=e=>r.runs?.find(t=>t.start<=e&&e<t.end)?.style.textCase??r.textCase??`ORIGINAL`,a=[];return Array.from(r.characters).forEach((r,o)=>{let s={...e,...n[t[o]??0]},c=typeof s.textCase==`string`&&s.textCase.startsWith(`SMALL_CAPS`)&&i(o)===`ORIGINAL`,l=L({hyperlink:s.hyperlink?.type===`URL`?s.hyperlink.url:void 0,textCase:c?s.textCase:void 0});if(Object.keys(l).length===0)return;let u=a.at(-1);u&&u.end===o&&JSON.stringify(u.style)===JSON.stringify(l)?u.end=o+1:a.push({start:o,end:o+1,style:l})}),a}const zt=/* @__PURE__ */ new Set([`Inter`]),Bt=e=>e.replace(/([a-z])([A-Z])/g,`$1 $2`);function Q(e,t){return e===`Overpass Mono`&&t===`Semi Bold`?`SemiBold`:zt.has(e)?Bt(t):t}const Vt=[16,1],Ht=[17,2],Ut=[`Thin`,`ExtraLight`,`UltraLight`,`Light`,`Regular`,`Book`,`Medium`,`SemiBold`,`DemiBold`,`Bold`,`ExtraBold`,`UltraBold`,`Black`,`Heavy`];function Wt(e,t){let n=Ut.find(t=>e.endsWith(` ${t}`));if(!n)return{family:e,style:t};let r=e.slice(0,-n.length-1),i=Ut.find(e=>t===e||t.startsWith(`${e} `));if(!i||i===`Regular`){let e=t.replace(/^Regular\s*/,``).trim();return{family:r,style:e?`${n} ${e}`:n}}return{family:r,style:t}}function Gt(e){try{let t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=String.fromCharCode(e[0],e[1],e[2],e[3])===`ttcf`?t.getUint32(12):0,r=t.getUint16(n+4),i=0;for(let a=0;a<r;a++){let r=n+12+a*16;if(String.fromCharCode(e[r],e[r+1],e[r+2],e[r+3])===`name`){i=t.getUint32(r+8);break}}if(!i)return;let a=t.getUint16(i+2),o=i+t.getUint16(i+4),s=/* @__PURE__ */ new Map;for(let n=0;n<a;n++){let r=i+6+n*12,a=t.getUint16(r),c=t.getUint16(r+6);if(!Vt.includes(c)&&!Ht.includes(c))continue;let l=o+t.getUint16(r+10),u=e.subarray(l,l+t.getUint16(r+8)),d=new TextDecoder(a===1?`latin1`:`utf-16be`).decode(u).trim();d&&!s.has(c)&&s.set(c,d)}let c=Vt.map(e=>s.get(e)).find(Boolean),l=Ht.map(e=>s.get(e)).find(Boolean);return c?Wt(c,l??`Regular`):void 0}catch{return}}const Kt={thin:`Thin`,extraLight:`ExtraLight`,light:`Light`,normal:`Regular`,medium:`Medium`,semiBold:`SemiBold`,bold:`Bold`,extraBold:`ExtraBold`,heavy:`Black`},qt={Normal:`ORIGINAL`,Uppercase:`UPPER`,Lowercase:`LOWER`,Titlecase:`TITLE`},Jt={Left:`LEFT`,Right:`RIGHT`,Center:`CENTER`,Auto:`LEFT`},Yt={Top:`TOP`,Bottom:`BOTTOM`,Center:`CENTER`},Xt=/* @__PURE__ */ new WeakMap,Zt=/* @__PURE__ */ new WeakMap;function Qt(e){let t=Zt.get(e);return t||Zt.set(e,t=/* @__PURE__ */ new Set),t}async function $t(e,t){if(!t)return;let n=Xt.get(e);return n||Xt.set(e,n=/* @__PURE__ */ new Map),n.has(t)||n.set(t,y(e,t).then(e=>e?Gt(e):void 0).catch(()=>void 0)),n.get(t)}async function en(e,t,n,r){let i=e.typeface.fonts.find(t=>(t.weight??`normal`)===e.fontWeight&&(t.style??`normal`)===e.fontStyle),a=e.resolvedFontFileUri,o=a;if(i?.uri&&a&&!e.typeface.fonts.some(e=>e.uri===a)){let e=r?.editor.getSettingString?.(`defaultEmojiFontFileUri`);(e?a===e:a.endsWith(`/emoji/NotoColorEmoji.ttf`))&&(o=i.uri)}let s=r&&await $t(r,o);if(s)return{family:s.family,style:Q(s.family,s.style)};let c=e.typeface.name;if(!c)n.emit(`FONT_UNRESOLVED`,{block:t,fontFileUri:o});else return r&&!Qt(n).has(c)&&(Qt(n).add(c),n.emit(`FONT_NAME_UNVERIFIED`,{block:t,family:c,fontFileUri:o})),{family:c,style:Q(c,i?.subFamily||`${Kt[e.fontWeight]}${e.fontStyle===`italic`?` Italic`:``}`)}}function tn({lines:e},t,n){let r=e.includes(`Underline`)?`UNDERLINE`:e.includes(`Strikethrough`)?`STRIKETHROUGH`:`NONE`,i=e.filter(e=>e!==`None`&&e.toUpperCase()!==r);return i.length&&n.emit(`TEXT_RUNS_FLATTENED`,{block:t,property:`textDecoration`,lost:i}),r}function nn(e,t,n,r,i){let a=`Pixel`,o=(()=>{try{return e.block.getTextFontSizes(t,{unit:a,from:n,to:r})}catch{return i.emit(`TEXT_RUNS_FLATTENED`,{block:t,property:`fontSize`,reason:`run range is not addressable; using the block`,from:n,to:r}),e.block.getTextFontSizes(t,{unit:a})}})();try{if(!e.block.getBool(t,`text/automaticFontSizeEnabled`))return o;let n=e.block.getFloat(t,`text/maxAutomaticFontSize`);return!Number.isFinite(n)||n<=0?o:o.map(e=>Math.min(e,n))}catch{return o}}async function rn(e,t,n){let r=e.block,i=r.getString(t,`text/text`),a=0,o=r.getTextRuns(t).map(r=>{let[i,o]=[a,a+r.text.length];a=o;let s=nn(e,t,i,o,n);return s.length>1&&n.emit(`TEXT_RUNS_FLATTENED`,{block:t,property:`fontSize`,from:i,to:o}),{run:r,fontSize:s[0]}}),s=[],c=0;for(let{run:r,fontSize:i}of o){let a=L({font:await en(r,t,n,e),fontSize:i,decoration:tn(r.textDecoration,t,n),textCase:qt[r.textCase],letterSpacing:r.kerning===0?void 0:z(r.kerning*100)}),o=Array.from(r.text).length;s.push({start:c,end:c+o,style:a,color:K(e,r.color)}),c+=o}let l=s[0],{letterSpacing:u,...d}=l?.style??{},f=s.filter(e=>e.style.letterSpacing||JSON.stringify([e.style,e.color])!==JSON.stringify([l.style,l.color])).map(({start:e,end:t,style:n,color:r})=>({start:e,end:t,style:{...n,fills:[W(r)]}})),p=e=>e===void 0||!Number.isFinite(e)?e:Math.abs(e-Math.round(e))<1e-4?Math.round(e):e,m=p(d.fontSize);return{characters:i,...d,fontSize:m,fills:l?[W(l.color)]:[],runs:f,letterSpacing:z(p(r.getFloat(t,`text/letterSpacing`)*100)),lineHeight:z(p(r.getFloat(t,`text/lineHeight`)*100)),paragraphSpacing:m===void 0?void 0:p(r.getFloat(t,`text/paragraphSpacing`)*m),alignHorizontal:Jt[r.getEnum(t,`text/horizontalAlignment`)],alignVertical:Yt[r.getEnum(t,`text/verticalAlignment`)],autoResize:`NONE`}}function an(e,t){return t?e*.02:0}function on(e,t,n,r){if(!r)return 0;let i=e.block.getFloat(t,`text/letterSpacing`);return i>0&&n?i*n:0}function sn(e,t){try{return e.block.getWidthMode(t)===`Auto`}catch{return!1}}async function cn(e,t={}){await ie();let n=new A,r=new qe(n),i=e.scene.get(),a=dn(e,i),o=un(e,i),s=re(e,{type:`fig`,format:`application/octet-stream`,producer:`${De}@${Oe}`,block:i??-1}),c;try{let[l]=e.scene.getPages();l!==void 0&&e.block.getFrameX(l),await new _n(e,r,n,a,s).scene(i,t.fileName).catch(t=>{throw ln(e,i,o,a,t)??t});let u=ln(e,i,o,a);if(u)throw u;c=ke(r.doc,t)}catch(e){throw s.cancel(),e}return s.end(c.byteLength,0),{fig:c,logger:n}}function ln(e,t,n,r,i){let a=e.scene.get()===t?un(e,t)===n?dn(e,t)===r?void 0:`The scene's design unit or resolution changed during the export.`:`Layers were added, deleted or rearranged during the export.`:`The editor loaded another scene during the export.`;return a===void 0?void 0:Error(`${a} Export it again.`,{cause:i})}function un(e,t){let n=t=>`${t}(${e.block.getChildren(t).map(n).join(`,`)})`;return t===null?``:n(t)}function dn(e,t){if(t===null)return 1;let n=e.scene.getDesignUnit(),r=e.block.getFloat(t,`scene/dpi`);return n===`Millimeter`?r/25.4:n===`Inch`?r:1}function $(e,t){let n=e.block,r=e=>{try{if(n.getBool(e,`alwaysOnBottom`))return-1;if(n.getBool(e,`alwaysOnTop`))return 1}catch{}return 0};return n.getChildren(t).map((e,t)=>({block:e,index:t,rank:r(e)})).sort((e,t)=>e.rank-t.rank||e.index-t.index).map(({block:e})=>e)}const fn={M:`xy`,L:`xy`,T:`xy`,H:`x`,V:`y`,C:`xyxyxy`,S:`xyxy`,Q:`xyxy`,A:`rrfffxy`,Z:``};function pn(e,t,n){let r=`xy`,i=0;return e.replace(/[a-z]|[-+]?(?:\d*\.\d+|\d+\.?)(?:e[-+]?\d+)?/gi,e=>{if(/^[a-z]$/i.test(e))return r=fn[e.toUpperCase()]??`xy`,i=0,e;let a=r===``?`x`:r[i++%r.length];return String(a===`x`?Number(e)*t:a===`y`?Number(e)*n:Number(e))})}function mn(e,t){try{let n=e.block.getSourceSet(t,`fill/image/sourceSet`);if(n.length>0)return n[0].uri}catch{}return e.block.getString(t,`fill/image/imageFileURI`)}const hn=/* @__PURE__ */ new Set([`group`,`page`,`scene`,`stack`]),gn=/* @__PURE__ */ new Set([`//ly.img.ubq/shape/polygon`,`//ly.img.ubq/shape/star`,`//ly.img.ubq/shape/vector_path`]);var _n=class{constructor(e,t,n,r,i){this.engine=e,this.b=t,this.logger=n,this.px=r,this.transaction=i,g(this,`offset`,void 0),g(this,`playhead`,0),g(this,`pageDuration`,1/0),g(this,`timeline`,!1)}async scene(e,t){let n=this.b.page;try{this.timeline=e!==null&&this.engine.block.getEnum(e,`scene/mode`)===`Video`}catch{this.timeline=!1}let r=e!==null&&this.engine.block.getName(e)||t||`Page 1`,i=this.b.childrenOf(this.b.document).find(e=>e.guid.localID===n.localID);i.name=r;let a=this.engine.block,o=/* @__PURE__ */ new Set,s=!1,c,l=this.engine.scene.getPages().map((e,t)=>{let n=this.imported(e,`node`),r=yt(n),i=xt(n),l=r&&i!==void 0?JSON.stringify([i,r.x,r.y]):void 0,u=l!==void 0&&o.has(l)?void 0:r;l!==void 0&&o.add(l);let d=s?void 0:vt(this.imported(e,`outsideFrames`)),f=d||u?bt(this.imported(e,`canvas`)):void 0;c??=f,d&&(s=!0);let p=d!==void 0&&this.canUnwrapLoosePage(e,f),m=d&&!p?a.getChildren(e).reduce((e,t)=>Math.max(e,this.looseLayerOrder(t)??-1),-1):u&&this.canvasOrder(e);return{page:e,index:t,at:d??u,unwrap:p,paintOrder:m??2**53-1}});c&&(i.backgroundColor=c);let u=l.some(({at:e})=>e!==void 0)&&l.some(({at:e})=>e===void 0),d=st(l.map(({page:e,at:t})=>{let n=this.extent(e);return{...n,at:t,bounds:u?this.pageBounds(e,n.height):void 0}}),100),f=l.flatMap(({page:e,index:t,unwrap:n,paintOrder:r})=>n?this.looseLayers(e).map(({child:n,order:r})=>({page:e,index:t,child:n,order:r})):[{page:e,index:t,child:void 0,order:r}]),p;for(let{page:e,index:t,child:r}of f.sort((e,t)=>e.order-t.order)){let i=d[t];r===void 0?await this.page(e,t,n,i):(p!==e&&this.startPage(e,P(1,0,i.x,0,1,i.y)),await this.outsideFrameChild(e,r,n)),p=e}}canvasOrder(e){let t=this.imported(e,`canvasOrder`);return typeof t==`number`&&Number.isSafeInteger(t)&&t>=0?t:void 0}looseLayerOrder(e){let t=this.canvasOrder(e),n=this.engine.block;if(t!==void 0||n.getType(e)!==`//ly.img.ubq/group`)return t;let r=-1;for(let t of n.getChildren(e))r=Math.max(r,this.looseLayerOrder(t)??-1);return r<0?void 0:r}looseLayers(e){let t=/* @__PURE__ */ new Set,n=$(this.engine,e).map(e=>{let n=this.looseLayerOrder(e);return n===void 0||t.has(n)?{child:e,positioned:!1}:(t.add(n),{child:e,positioned:!0})}),r=[...t].sort((e,t)=>e-t),i=0,a=-1;return n.map(({child:e,positioned:t})=>(t&&(a=r[i++]),{child:e,order:a}))}canUnwrapLoosePage(e,t={r:1,g:1,b:1,a:1}){let n=this.engine.block;if(n.getBool(e,`clipped`)||n.getChildren(e).length===0||n.supportsStroke(e)&&n.isStrokeEnabled(e)||n.supportsDropShadow(e)&&n.isDropShadowEnabled(e)||!n.isFillEnabled(e))return!1;let r=n.supportsBlur(e)&&n.isBlurEnabled(e)?n.getBlur(e):null;if(r!=null&&n.isValid(r))return!1;let i=n.getBlendMode(e);if(i!==`PassThrough`&&i!==`Normal`)return!1;let a=n.getFill(e);if(a==null||!n.isValid(a)||n.getType(a)!==`//ly.img.ubq/fill/color`)return!1;let o=K(this.engine,n.getColor(a,`fill/color/value`));return[`r`,`g`,`b`,`a`].every(e=>Math.fround(o[e])===Math.fround(t[e]))}async outsideFrameChild(e,t,n){let r=this.b.childrenOf(n).length;if(await this.node(t,n),!this.engine.block.isVisible(e))for(let e of this.b.childrenOf(n).slice(r))e.visible=!1}pageBounds(e,t){let n=this.engine.block,r={top:0,bottom:t};if(!n.isVisible(e))return r;let i=new A,{bounds:a,effectReach:o}=this.paintedBounds(e,r,F,!0,i);if(n.getBool(e,`clipped`))return a;let s=({width:e,height:t},n)=>{let r=[0,t].flatMap(t=>[0,e].map(e=>Y(n,e,t).y));return{top:Math.min(...r),bottom:Math.max(...r)}},c=(e,t)=>{a.top=Math.min(a.top,e.top+t.top),a.bottom=Math.max(a.bottom,e.bottom+t.bottom)},l=(e,t,r)=>{if(!n.isVisible(e))return;let a=n.getType(e).replace(`//ly.img.ubq/`,``);if(a===`track`){for(let i of n.getChildren(e))l(i,t,r);return}if(a!==`group`&&a!==`graphic`&&a!==`text`)return;let o=this.box(e),u=J(o),d=r?ot(r.engine,u):u,f=Pt(this.imported(e,`transform`),d,o.width,o.height)??d,p=r?I(r.exported,f):f,m=this.paintedBounds(e,s(o,p),p,!1,i);if(c(m.bounds,t),a===`text`){let n=this.textBackgroundRect(e,{...o,transform:p});n?.transform&&c(s(n,n.transform),t)}if(a===`group`){let r={top:t.top+m.effectReach.top,bottom:t.bottom+m.effectReach.bottom};for(let t of n.getChildren(e))l(t,r,{engine:u,exported:p})}};for(let t of n.getChildren(e))l(t,o);return a}paintedBounds(e,t,n,r,i){let a=this.appearance(e,{node:r?this.imported(e,`node`):void 0,strokes:this.imported(e,`strokes`),effects:this.imported(e,`effects`)},r,i),o=a.strokeAlign===`OUTSIDE`?1:a.strokeAlign===`CENTER`?.5:0,s=e=>{let t=a.extra?.[e];return typeof t==`number`?t:a.strokeWeight??0},{m10:c,m11:l}=n,u=a.strokes?.some(e=>e.visible!==!1&&e.opacity>0&&(e.color?.a??1)>0),d=this.engine.block,f=a.miterLimit??1,p=0;if(!r&&u&&o>0&&a.strokeJoin===`MITER`&&Number.isFinite(f)&&f>1&&d.supportsShape(e)){let t=d.getShape(e);t!=null&&d.isValid(t)&&gn.has(d.getType(t))&&(p=o*(a.strokeWeight??0)*f*Math.hypot(c,l))}let m=e=>u?Math.max(p,o*(Math.abs(c)*s(e*c<0?`borderLeftWeight`:`borderRightWeight`)+Math.abs(l)*s(e*l<0?`borderTopWeight`:`borderBottomWeight`))):0,h=0,g=0,_=0;for(let e of a.effects){if(e.visible===!1)continue;if(e.type===`FOREGROUND_BLUR`){let t=`startRadius`in e?e.startRadius:void 0;_=Math.max(_,e.radius??0,typeof t==`number`?t:0)}if(e.type!==`DROP_SHADOW`||e.color?.a===0)continue;let t=Math.max(0,(e.radius??0)+(e.spread??0)),n=e.offset?.y??0;h=Math.min(h,n-t),g=Math.max(g,n+t)}let v={top:h-_,bottom:g+_};return{bounds:{top:t.top-m(-1)+v.top,bottom:t.bottom+m(1)+v.bottom},effectReach:v}}startPage(e,t){this.offset=t,this.playhead=(()=>{try{return this.engine.block.getPlaybackTime(e)}catch{return 0}})(),this.pageDuration=this.timeline?this.engine.block.getDuration(e):1/0,this.playhead=Math.min(this.playhead,this.pageDuration)}async page(e,t,n,r){this.startPage(e);let i=this.common(e,n,void 0,`Page ${t+1}`),a=$(this.engine,e),o=await this.pageBackground(e,a[0],i.size),s=o?void 0:await this.paint(e,i.size);s===`raster`&&this.logger.emit(`PAINT_APPROXIMATED`,{block:e,reason:`page fill has no .fig paint form`});let c=o?.fills??this.fills(e,i.preserved,s===`raster`?void 0:s),l=this.b.addFrame({...i,parent:n,clipsContent:this.engine.block.getBool(e,`clipped`),cornerRadius:It(i.preserved.node),extra:{...i.extra,...Ft(i.preserved.node)},fills:c,transform:Ke(r,i.width,i.height)});for(let e of a)e!==o?.block&&await this.node(e,l)}async pageBackground(e,t,n){if(t===void 0||this.imported(t,`role`)!==`page-background`)return;let r=this.engine.block;if(r.isFillEnabled(e)&&!this.isPageShadowFill(e)||r.getType(t)!==`//ly.img.ubq/graphic`||r.getName(t)!==`Image background`||!r.isVisible(t)||this.localPlaybackTime(t,this.playhead)===void 0||r.isTransformLocked(t)||!r.isFillEnabled(t))return;let i=r.getFill(t);if(i==null||!r.isValid(i)||r.getType(i)!==`//ly.img.ubq/fill/image`)return;let a=r.getBlendMode(t);if(a!==`PassThrough`&&a!==`Normal`)return;let o=r.supportsBlur(t)&&r.isBlurEnabled(t)?r.getBlur(t):null;if(r.isStrokeEnabled(t)||r.isDropShadowEnabled(t)||o!=null&&r.isValid(o)||X(this.engine,t).length>0||!r.supportsShape(t))return;let s=r.getShape(t);if(s==null||!r.isValid(s)||r.getType(s)!==`//ly.img.ubq/shape/rect`||[`TL`,`TR`,`BR`,`BL`].some(e=>r.getFloat(s,`shape/rect/cornerRadius${e}`)!==0))return;let c=this.box(t);if(c.x!==0||c.y!==0||c.width!==n.width||c.height!==n.height||c.rotation||c.flipX||c.flipY)return;let l=await this.paint(t,n);if(!l||l===`raster`)return;let u=_t(this.engine,t,this.logger);return{block:t,fills:this.fills(t,u,{...l,opacity:r.getOpacity(t)})}}isPageShadowFill(e){if(this.imported(e,`pageShadowFill`)!==!0)return!1;let t=this.engine.block,n=t.getFill(e);if(n==null||!t.isValid(n)||t.getType(n)!==`//ly.img.ubq/fill/gradient/linear`)return!1;let r=t.getGradientColorStops(n,`fill/gradient/colors`);return r.length>0&&r.every(({color:e})=>K(this.engine,e).a===0)}async node(e,t,n,r=this.playhead){let i=this.engine.block.getType(e).replace(`//ly.img.ubq/`,``),a=this.localPlaybackTime(e,r);if(a===void 0)this.logger.emit(`BLOCK_OFF_SCREEN`,{block:e,type:i});else if(i===`group`){let{preserved:r,size:i,...o}=this.common(e,t,n,`Group`),s=this.b.addGroup(o);for(let t of $(this.engine,e))await this.node(t,s,J(this.box(e)),a)}else if(i===`text`){let{preserved:r,size:i,...a}=this.common(e,t,n,`Text`),o=await rn(this.engine,e,this.logger);this.textBackground(e,a);let{props:s,extra:c}=this.attempt(e,`text`,()=>Lt(r.text,o,{width:this.engine.block.getWidthMode(e),height:this.engine.block.getHeightMode(e)}),{props:o}),l=sn(this.engine,e),u=an(a.width,l),d=s.alignHorizontal===`CENTER`?.5:+(s.alignHorizontal===`RIGHT`),f=-u*d,p=a.transform;this.b.addText({...a,...s,transform:p&&f!==0?{...p,m02:p.m02+f*p.m00,m12:p.m12+f*p.m10}:p,width:Math.ceil(a.width+u+on(this.engine,e,s.fontSize,l)),height:Math.ceil(a.height),fills:this.fills(e,r,s.fills[0]),extra:{...a.extra,...c}})}else if(i===`graphic`)await this.graphic(e,this.common(e,t,n,`Graphic`));else if(i===`track`)for(let r of $(this.engine,e))await this.node(r,t,n,a);else this.logger.emit(`UNSUPPORTED_BLOCK_TYPE`,{block:e,type:i})}localPlaybackTime(e,t){if(!this.timeline)return t;let n=this.engine.block,r=0,i=1/0;try{r=Math.max(0,n.getTimeOffset(e))}catch{}try{i=n.getDuration(e)}catch{}if(!Number.isFinite(r)||Number.isNaN(i))return t;let a=t-r,o=this.playhead-a+i;return a>=0&&(a<i||o>=this.pageDuration-1e-6)?a:void 0}textBackground(e,t){let n=this.textBackgroundRect(e,t);n&&this.b.addRect({...t,...n,name:`${t.name} background`,strokes:void 0,strokeWeight:void 0,dashPattern:void 0,effects:void 0})}textBackgroundRect(e,{width:t,height:n,transform:r}){let i=this.engine.block,a=t=>{try{return i.getFloat(e,t)*this.px}catch{return 0}};try{if(!i.getBool(e,`backgroundColor/enabled`))return}catch{return}let[o,s,c,l]=[a(`backgroundColor/paddingLeft`),a(`backgroundColor/paddingTop`),a(`backgroundColor/paddingRight`),a(`backgroundColor/paddingBottom`)],u=K(this.engine,i.getColor(e,`backgroundColor/color`));if(u.a===0)return;let d=a(`backgroundColor/cornerRadius`);return{transform:r&&{...r,m02:r.m02-o*r.m00-s*r.m01,m12:r.m12-o*r.m10-s*r.m11},width:t+o+c,height:n+s+l,cornerRadius:d||void 0,fills:[W(u)]}}async graphic(e,{preserved:t,size:n,...r}){let i=this.engine.block,a=i.supportsShape(e)?i.getShape(e):null,o=a!=null&&i.isValid(a)?i.getType(a).replace(`//ly.img.ubq/shape/`,``):void 0;if(a==null||o===void 0||X(this.engine,e).length>0)return this.raster(e,r);let s=await this.paint(e,n);if(!i.isValid(a))return this.graphic(e,{preserved:t,size:n,...r});if(s===`raster`)return this.raster(e,r);let c=this.fills(e,t,s);switch(o){case`rect`:this.b.addRect({...r,fills:c,cornerRadius:[`TL`,`TR`,`BR`,`BL`].map(e=>i.getFloat(a,`shape/rect/cornerRadius${e}`)*this.px)});return;case`line`:{if(s&&s.type!==`SOLID`)return this.raster(e,r);let t=r.transform;this.b.addLine({...r,transform:t&&{...t,m02:t.m02+t.m01*n.height,m12:t.m12+t.m11*n.height},fills:[],strokes:r.strokes??[],strokeWeight:r.strokeWeight??0,height:0});return}case`ellipse`:this.b.addEllipse({...r,fills:c});return;case`polygon`:this.b.addPolygon({...r,fills:c,count:i.getInt(a,`shape/polygon/sides`)});return;case`star`:this.b.addStar({...r,fills:c,count:i.getInt(a,`shape/star/points`),innerScale:i.getFloat(a,`shape/star/innerDiameter`)});return;case`vector_path`:{let t=i.getString(a,`shape/vector_path/path`);if(/[a]/i.test(t))return this.logger.emit(`VECTOR_PATH_UNSUPPORTED`,{block:e,reason:`arc`}),this.raster(e,r);if(!t){this.logger.emit(`VECTOR_PATH_EMPTY`,{block:e}),this.b.addRect({...r,fills:[],strokes:void 0,strokeWeight:void 0,dashPattern:void 0,effects:void 0});return}let o=e=>i.getFloat(a,`shape/vector_path/${e}`)>0?n[e]/i.getFloat(a,`shape/vector_path/${e}`):1,s=[{d:pn(t,o(`width`),o(`height`)),windingRule:i.getEnum(a,`shape/vector_path/fillRule`)===`EvenOdd`?`ODD`:`NONZERO`}];this.b.addVector({...r,fills:c,paths:s});return}default:return this.raster(e,r)}}async raster(e,t){let n={...t,opacity:1,strokes:void 0,strokeWeight:void 0,dashPattern:void 0,effects:void 0},r;try{let t=await this.engine.block.export(e,this.transaction.exportOptions({mimeType:`image/png`}));r=this.b.addImage(new Uint8Array(await t.arrayBuffer()))}catch(r){this.logger.emit(`BLOCK_RENDER_FAILED`,{block:e,name:t.name,reason:String(r?.message??r).trim()}),this.b.addRect({...n,fills:[]});return}this.logger.emit(`BLOCK_RASTERIZED`,{block:e,name:t.name}),this.b.addRect({...n,fills:[G(r)]})}async paint(e,t){let n=this.engine.block;if(!n.supportsFill(e)||!n.isFillEnabled(e))return;let r=n.getFill(e);if(r==null||!n.isValid(r))return;if(n.getType(r)!==`//ly.img.ubq/fill/image`)return at(this.engine,e,r,t,this.logger);let i=mn(this.engine,r),a=await Qe(this.engine,i);return a===null&&this.logger.emit(`PAINT_APPROXIMATED`,{block:e,reason:`image source unreadable; left unfilled`,uri:i}),a?it(this.engine,e,this.b.addImage(a),this.logger):a===null?void 0:`raster`}attempt(e,t,n,r,i=this.logger){try{return n()}catch(n){return i.emit(`METADATA_INVALID`,{block:e,topic:t,reason:n.message}),r}}fills(e,t,n){return this.attempt(e,`fills`,()=>Ct(t.fills,n,this.logger,{block:e}),n?[n]:[])}box(e){let t=this.engine.block,{width:n,height:r}=this.extent(e);return{x:t.getPositionX(e)*this.px,y:t.getPositionY(e)*this.px,width:n,height:r,rotation:t.getRotation(e),flipX:t.getFlipHorizontal(e),flipY:t.getFlipVertical(e)}}imported(e,t){let n=`x-figma/${t}`;if(this.engine.block.hasMetadata(e,n))try{return JSON.parse(this.engine.block.getMetadata(e,n))}catch{return}}extent(e){let t=this.engine.block,n=(t.getWidthMode(e)===`Percent`?t.getFloat(e,`lastFrame/width`):t.getWidth(e))*this.px,r=(t.getHeightMode(e)===`Percent`?t.getFloat(e,`lastFrame/height`):t.getHeight(e))*this.px;if(n>0&&r>0||t.getType(e)!==`//ly.img.ubq/group`)return{width:n,height:r};let i=t.getChildren(e);if(i.length===0)return{width:n,height:r};let a=1/0,o=1/0,s=-1/0,c=-1/0;for(let e of i){let n=this.extent(e),r=t.getPositionX(e)*this.px,i=t.getPositionY(e)*this.px;a=Math.min(a,r),o=Math.min(o,i),s=Math.max(s,r+n.width),c=Math.max(c,i+n.height)}return Number.isFinite(a)?{width:n>0?n:s-a,height:r>0?r:c-o}:{width:n,height:r}}offsetBy(e,t){return t||!this.offset?e:I(this.offset,e)}common(e,t,n,r){let i=this.engine.block,a=this.box(e),o=J(a),s=n?ot(n,o):o,c=_t(this.engine,e,this.logger),l=i.getType(e).replace(`//ly.img.ubq/`,``),u=this.appearance(e,c,l===`page`);return{parent:t,preserved:c,size:a,name:i.getName(e)||r,width:a.width,height:a.height,transform:this.offsetBy(this.attempt(e,`transform`,()=>Pt(c.transform,s,a.width,a.height),void 0)??s,n),opacity:i.findAllProperties(e).includes(`opacity`)?i.getOpacity(e):1,blendMode:lt(this.engine,e,this.logger,hn.has(l)),visible:i.isVisible(e),locked:i.isTransformLocked(e),...u,extra:{...Ft(c.corners),...u.extra}}}appearance(e,t,n,r=this.logger){let i=n?t.node:void 0,a=pt(this.engine,e,this.px),o=this.attempt(e,`strokes`,()=>!a&&i&&i.strokeAlign!==`INSIDE`?Ot(i,r,{block:e}):Et(t.strokes,a,r,{block:e}),a??{},r),s=mt(this.engine,e,r,this.px);return{...o,effects:this.attempt(e,`effects`,()=>jt(t.effects,s,n),s,r)}}};export{A as Logger,cn as exportFig};
@@ -0,0 +1,92 @@
1
+ {
2
+ "name": "@imgly/figma-exporter",
3
+ "version": "0.2.1",
4
+ "description": "Export CE.SDK scenes as Figma .fig files",
5
+ "keywords": [
6
+ "creative-editor-sdk",
7
+ "figma",
8
+ "export",
9
+ "design"
10
+ ],
11
+ "license": "SEE LICENSE IN LICENSE.md",
12
+ "author": {
13
+ "name": "IMG.LY GmbH",
14
+ "email": "support@img.ly",
15
+ "url": "https://img.ly"
16
+ },
17
+ "bugs": {
18
+ "email": "support@img.ly"
19
+ },
20
+ "homepage": "https://img.ly",
21
+ "type": "module",
22
+ "sideEffects": false,
23
+ "engines": {
24
+ "node": "^22.15.0 || >=23.8.0"
25
+ },
26
+ "main": "./dist/index.cjs",
27
+ "module": "./dist/index.js",
28
+ "browser": {
29
+ "fs/promises": false,
30
+ "url": false
31
+ },
32
+ "types": "./dist/index.d.ts",
33
+ "exports": {
34
+ ".": {
35
+ "import": {
36
+ "types": "./dist/index.d.ts",
37
+ "default": "./dist/index.js"
38
+ },
39
+ "require": {
40
+ "types": "./dist/index.d.cts",
41
+ "default": "./dist/index.cjs"
42
+ }
43
+ }
44
+ },
45
+ "files": [
46
+ "dist",
47
+ "README.md",
48
+ "CHANGELOG.md",
49
+ "LICENSE.md",
50
+ "THIRD_PARTY_NOTICES.md"
51
+ ],
52
+ "publishConfig": {
53
+ "access": "public"
54
+ },
55
+ "scripts": {
56
+ "clean": "rm -rf dist",
57
+ "build": "tsdown",
58
+ "prepack": "pnpm run build",
59
+ "typecheck": "tsc --noEmit",
60
+ "test": "vitest run",
61
+ "test:unit": "vitest run src/lib",
62
+ "test:live": "IMGLY_FIGMA_LIVE=1 vitest run",
63
+ "test:mutation": "stryker run",
64
+ "test:min-peer:types": "imgly-test-min-peer-types",
65
+ "test:consumer:types": "node ../importer-exporter-utils/scripts/test-exporter-consumer-types.mjs && node ../importer-exporter-utils/scripts/test-exporter-consumer-types.mjs --sdk=current",
66
+ "test:fetch-fixtures": "git lfs pull --include='packages/figma-exporter/**,packages/figma-importer/**' --exclude=''",
67
+ "coverage": "vitest run --coverage --coverage.include='src/lib/**' --coverage.reportOnFailure",
68
+ "g6:verify": "node scripts/g6-verify.mjs"
69
+ },
70
+ "dependencies": {},
71
+ "devDependencies": {
72
+ "@cesdk/engine": "workspace:*",
73
+ "@cesdk/node": "workspace:*",
74
+ "@figma/rest-api-spec": "^0.42.0",
75
+ "@imgly/figma-importer": "workspace:*",
76
+ "@imgly/importer-exporter-utils": "workspace:*",
77
+ "@stryker-mutator/core": "^10.0.0",
78
+ "@stryker-mutator/vitest-runner": "^10.0.0",
79
+ "@types/node": "^22.0.0",
80
+ "@vitest/coverage-v8": "5.0.5",
81
+ "dotenv": "^17.2.3",
82
+ "esbuild": "^0.25.9",
83
+ "fast-check": "^3.23.0",
84
+ "pixelmatch": "^7.2.0",
85
+ "playwright-core": "^1.55.1",
86
+ "sharp": "0.35.5",
87
+ "tsdown": "catalog:",
88
+ "typescript": "^5.7.0",
89
+ "undici-types": "~6.21.0",
90
+ "vitest": "5.0.5"
91
+ }
92
+ }
@@ -0,0 +1,84 @@
1
+ # Changelog
2
+
3
+ ## 0.2.1
4
+
5
+ ### Fixed
6
+
7
+ - TypeScript now accepts the engine of a CE.SDK version newer than 1.81.1, such
8
+ as 1.86.2, in `importFig()` and `importFigmaFile()`. In 0.2.0, such an engine
9
+ failed with a type error about `getType`, because it has more block types.
10
+ - TypeScript also accepts the engine of a CE.SDK version whose `getFill` and
11
+ `getShape` return `null` for an empty slot.
12
+
13
+ ## 0.2.0
14
+
15
+ ### Breaking
16
+
17
+ - `figmaDocumentFromFig()` now returns a promise. Await its result.
18
+ - The `Engine` type now also needs `editor.getBufferLength` and
19
+ `editor.getBufferData`. Every supported CE.SDK version has them, so only an
20
+ engine type or test double that you wrote yourself needs the methods.
21
+ - Each top-level frame of a canvas now becomes its own page, in reading
22
+ order. Before, the whole canvas became one page, which was often too large
23
+ to export. Content outside the frames goes on one extra page. Pass
24
+ `framesAsPages: false` to keep the previous behavior. Frame pages preserve
25
+ supported inside strokes, drop shadows, blend modes, and image fill opacity.
26
+ Masked or translucent frames and component sets stay on the ordinary layer
27
+ import path.
28
+
29
+ ### Added
30
+
31
+ - Import Figma files in the browser with `@cesdk/engine` or the editor's engine,
32
+ from a local `.fig` or through the REST API. A `.fig` import needs
33
+ WebAssembly SIMD, so Safari 16.4 or newer, and a Content Security Policy must
34
+ allow `'wasm-unsafe-eval'` and `'unsafe-eval'` for it. A REST import needs
35
+ `https://api.figma.com` and the host of Figma's image URLs in `connect-src`.
36
+ On both paths, a file with text also needs the font catalog's origin there.
37
+
38
+ ### Fixed
39
+
40
+ - A font catalog that does not load no longer leaves a partly imported scene in
41
+ place of the caller's scene.
42
+ - An editor that imports files or switches canvases on one engine no longer
43
+ adds an image to memory again on each import. Every import on that engine
44
+ reuses the images that an earlier import added.
45
+ - Text now keeps its font weight and style when the font catalog stores all
46
+ faces of a font in one file, as variable fonts do. Before, such text
47
+ imported in the first face of the font, often Thin.
48
+ - When CE.SDK cannot apply a text range's resolved font face, import
49
+ continues with a fallback face and reports `TEXT_FACE_UNAVAILABLE`.
50
+
51
+ ## 0.1.2
52
+
53
+ No functional changes. Released alongside the companion exporter, whose `exportFig` now counts as one export.
54
+
55
+ ## 0.1.1
56
+
57
+ No functional changes. Released alongside the companion exporter's SDK type compatibility fix.
58
+
59
+ ## 0.1.0
60
+
61
+ ### Added
62
+
63
+ - Import local Figma `.fig` files or accessible files through the REST API
64
+ into CE.SDK scenes in Node.js.
65
+ - Select a canvas by name or index. Keep supported text, shapes, images
66
+ and styles editable.
67
+ - Preserve available Figma-specific metadata for the companion exporter,
68
+ with an option to disable preservation.
69
+
70
+ ### Fixed
71
+
72
+ - Text in a face that changes both weight and style, such as bold italic in a regular paragraph, now keeps that face when the font family has no face in between, for example a family with only Regular and Bold Italic. Before, the import failed. This needs CE.SDK 1.87 or newer. Older versions now also import a face that they reach by setting the style before the weight, or the weight before the style.
73
+ - Avoid repeated deep comparisons of identical character override styles.
74
+ - Reject local files that exceed the documented decompression, component,
75
+ nesting or geometry limits.
76
+ - Apply supported local component overrides, including nested instances.
77
+ - Report frame clipping that CE.SDK groups cannot reproduce.
78
+ - Keep content positioned on its own page when importing exported designs.
79
+ - Retain the visible stroke and placement of imported lines.
80
+ - Use reported image placeholders when Figma's image URL endpoint rejects
81
+ or rate-limits a REST import.
82
+ - Honor `preserveFigmaData` for both local files and REST imports.
83
+ - Publish type declarations that resolve in Node.js integrations.
84
+ - Explain how to supply a token when REST import credentials are missing.
@@ -0,0 +1,137 @@
1
+ # Creative Editor Software Development Kit (SDK)
2
+
3
+ ## Terms of Service
4
+
5
+ ### 1. Subject Matter
6
+
7
+ 1.1 These Terms of Service (together with any applicable Order Form the "**Agreement**") govern all rights granted by Licensor to use and commercially exploit any of the IMG.LY SDKs (the "**Software**"), namely the CreativeEditor SDK and/or PhotoEditor SDK and/or VideoEditor SDK and/or imglyKit SDK.
8
+
9
+ 1.2 The Agreement is entered into by and between IMG.LY GmbH, Kortumstraße 19-21, 44787 Bochum, Germany (the "**Licensor**") and the entity identified in the Order Form (the "**Licensee**", together with Licensor the "**Parties**") as of the effective date the Order Form is last signed on.
10
+
11
+ 1.3 This Agreement shall govern the use of the Software for commercial purposes. To the extent the Software is intended to be used for non-commercial purposes only, an alternative licensing scheme may be available upon Licensor's discretion.
12
+
13
+ ### 2. Order Form
14
+
15
+ 2.1 An "**Order Form**" may either be executed (i) by the Parties upon individual negotiation or (ii) via an online order issued by Licensee via Licensor's website at img.ly (the "**Website**") that has been confirmed by Licensor. Online orders not confirmed within 14 days after issuance shall be considered denied.
16
+
17
+ 2.2 No rights shall be granted to Licensee by virtue of these Terms of Service alone as such grant requires the execution of an Order Form making reference to these Terms of Service.
18
+
19
+ 2.3 The Order Form shall specify the environment for the Software that shall be licensed by Licensee. The Software is currently available for integration in the following environments, but is not limited to: (i) Web, (ii) iOS, (iii) Android, and (iv) Node.js.
20
+
21
+ 2.4 The Order Form shall specify (i) the Subscription Term and (ii) the License Fees. Unless specified otherwise in the Order Form, the Subscription Term shall be based on monthly or annual periods for payment of the License Fees (the "**Payment Periods**").
22
+
23
+ 2.5 Licensor may choose to offer Licensee a trial period specified by Licensor to test the Software in a dedicated testing environment not subject to License Fees (the "**Trial Period**"). Licensor may also choose to offer Licensee extended trial periods subject to License Fees (“Extended Trial Period”). These Trial Periods and/or Extended Trial Periods will automatically end upon completion and do not require termination. Licensee acknowledges that converting from a Trial Period and/or Extended Trial Period to a regular Subscription Term may require additional steps, as outlined in the Order Form. Upon expiration of the Trial Period and/or Extended Trial Period, the right to test the Software shall cease without further notice. Licensee shall then be required to execute an Order Form to obtain a License for a Subscription Term in case the Software shall be further used.
24
+
25
+ 2.6 The Order Form can include usage-based pricing models based on factors such as monthly active users or number of exports. The pricing can also be based on Licensee’s company size. Licensee shall not make any false statements in regard to the eligibility thresholds stated on the Order Form or relevant for pricing. Further Licensee is solely responsible to keep Licensor informed about any changes on its part with respect to the eligibility thresholds or aspects relevant for pricing stated on the Order Form. 
26
+
27
+ 2.7 Licensee shall inform Licensor of any "**agency relationship”, if necessary under a Non-Disclosure Agreement, under which Licensee effectively shall not be the entity making use of the Software but intends to source the Software for use by a third party. In such case, Licensor shall be free to execute an Agreement with the entity effectively making use of the Software as Licensee only.  
28
+
29
+ ### 3. Grant of Rights
30
+
31
+ 3.1 Licensor shall grant to Licensee a worldwide, non-exclusive, non-transferable, non-sublicensable right to use the Software subject to the terms of this Agreement, in particular with the specifications as set out in the Order Form (the "**License**").
32
+
33
+ 3.2 The License shall pertain to the Software in object code format as well as to content data (fonts, stickers, stock images, etc.) included therein. In order to enable integration of the Software, parts of the Software may be provided in source code format if agreed upon in the Order Form individually or if offered by Licensor in its free discretion; in such case, the License shall also pertain to the Software in source code format.
34
+
35
+ 3.3 The License shall be limited to the right (i) to copy and – in case of disclosure in source code format – modify the Software solely for integration into one of Licensee's products (website or app) (the "**Licensee’s Product**") in accordance with the requirements of interfaces and implementation guidelines as issued by Licensor (the "**Integrated Software**") and (ii) to copy, distribute and make available the Integrated Software to Licensee's end customers in object code format (the License does not cover distribution, making available or disclosure of the Software or any part thereof in source code format).
36
+
37
+ ### 4. Obligations and Restrictions
38
+
39
+ 4.1 Licensee shall not reproduce, disassemble, or reverse assemble any portion of the Software or otherwise derive its source code, except to the extent that such activity is specifically permitted by this Agreement or by statutory law.
40
+
41
+ 4.2 Licensee shall not redistribute the Software or its modifications other than by integrating the Software into Licensee's Product. Use in context of more than one of Licensee's Products shall require multiple Licenses accordingly via respective Order Forms. Licensee's Product shall have a substantially different functionality than the Software (i.e. must not be described as a photo editor and/or video editor, respective development kit, library, or product commercially competing with the Software); otherwise, Licensor shall be entitled to terminate the Agreement and revoke the License at any time.
42
+
43
+ 4.3 Licensee shall not use the Software in connection with or to promote any products, services, or materials that constitute or promote spyware, adware, or other malicious programs or code, unsolicited mass distribution of email (spam), defamatory, pornographic, abusive or otherwise offensive content; otherwise, Licensor shall be entitled to terminate the Agreement and revoke the License at any time.
44
+
45
+ 4.4 Licensor shall be entitled to verify and validate Licensee's use of the Software in line with this Agreement via respective functionalities of the Software. In particular, Licensor is entitled to make access to the Software dependent from successful remote validation (via API) of a license key allocated to an active Subscription Term and covering the intended access and use.
46
+
47
+ 4.5 Licensor shall be entitled to use server-side monitoring tools to analyze use of the Software by users. Licensee shall safeguard that such monitoring by Licensor can be performed in accordance with applicable privacy and data protection law via respective notices and, if required, opt-in procedures. Licensor will support Licensee to the extent required by providing required information and instruction. 
48
+
49
+ ### 5. Proprietary Rights
50
+
51
+ 5.1 All rights not expressly granted to Licensee are reserved by Licensor. Licensee acknowledges and agrees that all rights to modifications of the source code made by Licensee to enable integration of the Software shall belong to the Licensor as part of the Software; the Licensee shall assign all respective rights to Licensor or, in case no assignment is feasible under applicable law, Licensee shall grant a worldwide, exclusive, transferable, sublicensable right to use such modifications without any restrictions. Licensee shall have no rights to use, copy, or reproduce the Software except as expressly set forth in this Agreement.
52
+
53
+ 5.2 No rights shall be granted with regard to trademarks, trade names, trade dress and trade secrets to Licensee except for the limited right of use provided under the License.
54
+
55
+ ### 6. Third Party Components
56
+
57
+ 6.1 The Software implements components licensed under open source licenses ("OSS Components**") and further software components and content data (fonts, stickers, stock images, etc.) provided by third parties under applicable licensing terms ("Third Party Components**"). The use of the OSS Components and the Third Party Components is subject to the applicable separate licensing terms. A list of the OSS Components and Third Party Components with reference to the applicable licensing terms is accessible online via https://img.ly/acknowledgements. Licensor does not act as sublicensor or agent in this regard and assumes or acknowledges no warranty or liability for the OSS Components and the Third Party Components.
58
+
59
+ 6.2 Licensee shall only use further third party software components or content data (fonts, stickers, stock images, etc.) with the Software to the extent that Licensee is entitled to such use. Licensor shall not be liable or responsible for any use of third party software components or content data by Licensee. Licensee shall indemnify and hold harmless Licensor from any third-party claims caused by Licensee's actions involving third party software components or content data.
60
+
61
+ ### 7. Payment
62
+
63
+ 7.1 The license fees as specified in the Order Form (the "**License Fees**") shall be due and payable in line with the Payment Periods. To the extent the due date is not specified in the Order Form, the License Fees shall be due upon the execution of the Order Form and then upon the commencement of each further Payment Period for all of the Subscription Term.
64
+
65
+ 7.2 Licensor shall invoice the License Fees to Licensee. Invoices are payable without deduction within 14 days of the date of the invoice and may be made by direct payment on the Website via credit card, if a respective option is provided by Licensor. If Licensee is in default of payment, the outstanding amount shall bear interest as applicable under statutory law. Licensor reserves all further rights resulting from default.
66
+
67
+ 7.3 Unless specified otherwise in the Order Form, the License Fees shall be paid in Euros. All amounts stated in the Order Form are excluding any applicable value added tax (VAT), unless explicitly specified otherwise. Licensee shall be responsible for any applicable sales, use, value added or similar taxes payable with respect to the licensing of the Software, or arising out of or in connection with this Agreement, other than taxes levied or imposed based upon Licensor's income or gross revenues. If Licensee has tax-exempt status, Licensee shall provide written evidence of such status to Licensor. Upon Licensor's request, Licensee shall provide its VAT identification number or other identification information required for invoicing purposes.
68
+
69
+ 7.4 The license fees specified in the Order Form (the "**License Fees**") are subject to price adjustments in accordance with changes in the Consumer Price Index ("CPI**") published by the European Central Bank (https://www.ecb.europa.eu/). Corresponding License Fee adjustments are made at renewal for annual Subscription Terms and after every 12 months for other Subscription Terms. 
70
+
71
+ ### 8. Delivery and Maintenance
72
+
73
+ 8.1 The Software shall be delivered via download from designated package repositories. The designated link for such download shall be provided in the Order Form. The use of the Software in a Subscription Term requires a key that shall be provided upon the initial payment of the License Fees, subject to the terms agreed upon in the Order Form. The key required for a Trial Period shall be provided upon commencement and deactivated upon expiration of the Trial Period.
74
+
75
+ 8.2 The Software and Documentation shall be provided in English language.
76
+
77
+ 8.3 Licensee shall be responsible for installing the Software and providing the system environment required to operate the Software in accordance with the requirements as set forth in the Documentation.
78
+
79
+ 8.4 Subject to any other specification in the Order Form, Licensor shall not provide any support and maintenance services other than the issuance of such updates, upgrades or patches for the Software as made available via the Website. Licensor shall have no obligation to provide support or maintenance for the Integrated Software or any modifications to the Software made by Licensee for integration into one of Licensee's Products.
80
+
81
+ 8.5 Licensor may choose to offer Licensee a separate Service Level Agreement detailing specific availability commitments against additional remuneration. Such availability commitments always exclude downtime due to planned maintenance and downtime outside Licensor’s control. In case of planned maintenance leading to downtime exceeding three hours, Licensor will notify Licensee via email.
82
+
83
+ ### 9. Term and Termination
84
+
85
+ 9.1 The term of the License shall be determined in the Order Form (the "**Subscription Term**"). The License shall commence upon initial payment of the License Fees and expire upon the end of the Subscription Term(s). Unless stated otherwise in the Order Form, the initial Subscription Term shall automatically be extended by further consecutive Subscription Terms unless either party notifies the other in writing of its intent not to extend the License prior to the end of the current Subscription Term. For monthly Subscription Terms, the notification must be given one week prior to the end of the then-current Subscription Term in order to be valid. For other Subscription Terms, the notification must be given one month prior to the end of the then-current Subscription Term in order to be valid. Upon expiration of the Subscription Term(s), the right to use the Software shall cease without further notice. To the extent the Subscription Term is not specified in the Order Form, Licensor shall be entitled to terminate the Agreement and revoke the License at any time.
86
+
87
+ 9.2 Either Party shall be entitled to immediately terminate this Agreement or suspend any rights granted hereunder upon notice to the other in the event that: (i) the other Party breaches any material term of this Agreement, Licensor may particularly revoke the License in case of default or other non-payment of License Fees or use of the Software in breach of Sections 3.3 or 5.1; or (ii) upon the other Party's dissolution, liquidation, or the appointment of a receiver, trustee, custodian, or similar agent for the Party's business or property. A change of control of Licensee, the sale of all or more than 50% of Licensee's assets, or a merger or reorganization of Licensee in which Licensee is not the surviving organization is considered dissolution of Licensee. In the event that Licensor terminates this Agreement for breach, all amounts due or to become due under this Agreement shall immediately become due and payable.
88
+
89
+ 9.3 Upon expiration of the Subscription Term or termination, each Party shall promptly remit to the other all unpaid monies due, or to become due, under this Agreement. Licensee shall return to Licensor or destroy all copies of the Software in its possession and provide written confirmation to that effect; this particularly applies to the Software in source code format in case such disclosure has occurred. In case of termination or revocation of the License, paid monies or due payments for any commenced Payment Periods shall not be refunded to Licensee.
90
+
91
+ 9.4 In addition to those provisions which by their nature are intended to survive any termination or expiration of this Agreement or any license granted hereunder, Sections 11, 12 and 13 of this Agreement shall specifically survive such expiration or termination.
92
+
93
+ 9.5 In the event of termination or expiration of the Subscription Term, the Licensee is obliged to promptly cease use of and remove the Software from all of its products. Until the Software is confirmed to be completely removed from all of the Licensee's products, Licensor reserves the right to continue to charge the Licensee the agreed License Fees. The Licensee must provide satisfactory evidence of the complete removal of the Software upon request of the Licensor.
94
+
95
+ ### 10. Warranty Claims
96
+
97
+ 10.1 Product descriptions shall not be deemed guaranteed unless separately agreed in writing.
98
+
99
+ 10.2 Rights in case of defects shall be excluded in case of minor or immaterial deviations from the characteristics of the Software or in the case of only slight impairment of use. Licensor shall further not be responsible for defects which are caused by improper use or operation. Licensor shall not be responsible for ensuring that any modifications made by Licensee to the Software for integration into one of Licensee's Products will work other versions of the Software.
100
+
101
+ 10.3 Any claims for damages are subject to the limitations set forth under Section 11 of this Agreement.
102
+
103
+ ### 11. Limitation of Liability
104
+
105
+ 11.1 Licensor shall be liable without restriction for damages caused intentionally or with gross negligence by Licensor, its legal representatives or assistants in performance. Licensor shall also be liable without restriction for death, personal injury or damage to health caused by Licensor, its legal representatives or assistants in performance. Furthermore, Licensor shall be liable without restriction for damages in accordance with the German Product Liability Act.
106
+
107
+ 11.2 Licensor shall be liable for damages caused by breach of its primary obligations under this Agreement by Licensor, its legal representatives or assistants in performance. Primary obligations are such duties that form the essence of the Agreement, which were decisive for the conclusion of the Agreement and on the performance of which Licensee may rely. If Licensor breaches its primary obligations with simple negligence, then its liability shall be limited to the amount which was foreseeable for Licensor at the time when the respective duty was performed. Any further liability of Licensor shall be excluded on the merits. In particular, any liability of Licensor for initial defects of the Software already present at the start of the Subscription Term shall be excluded. 
108
+
109
+ 11.3 The right to set off a claim shall be limited to such claims that are uncontested or have been finally established with legal effect.
110
+
111
+ ### 12. Confidentiality
112
+
113
+ 12.1 Each Party may be granted access to confidential information of the other Party during the term of this Agreement. Confidential information does not include information that: (i) is or becomes publicly available through no act or omission of the other party, (ii) is rightfully acquired by the recipient from a third party that was not under an obligation to hold the information in confidence, (iii) is independently developed by the recipient or, (iv) is previously known to the recipient without non-disclosure obligations. The terms of this Agreement and the source code to the Software shall constitute confidential information under this Agreement.
114
+
115
+ 12.2 Neither Party shall use any confidential information of the other Party other than for the purpose of exercising its rights or performing its obligations under this Agreement or disclose to any third party any confidential information of the other Party except as permitted under this Agreement. Disclosure of confidential information shall not be precluded if such disclosure is in response to a valid order of a court or other governmental body or is otherwise required by statutory law.
116
+
117
+ 12.3 Subject to the exceptions under Section 12.2., Licensee shall not disclose the terms of this Agreement to any third party.
118
+
119
+ 12.4 Non-disclosure agreements executed by the Parties independent from this Agreement shall remain in force.
120
+
121
+ ### 13. Final Provisions
122
+
123
+ 13.1 Licensor shall be entitled to identify Licensee as a customer and to refer to Licensee and its business by name, trademark and trade name, if applicable, on the Website and in Licensor's marketing materials.
124
+
125
+ 13.2 Licensor shall not accept, and this Agreement does not operate as an acceptance of, any different or additional terms and conditions, and this Agreement shall prevail over any such different or additional provisions, of any Licensee's order.
126
+
127
+ 13.3 All notices or reports shall be in writing or sent by email.
128
+
129
+ 13.4 Licensee may not assign this Agreement, in whole or in part to any third party without the prior written consent of Licensor.
130
+
131
+ 13.5 Amendments or additions to this Agreement must be made in writing to be effective. This shall also apply to amendments of this written form requirement.
132
+
133
+ 13.6 This Agreement shall be governed by the laws of the Federal Republic of Germany; the regulations of the UN Sales Convention shall be excluded.
134
+
135
+ 13.7 The courts for Licensor's registered office shall have exclusive jurisdiction over all disputes under and in connection with this Agreement.
136
+
137
+ 13.8 Should any provision of this Agreement be or become invalid, this shall not affect the validity of the remaining terms. In such event, the Parties shall be obliged to cooperate in the creation of terms which achieve such legally valid result as comes closest commercially to that of the invalid provision. The above shall apply accordingly to the closing of any gaps in the Agreement.