@gmb/bitmark-parser-generator 4.5.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8"/>
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
6
- <title>@gmb/bitmark-parser-generator [18 Aug 2025 at 21:35]</title>
6
+ <title>@gmb/bitmark-parser-generator [8 Sep 2025 at 02:21]</title>
7
7
  <link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56RD5CjAbQX9Ow4g7upCsvYu55aSI/Nj0H1akgKQEUM94dwK65hYRmFU9MIcH/fqJYOZYcnuJSU/waKDgTOEVaVKhwrTRP5XzgSpAITYzom7UvkhFX5VutmxeNnWDjjswTKTyfgluNDGbUpWissXhF3s7mlSml+czWkg3D0l1nNjGNjz3myOQOa1KM/jOS6ebdbAVTCi4gljHSFrviza7tOgRWcS0MOUX9zdNgag5w7rRqA44Lzw0hr1WqES36dFliSJFlh2rXIae3FFcDDgKdxrUIDePr8jGcSClV1u7A9xeN0ModY/pHMxmR1EzRh8TJiwqsHmKW0l4FCEZI+jHio+JdPPE9qwQtTRxku2D8sIeRL2LnxWSllANCQGOIiqVHAz2ye2JR0DcH+HoxDkaADLjgxjKQ+AwCX/g0+DNgdG0ukYCONAe+dbc2IAc6fwt1ARoDSezNHxV2Cmzwv3O6lDMV55edBGwGK9n1+x2F8EDfAGCxug8MhpsMEcTEAWf3rx2vZhe/LAmtIn/6apE6PN0ULKgywD9mmdxbmFl3OvD5AS5fW5zLbv/YHmcsBTjf/afDz3MaZTVCfAP9z6/Bw6ycv8EUBWJIn9zYcoAWWlW9+OzO3vkTy8H+RANLmdrpOuYWdZYEXpo+TlCJrW5EARb7fF+bWdqf3hhyZI1nWJQHgznErZhbjoEsWqi8dQNoE294aldzFurwSABL2XXMf9+H1VQGke9exw5P/AnA5Pv5ngMul7LOvO922iwACu8WkCwLCafvM4CeWPxfA8lNHcWZSoi8EwMAIciKX2Z4SWCMAa3snCZ/G4EA8D6CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />
8
8
 
9
9
  <script>
@@ -31,7 +31,7 @@
31
31
  <body>
32
32
  <div id="app"></div>
33
33
  <script>
34
- window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1145123,"parsedSize":498962,"gzipSize":97351,"groups":[{"label":"dist/browser/cjs","path":"./dist/browser/cjs","statSize":1138143,"groups":[{"id":922,"label":"index.cjs","path":"./dist/browser/cjs/index.cjs","statSize":1138143,"parsedSize":498858,"gzipSize":97351}],"parsedSize":498858,"gzipSize":97351},{"label":"node_modules/@ncoderz/superenum/dist/esm","path":"./node_modules/@ncoderz/superenum/dist/esm","statSize":6980,"groups":[{"id":718,"label":"superenum.js","path":"./node_modules/@ncoderz/superenum/dist/esm/superenum.js","statSize":6980}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"main":true}}];
34
+ window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1146751,"parsedSize":499808,"gzipSize":97583,"groups":[{"label":"dist/browser/cjs","path":"./dist/browser/cjs","statSize":1139771,"groups":[{"id":922,"label":"index.cjs","path":"./dist/browser/cjs/index.cjs","statSize":1139771,"parsedSize":499704,"gzipSize":97583}],"parsedSize":499704,"gzipSize":97583},{"label":"node_modules/@ncoderz/superenum/dist/esm","path":"./node_modules/@ncoderz/superenum/dist/esm","statSize":6980,"groups":[{"id":718,"label":"superenum.js","path":"./node_modules/@ncoderz/superenum/dist/esm/superenum.js","statSize":6980}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"main":true}}];
35
35
  window.entrypoints = ["main"];
36
36
  window.defaultSizes = "stat";
37
37
  </script>
@@ -1155,6 +1155,7 @@ var propertyKeys = {
1155
1155
  property_bookDiff: "@bookDiff",
1156
1156
  property_bot: "@bot",
1157
1157
  property_bubbleTag: "@bubbleTag",
1158
+ property_extractorTag: "@extractorTag",
1158
1159
  property_buttonCaption: "@buttonCaption",
1159
1160
  property_callToActionUrl: "@callToActionUrl",
1160
1161
  property_caption: "@caption",
@@ -1305,6 +1306,7 @@ var propertyKeys = {
1305
1306
  property_src2x: "@src2x",
1306
1307
  property_src3x: "@src3x",
1307
1308
  property_src4x: "@src4x",
1309
+ property_srcAlt: "@srcAlt",
1308
1310
  property_stripePricingTableId: "@stripePricingTableId",
1309
1311
  property_stripePublishableKey: "@stripePublishableKey",
1310
1312
  property_subject: "@subject",
@@ -2767,6 +2769,12 @@ var GROUPS = {
2767
2769
  format: TagFormat.plainText,
2768
2770
  maxCount: Count.infinity
2769
2771
  },
2772
+ {
2773
+ key: ConfigKey.property_extractorTag,
2774
+ description: "The extractor tag(s) for the bit",
2775
+ format: TagFormat.plainText,
2776
+ maxCount: Count.infinity
2777
+ },
2770
2778
  {
2771
2779
  key: ConfigKey.property_levelCEFRp,
2772
2780
  description: "The CEFRp level for the bit",
@@ -3320,6 +3328,12 @@ var GROUPS = {
3320
3328
  description: "If true, the quiz solutions are revealed",
3321
3329
  format: TagFormat.boolean
3322
3330
  // defaultValue: 'false',
3331
+ },
3332
+ {
3333
+ key: ConfigKey.property_additionalSolutions,
3334
+ description: "Additional solutions",
3335
+ format: TagFormat.plainText,
3336
+ maxCount: Count.infinity
3323
3337
  }
3324
3338
  ]
3325
3339
  },
@@ -3375,6 +3389,12 @@ var GROUPS = {
3375
3389
  key: ConfigKey.property_search,
3376
3390
  description: "The search text for the resource",
3377
3391
  format: TagFormat.plainText
3392
+ },
3393
+ {
3394
+ key: ConfigKey.property_srcAlt,
3395
+ description: "An alternative source for the resource",
3396
+ format: TagFormat.plainText,
3397
+ maxCount: Count.infinity
3378
3398
  }
3379
3399
  ]
3380
3400
  },
@@ -4938,12 +4958,6 @@ var BITS = {
4938
4958
  description: "If the cloze solutions should be strikethrough",
4939
4959
  format: TagFormat.boolean
4940
4960
  },
4941
- {
4942
- key: ConfigKey.property_additionalSolutions,
4943
- description: "Additional solutions for the cloze quiz",
4944
- format: TagFormat.plainText,
4945
- maxCount: Count.infinity
4946
- },
4947
4961
  {
4948
4962
  key: ConfigKey.group_gap,
4949
4963
  description: "Tags for gaps in cloze bits"
@@ -5471,12 +5485,6 @@ var BITS = {
5471
5485
  description: "Sample solution for the essay, used as a reference answer",
5472
5486
  format: TagFormat.plainText
5473
5487
  },
5474
- {
5475
- key: ConfigKey.property_additionalSolutions,
5476
- description: "Additional solutions for the essay, used for alternative answers",
5477
- format: TagFormat.plainText,
5478
- maxCount: Count.infinity
5479
- },
5480
5488
  {
5481
5489
  key: ConfigKey.property_partialAnswer,
5482
5490
  description: "Partial answer for the essay, used to indicate incomplete answers",
@@ -9108,7 +9116,7 @@ var instance2 = new Config();
9108
9116
  // src/generated/package_info.ts
9109
9117
  var PACKAGE_INFO = {
9110
9118
  "name": "@gmb/bitmark-parser-generator",
9111
- "version": "4.5.0",
9119
+ "version": "4.7.0",
9112
9120
  "author": "Get More Brain Ltd",
9113
9121
  "license": "ISC",
9114
9122
  "description": "A bitmark parser and generator using Peggy.js"
@@ -9516,6 +9524,8 @@ var NodeType = (0, import_superenum20.superenum)({
9516
9524
  botValue: "botValue",
9517
9525
  bubbleTag: "bubbleTag",
9518
9526
  bubbleTagValue: "bubbleTagValue",
9527
+ extractorTag: "extractorTag",
9528
+ extractorTagValue: "extractorTagValue",
9519
9529
  buttonCaption: "buttonCaption",
9520
9530
  buttonCaptionValue: "buttonCaptionValue",
9521
9531
  callToActionUrl: "callToActionUrl",
@@ -9896,6 +9906,8 @@ var NodeType = (0, import_superenum20.superenum)({
9896
9906
  spaceId: "spaceId",
9897
9907
  spaceIdValue: "spaceIdValue",
9898
9908
  src: "src",
9909
+ srcAlt: "srcAlt",
9910
+ srcAltValue: "srcAltValue",
9899
9911
  src1x: "src1x",
9900
9912
  src2x: "src2x",
9901
9913
  src3x: "src3x",
@@ -21078,6 +21090,8 @@ var ResourceBuilder = class extends BaseBuilder {
21078
21090
  type,
21079
21091
  // Generic (except Article / Document)
21080
21092
  value: url,
21093
+ // Alternative source
21094
+ srcAlt: data.srcAlt,
21081
21095
  // ImageLikeResource / AudioLikeResource / VideoLikeResource / Article / Document
21082
21096
  format: data.format,
21083
21097
  // ImageLikeResource
@@ -21252,6 +21266,7 @@ var ResourceBuilder = class extends BaseBuilder {
21252
21266
  imageResource(context, data, __typeAlias) {
21253
21267
  const {
21254
21268
  value,
21269
+ srcAlt,
21255
21270
  src1x,
21256
21271
  src2x,
21257
21272
  src3x,
@@ -21284,6 +21299,7 @@ var ResourceBuilder = class extends BaseBuilder {
21284
21299
  format: instance8.fileExtensionFromUrl(value) ?? void 0,
21285
21300
  provider: instance8.domainFromUrl(value) ?? void 0,
21286
21301
  src: value ?? "",
21302
+ srcAlt: srcAlt ?? void 0,
21287
21303
  src1x: src1x ?? void 0,
21288
21304
  src2x: src2x ?? void 0,
21289
21305
  src3x: src3x ?? void 0,
@@ -21316,6 +21332,7 @@ var ResourceBuilder = class extends BaseBuilder {
21316
21332
  imageLinkResource(context, data) {
21317
21333
  const {
21318
21334
  value,
21335
+ srcAlt,
21319
21336
  src1x,
21320
21337
  src2x,
21321
21338
  src3x,
@@ -21339,6 +21356,7 @@ var ResourceBuilder = class extends BaseBuilder {
21339
21356
  provider: instance8.domainFromUrl(value) ?? void 0,
21340
21357
  // src: value ?? '',
21341
21358
  url: value ?? "",
21359
+ srcAlt: srcAlt ?? void 0,
21342
21360
  src1x: src1x ?? void 0,
21343
21361
  src2x: src2x ?? void 0,
21344
21362
  src3x: src3x ?? void 0,
@@ -21370,7 +21388,18 @@ var ResourceBuilder = class extends BaseBuilder {
21370
21388
  * @returns
21371
21389
  */
21372
21390
  audioResource(context, data) {
21373
- const { value, duration, mute, autoplay, license, copyright, showInIndex, caption, search } = data;
21391
+ const {
21392
+ value,
21393
+ srcAlt,
21394
+ duration,
21395
+ mute,
21396
+ autoplay,
21397
+ license,
21398
+ copyright,
21399
+ showInIndex,
21400
+ caption,
21401
+ search
21402
+ } = data;
21374
21403
  const node = {
21375
21404
  type: ResourceType.audio,
21376
21405
  __typeAlias: ResourceType.audio,
@@ -21379,6 +21408,7 @@ var ResourceBuilder = class extends BaseBuilder {
21379
21408
  format: instance8.fileExtensionFromUrl(value) ?? void 0,
21380
21409
  provider: instance8.domainFromUrl(value) ?? void 0,
21381
21410
  src: value ?? "",
21411
+ srcAlt: srcAlt ?? void 0,
21382
21412
  duration: duration ?? void 0,
21383
21413
  mute: mute ?? void 0,
21384
21414
  autoplay: autoplay ?? void 0,
@@ -21403,7 +21433,18 @@ var ResourceBuilder = class extends BaseBuilder {
21403
21433
  * @returns
21404
21434
  */
21405
21435
  audioEmbedResource(context, data) {
21406
- const { value, duration, mute, autoplay, license, copyright, showInIndex, caption, search } = data;
21436
+ const {
21437
+ value,
21438
+ srcAlt,
21439
+ duration,
21440
+ mute,
21441
+ autoplay,
21442
+ license,
21443
+ copyright,
21444
+ showInIndex,
21445
+ caption,
21446
+ search
21447
+ } = data;
21407
21448
  const node = {
21408
21449
  type: ResourceType.audioEmbed,
21409
21450
  __typeAlias: ResourceType.audioEmbed,
@@ -21412,6 +21453,7 @@ var ResourceBuilder = class extends BaseBuilder {
21412
21453
  format: instance8.fileExtensionFromUrl(value) ?? void 0,
21413
21454
  provider: instance8.domainFromUrl(value) ?? void 0,
21414
21455
  src: value ?? "",
21456
+ srcAlt: srcAlt ?? void 0,
21415
21457
  duration: duration ?? void 0,
21416
21458
  mute: mute ?? void 0,
21417
21459
  autoplay: autoplay ?? void 0,
@@ -21441,7 +21483,18 @@ var ResourceBuilder = class extends BaseBuilder {
21441
21483
  * @returns
21442
21484
  */
21443
21485
  audioLinkResource(context, data) {
21444
- const { value, duration, mute, autoplay, license, copyright, showInIndex, caption, search } = data;
21486
+ const {
21487
+ value,
21488
+ srcAlt,
21489
+ duration,
21490
+ mute,
21491
+ autoplay,
21492
+ license,
21493
+ copyright,
21494
+ showInIndex,
21495
+ caption,
21496
+ search
21497
+ } = data;
21445
21498
  const node = {
21446
21499
  type: ResourceType.audioLink,
21447
21500
  __typeAlias: ResourceType.audioLink,
@@ -21451,6 +21504,7 @@ var ResourceBuilder = class extends BaseBuilder {
21451
21504
  provider: instance8.domainFromUrl(value) ?? void 0,
21452
21505
  // src: value ?? '',
21453
21506
  url: value ?? "",
21507
+ srcAlt: srcAlt ?? void 0,
21454
21508
  duration: duration ?? void 0,
21455
21509
  mute: mute ?? void 0,
21456
21510
  autoplay: autoplay ?? void 0,
@@ -21479,6 +21533,7 @@ var ResourceBuilder = class extends BaseBuilder {
21479
21533
  videoResource(context, data) {
21480
21534
  const {
21481
21535
  value,
21536
+ srcAlt,
21482
21537
  width,
21483
21538
  height,
21484
21539
  duration,
@@ -21503,6 +21558,7 @@ var ResourceBuilder = class extends BaseBuilder {
21503
21558
  format: instance8.fileExtensionFromUrl(value) ?? void 0,
21504
21559
  provider: instance8.domainFromUrl(value) ?? void 0,
21505
21560
  src: value ?? "",
21561
+ srcAlt: srcAlt ?? void 0,
21506
21562
  width: width ?? null,
21507
21563
  height: height ?? null,
21508
21564
  duration: duration ?? void 0,
@@ -21543,6 +21599,7 @@ var ResourceBuilder = class extends BaseBuilder {
21543
21599
  videoEmbedResource(context, data) {
21544
21600
  const {
21545
21601
  value,
21602
+ srcAlt,
21546
21603
  width,
21547
21604
  height,
21548
21605
  duration,
@@ -21568,6 +21625,7 @@ var ResourceBuilder = class extends BaseBuilder {
21568
21625
  provider: instance8.domainFromUrl(value) ?? void 0,
21569
21626
  // src: value ?? '',
21570
21627
  url: value ?? "",
21628
+ srcAlt: srcAlt ?? void 0,
21571
21629
  width: width ?? null,
21572
21630
  height: height ?? null,
21573
21631
  duration: duration ?? void 0,
@@ -21607,6 +21665,7 @@ var ResourceBuilder = class extends BaseBuilder {
21607
21665
  videoLinkResource(context, data) {
21608
21666
  const {
21609
21667
  value,
21668
+ srcAlt,
21610
21669
  width,
21611
21670
  height,
21612
21671
  duration,
@@ -21632,6 +21691,7 @@ var ResourceBuilder = class extends BaseBuilder {
21632
21691
  provider: instance8.domainFromUrl(value) ?? void 0,
21633
21692
  // src: value ?? '',
21634
21693
  url: value ?? "",
21694
+ srcAlt: srcAlt ?? void 0,
21635
21695
  width: width ?? null,
21636
21696
  height: height ?? null,
21637
21697
  duration: duration ?? void 0,
@@ -21691,6 +21751,7 @@ var ResourceBuilder = class extends BaseBuilder {
21691
21751
  stillImageFilmEmbedResource(context, data) {
21692
21752
  const {
21693
21753
  value,
21754
+ srcAlt,
21694
21755
  width,
21695
21756
  height,
21696
21757
  duration,
@@ -21716,6 +21777,7 @@ var ResourceBuilder = class extends BaseBuilder {
21716
21777
  provider: instance8.domainFromUrl(value) ?? void 0,
21717
21778
  // src: value ?? '',
21718
21779
  url: value ?? "",
21780
+ srcAlt: srcAlt ?? void 0,
21719
21781
  width: width ?? null,
21720
21782
  height: height ?? null,
21721
21783
  duration: duration ?? void 0,
@@ -21755,6 +21817,7 @@ var ResourceBuilder = class extends BaseBuilder {
21755
21817
  stillImageFilmLinkResource(context, data) {
21756
21818
  const {
21757
21819
  value,
21820
+ srcAlt,
21758
21821
  width,
21759
21822
  height,
21760
21823
  duration,
@@ -21780,6 +21843,7 @@ var ResourceBuilder = class extends BaseBuilder {
21780
21843
  provider: instance8.domainFromUrl(value) ?? void 0,
21781
21844
  // src: value ?? '',
21782
21845
  url: value ?? "",
21846
+ srcAlt: srcAlt ?? void 0,
21783
21847
  width: width ?? null,
21784
21848
  height: height ?? null,
21785
21849
  duration: duration ?? void 0,
@@ -21817,7 +21881,7 @@ var ResourceBuilder = class extends BaseBuilder {
21817
21881
  * @returns
21818
21882
  */
21819
21883
  articleResource(context, data) {
21820
- const { value, license, copyright, showInIndex, caption, search } = data;
21884
+ const { value, srcAlt, license, copyright, showInIndex, caption, search } = data;
21821
21885
  const node = {
21822
21886
  type: ResourceType.article,
21823
21887
  __typeAlias: ResourceType.article,
@@ -21826,6 +21890,7 @@ var ResourceBuilder = class extends BaseBuilder {
21826
21890
  format: instance8.fileExtensionFromUrl(value) ?? void 0,
21827
21891
  provider: instance8.domainFromUrl(value) ?? void 0,
21828
21892
  body: value ?? "",
21893
+ srcAlt: srcAlt ?? void 0,
21829
21894
  license: license ?? "",
21830
21895
  copyright: copyright ?? "",
21831
21896
  showInIndex: showInIndex ?? false,
@@ -21846,7 +21911,7 @@ var ResourceBuilder = class extends BaseBuilder {
21846
21911
  * @returns
21847
21912
  */
21848
21913
  documentResource(context, data) {
21849
- const { value, license, copyright, showInIndex, caption, search } = data;
21914
+ const { value, srcAlt, license, copyright, showInIndex, caption, search } = data;
21850
21915
  const node = {
21851
21916
  type: ResourceType.document,
21852
21917
  __typeAlias: ResourceType.document,
@@ -21855,6 +21920,7 @@ var ResourceBuilder = class extends BaseBuilder {
21855
21920
  format: instance8.fileExtensionFromUrl(value) ?? void 0,
21856
21921
  provider: instance8.domainFromUrl(value) ?? void 0,
21857
21922
  url: value ?? "",
21923
+ srcAlt: srcAlt ?? void 0,
21858
21924
  license: license ?? "",
21859
21925
  copyright: copyright ?? "",
21860
21926
  showInIndex: showInIndex ?? false,
@@ -21876,7 +21942,7 @@ var ResourceBuilder = class extends BaseBuilder {
21876
21942
  * @returns
21877
21943
  */
21878
21944
  documentEmbedResource(context, data) {
21879
- const { value, license, copyright, showInIndex, caption, search } = data;
21945
+ const { value, srcAlt, license, copyright, showInIndex, caption, search } = data;
21880
21946
  const node = {
21881
21947
  type: ResourceType.documentEmbed,
21882
21948
  __typeAlias: ResourceType.documentEmbed,
@@ -21885,6 +21951,7 @@ var ResourceBuilder = class extends BaseBuilder {
21885
21951
  format: instance8.fileExtensionFromUrl(value) ?? void 0,
21886
21952
  provider: instance8.domainFromUrl(value) ?? void 0,
21887
21953
  url: value ?? "",
21954
+ srcAlt: srcAlt ?? void 0,
21888
21955
  license: license ?? "",
21889
21956
  copyright: copyright ?? "",
21890
21957
  showInIndex: showInIndex ?? false,
@@ -21906,7 +21973,7 @@ var ResourceBuilder = class extends BaseBuilder {
21906
21973
  * @returns
21907
21974
  */
21908
21975
  documentLinkResource(context, data) {
21909
- const { value, license, copyright, showInIndex, caption, search } = data;
21976
+ const { value, srcAlt, license, copyright, showInIndex, caption, search } = data;
21910
21977
  const node = {
21911
21978
  type: ResourceType.documentLink,
21912
21979
  __typeAlias: ResourceType.documentLink,
@@ -21915,6 +21982,7 @@ var ResourceBuilder = class extends BaseBuilder {
21915
21982
  format: instance8.fileExtensionFromUrl(value) ?? void 0,
21916
21983
  provider: instance8.domainFromUrl(value) ?? void 0,
21917
21984
  url: value ?? "",
21985
+ srcAlt: srcAlt ?? void 0,
21918
21986
  license: license ?? "",
21919
21987
  copyright: copyright ?? "",
21920
21988
  showInIndex: showInIndex ?? false,
@@ -21936,7 +22004,7 @@ var ResourceBuilder = class extends BaseBuilder {
21936
22004
  * @returns
21937
22005
  */
21938
22006
  documentDownloadResource(context, data) {
21939
- const { value, license, copyright, showInIndex, caption, search } = data;
22007
+ const { value, srcAlt, license, copyright, showInIndex, caption, search } = data;
21940
22008
  const node = {
21941
22009
  type: ResourceType.documentDownload,
21942
22010
  __typeAlias: ResourceType.documentDownload,
@@ -21945,6 +22013,7 @@ var ResourceBuilder = class extends BaseBuilder {
21945
22013
  format: instance8.fileExtensionFromUrl(value) ?? void 0,
21946
22014
  provider: instance8.domainFromUrl(value) ?? void 0,
21947
22015
  url: value ?? "",
22016
+ srcAlt: srcAlt ?? void 0,
21948
22017
  license: license ?? "",
21949
22018
  copyright: copyright ?? "",
21950
22019
  showInIndex: showInIndex ?? false,
@@ -21966,7 +22035,7 @@ var ResourceBuilder = class extends BaseBuilder {
21966
22035
  * @returns
21967
22036
  */
21968
22037
  appLinkResource(context, data) {
21969
- const { value, license, copyright, showInIndex, caption, search } = data;
22038
+ const { value, srcAlt, license, copyright, showInIndex, caption, search } = data;
21970
22039
  const node = {
21971
22040
  type: ResourceType.appLink,
21972
22041
  __typeAlias: ResourceType.appLink,
@@ -21976,6 +22045,7 @@ var ResourceBuilder = class extends BaseBuilder {
21976
22045
  // provider: (UrlUtils.domainFromUrl(value) ?? undefined) as string,
21977
22046
  provider: void 0,
21978
22047
  url: value ?? "",
22048
+ srcAlt: srcAlt ?? void 0,
21979
22049
  license: license ?? "",
21980
22050
  copyright: copyright ?? "",
21981
22051
  showInIndex: showInIndex ?? false,
@@ -22004,6 +22074,7 @@ var ResourceBuilder = class extends BaseBuilder {
22004
22074
  websiteLinkResource(context, data) {
22005
22075
  const {
22006
22076
  value,
22077
+ srcAlt,
22007
22078
  /*siteName,*/
22008
22079
  license,
22009
22080
  copyright,
@@ -22019,6 +22090,7 @@ var ResourceBuilder = class extends BaseBuilder {
22019
22090
  // provider: (UrlUtils.domainFromUrl(value) ?? undefined) as string,
22020
22091
  provider: void 0,
22021
22092
  url: value ?? "",
22093
+ srcAlt: srcAlt ?? void 0,
22022
22094
  // siteName,
22023
22095
  license: license ?? "",
22024
22096
  copyright: copyright ?? "",
@@ -22266,6 +22338,12 @@ var Builder = class extends BaseBuilder {
22266
22338
  options
22267
22339
  ),
22268
22340
  bubbleTag: this.toAstProperty(bitType, ConfigKey.property_bubbleTag, data.bubbleTag, options),
22341
+ extractorTag: this.toAstProperty(
22342
+ bitType,
22343
+ ConfigKey.property_extractorTag,
22344
+ data.extractorTag,
22345
+ options
22346
+ ),
22269
22347
  levelCEFRp: this.toAstProperty(
22270
22348
  bitType,
22271
22349
  ConfigKey.property_levelCEFRp,
@@ -26177,7 +26255,12 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
26177
26255
  // bitmarkAst -> bits -> bitsValue -> resource -> ...
26178
26256
  // bitmarkAst -> bits -> bitsValue -> resource -> posterImage -> ...
26179
26257
  // bitmarkAst -> bits -> bitsValue -> resource -> thumbnails -> thumbnailsValue -> ...
26180
- // [src1x,src2x,src3x,src4x,width,height,alt,zoomDisabled,caption]
26258
+ // [srcAlt,src1x,src2x,src3x,src4x,width,height,alt,zoomDisabled,caption]
26259
+ leaf_srcAltValue(node, route) {
26260
+ this.writeProperty("srcAlt", node.value, route, {
26261
+ format: TagFormat.plainText
26262
+ });
26263
+ }
26181
26264
  leaf_src1x(node, route) {
26182
26265
  this.writeProperty("src1x", node.value, route, {
26183
26266
  format: TagFormat.plainText