@intellectif/lk-core 1.6.0 → 1.8.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/{ai-i3jwXnpX.d.ts → ai-Cnm0qE8v.d.cts} +334 -16
  3. package/dist/ai-Cnm0qE8v.d.cts.map +1 -0
  4. package/dist/{ai-i3jwXnpX.d.cts → ai-Cnm0qE8v.d.ts} +334 -16
  5. package/dist/ai-Cnm0qE8v.d.ts.map +1 -0
  6. package/dist/ai-check.cjs +88 -7
  7. package/dist/ai-check.cjs.map +1 -1
  8. package/dist/ai-check.d.cts +11 -7
  9. package/dist/ai-check.d.cts.map +1 -1
  10. package/dist/ai-check.d.ts +11 -7
  11. package/dist/ai-check.d.ts.map +1 -1
  12. package/dist/ai-check.js +88 -7
  13. package/dist/ai-check.js.map +1 -1
  14. package/dist/{ai-writing-C4YRVrFi.cjs → ai-writing-Bh2Y53cY.cjs} +2567 -203
  15. package/dist/ai-writing-Bh2Y53cY.cjs.map +1 -0
  16. package/dist/{ai-writing-OJ5m_1EB.js → ai-writing-DeIV-GfN.js} +2428 -172
  17. package/dist/ai-writing-DeIV-GfN.js.map +1 -0
  18. package/dist/{index-Dj92T76o.d.ts → index-CtoPhJAH.d.ts} +2 -8
  19. package/dist/index-CtoPhJAH.d.ts.map +1 -0
  20. package/dist/{index--U7hHV0s.d.cts → index-DMh3OYSb.d.cts} +2 -8
  21. package/dist/index-DMh3OYSb.d.cts.map +1 -0
  22. package/dist/{index-WBHSrIUU.d.ts → index-HXvg0YRQ.d.ts} +5 -12
  23. package/dist/index-HXvg0YRQ.d.ts.map +1 -0
  24. package/dist/{index-CFRgZLhH.d.cts → index-fZ67k-WR.d.cts} +5 -12
  25. package/dist/index-fZ67k-WR.d.cts.map +1 -0
  26. package/dist/{index-DeD8EI1D.d.ts → index-g-EWIugp.d.ts} +2 -42
  27. package/dist/index-g-EWIugp.d.ts.map +1 -0
  28. package/dist/{index-Uh1u57yq.d.cts → index-oST8GBFa.d.cts} +2 -42
  29. package/dist/index-oST8GBFa.d.cts.map +1 -0
  30. package/dist/index.cjs +287 -20
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.d.cts +227 -71
  33. package/dist/index.d.cts.map +1 -1
  34. package/dist/index.d.ts +227 -71
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +276 -21
  37. package/dist/index.js.map +1 -1
  38. package/dist/{item-group-BbvvH_Ob.js → item-group-BceUoxoM.js} +4 -6
  39. package/dist/{item-group-BbvvH_Ob.js.map → item-group-BceUoxoM.js.map} +1 -1
  40. package/dist/{item-group-CQRbb8Rx.cjs → item-group-KV4hYu3a.cjs} +4 -6
  41. package/dist/{item-group-CQRbb8Rx.cjs.map → item-group-KV4hYu3a.cjs.map} +1 -1
  42. package/dist/{registry-Ih5n4PVZ.cjs → registry-Cymq7Ah0.cjs} +97 -92
  43. package/dist/registry-Cymq7Ah0.cjs.map +1 -0
  44. package/dist/{registry-B23o9UWh.js → registry-tkacvJUI.js} +79 -91
  45. package/dist/registry-tkacvJUI.js.map +1 -0
  46. package/dist/{schemas-yId-bJhD.js → schemas-DM8sN_f0.js} +5 -7
  47. package/dist/{schemas-yId-bJhD.js.map → schemas-DM8sN_f0.js.map} +1 -1
  48. package/dist/{schemas-Q2dyOgc2.cjs → schemas-wDzbKdKa.cjs} +5 -7
  49. package/dist/{schemas-Q2dyOgc2.cjs.map → schemas-wDzbKdKa.cjs.map} +1 -1
  50. package/dist/schemas.cjs +3 -3
  51. package/dist/schemas.d.cts +1 -1
  52. package/dist/schemas.d.ts +1 -1
  53. package/dist/schemas.js +3 -3
  54. package/dist/{scoring-CaPS6q8b.cjs → scoring-D9tFvPEG.cjs} +22 -42
  55. package/dist/{scoring-CaPS6q8b.cjs.map → scoring-D9tFvPEG.cjs.map} +1 -1
  56. package/dist/{scoring-CLMdk8i9.js → scoring-DIBmo_cy.js} +22 -42
  57. package/dist/{scoring-CLMdk8i9.js.map → scoring-DIBmo_cy.js.map} +1 -1
  58. package/dist/scoring.cjs +2 -2
  59. package/dist/scoring.d.cts +2 -2
  60. package/dist/scoring.d.ts +2 -2
  61. package/dist/scoring.js +2 -2
  62. package/dist/{xapi-BX0hvRRB.cjs → xapi-Dyqcl3JK.cjs} +5 -8
  63. package/dist/{xapi-BX0hvRRB.cjs.map → xapi-Dyqcl3JK.cjs.map} +1 -1
  64. package/dist/{xapi-Cdk9fTvV.js → xapi-gCAo549Q.js} +5 -8
  65. package/dist/{xapi-Cdk9fTvV.js.map → xapi-gCAo549Q.js.map} +1 -1
  66. package/dist/xapi.cjs +1 -1
  67. package/dist/xapi.d.cts +1 -1
  68. package/dist/xapi.d.ts +1 -1
  69. package/dist/xapi.js +1 -1
  70. package/package.json +2 -2
  71. package/vectors/README.md +23 -0
  72. package/vectors/variants.d.mts +20 -0
  73. package/vectors/variants.json +5753 -0
  74. package/vectors/variants.mjs +67 -0
  75. package/dist/ai-i3jwXnpX.d.cts.map +0 -1
  76. package/dist/ai-i3jwXnpX.d.ts.map +0 -1
  77. package/dist/ai-writing-C4YRVrFi.cjs.map +0 -1
  78. package/dist/ai-writing-OJ5m_1EB.js.map +0 -1
  79. package/dist/index--U7hHV0s.d.cts.map +0 -1
  80. package/dist/index-CFRgZLhH.d.cts.map +0 -1
  81. package/dist/index-DeD8EI1D.d.ts.map +0 -1
  82. package/dist/index-Dj92T76o.d.ts.map +0 -1
  83. package/dist/index-Uh1u57yq.d.cts.map +0 -1
  84. package/dist/index-WBHSrIUU.d.ts.map +0 -1
  85. package/dist/registry-B23o9UWh.js.map +0 -1
  86. package/dist/registry-Ih5n4PVZ.cjs.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { $ as AiVerdict, $t as MultipleChoiceData, A as AiGapSelectFacts, An as XAPIStatement, At as ActivityType, B as AiHintRequest, Bn as GradingState, Bt as FillInTheBlanksLearnerResponse, C as AiDraftsCall, Cn as XAPIConfig, Ct as ItemFinding, D as AiFeature, Dn as XAPIObject, Dt as ActivityFeedback, E as AiExplanationRequest, En as XAPIError, Et as ActivityDataMap, F as AiGradingFacts, Fn as GradeRoutingReason, Ft as DictationEquivalence, G as AiProvenance, Gn as matchText, Gt as GapSelectLearnerResponse, H as AiMaterialFacts, Hn as TextMatchPolicy, Ht as GapSelectChoice, I as AiGradingJudgement, In as Grader, It as DictationLearnerResponse, J as AiRefusal, Jt as ItemOutcome, K as AiReadingFacts, Kt as InteractionEvent, L as AiGradingRequest, Ln as GraderConfiguration, Lt as DictationSlowMedia, M as AiGrade, Mn as CriterionScore, Mt as DeferredReason, N as AiGradedCriterion, Nn as GradeRecord, Nt as DeferredScoringPartial, O as AiFillInTheBlanksFacts, On as XAPIResult, Ot as ActivityMedia, P as AiGradingCriterionFact, Pn as GradeRouting, Pt as DictationData, Q as AiTextResult, Qt as MediaTrack, R as AiGradingRequestProblem, Rn as GraderKind, Rt as DictationTolerance, S as AiDrafts, Sn as XAPIActor, St as DraftValidationResult, T as AiDraftsRun, Tn as XAPIContextActivities, Tt as ActivityData, U as AiMultipleChoiceFacts, Un as TextMatchResult, Ut as GapSelectData, V as AiItemFacts, Vn as InlineCorrection, Vt as GapSelectBank, W as AiOptionFact, Wn as levenshteinDistance, Wt as GapSelectGap, X as AiSoundFact, Xt as LearnerResponseMap, Y as AiRubricCriterionFact, Yt as LearnerResponse, Z as AiSupportedActivityType, Zt as MediaPlaybackPolicy, _ as AiDraftCaption, _n as WrittenResponseData, _t as DraftComplete, a as AiCoachingRequest, an as ReadAloudDimension, at as AiWritingFeedbackRequest, b as AiDraftSource, bn as WrittenResponseRubricCriterion, bt as DraftNotComplete, c as AiCriterionJudgement, cn as ReadAloudSlowMedia, ct as MediaProgress, d as AiCritiqueFinding, dn as ScoringDetail, dt as SequenceSlot, en as MultipleChoiceLearnerResponse, et as AiVideoDraft, f as AiCritiqueFindingResult, fn as ScoringOutcome, ft as SequenceSlotGroup, g as AiDictationFacts, gn as ValidationResult, gt as TimelineCue, h as AiCritiqueResult, hn as ValidationError, ht as TimelineChapter, i as AiCoaching, in as ReadAloudData, it as AiWritingFeedback, j as AiGeneratedDraft, jn as XAPIVerbObject, jt as BlankConfig, k as AiGapFact, kn as XAPIScore, kt as ActivityResult, l as AiCritique, ln as RecordingBounds, lt as MediaTimeline, m as AiCritiqueRequest, mn as ScriptTurn, mt as StimulusKind, n as AiActivityInput, nn as MultipleChoiceOptionMedia, nt as AiWritingCorrection, o as AiCoachingResult, on as ReadAloudDimensionWeight, ot as AiWritingFeedbackResult, p as AiCritiqueKind, pn as ScoringResult, pt as Stimulus, q as AiReadingWordFact, qt as InteractionKind, r as AiBlankFact, rn as NativeControlHint, rt as AiWritingFacts, s as AiCoachingWord, sn as ReadAloudLearnerResponse, st as ItemGroup, t as ActivityAiPermissions, tn as MultipleChoiceOption, tt as AiWordFact, u as AiCritiqueField, un as RecordingRef, ut as SequenceEntry, v as AiDraftProblem, vn as WrittenResponseLearnerResponse, vt as DraftContext, w as AiDraftsRequest, wn as XAPIContext, wt as ItemFindingSeverity, x as AiDraftType, xn as WrittenResponseRubricLevel, xt as DraftSeverity, y as AiDraftSettings, yn as WrittenResponseRubric, yt as DraftIssue, z as AiGroupInput, zn as GraderUsage, zt as FillInTheBlanksData } from "./ai-i3jwXnpX.js";
2
- import { $ as hasGrade, A as diffDictationChars, At as Band, B as outcomeFromRoutedGrade, C as validateItemScoringPolicy, Ct as SpeechSyllable, D as DICTATION_MAX_TEXT_LENGTH, Dt as SpeechWordError, E as DICTATION_MAX_EQUIVALENCE_LENGTH, Et as SpeechWord, F as dictationReferenceWords, Ft as roundGrade, G as CalibrationReport, H as GradeFromJudgementOptions, I as CalibrationThresholds, J as TotalCalibration, K as CalibrationScope, L as GradeRoutingContext, M as DictationReference, Mt as RoundingPolicy, N as DictationWordAlignment, Nt as classifyBand, O as DICTATION_MAX_TRANSCRIPT_LENGTH, Ot as WavInspection, P as alignDictation, Pt as gte, Q as gradeFromRubric, R as GradeRoutingPolicy, S as scoreTries, St as SpeechPlausibilityPolicy, T as DICTATION_MAX_EQUIVALENCES, Tt as SpeechUnscorableCode, U as gradeFromJudgement, V as routeGrade, W as CalibrationPair, X as graderConfiguration, Y as calibrationReport, Z as GradeFromRubricOptions, _ as DEFAULT_PASS_THRESHOLD, _t as ReadAloudWordState, a as evaluateTries, at as ItemTry, b as ITEM_SCORING_MAX_RETRIES, bt as SpeechPhoneme, c as inspectWav, ct as AssessmentScore, d as READ_ALOUD_MAX_SECONDS, dt as PassFailureReason, et as outcomeFromGrade, f as READ_ALOUD_MAX_TAKES, ft as ScoredItem, g as alignReadAloud, gt as ReadAloudWordAlignment, h as validateSpeechAssessment, ht as GradeReadAloudOptions, i as evaluate, it as ItemTriesScore, j as DictationAlignment, jt as RoundingMode, k as DictationCharOp, kt as WavInspectionPolicy, l as READ_ALOUD_MAX_DIMENSION_WEIGHT, lt as AssessmentSectionInput, m as gradeReadAloud, mt as composeAssessmentScore, n as ItemTriesOutcome, nt as ItemScoringPolicy, o as score, ot as ItemTryScore, p as SPEECH_ASSESSMENT_MAX_WORDS, pt as SectionScore, q as CriterionCalibration, r as ScoringOptions, rt as ItemScoringPolicyIssue, s as outcomeFromUnscorable, st as ResolvedItemScoringPolicy, t as EvaluateOptions, tt as ItemScoringCount, u as READ_ALOUD_MAX_REFERENCE_LENGTH, ut as CompositionPolicy, v as computePassThreshold, vt as SpeechAssessment, w as DICTATION_MAX_ACCEPTED_TRANSCRIPTS, wt as SpeechUnscorable, x as resolveItemScoringPolicy, xt as SpeechPhonemeCandidate, y as DEFAULT_ITEM_SCORING_POLICY, yt as SpeechMeasurement, z as inAuditSample } from "./index-DeD8EI1D.js";
3
- import { A as RedactedStimulus, C as RedactedGapSelectChoice, D as RedactedMultipleChoiceOption, E as RedactedMultipleChoiceData, O as RedactedMultipleChoiceOptionMedia, S as RedactedGapSelectBank, T as RedactedGapSelectGap, _ as RedactedActivity, a as JsonSchemaTarget, b as RedactedDictationSlowMedia, c as fillInTheBlanksJsonSchema, d as jsonSchemaFor, f as multipleChoiceJsonSchema, g as validateItemGroup, h as writtenResponseJsonSchema, i as SCRIPT_MAX_TURNS, j as RedactedWrittenResponseData, k as RedactedReadAloudData, l as gapSelectJsonSchema, m as stimulusJsonSchema, n as validateMedia, o as contentJsonSchema, p as readAloudJsonSchema, r as validateOptionMedia, s as dictationJsonSchema, t as validateActivity, u as itemGroupJsonSchema, v as RedactedBlankConfig, w as RedactedGapSelectData, x as RedactedFillInTheBlanksData, y as RedactedDictationData } from "./index-WBHSrIUU.js";
4
- import { a as XAPIObjectParams, c as xapiDefinitionFor, d as XAPI_VERB_DISPLAY, i as SubmittedStatementParams, l as XAPIVerb, n as AnsweredStatementParams, o as XAPIStatementParams, r as CompletedStatementParams, s as xAPIBuilder, t as validateXAPIStatement, u as XAPIVerbKey } from "./index-Dj92T76o.js";
5
- //#region src/ai-material.d.ts
1
+ import { $ as AiTextResult, $n as GradeRoutingReason, $t as DictationEquivalence, A as AiGapSelectFacts, An as ScoringOutcome, At as TimelineCue, B as AiGroupInput, Bn as XAPIActor, Bt as VersionFinding, C as AiDraftsCall, Cn as ReadAloudDimension, Ct as MediaTimeline, D as AiFeature, Dn as RecordingBounds, Dt as Stimulus, E as AiExplanationRequest, En as ReadAloudSlowMedia, Et as SequenceSlotGroup, F as AiGradingCriterionFact, Fn as WrittenResponseData, Ft as DraftSeverity, G as AiOptionFact, Gn as XAPIObject, Gt as ActivityFeedback, H as AiItemFacts, Hn as XAPIContext, Ht as VersionSlot, I as AiGradingFacts, In as WrittenResponseLearnerResponse, It as DraftValidationResult, J as AiReadingWordFact, Jn as XAPIStatement, Jt as ActivityType, K as AiProvenance, Kn as XAPIResult, Kt as ActivityMedia, L as AiGradingJudgement, Ln as WrittenResponseRubric, Lt as ItemFinding, M as AiGeneratedVariant, Mn as ScriptTurn, Mt as DraftContext, N as AiGrade, Nn as ValidationError, Nt as DraftIssue, O as AiFillInTheBlanksFacts, On as RecordingRef, Ot as StimulusKind, P as AiGradedCriterion, Pn as ValidationResult, Pt as DraftNotComplete, Q as AiSupportedActivityType, Qn as GradeRouting, Qt as DictationData, R as AiGradingRequest, Rn as WrittenResponseRubricCriterion, Rt as ItemFindingSeverity, S as AiDrafts, Sn as ReadAloudData, St as MediaProgress, T as AiDraftsRun, Tn as ReadAloudLearnerResponse, Tt as SequenceSlot, U as AiMaterialFacts, Un as XAPIContextActivities, Ut as ActivityData, V as AiHintRequest, Vn as XAPIConfig, Vt as VersionPaper, W as AiMultipleChoiceFacts, Wn as XAPIError, Wt as ActivityDataMap, X as AiRubricCriterionFact, Xn as CriterionScore, Xt as DeferredReason, Y as AiRefusal, Yn as XAPIVerbObject, Yt as BlankConfig, Z as AiSoundFact, Zn as GradeRecord, Zt as DeferredScoringPartial, _ as AiDraftCaption, _n as MultipleChoiceData, _t as AiWritingFacts, a as AiCoachingRequest, an as GapSelectBank, ar as InlineCorrection, at as AiVariantMissing, b as AiDraftSource, bn as MultipleChoiceOptionMedia, bt as AiWritingFeedbackResult, c as AiCriterionJudgement, cn as GapSelectGap, cr as levenshteinDistance, ct as AiVariantSkipCode, d as AiCritiqueFinding, dn as InteractionKind, dt as AiVariantsRequest, en as DictationLearnerResponse, er as Grader, et as AiVariantDifficulty, f as AiCritiqueFindingResult, fn as ItemOutcome, ft as AiVariantsRun, g as AiDictationFacts, gn as MediaTrack, gt as AiWritingCorrection, h as AiCritiqueResult, hn as MediaPlaybackPolicy, ht as AiWordFact, i as AiCoaching, in as FillInTheBlanksLearnerResponse, ir as GradingState, it as AiVariantMismatch, j as AiGeneratedDraft, jn as ScoringResult, jt as DraftComplete, k as AiGapFact, kn as ScoringDetail, kt as TimelineChapter, l as AiCritique, ln as GapSelectLearnerResponse, lr as matchText, lt as AiVariantTargets, m as AiCritiqueRequest, mn as LearnerResponseMap, mt as AiVideoDraft, n as AiActivityInput, nn as DictationTolerance, nr as GraderKind, nt as AiVariantImage, o as AiCoachingResult, on as GapSelectChoice, or as TextMatchPolicy, ot as AiVariantPair, p as AiCritiqueKind, pn as LearnerResponse, pt as AiVerdict, q as AiReadingFacts, qn as XAPIScore, qt as ActivityResult, r as AiBlankFact, rn as FillInTheBlanksData, rr as GraderUsage, rt as AiVariantLevelFacts, s as AiCoachingWord, sn as GapSelectData, sr as TextMatchResult, st as AiVariantSkip, t as ActivityAiPermissions, tn as DictationSlowMedia, tr as GraderConfiguration, tt as AiVariantExemplarFacts, u as AiCritiqueField, un as InteractionEvent, ut as AiVariants, v as AiDraftProblem, vn as MultipleChoiceLearnerResponse, vt as AiWritingFeedback, w as AiDraftsRequest, wn as ReadAloudDimensionWeight, wt as SequenceEntry, x as AiDraftType, xn as NativeControlHint, xt as ItemGroup, y as AiDraftSettings, yn as MultipleChoiceOption, yt as AiWritingFeedbackRequest, z as AiGradingRequestProblem, zn as WrittenResponseRubricLevel, zt as VersionComparison } from "./ai-Cnm0qE8v.js";
2
+ import { $ as hasGrade, A as diffDictationChars, At as Band, B as outcomeFromRoutedGrade, C as validateItemScoringPolicy, Ct as SpeechSyllable, D as DICTATION_MAX_TEXT_LENGTH, Dt as SpeechWordError, E as DICTATION_MAX_EQUIVALENCE_LENGTH, Et as SpeechWord, F as dictationReferenceWords, Ft as roundGrade, G as CalibrationReport, H as GradeFromJudgementOptions, I as CalibrationThresholds, J as TotalCalibration, K as CalibrationScope, L as GradeRoutingContext, M as DictationReference, Mt as RoundingPolicy, N as DictationWordAlignment, Nt as classifyBand, O as DICTATION_MAX_TRANSCRIPT_LENGTH, Ot as WavInspection, P as alignDictation, Pt as gte, Q as gradeFromRubric, R as GradeRoutingPolicy, S as scoreTries, St as SpeechPlausibilityPolicy, T as DICTATION_MAX_EQUIVALENCES, Tt as SpeechUnscorableCode, U as gradeFromJudgement, V as routeGrade, W as CalibrationPair, X as graderConfiguration, Y as calibrationReport, Z as GradeFromRubricOptions, _ as DEFAULT_PASS_THRESHOLD, _t as ReadAloudWordState, a as evaluateTries, at as ItemTry, b as ITEM_SCORING_MAX_RETRIES, bt as SpeechPhoneme, c as inspectWav, ct as AssessmentScore, d as READ_ALOUD_MAX_SECONDS, dt as PassFailureReason, et as outcomeFromGrade, f as READ_ALOUD_MAX_TAKES, ft as ScoredItem, g as alignReadAloud, gt as ReadAloudWordAlignment, h as validateSpeechAssessment, ht as GradeReadAloudOptions, i as evaluate, it as ItemTriesScore, j as DictationAlignment, jt as RoundingMode, k as DictationCharOp, kt as WavInspectionPolicy, l as READ_ALOUD_MAX_DIMENSION_WEIGHT, lt as AssessmentSectionInput, m as gradeReadAloud, mt as composeAssessmentScore, n as ItemTriesOutcome, nt as ItemScoringPolicy, o as score, ot as ItemTryScore, p as SPEECH_ASSESSMENT_MAX_WORDS, pt as SectionScore, q as CriterionCalibration, r as ScoringOptions, rt as ItemScoringPolicyIssue, s as outcomeFromUnscorable, st as ResolvedItemScoringPolicy, t as EvaluateOptions, tt as ItemScoringCount, u as READ_ALOUD_MAX_REFERENCE_LENGTH, ut as CompositionPolicy, v as computePassThreshold, vt as SpeechAssessment, w as DICTATION_MAX_ACCEPTED_TRANSCRIPTS, wt as SpeechUnscorable, x as resolveItemScoringPolicy, xt as SpeechPhonemeCandidate, y as DEFAULT_ITEM_SCORING_POLICY, yt as SpeechMeasurement, z as inAuditSample } from "./index-g-EWIugp.js";
3
+ import { A as RedactedStimulus, C as RedactedGapSelectChoice, D as RedactedMultipleChoiceOption, E as RedactedMultipleChoiceData, O as RedactedMultipleChoiceOptionMedia, S as RedactedGapSelectBank, T as RedactedGapSelectGap, _ as RedactedActivity, a as JsonSchemaTarget, b as RedactedDictationSlowMedia, c as fillInTheBlanksJsonSchema, d as jsonSchemaFor, f as multipleChoiceJsonSchema, g as validateItemGroup, h as writtenResponseJsonSchema, i as SCRIPT_MAX_TURNS, j as RedactedWrittenResponseData, k as RedactedReadAloudData, l as gapSelectJsonSchema, m as stimulusJsonSchema, n as validateMedia, o as contentJsonSchema, p as readAloudJsonSchema, r as validateOptionMedia, s as dictationJsonSchema, t as validateActivity, u as itemGroupJsonSchema, v as RedactedBlankConfig, w as RedactedGapSelectData, x as RedactedFillInTheBlanksData, y as RedactedDictationData } from "./index-HXvg0YRQ.js";
4
+ import { a as XAPIObjectParams, c as xapiDefinitionFor, d as XAPI_VERB_DISPLAY, i as SubmittedStatementParams, l as XAPIVerb, n as AnsweredStatementParams, o as XAPIStatementParams, r as CompletedStatementParams, s as xAPIBuilder, t as validateXAPIStatement, u as XAPIVerbKey } from "./index-CtoPhJAH.js";
6
5
  /**
7
6
  * What a model is told about the group a question sits in: the material the
8
7
  * learner reads and sees beside it.
@@ -16,8 +15,6 @@ import { a as XAPIObjectParams, c as xapiDefinitionFor, d as XAPI_VERB_DISPLAY,
16
15
  * 4,000–7,000.
17
16
  */
18
17
  export declare const AI_MATERIAL_MAX_LENGTH = 12000;
19
- //#endregion
20
- //#region src/ai.d.ts
21
18
  /**
22
19
  * The activity types the SDK builds facts for, and which of them take hints.
23
20
  * A dictation takes none: its answer is the whole sentence, and it has
@@ -154,8 +151,6 @@ export declare function checkAiHint(raw: unknown, request: AiHintRequest): {
154
151
  * Case, accents and punctuation are ignored on both sides.
155
152
  */
156
153
  export declare function hintRevealsAnswer(facts: AiItemFacts, hint: string): boolean;
157
- //#endregion
158
- //#region src/ai-coaching.d.ts
159
154
  /** The most words one coaching may work on. More is refused, not cut. */
160
155
  export declare const AI_COACHING_MAX_WORDS = 20;
161
156
  /** The longest tip for one word, in code points. */
@@ -212,8 +207,6 @@ export declare function checkAiCoaching(raw: unknown, request: AiCoachingRequest
212
207
  ok: false;
213
208
  refusal: AiRefusal;
214
209
  };
215
- //#endregion
216
- //#region src/ai-critique.d.ts
217
210
  /** The most findings one critique may carry. More is refused, not cut. */
218
211
  export declare const AI_CRITIQUE_MAX_FINDINGS = 20;
219
212
  /** The longest message or quote in a finding, in code points. */
@@ -263,8 +256,6 @@ export declare function checkAiCritique(raw: unknown, request: AiCritiqueRequest
263
256
  ok: false;
264
257
  refusal: AiRefusal;
265
258
  };
266
- //#endregion
267
- //#region src/ai-drafts.d.ts
268
259
  /** The most drafts one request may ask for, and the most a reply may hold when it names no count. */
269
260
  export declare const AI_DRAFTS_MAX_COUNT = 50;
270
261
  /** The most repair passes `generateDrafts` makes. */
@@ -400,8 +391,6 @@ export declare function interactiveVideoFromDrafts(input: {
400
391
  title?: string;
401
392
  newId: () => string;
402
393
  }): AiVideoDraft;
403
- //#endregion
404
- //#region src/ai-grading.d.ts
405
394
  /**
406
395
  * How far a model's level probabilities may sum from 1 and still be a
407
396
  * distribution: rounding in a model's output, not a different judgement.
@@ -469,8 +458,188 @@ export declare function checkAiGrading(raw: unknown, request: AiGradingRequest):
469
458
  ok: true;
470
459
  judgement: AiGradingJudgement;
471
460
  } | Refused;
472
- //#endregion
473
- //#region src/ai-written.d.ts
461
+ /**
462
+ * How alike two texts must be to count as one copying the other: the share of
463
+ * their word triples (3-word shingles) they have in common, as Jaccard
464
+ * similarity. 0.5 means half of everything either text says, three words at a
465
+ * time, is in the other.
466
+ */
467
+ export declare const AI_VARIANT_NEAR_COPY_THRESHOLD = 0.5;
468
+ /**
469
+ * How far a parallel text may stray from its exemplar's length, in words:
470
+ * `ratio` of the exemplar's words either way, and never less than `minWords`.
471
+ * Material — a passage, a listening script, what a recording says — is held
472
+ * closer than an item's own text, because how much a candidate reads or hears
473
+ * is what makes one form of a part harder than another.
474
+ */
475
+ export declare const AI_VARIANT_LENGTH_BANDS: {
476
+ readonly material: {
477
+ readonly ratio: 0.1;
478
+ readonly minWords: 5;
479
+ };
480
+ readonly item: {
481
+ readonly ratio: 0.25;
482
+ readonly minWords: 2;
483
+ };
484
+ };
485
+ /** A host's own ratios, overriding the bands above: `{ material: 0.15 }`. */
486
+ interface LengthTolerance {
487
+ material?: number;
488
+ item?: number;
489
+ }
490
+ /** The most exemplars one request may vary: a long section is sent in parts. */
491
+ export declare const AI_VARIANTS_MAX_EXEMPLARS = 20;
492
+ /** The most repair passes `generateVariants` makes. */
493
+ export declare const AI_VARIANTS_MAX_REPAIRS = 3;
494
+ /** The longest passage or script, in characters, an exemplar may carry into the facts. */
495
+ export declare const AI_VARIANTS_MAX_MATERIAL_LENGTH = 12000;
496
+ /**
497
+ * Every code a variant can be reported with, and its severity: a contract,
498
+ * as the critic's codes are. `docs/ai.md` documents this table and a test
499
+ * holds the two together.
500
+ */
501
+ export declare const AI_VARIANT_CODE_SEVERITY: {
502
+ readonly variant_missing: "invalid";
503
+ readonly variant_type: "invalid";
504
+ readonly variant_structure: "invalid";
505
+ readonly variant_length: "warning";
506
+ readonly variant_near_copy: "warning";
507
+ readonly variant_same_key: "warning";
508
+ };
509
+ /**
510
+ * What a model is given to write a variant of each exemplar — a parallel item:
511
+ * the exemplar's type, structure, scoring and settings, with every word a
512
+ * learner reads or hears new — and what `checkAiVariants` needs to check the
513
+ * reply against.
514
+ *
515
+ * `exemplars` are loose activities and item groups as stored, answer keys and
516
+ * author-only transcripts included, in paper order; one variant is written for
517
+ * each that can be varied. An exemplar that cannot is left out of the facts
518
+ * and listed in `skipped`: a recording with nothing to say what it says
519
+ * (`variant_exemplar_unheard`), a picture with no description to reuse
520
+ * (`variant_exemplar_unseen`), an unfinished item
521
+ * (`variant_exemplar_incomplete`), an interactive video
522
+ * (`variant_exemplar_timeline`), a type the SDK does not vary
523
+ * (`variant_exemplar_unsupported`) or material over
524
+ * {@link AI_VARIANTS_MAX_MATERIAL_LENGTH} characters
525
+ * (`variant_exemplar_too_long`). When every exemplar is skipped the request has
526
+ * none, and `generateVariants` makes no call.
527
+ *
528
+ * The facts give each exemplar's content in the shape a variant is written in,
529
+ * and its `targets`: the structure to keep, the length of each text in words,
530
+ * its difficulty with the levers to move it, and the critic's findings on it
531
+ * not to repeat. `rules` are what every variant must respect, as sentences a
532
+ * prompt can quote. Pictures are listed in `images`, for a host that attaches
533
+ * them; no recording's address reaches the facts. `avoid` is the other forms'
534
+ * items: compared with every variant, never varied.
535
+ *
536
+ * Nothing passed is changed.
537
+ *
538
+ * @throws RangeError when `exemplars` is empty or longer than
539
+ * {@link AI_VARIANTS_MAX_EXEMPLARS}, an exemplar is neither an item group nor
540
+ * a registered activity type, `level` is empty, a difficulty is not `easier`,
541
+ * `same` or `harder`, `images` is neither `describe` nor `reuse`, or
542
+ * `difficultyFor` names an id no exemplar has.
543
+ */
544
+ export declare function aiVariantsRequest(input: {
545
+ exemplars: readonly unknown[];
546
+ level: string;
547
+ difficulty?: AiVariantDifficulty;
548
+ difficultyFor?: Readonly<Record<string, {
549
+ difficulty: AiVariantDifficulty;
550
+ reason?: string;
551
+ }>>;
552
+ locale?: string;
553
+ levelFacts?: AiVariantLevelFacts;
554
+ avoid?: readonly unknown[];
555
+ images?: 'describe' | 'reuse';
556
+ instructions?: string;
557
+ settings?: AiDraftSettings;
558
+ lengthTolerance?: LengthTolerance;
559
+ balanceKeyPositions?: {
560
+ seed: string;
561
+ };
562
+ }): AiVariantsRequest;
563
+ /**
564
+ * Reads a model's reply to {@link aiVariantsRequest} into variants an editor
565
+ * can show for approval: each made from what the model wrote and what its
566
+ * exemplar is — type, structure, scoring and settings copied from the
567
+ * exemplar, whatever the reply says of them — with ids from `newId`, checked
568
+ * by `validateDraft` (or `validateItemGroupDraft`), compared with its exemplar
569
+ * (`mismatches`: `variant_type`, `variant_structure`), critiqued, and checked
570
+ * for length, near copies and repeated keys against the exemplar and every
571
+ * entry in `avoid` (`findings`: `variant_length`, `variant_near_copy`,
572
+ * `variant_same_key`). `pairs` line each exemplar item up with its variant's.
573
+ *
574
+ * A recording comes back with no file — `url: null`, its playback policy, and
575
+ * a new script or transcript — and a picture to describe with no file and a
576
+ * new `alt`: `media_url_required` until the host attaches one.
577
+ *
578
+ * Variants are independent: one that is wrong comes back as such, beside the
579
+ * others. An exemplar the reply wrote nothing for is listed in `missing`. The
580
+ * whole reply is refused only when it is not `{ variants: [...] }` of objects
581
+ * each naming an exemplar of the facts once (`malformed`), or holds more
582
+ * variants than exemplars (`too-long`).
583
+ *
584
+ * With `balanceKeyPositions` the single-answer keys are spread across
585
+ * positions, from its seed.
586
+ *
587
+ * @throws Error when `newId` returns an empty or repeated id.
588
+ */
589
+ export declare function checkAiVariants(raw: unknown, request: AiVariantsRequest, options: {
590
+ newId: () => string;
591
+ }): {
592
+ ok: true;
593
+ variants: AiVariants;
594
+ } | {
595
+ ok: false;
596
+ refusal: AiRefusal;
597
+ };
598
+ /**
599
+ * A second request, for the variants with something the model can fix —
600
+ * a wrong type or structure, an issue other than a missing file, or a warning
601
+ * at a field the model writes — and the exemplars the reply wrote nothing for
602
+ * (`variant_missing`). Each comes with its problems at the paths the model
603
+ * wrote; the exemplar and its targets stay in the facts. `null` when there is
604
+ * nothing to repair.
605
+ *
606
+ * The reply holds one variant for each, naming its exemplar;
607
+ * {@link checkAiVariants} reads it.
608
+ */
609
+ export declare function aiVariantsRepairRequest(request: AiVariantsRequest, variants: AiVariants | AiVariantsRun | readonly AiGeneratedVariant[]): AiVariantsRequest | null;
610
+ /**
611
+ * Writes variants of existing items, with a bounded repair loop: asks the port
612
+ * with `request`, reads the reply as {@link checkAiVariants} does, then — up
613
+ * to `repairs` times — sends back what the model can fix and what it did not
614
+ * write ({@link aiVariantsRepairRequest}), keeping each variant's best pass:
615
+ * by status, then fewer invalid problems, then fewer warnings. A repaired
616
+ * variant keeps its id. With `balanceKeyPositions`, the keys are spread once,
617
+ * over the variants as they end.
618
+ *
619
+ * Never throws for a model's failure: a port that throws or a reply the SDK
620
+ * refuses ends the loop, and is recorded in `calls` beside the provenance and
621
+ * usage of every call. A first call that fails leaves no variants. A request
622
+ * with no exemplar to vary makes no call.
623
+ *
624
+ * ```ts
625
+ * const run = await generateVariants({
626
+ * request: aiVariantsRequest({ exemplars: section, level: 'CEFR B1', avoid: otherForms }),
627
+ * port: (request) => callMyModel(VARIANTS_PROMPT, request),
628
+ * newId: () => crypto.randomUUID(),
629
+ * });
630
+ * // run.variants: store each as proposed, for a person to approve.
631
+ * ```
632
+ *
633
+ * @throws RangeError when `repairs` is not a whole number from 0 to
634
+ * {@link AI_VARIANTS_MAX_REPAIRS} (default 1), and Error when `newId` returns
635
+ * an empty or repeated id.
636
+ */
637
+ export declare function generateVariants(input: {
638
+ request: AiVariantsRequest;
639
+ port: (request: AiVariantsRequest) => Promise<unknown> | unknown;
640
+ newId: () => string;
641
+ repairs?: number;
642
+ }): Promise<AiVariantsRun>;
474
643
  /**
475
644
  * What the AI features about a written response share: reading a model's text
476
645
  * fields, and finding each correction's quote in the learner's text.
@@ -483,8 +652,6 @@ export declare function checkAiGrading(raw: unknown, request: AiGradingRequest):
483
652
  export declare const AI_WRITING_MAX_CORRECTIONS = 20;
484
653
  /** The longest quote, correction, explanation or criterion comment, in code points. */
485
654
  export declare const AI_WRITING_MAX_FIELD_LENGTH = 500;
486
- //#endregion
487
- //#region src/ai-writing.d.ts
488
655
  /**
489
656
  * The request for feedback on a draft, or `null` when there is none to give:
490
657
  * not a written response, an author who switched explanations off (writing
@@ -536,8 +703,6 @@ export declare function checkAiWritingFeedback(raw: unknown, request: AiWritingF
536
703
  ok: false;
537
704
  refusal: AiRefusal;
538
705
  };
539
- //#endregion
540
- //#region src/types/delivery.d.ts
541
706
  /**
542
707
  * How a paper is delivered: what a learner is shown around the questions, as
543
708
  * the school running it decides — separately from the content, so that one
@@ -611,8 +776,6 @@ interface DeliveryPolicyIssue {
611
776
  path: string;
612
777
  message: string;
613
778
  }
614
- //#endregion
615
- //#region src/types/attempt-plan.d.ts
616
779
  /** One planned position: an item, its identity, its worth, and its fingerprint. */
617
780
  interface AttemptPlanSlot {
618
781
  /**
@@ -760,8 +923,6 @@ interface AttemptPlanDrift {
760
923
  */
761
924
  scoringChanged?: true;
762
925
  }
763
- //#endregion
764
- //#region src/attempt-plan.d.ts
765
926
  /** Options for {@link planAttempt}. */
766
927
  export interface PlanAttemptOptions<TItem> {
767
928
  /** Shuffle the top-level entries. A group moves as one block. */
@@ -898,8 +1059,6 @@ export declare function scoredItemsFromPlan(plan: AttemptPlan, outcomes: Readonl
898
1059
  }): ScoredItem[];
899
1060
  /** Convenience alias: the entry type a plan is built from. */
900
1061
  export type PlannableEntry = SequenceEntry<ActivityData>;
901
- //#endregion
902
- //#region src/types/attempt-state.d.ts
903
1062
  /**
904
1063
  * A resumable snapshot of an attempt in progress.
905
1064
  *
@@ -942,8 +1101,6 @@ interface ResponseDiffEntry {
942
1101
  before?: LearnerResponse;
943
1102
  after?: LearnerResponse;
944
1103
  }
945
- //#endregion
946
- //#region src/attempt-state.d.ts
947
1104
  /** What {@link serializeAttemptState} is given about an attempt in progress. */
948
1105
  export interface AttemptProgress {
949
1106
  /** Answers so far, keyed by `slotId`. */
@@ -996,8 +1153,6 @@ export declare function restoreAttemptState(plan: AttemptPlan, state: AttemptSta
996
1153
  * the order the two objects happened to be written in.
997
1154
  */
998
1155
  export declare function diffResponses(before: Pick<AttemptState, 'responses'>, after: Pick<AttemptState, 'responses'>): ResponseDiffEntry[];
999
- //#endregion
1000
- //#region src/authoring/item-group.d.ts
1001
1156
  /**
1002
1157
  * A new, empty reading or listening testlet for an editor to start from.
1003
1158
  *
@@ -1067,8 +1222,6 @@ export declare function critiqueItemGroupDraft(draft: unknown): ItemFinding[];
1067
1222
  */
1068
1223
  export declare function critiqueDrafts(entries: readonly unknown[]): ItemFinding[];
1069
1224
  export declare function validateItemGroupDraft(draft: unknown): DraftValidationResult<ItemGroup>;
1070
- //#endregion
1071
- //#region src/authoring/index.d.ts
1072
1225
  /**
1073
1226
  * Tells a draft that is not finished from a draft that is wrong.
1074
1227
  *
@@ -1148,8 +1301,6 @@ export declare function createDraft<T extends ActivityType>(type: T, context: Dr
1148
1301
  * including `'item-group'`: use {@link critiqueItemGroupDraft}.
1149
1302
  */
1150
1303
  export declare function critiqueDraft(type: ActivityType, draft: unknown): ItemFinding[];
1151
- //#endregion
1152
- //#region src/built-in-types.d.ts
1153
1304
  /**
1154
1305
  * The activity types the SDK ships, in one closed list.
1155
1306
  *
@@ -1168,8 +1319,6 @@ export declare const BUILT_IN_ACTIVITY_TYPES: readonly ["multiple-choice", "fill
1168
1319
  type BuiltInActivityType = (typeof BUILT_IN_ACTIVITY_TYPES)[number];
1169
1320
  /** Whether `type` names an activity type the SDK ships. */
1170
1321
  export declare function isBuiltInActivityType(type: unknown): type is BuiltInActivityType;
1171
- //#endregion
1172
- //#region src/content-hash.d.ts
1173
1322
  /**
1174
1323
  * Content fingerprinting — "is this the same content the learner was served?"
1175
1324
  *
@@ -1207,8 +1356,6 @@ export declare function fingerprint(input: string): string;
1207
1356
  * the result depends on the content and not on how it was written.
1208
1357
  */
1209
1358
  export declare function contentHash(value: unknown): string;
1210
- //#endregion
1211
- //#region src/count-words.d.ts
1212
1359
  /**
1213
1360
  * Canonical word counter for written-response bounds: tokens are
1214
1361
  * maximal runs of non-whitespace (split on `\s+`), so hyphenated forms
@@ -1217,8 +1364,6 @@ export declare function contentHash(value: unknown): string;
1217
1364
  * client previews, SDK scoring, and stored `wordCount` values always agree.
1218
1365
  */
1219
1366
  export declare function countWords(text: string): number;
1220
- //#endregion
1221
- //#region src/delivery.d.ts
1222
1367
  /**
1223
1368
  * The policy that restricts nothing: every setting `true`. It is what an absent
1224
1369
  * policy resolves to, and it is exactly the behaviour the SDK had before
@@ -1257,8 +1402,6 @@ export declare function validateDeliveryPolicy(policy: unknown): {
1257
1402
  success: false;
1258
1403
  issues: DeliveryPolicyIssue[];
1259
1404
  };
1260
- //#endregion
1261
- //#region src/errors.d.ts
1262
1405
  /** Thrown when activity data fails schema validation at a component boundary. */
1263
1406
  export declare class ActivitySchemaError extends Error {
1264
1407
  readonly activityType: string;
@@ -1295,8 +1438,6 @@ export declare class DeferredScoringError extends Error {
1295
1438
  readonly activityType: string;
1296
1439
  constructor(activityType: string);
1297
1440
  }
1298
- //#endregion
1299
- //#region src/item-group.d.ts
1300
1441
  /** Narrows a sequence entry to an item group. */
1301
1442
  export declare function isItemGroup<TItem extends {
1302
1443
  type: string;
@@ -1336,8 +1477,6 @@ export declare function flattenSequence<TItem extends {
1336
1477
  id: string;
1337
1478
  type: string;
1338
1479
  }>(entries: readonly SequenceEntry<TItem>[], options?: FlattenSequenceOptions): SequenceSlot<TItem>[];
1339
- //#endregion
1340
- //#region src/types/media-budget.d.ts
1341
1480
  /**
1342
1481
  * What one budgeted recording has cost the learner so far.
1343
1482
  */
@@ -1413,8 +1552,6 @@ interface MediaPlayGrant {
1413
1552
  */
1414
1553
  playsUsed: number;
1415
1554
  }
1416
- //#endregion
1417
- //#region src/media-budget.d.ts
1418
1555
  /**
1419
1556
  * The authored-entry prefix of a slot id: `"3"` for both `"3"` and `"3.1"`.
1420
1557
  *
@@ -1487,8 +1624,6 @@ export declare function serializeMediaPlayLedger(plan: AttemptPlan, entries: Rea
1487
1624
  * anything `serializeMediaPlayLedger` refuses.
1488
1625
  */
1489
1626
  export declare function restoreMediaPlayLedger(plan: AttemptPlan, stored: MediaPlayLedger): MediaPlayLedger;
1490
- //#endregion
1491
- //#region src/media-refs.d.ts
1492
1627
  /**
1493
1628
  * What a media reference points at. The first four are a holder's main file,
1494
1629
  * named by its `type`; the rest are the files beside it.
@@ -1576,8 +1711,6 @@ export declare function mapMediaRefs<T>(entry: T, fn: (ref: MediaRef) => string
1576
1711
  * ```
1577
1712
  */
1578
1713
  export declare function transcriptOf(holder: unknown): string | null;
1579
- //#endregion
1580
- //#region src/standard-schema.d.ts
1581
1714
  /**
1582
1715
  * Standard Schema v1 (https://standardschema.dev): the interface zod, valibot,
1583
1716
  * ArkType and other validators implement, so a library can accept a schema from
@@ -1651,8 +1784,6 @@ declare namespace StandardSchemaV1 {
1651
1784
  /** Infers the output type of a Standard Schema. */
1652
1785
  type InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema['~standard']['types']>['output'];
1653
1786
  }
1654
- //#endregion
1655
- //#region src/registry/define.d.ts
1656
1787
  /**
1657
1788
  * Identity helper that gives full type inference when authoring a descriptor:
1658
1789
  *
@@ -1667,8 +1798,6 @@ declare namespace StandardSchemaV1 {
1667
1798
  export declare function defineActivityType<TData extends {
1668
1799
  type: string;
1669
1800
  }, TResponse>(descriptor: ActivityTypeDescriptor<TData, TResponse>): ActivityTypeDescriptor<TData, TResponse>;
1670
- //#endregion
1671
- //#region src/registry/registry.d.ts
1672
1801
  /** ScoringResult without `passed` — the public `score()` / `evaluate()` fill that in. */
1673
1802
  type PartialScoringResult = Omit<ScoringResult, 'passed'>;
1674
1803
  /**
@@ -1887,8 +2016,6 @@ export declare function registerActivityType<TData extends {
1887
2016
  export declare function getActivityTypeDescriptor(type: string): RegisteredActivityTypeDescriptor | undefined;
1888
2017
  /** The type strings currently registered (built-ins plus consumer-registered). */
1889
2018
  export declare function registeredActivityTypes(): string[];
1890
- //#endregion
1891
- //#region src/redact.d.ts
1892
2019
  /**
1893
2020
  * A learner-safe projection of activity data produced by {@link redact}:
1894
2021
  * the activity's public fields plus the `redacted: true` marker. Renderable
@@ -2013,8 +2140,6 @@ export declare function assertRedactedItemGroup(data: unknown): asserts data is
2013
2140
  * and Error when it declares no `fieldPolicy`.
2014
2141
  */
2015
2142
  export declare function withoutAuthorOnly<T>(entry: T): T;
2016
- //#endregion
2017
- //#region src/registry/builtins.d.ts
2018
2143
  /** Built-in Multiple Choice descriptor. */
2019
2144
  export declare const multipleChoiceType: ActivityTypeDescriptor<MultipleChoiceData, MultipleChoiceLearnerResponse>;
2020
2145
  /** Built-in Fill-in-the-Blanks descriptor. */
@@ -2042,8 +2167,6 @@ export declare const dictationType: ActivityTypeDescriptor<DictationData, Dictat
2042
2167
  * speech assessment.
2043
2168
  */
2044
2169
  export declare const readAloudType: ActivityTypeDescriptor<ReadAloudData, ReadAloudLearnerResponse>;
2045
- //#endregion
2046
- //#region src/shuffle.d.ts
2047
2170
  /**
2048
2171
  * Seeded, deterministic shuffling — the ONE algorithm every presentation-order
2049
2172
  * decision in the SDK goes through: option order in a multiple-choice item,
@@ -2119,8 +2242,6 @@ export declare function seededShuffle<T>(items: readonly T[], seed: string, opti
2119
2242
  * `2` the default, which would re-order what this call returns.
2120
2243
  */
2121
2244
  export declare function seededShuffle<T>(items: readonly T[], seed: string, options?: SeededShuffleOptions): T[];
2122
- //#endregion
2123
- //#region src/timeline.d.ts
2124
2245
  /**
2125
2246
  * Reads a stored {@link MediaProgress}. Never throws: anything that is not one
2126
2247
  * — a string, a stale shape, an object whose getters throw — answers `null`,
@@ -2148,8 +2269,6 @@ export declare function readMediaProgress(value: unknown, duration?: number): Me
2148
2269
  * never read as a grade.
2149
2270
  */
2150
2271
  export declare function composeTimelineScore(entryKey: string, items: readonly ScoredItem[], policy: CompositionPolicy): AssessmentScore;
2151
- //#endregion
2152
- //#region src/timeline-limits.d.ts
2153
2272
  /**
2154
2273
  * The bounds of an interactive video — an item group with a `timeline`.
2155
2274
  *
@@ -2180,8 +2299,6 @@ export declare const TIMELINE_MAX_ITEMS = 200;
2180
2299
  export declare const TIMELINE_MAX_CHAPTERS = 100;
2181
2300
  /** The longest quiz or chapter title, in UTF-16 units. A title sits on one line of the player. */
2182
2301
  export declare const TIMELINE_MAX_TITLE_LENGTH = 120;
2183
- //#endregion
2184
- //#region src/types/theme.d.ts
2185
2302
  /**
2186
2303
  * All CSS custom property tokens consumed by learning-kit components.
2187
2304
  * Every key maps to a `--lk-*` CSS variable name; every value is a CSS value string.
@@ -2237,6 +2354,45 @@ interface ThemeTokens {
2237
2354
  '--lk-transition-fast': string;
2238
2355
  '--lk-transition-base': string;
2239
2356
  }
2240
- //#endregion
2241
- export { type ActivityAiPermissions, type ActivityData, type ActivityDataMap, type ActivityFeedback, type ActivityMedia, type ActivityResult, type ActivityType, type ActivityTypeAuthoring, type ActivityTypeDescriptor, type ActivityTypeInterop, type ActivityTypeScoring, type AiActivityInput, type AiBlankFact, type AiCoaching, type AiCoachingRequest, type AiCoachingResult, type AiCoachingWord, type AiCriterionJudgement, type AiCritique, type AiCritiqueField, type AiCritiqueFinding, type AiCritiqueFindingResult, type AiCritiqueKind, type AiCritiqueRequest, type AiCritiqueResult, type AiDictationFacts, type AiDraftCaption, type AiDraftProblem, type AiDraftSettings, type AiDraftSource, type AiDraftType, type AiDrafts, type AiDraftsCall, type AiDraftsRequest, type AiDraftsRun, type AiExplanationRequest, type AiFeature, type AiFillInTheBlanksFacts, type AiGapFact, type AiGapSelectFacts, type AiGeneratedDraft, type AiGrade, type AiGradedCriterion, type AiGradingCriterionFact, type AiGradingFacts, type AiGradingJudgement, type AiGradingRequest, type AiGradingRequestProblem, type AiGroupInput, type AiHintRequest, type AiItemFacts, type AiMaterialFacts, type AiMultipleChoiceFacts, type AiOptionFact, type AiProvenance, type AiReadingFacts, type AiReadingWordFact, type AiRefusal, type AiRubricCriterionFact, type AiSoundFact, type AiSupportedActivityType, type AiTextResult, type AiVerdict, type AiVideoDraft, type AiWordFact, type AiWritingCorrection, type AiWritingFacts, type AiWritingFeedback, type AiWritingFeedbackRequest, type AiWritingFeedbackResult, type AnsweredStatementParams, type AssessmentScore, type AssessmentSectionInput, type AttemptPlan, type AttemptPlanDrift, type AttemptPlanSlot, type AttemptState, type Band, type BlankConfig, type BuiltInActivityType, type CalibrationPair, type CalibrationReport, type CalibrationScope, type CalibrationThresholds, type CompletedStatementParams, type CompositionPolicy, type CriterionCalibration, type CriterionScore, DEFAULT_ITEM_SCORING_POLICY, DEFAULT_PASS_THRESHOLD, DICTATION_MAX_ACCEPTED_TRANSCRIPTS, DICTATION_MAX_EQUIVALENCES, DICTATION_MAX_EQUIVALENCE_LENGTH, DICTATION_MAX_TEXT_LENGTH, DICTATION_MAX_TRANSCRIPT_LENGTH, type DeferredReason, type DeferredScoringPartial, type DeliveryPolicy, type DeliveryPolicyIssue, type DictationAlignment, type DictationCharOp, type DictationData, type DictationEquivalence, type DictationLearnerResponse, type DictationReference, type DictationSlowMedia, type DictationTolerance, type DictationWordAlignment, type DraftComplete, type DraftContext, type DraftIssue, type DraftNotComplete, type DraftSeverity, type DraftValidationResult, EvaluateOptions, type FieldPolicy, type FillInTheBlanksData, type FillInTheBlanksLearnerResponse, type GapSelectBank, type GapSelectChoice, type GapSelectData, type GapSelectGap, type GapSelectLearnerResponse, type GradeFromJudgementOptions, GradeFromRubricOptions, type GradeReadAloudOptions, type GradeRecord, type GradeRouting, type GradeRoutingContext, type GradeRoutingPolicy, type GradeRoutingReason, type Grader, type GraderConfiguration, type GraderKind, type GraderUsage, type GradingState, ITEM_SCORING_MAX_RETRIES, type InlineCorrection, type InteractionEvent, type InteractionKind, type ItemFinding, type ItemFindingSeverity, type ItemGroup, type ItemOutcome, type ItemScoringCount, type ItemScoringPolicy, type ItemScoringPolicyIssue, ItemTriesOutcome, type ItemTriesScore, type ItemTry, type ItemTryScore, type JsonSchemaTarget, type LearnerResponse, type LearnerResponseMap, type MediaBudgetRef, type MediaPlayClaim, type MediaPlayGrant, type MediaPlayLedger, type MediaPlayLedgerEntry, type MediaPlaybackPolicy, type MediaProgress, type MediaSlot, type MediaTimeline, type MediaTrack, type MultipleChoiceData, type MultipleChoiceLearnerResponse, type MultipleChoiceOption, type MultipleChoiceOptionMedia, type NativeControlHint, type PartialScoringResult, type PassFailureReason, READ_ALOUD_MAX_DIMENSION_WEIGHT, READ_ALOUD_MAX_REFERENCE_LENGTH, READ_ALOUD_MAX_SECONDS, READ_ALOUD_MAX_TAKES, type ReadAloudData, type ReadAloudDimension, type ReadAloudDimensionWeight, type ReadAloudLearnerResponse, type ReadAloudSlowMedia, type ReadAloudWordAlignment, type ReadAloudWordState, type RecordingBounds, type RecordingRef, type RedactedActivity, type RedactedBlankConfig, type RedactedDictationData, type RedactedDictationSlowMedia, type RedactedFillInTheBlanksData, type RedactedGapSelectBank, type RedactedGapSelectChoice, type RedactedGapSelectData, type RedactedGapSelectGap, type RedactedMultipleChoiceData, type RedactedMultipleChoiceOption, type RedactedMultipleChoiceOptionMedia, type RedactedReadAloudData, type RedactedStimulus, type RedactedWrittenResponseData, type RegisteredActivityTypeDescriptor, type ResolvedDeliveryPolicy, type ResolvedItemScoringPolicy, type ResponseDiffEntry, type RoundingMode, type RoundingPolicy, SCRIPT_MAX_TURNS, SPEECH_ASSESSMENT_MAX_WORDS, type ScoredItem, type ScoringDetail, ScoringOptions, type ScoringOutcome, type ScoringResult, type ScriptTurn, type SectionScore, type Sensitivity, type SequenceEntry, type SequenceSlot, type SequenceSlotGroup, type SpeechAssessment, type SpeechMeasurement, type SpeechPhoneme, type SpeechPhonemeCandidate, type SpeechPlausibilityPolicy, type SpeechSyllable, type SpeechUnscorable, type SpeechUnscorableCode, type SpeechWord, type SpeechWordError, type StandardSchemaV1, type Stimulus, type StimulusKind, type SubmittedStatementParams, type TextMatchPolicy, type TextMatchResult, type ThemeTokens, type TimelineChapter, type TimelineCue, type TotalCalibration, type ValidationError, type ValidationResult, type WavInspection, type WavInspectionPolicy, type WrittenResponseData, type WrittenResponseLearnerResponse, type WrittenResponseRubric, type WrittenResponseRubricCriterion, type WrittenResponseRubricLevel, type XAPIActor, type XAPIConfig, type XAPIContext, type XAPIContextActivities, type XAPIError, type XAPIInteractionType, type XAPIObject, type XAPIObjectParams, type XAPIResult, type XAPIScore, type XAPIStatement, type XAPIStatementParams, XAPIVerb, type XAPIVerbKey, type XAPIVerbObject, XAPI_VERB_DISPLAY, alignDictation, alignReadAloud, calibrationReport, classifyBand, composeAssessmentScore, computePassThreshold, contentJsonSchema, dictationJsonSchema, dictationReferenceWords, diffDictationChars, evaluate, evaluateTries, fillInTheBlanksJsonSchema, gapSelectJsonSchema, gradeFromJudgement, gradeFromRubric, gradeReadAloud, graderConfiguration, gte, hasGrade, inAuditSample, inspectWav, itemGroupJsonSchema, jsonSchemaFor, levenshteinDistance, matchText, multipleChoiceJsonSchema, outcomeFromGrade, outcomeFromRoutedGrade, outcomeFromUnscorable, readAloudJsonSchema, resolveItemScoringPolicy, roundGrade, routeGrade, score, scoreTries, stimulusJsonSchema, validateActivity, validateItemGroup, validateItemScoringPolicy, validateMedia, validateOptionMedia, validateSpeechAssessment, validateXAPIStatement, writtenResponseJsonSchema, xAPIBuilder, xapiDefinitionFor };
2357
+ /**
2358
+ * Every code `critiqueVersions` reports, and its severity: a contract, as the
2359
+ * critic's codes are. `versions_shared_media` is `advice` for a picture both
2360
+ * forms may show, and a `warning` otherwise.
2361
+ */
2362
+ export declare const VERSION_FINDING_SEVERITY: {
2363
+ readonly versions_section_mismatch: "invalid";
2364
+ readonly versions_entry_count: "invalid";
2365
+ readonly versions_type_mismatch: "invalid";
2366
+ readonly versions_structure_mismatch: "invalid";
2367
+ readonly versions_objectives_mismatch: "warning";
2368
+ readonly versions_length_out_of_band: "warning";
2369
+ readonly versions_near_copy: "warning";
2370
+ readonly versions_same_key: "warning";
2371
+ readonly versions_shared_media: "warning";
2372
+ };
2373
+ /**
2374
+ * Compares two forms of an exam slot by slot, and the whole of one with the
2375
+ * whole of the other: whether they are parallel — the same blueprint, types,
2376
+ * structure and scoring (`invalid` when not) — and whether a learner who sat
2377
+ * one would meet the other again: a near copy anywhere in the other form, a
2378
+ * shared right answer in a paired slot, the same recording (`warning`), or
2379
+ * the same picture (`advice` while `allowSharedImages`, its default).
2380
+ * Objectives and lengths that differ are warnings.
2381
+ *
2382
+ * Slots are paired by `pairs` (paths from each paper's root, as
2383
+ * `generateVariants`' pairs give them once a host places them), then by
2384
+ * `slotKey`, then by position: the same entry of the same section. A paired
2385
+ * group's items pair by their own `slotKey`, then by position.
2386
+ *
2387
+ * It reads content as stored, finished or not, and never throws.
2388
+ */
2389
+ export declare function critiqueVersions(a: VersionPaper, b: VersionPaper, options?: {
2390
+ pairs?: readonly {
2391
+ a: readonly string[];
2392
+ b: readonly string[];
2393
+ }[];
2394
+ lengthTolerance?: LengthTolerance;
2395
+ allowSharedImages?: boolean;
2396
+ }): VersionComparison;
2397
+ export { type ActivityAiPermissions, type ActivityData, type ActivityDataMap, type ActivityFeedback, type ActivityMedia, type ActivityResult, type ActivityType, type ActivityTypeAuthoring, type ActivityTypeDescriptor, type ActivityTypeInterop, type ActivityTypeScoring, type AiActivityInput, type AiBlankFact, type AiCoaching, type AiCoachingRequest, type AiCoachingResult, type AiCoachingWord, type AiCriterionJudgement, type AiCritique, type AiCritiqueField, type AiCritiqueFinding, type AiCritiqueFindingResult, type AiCritiqueKind, type AiCritiqueRequest, type AiCritiqueResult, type AiDictationFacts, type AiDraftCaption, type AiDraftProblem, type AiDraftSettings, type AiDraftSource, type AiDraftType, type AiDrafts, type AiDraftsCall, type AiDraftsRequest, type AiDraftsRun, type AiExplanationRequest, type AiFeature, type AiFillInTheBlanksFacts, type AiGapFact, type AiGapSelectFacts, type AiGeneratedDraft, type AiGeneratedVariant, type AiGrade, type AiGradedCriterion, type AiGradingCriterionFact, type AiGradingFacts, type AiGradingJudgement, type AiGradingRequest, type AiGradingRequestProblem, type AiGroupInput, type AiHintRequest, type AiItemFacts, type AiMaterialFacts, type AiMultipleChoiceFacts, type AiOptionFact, type AiProvenance, type AiReadingFacts, type AiReadingWordFact, type AiRefusal, type AiRubricCriterionFact, type AiSoundFact, type AiSupportedActivityType, type AiTextResult, type AiVariantDifficulty, type AiVariantExemplarFacts, type AiVariantImage, type AiVariantLevelFacts, type AiVariantMismatch, type AiVariantMissing, type AiVariantPair, type AiVariantSkip, type AiVariantSkipCode, type AiVariantTargets, type AiVariants, type AiVariantsRequest, type AiVariantsRun, type AiVerdict, type AiVideoDraft, type AiWordFact, type AiWritingCorrection, type AiWritingFacts, type AiWritingFeedback, type AiWritingFeedbackRequest, type AiWritingFeedbackResult, type AnsweredStatementParams, type AssessmentScore, type AssessmentSectionInput, type AttemptPlan, type AttemptPlanDrift, type AttemptPlanSlot, type AttemptState, type Band, type BlankConfig, type BuiltInActivityType, type CalibrationPair, type CalibrationReport, type CalibrationScope, type CalibrationThresholds, type CompletedStatementParams, type CompositionPolicy, type CriterionCalibration, type CriterionScore, DEFAULT_ITEM_SCORING_POLICY, DEFAULT_PASS_THRESHOLD, DICTATION_MAX_ACCEPTED_TRANSCRIPTS, DICTATION_MAX_EQUIVALENCES, DICTATION_MAX_EQUIVALENCE_LENGTH, DICTATION_MAX_TEXT_LENGTH, DICTATION_MAX_TRANSCRIPT_LENGTH, type DeferredReason, type DeferredScoringPartial, type DeliveryPolicy, type DeliveryPolicyIssue, type DictationAlignment, type DictationCharOp, type DictationData, type DictationEquivalence, type DictationLearnerResponse, type DictationReference, type DictationSlowMedia, type DictationTolerance, type DictationWordAlignment, type DraftComplete, type DraftContext, type DraftIssue, type DraftNotComplete, type DraftSeverity, type DraftValidationResult, EvaluateOptions, type FieldPolicy, type FillInTheBlanksData, type FillInTheBlanksLearnerResponse, type GapSelectBank, type GapSelectChoice, type GapSelectData, type GapSelectGap, type GapSelectLearnerResponse, type GradeFromJudgementOptions, GradeFromRubricOptions, type GradeReadAloudOptions, type GradeRecord, type GradeRouting, type GradeRoutingContext, type GradeRoutingPolicy, type GradeRoutingReason, type Grader, type GraderConfiguration, type GraderKind, type GraderUsage, type GradingState, ITEM_SCORING_MAX_RETRIES, type InlineCorrection, type InteractionEvent, type InteractionKind, type ItemFinding, type ItemFindingSeverity, type ItemGroup, type ItemOutcome, type ItemScoringCount, type ItemScoringPolicy, type ItemScoringPolicyIssue, ItemTriesOutcome, type ItemTriesScore, type ItemTry, type ItemTryScore, type JsonSchemaTarget, type LearnerResponse, type LearnerResponseMap, type LengthTolerance, type MediaBudgetRef, type MediaPlayClaim, type MediaPlayGrant, type MediaPlayLedger, type MediaPlayLedgerEntry, type MediaPlaybackPolicy, type MediaProgress, type MediaSlot, type MediaTimeline, type MediaTrack, type MultipleChoiceData, type MultipleChoiceLearnerResponse, type MultipleChoiceOption, type MultipleChoiceOptionMedia, type NativeControlHint, type PartialScoringResult, type PassFailureReason, READ_ALOUD_MAX_DIMENSION_WEIGHT, READ_ALOUD_MAX_REFERENCE_LENGTH, READ_ALOUD_MAX_SECONDS, READ_ALOUD_MAX_TAKES, type ReadAloudData, type ReadAloudDimension, type ReadAloudDimensionWeight, type ReadAloudLearnerResponse, type ReadAloudSlowMedia, type ReadAloudWordAlignment, type ReadAloudWordState, type RecordingBounds, type RecordingRef, type RedactedActivity, type RedactedBlankConfig, type RedactedDictationData, type RedactedDictationSlowMedia, type RedactedFillInTheBlanksData, type RedactedGapSelectBank, type RedactedGapSelectChoice, type RedactedGapSelectData, type RedactedGapSelectGap, type RedactedMultipleChoiceData, type RedactedMultipleChoiceOption, type RedactedMultipleChoiceOptionMedia, type RedactedReadAloudData, type RedactedStimulus, type RedactedWrittenResponseData, type RegisteredActivityTypeDescriptor, type ResolvedDeliveryPolicy, type ResolvedItemScoringPolicy, type ResponseDiffEntry, type RoundingMode, type RoundingPolicy, SCRIPT_MAX_TURNS, SPEECH_ASSESSMENT_MAX_WORDS, type ScoredItem, type ScoringDetail, ScoringOptions, type ScoringOutcome, type ScoringResult, type ScriptTurn, type SectionScore, type Sensitivity, type SequenceEntry, type SequenceSlot, type SequenceSlotGroup, type SpeechAssessment, type SpeechMeasurement, type SpeechPhoneme, type SpeechPhonemeCandidate, type SpeechPlausibilityPolicy, type SpeechSyllable, type SpeechUnscorable, type SpeechUnscorableCode, type SpeechWord, type SpeechWordError, type StandardSchemaV1, type Stimulus, type StimulusKind, type SubmittedStatementParams, type TextMatchPolicy, type TextMatchResult, type ThemeTokens, type TimelineChapter, type TimelineCue, type TotalCalibration, type ValidationError, type ValidationResult, type VersionComparison, type VersionFinding, type VersionPaper, type VersionSlot, type WavInspection, type WavInspectionPolicy, type WrittenResponseData, type WrittenResponseLearnerResponse, type WrittenResponseRubric, type WrittenResponseRubricCriterion, type WrittenResponseRubricLevel, type XAPIActor, type XAPIConfig, type XAPIContext, type XAPIContextActivities, type XAPIError, type XAPIInteractionType, type XAPIObject, type XAPIObjectParams, type XAPIResult, type XAPIScore, type XAPIStatement, type XAPIStatementParams, XAPIVerb, type XAPIVerbKey, type XAPIVerbObject, XAPI_VERB_DISPLAY, alignDictation, alignReadAloud, calibrationReport, classifyBand, composeAssessmentScore, computePassThreshold, contentJsonSchema, dictationJsonSchema, dictationReferenceWords, diffDictationChars, evaluate, evaluateTries, fillInTheBlanksJsonSchema, gapSelectJsonSchema, gradeFromJudgement, gradeFromRubric, gradeReadAloud, graderConfiguration, gte, hasGrade, inAuditSample, inspectWav, itemGroupJsonSchema, jsonSchemaFor, levenshteinDistance, matchText, multipleChoiceJsonSchema, outcomeFromGrade, outcomeFromRoutedGrade, outcomeFromUnscorable, readAloudJsonSchema, resolveItemScoringPolicy, roundGrade, routeGrade, score, scoreTries, stimulusJsonSchema, validateActivity, validateItemGroup, validateItemScoringPolicy, validateMedia, validateOptionMedia, validateSpeechAssessment, validateXAPIStatement, writtenResponseJsonSchema, xAPIBuilder, xapiDefinitionFor };
2242
2398
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["_$__registry_js0.ActivityTypeDescriptor"],"sources":["../src/ai-material.ts","../src/ai.ts","../src/ai-coaching.ts","../src/ai-critique.ts","../src/ai-drafts.ts","../src/ai-grading.ts","../src/ai-written.ts","../src/ai-writing.ts","../src/types/delivery.ts","../src/types/attempt-plan.ts","../src/attempt-plan.ts","../src/types/attempt-state.ts","../src/attempt-state.ts","../src/authoring/item-group.ts","../src/authoring/index.ts","../src/built-in-types.ts","../src/content-hash.ts","../src/count-words.ts","../src/delivery.ts","../src/errors.ts","../src/item-group.ts","../src/types/media-budget.ts","../src/media-budget.ts","../src/media-refs.ts","../src/standard-schema.ts","../src/registry/define.ts","../src/registry/registry.ts","../src/redact.ts","../src/registry/builtins.ts","../src/shuffle.ts","../src/timeline.ts","../src/timeline-limits.ts","../src/types/theme.ts"],"mappings":";;;;;;;;;;;;;;;;;qBAiBa;;;;;;;;qBCoBA,+BAA+B;qBAM/B,wBAAwB;;qBAOxB;;;;;;wBASG,WAAW,sBAAsB,SAAS;;;;;;;;;wBAmB1C,mBAAmB,MAAM,iBAAiB,SAAS;;wBAUnD,UAAU;EAAU;EAAe;EAAkB;IAAoB;;;;;;;;;;wBA8EzE,aACd,MAAM,iBACN,UAAU,wBACV,kBAAkB,yBACjB;;;;;;;;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,qBAAA;;qBAgCnB,eAAaA,uBAAA,eAAA;;;;;;qBA+Bb,eAAaA,uBAAA,eAAA;;;;;;;qBAoFb,eAAaA,uBAAA,eAAA;;;;;;;;;;;;;;;;;wBCxgBV,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAwCb;;iBAGK;;;;;;;EAOf,UAAU;;;;;;;;;;;wBA0BI,cAAc,GAC5B,gBAAgB,KAChB,cACA,SAAS;EAAyB,SAAS;IAC1C;;;;;;wBAMa,cAAc,GAC5B,gBAAgB,KAChB,cACA,UAAU,uBACT;;;;;;;;;;;;;;wBCrFa,kBAAkB,gBAAgB,oBAAoB;;;;;;;;;;;;;;;wBA4CtD,qBACd,kBACA,gBAAgB,cAChB,QAAQ,oBACP;;;;;;;;;;;;;;;;qBCtDU;;YASD,mCAAmC;;wBAG/B,2BAA2B,gBAAgB,QAAQ;;qBAKtD;;;;;;qBAOA;;qBAGA;;qBAGA;;;;;;;;UCvCI;EAEf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;;;EAOA;;;;;;;;;;EAUA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA"}
1
+ {"version":3,"file":"index.d.ts","names":["_$__registry_js0.ActivityTypeDescriptor"],"sources":["../src/ai-material.ts","../src/ai.ts","../src/ai-coaching.ts","../src/ai-critique.ts","../src/ai-drafts.ts","../src/ai-grading.ts","../src/variant-rules.ts","../src/ai-variants.ts","../src/ai-written.ts","../src/ai-writing.ts","../src/types/delivery.ts","../src/types/attempt-plan.ts","../src/attempt-plan.ts","../src/types/attempt-state.ts","../src/attempt-state.ts","../src/authoring/item-group.ts","../src/authoring/index.ts","../src/built-in-types.ts","../src/content-hash.ts","../src/count-words.ts","../src/delivery.ts","../src/errors.ts","../src/item-group.ts","../src/types/media-budget.ts","../src/media-budget.ts","../src/media-refs.ts","../src/standard-schema.ts","../src/registry/define.ts","../src/registry/registry.ts","../src/redact.ts","../src/registry/builtins.ts","../src/shuffle.ts","../src/timeline.ts","../src/timeline-limits.ts","../src/types/theme.ts","../src/versions.ts"],"mappings":";;;;;;;;;;;;;;;;qBAiBa;;;;;;qBCoBA,+BAA+B;qBAM/B,wBAAwB;;qBAOxB;;;;;;wBASG,WAAW,sBAAsB,SAAS;;;;;;;;;wBAmB1C,mBAAmB,MAAM,iBAAiB,SAAS;;wBAUnD,UAAU;EAAU;EAAe;EAAkB;IAAoB;;;;;;;;;;wBAoFzE,aACd,MAAM,iBACN,UAAU,wBACV,kBAAkB,yBACjB;;;;;;;;;;;;;;;;;wBAyKa,qBAAqB;EACnC,MAAM;EACN,UAAU;EACV,UAAU;EACV,QAAQ;EACR;IACE;;;;;;;;;;;;;;wBAoDY,cAAc;EAC5B,MAAM;EACN,UAAU;EACV;EACA,QAAQ;EACR;IACE;;;;;;wBAmCY,iBACd;EACG;EAAU,QAAQ;;EAAmB;EAAW,SAAS;;;;;;;;wBAqC9C,mBACd,cACA,SAAS;EACN;EAAU,QAAQ;;EAAmB;EAAW,SAAS;;;;;;;wBAgB9C,YACd,cACA,SAAS;EACN;EAAU,QAAQ;;EAAmB;EAAW,SAAS;;;;;;;;;;;;;;;;;wBA4B9C,kBAAkB,OAAO,aAAa;;qBCngBzC;;qBAGA;;;;;;;;;;;;;;;;;wBA4JG,kBAAkB;EAChC,MAAM;EACN,aAAa;EACb,QAAQ;EACR;IACE;;;;;;;;;;;;;;;;;;;;;;;;wBAmFY,gBACd,cACA,SAAS;EACN;EAAU,UAAU;;EAAiB;EAAW,SAAS;;;qBC7PjD;;qBAGA;;;;;;;;;;;;;;;;wBAqFG,kBAAkB;EAChC,MAAM;EACN;EACA;EACA;IACE;;;;;;;;;;;;;;;;;;wBAmDY,gBACd,cACA,SAAS;EACN;EAAU,UAAU;;EAAiB;EAAW,SAAS;;;qBCxIjD;;qBAGA;;;;;;;;;;;;;;;;;;;;;;;wBAoNG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