@cratis/screenplay-language 4.136.0 → 4.137.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 (35) hide show
  1. package/dist/bundles/compiler/Diagnostics/DiagnosticCodes.js +1 -1
  2. package/dist/bundles/compiler/Diagnostics/DiagnosticCodes.js.map +1 -1
  3. package/dist/bundles/compiler/Parsing/EnumerationMembers.js +2 -0
  4. package/dist/bundles/compiler/Parsing/EnumerationMembers.js.map +1 -0
  5. package/dist/bundles/compiler/Parsing/ScreenplayParser.js +1 -1
  6. package/dist/bundles/compiler/Parsing/ScreenplayParser.js.map +1 -1
  7. package/dist/bundles/compiler/Syntax/SyntaxCollections.js +1 -1
  8. package/dist/bundles/compiler/Syntax/SyntaxCollections.js.map +1 -1
  9. package/dist/bundles/compiler/Syntax/SyntaxInvariants.js +1 -1
  10. package/dist/bundles/compiler/Syntax/SyntaxInvariants.js.map +1 -1
  11. package/dist/bundles/compiler/Syntax/SyntaxJson.js +1 -1
  12. package/dist/bundles/compiler/Syntax/SyntaxJson.js.map +1 -1
  13. package/dist/bundles/completion-items.js +1 -1
  14. package/dist/bundles/completion-items.js.map +1 -1
  15. package/dist/bundles/completion-planner.js +1 -1
  16. package/dist/bundles/completion-planner.js.map +1 -1
  17. package/dist/bundles/diagnostic-codes.js +1 -1
  18. package/dist/bundles/diagnostic-codes.js.map +1 -1
  19. package/dist/bundles/hover-content.js +1 -1
  20. package/dist/bundles/hover-content.js.map +1 -1
  21. package/dist/bundles/keyword-docs.js +1 -1
  22. package/dist/bundles/keyword-docs.js.map +1 -1
  23. package/dist/bundles/symbols.js +2 -2
  24. package/dist/bundles/symbols.js.map +1 -1
  25. package/dist/bundles/tokens.js +1 -1
  26. package/dist/bundles/tokens.js.map +1 -1
  27. package/dist/bundles/validation.js +1 -1
  28. package/dist/bundles/validation.js.map +1 -1
  29. package/dist/diagnostic-codes.d.ts +5 -0
  30. package/dist/diagnostic-codes.d.ts.map +1 -1
  31. package/dist/symbols.d.ts +1 -0
  32. package/dist/symbols.d.ts.map +1 -1
  33. package/dist/tokens.d.ts.map +1 -1
  34. package/dist/validation.d.ts.map +1 -1
  35. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- const e={InvalidIdentityDeclaration:`PLAY0633`,DuplicateIdentity:`PLAY0634`,InvalidIdentityDetail:`PLAY0635`,UnknownIdentitySource:`PLAY0636`,IdentityDetailWithoutSource:`PLAY0637`,IdentitySourceWithBody:`PLAY0638`,DuplicateIdentityDetail:`PLAY0639`,BuiltInIdentityDetail:`PLAY0640`,UnknownIdentityQuery:`PLAY0641`,InvalidIdentityQuery:`PLAY0642`,IdentityQueryWithoutKey:`PLAY0643`,InvalidIdentityQueryKey:`PLAY0644`,IdentityQueryAuthorizationDependency:`PLAY0645`,IdentityQueryTypeMismatch:`PLAY0646`,InvalidReactionIdentity:`PLAY0647`,GatedInvocationWithoutIdentity:`PLAY0648`,UnusedReactionIdentity:`PLAY0649`,UnusedReactionRole:`PLAY0650`,UnsatisfiedReactionIdentity:`PLAY0651`,ReactionPrivilegeEscalation:`PLAY0652`,CommandProducesPublicEvent:`PLAY0607`,PublicEventRequiresOutboundTranslation:`PLAY0608`,OutboundPublicEventCount:`PLAY0609`,ForeignPublicEventConsumer:`PLAY0610`,OutboundTranslationInput:`PLAY0611`,InboundTranslationOutput:`PLAY0612`,ForeignPublicEventProduced:`PLAY0613`,PublicTranslationRequiresDirection:`PLAY0614`,TranslationConstructDirection:`PLAY0615`,InboundTranslationInput:`PLAY0616`,OutboundTranslationOutput:`PLAY0617`,EventTargetOutsideOutboundTranslation:`PLAY0618`,EventsSourceOutsideInboundTranslation:`PLAY0619`,InvalidCaptureEventsSource:`PLAY0620`,InvalidExposureDeclaration:`PLAY0621`,UnknownExposureOwner:`PLAY0622`,ReExposureCycle:`PLAY0623`,ReExposureBroken:`PLAY0624`,InvalidInstanceContribution:`PLAY0625`,UnknownContributionInstance:`PLAY0626`,ContributionNotExposed:`PLAY0627`,ContributionTypeMismatch:`PLAY0628`,UnknownTemplateContentSlot:`PLAY0629`,UnknownNavigationOutlet:`PLAY0630`,TemplateScopeMismatch:`PLAY0631`,IncompatibleComponentPackage:`PLAY0632`,UnknownNavigationDestination:`PLAY0654`,UnknownScreenContributionPoint:`PLAY0655`,TemplateNestingCycle:`PLAY0656`,DuplicateComplianceMarker:`PLAY0653`,LegacyComplianceMarker:`PLAY0565`,UnknownComplianceMarker:`PLAY0566`,InvalidSecretScope:`PLAY0567`,DuplicateSecretScope:`PLAY0568`,SecretScopeIgnoredForPii:`PLAY0569`,InvalidPersonalDataQualifier:`PLAY0570`,DuplicateSpecialCategory:`PLAY0571`,InvalidPurposeDeclaration:`PLAY0596`,InvalidPurposeVocabulary:`PLAY0597`,DuplicatePurposeField:`PLAY0598`,DuplicatePurposeDeclaration:`PLAY0599`,UnknownPurpose:`PLAY0600`,PurposeInterestMismatch:`PLAY0601`,PersonalDataWithoutPurpose:`PLAY0602`,SpecialDataWithoutCondition:`PLAY0603`,CriminalDataWithoutAuthorization:`PLAY0604`,PurposeWithoutBasis:`PLAY0605`,UnusedPurpose:`PLAY0606`,ConflictingScreenDataBinding:`PLAY0530`,ScreenDataQueryMismatch:`PLAY0531`,ActionWithoutInputSurface:`PLAY0532`,CommandWithoutInputSurface:`PLAY0533`,ReadModelFieldWithoutOrigin:`PLAY0534`,QueryParameterNotHeldByView:`PLAY0535`,UnconsumedEvent:`PLAY0536`,UnreachableScreen:`PLAY0537`,UnknownActionSubjectField:`PLAY0345`,UnresolvedActionSubject:`PLAY0346`,UnreachableActionAlternative:`PLAY0347`,UnknownActionArgumentProperty:`PLAY0348`,UnreachableRefusalBranch:`PLAY0540`,InvalidRefusalValue:`PLAY0541`,UnknownRefusalConstraint:`PLAY0542`,UnknownRedeliveryReaction:`PLAY0544`,IndeterminateNegatedClaimTarget:`PLAY0546`,InvalidRefusalBranch:`PLAY0538`,InvalidRefusalBranchBody:`PLAY0539`,UnmatchedRedeliveredOccurrence:`PLAY0543`,InvalidNoEventsExpectation:`PLAY0545`,InvalidProducesDeclaration:`PLAY0042`,ProducesWhenWithoutEvent:`PLAY0043`,InvalidPropertyMapping:`PLAY0044`,DuplicateProducesTarget:`PLAY0193`,EventSourceIdInPayload:`PLAY0469`,ExplicitProducesTargetsRequired:`PLAY0470`,RedundantEventId:`PLAY0471`,InvalidEventId:`PLAY0472`,InlineEventCollision:`PLAY0473`,InlineEventOutsideCommand:`PLAY0474`,InlineEventGeneration:`PLAY0475`,ReservedProductionMetadata:`PLAY0476`,InvalidEventDocumentation:`PLAY0477`,OmittedProductionDestination:`PLAY0478`,UnknownConstraintProperty:`PLAY0391`,UnknownTopLevelConstruct:`PLAY0001`,InvalidDomainDeclaration:`PLAY0002`,DuplicateDomain:`PLAY0003`,DomainNotFirst:`PLAY0004`,InvalidImportDeclaration:`PLAY0005`,TabIndentation:`PLAY0006`,InvalidConceptDeclaration:`PLAY0007`,UnknownPrimitiveType:`PLAY0008`,InvalidEnumerationValue:`PLAY0009`,UnknownConceptDirective:`PLAY0010`,ValidateReadAsEnumerationBlock:`PLAY0011`,AttributeReasonWithoutAttribute:`PLAY0012`,DuplicateAttributeReason:`PLAY0013`,InvalidTypeDeclaration:`PLAY0014`,TypeWithoutProperties:`PLAY0015`,InvalidPropertyDeclaration:`PLAY0016`,IdentifierOutsideCommand:`PLAY0017`,InvalidEventDeclaration:`PLAY0018`,IdentifierOnEventProperty:`PLAY0019`,TagPropertyReadAsTag:`PLAY0020`,InvalidModuleDeclaration:`PLAY0021`,UnknownModuleDirective:`PLAY0022`,InvalidFeatureDeclaration:`PLAY0023`,UnknownFeatureDirective:`PLAY0024`,InvalidSliceDeclaration:`PLAY0027`,UnknownSliceType:`PLAY0028`,UnknownSliceDirective:`PLAY0029`,InvalidPersonaDeclaration:`PLAY0030`,InvalidPersonaPolicyReference:`PLAY0031`,UnknownPersonaDirective:`PLAY0032`,InvalidCommandDeclaration:`PLAY0033`,UnknownCommandDirective:`PLAY0034`,DuplicateCommandIdentifier:`PLAY0036`,InvalidQueryDeclaration:`PLAY0047`,UnknownQueryDirective:`PLAY0048`,InvalidQueryParameter:`PLAY0049`,InvalidProjectionDeclaration:`PLAY0056`,EmptyProjection:`PLAY0057`,UnknownProjectionDirective:`PLAY0058`,FromWithoutEvent:`PLAY0061`,InvalidEventReference:`PLAY0062`,InvalidJoinDeclaration:`PLAY0063`,JoinWithoutEvent:`PLAY0064`,InvalidChildrenDeclaration:`PLAY0065`,InvalidNestedDeclaration:`PLAY0066`,NestedBlockWithoutFrom:`PLAY0067`,InvalidRemoveDeclaration:`PLAY0068`,UnknownRemoveDirective:`PLAY0069`,InvalidClearDeclaration:`PLAY0070`,ClearWithOutsideNestedBlock:`PLAY0071`,InvalidSpecificationDeclaration:`PLAY0094`,UnknownSpecificationDirective:`PLAY0095`,InvalidSpecificationWhen:`PLAY0096`,DuplicateSpecificationWhen:`PLAY0097`,InvalidThenError:`PLAY0098`,InvalidReadModelStep:`PLAY0099`,InvalidEventStep:`PLAY0100`,InvalidSpecificationValue:`PLAY0101`,InvalidScreenDeclaration:`PLAY0102`,UnknownScreenDirective:`PLAY0103`,InvalidDataDirective:`PLAY0104`,InvalidActionDirective:`PLAY0105`,UnknownActionDirective:`PLAY0106`,InvalidNavigation:`PLAY0107`,InvalidScreenLayoutSlot:`PLAY0108`,InvalidTitleDirective:`PLAY0109`,UnknownTableDirective:`PLAY0110`,UnknownSummaryDirective:`PLAY0111`,AuthorizeWithoutPolicy:`PLAY0122`,InvalidPolicyReference:`PLAY0123`,InvalidConstraintDeclaration:`PLAY0132`,ConstraintWithoutRule:`PLAY0133`,InvalidConstraintBody:`PLAY0134`,DuplicateConstraintBody:`PLAY0135`,InvalidReactionDeclaration:`PLAY0136`,InvalidReactionTrigger:`PLAY0137`,ReactionWithoutTrigger:`PLAY0138`,InvalidValidateDeclaration:`PLAY0140`,InvalidValidationRule:`PLAY0141`,InvalidRuleName:`PLAY0143`,UnknownRuleImplementationDirective:`PLAY0144`,InvalidDescription:`PLAY0145`,EmptyDescription:`PLAY0146`,DuplicateDescription:`PLAY0147`,TagWithoutValue:`PLAY0148`,InvalidTagValue:`PLAY0149`,UnknownContextPath:`PLAY0153`,UnknownContextCausedByProperty:`PLAY0154`,UnknownContextIdentityProperty:`PLAY0155`,ExpectedCodeFence:`PLAY0163`,UnclosedCodeBlock:`PLAY0164`,DuplicateDeclaration:`PLAY0168`,RepeatedSingularDeclarationAcrossFiles:`PLAY0172`,RepeatedDeclarationAcrossFiles:`PLAY0173`,ConflictingDescriptionAcrossFiles:`PLAY0174`,UnexpectedTokenInAuthorize:`PLAY0184`,UnclosedAuthorizeGroup:`PLAY0185`,InvalidReadModelDeclaration:`PLAY0186`,InvalidInvokesDeclaration:`PLAY0194`,InvalidScopeDeclaration:`PLAY0199`,DuplicateScope:`PLAY0200`,InvalidIntervalTrigger:`PLAY0249`,InvalidScheduleTrigger:`PLAY0250`,DuplicateReactionTrigger:`PLAY0253`,InvalidSpecificationEventSource:`PLAY0275`,DuplicateSpecificationEventSource:`PLAY0276`,InvalidProjectionVariantDeclaration:`PLAY0277`,InvalidEntersOnDeclaration:`PLAY0279`,NestedProjectionVariantNotAllowed:`PLAY0280`,InvalidStructuredValue:`PLAY0291`,DuplicateStructuredValueMember:`PLAY0294`,ConflictingSpecificationActions:`PLAY0358`,InvalidSpecificationEventOrder:`PLAY0359`,InvalidValidationSeverity:`PLAY0368`,VariantRequiresEnteringEvent:`PLAY0382`,DuplicateProjectionVariant:`PLAY0384`,DuplicateVariantEnteringEvent:`PLAY0385`,InvalidSpecificationDenied:`PLAY0388`,DuplicateAuthorizationAcrossFiles:`PLAY0394`,FileConstraintOnlySupportsUniqueness:`PLAY0396`,LegacyInlineCodeFence:`PLAY0397`,InvalidEventGeneration:`PLAY0446`,InvalidFileImport:`PLAY0454`,FileImportMatchesNothing:`PLAY0455`,ImportedFileNotFound:`PLAY0456`,ConflictingImportPlacement:`PLAY0457`,ImportCycle:`PLAY0458`,ModuleInPlacedFile:`PLAY0459`,UnexpectedInPlacedFile:`PLAY0460`,InvalidSpecificationClock:`PLAY0461`,InvalidSpecificationTrigger:`PLAY0462`,InvalidSpecificationCapture:`PLAY0463`,InvalidSpecificationQueryAction:`PLAY0464`,InvalidSpecificationQuery:`PLAY0265`,UnknownSpecificationQueryDirective:`PLAY0266`,DuplicateSpecificationQueryArguments:`PLAY0267`,InvalidAbsentReadModelStep:`PLAY0453`,LegacyOptionalSuffix:`PLAY0479`,InvalidOptionalModifierOrder:`PLAY0480`,OptionalReadsNotSupported:`PLAY0481`,InvalidSpecificationCaller:`PLAY0386`,DuplicateSpecificationCallerOrDenied:`PLAY0387`,GeneratedPropertyOutsideCommand:`PLAY0482`,InvalidGeneratedType:`PLAY0483`,InvalidGeneratedModifierOrder:`PLAY0484`,DuplicateEventSubject:`PLAY0590`,InvalidSubjectType:`PLAY0591`,ProtectedSubjectType:`PLAY0592`,InvalidSubjectOwner:`PLAY0593`,ReadModelSubjectNotSupported:`PLAY0594`,InvalidSubjectModifierOrder:`PLAY0595`,GeneratedPropertySuppliedAsInput:`PLAY0485`,InvalidCommandResponse:`PLAY0486`,InvalidResponseSource:`PLAY0487`,DuplicateResponseField:`PLAY0488`,InvalidResponseShape:`PLAY0489`,InvalidGeneratedFixture:`PLAY0490`,InvalidReturnExpectation:`PLAY0491`,InvalidImplementationBlock:`PLAY0492`,InvalidImplementationHint:`PLAY0493`,ConflictingImplementationSources:`PLAY0494`,UnknownType:`PLAY0165`,InvalidSystemDeclaration:`PLAY0495`,InvalidOperationDeclaration:`PLAY0496`,InvalidProductionReference:`PLAY0497`,ProductionDeclarationCollision:`PLAY0498`,OperationOutsideCommand:`PLAY0499`,InvalidSystemReference:`PLAY0500`,InvalidOperationMapping:`PLAY0501`,InvalidOperationSpecification:`PLAY0502`,InvalidCaptureDeclaration:`PLAY0078`,UnknownCaptureDirective:`PLAY0079`,InvalidMapEntry:`PLAY0080`,InvalidTranslation:`PLAY0081`,InvalidSplitDeclaration:`PLAY0082`,InvalidSplitTarget:`PLAY0083`,InvalidAppendDeclaration:`PLAY0084`,UnknownAppendDirective:`PLAY0085`,WhenWithoutTrigger:`PLAY0086`,InvalidWhenClause:`PLAY0087`,InvalidWhenTransitionClause:`PLAY0088`,MixedWhenCombinators:`PLAY0089`,WhenCombinatorWithoutProperty:`PLAY0090`,UnknownCaptureBlockDirective:`PLAY0091`,InvalidCompositeKeyPart:`PLAY0072`,TemplateInCompositeKey:`PLAY0073`,EmptyCompositeKey:`PLAY0074`,InvalidProjectionMapping:`PLAY0075`,ExpectedLiteralValue:`PLAY0150`,InvalidExpression:`PLAY0152`,UnterminatedInterpolation:`PLAY0157`,UnterminatedTemplateExpression:`PLAY0156`,ProjectionDocumentWithoutProjection:`PLAY0055`,CaptureDocumentWithoutCapture:`PLAY0077`,SpecificationDocumentWithoutSpecification:`PLAY0093`,InvalidSeedDeclaration:`PLAY0128`,InvalidSeedGroup:`PLAY0129`,InvalidSeedEvent:`PLAY0130`,InvalidSeedPropertyAssignment:`PLAY0131`,InvalidPolicyDeclaration:`PLAY0112`,UnknownPolicyDirective:`PLAY0113`,PolicyWithoutRequirement:`PLAY0114`,ExpectedRoleName:`PLAY0118`,ExpectedClaimName:`PLAY0119`,ExpectedClaimMatches:`PLAY0120`,ExpectedClaimMatchTarget:`PLAY0121`,MixedPolicyImplementation:`PLAY0440`,RepeatedPolicyRequirement:`PLAY0441`,UnexpectedTokenInPolicyCondition:`PLAY0115`,ExpectedPolicyCondition:`PLAY0116`,UnclosedPolicyConditionGroup:`PLAY0117`,UnexpectedTokenInCondition:`PLAY0158`,ExpectedCondition:`PLAY0159`,ExpectedComparisonOperator:`PLAY0161`,ExpectedComparisonValue:`PLAY0162`,InvalidActionAlternative:`PLAY0341`,GuardedActionWithoutAlternatives:`PLAY0342`,MisplacedActionOtherwise:`PLAY0343`,UnsupportedActionConditionOperand:`PLAY0344`,InvalidInteractionArgument:`PLAY0319`,UnclosedConditionGroup:`PLAY0160`,InvalidNumericDirective:`PLAY0508`,DuplicateNumericDirective:`PLAY0509`,LateNumericDirective:`PLAY0510`,InexactNumericLiteral:`PLAY0511`,MixedNumericModes:`PLAY0512`,IncompatibleNumericSource:`PLAY0513`,EventFromLaterSlice:`PLAY0516`,TimelineCycleGroup:`PLAY0517`,InvalidSpecificationExample:`PLAY0518`,DuplicateSpecificationAssignment:`PLAY0519`,UnresolvedSpecificationExampleType:`PLAY0520`,SpecificationExampleNameCollision:`PLAY0521`,SpecificationExampleKindMismatch:`PLAY0522`,InvalidSpecificationExampleValue:`PLAY0523`,MissingSpecificationProperty:`PLAY0524`,UnadmittedSpecificationExampleValue:`PLAY0525`,InvalidSpecificationExampleBody:`PLAY0526`,AmbiguousReference:`PLAY0198`,InvalidSpecificationStream:`PLAY0547`,SpecificationStreamOnCommand:`PLAY0548`,InvalidSpecificationStreamRoute:`PLAY0549`,InvalidSpecificationStreamEventSource:`PLAY0550`,SpecificationStreamContradictsCommand:`PLAY0551`,InvalidDependencyTarget:`PLAY0554`,RepeatedDependencyDeclaration:`PLAY0555`,UndeclaredDependency:`PLAY0552`,UnusedDependencyDeclaration:`PLAY0553`,MutualDependencyDeclarations:`PLAY0556`,AuthorizationRefusalWithoutIdentity:`PLAY0557`,InvalidDocumentation:`PLAY0558`,ConflictingDocumentationAcrossFiles:`PLAY0559`,InvalidSpecificationCallerPersona:`PLAY0572`,UnsynthesizablePersonaCaller:`PLAY0573`,PersonaWithoutGate:`PLAY0574`,GateWithoutPersona:`PLAY0575`,AmbiguousPersonaCaller:`PLAY0576`,InvalidSpecificationParameter:`PLAY0577`,InvalidSpecificationCase:`PLAY0578`,DuplicateSpecificationParameter:`PLAY0579`,DuplicateSpecificationCase:`PLAY0580`,IncompleteSpecificationTable:`PLAY0581`,InvalidSpecificationCaseAssignment:`PLAY0582`,InvalidSpecificationCaseValue:`PLAY0583`,InvalidSpecificationCaseReference:`PLAY0584`,OptionalSpecificationParameterTarget:`PLAY0585`,SpecificationCaseNameCollision:`PLAY0586`,IncompatibleSpecificationParameterType:`PLAY0587`,UnusedSpecificationParameter:`PLAY0588`,SingularSpecificationTableExpansion:`PLAY0589`,UnsupportedInteractionAlternatives:`PLAY0560`,MixedInteractionAlternatives:`PLAY0561`,InteractionAlternativeWithoutActions:`PLAY0562`,InlineInteractionAlternative:`PLAY0563`,LegacyInteractionWhere:`PLAY0564`,InvalidEventSourceDeclaration:`PLAY0503`,InvalidCommandStream:`PLAY0504`,AmbiguousCommandStream:`PLAY0505`,UnsupportedStreamIdType:`PLAY0506`,RedundantSourceStreamId:`PLAY0507`,UnknownEvent:`PLAY0166`,UnknownReadModelProperty:`PLAY0514`,PiiNotSupportedOnIdentifier:`PLAY0515`,HandlerWithoutImplementation:`PLAY0045`,UnknownHandlerDirective:`PLAY0046`,CommandWithProducesAndHandler:`PLAY0035`,AbsoluteFileReference:`PLAY0264`,InvalidTriggerData:`PLAY0246`,InvalidReadModelKey:`PLAY0660`,IncompleteReadModelKey:`PLAY0661`,InvalidReadModelKeyLookup:`PLAY0662`,ProductionRouteOutsideCommand:`PLAY0663`,RedundantProductionRoute:`PLAY0664`,InvalidObserverFilter:`PLAY0665`,ObserverFilterExcludesEveryProducer:`PLAY0666`,ReadsWithChildren:`PLAY0451`};export{e as DiagnosticCodes};
1
+ const e={InvalidIdentityDeclaration:`PLAY0633`,DuplicateIdentity:`PLAY0634`,InvalidIdentityDetail:`PLAY0635`,UnknownIdentitySource:`PLAY0636`,IdentityDetailWithoutSource:`PLAY0637`,IdentitySourceWithBody:`PLAY0638`,DuplicateIdentityDetail:`PLAY0639`,BuiltInIdentityDetail:`PLAY0640`,UnknownIdentityQuery:`PLAY0641`,InvalidIdentityQuery:`PLAY0642`,IdentityQueryWithoutKey:`PLAY0643`,InvalidIdentityQueryKey:`PLAY0644`,IdentityQueryAuthorizationDependency:`PLAY0645`,IdentityQueryTypeMismatch:`PLAY0646`,InvalidReactionIdentity:`PLAY0647`,GatedInvocationWithoutIdentity:`PLAY0648`,UnusedReactionIdentity:`PLAY0649`,UnusedReactionRole:`PLAY0650`,UnsatisfiedReactionIdentity:`PLAY0651`,ReactionPrivilegeEscalation:`PLAY0652`,CommandProducesPublicEvent:`PLAY0607`,PublicEventRequiresOutboundTranslation:`PLAY0608`,OutboundPublicEventCount:`PLAY0609`,ForeignPublicEventConsumer:`PLAY0610`,OutboundTranslationInput:`PLAY0611`,InboundTranslationOutput:`PLAY0612`,ForeignPublicEventProduced:`PLAY0613`,PublicTranslationRequiresDirection:`PLAY0614`,TranslationConstructDirection:`PLAY0615`,InboundTranslationInput:`PLAY0616`,OutboundTranslationOutput:`PLAY0617`,EventTargetOutsideOutboundTranslation:`PLAY0618`,EventsSourceOutsideInboundTranslation:`PLAY0619`,InvalidCaptureEventsSource:`PLAY0620`,InvalidExposureDeclaration:`PLAY0621`,UnknownExposureOwner:`PLAY0622`,ReExposureCycle:`PLAY0623`,ReExposureBroken:`PLAY0624`,InvalidInstanceContribution:`PLAY0625`,UnknownContributionInstance:`PLAY0626`,ContributionNotExposed:`PLAY0627`,ContributionTypeMismatch:`PLAY0628`,UnknownTemplateContentSlot:`PLAY0629`,UnknownNavigationOutlet:`PLAY0630`,TemplateScopeMismatch:`PLAY0631`,IncompatibleComponentPackage:`PLAY0632`,UnknownNavigationDestination:`PLAY0654`,UnknownScreenContributionPoint:`PLAY0655`,TemplateNestingCycle:`PLAY0656`,DuplicateComplianceMarker:`PLAY0653`,LegacyComplianceMarker:`PLAY0565`,UnknownComplianceMarker:`PLAY0566`,InvalidSecretScope:`PLAY0567`,DuplicateSecretScope:`PLAY0568`,SecretScopeIgnoredForPii:`PLAY0569`,InvalidPersonalDataQualifier:`PLAY0570`,DuplicateSpecialCategory:`PLAY0571`,InvalidPurposeDeclaration:`PLAY0596`,InvalidPurposeVocabulary:`PLAY0597`,DuplicatePurposeField:`PLAY0598`,DuplicatePurposeDeclaration:`PLAY0599`,UnknownPurpose:`PLAY0600`,PurposeInterestMismatch:`PLAY0601`,PersonalDataWithoutPurpose:`PLAY0602`,SpecialDataWithoutCondition:`PLAY0603`,CriminalDataWithoutAuthorization:`PLAY0604`,PurposeWithoutBasis:`PLAY0605`,UnusedPurpose:`PLAY0606`,ConflictingScreenDataBinding:`PLAY0530`,ScreenDataQueryMismatch:`PLAY0531`,ActionWithoutInputSurface:`PLAY0532`,CommandWithoutInputSurface:`PLAY0533`,ReadModelFieldWithoutOrigin:`PLAY0534`,QueryParameterNotHeldByView:`PLAY0535`,UnconsumedEvent:`PLAY0536`,UnreachableScreen:`PLAY0537`,UnknownActionSubjectField:`PLAY0345`,UnresolvedActionSubject:`PLAY0346`,UnreachableActionAlternative:`PLAY0347`,UnknownActionArgumentProperty:`PLAY0348`,UnreachableRefusalBranch:`PLAY0540`,InvalidRefusalValue:`PLAY0541`,UnknownRefusalConstraint:`PLAY0542`,UnknownRedeliveryReaction:`PLAY0544`,IndeterminateNegatedClaimTarget:`PLAY0546`,InvalidRefusalBranch:`PLAY0538`,InvalidRefusalBranchBody:`PLAY0539`,UnmatchedRedeliveredOccurrence:`PLAY0543`,InvalidNoEventsExpectation:`PLAY0545`,InvalidProducesDeclaration:`PLAY0042`,ProducesWhenWithoutEvent:`PLAY0043`,InvalidPropertyMapping:`PLAY0044`,DuplicateProducesTarget:`PLAY0193`,EventSourceIdInPayload:`PLAY0469`,ExplicitProducesTargetsRequired:`PLAY0470`,RedundantEventId:`PLAY0471`,InvalidEventId:`PLAY0472`,InlineEventCollision:`PLAY0473`,InlineEventOutsideCommand:`PLAY0474`,InlineEventGeneration:`PLAY0475`,ReservedProductionMetadata:`PLAY0476`,InvalidEventDocumentation:`PLAY0477`,OmittedProductionDestination:`PLAY0478`,UnknownConstraintProperty:`PLAY0391`,UnknownTopLevelConstruct:`PLAY0001`,InvalidDomainDeclaration:`PLAY0002`,DuplicateDomain:`PLAY0003`,DomainNotFirst:`PLAY0004`,InvalidImportDeclaration:`PLAY0005`,TabIndentation:`PLAY0006`,InvalidConceptDeclaration:`PLAY0007`,UnknownPrimitiveType:`PLAY0008`,InvalidEnumerationValue:`PLAY0009`,UnknownConceptDirective:`PLAY0010`,ValidateReadAsEnumerationBlock:`PLAY0011`,AttributeReasonWithoutAttribute:`PLAY0012`,DuplicateAttributeReason:`PLAY0013`,InvalidTypeDeclaration:`PLAY0014`,TypeWithoutProperties:`PLAY0015`,InvalidPropertyDeclaration:`PLAY0016`,IdentifierOutsideCommand:`PLAY0017`,InvalidEventDeclaration:`PLAY0018`,IdentifierOnEventProperty:`PLAY0019`,TagPropertyReadAsTag:`PLAY0020`,InvalidModuleDeclaration:`PLAY0021`,UnknownModuleDirective:`PLAY0022`,InvalidFeatureDeclaration:`PLAY0023`,UnknownFeatureDirective:`PLAY0024`,InvalidSliceDeclaration:`PLAY0027`,UnknownSliceType:`PLAY0028`,UnknownSliceDirective:`PLAY0029`,InvalidPersonaDeclaration:`PLAY0030`,InvalidPersonaPolicyReference:`PLAY0031`,UnknownPersonaDirective:`PLAY0032`,InvalidCommandDeclaration:`PLAY0033`,UnknownCommandDirective:`PLAY0034`,DuplicateCommandIdentifier:`PLAY0036`,InvalidQueryDeclaration:`PLAY0047`,UnknownQueryDirective:`PLAY0048`,InvalidQueryParameter:`PLAY0049`,InvalidProjectionDeclaration:`PLAY0056`,EmptyProjection:`PLAY0057`,UnknownProjectionDirective:`PLAY0058`,FromWithoutEvent:`PLAY0061`,InvalidEventReference:`PLAY0062`,InvalidJoinDeclaration:`PLAY0063`,JoinWithoutEvent:`PLAY0064`,InvalidChildrenDeclaration:`PLAY0065`,InvalidNestedDeclaration:`PLAY0066`,NestedBlockWithoutFrom:`PLAY0067`,InvalidRemoveDeclaration:`PLAY0068`,UnknownRemoveDirective:`PLAY0069`,InvalidClearDeclaration:`PLAY0070`,ClearWithOutsideNestedBlock:`PLAY0071`,InvalidSpecificationDeclaration:`PLAY0094`,UnknownSpecificationDirective:`PLAY0095`,InvalidSpecificationWhen:`PLAY0096`,DuplicateSpecificationWhen:`PLAY0097`,InvalidThenError:`PLAY0098`,InvalidReadModelStep:`PLAY0099`,InvalidEventStep:`PLAY0100`,InvalidSpecificationValue:`PLAY0101`,InvalidScreenDeclaration:`PLAY0102`,UnknownScreenDirective:`PLAY0103`,InvalidDataDirective:`PLAY0104`,InvalidActionDirective:`PLAY0105`,UnknownActionDirective:`PLAY0106`,InvalidNavigation:`PLAY0107`,InvalidScreenLayoutSlot:`PLAY0108`,InvalidTitleDirective:`PLAY0109`,UnknownTableDirective:`PLAY0110`,UnknownSummaryDirective:`PLAY0111`,AuthorizeWithoutPolicy:`PLAY0122`,InvalidPolicyReference:`PLAY0123`,InvalidConstraintDeclaration:`PLAY0132`,ConstraintWithoutRule:`PLAY0133`,InvalidConstraintBody:`PLAY0134`,DuplicateConstraintBody:`PLAY0135`,InvalidReactionDeclaration:`PLAY0136`,InvalidReactionTrigger:`PLAY0137`,ReactionWithoutTrigger:`PLAY0138`,InvalidValidateDeclaration:`PLAY0140`,InvalidValidationRule:`PLAY0141`,InvalidRuleName:`PLAY0143`,UnknownRuleImplementationDirective:`PLAY0144`,InvalidDescription:`PLAY0145`,EmptyDescription:`PLAY0146`,DuplicateDescription:`PLAY0147`,TagWithoutValue:`PLAY0148`,InvalidTagValue:`PLAY0149`,UnknownContextPath:`PLAY0153`,UnknownContextCausedByProperty:`PLAY0154`,UnknownContextIdentityProperty:`PLAY0155`,ExpectedCodeFence:`PLAY0163`,UnclosedCodeBlock:`PLAY0164`,DuplicateDeclaration:`PLAY0168`,RepeatedSingularDeclarationAcrossFiles:`PLAY0172`,RepeatedDeclarationAcrossFiles:`PLAY0173`,ConflictingDescriptionAcrossFiles:`PLAY0174`,UnexpectedTokenInAuthorize:`PLAY0184`,UnclosedAuthorizeGroup:`PLAY0185`,InvalidReadModelDeclaration:`PLAY0186`,InvalidInvokesDeclaration:`PLAY0194`,InvalidScopeDeclaration:`PLAY0199`,DuplicateScope:`PLAY0200`,InvalidIntervalTrigger:`PLAY0249`,InvalidScheduleTrigger:`PLAY0250`,DuplicateReactionTrigger:`PLAY0253`,InvalidSpecificationEventSource:`PLAY0275`,DuplicateSpecificationEventSource:`PLAY0276`,InvalidProjectionVariantDeclaration:`PLAY0277`,InvalidEntersOnDeclaration:`PLAY0279`,NestedProjectionVariantNotAllowed:`PLAY0280`,InvalidStructuredValue:`PLAY0291`,DuplicateStructuredValueMember:`PLAY0294`,ConflictingSpecificationActions:`PLAY0358`,InvalidSpecificationEventOrder:`PLAY0359`,InvalidValidationSeverity:`PLAY0368`,VariantRequiresEnteringEvent:`PLAY0382`,DuplicateProjectionVariant:`PLAY0384`,DuplicateVariantEnteringEvent:`PLAY0385`,InvalidSpecificationDenied:`PLAY0388`,DuplicateAuthorizationAcrossFiles:`PLAY0394`,FileConstraintOnlySupportsUniqueness:`PLAY0396`,LegacyInlineCodeFence:`PLAY0397`,InvalidEventGeneration:`PLAY0446`,InvalidFileImport:`PLAY0454`,FileImportMatchesNothing:`PLAY0455`,ImportedFileNotFound:`PLAY0456`,ConflictingImportPlacement:`PLAY0457`,ImportCycle:`PLAY0458`,ModuleInPlacedFile:`PLAY0459`,UnexpectedInPlacedFile:`PLAY0460`,InvalidSpecificationClock:`PLAY0461`,InvalidSpecificationTrigger:`PLAY0462`,InvalidSpecificationCapture:`PLAY0463`,InvalidSpecificationQueryAction:`PLAY0464`,InvalidSpecificationQuery:`PLAY0265`,UnknownSpecificationQueryDirective:`PLAY0266`,DuplicateSpecificationQueryArguments:`PLAY0267`,InvalidAbsentReadModelStep:`PLAY0453`,LegacyOptionalSuffix:`PLAY0479`,InvalidOptionalModifierOrder:`PLAY0480`,OptionalReadsNotSupported:`PLAY0481`,InvalidSpecificationCaller:`PLAY0386`,DuplicateSpecificationCallerOrDenied:`PLAY0387`,GeneratedPropertyOutsideCommand:`PLAY0482`,InvalidGeneratedType:`PLAY0483`,InvalidGeneratedModifierOrder:`PLAY0484`,DuplicateEventSubject:`PLAY0590`,InvalidSubjectType:`PLAY0591`,ProtectedSubjectType:`PLAY0592`,InvalidSubjectOwner:`PLAY0593`,ReadModelSubjectNotSupported:`PLAY0594`,InvalidSubjectModifierOrder:`PLAY0595`,GeneratedPropertySuppliedAsInput:`PLAY0485`,InvalidCommandResponse:`PLAY0486`,InvalidResponseSource:`PLAY0487`,DuplicateResponseField:`PLAY0488`,InvalidResponseShape:`PLAY0489`,InvalidGeneratedFixture:`PLAY0490`,InvalidReturnExpectation:`PLAY0491`,InvalidImplementationBlock:`PLAY0492`,InvalidImplementationHint:`PLAY0493`,ConflictingImplementationSources:`PLAY0494`,UnknownType:`PLAY0165`,InvalidSystemDeclaration:`PLAY0495`,InvalidOperationDeclaration:`PLAY0496`,InvalidProductionReference:`PLAY0497`,ProductionDeclarationCollision:`PLAY0498`,OperationOutsideCommand:`PLAY0499`,InvalidSystemReference:`PLAY0500`,InvalidOperationMapping:`PLAY0501`,InvalidOperationSpecification:`PLAY0502`,InvalidCaptureDeclaration:`PLAY0078`,UnknownCaptureDirective:`PLAY0079`,InvalidMapEntry:`PLAY0080`,InvalidTranslation:`PLAY0081`,InvalidSplitDeclaration:`PLAY0082`,InvalidSplitTarget:`PLAY0083`,InvalidAppendDeclaration:`PLAY0084`,UnknownAppendDirective:`PLAY0085`,WhenWithoutTrigger:`PLAY0086`,InvalidWhenClause:`PLAY0087`,InvalidWhenTransitionClause:`PLAY0088`,MixedWhenCombinators:`PLAY0089`,WhenCombinatorWithoutProperty:`PLAY0090`,UnknownCaptureBlockDirective:`PLAY0091`,InvalidCompositeKeyPart:`PLAY0072`,TemplateInCompositeKey:`PLAY0073`,EmptyCompositeKey:`PLAY0074`,InvalidProjectionMapping:`PLAY0075`,ExpectedLiteralValue:`PLAY0150`,InvalidExpression:`PLAY0152`,UnterminatedInterpolation:`PLAY0157`,UnterminatedTemplateExpression:`PLAY0156`,ProjectionDocumentWithoutProjection:`PLAY0055`,CaptureDocumentWithoutCapture:`PLAY0077`,SpecificationDocumentWithoutSpecification:`PLAY0093`,InvalidSeedDeclaration:`PLAY0128`,InvalidSeedGroup:`PLAY0129`,InvalidSeedEvent:`PLAY0130`,InvalidSeedPropertyAssignment:`PLAY0131`,InvalidPolicyDeclaration:`PLAY0112`,UnknownPolicyDirective:`PLAY0113`,PolicyWithoutRequirement:`PLAY0114`,ExpectedRoleName:`PLAY0118`,ExpectedClaimName:`PLAY0119`,ExpectedClaimMatches:`PLAY0120`,ExpectedClaimMatchTarget:`PLAY0121`,MixedPolicyImplementation:`PLAY0440`,RepeatedPolicyRequirement:`PLAY0441`,UnexpectedTokenInPolicyCondition:`PLAY0115`,ExpectedPolicyCondition:`PLAY0116`,UnclosedPolicyConditionGroup:`PLAY0117`,UnexpectedTokenInCondition:`PLAY0158`,ExpectedCondition:`PLAY0159`,ExpectedComparisonOperator:`PLAY0161`,ExpectedComparisonValue:`PLAY0162`,InvalidActionAlternative:`PLAY0341`,GuardedActionWithoutAlternatives:`PLAY0342`,MisplacedActionOtherwise:`PLAY0343`,UnsupportedActionConditionOperand:`PLAY0344`,InvalidInteractionArgument:`PLAY0319`,UnclosedConditionGroup:`PLAY0160`,InvalidNumericDirective:`PLAY0508`,DuplicateNumericDirective:`PLAY0509`,LateNumericDirective:`PLAY0510`,InexactNumericLiteral:`PLAY0511`,MixedNumericModes:`PLAY0512`,IncompatibleNumericSource:`PLAY0513`,EventFromLaterSlice:`PLAY0516`,TimelineCycleGroup:`PLAY0517`,InvalidSpecificationExample:`PLAY0518`,DuplicateSpecificationAssignment:`PLAY0519`,UnresolvedSpecificationExampleType:`PLAY0520`,SpecificationExampleNameCollision:`PLAY0521`,SpecificationExampleKindMismatch:`PLAY0522`,InvalidSpecificationExampleValue:`PLAY0523`,MissingSpecificationProperty:`PLAY0524`,UnadmittedSpecificationExampleValue:`PLAY0525`,InvalidSpecificationExampleBody:`PLAY0526`,AmbiguousReference:`PLAY0198`,InvalidSpecificationStream:`PLAY0547`,SpecificationStreamOnCommand:`PLAY0548`,InvalidSpecificationStreamRoute:`PLAY0549`,InvalidSpecificationStreamEventSource:`PLAY0550`,SpecificationStreamContradictsCommand:`PLAY0551`,InvalidDependencyTarget:`PLAY0554`,RepeatedDependencyDeclaration:`PLAY0555`,UndeclaredDependency:`PLAY0552`,UnusedDependencyDeclaration:`PLAY0553`,MutualDependencyDeclarations:`PLAY0556`,AuthorizationRefusalWithoutIdentity:`PLAY0557`,InvalidDocumentation:`PLAY0558`,ConflictingDocumentationAcrossFiles:`PLAY0559`,InvalidSpecificationCallerPersona:`PLAY0572`,UnsynthesizablePersonaCaller:`PLAY0573`,PersonaWithoutGate:`PLAY0574`,GateWithoutPersona:`PLAY0575`,AmbiguousPersonaCaller:`PLAY0576`,InvalidSpecificationParameter:`PLAY0577`,InvalidSpecificationCase:`PLAY0578`,DuplicateSpecificationParameter:`PLAY0579`,DuplicateSpecificationCase:`PLAY0580`,IncompleteSpecificationTable:`PLAY0581`,InvalidSpecificationCaseAssignment:`PLAY0582`,InvalidSpecificationCaseValue:`PLAY0583`,InvalidSpecificationCaseReference:`PLAY0584`,OptionalSpecificationParameterTarget:`PLAY0585`,SpecificationCaseNameCollision:`PLAY0586`,IncompatibleSpecificationParameterType:`PLAY0587`,UnusedSpecificationParameter:`PLAY0588`,SingularSpecificationTableExpansion:`PLAY0589`,UnsupportedInteractionAlternatives:`PLAY0560`,MixedInteractionAlternatives:`PLAY0561`,InteractionAlternativeWithoutActions:`PLAY0562`,InlineInteractionAlternative:`PLAY0563`,LegacyInteractionWhere:`PLAY0564`,InvalidEventSourceDeclaration:`PLAY0503`,InvalidCommandStream:`PLAY0504`,AmbiguousCommandStream:`PLAY0505`,UnsupportedStreamIdType:`PLAY0506`,RedundantSourceStreamId:`PLAY0507`,UnknownEvent:`PLAY0166`,UnknownReadModelProperty:`PLAY0514`,PiiNotSupportedOnIdentifier:`PLAY0515`,HandlerWithoutImplementation:`PLAY0045`,UnknownHandlerDirective:`PLAY0046`,CommandWithProducesAndHandler:`PLAY0035`,AbsoluteFileReference:`PLAY0264`,InvalidTriggerData:`PLAY0246`,InvalidReadModelKey:`PLAY0660`,IncompleteReadModelKey:`PLAY0661`,InvalidReadModelKeyLookup:`PLAY0662`,ProductionRouteOutsideCommand:`PLAY0663`,RedundantProductionRoute:`PLAY0664`,InvalidObserverFilter:`PLAY0665`,ObserverFilterExcludesEveryProducer:`PLAY0666`,MixedEnumerationNumbering:`PLAY0667`,DuplicateEnumerationNumber:`PLAY0668`,EnumerationNumberOutsideInt32:`PLAY0669`,MalformedEnumerationNumber:`PLAY0670`,UnpinnedStoredEnumeration:`PLAY0671`,ReadsWithChildren:`PLAY0451`};export{e as DiagnosticCodes};
2
2
  //# sourceMappingURL=DiagnosticCodes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DiagnosticCodes.js","names":["DiagnosticCodes"],"sources":["../../../../../../Compiler/Diagnostics/DiagnosticCodes.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// Shared diagnostic names, including the explicitly C#-only checks below. Catalogue membership does\n// not imply TypeScript validation support; see Documentation/screenplay/editor-diagnostics.md.\nexport const DiagnosticCodes = {\n InvalidIdentityDeclaration: 'PLAY0633',\n DuplicateIdentity: 'PLAY0634',\n InvalidIdentityDetail: 'PLAY0635',\n UnknownIdentitySource: 'PLAY0636',\n IdentityDetailWithoutSource: 'PLAY0637',\n IdentitySourceWithBody: 'PLAY0638',\n DuplicateIdentityDetail: 'PLAY0639',\n BuiltInIdentityDetail: 'PLAY0640',\n UnknownIdentityQuery: 'PLAY0641',\n InvalidIdentityQuery: 'PLAY0642',\n IdentityQueryWithoutKey: 'PLAY0643',\n InvalidIdentityQueryKey: 'PLAY0644',\n IdentityQueryAuthorizationDependency: 'PLAY0645',\n IdentityQueryTypeMismatch: 'PLAY0646',\n InvalidReactionIdentity: 'PLAY0647',\n GatedInvocationWithoutIdentity: 'PLAY0648',\n UnusedReactionIdentity: 'PLAY0649',\n UnusedReactionRole: 'PLAY0650',\n UnsatisfiedReactionIdentity: 'PLAY0651',\n ReactionPrivilegeEscalation: 'PLAY0652',\n // C#-only whole-model public event boundaries; membership is not TypeScript validation support.\n CommandProducesPublicEvent: 'PLAY0607',\n PublicEventRequiresOutboundTranslation: 'PLAY0608',\n OutboundPublicEventCount: 'PLAY0609',\n ForeignPublicEventConsumer: 'PLAY0610',\n OutboundTranslationInput: 'PLAY0611',\n InboundTranslationOutput: 'PLAY0612',\n ForeignPublicEventProduced: 'PLAY0613',\n PublicTranslationRequiresDirection: 'PLAY0614',\n TranslationConstructDirection: 'PLAY0615',\n InboundTranslationInput: 'PLAY0616',\n OutboundTranslationOutput: 'PLAY0617',\n EventTargetOutsideOutboundTranslation: 'PLAY0618',\n EventsSourceOutsideInboundTranslation: 'PLAY0619',\n InvalidCaptureEventsSource: 'PLAY0620',\n // Syntax shared with C#; the reference checks (owners, instances, cycles, outlets, scopes, packages) are C#-only.\n InvalidExposureDeclaration: 'PLAY0621',\n UnknownExposureOwner: 'PLAY0622',\n ReExposureCycle: 'PLAY0623',\n ReExposureBroken: 'PLAY0624',\n InvalidInstanceContribution: 'PLAY0625',\n UnknownContributionInstance: 'PLAY0626',\n ContributionNotExposed: 'PLAY0627',\n ContributionTypeMismatch: 'PLAY0628',\n UnknownTemplateContentSlot: 'PLAY0629',\n UnknownNavigationOutlet: 'PLAY0630',\n TemplateScopeMismatch: 'PLAY0631',\n IncompatibleComponentPackage: 'PLAY0632',\n UnknownNavigationDestination: 'PLAY0654',\n UnknownScreenContributionPoint: 'PLAY0655',\n TemplateNestingCycle: 'PLAY0656',\n DuplicateComplianceMarker: 'PLAY0653',\n LegacyComplianceMarker: 'PLAY0565',\n UnknownComplianceMarker: 'PLAY0566',\n InvalidSecretScope: 'PLAY0567',\n DuplicateSecretScope: 'PLAY0568',\n SecretScopeIgnoredForPii: 'PLAY0569',\n InvalidPersonalDataQualifier: 'PLAY0570',\n DuplicateSpecialCategory: 'PLAY0571',\n InvalidPurposeDeclaration: 'PLAY0596',\n InvalidPurposeVocabulary: 'PLAY0597',\n DuplicatePurposeField: 'PLAY0598',\n DuplicatePurposeDeclaration: 'PLAY0599',\n UnknownPurpose: 'PLAY0600',\n PurposeInterestMismatch: 'PLAY0601',\n PersonalDataWithoutPurpose: 'PLAY0602',\n SpecialDataWithoutCondition: 'PLAY0603',\n CriminalDataWithoutAuthorization: 'PLAY0604',\n PurposeWithoutBasis: 'PLAY0605',\n UnusedPurpose: 'PLAY0606',\n // C#-only: opt-in completeness, scoped action/refusal reference validation, and semantic binding.\n ConflictingScreenDataBinding: 'PLAY0530',\n ScreenDataQueryMismatch: 'PLAY0531',\n ActionWithoutInputSurface: 'PLAY0532',\n CommandWithoutInputSurface: 'PLAY0533',\n ReadModelFieldWithoutOrigin: 'PLAY0534',\n QueryParameterNotHeldByView: 'PLAY0535',\n UnconsumedEvent: 'PLAY0536',\n UnreachableScreen: 'PLAY0537',\n UnknownActionSubjectField: 'PLAY0345',\n UnresolvedActionSubject: 'PLAY0346',\n UnreachableActionAlternative: 'PLAY0347',\n UnknownActionArgumentProperty: 'PLAY0348',\n UnreachableRefusalBranch: 'PLAY0540',\n InvalidRefusalValue: 'PLAY0541',\n UnknownRefusalConstraint: 'PLAY0542',\n UnknownRedeliveryReaction: 'PLAY0544',\n IndeterminateNegatedClaimTarget: 'PLAY0546',\n InvalidRefusalBranch: 'PLAY0538',\n InvalidRefusalBranchBody: 'PLAY0539',\n UnmatchedRedeliveredOccurrence: 'PLAY0543',\n InvalidNoEventsExpectation: 'PLAY0545',\n InvalidProducesDeclaration: 'PLAY0042',\n ProducesWhenWithoutEvent: 'PLAY0043',\n InvalidPropertyMapping: 'PLAY0044',\n DuplicateProducesTarget: 'PLAY0193',\n EventSourceIdInPayload: 'PLAY0469',\n ExplicitProducesTargetsRequired: 'PLAY0470',\n RedundantEventId: 'PLAY0471',\n InvalidEventId: 'PLAY0472',\n InlineEventCollision: 'PLAY0473',\n InlineEventOutsideCommand: 'PLAY0474',\n InlineEventGeneration: 'PLAY0475',\n ReservedProductionMetadata: 'PLAY0476',\n InvalidEventDocumentation: 'PLAY0477',\n OmittedProductionDestination: 'PLAY0478',\n UnknownConstraintProperty: 'PLAY0391',\n UnknownTopLevelConstruct: 'PLAY0001',\n InvalidDomainDeclaration: 'PLAY0002',\n DuplicateDomain: 'PLAY0003',\n DomainNotFirst: 'PLAY0004',\n InvalidImportDeclaration: 'PLAY0005',\n TabIndentation: 'PLAY0006',\n InvalidConceptDeclaration: 'PLAY0007',\n UnknownPrimitiveType: 'PLAY0008',\n InvalidEnumerationValue: 'PLAY0009',\n UnknownConceptDirective: 'PLAY0010',\n ValidateReadAsEnumerationBlock: 'PLAY0011',\n AttributeReasonWithoutAttribute: 'PLAY0012',\n DuplicateAttributeReason: 'PLAY0013',\n InvalidTypeDeclaration: 'PLAY0014',\n TypeWithoutProperties: 'PLAY0015',\n InvalidPropertyDeclaration: 'PLAY0016',\n IdentifierOutsideCommand: 'PLAY0017',\n InvalidEventDeclaration: 'PLAY0018',\n IdentifierOnEventProperty: 'PLAY0019',\n TagPropertyReadAsTag: 'PLAY0020',\n InvalidModuleDeclaration: 'PLAY0021',\n UnknownModuleDirective: 'PLAY0022',\n InvalidFeatureDeclaration: 'PLAY0023',\n UnknownFeatureDirective: 'PLAY0024',\n InvalidSliceDeclaration: 'PLAY0027',\n UnknownSliceType: 'PLAY0028',\n UnknownSliceDirective: 'PLAY0029',\n InvalidPersonaDeclaration: 'PLAY0030',\n InvalidPersonaPolicyReference: 'PLAY0031',\n UnknownPersonaDirective: 'PLAY0032',\n InvalidCommandDeclaration: 'PLAY0033',\n UnknownCommandDirective: 'PLAY0034',\n DuplicateCommandIdentifier: 'PLAY0036',\n InvalidQueryDeclaration: 'PLAY0047',\n UnknownQueryDirective: 'PLAY0048',\n InvalidQueryParameter: 'PLAY0049',\n InvalidProjectionDeclaration: 'PLAY0056',\n EmptyProjection: 'PLAY0057',\n UnknownProjectionDirective: 'PLAY0058',\n FromWithoutEvent: 'PLAY0061',\n InvalidEventReference: 'PLAY0062',\n InvalidJoinDeclaration: 'PLAY0063',\n JoinWithoutEvent: 'PLAY0064',\n InvalidChildrenDeclaration: 'PLAY0065',\n InvalidNestedDeclaration: 'PLAY0066',\n NestedBlockWithoutFrom: 'PLAY0067',\n InvalidRemoveDeclaration: 'PLAY0068',\n UnknownRemoveDirective: 'PLAY0069',\n InvalidClearDeclaration: 'PLAY0070',\n ClearWithOutsideNestedBlock: 'PLAY0071',\n InvalidSpecificationDeclaration: 'PLAY0094',\n UnknownSpecificationDirective: 'PLAY0095',\n InvalidSpecificationWhen: 'PLAY0096',\n DuplicateSpecificationWhen: 'PLAY0097',\n InvalidThenError: 'PLAY0098',\n InvalidReadModelStep: 'PLAY0099',\n InvalidEventStep: 'PLAY0100',\n InvalidSpecificationValue: 'PLAY0101',\n InvalidScreenDeclaration: 'PLAY0102',\n UnknownScreenDirective: 'PLAY0103',\n InvalidDataDirective: 'PLAY0104',\n InvalidActionDirective: 'PLAY0105',\n UnknownActionDirective: 'PLAY0106',\n InvalidNavigation: 'PLAY0107',\n InvalidScreenLayoutSlot: 'PLAY0108',\n InvalidTitleDirective: 'PLAY0109',\n UnknownTableDirective: 'PLAY0110',\n UnknownSummaryDirective: 'PLAY0111',\n AuthorizeWithoutPolicy: 'PLAY0122',\n InvalidPolicyReference: 'PLAY0123',\n InvalidConstraintDeclaration: 'PLAY0132',\n ConstraintWithoutRule: 'PLAY0133',\n InvalidConstraintBody: 'PLAY0134',\n DuplicateConstraintBody: 'PLAY0135',\n InvalidReactionDeclaration: 'PLAY0136',\n InvalidReactionTrigger: 'PLAY0137',\n ReactionWithoutTrigger: 'PLAY0138',\n InvalidValidateDeclaration: 'PLAY0140',\n InvalidValidationRule: 'PLAY0141',\n InvalidRuleName: 'PLAY0143',\n UnknownRuleImplementationDirective: 'PLAY0144',\n InvalidDescription: 'PLAY0145',\n EmptyDescription: 'PLAY0146',\n DuplicateDescription: 'PLAY0147',\n TagWithoutValue: 'PLAY0148',\n InvalidTagValue: 'PLAY0149',\n UnknownContextPath: 'PLAY0153',\n UnknownContextCausedByProperty: 'PLAY0154',\n UnknownContextIdentityProperty: 'PLAY0155',\n ExpectedCodeFence: 'PLAY0163',\n UnclosedCodeBlock: 'PLAY0164',\n DuplicateDeclaration: 'PLAY0168',\n RepeatedSingularDeclarationAcrossFiles: 'PLAY0172',\n RepeatedDeclarationAcrossFiles: 'PLAY0173',\n ConflictingDescriptionAcrossFiles: 'PLAY0174',\n UnexpectedTokenInAuthorize: 'PLAY0184',\n UnclosedAuthorizeGroup: 'PLAY0185',\n InvalidReadModelDeclaration: 'PLAY0186',\n InvalidInvokesDeclaration: 'PLAY0194',\n InvalidScopeDeclaration: 'PLAY0199',\n DuplicateScope: 'PLAY0200',\n InvalidIntervalTrigger: 'PLAY0249',\n InvalidScheduleTrigger: 'PLAY0250',\n DuplicateReactionTrigger: 'PLAY0253',\n InvalidSpecificationEventSource: 'PLAY0275',\n DuplicateSpecificationEventSource: 'PLAY0276',\n InvalidProjectionVariantDeclaration: 'PLAY0277',\n InvalidEntersOnDeclaration: 'PLAY0279',\n NestedProjectionVariantNotAllowed: 'PLAY0280',\n InvalidStructuredValue: 'PLAY0291',\n DuplicateStructuredValueMember: 'PLAY0294',\n ConflictingSpecificationActions: 'PLAY0358',\n InvalidSpecificationEventOrder: 'PLAY0359',\n InvalidValidationSeverity: 'PLAY0368',\n VariantRequiresEnteringEvent: 'PLAY0382',\n DuplicateProjectionVariant: 'PLAY0384',\n DuplicateVariantEnteringEvent: 'PLAY0385',\n InvalidSpecificationDenied: 'PLAY0388',\n DuplicateAuthorizationAcrossFiles: 'PLAY0394',\n FileConstraintOnlySupportsUniqueness: 'PLAY0396',\n LegacyInlineCodeFence: 'PLAY0397',\n InvalidEventGeneration: 'PLAY0446',\n InvalidFileImport: 'PLAY0454',\n FileImportMatchesNothing: 'PLAY0455',\n ImportedFileNotFound: 'PLAY0456',\n ConflictingImportPlacement: 'PLAY0457',\n ImportCycle: 'PLAY0458',\n ModuleInPlacedFile: 'PLAY0459',\n UnexpectedInPlacedFile: 'PLAY0460',\n InvalidSpecificationClock: 'PLAY0461',\n InvalidSpecificationTrigger: 'PLAY0462',\n InvalidSpecificationCapture: 'PLAY0463',\n InvalidSpecificationQueryAction: 'PLAY0464',\n InvalidSpecificationQuery: 'PLAY0265',\n UnknownSpecificationQueryDirective: 'PLAY0266',\n DuplicateSpecificationQueryArguments: 'PLAY0267',\n InvalidAbsentReadModelStep: 'PLAY0453',\n LegacyOptionalSuffix: 'PLAY0479',\n InvalidOptionalModifierOrder: 'PLAY0480',\n OptionalReadsNotSupported: 'PLAY0481',\n InvalidSpecificationCaller: 'PLAY0386',\n DuplicateSpecificationCallerOrDenied: 'PLAY0387',\n GeneratedPropertyOutsideCommand: 'PLAY0482',\n InvalidGeneratedType: 'PLAY0483',\n InvalidGeneratedModifierOrder: 'PLAY0484',\n DuplicateEventSubject: 'PLAY0590',\n InvalidSubjectType: 'PLAY0591',\n ProtectedSubjectType: 'PLAY0592',\n InvalidSubjectOwner: 'PLAY0593',\n ReadModelSubjectNotSupported: 'PLAY0594',\n InvalidSubjectModifierOrder: 'PLAY0595',\n GeneratedPropertySuppliedAsInput: 'PLAY0485',\n InvalidCommandResponse: 'PLAY0486',\n InvalidResponseSource: 'PLAY0487',\n DuplicateResponseField: 'PLAY0488',\n InvalidResponseShape: 'PLAY0489',\n InvalidGeneratedFixture: 'PLAY0490',\n InvalidReturnExpectation: 'PLAY0491',\n InvalidImplementationBlock: 'PLAY0492',\n InvalidImplementationHint: 'PLAY0493',\n ConflictingImplementationSources: 'PLAY0494',\n UnknownType: 'PLAY0165',\n InvalidSystemDeclaration: 'PLAY0495',\n InvalidOperationDeclaration: 'PLAY0496',\n InvalidProductionReference: 'PLAY0497',\n ProductionDeclarationCollision: 'PLAY0498',\n OperationOutsideCommand: 'PLAY0499',\n InvalidSystemReference: 'PLAY0500',\n InvalidOperationMapping: 'PLAY0501',\n InvalidOperationSpecification: 'PLAY0502',\n InvalidCaptureDeclaration: 'PLAY0078',\n UnknownCaptureDirective: 'PLAY0079',\n InvalidMapEntry: 'PLAY0080',\n InvalidTranslation: 'PLAY0081',\n InvalidSplitDeclaration: 'PLAY0082',\n InvalidSplitTarget: 'PLAY0083',\n InvalidAppendDeclaration: 'PLAY0084',\n UnknownAppendDirective: 'PLAY0085',\n WhenWithoutTrigger: 'PLAY0086',\n InvalidWhenClause: 'PLAY0087',\n InvalidWhenTransitionClause: 'PLAY0088',\n MixedWhenCombinators: 'PLAY0089',\n WhenCombinatorWithoutProperty: 'PLAY0090',\n UnknownCaptureBlockDirective: 'PLAY0091',\n InvalidCompositeKeyPart: 'PLAY0072',\n TemplateInCompositeKey: 'PLAY0073',\n EmptyCompositeKey: 'PLAY0074',\n InvalidProjectionMapping: 'PLAY0075',\n ExpectedLiteralValue: 'PLAY0150',\n InvalidExpression: 'PLAY0152',\n UnterminatedInterpolation: 'PLAY0157',\n UnterminatedTemplateExpression: 'PLAY0156',\n ProjectionDocumentWithoutProjection: 'PLAY0055',\n CaptureDocumentWithoutCapture: 'PLAY0077',\n SpecificationDocumentWithoutSpecification: 'PLAY0093',\n InvalidSeedDeclaration: 'PLAY0128',\n InvalidSeedGroup: 'PLAY0129',\n InvalidSeedEvent: 'PLAY0130',\n InvalidSeedPropertyAssignment: 'PLAY0131',\n InvalidPolicyDeclaration: 'PLAY0112',\n UnknownPolicyDirective: 'PLAY0113',\n PolicyWithoutRequirement: 'PLAY0114',\n ExpectedRoleName: 'PLAY0118',\n ExpectedClaimName: 'PLAY0119',\n ExpectedClaimMatches: 'PLAY0120',\n ExpectedClaimMatchTarget: 'PLAY0121',\n MixedPolicyImplementation: 'PLAY0440',\n RepeatedPolicyRequirement: 'PLAY0441',\n UnexpectedTokenInPolicyCondition: 'PLAY0115',\n ExpectedPolicyCondition: 'PLAY0116',\n UnclosedPolicyConditionGroup: 'PLAY0117',\n UnexpectedTokenInCondition: 'PLAY0158',\n ExpectedCondition: 'PLAY0159',\n ExpectedComparisonOperator: 'PLAY0161',\n ExpectedComparisonValue: 'PLAY0162',\n InvalidActionAlternative: 'PLAY0341',\n GuardedActionWithoutAlternatives: 'PLAY0342',\n MisplacedActionOtherwise: 'PLAY0343',\n UnsupportedActionConditionOperand: 'PLAY0344',\n InvalidInteractionArgument: 'PLAY0319',\n UnclosedConditionGroup: 'PLAY0160',\n InvalidNumericDirective: 'PLAY0508',\n DuplicateNumericDirective: 'PLAY0509',\n LateNumericDirective: 'PLAY0510',\n InexactNumericLiteral: 'PLAY0511',\n MixedNumericModes: 'PLAY0512',\n IncompatibleNumericSource: 'PLAY0513',\n EventFromLaterSlice: 'PLAY0516',\n TimelineCycleGroup: 'PLAY0517',\n InvalidSpecificationExample: 'PLAY0518',\n DuplicateSpecificationAssignment: 'PLAY0519',\n UnresolvedSpecificationExampleType: 'PLAY0520',\n SpecificationExampleNameCollision: 'PLAY0521',\n SpecificationExampleKindMismatch: 'PLAY0522',\n InvalidSpecificationExampleValue: 'PLAY0523',\n MissingSpecificationProperty: 'PLAY0524',\n UnadmittedSpecificationExampleValue: 'PLAY0525',\n InvalidSpecificationExampleBody: 'PLAY0526',\n AmbiguousReference: 'PLAY0198',\n InvalidSpecificationStream: 'PLAY0547',\n SpecificationStreamOnCommand: 'PLAY0548',\n InvalidSpecificationStreamRoute: 'PLAY0549',\n InvalidSpecificationStreamEventSource: 'PLAY0550',\n SpecificationStreamContradictsCommand: 'PLAY0551',\n InvalidDependencyTarget: 'PLAY0554',\n RepeatedDependencyDeclaration: 'PLAY0555',\n UndeclaredDependency: 'PLAY0552',\n UnusedDependencyDeclaration: 'PLAY0553',\n MutualDependencyDeclarations: 'PLAY0556',\n AuthorizationRefusalWithoutIdentity: 'PLAY0557',\n InvalidDocumentation: 'PLAY0558',\n ConflictingDocumentationAcrossFiles: 'PLAY0559',\n InvalidSpecificationCallerPersona: 'PLAY0572',\n UnsynthesizablePersonaCaller: 'PLAY0573',\n PersonaWithoutGate: 'PLAY0574',\n GateWithoutPersona: 'PLAY0575',\n AmbiguousPersonaCaller: 'PLAY0576',\n InvalidSpecificationParameter: 'PLAY0577',\n InvalidSpecificationCase: 'PLAY0578',\n DuplicateSpecificationParameter: 'PLAY0579',\n DuplicateSpecificationCase: 'PLAY0580',\n IncompleteSpecificationTable: 'PLAY0581',\n InvalidSpecificationCaseAssignment: 'PLAY0582',\n InvalidSpecificationCaseValue: 'PLAY0583',\n InvalidSpecificationCaseReference: 'PLAY0584',\n OptionalSpecificationParameterTarget: 'PLAY0585',\n SpecificationCaseNameCollision: 'PLAY0586',\n IncompatibleSpecificationParameterType: 'PLAY0587',\n UnusedSpecificationParameter: 'PLAY0588',\n SingularSpecificationTableExpansion: 'PLAY0589',\n UnsupportedInteractionAlternatives: 'PLAY0560',\n MixedInteractionAlternatives: 'PLAY0561',\n InteractionAlternativeWithoutActions: 'PLAY0562',\n InlineInteractionAlternative: 'PLAY0563',\n LegacyInteractionWhere: 'PLAY0564',\n InvalidEventSourceDeclaration: 'PLAY0503',\n InvalidCommandStream: 'PLAY0504',\n AmbiguousCommandStream: 'PLAY0505',\n UnsupportedStreamIdType: 'PLAY0506',\n RedundantSourceStreamId: 'PLAY0507',\n UnknownEvent: 'PLAY0166',\n UnknownReadModelProperty: 'PLAY0514',\n PiiNotSupportedOnIdentifier: 'PLAY0515',\n HandlerWithoutImplementation: 'PLAY0045',\n UnknownHandlerDirective: 'PLAY0046',\n CommandWithProducesAndHandler: 'PLAY0035',\n AbsoluteFileReference: 'PLAY0264',\n InvalidTriggerData: 'PLAY0246',\n InvalidReadModelKey: 'PLAY0660',\n IncompleteReadModelKey: 'PLAY0661', // C# only: scoped read-model key resolution.\n InvalidReadModelKeyLookup: 'PLAY0662', // Shape checks shared; scoped lookup checks are C# only.\n ProductionRouteOutsideCommand: 'PLAY0663',\n RedundantProductionRoute: 'PLAY0664',\n InvalidObserverFilter: 'PLAY0665',\n ObserverFilterExcludesEveryProducer: 'PLAY0666', // C# only: statically known producer routes.\n ReadsWithChildren: 'PLA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sBAAuB,WACvB,kBAAmB,WACnB,0BAA2B,WAC3B,oBAAqB,WACrB,mBAAoB,WACpB,4BAA6B,WAC7B,iCAAkC,WAClC,mCAAoC,WACpC,kCAAmC,WACnC,iCAAkC,WAClC,iCAAkC,WAClC,6BAA8B,WAC9B,oCAAqC,WACrC,gCAAiC,WACjC,mBAAoB,WACpB,2BAA4B,WAC5B,6BAA8B,WAC9B,gCAAiC,WACjC,sCAAuC,WACvC,sCAAuC,WACvC,wBAAyB,WACzB,8BAA+B,WAC/B,qBAAsB,WACtB,4BAA6B,WAC7B,6BAA8B,WAC9B,oCAAqC,WACrC,qBAAsB,WACtB,oCAAqC,WACrC,kCAAmC,WACnC,6BAA8B,WAC9B,mBAAoB,WACpB,mBAAoB,WACpB,uBAAwB,WACxB,8BAA+B,WAC/B,yBAA0B,WAC1B,gCAAiC,WACjC,2BAA4B,WAC5B,6BAA8B,WAC9B,mCAAoC,WACpC,8BAA+B,WAC/B,kCAAmC,WACnC,qCAAsC,WACtC,+BAAgC,WAChC,uCAAwC,WACxC,6BAA8B,WAC9B,oCAAqC,WACrC,mCAAoC,WACpC,6BAA8B,WAC9B,qCAAsC,WACtC,6BAA8B,WAC9B,uBAAwB,WACxB,8BAA+B,WAC/B,qBAAsB,WACtB,uBAAwB,WACxB,wBAAyB,WACzB,wBAAyB,WACzB,aAAc,WACd,yBAA0B,WAC1B,4BAA6B,WAC7B,6BAA8B,WAC9B,wBAAyB,WACzB,8BAA+B,WAC/B,sBAAuB,WACvB,mBAAoB,WACpB,oBAAqB,WACrB,uBAAwB,WACxB,0BAA2B,WAC3B,8BAA+B,WAC/B,yBAA0B,WAC1B,sBAAuB,WACvB,oCAAqC,WACrC,kBAAmB,UACvB"}
1
+ {"version":3,"file":"DiagnosticCodes.js","names":["DiagnosticCodes"],"sources":["../../../../../../Compiler/Diagnostics/DiagnosticCodes.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// Shared diagnostic names, including the explicitly C#-only checks below. Catalogue membership does\n// not imply TypeScript validation support; see Documentation/screenplay/editor-diagnostics.md.\nexport const DiagnosticCodes = {\n InvalidIdentityDeclaration: 'PLAY0633',\n DuplicateIdentity: 'PLAY0634',\n InvalidIdentityDetail: 'PLAY0635',\n UnknownIdentitySource: 'PLAY0636',\n IdentityDetailWithoutSource: 'PLAY0637',\n IdentitySourceWithBody: 'PLAY0638',\n DuplicateIdentityDetail: 'PLAY0639',\n BuiltInIdentityDetail: 'PLAY0640',\n UnknownIdentityQuery: 'PLAY0641',\n InvalidIdentityQuery: 'PLAY0642',\n IdentityQueryWithoutKey: 'PLAY0643',\n InvalidIdentityQueryKey: 'PLAY0644',\n IdentityQueryAuthorizationDependency: 'PLAY0645',\n IdentityQueryTypeMismatch: 'PLAY0646',\n InvalidReactionIdentity: 'PLAY0647',\n GatedInvocationWithoutIdentity: 'PLAY0648',\n UnusedReactionIdentity: 'PLAY0649',\n UnusedReactionRole: 'PLAY0650',\n UnsatisfiedReactionIdentity: 'PLAY0651',\n ReactionPrivilegeEscalation: 'PLAY0652',\n // C#-only whole-model public event boundaries; membership is not TypeScript validation support.\n CommandProducesPublicEvent: 'PLAY0607',\n PublicEventRequiresOutboundTranslation: 'PLAY0608',\n OutboundPublicEventCount: 'PLAY0609',\n ForeignPublicEventConsumer: 'PLAY0610',\n OutboundTranslationInput: 'PLAY0611',\n InboundTranslationOutput: 'PLAY0612',\n ForeignPublicEventProduced: 'PLAY0613',\n PublicTranslationRequiresDirection: 'PLAY0614',\n TranslationConstructDirection: 'PLAY0615',\n InboundTranslationInput: 'PLAY0616',\n OutboundTranslationOutput: 'PLAY0617',\n EventTargetOutsideOutboundTranslation: 'PLAY0618',\n EventsSourceOutsideInboundTranslation: 'PLAY0619',\n InvalidCaptureEventsSource: 'PLAY0620',\n // Syntax shared with C#; the reference checks (owners, instances, cycles, outlets, scopes, packages) are C#-only.\n InvalidExposureDeclaration: 'PLAY0621',\n UnknownExposureOwner: 'PLAY0622',\n ReExposureCycle: 'PLAY0623',\n ReExposureBroken: 'PLAY0624',\n InvalidInstanceContribution: 'PLAY0625',\n UnknownContributionInstance: 'PLAY0626',\n ContributionNotExposed: 'PLAY0627',\n ContributionTypeMismatch: 'PLAY0628',\n UnknownTemplateContentSlot: 'PLAY0629',\n UnknownNavigationOutlet: 'PLAY0630',\n TemplateScopeMismatch: 'PLAY0631',\n IncompatibleComponentPackage: 'PLAY0632',\n UnknownNavigationDestination: 'PLAY0654',\n UnknownScreenContributionPoint: 'PLAY0655',\n TemplateNestingCycle: 'PLAY0656',\n DuplicateComplianceMarker: 'PLAY0653',\n LegacyComplianceMarker: 'PLAY0565',\n UnknownComplianceMarker: 'PLAY0566',\n InvalidSecretScope: 'PLAY0567',\n DuplicateSecretScope: 'PLAY0568',\n SecretScopeIgnoredForPii: 'PLAY0569',\n InvalidPersonalDataQualifier: 'PLAY0570',\n DuplicateSpecialCategory: 'PLAY0571',\n InvalidPurposeDeclaration: 'PLAY0596',\n InvalidPurposeVocabulary: 'PLAY0597',\n DuplicatePurposeField: 'PLAY0598',\n DuplicatePurposeDeclaration: 'PLAY0599',\n UnknownPurpose: 'PLAY0600',\n PurposeInterestMismatch: 'PLAY0601',\n PersonalDataWithoutPurpose: 'PLAY0602',\n SpecialDataWithoutCondition: 'PLAY0603',\n CriminalDataWithoutAuthorization: 'PLAY0604',\n PurposeWithoutBasis: 'PLAY0605',\n UnusedPurpose: 'PLAY0606',\n // C#-only: opt-in completeness, scoped action/refusal reference validation, and semantic binding.\n ConflictingScreenDataBinding: 'PLAY0530',\n ScreenDataQueryMismatch: 'PLAY0531',\n ActionWithoutInputSurface: 'PLAY0532',\n CommandWithoutInputSurface: 'PLAY0533',\n ReadModelFieldWithoutOrigin: 'PLAY0534',\n QueryParameterNotHeldByView: 'PLAY0535',\n UnconsumedEvent: 'PLAY0536',\n UnreachableScreen: 'PLAY0537',\n UnknownActionSubjectField: 'PLAY0345',\n UnresolvedActionSubject: 'PLAY0346',\n UnreachableActionAlternative: 'PLAY0347',\n UnknownActionArgumentProperty: 'PLAY0348',\n UnreachableRefusalBranch: 'PLAY0540',\n InvalidRefusalValue: 'PLAY0541',\n UnknownRefusalConstraint: 'PLAY0542',\n UnknownRedeliveryReaction: 'PLAY0544',\n IndeterminateNegatedClaimTarget: 'PLAY0546',\n InvalidRefusalBranch: 'PLAY0538',\n InvalidRefusalBranchBody: 'PLAY0539',\n UnmatchedRedeliveredOccurrence: 'PLAY0543',\n InvalidNoEventsExpectation: 'PLAY0545',\n InvalidProducesDeclaration: 'PLAY0042',\n ProducesWhenWithoutEvent: 'PLAY0043',\n InvalidPropertyMapping: 'PLAY0044',\n DuplicateProducesTarget: 'PLAY0193',\n EventSourceIdInPayload: 'PLAY0469',\n ExplicitProducesTargetsRequired: 'PLAY0470',\n RedundantEventId: 'PLAY0471',\n InvalidEventId: 'PLAY0472',\n InlineEventCollision: 'PLAY0473',\n InlineEventOutsideCommand: 'PLAY0474',\n InlineEventGeneration: 'PLAY0475',\n ReservedProductionMetadata: 'PLAY0476',\n InvalidEventDocumentation: 'PLAY0477',\n OmittedProductionDestination: 'PLAY0478',\n UnknownConstraintProperty: 'PLAY0391',\n UnknownTopLevelConstruct: 'PLAY0001',\n InvalidDomainDeclaration: 'PLAY0002',\n DuplicateDomain: 'PLAY0003',\n DomainNotFirst: 'PLAY0004',\n InvalidImportDeclaration: 'PLAY0005',\n TabIndentation: 'PLAY0006',\n InvalidConceptDeclaration: 'PLAY0007',\n UnknownPrimitiveType: 'PLAY0008',\n InvalidEnumerationValue: 'PLAY0009',\n UnknownConceptDirective: 'PLAY0010',\n ValidateReadAsEnumerationBlock: 'PLAY0011',\n AttributeReasonWithoutAttribute: 'PLAY0012',\n DuplicateAttributeReason: 'PLAY0013',\n InvalidTypeDeclaration: 'PLAY0014',\n TypeWithoutProperties: 'PLAY0015',\n InvalidPropertyDeclaration: 'PLAY0016',\n IdentifierOutsideCommand: 'PLAY0017',\n InvalidEventDeclaration: 'PLAY0018',\n IdentifierOnEventProperty: 'PLAY0019',\n TagPropertyReadAsTag: 'PLAY0020',\n InvalidModuleDeclaration: 'PLAY0021',\n UnknownModuleDirective: 'PLAY0022',\n InvalidFeatureDeclaration: 'PLAY0023',\n UnknownFeatureDirective: 'PLAY0024',\n InvalidSliceDeclaration: 'PLAY0027',\n UnknownSliceType: 'PLAY0028',\n UnknownSliceDirective: 'PLAY0029',\n InvalidPersonaDeclaration: 'PLAY0030',\n InvalidPersonaPolicyReference: 'PLAY0031',\n UnknownPersonaDirective: 'PLAY0032',\n InvalidCommandDeclaration: 'PLAY0033',\n UnknownCommandDirective: 'PLAY0034',\n DuplicateCommandIdentifier: 'PLAY0036',\n InvalidQueryDeclaration: 'PLAY0047',\n UnknownQueryDirective: 'PLAY0048',\n InvalidQueryParameter: 'PLAY0049',\n InvalidProjectionDeclaration: 'PLAY0056',\n EmptyProjection: 'PLAY0057',\n UnknownProjectionDirective: 'PLAY0058',\n FromWithoutEvent: 'PLAY0061',\n InvalidEventReference: 'PLAY0062',\n InvalidJoinDeclaration: 'PLAY0063',\n JoinWithoutEvent: 'PLAY0064',\n InvalidChildrenDeclaration: 'PLAY0065',\n InvalidNestedDeclaration: 'PLAY0066',\n NestedBlockWithoutFrom: 'PLAY0067',\n InvalidRemoveDeclaration: 'PLAY0068',\n UnknownRemoveDirective: 'PLAY0069',\n InvalidClearDeclaration: 'PLAY0070',\n ClearWithOutsideNestedBlock: 'PLAY0071',\n InvalidSpecificationDeclaration: 'PLAY0094',\n UnknownSpecificationDirective: 'PLAY0095',\n InvalidSpecificationWhen: 'PLAY0096',\n DuplicateSpecificationWhen: 'PLAY0097',\n InvalidThenError: 'PLAY0098',\n InvalidReadModelStep: 'PLAY0099',\n InvalidEventStep: 'PLAY0100',\n InvalidSpecificationValue: 'PLAY0101',\n InvalidScreenDeclaration: 'PLAY0102',\n UnknownScreenDirective: 'PLAY0103',\n InvalidDataDirective: 'PLAY0104',\n InvalidActionDirective: 'PLAY0105',\n UnknownActionDirective: 'PLAY0106',\n InvalidNavigation: 'PLAY0107',\n InvalidScreenLayoutSlot: 'PLAY0108',\n InvalidTitleDirective: 'PLAY0109',\n UnknownTableDirective: 'PLAY0110',\n UnknownSummaryDirective: 'PLAY0111',\n AuthorizeWithoutPolicy: 'PLAY0122',\n InvalidPolicyReference: 'PLAY0123',\n InvalidConstraintDeclaration: 'PLAY0132',\n ConstraintWithoutRule: 'PLAY0133',\n InvalidConstraintBody: 'PLAY0134',\n DuplicateConstraintBody: 'PLAY0135',\n InvalidReactionDeclaration: 'PLAY0136',\n InvalidReactionTrigger: 'PLAY0137',\n ReactionWithoutTrigger: 'PLAY0138',\n InvalidValidateDeclaration: 'PLAY0140',\n InvalidValidationRule: 'PLAY0141',\n InvalidRuleName: 'PLAY0143',\n UnknownRuleImplementationDirective: 'PLAY0144',\n InvalidDescription: 'PLAY0145',\n EmptyDescription: 'PLAY0146',\n DuplicateDescription: 'PLAY0147',\n TagWithoutValue: 'PLAY0148',\n InvalidTagValue: 'PLAY0149',\n UnknownContextPath: 'PLAY0153',\n UnknownContextCausedByProperty: 'PLAY0154',\n UnknownContextIdentityProperty: 'PLAY0155',\n ExpectedCodeFence: 'PLAY0163',\n UnclosedCodeBlock: 'PLAY0164',\n DuplicateDeclaration: 'PLAY0168',\n RepeatedSingularDeclarationAcrossFiles: 'PLAY0172',\n RepeatedDeclarationAcrossFiles: 'PLAY0173',\n ConflictingDescriptionAcrossFiles: 'PLAY0174',\n UnexpectedTokenInAuthorize: 'PLAY0184',\n UnclosedAuthorizeGroup: 'PLAY0185',\n InvalidReadModelDeclaration: 'PLAY0186',\n InvalidInvokesDeclaration: 'PLAY0194',\n InvalidScopeDeclaration: 'PLAY0199',\n DuplicateScope: 'PLAY0200',\n InvalidIntervalTrigger: 'PLAY0249',\n InvalidScheduleTrigger: 'PLAY0250',\n DuplicateReactionTrigger: 'PLAY0253',\n InvalidSpecificationEventSource: 'PLAY0275',\n DuplicateSpecificationEventSource: 'PLAY0276',\n InvalidProjectionVariantDeclaration: 'PLAY0277',\n InvalidEntersOnDeclaration: 'PLAY0279',\n NestedProjectionVariantNotAllowed: 'PLAY0280',\n InvalidStructuredValue: 'PLAY0291',\n DuplicateStructuredValueMember: 'PLAY0294',\n ConflictingSpecificationActions: 'PLAY0358',\n InvalidSpecificationEventOrder: 'PLAY0359',\n InvalidValidationSeverity: 'PLAY0368',\n VariantRequiresEnteringEvent: 'PLAY0382',\n DuplicateProjectionVariant: 'PLAY0384',\n DuplicateVariantEnteringEvent: 'PLAY0385',\n InvalidSpecificationDenied: 'PLAY0388',\n DuplicateAuthorizationAcrossFiles: 'PLAY0394',\n FileConstraintOnlySupportsUniqueness: 'PLAY0396',\n LegacyInlineCodeFence: 'PLAY0397',\n InvalidEventGeneration: 'PLAY0446',\n InvalidFileImport: 'PLAY0454',\n FileImportMatchesNothing: 'PLAY0455',\n ImportedFileNotFound: 'PLAY0456',\n ConflictingImportPlacement: 'PLAY0457',\n ImportCycle: 'PLAY0458',\n ModuleInPlacedFile: 'PLAY0459',\n UnexpectedInPlacedFile: 'PLAY0460',\n InvalidSpecificationClock: 'PLAY0461',\n InvalidSpecificationTrigger: 'PLAY0462',\n InvalidSpecificationCapture: 'PLAY0463',\n InvalidSpecificationQueryAction: 'PLAY0464',\n InvalidSpecificationQuery: 'PLAY0265',\n UnknownSpecificationQueryDirective: 'PLAY0266',\n DuplicateSpecificationQueryArguments: 'PLAY0267',\n InvalidAbsentReadModelStep: 'PLAY0453',\n LegacyOptionalSuffix: 'PLAY0479',\n InvalidOptionalModifierOrder: 'PLAY0480',\n OptionalReadsNotSupported: 'PLAY0481',\n InvalidSpecificationCaller: 'PLAY0386',\n DuplicateSpecificationCallerOrDenied: 'PLAY0387',\n GeneratedPropertyOutsideCommand: 'PLAY0482',\n InvalidGeneratedType: 'PLAY0483',\n InvalidGeneratedModifierOrder: 'PLAY0484',\n DuplicateEventSubject: 'PLAY0590',\n InvalidSubjectType: 'PLAY0591',\n ProtectedSubjectType: 'PLAY0592',\n InvalidSubjectOwner: 'PLAY0593',\n ReadModelSubjectNotSupported: 'PLAY0594',\n InvalidSubjectModifierOrder: 'PLAY0595',\n GeneratedPropertySuppliedAsInput: 'PLAY0485',\n InvalidCommandResponse: 'PLAY0486',\n InvalidResponseSource: 'PLAY0487',\n DuplicateResponseField: 'PLAY0488',\n InvalidResponseShape: 'PLAY0489',\n InvalidGeneratedFixture: 'PLAY0490',\n InvalidReturnExpectation: 'PLAY0491',\n InvalidImplementationBlock: 'PLAY0492',\n InvalidImplementationHint: 'PLAY0493',\n ConflictingImplementationSources: 'PLAY0494',\n UnknownType: 'PLAY0165',\n InvalidSystemDeclaration: 'PLAY0495',\n InvalidOperationDeclaration: 'PLAY0496',\n InvalidProductionReference: 'PLAY0497',\n ProductionDeclarationCollision: 'PLAY0498',\n OperationOutsideCommand: 'PLAY0499',\n InvalidSystemReference: 'PLAY0500',\n InvalidOperationMapping: 'PLAY0501',\n InvalidOperationSpecification: 'PLAY0502',\n InvalidCaptureDeclaration: 'PLAY0078',\n UnknownCaptureDirective: 'PLAY0079',\n InvalidMapEntry: 'PLAY0080',\n InvalidTranslation: 'PLAY0081',\n InvalidSplitDeclaration: 'PLAY0082',\n InvalidSplitTarget: 'PLAY0083',\n InvalidAppendDeclaration: 'PLAY0084',\n UnknownAppendDirective: 'PLAY0085',\n WhenWithoutTrigger: 'PLAY0086',\n InvalidWhenClause: 'PLAY0087',\n InvalidWhenTransitionClause: 'PLAY0088',\n MixedWhenCombinators: 'PLAY0089',\n WhenCombinatorWithoutProperty: 'PLAY0090',\n UnknownCaptureBlockDirective: 'PLAY0091',\n InvalidCompositeKeyPart: 'PLAY0072',\n TemplateInCompositeKey: 'PLAY0073',\n EmptyCompositeKey: 'PLAY0074',\n InvalidProjectionMapping: 'PLAY0075',\n ExpectedLiteralValue: 'PLAY0150',\n InvalidExpression: 'PLAY0152',\n UnterminatedInterpolation: 'PLAY0157',\n UnterminatedTemplateExpression: 'PLAY0156',\n ProjectionDocumentWithoutProjection: 'PLAY0055',\n CaptureDocumentWithoutCapture: 'PLAY0077',\n SpecificationDocumentWithoutSpecification: 'PLAY0093',\n InvalidSeedDeclaration: 'PLAY0128',\n InvalidSeedGroup: 'PLAY0129',\n InvalidSeedEvent: 'PLAY0130',\n InvalidSeedPropertyAssignment: 'PLAY0131',\n InvalidPolicyDeclaration: 'PLAY0112',\n UnknownPolicyDirective: 'PLAY0113',\n PolicyWithoutRequirement: 'PLAY0114',\n ExpectedRoleName: 'PLAY0118',\n ExpectedClaimName: 'PLAY0119',\n ExpectedClaimMatches: 'PLAY0120',\n ExpectedClaimMatchTarget: 'PLAY0121',\n MixedPolicyImplementation: 'PLAY0440',\n RepeatedPolicyRequirement: 'PLAY0441',\n UnexpectedTokenInPolicyCondition: 'PLAY0115',\n ExpectedPolicyCondition: 'PLAY0116',\n UnclosedPolicyConditionGroup: 'PLAY0117',\n UnexpectedTokenInCondition: 'PLAY0158',\n ExpectedCondition: 'PLAY0159',\n ExpectedComparisonOperator: 'PLAY0161',\n ExpectedComparisonValue: 'PLAY0162',\n InvalidActionAlternative: 'PLAY0341',\n GuardedActionWithoutAlternatives: 'PLAY0342',\n MisplacedActionOtherwise: 'PLAY0343',\n UnsupportedActionConditionOperand: 'PLAY0344',\n InvalidInteractionArgument: 'PLAY0319',\n UnclosedConditionGroup: 'PLAY0160',\n InvalidNumericDirective: 'PLAY0508',\n DuplicateNumericDirective: 'PLAY0509',\n LateNumericDirective: 'PLAY0510',\n InexactNumericLiteral: 'PLAY0511',\n MixedNumericModes: 'PLAY0512',\n IncompatibleNumericSource: 'PLAY0513',\n EventFromLaterSlice: 'PLAY0516',\n TimelineCycleGroup: 'PLAY0517',\n InvalidSpecificationExample: 'PLAY0518',\n DuplicateSpecificationAssignment: 'PLAY0519',\n UnresolvedSpecificationExampleType: 'PLAY0520',\n SpecificationExampleNameCollision: 'PLAY0521',\n SpecificationExampleKindMismatch: 'PLAY0522',\n InvalidSpecificationExampleValue: 'PLAY0523',\n MissingSpecificationProperty: 'PLAY0524',\n UnadmittedSpecificationExampleValue: 'PLAY0525',\n InvalidSpecificationExampleBody: 'PLAY0526',\n AmbiguousReference: 'PLAY0198',\n InvalidSpecificationStream: 'PLAY0547',\n SpecificationStreamOnCommand: 'PLAY0548',\n InvalidSpecificationStreamRoute: 'PLAY0549',\n InvalidSpecificationStreamEventSource: 'PLAY0550',\n SpecificationStreamContradictsCommand: 'PLAY0551',\n InvalidDependencyTarget: 'PLAY0554',\n RepeatedDependencyDeclaration: 'PLAY0555',\n UndeclaredDependency: 'PLAY0552',\n UnusedDependencyDeclaration: 'PLAY0553',\n MutualDependencyDeclarations: 'PLAY0556',\n AuthorizationRefusalWithoutIdentity: 'PLAY0557',\n InvalidDocumentation: 'PLAY0558',\n ConflictingDocumentationAcrossFiles: 'PLAY0559',\n InvalidSpecificationCallerPersona: 'PLAY0572',\n UnsynthesizablePersonaCaller: 'PLAY0573',\n PersonaWithoutGate: 'PLAY0574',\n GateWithoutPersona: 'PLAY0575',\n AmbiguousPersonaCaller: 'PLAY0576',\n InvalidSpecificationParameter: 'PLAY0577',\n InvalidSpecificationCase: 'PLAY0578',\n DuplicateSpecificationParameter: 'PLAY0579',\n DuplicateSpecificationCase: 'PLAY0580',\n IncompleteSpecificationTable: 'PLAY0581',\n InvalidSpecificationCaseAssignment: 'PLAY0582',\n InvalidSpecificationCaseValue: 'PLAY0583',\n InvalidSpecificationCaseReference: 'PLAY0584',\n OptionalSpecificationParameterTarget: 'PLAY0585',\n SpecificationCaseNameCollision: 'PLAY0586',\n IncompatibleSpecificationParameterType: 'PLAY0587',\n UnusedSpecificationParameter: 'PLAY0588',\n SingularSpecificationTableExpansion: 'PLAY0589',\n UnsupportedInteractionAlternatives: 'PLAY0560',\n MixedInteractionAlternatives: 'PLAY0561',\n InteractionAlternativeWithoutActions: 'PLAY0562',\n InlineInteractionAlternative: 'PLAY0563',\n LegacyInteractionWhere: 'PLAY0564',\n InvalidEventSourceDeclaration: 'PLAY0503',\n InvalidCommandStream: 'PLAY0504',\n AmbiguousCommandStream: 'PLAY0505',\n UnsupportedStreamIdType: 'PLAY0506',\n RedundantSourceStreamId: 'PLAY0507',\n UnknownEvent: 'PLAY0166',\n UnknownReadModelProperty: 'PLAY0514',\n PiiNotSupportedOnIdentifier: 'PLAY0515',\n HandlerWithoutImplementation: 'PLAY0045',\n UnknownHandlerDirective: 'PLAY0046',\n CommandWithProducesAndHandler: 'PLAY0035',\n AbsoluteFileReference: 'PLAY0264',\n InvalidTriggerData: 'PLAY0246',\n InvalidReadModelKey: 'PLAY0660',\n IncompleteReadModelKey: 'PLAY0661', // C# only: scoped read-model key resolution.\n InvalidReadModelKeyLookup: 'PLAY0662', // Shape checks shared; scoped lookup checks are C# only.\n ProductionRouteOutsideCommand: 'PLAY0663',\n RedundantProductionRoute: 'PLAY0664',\n InvalidObserverFilter: 'PLAY0665',\n ObserverFilterExcludesEveryProducer: 'PLAY0666', // C# only: statically known producer routes.\n MixedEnumerationNumbering: 'PLAY0667',\n DuplicateEnumerationNumber: 'PLAY0668',\n EnumerationNumberOutsideInt32: 'PLAY0669',\n MalformedEnumerationNumber: 'PLAY0670',\n UnpinnedStoredEnumeration: 'PLAY0671',\n ReadsWithChildren: 'PLAY0451',\n} as const;\n"],"mappings":"AAKA,MAAaA,EAAkB,CAC3B,2BAA4B,WAC5B,kBAAmB,WACnB,sBAAuB,WACvB,sBAAuB,WACvB,4BAA6B,WAC7B,uBAAwB,WACxB,wBAAyB,WACzB,sBAAuB,WACvB,qBAAsB,WACtB,qBAAsB,WACtB,wBAAyB,WACzB,wBAAyB,WACzB,qCAAsC,WACtC,0BAA2B,WAC3B,wBAAyB,WACzB,+BAAgC,WAChC,uBAAwB,WACxB,mBAAoB,WACpB,4BAA6B,WAC7B,4BAA6B,WAE7B,2BAA4B,WAC5B,uCAAwC,WACxC,yBAA0B,WAC1B,2BAA4B,WAC5B,yBAA0B,WAC1B,y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nC,6BAA8B,WAC9B,mBAAoB,WACpB,mBAAoB,WACpB,uBAAwB,WACxB,8BAA+B,WAC/B,yBAA0B,WAC1B,gCAAiC,WACjC,2BAA4B,WAC5B,6BAA8B,WAC9B,mCAAoC,WACpC,8BAA+B,WAC/B,kCAAmC,WACnC,qCAAsC,WACtC,+BAAgC,WAChC,uCAAwC,WACxC,6BAA8B,WAC9B,oCAAqC,WACrC,mCAAoC,WACpC,6BAA8B,WAC9B,qCAAsC,WACtC,6BAA8B,WAC9B,uBAAwB,WACxB,8BAA+B,WAC/B,qBAAsB,WACtB,uBAAwB,WACxB,wBAAyB,WACzB,wBAAyB,WACzB,aAAc,WACd,yBAA0B,WAC1B,4BAA6B,WAC7B,6BAA8B,WAC9B,wBAAyB,WACzB,8BAA+B,WAC/B,sBAAuB,WACvB,mBAAoB,WACpB,oBAAqB,WACrB,uBAAwB,WACxB,0BAA2B,WAC3B,8BAA+B,WAC/B,yBAA0B,WAC1B,sBAAuB,WACvB,oCAAqC,WACrC,0BAA2B,WAC3B,2BAA4B,WAC5B,8BAA+B,WAC/B,2BAA4B,WAC5B,0BAA2B,WAC3B,kBAAmB,UACvB"}
@@ -0,0 +1,2 @@
1
+ import"../../_virtual/_virtual/_rolldown/runtime.js";import{DiagnosticCodes as e}from"../Diagnostics/DiagnosticCodes.js";import{pattern as t}from"../Text/patterns.js";import{locationOf as n}from"./SourceLine.js";import{unescapeIdentifier as r}from"./LineText.js";const i=t(`^(@?[a-z_]\\w*)\\s*=\\s*(.*)$`),a=/^-?(0|[1-9][0-9]*)$/;var EnumerationMembers=class{numbers=[];seen=/* @__PURE__ */ new Set;numbered=0;tryNumbered(t,o){let s=i.exec(o.content);if(s===null)return;this.numbered++;let c=s[2],l=Number(c);if(a.exec(c)?.[0]!==c)t.error(e.MalformedEnumerationNumber,`Invalid enum number '${c}' - expected an optional '-' followed by decimal digits, with no leading zero`,n(o));else if(!Number.isInteger(l)||l<-2147483648||l>2147483647)t.error(e.EnumerationNumberOutsideInt32,`Enum number '${c}' is outside the int32 range`,n(o));else{let r=l===0?0:l;this.numbers.push(r),this.seen.has(r)&&t.error(e.DuplicateEnumerationNumber,`Enum number '${r}' is declared more than once`,n(o)),this.seen.add(r)}return r(s[1])}finish(t,r,i){return this.numbered>0&&this.numbered!==i&&t.error(e.MixedEnumerationNumbering,`Enum members must either all declare numbers or all omit them`,n(r)),this.numbered>0&&this.numbers.length===i?this.numbers:void 0}};export{EnumerationMembers};
2
+ //# sourceMappingURL=EnumerationMembers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnumerationMembers.js","names":["memberPattern","pattern","numberPattern","match","line","literal","number","context","DiagnosticCodes","locationOf","canonical","unescapeIdentifier","count","declaration"],"sources":["../../../../../../Compiler/Parsing/EnumerationMembers.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport { pattern } from '../Text/patterns';\nimport { unescapeIdentifier } from './LineText';\nimport { ParserContext } from './ParserContext';\nimport { locationOf, SourceLine } from './SourceLine';\n\nconst memberPattern = pattern('^(@?[a-z_]\\\\w*)\\\\s*=\\\\s*(.*)$');\nconst numberPattern = /^-?(0|[1-9][0-9]*)$/;\n\nexport class EnumerationMembers {\n private readonly numbers: number[] = [];\n private readonly seen = new Set<number>();\n private numbered = 0;\n\n tryNumbered(context: ParserContext, line: SourceLine): string | undefined {\n const match = memberPattern.exec(line.content);\n if (match === null) return undefined;\n this.numbered++;\n const literal = match[2];\n const number = Number(literal);\n if (numberPattern.exec(literal)?.[0] !== literal) {\n context.error(DiagnosticCodes.MalformedEnumerationNumber, `Invalid enum number '${literal}' - expected an optional '-' followed by decimal digits, with no leading zero`, locationOf(line));\n } else if (!Number.isInteger(number) || number < -2147483648 || number > 2147483647) {\n context.error(DiagnosticCodes.EnumerationNumberOutsideInt32, `Enum number '${literal}' is outside the int32 range`, locationOf(line));\n } else {\n const canonical = number === 0 ? 0 : number;\n this.numbers.push(canonical);\n if (this.seen.has(canonical)) context.error(DiagnosticCodes.DuplicateEnumerationNumber, `Enum number '${canonical}' is declared more than once`, locationOf(line));\n this.seen.add(canonical);\n }\n return unescapeIdentifier(match[1]);\n }\n\n finish(context: ParserContext, declaration: SourceLine, count: number): readonly number[] | undefined {\n if (this.numbered > 0 && this.numbered !== count) {\n context.error(DiagnosticCodes.MixedEnumerationNumbering, 'Enum members must either all declare numbers or all omit them', locationOf(declaration));\n }\n return this.numbered > 0 && this.numbers.length === count ? this.numbers : undefined;\n }\n}\n"],"mappings":"uQASA,MAAMA,EAAgBC,EAAQ,+BAA+B,EACvDC,EAAgB,sBAEtB,IAAa,mBAAb,KAAgC,CAC5B,QAAqC,CAAC,EACtC,qBAAwB,IAAI,IAC5B,SAAmB,EAEnB,YAAY,EAAwB,EAAsC,CACtE,IAAMC,EAAQH,EAAc,KAAKI,EAAK,OAAO,EAC7C,GAAID,IAAU,KAAM,OACpB,KAAK,WACL,IAAME,EAAUF,EAAM,GAChBG,EAAS,OAAOD,CAAO,EAC7B,GAAIH,EAAc,KAAKG,CAAO,CAAC,GAAG,KAAOA,EACrCE,EAAQ,MAAMC,EAAgB,2BAA4B,wBAAwBH,EAAQ,+EAAgFI,EAAWL,CAAI,CAAC,OACvL,GAAI,CAAC,OAAO,UAAUE,CAAM,GAAKA,EAAS,aAAeA,EAAS,WACrEC,EAAQ,MAAMC,EAAgB,8BAA+B,gBAAgBH,EAAQ,8BAA+BI,EAAWL,CAAI,CAAC,MACjI,CACH,IAAMM,EAAYJ,IAAW,EAAI,EAAIA,EACrC,KAAK,QAAQ,KAAKI,CAAS,EACvB,KAAK,KAAK,IAAIA,CAAS,GAAGH,EAAQ,MAAMC,EAAgB,2BAA4B,gBAAgBE,EAAU,8BAA+BD,EAAWL,CAAI,CAAC,EACjK,KAAK,KAAK,IAAIM,CAAS,CAC3B,CACA,OAAOC,EAAmBR,EAAM,EAAE,CACtC,CAEA,OAAO,EAAwB,EAAyB,EAA8C,CAIlG,OAHI,KAAK,SAAW,GAAK,KAAK,WAAaS,GACvCL,EAAQ,MAAMC,EAAgB,0BAA2B,gEAAiEC,EAAWI,CAAW,CAAC,EAE9I,KAAK,SAAW,GAAK,KAAK,QAAQ,SAAWD,EAAQ,KAAK,QAAU,IAAA,EAC/E,CACJ"}
@@ -1,2 +1,2 @@
1
- import"../../_virtual/_virtual/_rolldown/runtime.js";import{DiagnosticCodes as e}from"../Diagnostics/DiagnosticCodes.js";import{stringBodyPattern as t,unescapeString as n}from"../Text/StringLiteral.js";import{pattern as r}from"../Text/patterns.js";import{locationOf as i,startOf as a}from"./SourceLine.js";import{parseComplianceDirective as o,parseComplianceMarkers as s}from"./ConceptComplianceParser.js";import{firstWord as c,unescapeIdentifier as l}from"./LineText.js";import{describePlacement as u,documentPlacement as d,isDocumentPlacement as f}from"../Files/PlayPlacement.js";import{parseDescription as p}from"./DescriptionParser.js";import{parsePurpose as m}from"./PurposeParser.js";import{isFileImport as h,parseFileImport as g}from"./FileImportParser.js";import{recordAuthoredDocument as _}from"../Syntax/SourceOptions.js";import{collectInputUses as v}from"./InputUses.js";import{misplacedReactionIdentity as y}from"./ReactionIdentityParser.js";import{parseEventSource as b}from"./EventSourceParser.js";import{isFileDirective as x}from"./FileReferences.js";import{parseSystem as S}from"./OperationParser.js";import{parseExample as C}from"./SpecificationExampleParser.js";import{isBlankPublicEventOrigin as w}from"../Syntax/PublicEventInvariants.js";import{parseType as T}from"./DeclarationParsers.js";import{parseValidate as E}from"./CommandParser.js";import{parseTriggerDeclaration as D}from"./TriggerDataParser.js";import{FeatureBody as O,featureBodyExpected as k}from"./FeatureBody.js";import{ModuleBody as A,moduleBodyExpected as j,modulePattern as M,parseModule as N}from"./ModuleBody.js";import{parseIdentity as P}from"./IdentityParser.js";import{parsePolicy as F}from"./PolicyParser.js";import{parseSeed as I}from"./SeedParser.js";import{parseExposure as L,parseInstance as R}from"./CompositionParser.js";const z=r(`^domain\\s+([A-Za-z_]\\w*(?:\\.[A-Za-z_]\\w*)*)$`),B=r(`^import\\s+([\\w.]+)(?:\\s+from\\s+"(?<origin>${t})")?$`),V=r(`^concept\\s+(\\w+)\\s*:\\s*(\\w+)((?:\\s+@?\\w+)*)$`),H=r(`^@?[a-z_]\\w*$`),U=r(`^persona\\s+([A-Za-z_]\\w*)$`),W=r(`^policy\\s+([A-Za-z_]\\w*)$`),G=/^[ ]*\t/,K=[`Uuid`,`String`,`Int`,`Decimal`,`Bool`,`Date`,`DateTime`],q=/* @__PURE__ */ new Set([`policy`,`authentication`,`seed`,`ui`,`theme`,`trigger`,`layout`,`behavior`]),J=/* @__PURE__ */ new Set([`slice`,`feature`,`description`,`documentation`,`authorize`,`screen`,`dialog`,`form`,`contribute`,`on`,`uses`]);function parseApplication(t,r,a=d){t.deferIdentityValidation=!0,warnOnTabIndentation(t,r);let o=a.length===1?new A(a[0]):void 0,s=a.length>1?new O(a[a.length-1]):void 0,l=o??s,u=null,p=null,x=[],E=[],k=[],j=[],M=[],z=[],V=[],H=[],U=[],W=[],G=[],K=[],J=[],Y=[],X=[],Z=!1;for(let r=t.reader.peekSignificant();r!==void 0;r=t.reader.peekSignificant()){t.reader.takeSignificant();let s=c(r.content);if(s===`runs`)y(t,r);else if(s===`domain`)t.authoredDeclarations=!0,p=parseDomain(t,r,p,Z);else if(Z||=declaresConstruct(s,r,a),t.authoredDeclarations||=s!==`import`&&declaresConstruct(s,r,a),s===`import`&&h(r.content))l===void 0?g(t,r,E):l.tryParse(t,r);else if(s===`import`){let a=B.exec(r.content);if(a===null)t.error(e.InvalidImportDeclaration,`Invalid import '${r.content}' - expected 'import <Qualified.Name> [from "<origin>"]'`,i(r));else{let o=a.groups?.origin===void 0?null:n(a.groups.origin);o!==null&&w(o)&&t.error(e.InvalidImportDeclaration,`An import origin must be a nonblank quoted string`,i(r)),x.push({kind:`ImportSyntax`,qualifiedName:a[1],origin:o,visibility:o===null?`Private`:`Public`,location:i(r)})}}else if(s===`example`)l===void 0?K.push(C(t,r)):l.tryParse(t,r);else if(s===`eventsource`)z.push(b(t,r));else if(s===`system`)M.push(S(t,r));else if(s===`concept`)k.push(parseConcept(t,r));else if(s===`type`)j.push(T(t,r));else if(s===`module`&&!f(a))parseModuleInPlacedFile(t,r,a,o);else if(s===`module`)V.push(N(t,r));else if(s===`persona`)H.push(parsePersona(t,r));else if(s===`seed`)G.push(I(t.valueContext,r));else if(s===`purpose`&&l!==void 0)l.tryParse(t,r);else if(s===`purpose`)W.push(m(t,r));else if(s===`identity`)u=P(t,r,u);else if(s===`policy`)U.push(F(t,r));else if(s===`exposure`)Y.push(L(t,r));else if(s===`instance`)X.push(R(t,r));else if(s===`trigger`){let e=D(t,r),n=/^trigger\s+([A-Za-z_]\w*)$/.exec(r.content)?.[1];n!==void 0&&J.push({name:n,data:e})}else q.has(s)?s===`behavior`||s===`layout`?v(t,r):t.skipOpaqueBlock(r.indent):l?.tryParse(t,r)!==!0&&reportUnexpectedTopLevel(t,r,a)}o===void 0?s!==void 0&&V.unshift(place(a,s.build(t.start,!0),t.start)):V.unshift(o.build(t.start,!0));let Q={kind:`ApplicationSyntax`,...u===null?{}:{identity:u},sourceOptions:t.sourceOptions,domain:p,imports:x,concepts:k,types:j,systems:M,eventSources:z,examples:K,modules:V,personas:H,policies:U,purposes:W,seeds:G,declaredTriggers:J,fileImports:E,...Y.length>0?{exposures:Y}:{},...X.length>0?{instanceContributions:X}:{},location:t.start};return t.authoredDeclarations&&_(Q),Q}function declaresConstruct(e,t,n){return e===`import`?B.test(t.content):e===`module`?f(n):e===`identity`?t.content===`identity`:e===`purpose`||e===`example`||e===`exposure`||e===`instance`||e===`eventsource`||e===`system`||e===`concept`||e===`type`||e===`persona`||q.has(e)}function parseModuleInPlacedFile(t,n,r,a){let o=M.exec(n.content)?.[1]??``;a!==void 0&&o===r[0]?(t.authoredDeclarations=!0,a.parseChildren(t,n)):(t.error(e.ModuleInPlacedFile,`This file is imported into ${u(r)}, so it cannot declare module '${o}' - import it at the top level of a document instead`,i(n)),t.skipBlock(n.indent))}function reportUnexpectedTopLevel(t,n,r){let a=c(n.content);if(f(r)){let r=J.has(a)?` - '${a}' belongs in a module or feature; wrap it in one, or import this file from inside one`:` - expected domain, import, concept, type, policy, persona, authentication, identity, module, seed, trigger, behavior, ui profile, theme or layout`;t.error(e.UnknownTopLevelConstruct,`Unexpected '${a}' at the top level${r}`,i(n))}else{let o=r.length===1?j:k;t.error(e.UnexpectedInPlacedFile,`Unexpected '${a}' in a file imported into ${u(r)} - expected an application declaration or ${o}`,i(n))}t.skipBlock(n.indent)}function place(e,t,n){let r=t;for(let t=e.length-2;t>=1;t--)r={kind:`FeatureSyntax`,name:e[t],description:null,authorize:null,features:[r],slices:[],fileImports:[],isPlacement:!0,location:n};return{kind:`ModuleSyntax`,name:e[0],description:null,authorize:null,features:[r],fileImports:[],isPlacement:!0,location:n}}function parseDomain(t,n,r,a){let o=z.exec(n.content);return o===null?(t.error(e.InvalidDomainDeclaration,`Invalid domain declaration '${n.content}' - expected 'domain <Qualified.Name>'`,i(n)),r):r===null?(a&&t.error(e.DomainNotFirst,`'domain' must be declared before any other construct`,i(n)),{kind:`DomainSyntax`,name:o[1],location:i(n)}):(t.error(e.DuplicateDomain,`The document already declares a domain - a document can have at most one`,i(n)),r)}function warnOnTabIndentation(t,n){let r=!1;for(let i of n)i.raw.trimStart().startsWith("```")?r=!r:!r&&G.test(i.raw)&&t.warning(e.TabIndentation,`Screenplay is indentation based - use spaces, not tabs`,a(i))}function parseConcept(t,n){let r=V.exec(n.content);if(r===null)return t.error(e.InvalidConceptDeclaration,`Invalid concept declaration '${n.content}' - expected 'concept <Name> : <Type>'`,i(n)),t.skipBlock(n.indent),{kind:`ConceptSyntax`,name:c(n.content),type:``,attributes:[],values:[],location:i(n)};let[,a,u,d]=r,f=s(t,n,a,d);u!==`Enum`&&!K.includes(u)&&t.error(e.UnknownPrimitiveType,`Unknown primitive type '${u}' - expected ${K.join(`, `)} or Enum`,i(n));let m=[],h=null,g=[];for(let r=t.peekChild(n.indent);r!==void 0;r=t.peekChild(n.indent))if(t.reader.takeSignificant(),c(r.content)===`description`&&(u!==`Enum`||r.content!==`description`||t.peekChild(r.indent)?.content.startsWith("```")===!0))h=p(t,r,h,`Concept '${a}'`);else if(x(r))continue;else if(c(r.content)===`validate`){u===`Enum`&&r.content===`validate`&&t.peekChild(r.indent)===void 0&&t.warning(e.ValidateReadAsEnumerationBlock,`'validate' in enumeration concept '${a}' declares an empty validate block, not a value named 'validate' - write '@validate' for the value`,i(r));let n=E(t,r,`concept`);n!==void 0&&g.push(n)}else o(t,r,a,f)||(u===`Enum`&&H.test(r.content)?m.push(l(r.content)):u===`Enum`?t.error(e.InvalidEnumerationValue,`Invalid enum value '${r.content}' - expected an identifier`,i(r)):(t.error(e.UnknownConceptDirective,`Unexpected '${r.content}' in concept body - expected validate, 'file <path>' or '<attribute> reason "<text>"'`,i(r)),t.skipBlock(r.indent)));return{kind:`ConceptSyntax`,name:a,type:u,attributes:f,values:m,validations:g,description:h,location:i(n)}}function parsePersona(t,n){let r=U.exec(n.content)?.[1]??``;r===``&&t.error(e.InvalidPersonaDeclaration,`Invalid persona declaration '${n.content}' - expected 'persona <Name>'`,i(n));let a=null,o=[];for(let s=t.peekChild(n.indent);s!==void 0;s=t.peekChild(n.indent)){t.reader.takeSignificant();let n=c(s.content);if(n===`description`)a=p(t,s,a,`Persona '${r}'`);else if(n===`policy`){let n=W.exec(s.content);n===null?t.error(e.InvalidPersonaPolicyReference,`Invalid policy reference '${s.content}' - expected 'policy <Name>'`,i(s)):o.push(n[1])}else t.error(e.UnknownPersonaDirective,`Unexpected '${n}' in persona body - expected description or policy`,i(s)),t.skipBlock(s.indent)}return{kind:`PersonaSyntax`,name:r,description:a,policies:o,location:i(n)}}export{parseApplication};
1
+ import"../../_virtual/_virtual/_rolldown/runtime.js";import{DiagnosticCodes as e}from"../Diagnostics/DiagnosticCodes.js";import{stringBodyPattern as t,unescapeString as n}from"../Text/StringLiteral.js";import{pattern as r}from"../Text/patterns.js";import{locationOf as i,startOf as a}from"./SourceLine.js";import{parseComplianceDirective as o,parseComplianceMarkers as s}from"./ConceptComplianceParser.js";import{firstWord as c,unescapeIdentifier as l}from"./LineText.js";import{describePlacement as u,documentPlacement as d,isDocumentPlacement as f}from"../Files/PlayPlacement.js";import{parseDescription as p}from"./DescriptionParser.js";import{parsePurpose as m}from"./PurposeParser.js";import{isFileImport as h,parseFileImport as g}from"./FileImportParser.js";import{recordAuthoredDocument as _}from"../Syntax/SourceOptions.js";import{collectInputUses as v}from"./InputUses.js";import{misplacedReactionIdentity as y}from"./ReactionIdentityParser.js";import{parseEventSource as b}from"./EventSourceParser.js";import{isFileDirective as x}from"./FileReferences.js";import{parseSystem as S}from"./OperationParser.js";import{parseExample as C}from"./SpecificationExampleParser.js";import{isBlankPublicEventOrigin as w}from"../Syntax/PublicEventInvariants.js";import{parseType as T}from"./DeclarationParsers.js";import{parseValidate as E}from"./CommandParser.js";import{parseTriggerDeclaration as D}from"./TriggerDataParser.js";import{FeatureBody as O,featureBodyExpected as k}from"./FeatureBody.js";import{ModuleBody as A,moduleBodyExpected as j,modulePattern as M,parseModule as N}from"./ModuleBody.js";import{EnumerationMembers as P}from"./EnumerationMembers.js";import{parseIdentity as F}from"./IdentityParser.js";import{parsePolicy as I}from"./PolicyParser.js";import{parseSeed as L}from"./SeedParser.js";import{parseExposure as R,parseInstance as z}from"./CompositionParser.js";const B=r(`^domain\\s+([A-Za-z_]\\w*(?:\\.[A-Za-z_]\\w*)*)$`),V=r(`^import\\s+([\\w.]+)(?:\\s+from\\s+"(?<origin>${t})")?$`),H=r(`^concept\\s+(\\w+)\\s*:\\s*(\\w+)((?:\\s+@?\\w+)*)$`),U=r(`^@?[a-z_]\\w*$`),W=r(`^persona\\s+([A-Za-z_]\\w*)$`),G=r(`^policy\\s+([A-Za-z_]\\w*)$`),K=/^[ ]*\t/,q=[`Uuid`,`String`,`Int`,`Decimal`,`Bool`,`Date`,`DateTime`],J=/* @__PURE__ */ new Set([`policy`,`authentication`,`seed`,`ui`,`theme`,`trigger`,`layout`,`behavior`]),Y=/* @__PURE__ */ new Set([`slice`,`feature`,`description`,`documentation`,`authorize`,`screen`,`dialog`,`form`,`contribute`,`on`,`uses`]);function parseApplication(t,r,a=d){t.deferIdentityValidation=!0,warnOnTabIndentation(t,r);let o=a.length===1?new A(a[0]):void 0,s=a.length>1?new O(a[a.length-1]):void 0,l=o??s,u=null,p=null,x=[],E=[],k=[],j=[],M=[],P=[],B=[],H=[],U=[],W=[],G=[],K=[],q=[],Y=[],X=[],Z=!1;for(let r=t.reader.peekSignificant();r!==void 0;r=t.reader.peekSignificant()){t.reader.takeSignificant();let s=c(r.content);if(s===`runs`)y(t,r);else if(s===`domain`)t.authoredDeclarations=!0,p=parseDomain(t,r,p,Z);else if(Z||=declaresConstruct(s,r,a),t.authoredDeclarations||=s!==`import`&&declaresConstruct(s,r,a),s===`import`&&h(r.content))l===void 0?g(t,r,E):l.tryParse(t,r);else if(s===`import`){let a=V.exec(r.content);if(a===null)t.error(e.InvalidImportDeclaration,`Invalid import '${r.content}' - expected 'import <Qualified.Name> [from "<origin>"]'`,i(r));else{let o=a.groups?.origin===void 0?null:n(a.groups.origin);o!==null&&w(o)&&t.error(e.InvalidImportDeclaration,`An import origin must be a nonblank quoted string`,i(r)),x.push({kind:`ImportSyntax`,qualifiedName:a[1],origin:o,visibility:o===null?`Private`:`Public`,location:i(r)})}}else if(s===`example`)l===void 0?K.push(C(t,r)):l.tryParse(t,r);else if(s===`eventsource`)P.push(b(t,r));else if(s===`system`)M.push(S(t,r));else if(s===`concept`)k.push(parseConcept(t,r));else if(s===`type`)j.push(T(t,r));else if(s===`module`&&!f(a))parseModuleInPlacedFile(t,r,a,o);else if(s===`module`)B.push(N(t,r));else if(s===`persona`)H.push(parsePersona(t,r));else if(s===`seed`)G.push(L(t.valueContext,r));else if(s===`purpose`&&l!==void 0)l.tryParse(t,r);else if(s===`purpose`)W.push(m(t,r));else if(s===`identity`)u=F(t,r,u);else if(s===`policy`)U.push(I(t,r));else if(s===`exposure`)Y.push(R(t,r));else if(s===`instance`)X.push(z(t,r));else if(s===`trigger`){let e=D(t,r),n=/^trigger\s+([A-Za-z_]\w*)$/.exec(r.content)?.[1];n!==void 0&&q.push({name:n,data:e})}else J.has(s)?s===`behavior`||s===`layout`?v(t,r):t.skipOpaqueBlock(r.indent):l?.tryParse(t,r)!==!0&&reportUnexpectedTopLevel(t,r,a)}o===void 0?s!==void 0&&B.unshift(place(a,s.build(t.start,!0),t.start)):B.unshift(o.build(t.start,!0));let Q={kind:`ApplicationSyntax`,...u===null?{}:{identity:u},sourceOptions:t.sourceOptions,domain:p,imports:x,concepts:k,types:j,systems:M,eventSources:P,examples:K,modules:B,personas:H,policies:U,purposes:W,seeds:G,declaredTriggers:q,fileImports:E,...Y.length>0?{exposures:Y}:{},...X.length>0?{instanceContributions:X}:{},location:t.start};return t.authoredDeclarations&&_(Q),Q}function declaresConstruct(e,t,n){return e===`import`?V.test(t.content):e===`module`?f(n):e===`identity`?t.content===`identity`:e===`purpose`||e===`example`||e===`exposure`||e===`instance`||e===`eventsource`||e===`system`||e===`concept`||e===`type`||e===`persona`||J.has(e)}function parseModuleInPlacedFile(t,n,r,a){let o=M.exec(n.content)?.[1]??``;a!==void 0&&o===r[0]?(t.authoredDeclarations=!0,a.parseChildren(t,n)):(t.error(e.ModuleInPlacedFile,`This file is imported into ${u(r)}, so it cannot declare module '${o}' - import it at the top level of a document instead`,i(n)),t.skipBlock(n.indent))}function reportUnexpectedTopLevel(t,n,r){let a=c(n.content);if(f(r)){let r=Y.has(a)?` - '${a}' belongs in a module or feature; wrap it in one, or import this file from inside one`:` - expected domain, import, concept, type, policy, persona, authentication, identity, module, seed, trigger, behavior, ui profile, theme or layout`;t.error(e.UnknownTopLevelConstruct,`Unexpected '${a}' at the top level${r}`,i(n))}else{let o=r.length===1?j:k;t.error(e.UnexpectedInPlacedFile,`Unexpected '${a}' in a file imported into ${u(r)} - expected an application declaration or ${o}`,i(n))}t.skipBlock(n.indent)}function place(e,t,n){let r=t;for(let t=e.length-2;t>=1;t--)r={kind:`FeatureSyntax`,name:e[t],description:null,authorize:null,features:[r],slices:[],fileImports:[],isPlacement:!0,location:n};return{kind:`ModuleSyntax`,name:e[0],description:null,authorize:null,features:[r],fileImports:[],isPlacement:!0,location:n}}function parseDomain(t,n,r,a){let o=B.exec(n.content);return o===null?(t.error(e.InvalidDomainDeclaration,`Invalid domain declaration '${n.content}' - expected 'domain <Qualified.Name>'`,i(n)),r):r===null?(a&&t.error(e.DomainNotFirst,`'domain' must be declared before any other construct`,i(n)),{kind:`DomainSyntax`,name:o[1],location:i(n)}):(t.error(e.DuplicateDomain,`The document already declares a domain - a document can have at most one`,i(n)),r)}function warnOnTabIndentation(t,n){let r=!1;for(let i of n)i.raw.trimStart().startsWith("```")?r=!r:!r&&K.test(i.raw)&&t.warning(e.TabIndentation,`Screenplay is indentation based - use spaces, not tabs`,a(i))}function parseConcept(t,n){let r=H.exec(n.content);if(r===null)return t.error(e.InvalidConceptDeclaration,`Invalid concept declaration '${n.content}' - expected 'concept <Name> : <Type>'`,i(n)),t.skipBlock(n.indent),{kind:`ConceptSyntax`,name:c(n.content),type:``,attributes:[],values:[],location:i(n)};let[,a,u,d]=r,f=s(t,n,a,d);u!==`Enum`&&!q.includes(u)&&t.error(e.UnknownPrimitiveType,`Unknown primitive type '${u}' - expected ${q.join(`, `)} or Enum`,i(n));let m=[],h=new P,g=null,_=[];for(let r=t.peekChild(n.indent);r!==void 0;r=t.peekChild(n.indent)){t.reader.takeSignificant();let n=u===`Enum`?h.tryNumbered(t,r):void 0;if(n!==void 0)m.push(n);else if(c(r.content)===`description`&&(u!==`Enum`||r.content!==`description`||t.peekChild(r.indent)?.content.startsWith("```")===!0))g=p(t,r,g,`Concept '${a}'`);else if(x(r))continue;else if(c(r.content)===`validate`){u===`Enum`&&r.content===`validate`&&t.peekChild(r.indent)===void 0&&t.warning(e.ValidateReadAsEnumerationBlock,`'validate' in enumeration concept '${a}' declares an empty validate block, not a value named 'validate' - write '@validate' for the value`,i(r));let n=E(t,r,`concept`);n!==void 0&&_.push(n)}else o(t,r,a,f)||(u===`Enum`&&U.test(r.content)?m.push(l(r.content)):u===`Enum`?t.error(e.InvalidEnumerationValue,`Invalid enum value '${r.content}' - expected an identifier`,i(r)):(t.error(e.UnknownConceptDirective,`Unexpected '${r.content}' in concept body - expected validate, 'file <path>' or '<attribute> reason "<text>"'`,i(r)),t.skipBlock(r.indent)))}let v=h.finish(t,n,m.length);return{kind:`ConceptSyntax`,name:a,type:u,attributes:f,values:m,validations:_,description:g,...v===void 0?{}:{valueNumbers:v},location:i(n)}}function parsePersona(t,n){let r=W.exec(n.content)?.[1]??``;r===``&&t.error(e.InvalidPersonaDeclaration,`Invalid persona declaration '${n.content}' - expected 'persona <Name>'`,i(n));let a=null,o=[];for(let s=t.peekChild(n.indent);s!==void 0;s=t.peekChild(n.indent)){t.reader.takeSignificant();let n=c(s.content);if(n===`description`)a=p(t,s,a,`Persona '${r}'`);else if(n===`policy`){let n=G.exec(s.content);n===null?t.error(e.InvalidPersonaPolicyReference,`Invalid policy reference '${s.content}' - expected 'policy <Name>'`,i(s)):o.push(n[1])}else t.error(e.UnknownPersonaDirective,`Unexpected '${n}' in persona body - expected description or policy`,i(s)),t.skipBlock(s.indent)}return{kind:`PersonaSyntax`,name:r,description:a,policies:o,location:i(n)}}export{parseApplication};
2
2
  //# sourceMappingURL=ScreenplayParser.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScreenplayParser.js","names":["domainPattern","pattern","importPattern","stringBodyPattern","conceptPattern","enumValuePattern","personaPattern","personaPolicyPattern","tabIndentPattern","primitiveTypes","opaqueTopLevel","bodyKeywords","documentPlacement","context","lines","moduleBody","placement","ModuleBody","featureBody","FeatureBody","placedBody","identity","domain","imports","fileImports","concepts","types","systems","eventSources","modules","personas","policies","purposes","seeds","examples","declaredTriggers","exposures","instanceContributions","sawOtherConstruct","line","keyword","firstWord","misplacedReactionIdentity","isFileImport","parseFileImport","match","DiagnosticCodes","locationOf","origin","unescapeString","isBlankPublicEventOrigin","parseExample","parseEventSource","parseSystem","parseType","isDocumentPlacement","parseModule","parseSeed","parsePurpose","parseIdentity","parsePolicy","parseExposure","parseInstance","data","parseTriggerDeclaration","name","collectInputUses","root","recordAuthoredDocument","modulePattern","describePlacement","word","hint","expected","moduleBodyExpected","featureBodyExpected","feature","innermost","index","start","existing","inFence","startOf","type","attributeText","attributes","parseComplianceMarkers","values","description","validations","child","parseDescription","isFileDirective","parsed","parseValidate","parseComplianceDirective","unescapeIdentifier","policy"],"sources":["../../../../../../Compiler/Parsing/ScreenplayParser.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { IdentitySyntax } from '../Syntax/IdentitySyntax';\nimport { parseIdentity } from './IdentityParser';\nimport { misplacedReactionIdentity } from './ReactionIdentityParser';\nimport { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport { recordAuthoredDocument } from '../Syntax/SourceOptions';\nimport { SourceLocation } from '../Diagnostics/SourceLocation';\nimport { describePlacement, documentPlacement, isDocumentPlacement, PlayPlacement } from '../Files/PlayPlacement';\nimport { PersonaSyntax } from '../Syntax/Authorization';\nimport { ConceptSyntax, DomainSyntax, ImportSyntax, TypeSyntax } from '../Syntax/Declarations';\nimport { SpecificationExampleSyntax } from '../Syntax/Specifications';\nimport { ApplicationSyntax, FeatureSyntax, FileImportSyntax, ModuleSyntax } from '../Syntax/Structure';\nimport { parseTriggerDeclaration } from './TriggerDataParser';\nimport { pattern } from '../Text/patterns';\nimport { parseComplianceDirective, parseComplianceMarkers } from './ConceptComplianceParser';\nimport { parseType } from './DeclarationParsers';\nimport { ValidateSyntax } from '../Syntax/Commands';\nimport { parseValidate } from './CommandParser';\nimport { parseDescription } from './DescriptionParser';\nimport { FeatureBody, featureBodyExpected } from './FeatureBody';\nimport { isFileImport, parseFileImport } from './FileImportParser';\nimport { isFileDirective } from './FileReferences';\nimport { collectInputUses } from './InputUses';\nimport { firstWord, unescapeIdentifier } from './LineText';\nimport { ModuleBody, moduleBodyExpected, modulePattern, parseModule } from './ModuleBody';\nimport { ParserContext } from './ParserContext';\nimport { PolicySyntax } from '../Syntax/Policies';\nimport { parsePolicy } from './PolicyParser';\nimport { PurposeSyntax } from '../Syntax/Purposes';\nimport { parsePurpose } from './PurposeParser';\nimport { SeedSyntax } from '../Syntax/Seeds';\nimport { parseSeed } from './SeedParser';\nimport { parseSystem } from './OperationParser';\nimport { EventVisibility } from '../Syntax/EventVisibility';\nimport { isBlankPublicEventOrigin } from '../Syntax/PublicEventInvariants';\nimport { stringBodyPattern, unescapeString } from '../Text/StringLiteral';\nimport { SystemSyntax } from '../Syntax/Operations';\nimport { EventSourceSyntax } from '../Syntax/EventSources';\nimport { parseEventSource } from './EventSourceParser';\nimport { parseExposure, parseInstance } from './CompositionParser';\nimport { ExposureSyntax, InstanceContributionsSyntax } from '../Syntax/CompositionSyntax';\nimport { parseExample } from './SpecificationExampleParser';\nimport { locationOf, SourceLine, startOf } from './SourceLine';\n\nconst domainPattern = pattern('^domain\\\\s+([A-Za-z_]\\\\w*(?:\\\\.[A-Za-z_]\\\\w*)*)$');\nconst importPattern = pattern(`^import\\\\s+([\\\\w.]+)(?:\\\\s+from\\\\s+\"(?<origin>${stringBodyPattern})\")?$`);\nconst conceptPattern = pattern('^concept\\\\s+(\\\\w+)\\\\s*:\\\\s*(\\\\w+)((?:\\\\s+@?\\\\w+)*)$');\nconst enumValuePattern = pattern('^@?[a-z_]\\\\w*$');\nconst personaPattern = pattern('^persona\\\\s+([A-Za-z_]\\\\w*)$');\nconst personaPolicyPattern = pattern('^policy\\\\s+([A-Za-z_]\\\\w*)$');\nconst tabIndentPattern = /^[ ]*\\t/;\nconst primitiveTypes = ['Uuid', 'String', 'Int', 'Decimal', 'Bool', 'Date', 'DateTime'];\n\n// Top-level, module and feature constructs the C# compiler knows that this compiler does not model. They\n// are skipped whole, not reported.\nconst opaqueTopLevel = new Set(['policy', 'authentication', 'seed', 'ui', 'theme', 'trigger', 'layout', 'behavior']);\n\n// What belongs in a module or feature body; at the top level of a whole document it gets a hint saying so.\nconst bodyKeywords = new Set(['slice', 'feature', 'description', 'documentation', 'authorize', 'screen', 'dialog', 'form', 'contribute', 'on', 'uses']);\n\n// Parses one document into its application syntax - the port of the C# ScreenplayParser. The placement says\n// where the document's top level belongs: the application, unless an import placed it in a module or feature.\nexport function parseApplication(context: ParserContext, lines: readonly SourceLine[], placement: PlayPlacement = documentPlacement): ApplicationSyntax {\n context.deferIdentityValidation = true;\n warnOnTabIndentation(context, lines);\n const moduleBody = placement.length === 1 ? new ModuleBody(placement[0]) : undefined;\n const featureBody = placement.length > 1 ? new FeatureBody(placement[placement.length - 1]) : undefined;\n const placedBody = moduleBody ?? featureBody;\n let identity: IdentitySyntax | null = null;\n let domain: DomainSyntax | null = null;\n const imports: ImportSyntax[] = [];\n const fileImports: FileImportSyntax[] = [];\n const concepts: ConceptSyntax[] = [];\n const types: TypeSyntax[] = [];\n const systems: SystemSyntax[] = [];\n const eventSources: EventSourceSyntax[] = [];\n const modules: ModuleSyntax[] = [];\n const personas: PersonaSyntax[] = [];\n const policies: PolicySyntax[] = [];\n const purposes: PurposeSyntax[] = [];\n const seeds: SeedSyntax[] = [];\n const examples: SpecificationExampleSyntax[] = [];\n const declaredTriggers: NonNullable<ApplicationSyntax['declaredTriggers']>[number][] = [];\n const exposures: ExposureSyntax[] = [];\n const instanceContributions: InstanceContributionsSyntax[] = [];\n let sawOtherConstruct = false;\n for (let line = context.reader.peekSignificant(); line !== undefined; line = context.reader.peekSignificant()) {\n context.reader.takeSignificant();\n const keyword = firstWord(line.content);\n if (keyword === 'runs') {\n misplacedReactionIdentity(context, line);\n continue;\n }\n if (keyword === 'domain') {\n context.authoredDeclarations = true;\n domain = parseDomain(context, line, domain, sawOtherConstruct);\n continue;\n }\n // The C# parser asks whether anything was declared before the domain, so an import it rejected,\n // a file import and an unknown construct do not count.\n sawOtherConstruct ||= declaresConstruct(keyword, line, placement);\n context.authoredDeclarations ||= keyword !== 'import' && declaresConstruct(keyword, line, placement);\n if (keyword === 'import' && isFileImport(line.content)) {\n // A top level import belongs to whatever the document's top level is - the application, or the\n // module or feature the document was itself imported into.\n if (placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else {\n parseFileImport(context, line, fileImports);\n }\n } else if (keyword === 'import') {\n const match = importPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, `Invalid import '${line.content}' - expected 'import <Qualified.Name> [from \"<origin>\"]'`, locationOf(line));\n } else {\n const origin = match.groups?.origin === undefined ? null : unescapeString(match.groups.origin);\n if (origin !== null && isBlankPublicEventOrigin(origin)) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, 'An import origin must be a nonblank quoted string', locationOf(line));\n }\n imports.push({ kind: 'ImportSyntax', qualifiedName: match[1], origin, visibility: origin === null ? EventVisibility.Private : EventVisibility.Public, location: locationOf(line) });\n }\n } else if (keyword === 'example') {\n if (placedBody !== undefined) placedBody.tryParse(context, line);\n else examples.push(parseExample(context, line));\n } else if (keyword === 'eventsource') {\n eventSources.push(parseEventSource(context, line));\n } else if (keyword === 'system') {\n systems.push(parseSystem(context, line));\n } else if (keyword === 'concept') {\n concepts.push(parseConcept(context, line));\n } else if (keyword === 'type') {\n types.push(parseType(context, line));\n } else if (keyword === 'module' && !isDocumentPlacement(placement)) {\n parseModuleInPlacedFile(context, line, placement, moduleBody);\n } else if (keyword === 'module') {\n modules.push(parseModule(context, line));\n } else if (keyword === 'persona') {\n personas.push(parsePersona(context, line));\n } else if (keyword === 'seed') {\n seeds.push(parseSeed(context.valueContext, line));\n } else if (keyword === 'purpose' && placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else if (keyword === 'purpose') {\n purposes.push(parsePurpose(context, line));\n } else if (keyword === 'identity') {\n identity = parseIdentity(context, line, identity);\n } else if (keyword === 'policy') {\n // Legacy policies were opaque: enrich their structure without adding diagnostics.\n policies.push(parsePolicy(context, line));\n } else if (keyword === 'exposure') {\n exposures.push(parseExposure(context, line));\n } else if (keyword === 'instance') {\n instanceContributions.push(parseInstance(context, line));\n } else if (keyword === 'trigger') {\n const data = parseTriggerDeclaration(context, line);\n const name = /^trigger\\s+([A-Za-z_]\\w*)$/.exec(line.content)?.[1];\n if (name !== undefined) declaredTriggers.push({ name, data });\n } else if (opaqueTopLevel.has(keyword)) {\n if (keyword === 'behavior' || keyword === 'layout') collectInputUses(context, line);\n else context.skipOpaqueBlock(line.indent);\n } else if (placedBody?.tryParse(context, line) !== true) {\n reportUnexpectedTopLevel(context, line, placement);\n }\n }\n if (moduleBody !== undefined) {\n modules.unshift(moduleBody.build(context.start, true));\n } else if (featureBody !== undefined) {\n modules.unshift(place(placement, featureBody.build(context.start, true), context.start));\n }\n const root: ApplicationSyntax = { kind: 'ApplicationSyntax', ...(identity === null ? {} : { identity }), sourceOptions: context.sourceOptions, domain, imports, concepts, types, systems, eventSources, examples, modules, personas, policies, purposes, seeds, declaredTriggers, fileImports, ...(exposures.length > 0 ? { exposures } : {}), ...(instanceContributions.length > 0 ? { instanceContributions } : {}), location: context.start };\n if (context.authoredDeclarations) recordAuthoredDocument(root);\n return root;\n}\n\nfunction declaresConstruct(keyword: string, line: SourceLine, placement: PlayPlacement): boolean {\n if (keyword === 'import') {\n return importPattern.test(line.content);\n }\n if (keyword === 'module') {\n return isDocumentPlacement(placement);\n }\n if (keyword === 'identity') return line.content === 'identity';\n return keyword === 'purpose' || keyword === 'example' || keyword === 'exposure' || keyword === 'instance' || keyword === 'eventsource' || keyword === 'system' || keyword === 'concept' || keyword === 'type' || keyword === 'persona' || opaqueTopLevel.has(keyword);\n}\n\nfunction parseModuleInPlacedFile(context: ParserContext, line: SourceLine, placement: PlayPlacement, moduleBody: ModuleBody | undefined): void {\n const name = modulePattern.exec(line.content)?.[1] ?? '';\n\n // Restating the module a file is placed in says nothing new, so its body simply joins the placement.\n if (moduleBody !== undefined && name === placement[0]) {\n context.authoredDeclarations = true;\n moduleBody.parseChildren(context, line);\n return;\n }\n context.error(DiagnosticCodes.ModuleInPlacedFile,\n `This file is imported into ${describePlacement(placement)}, so it cannot declare module '${name}' - import it at the top level of a document instead`, locationOf(line));\n context.skipBlock(line.indent);\n}\n\nfunction reportUnexpectedTopLevel(context: ParserContext, line: SourceLine, placement: PlayPlacement): void {\n const word = firstWord(line.content);\n if (!isDocumentPlacement(placement)) {\n const expected = placement.length === 1 ? moduleBodyExpected : featureBodyExpected;\n context.error(DiagnosticCodes.UnexpectedInPlacedFile,\n `Unexpected '${word}' in a file imported into ${describePlacement(placement)} - expected an application declaration or ${expected}`, locationOf(line));\n } else {\n const hint = bodyKeywords.has(word)\n ? ` - '${word}' belongs in a module or feature; wrap it in one, or import this file from inside one`\n : ' - expected domain, import, concept, type, policy, persona, authentication, identity, module, seed, trigger, behavior, ui profile, theme or layout';\n context.error(DiagnosticCodes.UnknownTopLevelConstruct, `Unexpected '${word}' at the top level${hint}`, locationOf(line));\n }\n context.skipBlock(line.indent);\n}\n\n// Wraps the feature a file is placed in in the features and module around it, each marked as a placement.\nfunction place(placement: PlayPlacement, innermost: FeatureSyntax, start: SourceLocation): ModuleSyntax {\n let feature = innermost;\n for (let index = placement.length - 2; index >= 1; index--) {\n feature = {\n kind: 'FeatureSyntax', name: placement[index], description: null, authorize: null,\n features: [feature], slices: [], fileImports: [], isPlacement: true, location: start,\n };\n }\n return {\n kind: 'ModuleSyntax', name: placement[0], description: null, authorize: null,\n features: [feature], fileImports: [], isPlacement: true, location: start,\n };\n}\n\nfunction parseDomain(context: ParserContext, line: SourceLine, existing: DomainSyntax | null, sawOtherConstruct: boolean): DomainSyntax | null {\n const match = domainPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidDomainDeclaration, `Invalid domain declaration '${line.content}' - expected 'domain <Qualified.Name>'`, locationOf(line));\n return existing;\n }\n if (existing !== null) {\n context.error(DiagnosticCodes.DuplicateDomain, 'The document already declares a domain - a document can have at most one', locationOf(line));\n return existing;\n }\n if (sawOtherConstruct) {\n context.error(DiagnosticCodes.DomainNotFirst, '\\'domain\\' must be declared before any other construct', locationOf(line));\n }\n return { kind: 'DomainSyntax', name: match[1], location: locationOf(line) };\n}\n\nfunction warnOnTabIndentation(context: ParserContext, lines: readonly SourceLine[]): void {\n let inFence = false;\n for (const line of lines) {\n if (line.raw.trimStart().startsWith('```')) {\n inFence = !inFence;\n continue;\n }\n if (!inFence && tabIndentPattern.test(line.raw)) {\n context.warning(DiagnosticCodes.TabIndentation, 'Screenplay is indentation based - use spaces, not tabs', startOf(line));\n }\n }\n}\n\nfunction parseConcept(context: ParserContext, line: SourceLine): ConceptSyntax {\n const match = conceptPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidConceptDeclaration, `Invalid concept declaration '${line.content}' - expected 'concept <Name> : <Type>'`, locationOf(line));\n context.skipBlock(line.indent);\n return { kind: 'ConceptSyntax', name: firstWord(line.content), type: '', attributes: [], values: [], location: locationOf(line) };\n }\n const [, name, type, attributeText] = match;\n const attributes = parseComplianceMarkers(context, line, name, attributeText);\n if (type !== 'Enum' && !primitiveTypes.includes(type)) {\n context.error(DiagnosticCodes.UnknownPrimitiveType, `Unknown primitive type '${type}' - expected ${primitiveTypes.join(', ')} or Enum`, locationOf(line));\n }\n const values: string[] = [];\n let description: string | null = null;\n const validations: ValidateSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n if (firstWord(child.content) === 'description' && (type !== 'Enum' || child.content !== 'description' || context.peekChild(child.indent)?.content.startsWith('```') === true)) {\n description = parseDescription(context, child, description, `Concept '${name}'`);\n } else if (isFileDirective(child)) {\n continue;\n } else if (firstWord(child.content) === 'validate') {\n if (type === 'Enum' && child.content === 'validate' && context.peekChild(child.indent) === undefined) {\n context.warning(DiagnosticCodes.ValidateReadAsEnumerationBlock,\n `'validate' in enumeration concept '${name}' declares an empty validate block, not a value named 'validate' - write '@validate' for the value`,\n locationOf(child));\n }\n const parsed = parseValidate(context, child, 'concept');\n if (parsed !== undefined) validations.push(parsed);\n } else if (parseComplianceDirective(context, child, name, attributes)) {\n // Compliance directives are modeled by their original concept marker.\n } else if (type === 'Enum' && enumValuePattern.test(child.content)) {\n values.push(unescapeIdentifier(child.content));\n } else if (type === 'Enum') {\n context.error(DiagnosticCodes.InvalidEnumerationValue, `Invalid enum value '${child.content}' - expected an identifier`, locationOf(child));\n } else {\n context.error(DiagnosticCodes.UnknownConceptDirective, `Unexpected '${child.content}' in concept body - expected validate, 'file <path>' or '<attribute> reason \"<text>\"'`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n return { kind: 'ConceptSyntax', name, type, attributes, values, validations, description, location: locationOf(line) };\n}\n\n// 'persona <Name>' with an optional description and the policies it holds - the port of the C# ParsePersona.\nfunction parsePersona(context: ParserContext, line: SourceLine): PersonaSyntax {\n const name = personaPattern.exec(line.content)?.[1] ?? '';\n if (name === '') {\n context.error(DiagnosticCodes.InvalidPersonaDeclaration, `Invalid persona declaration '${line.content}' - expected 'persona <Name>'`, locationOf(line));\n }\n let description: string | null = null;\n const policies: string[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const keyword = firstWord(child.content);\n if (keyword === 'description') {\n description = parseDescription(context, child, description, `Persona '${name}'`);\n } else if (keyword === 'policy') {\n const policy = personaPolicyPattern.exec(child.content);\n if (policy === null) {\n context.error(DiagnosticCodes.InvalidPersonaPolicyReference, `Invalid policy reference '${child.content}' - expected 'policy <Name>'`, locationOf(child));\n } else {\n policies.push(policy[1]);\n }\n } else {\n context.error(DiagnosticCodes.UnknownPersonaDirective, `Unexpected '${keyword}' in persona body - expected description or policy`, locationOf(child));\n context.skipBlock(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BodyPattern","conceptPattern","enumValuePattern","personaPattern","personaPolicyPattern","tabIndentPattern","primitiveTypes","opaqueTopLevel","bodyKeywords","documentPlacement","context","lines","moduleBody","placement","ModuleBody","featureBody","FeatureBody","placedBody","identity","domain","imports","fileImports","concepts","types","systems","eventSources","modules","personas","policies","purposes","seeds","examples","declaredTriggers","exposures","instanceContributions","sawOtherConstruct","line","keyword","firstWord","misplacedReactionIdentity","isFileImport","parseFileImport","match","DiagnosticCodes","locationOf","origin","unescapeString","isBlankPublicEventOrigin","parseExample","parseEventSource","parseSystem","parseType","isDocumentPlacement","parseModule","parseSeed","parsePurpose","parseIdentity","parsePolicy","parseExposure","parseInstance","data","parseTriggerDeclaration","name","collectInputUses","root","recordAuthoredDocument","modulePattern","describePlacement","word","hint","expected","moduleBodyExpected","featureBodyExpected","feature","innermost","index","start","existing","inFence","startOf","type","attributeText","attributes","parseComplianceMarkers","values","members","EnumerationMembers","description","validations","child","memberName","parseDescription","isFileDirective","parsed","parseValidate","parseComplianceDirective","unescapeIdentifier","valueNumbers","policy"],"sources":["../../../../../../Compiler/Parsing/ScreenplayParser.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { EnumerationMembers } from './EnumerationMembers';\nimport { IdentitySyntax } from '../Syntax/IdentitySyntax';\nimport { parseIdentity } from './IdentityParser';\nimport { misplacedReactionIdentity } from './ReactionIdentityParser';\nimport { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport { recordAuthoredDocument } from '../Syntax/SourceOptions';\nimport { SourceLocation } from '../Diagnostics/SourceLocation';\nimport { describePlacement, documentPlacement, isDocumentPlacement, PlayPlacement } from '../Files/PlayPlacement';\nimport { PersonaSyntax } from '../Syntax/Authorization';\nimport { ConceptSyntax, DomainSyntax, ImportSyntax, TypeSyntax } from '../Syntax/Declarations';\nimport { SpecificationExampleSyntax } from '../Syntax/Specifications';\nimport { ApplicationSyntax, FeatureSyntax, FileImportSyntax, ModuleSyntax } from '../Syntax/Structure';\nimport { parseTriggerDeclaration } from './TriggerDataParser';\nimport { pattern } from '../Text/patterns';\nimport { parseComplianceDirective, parseComplianceMarkers } from './ConceptComplianceParser';\nimport { parseType } from './DeclarationParsers';\nimport { ValidateSyntax } from '../Syntax/Commands';\nimport { parseValidate } from './CommandParser';\nimport { parseDescription } from './DescriptionParser';\nimport { FeatureBody, featureBodyExpected } from './FeatureBody';\nimport { isFileImport, parseFileImport } from './FileImportParser';\nimport { isFileDirective } from './FileReferences';\nimport { collectInputUses } from './InputUses';\nimport { firstWord, unescapeIdentifier } from './LineText';\nimport { ModuleBody, moduleBodyExpected, modulePattern, parseModule } from './ModuleBody';\nimport { ParserContext } from './ParserContext';\nimport { PolicySyntax } from '../Syntax/Policies';\nimport { parsePolicy } from './PolicyParser';\nimport { PurposeSyntax } from '../Syntax/Purposes';\nimport { parsePurpose } from './PurposeParser';\nimport { SeedSyntax } from '../Syntax/Seeds';\nimport { parseSeed } from './SeedParser';\nimport { parseSystem } from './OperationParser';\nimport { EventVisibility } from '../Syntax/EventVisibility';\nimport { isBlankPublicEventOrigin } from '../Syntax/PublicEventInvariants';\nimport { stringBodyPattern, unescapeString } from '../Text/StringLiteral';\nimport { SystemSyntax } from '../Syntax/Operations';\nimport { EventSourceSyntax } from '../Syntax/EventSources';\nimport { parseEventSource } from './EventSourceParser';\nimport { parseExposure, parseInstance } from './CompositionParser';\nimport { ExposureSyntax, InstanceContributionsSyntax } from '../Syntax/CompositionSyntax';\nimport { parseExample } from './SpecificationExampleParser';\nimport { locationOf, SourceLine, startOf } from './SourceLine';\n\nconst domainPattern = pattern('^domain\\\\s+([A-Za-z_]\\\\w*(?:\\\\.[A-Za-z_]\\\\w*)*)$');\nconst importPattern = pattern(`^import\\\\s+([\\\\w.]+)(?:\\\\s+from\\\\s+\"(?<origin>${stringBodyPattern})\")?$`);\nconst conceptPattern = pattern('^concept\\\\s+(\\\\w+)\\\\s*:\\\\s*(\\\\w+)((?:\\\\s+@?\\\\w+)*)$');\nconst enumValuePattern = pattern('^@?[a-z_]\\\\w*$');\nconst personaPattern = pattern('^persona\\\\s+([A-Za-z_]\\\\w*)$');\nconst personaPolicyPattern = pattern('^policy\\\\s+([A-Za-z_]\\\\w*)$');\nconst tabIndentPattern = /^[ ]*\\t/;\nconst primitiveTypes = ['Uuid', 'String', 'Int', 'Decimal', 'Bool', 'Date', 'DateTime'];\n\n// Top-level, module and feature constructs the C# compiler knows that this compiler does not model. They\n// are skipped whole, not reported.\nconst opaqueTopLevel = new Set(['policy', 'authentication', 'seed', 'ui', 'theme', 'trigger', 'layout', 'behavior']);\n\n// What belongs in a module or feature body; at the top level of a whole document it gets a hint saying so.\nconst bodyKeywords = new Set(['slice', 'feature', 'description', 'documentation', 'authorize', 'screen', 'dialog', 'form', 'contribute', 'on', 'uses']);\n\n// Parses one document into its application syntax - the port of the C# ScreenplayParser. The placement says\n// where the document's top level belongs: the application, unless an import placed it in a module or feature.\nexport function parseApplication(context: ParserContext, lines: readonly SourceLine[], placement: PlayPlacement = documentPlacement): ApplicationSyntax {\n context.deferIdentityValidation = true;\n warnOnTabIndentation(context, lines);\n const moduleBody = placement.length === 1 ? new ModuleBody(placement[0]) : undefined;\n const featureBody = placement.length > 1 ? new FeatureBody(placement[placement.length - 1]) : undefined;\n const placedBody = moduleBody ?? featureBody;\n let identity: IdentitySyntax | null = null;\n let domain: DomainSyntax | null = null;\n const imports: ImportSyntax[] = [];\n const fileImports: FileImportSyntax[] = [];\n const concepts: ConceptSyntax[] = [];\n const types: TypeSyntax[] = [];\n const systems: SystemSyntax[] = [];\n const eventSources: EventSourceSyntax[] = [];\n const modules: ModuleSyntax[] = [];\n const personas: PersonaSyntax[] = [];\n const policies: PolicySyntax[] = [];\n const purposes: PurposeSyntax[] = [];\n const seeds: SeedSyntax[] = [];\n const examples: SpecificationExampleSyntax[] = [];\n const declaredTriggers: NonNullable<ApplicationSyntax['declaredTriggers']>[number][] = [];\n const exposures: ExposureSyntax[] = [];\n const instanceContributions: InstanceContributionsSyntax[] = [];\n let sawOtherConstruct = false;\n for (let line = context.reader.peekSignificant(); line !== undefined; line = context.reader.peekSignificant()) {\n context.reader.takeSignificant();\n const keyword = firstWord(line.content);\n if (keyword === 'runs') {\n misplacedReactionIdentity(context, line);\n continue;\n }\n if (keyword === 'domain') {\n context.authoredDeclarations = true;\n domain = parseDomain(context, line, domain, sawOtherConstruct);\n continue;\n }\n // The C# parser asks whether anything was declared before the domain, so an import it rejected,\n // a file import and an unknown construct do not count.\n sawOtherConstruct ||= declaresConstruct(keyword, line, placement);\n context.authoredDeclarations ||= keyword !== 'import' && declaresConstruct(keyword, line, placement);\n if (keyword === 'import' && isFileImport(line.content)) {\n // A top level import belongs to whatever the document's top level is - the application, or the\n // module or feature the document was itself imported into.\n if (placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else {\n parseFileImport(context, line, fileImports);\n }\n } else if (keyword === 'import') {\n const match = importPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, `Invalid import '${line.content}' - expected 'import <Qualified.Name> [from \"<origin>\"]'`, locationOf(line));\n } else {\n const origin = match.groups?.origin === undefined ? null : unescapeString(match.groups.origin);\n if (origin !== null && isBlankPublicEventOrigin(origin)) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, 'An import origin must be a nonblank quoted string', locationOf(line));\n }\n imports.push({ kind: 'ImportSyntax', qualifiedName: match[1], origin, visibility: origin === null ? EventVisibility.Private : EventVisibility.Public, location: locationOf(line) });\n }\n } else if (keyword === 'example') {\n if (placedBody !== undefined) placedBody.tryParse(context, line);\n else examples.push(parseExample(context, line));\n } else if (keyword === 'eventsource') {\n eventSources.push(parseEventSource(context, line));\n } else if (keyword === 'system') {\n systems.push(parseSystem(context, line));\n } else if (keyword === 'concept') {\n concepts.push(parseConcept(context, line));\n } else if (keyword === 'type') {\n types.push(parseType(context, line));\n } else if (keyword === 'module' && !isDocumentPlacement(placement)) {\n parseModuleInPlacedFile(context, line, placement, moduleBody);\n } else if (keyword === 'module') {\n modules.push(parseModule(context, line));\n } else if (keyword === 'persona') {\n personas.push(parsePersona(context, line));\n } else if (keyword === 'seed') {\n seeds.push(parseSeed(context.valueContext, line));\n } else if (keyword === 'purpose' && placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else if (keyword === 'purpose') {\n purposes.push(parsePurpose(context, line));\n } else if (keyword === 'identity') {\n identity = parseIdentity(context, line, identity);\n } else if (keyword === 'policy') {\n // Legacy policies were opaque: enrich their structure without adding diagnostics.\n policies.push(parsePolicy(context, line));\n } else if (keyword === 'exposure') {\n exposures.push(parseExposure(context, line));\n } else if (keyword === 'instance') {\n instanceContributions.push(parseInstance(context, line));\n } else if (keyword === 'trigger') {\n const data = parseTriggerDeclaration(context, line);\n const name = /^trigger\\s+([A-Za-z_]\\w*)$/.exec(line.content)?.[1];\n if (name !== undefined) declaredTriggers.push({ name, data });\n } else if (opaqueTopLevel.has(keyword)) {\n if (keyword === 'behavior' || keyword === 'layout') collectInputUses(context, line);\n else context.skipOpaqueBlock(line.indent);\n } else if (placedBody?.tryParse(context, line) !== true) {\n reportUnexpectedTopLevel(context, line, placement);\n }\n }\n if (moduleBody !== undefined) {\n modules.unshift(moduleBody.build(context.start, true));\n } else if (featureBody !== undefined) {\n modules.unshift(place(placement, featureBody.build(context.start, true), context.start));\n }\n const root: ApplicationSyntax = { kind: 'ApplicationSyntax', ...(identity === null ? {} : { identity }), sourceOptions: context.sourceOptions, domain, imports, concepts, types, systems, eventSources, examples, modules, personas, policies, purposes, seeds, declaredTriggers, fileImports, ...(exposures.length > 0 ? { exposures } : {}), ...(instanceContributions.length > 0 ? { instanceContributions } : {}), location: context.start };\n if (context.authoredDeclarations) recordAuthoredDocument(root);\n return root;\n}\n\nfunction declaresConstruct(keyword: string, line: SourceLine, placement: PlayPlacement): boolean {\n if (keyword === 'import') {\n return importPattern.test(line.content);\n }\n if (keyword === 'module') {\n return isDocumentPlacement(placement);\n }\n if (keyword === 'identity') return line.content === 'identity';\n return keyword === 'purpose' || keyword === 'example' || keyword === 'exposure' || keyword === 'instance' || keyword === 'eventsource' || keyword === 'system' || keyword === 'concept' || keyword === 'type' || keyword === 'persona' || opaqueTopLevel.has(keyword);\n}\n\nfunction parseModuleInPlacedFile(context: ParserContext, line: SourceLine, placement: PlayPlacement, moduleBody: ModuleBody | undefined): void {\n const name = modulePattern.exec(line.content)?.[1] ?? '';\n\n // Restating the module a file is placed in says nothing new, so its body simply joins the placement.\n if (moduleBody !== undefined && name === placement[0]) {\n context.authoredDeclarations = true;\n moduleBody.parseChildren(context, line);\n return;\n }\n context.error(DiagnosticCodes.ModuleInPlacedFile,\n `This file is imported into ${describePlacement(placement)}, so it cannot declare module '${name}' - import it at the top level of a document instead`, locationOf(line));\n context.skipBlock(line.indent);\n}\n\nfunction reportUnexpectedTopLevel(context: ParserContext, line: SourceLine, placement: PlayPlacement): void {\n const word = firstWord(line.content);\n if (!isDocumentPlacement(placement)) {\n const expected = placement.length === 1 ? moduleBodyExpected : featureBodyExpected;\n context.error(DiagnosticCodes.UnexpectedInPlacedFile,\n `Unexpected '${word}' in a file imported into ${describePlacement(placement)} - expected an application declaration or ${expected}`, locationOf(line));\n } else {\n const hint = bodyKeywords.has(word)\n ? ` - '${word}' belongs in a module or feature; wrap it in one, or import this file from inside one`\n : ' - expected domain, import, concept, type, policy, persona, authentication, identity, module, seed, trigger, behavior, ui profile, theme or layout';\n context.error(DiagnosticCodes.UnknownTopLevelConstruct, `Unexpected '${word}' at the top level${hint}`, locationOf(line));\n }\n context.skipBlock(line.indent);\n}\n\n// Wraps the feature a file is placed in in the features and module around it, each marked as a placement.\nfunction place(placement: PlayPlacement, innermost: FeatureSyntax, start: SourceLocation): ModuleSyntax {\n let feature = innermost;\n for (let index = placement.length - 2; index >= 1; index--) {\n feature = {\n kind: 'FeatureSyntax', name: placement[index], description: null, authorize: null,\n features: [feature], slices: [], fileImports: [], isPlacement: true, location: start,\n };\n }\n return {\n kind: 'ModuleSyntax', name: placement[0], description: null, authorize: null,\n features: [feature], fileImports: [], isPlacement: true, location: start,\n };\n}\n\nfunction parseDomain(context: ParserContext, line: SourceLine, existing: DomainSyntax | null, sawOtherConstruct: boolean): DomainSyntax | null {\n const match = domainPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidDomainDeclaration, `Invalid domain declaration '${line.content}' - expected 'domain <Qualified.Name>'`, locationOf(line));\n return existing;\n }\n if (existing !== null) {\n context.error(DiagnosticCodes.DuplicateDomain, 'The document already declares a domain - a document can have at most one', locationOf(line));\n return existing;\n }\n if (sawOtherConstruct) {\n context.error(DiagnosticCodes.DomainNotFirst, '\\'domain\\' must be declared before any other construct', locationOf(line));\n }\n return { kind: 'DomainSyntax', name: match[1], location: locationOf(line) };\n}\n\nfunction warnOnTabIndentation(context: ParserContext, lines: readonly SourceLine[]): void {\n let inFence = false;\n for (const line of lines) {\n if (line.raw.trimStart().startsWith('```')) {\n inFence = !inFence;\n continue;\n }\n if (!inFence && tabIndentPattern.test(line.raw)) {\n context.warning(DiagnosticCodes.TabIndentation, 'Screenplay is indentation based - use spaces, not tabs', startOf(line));\n }\n }\n}\n\nfunction parseConcept(context: ParserContext, line: SourceLine): ConceptSyntax {\n const match = conceptPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidConceptDeclaration, `Invalid concept declaration '${line.content}' - expected 'concept <Name> : <Type>'`, locationOf(line));\n context.skipBlock(line.indent);\n return { kind: 'ConceptSyntax', name: firstWord(line.content), type: '', attributes: [], values: [], location: locationOf(line) };\n }\n const [, name, type, attributeText] = match;\n const attributes = parseComplianceMarkers(context, line, name, attributeText);\n if (type !== 'Enum' && !primitiveTypes.includes(type)) {\n context.error(DiagnosticCodes.UnknownPrimitiveType, `Unknown primitive type '${type}' - expected ${primitiveTypes.join(', ')} or Enum`, locationOf(line));\n }\n const values: string[] = [];\n const members = new EnumerationMembers();\n let description: string | null = null;\n const validations: ValidateSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const memberName = type === 'Enum' ? members.tryNumbered(context, child) : undefined;\n if (memberName !== undefined) {\n values.push(memberName);\n } else if (firstWord(child.content) === 'description' && (type !== 'Enum' || child.content !== 'description' || context.peekChild(child.indent)?.content.startsWith('```') === true)) {\n description = parseDescription(context, child, description, `Concept '${name}'`);\n } else if (isFileDirective(child)) {\n continue;\n } else if (firstWord(child.content) === 'validate') {\n if (type === 'Enum' && child.content === 'validate' && context.peekChild(child.indent) === undefined) {\n context.warning(DiagnosticCodes.ValidateReadAsEnumerationBlock,\n `'validate' in enumeration concept '${name}' declares an empty validate block, not a value named 'validate' - write '@validate' for the value`,\n locationOf(child));\n }\n const parsed = parseValidate(context, child, 'concept');\n if (parsed !== undefined) validations.push(parsed);\n } else if (parseComplianceDirective(context, child, name, attributes)) {\n // Compliance directives are modeled by their original concept marker.\n } else if (type === 'Enum' && enumValuePattern.test(child.content)) {\n values.push(unescapeIdentifier(child.content));\n } else if (type === 'Enum') {\n context.error(DiagnosticCodes.InvalidEnumerationValue, `Invalid enum value '${child.content}' - expected an identifier`, locationOf(child));\n } else {\n context.error(DiagnosticCodes.UnknownConceptDirective, `Unexpected '${child.content}' in concept body - expected validate, 'file <path>' or '<attribute> reason \"<text>\"'`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n const valueNumbers = members.finish(context, line, values.length);\n return { kind: 'ConceptSyntax', name, type, attributes, values, validations, description, ...(valueNumbers === undefined ? {} : { valueNumbers }), location: locationOf(line) };\n}\n\n// 'persona <Name>' with an optional description and the policies it holds - the port of the C# ParsePersona.\nfunction parsePersona(context: ParserContext, line: SourceLine): PersonaSyntax {\n const name = personaPattern.exec(line.content)?.[1] ?? '';\n if (name === '') {\n context.error(DiagnosticCodes.InvalidPersonaDeclaration, `Invalid persona declaration '${line.content}' - expected 'persona <Name>'`, locationOf(line));\n }\n let description: string | null = null;\n const policies: string[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const keyword = firstWord(child.content);\n if (keyword === 'description') {\n description = parseDescription(context, child, description, `Persona '${name}'`);\n } else if (keyword === 'policy') {\n const policy = personaPolicyPattern.exec(child.content);\n if (policy === null) {\n context.error(DiagnosticCodes.InvalidPersonaPolicyReference, `Invalid policy reference '${child.content}' - expected 'policy <Name>'`, locationOf(child));\n } else {\n policies.push(policy[1]);\n }\n } else {\n context.error(DiagnosticCodes.UnknownPersonaDirective, `Unexpected '${keyword}' in persona body - expected description or policy`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n return { kind: 'PersonaSyntax', name, description, policies, location: locationOf(line) };\n}\n"],"mappings":"01DA+CA,MAAMA,EAAgBC,EAAQ,kDAAkD,EAC1EC,EAAgBD,EAAQ,iDAAiDE,EAAkB,MAAM,EACjGC,EAAiBH,EAAQ,qDAAqD,EAC9EI,EAAmBJ,EAAQ,gBAAgB,EAC3CK,EAAiBL,EAAQ,8BAA8B,EACvDM,EAAuBN,EAAQ,6BAA6B,EAC5DO,EAAmB,UACnBC,EAAiB,CAAC,OAAQ,SAAU,MAAO,UAAW,OAAQ,OAAQ,UAAU,EAIhFC,kBAAiB,IAAI,IAAI,CAAC,SAAU,iBAAkB,OAAQ,KAAM,QAAS,UAAW,SAAU,UAAU,CAAC,EAG7GC,kBAAe,IAAI,IAAI,CAAC,QAAS,UAAW,cAAe,gBAAiB,YAAa,SAAU,SAAU,OAAQ,aAAc,KAAM,MAAM,CAAC,EAItJ,SAAgB,iBAAiB,EAAwB,EAA8B,EAA2BC,EAAsC,CACpJ,EAAQ,wBAA0B,GAClC,qBAAqBC,EAASC,CAAK,EACnC,IAAMC,EAAaC,EAAU,SAAW,EAAI,IAAIC,EAAWD,EAAU,EAAE,EAAI,IAAA,GACrEE,EAAcF,EAAU,OAAS,EAAI,IAAIG,EAAYH,EAAUA,EAAU,OAAS,EAAE,EAAI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AAU0B,EAAK,MAAM,EAAG,CAC1G1B,EAAQ,OAAO,gBAAgB,EAC/B,IAAM2B,EAAUC,EAAUmD,EAAM,OAAO,EACvC,GAAIpD,IAAY,cACZ,EAAcsD,EAAiBjF,EAAS+E,EAAOF,EAAa,YAAYzB,EAAK,EAAE,OAC5E,GAAIzB,IAAY,SAAU,CAC7B,IAAM6D,EAAS9F,EAAqB,KAAKqF,EAAM,OAAO,EAClDS,IAAW,KACXxF,EAAQ,MAAMiC,EAAgB,8BAA+B,6BAA6B8C,EAAM,QAAQ,8BAA+B7C,EAAW6C,CAAK,CAAC,EAExJ7D,EAAS,KAAKsE,EAAO,EAAE,CAE/B,MACIxF,EAAQ,MAAMiC,EAAgB,wBAAyB,eAAeN,EAAQ,oDAAqDO,EAAW6C,CAAK,CAAC,EACpJ/E,EAAQ,UAAU+E,EAAM,MAAM,CAEtC,CACA,MAAO,CAAE,KAAM,gBAAiB,OAAM,cAAa,WAAU,SAAU7C,EAAWR,CAAI,CAAE,CAC5F"}
@@ -1,2 +1,2 @@
1
- const e={kinds:/* @__PURE__ */ `AddMappingSyntax.AllSyntax.ApplicationSyntax.ApplicationTriggerInteractionTriggerSyntax.ArrangementContainerSyntax.ArrangementOverrideSyntax.ArrangementSlotSyntax.ArrangementSyntax.AuthenticatedConditionSyntax.AuthenticationProviderSyntax.AuthenticationSyntax.AuthorizeSyntax.BehaviorArgumentSyntax.BehaviorParameterSyntax.BehaviorSyntax.BuiltInInteractionTriggerSyntax.CaptureAppendSyntax.CaptureChildrenSyntax.CaptureMapEntrySyntax.CaptureNestedSyntax.CaptureSourceSettingSyntax.CaptureSourceSyntax.CaptureSplitSyntax.CaptureSyntax.CaptureTranslationSyntax.CaptureWhenSyntax.CausedByExpressionSyntax.CaseValueExpressionSyntax.ChildrenSyntax.ClaimConditionSyntax.ClaimIdentitySourceSyntax.CodeIdentitySourceSyntax.FileIdentitySourceSyntax.IdentitySyntax.IdentityDetailSyntax.QueryIdentitySourceSyntax.ClearMappingSyntax.ClearWithSyntax.CloseDialogActionSyntax.CodeBlockSyntax.ComponentExposedValueSyntax.ComponentOutletSyntax.ComponentPropertySyntax.CodeValidateSyntax.CommandSyntax.CommandStreamSyntax.ObserverFilterSyntax.ComparisonConditionSyntax.CompositeKeySyntax.ConceptAttributeSyntax.ConceptSyntax.ConcurrencySyntax.ConfirmActionSyntax.ContextExpressionSyntax.IdentityExpressionSyntax.ContributionSyntax.ContributionDestinationSyntax.CountMappingSyntax.DeclarativeValidateSyntax.DecrementMappingSyntax.DialogTemplateSyntax.DomainSyntax.EnvironmentExpressionSyntax.EventContextExpressionSyntax.EventInteractionTriggerSyntax.EventSourceIdExpressionSyntax.EventSourceSyntax.EventStreamIdPartSyntax.EventStreamSyntax.EventSpecSyntax.EventSyntax.EverySyntax.ExecuteCommandActionSyntax.ExpressionKeySyntax.FeatureSyntax.FileConstraintSyntax.FileImportSyntax.FileReferenceSyntax.FormColumnSyntax.ExposureSyntax.ExposedPropertySyntax.InstanceContributionsSyntax.InstanceContributionSyntax.ContributedItemSyntax.ContributedItemValueSyntax.ScreenContributionSyntax.TemplateSlotContentSyntax.CommandFormLayoutSyntax.FormLayoutColumnSyntax.FormFieldPlacementSyntax.FormWidthSyntax.FormFieldSyntax.FormPopulateFromItemSyntax.FormPopulateViaQuerySyntax.FormSyntax.FromSyntax.HandlerSyntax.ImplementationSyntax.ImplementationHintSyntax.SystemSyntax.OperationSyntax.OperationPhaseSyntax.SpecificationExampleSyntax.SpecificationParameterSyntax.SpecificationCaseSyntax.SpecificationOperationFailureSyntax.SpecificationOperationSyntax.SpecificationCompensatedSyntax.ImportSyntax.IncrementMappingSyntax.InteractionAlternativeSyntax.InteractionOtherwiseSyntax.InteractionArgumentSyntax.InteractionBindingSyntax.IntervalInteractionTriggerSyntax.IntervalTriggerSourceSyntax.InvokesSyntax.InvocationRefusalSyntax.JoinEventSyntax.JoinSyntax.KeyPartSyntax.LayoutSyntax.ListExpressionSyntax.LiteralExpressionSyntax.LogicalConditionSyntax.LogicalPolicyConditionSyntax.LogicalPolicyRequirementSyntax.ModuleSyntax.NamedTriggerSourceSyntax.NavigateActionSyntax.NavigateBackActionSyntax.NestedSyntax.NotPolicyConditionSyntax.NotifyActionSyntax.OpenDialogActionSyntax.ObjectExpressionSyntax.ObjectMemberSyntax.PathExpressionSyntax.PerformerSyntax.PersonaSyntax.PlaceSyntax.PolicyReferenceSyntax.PolicySyntax.PurposeSyntax.PurposeReferenceSyntax.PurposeTransferSyntax.ProducesSyntax.ProjectionEntersOnSyntax.ProjectionSyntax.ProjectionVariantSyntax.PresentationValueSyntax.PropertyMappingSyntax.PropertySyntax.PropertyResponseSourceSyntax.ResponseFieldSyntax.ScalarCommandResponseSyntax.RecordCommandResponseSyntax.ScalarSpecificationReturnSyntax.RecordSpecificationReturnSyntax.QueryParameterSyntax.QuerySyntax.RaiseTriggerActionSyntax.RawExpressionSyntax.ReactionIdentitySyntax.ReactionSyntax.ReactionTriggerSyntax.RefusalExpressionSyntax.ReadModelSyntax.ReadsSyntax.ReducerRuleSyntax.ReducerSyntax.RefreshQueryActionSyntax.RemoveViaJoinSyntax.RemoveWithSyntax.RequirementSyntax.RoleConditionSyntax.ScheduleTriggerSourceSyntax.ScreenActionSyntax.ScreenNavigationParameterSyntax.ScreenGuardedActionSyntax.ScreenActionAlternativeSyntax.ScreenActionOtherwiseSyntax.ScreenBehaviorSyntax.ScreenCodeSyntax.ScreenComponentSyntax.ScreenColumnSyntax.ScreenDataSyntax.ScreenFieldSyntax.ScreenNavigateSyntax.ScreenSectionSyntax.ScreenSlotSyntax.ScreenSummarySyntax.ScreenSyntax.ScreenTableSyntax.ScreenTemplateReferenceSyntax.ScreenTemplateSyntax.ScreenTitleSyntax.ScreenToolbarSyntax.ScreenUsesBehaviorSyntax.SeedEventSyntax.SeedGroupSyntax.SeedSyntax.SetMappingSyntax.TemplateAssignmentSyntax.TemplateExposedValueSyntax.TemplateOutletSyntax.SetStateActionSyntax.SliceSyntax.SlotSyntax.SourceItemExpressionSyntax.SpecificationAbsentReadModelSyntax.SpecificationCallerClaimSyntax.SpecificationCallerPersonaSyntax.SpecificationCallerSyntax.SpecificationCaptureSyntax.SpecificationClockSyntax.SpecificationCommandSyntax.SpecificationDeniedSyntax.SpecificationErrorSyntax.SpecificationEventSyntax.SpecificationNoResultSyntax.SpecificationStreamSyntax.SpecificationNoStreamSyntax.SpecificationQueryResultSyntax.SpecificationQuerySyntax.SpecificationReadModelSyntax.SpecificationRedeliverySyntax.SpecificationSyntax.SpecificationTriggerSyntax.SpecificationWhenQuerySyntax.StringsExpressionSyntax.SubtractMappingSyntax.TagSyntax.ToolbarItemSyntax.TemplateExpressionSyntax.TemplateInterpolationSyntax.TemplateTextSyntax.ThemeSyntax.TriggerDataSyntax.TriggerSyntax.TypeRefSyntax.TypeSyntax.UiBindingSyntax.UiProfileSyntax.UniqueEventConstraintSyntax.UniquePropertyConstraintSyntax.DependsOnSyntax.UsesBehaviorSyntax.ValidationRuleSyntax.VariantSyntax`.split(`.`),names:/* @__PURE__ */ `property.value.autoMap.mappings.authentication.behaviors.concepts.domain.eventSources.examples.exposures.fileImports.identity.imports.instanceContributions.layouts.modules.personas.policies.purposes.seeds.sourceOptions.numericMode.systems.templates.themes.triggers.types.uiProfiles.triggerName.children.columns.gap.grow.rows.span.syntaxKind.height.root.width.growFactor.name.mode.overrides.variants.alias.providers.requirement.type.bindings.description.file.order.parameters.event.tags.when.appends.identifiedBy.map.source.translations.settings.separator.targets.key.nested.from.to.expression.fromValue.properties.toValue.parameter.blocks.claim.matches.matchesSubject.code.details.by.query.arguments.onFailure.onResult.onSuccess.language.binding.directives.authorize.concurrency.documentation.handler.produces.reads.response.stream.streamCandidates.validations.eventSource.propertyCandidate.streamId.streamIdParts.left.operator.right.parts.criminal.reason.scope.specialCategory.attributes.values.eventSourceType.eventStreamId.eventStreamType.eventTypes.message.messageIsLiteral.path.contributionPoint.destination.group.icon.id.label.navigate.presentation.target.requirements.rules.arrangement.category.content.displayName.exposes.outlets.restrictsScopes.scopes.slots.templateType.usedBehaviors.eventName.identifier.streams.generation.hasGenerationMarker.origin.visibility.includeChildren.command.contributions.dependsOn.features.isPlacement.slices.additionalRules.ignoreCasing.releasedBy.pattern.owner.component.editableFields.isCollection.operations.reExposes.restrictsFields.instance.items.field.slot.columnGap.placements.rowGap.index.maxWidth.minWidth.column.columnSpan.row.rowSpan.unit.composeUsing.columnMode.fields.for.generationMode.layout.onSubmit.populate.events.parentKey.implementation.hints.text.compensate.execute.inputs.uses.generatedValues.noStream.operation.qualifiedName.actions.condition.alternatives.otherwise.trigger.amount.onRefused.acknowledge.constraint.selector.on.literalType.dialogTemplates.forms.screenTemplates.screen.operand.level.dialogTemplate.members.hidden.sizeHeight.sizeWidth.slotName.x.y.authorization.basis.basisReference.conditionReference.erasureException.interest.recipients.retention.subjects.transfers.safeguard.inlineEvent.inlineOperation.readModel.sequence.entersOn.isGenerated.isIdentifier.isKey.isSubject.byParts.filters.isObservable.performer.returnType.roles.runsAs.where.data.invokes.member.severity.role.dayOfMonth.dayOfWeek.time.outcome.behavior.context.stableId.outlet.route.rowClick.fitsSlot.eventSourceId.groups.captures.commands.constraints.direction.projections.queries.reactions.readModels.reducers.screens.specifications.contributes.authenticated.claims.capture.record.instant.commandType.inlineProperty.caseValue.eventType.exactly.results.reaction.cases.given.givenCaller.givenCallerPersona.givenCaptures.givenClock.givenOperationFailures.givenReadModels.thenAbsentReadModels.thenCompensated.thenDenied.thenErrors.thenEvents.thenEventsInAnyOrder.thenNoEvents.thenNoResult.thenOperations.thenQueries.thenReadModels.thenResults.thenReturns.whenAppended.whenCapture.whenClock.whenQuery.whenRedelivered.whenTrigger.compatibleWith.isOptional.bindingKind.componentId.componentPropertyPath.expectedValueType.literal.nullBehavior.rawText.defaultSizeClass.icons.packages.platforms.theme.additionalProperties.rule.places`.split(`.`),rules:[[`string`],[`ref`,26,27,53,54,62,63,65,122,123,135,137,162,166,209,230,234],[`object`,[[0,0,!0],[1,1,!0]]],[`enum`,`Inherit`,`Disabled`,`Enabled`],[`ref`,0,36,57,59,109,202,231],[`array`,4],[`object`,[[2,3,!0],[3,5,!1]]],[`ref`,10],[`null`],[`union`,7,8],[`ref`,14],[`array`,10],[`ref`,50],[`array`,12],[`ref`,61],[`union`,14,8],[`ref`,66],[`array`,16],[`ref`,102],[`array`,18],[`ref`,79],[`array`,20],[`ref`,76],[`array`,22],[`ref`,33],[`union`,24,8],[`ref`,108],[`array`,26],[`ref`,81],[`array`,28],[`ref`,121],[`array`,30],[`union`,31,8],[`ref`,127],[`array`,33],[`ref`,139],[`array`,35],[`union`,36,8],[`ref`,142],[`array`,38],[`ref`,143],[`array`,40],[`ref`,201],[`array`,42],[`union`,43,8],[`enum`,`legacy`,`exact`],[`object`,[[22,45,!0]]],[`ref`,99],[`array`,47],[`ref`,203],[`array`,49],[`ref`,237],[`array`,51],[`union`,52,8],[`ref`,239],[`array`,54],[`union`,55,8],[`ref`,241],[`array`,57],[`union`,58,8],[`ref`,243],[`array`,60],[`union`,61,8],[`object`,[[4,9,!1],[5,11,!1],[6,13,!1],[7,15,!1],[8,17,!1],[9,19,!1],[10,21,!1],[11,23,!1],[12,25,!1],[13,27,!1],[14,29,!1],[15,32,!1],[16,34,!1],[17,37,!1],[18,39,!1],[19,41,!1],[20,44,!1],[21,46,!1],[23,48,!1],[24,50,!1],[25,53,!1],[26,56,!1],[27,59,!1],[28,62,!1]]],[`object`,[[29,0,!0]]],[`ref`,4,6],[`array`,65],[`integer`,-2147483648,2147483647],[`union`,67,8],[`number`],[`union`,69,8],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[30,66,!1],[31,68,!1],[32,68,!1],[33,70,!1],[34,68,!1],[35,68,!1],[36,71,!0]]],[`union`,0,8],[`object`,[[37,73,!1],[38,65,!0],[39,73,!1]]],[`boolean`],[`object`,[[33,75,!1],[40,70,!1],[37,68,!1],[41,0,!0],[35,68,!1],[39,68,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,78],[`union`,79,8],[`union`,65,8],[`ref`,249],[`array`,82],[`union`,83,8],[`object`,[[42,77,!0],[43,80,!1],[38,81,!1],[44,84,!1]]],[`object`,[]],[`object`,[[45,73,!1],[41,0,!0]]],[`ref`,9],[`array`,88],[`object`,[[46,89,!1]]],[`ref`,126,141],[`object`,[[47,91,!0]]],[`object`,[[41,0,!0],[1,0,!0]]],[`ref`,240],[`union`,94,8],[`object`,[[41,0,!0],[48,95,!1]]],[`ref`,113],[`array`,97],[`ref`,77],[`union`,99,8],[`ref`,13],[`array`,101],[`object`,[[49,98,!1],[50,73,!1],[51,100,!1],[41,73,!1],[52,68,!1],[53,102,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[36,104,!0]]],[`ref`,151],[`array`,106],[`ref`,232],[`array`,108],[`union`,109,8],[`ref`,25],[`union`,111,8],[`object`,[[54,0,!0],[3,107,!1],[55,110,!1],[56,112,!1]]],[`ref`,16],[`array`,114],[`ref`,18,22],[`array`,116],[`object`,[[57,115,!1],[58,0,!0],[59,117,!1],[0,0,!0]]],[`ref`,24],[`array`,119],[`object`,[[0,0,!0],[60,1,!0],[61,120,!1]]],[`object`,[[57,115,!1],[59,117,!1],[0,0,!0]]],[`ref`,20],[`array`,123],[`object`,[[62,124,!1],[36,0,!0]]],[`array`,0],[`object`,[[63,0,!0],[60,1,!0],[64,126,!1]]],[`ref`,17],[`array`,128],[`ref`,19],[`array`,130],[`ref`,21],[`union`,132,8],[`object`,[[57,115,!1],[30,129,!1],[65,73,!1],[59,117,!1],[41,0,!0],[66,131,!1],[60,133,!1],[21,46,!1]]],[`object`,[[67,0,!0],[68,0,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[69,73,!1],[70,73,!1],[71,126,!1],[36,136,!0],[72,73,!1]]],[`object`,[[0,73,!1]]],[`object`,[[73,0,!0]]],[`ref`,1,28,37,71,95,119,131,149,172,173],[`array`,140],[`object`,[[2,3,!0],[74,141,!1],[58,1,!0],[0,0,!0]]],[`union`,1,8],[`object`,[[75,0,!0],[76,143,!1],[77,75,!0]]],[`object`,[[75,0,!0]]],[`ref`,39],[`object`,[[78,146,!0]]],[`object`,[[51,99,!0]]],[`ref`,34],[`array`,149],[`object`,[[50,73,!1],[79,150,!1]]],[`ref`,30,31,32,35],[`object`,[[41,0,!0],[60,152,!0],[48,94,!0]]],[`object`,[[80,1,!0],[81,0,!0]]],[`object`,[[0,0,!0]]],[`object`,[[54,0,!0]]],[`ref`,112],[`array`,157],[`ref`,38,52,72,129,130,133,134,161,171,206],[`array`,159],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[78,0,!0],[86,0,!0]]],[`ref`,242],[`object`,[[87,163,!0],[41,0,!0]]],[`ref`,177,179,182,183,184,186,188,189,190,191,193,194,196,197,198],[`array`,165],[`object`,[[88,166,!1],[41,0,!0]]],[`union`,163,8],[`object`,[[87,168,!1],[0,0,!0],[1,143,!1]]],[`ref`,11],[`union`,170,8],[`ref`,51],[`union`,172,8],[`ref`,96],[`union`,174,8],[`ref`,146],[`array`,176],[`ref`,152],[`array`,178],[`ref`,168],[`array`,180],[`union`,181,8],[`ref`,155,156],[`union`,183,8],[`ref`,45],[`union`,185,8],[`array`,185],[`ref`,43,58],[`array`,188],[`object`,[[89,171,!1],[90,173,!1],[50,73,!1],[91,73,!1],[92,175,!1],[41,0,!0],[93,177,!1],[71,179,!1],[94,182,!1],[95,184,!1],[96,186,!1],[97,187,!1],[98,189,!1]]],[`union`,178,8],[`union`,106,8],[`object`,[[99,0,!0],[100,191,!1],[96,0,!0],[101,192,!1],[102,107,!1]]],[`object`,[[99,0,!0],[96,73,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[103,0,!0],[104,195,!0],[105,1,!0]]],[`ref`,120],[`array`,197],[`object`,[[106,198,!1],[48,0,!0]]],[`object`,[[107,75,!1],[41,0,!0],[108,73,!1],[109,73,!1],[110,73,!1]]],[`ref`,49],[`array`,201],[`union`,189,8],[`object`,[[111,202,!1],[50,73,!1],[51,100,!1],[41,0,!0],[48,0,!0],[98,203,!1],[112,126,!1]]],[`object`,[[99,75,!0],[113,73,!1],[114,73,!1],[115,73,!1],[116,126,!1]]],[`object`,[[82,158,!1],[117,0,!0],[118,75,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[119,0,!0]]],[`ref`,56],[`union`,208,8],[`ref`,188],[`union`,210,8],[`object`,[[120,0,!0],[121,209,!1],[122,73,!1],[123,73,!1],[124,73,!1],[125,73,!1],[126,211,!1],[52,68,!1],[127,73,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[36,213,!0],[128,0,!0]]],[`ref`,174],[`array`,215],[`union`,216,8],[`ref`,248],[`array`,218],[`object`,[[129,217,!1],[130,219,!1]]],[`ref`,7],[`union`,221,8],[`ref`,86],[`array`,223],[`ref`,204],[`array`,225],[`ref`,205],[`array`,227],[`ref`,208],[`array`,229],[`ref`,247],[`array`,231],[`object`,[[131,222,!1],[5,11,!1],[132,73,!1],[133,224,!1],[50,73,!1],[134,73,!1],[135,226,!1],[41,0,!0],[136,228,!1],[137,75,!1],[138,126,!1],[139,230,!1],[140,73,!1],[141,232,!1]]],[`object`,[[41,0,!0]]],[`object`,[[142,0,!0]]],[`ref`,68],[`array`,236],[`object`,[[50,73,!1],[124,73,!1],[143,95,!1],[41,0,!0],[144,237,!1]]],[`object`,[[41,0,!0],[48,94,!0]]],[`ref`,67],[`array`,240],[`object`,[[50,73,!1],[124,73,!1],[41,0,!0],[101,95,!1],[102,241,!1]]],[`object`,[[54,0,!0],[65,143,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[50,73,!1],[91,73,!1],[51,100,!1],[145,244,!1],[146,75,!1],[124,73,!1],[41,0,!0],[147,73,!1],[71,179,!1],[55,110,!1],[148,245,!1]]],[`object`,[[2,3,!0],[149,75,!0],[3,5,!1]]],[`object`,[[82,158,!1],[150,0,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[69,1,!0]]],[`ref`,55],[`array`,250],[`union`,251,8],[`ref`,246],[`array`,253],[`ref`,74],[`array`,255],[`ref`,144],[`array`,257],[`ref`,207],[`array`,259],[`object`,[[89,171,!1],[5,11,!1],[151,252,!1],[152,254,!1],[50,73,!1],[91,73,!1],[9,19,!1],[153,256,!1],[11,23,!1],[154,75,!0],[41,0,!0],[19,258,!1],[155,260,!1],[24,50,!1],[141,232,!1]]],[`ref`,75,244,245],[`array`,262],[`object`,[[156,263,!1],[50,73,!1],[51,99,!0],[157,75,!0],[117,73,!1],[41,0,!0],[158,126,!1]]],[`object`,[[159,0,!0]]],[`object`,[[125,73,!1],[0,0,!0]]],[`ref`,80],[`array`,267],[`object`,[[160,0,!0],[71,268,!1]]],[`object`,[[161,0,!0],[162,126,!1],[163,75,!0],[125,73,!1],[164,126,!1],[119,0,!0],[165,73,!1],[166,75,!0]]],[`ref`,82],[`array`,271],[`object`,[[151,272,!1],[167,0,!0]]],[`ref`,83],[`array`,274],[`object`,[[161,0,!0],[168,275,!1],[119,0,!0],[1,143,!1]]],[`ref`,84],[`array`,277],[`object`,[[124,0,!0],[112,278,!1]]],[`object`,[[169,0,!0],[1,1,!0]]],[`object`,[[120,0,!0],[88,166,!1],[52,68,!1]]],[`object`,[[88,166,!1],[170,0,!0]]],[`ref`,90],[`union`,283,8],[`ref`,88],[`array`,285],[`ref`,89],[`array`,287],[`object`,[[171,284,!1],[31,286,!1],[172,288,!1],[173,284,!1]]],[`object`,[[174,67,!0],[175,284,!1],[176,284,!1],[39,284,!1]]],[`object`,[[177,67,!0],[178,68,!1],[169,0,!0],[179,67,!0],[180,68,!1],[39,284,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[181,292,!0],[1,70,!1]]],[`object`,[[182,73,!1],[67,73,!1],[125,73,!1],[0,0,!0]]],[`object`,[[80,73,!1],[81,0,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,78],[`array`,297],[`ref`,91],[`array`,299],[`ref`,87],[`union`,301,8],[`ref`,92,93],[`union`,303,8],[`object`,[[5,11,!1],[183,296,!0],[31,298,!1],[50,73,!1],[184,300,!1],[185,0,!0],[186,296,!0],[187,302,!1],[41,0,!0],[188,211,!1],[189,304,!1],[141,232,!1]]],[`ref`,69],[`array`,306],[`ref`,48,73],[`union`,308,8],[`object`,[[190,307,!1],[65,309,!1],[3,5,!1],[191,143,!1]]],[`union`,146,8],[`ref`,97],[`union`,312,8],[`object`,[[78,311,!1],[51,100,!1],[192,313,!1]]],[`ref`,98],[`array`,315],[`object`,[[193,316,!1]]],[`object`,[[194,0,!0]]],[`object`,[[50,73,!1],[41,0,!0]]],[`ref`,101],[`union`,320,8],[`object`,[[195,321,!1],[50,73,!1],[196,321,!1],[197,179,!1],[41,0,!0],[198,0,!0]]],[`object`,[[78,311,!1],[50,73,!1],[51,100,!1],[192,313,!1]]],[`ref`,222],[`union`,324,8],[`ref`,221],[`union`,326,8],[`object`,[[50,73,!1],[185,143,!1],[199,107,!1],[41,0,!0],[200,325,!1],[96,327,!1],[48,0,!0],[112,107,!1]]],[`object`,[[41,0,!0],[112,107,!1]]],[`object`,[[201,0,!0]]],[`object`,[[201,0,!0],[112,107,!1]]],[`object`,[[147,73,!1],[202,0,!0],[148,245,!1]]],[`ref`,47,124],[`object`,[[203,160,!1],[204,333,!0]]],[`object`,[[203,160,!1]]],[`object`,[[87,0,!0],[41,0,!0]]],[`ref`,110],[`array`,337],[`ref`,111],[`union`,339,8],[`ref`,3,15,64,114],[`object`,[[203,160,!1],[205,338,!1],[204,73,!1],[206,340,!1],[207,341,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[208,67,!0],[181,343,!0]]],[`ref`,117],[`array`,345],[`object`,[[150,0,!0],[3,107,!1],[209,346,!1]]],[`object`,[[210,75,!0],[211,73,!1],[93,177,!1],[212,0,!0]]],[`object`,[[2,3,!0],[54,0,!0],[3,5,!1]]],[`ref`,118],[`array`,350],[`object`,[[190,351,!1],[213,0,!0],[0,0,!0]]],[`object`,[[69,1,!0],[0,0,!0]]],[`object`,[[131,222,!1],[5,11,!1],[132,73,!1],[135,226,!1],[41,0,!0],[136,228,!1],[137,75,!1],[138,126,!1],[139,230,!1],[140,73,!1],[141,232,!1]]],[`array`,1],[`object`,[[168,355,!1]]],[`union`,0,75,8],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[214,359,!0],[1,360,!0]]],[`const`,`ExactNumber`],[`string`,`^(?:0|-?(?:[1-9][0-9]{0,28}|(?:0|[1-9][0-9]{0,28})\\.[0-9]{0,27}[1-9]))$`],[`object`,[[214,362,!0],[1,363,!0]]],[`union`,357,358,361,364],[`object`,[[1,365,!1]]],[`enum`,`And`,`Or`],[`object`,[[103,333,!0],[104,367,!0],[105,333,!0]]],[`ref`,8,29,125,132,175],[`object`,[[103,369,!0],[104,367,!0],[105,369,!0]]],[`object`,[[103,91,!0],[104,367,!0],[105,91,!0]]],[`ref`,60],[`array`,372],[`union`,373,8],[`ref`,94],[`array`,375],[`union`,376,8],[`ref`,195],[`array`,378],[`object`,[[89,171,!1],[5,11,!1],[151,252,!1],[152,254,!1],[50,73,!1],[215,374,!1],[91,73,!1],[9,19,!1],[153,256,!1],[11,23,!1],[216,377,!1],[154,75,!0],[41,0,!0],[19,258,!1],[217,379,!1],[24,50,!1],[141,232,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[218,0,!0]]],[`object`,[[2,3,!0],[74,141,!1],[0,0,!0]]],[`object`,[[219,369,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[82,158,!1],[220,384,!0],[117,0,!0],[118,75,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[82,158,!1],[221,0,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`ref`,136],[`array`,387],[`object`,[[222,388,!1]]],[`object`,[[41,0,!0],[1,1,!0]]],[`object`,[[78,311,!1],[51,100,!1]]],[`object`,[[50,73,!1],[41,0,!0],[18,126,!1]]],[`object`,[[223,75,!1],[224,73,!1],[225,73,!1],[226,0,!0],[227,68,!1],[228,68,!1]]],[`union`,369,8],[`object`,[[78,311,!1],[204,394,!1],[50,73,!1],[51,100,!1],[41,0,!0]]],[`ref`,145],[`array`,396],[`object`,[[229,73,!1],[230,73,!1],[231,73,!1],[204,73,!1],[232,73,!1],[50,73,!1],[233,73,!1],[234,73,!1],[41,0,!0],[235,126,!1],[236,73,!1],[237,126,!1],[238,397,!1]]],[`object`,[[121,0,!0],[239,0,!0]]],[`ref`,70],[`union`,400,8],[`ref`,100],[`union`,402,8],[`union`,333,8],[`object`,[[54,0,!0],[185,143,!1],[240,401,!1],[241,403,!1],[3,107,!1],[96,186,!1],[55,110,!1],[56,404,!1]]],[`object`,[[2,3,!0],[74,141,!1],[50,73,!1],[51,100,!1],[65,309,!1],[41,0,!0],[242,73,!1],[243,73,!1],[21,46,!1]]],[`ref`,147],[`array`,407],[`object`,[[74,141,!1],[244,408,!1],[41,0,!0]]],[`object`,[[0,0,!0],[60,1,!0]]],[`object`,[[245,75,!1],[246,75,!1],[247,75,!1],[248,75,!1],[41,0,!0],[48,94,!0]]],[`ref`,153],[`object`,[[41,0,!0],[60,412,!0],[48,95,!1]]],[`object`,[[60,412,!0]]],[`ref`,154],[`array`,415],[`object`,[[184,416,!1]]],[`object`,[[1,1,!0]]],[`object`,[[184,107,!1]]],[`object`,[[41,0,!0],[60,143,!1],[48,94,!0]]],[`ref`,159],[`union`,421,8],[`array`,421],[`ref`,138],[`union`,424,8],[`object`,[[89,171,!1],[80,422,!1],[249,423,!1],[50,73,!1],[250,423,!1],[251,75,!1],[41,0,!0],[252,425,!1],[253,94,!0],[109,73,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[207,0,!0]]],[`object`,[[254,126,!1],[36,0,!0]]],[`ref`,46],[`union`,429,8],[`ref`,163],[`union`,431,8],[`ref`,165],[`array`,433],[`object`,[[50,73,!1],[91,73,!1],[67,430,!1],[41,0,!0],[255,432,!1],[26,434,!1],[256,404,!1]]],[`ref`,238],[`array`,436],[`ref`,116],[`array`,438],[`union`,439,8],[`union`,177,8],[`ref`,115,128,176],[`object`,[[78,311,!1],[257,437,!1],[50,73,!1],[51,100,!1],[258,440,!1],[93,441,!1],[94,182,!1],[60,442,!0]]],[`object`,[[259,0,!0]]],[`object`,[[50,73,!1],[91,73,!1],[51,100,!1],[41,0,!0],[71,179,!1]]],[`object`,[[45,73,!1],[80,73,!1],[249,107,!1],[242,0,!0]]],[`object`,[[78,311,!1],[50,73,!1],[54,0,!0],[51,100,!1]]],[`ref`,169],[`array`,448],[`object`,[[50,73,!1],[67,430,!1],[41,0,!0],[242,0,!0],[130,449,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[81,0,!0]]],[`object`,[[54,0,!0],[65,143,!1],[191,143,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[204,333,!0],[117,73,!1],[260,453,!0]]],[`object`,[[261,0,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,456,8],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[262,68,!1],[263,457,!1],[264,458,!0]]],[`object`,[[150,0,!0],[125,73,!1],[126,211,!1]]],[`ref`,180],[`array`,461],[`ref`,181],[`union`,463,8],[`object`,[[205,462,!1],[125,0,!0],[126,211,!1],[206,464,!1]]],[`object`,[[82,158,!1],[150,0,!0],[204,333,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[82,158,!1],[150,73,!1],[265,467,!0]]],[`object`,[[266,10,!0]]],[`ref`,40],[`array`,470],[`ref`,41],[`array`,472],[`ref`,150],[`array`,474],[`ref`,42],[`array`,476],[`object`,[[5,11,!1],[161,0,!0],[267,168,!1],[135,471,!1],[123,73,!1],[41,0,!0],[136,473,!1],[127,475,!1],[71,477,!1],[268,73,!1],[141,232,!1]]],[`object`,[[80,73,!1],[81,0,!0],[48,94,!0]]],[`object`,[[125,0,!0],[0,0,!0]]],[`ref`,178],[`array`,481],[`object`,[[80,73,!1],[269,73,!1],[53,482,!1],[270,73,!1],[218,0,!0]]],[`ref`,187],[`array`,484],[`object`,[[184,485,!1],[128,0,!0]]],[`ref`,85],[`array`,487],[`object`,[[151,488,!1],[50,73,!1],[88,166,!1],[51,100,!1],[41,0,!0]]],[`ref`,185],[`array`,490],[`object`,[[5,11,!1],[31,491,!1],[271,211,!1],[128,0,!0],[141,232,!1]]],[`ref`,190],[`array`,493],[`object`,[[41,0,!0],[139,494,!1]]],[`object`,[[131,222,!1],[5,11,!1],[132,73,!1],[133,224,!1],[50,73,!1],[134,73,!1],[135,226,!1],[272,73,!1],[41,0,!0],[136,228,!1],[137,75,!1],[138,126,!1],[139,230,!1],[140,73,!1],[141,232,!1]]],[`ref`,233],[`array`,497],[`object`,[[168,498,!1],[41,0,!0]]],[`object`,[[198,231,!0]]],[`object`,[[54,0,!0],[71,107,!1]]],[`ref`,199],[`array`,502],[`object`,[[273,0,!0],[190,503,!1]]],[`ref`,200],[`array`,505],[`object`,[[274,506,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[128,0,!0],[1,0,!0]]],[`ref`,23],[`array`,509],[`ref`,44],[`array`,511],[`enum`,`Inbound`,`Outbound`],[`union`,513,8],[`array`,400],[`array`,402],[`ref`,148],[`array`,517],[`ref`,160],[`array`,519],[`ref`,164],[`array`,521],[`ref`,167],[`array`,523],[`union`,524,8],[`ref`,170],[`array`,526],[`union`,527,8],[`ref`,192],[`array`,529],[`ref`,227],[`array`,531],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[275,510,!1],[276,512,!1],[277,263,!1],[50,73,!1],[278,514,!1],[91,73,!1],[190,515,!1],[9,19,!1],[51,100,!1],[41,0,!0],[164,516,!1],[279,518,!1],[19,258,!1],[280,520,!1],[281,522,!1],[282,525,!1],[283,528,!1],[284,530,!1],[285,532,!1],[24,50,!1],[48,533,!0]]],[`object`,[[286,73,!1],[41,0,!0]]],[`object`,[[65,1,!0],[41,0,!0]]],[`object`,[[48,0,!0],[1,0,!0]]],[`ref`,211],[`array`,538],[`object`,[[287,75,!0],[288,539,!1],[254,126,!1]]],[`object`,[[289,0,!0],[290,107,!1]]],[`object`,[[291,0,!0]]],[`object`,[[292,0,!0],[185,143,!1],[199,107,!1],[293,73,!1],[112,107,!1]]],[`ref`,27],[`union`,544,8],[`object`,[[294,545,!1],[41,73,!1]]],[`object`,[[295,0,!0],[185,143,!1],[293,73,!1],[200,325,!1],[96,327,!1],[112,107,!1]]],[`object`,[[99,0,!0],[96,0,!0],[101,192,!1],[102,107,!1]]],[`object`,[[296,75,!0],[71,107,!1]]],[`ref`,223],[`array`,550],[`object`,[[82,107,!1],[296,75,!0],[81,0,!0],[297,551,!1]]],[`object`,[[296,75,!0],[293,73,!1],[41,0,!0],[71,107,!1]]],[`object`,[[295,0,!0],[185,143,!1],[200,325,!1],[298,0,!0],[96,327,!1],[112,107,!1]]],[`ref`,104],[`array`,555],[`ref`,219],[`array`,557],[`ref`,213],[`union`,559,8],[`ref`,212],[`union`,561,8],[`ref`,214],[`array`,563],[`ref`,215],[`union`,565,8],[`ref`,105],[`array`,567],[`ref`,225],[`array`,569],[`union`,570,8],[`ref`,103],[`array`,572],[`ref`,210],[`array`,574],[`ref`,107],[`array`,576],[`ref`,217],[`union`,578,8],[`ref`,218],[`array`,580],[`ref`,220],[`union`,582,8],[`ref`,106],[`array`,584],[`ref`,224],[`array`,586],[`ref`,157,158],[`union`,588,8],[`ref`,216],[`union`,590,8],[`union`,557,8],[`union`,563,8],[`ref`,229],[`union`,594,8],[`ref`,226],[`union`,596,8],[`ref`,228],[`union`,598,8],[`object`,[[299,556,!1],[50,73,!1],[9,19,!1],[51,100,!1],[300,558,!1],[301,560,!1],[302,562,!1],[303,564,!1],[304,566,!1],[305,568,!1],[306,571,!1],[41,0,!0],[53,573,!1],[21,46,!1],[307,575,!1],[308,577,!1],[309,579,!1],[310,581,!1],[311,558,!1],[312,75,!0],[313,75,!1],[314,583,!1],[315,585,!1],[316,587,!1],[317,571,!1],[318,551,!1],[319,589,!1],[56,591,!1],[320,592,!1],[321,593,!1],[322,566,!1],[323,595,!1],[324,597,!1],[325,599,!1]]],[`object`,[[207,0,!0],[112,107,!1]]],[`object`,[[82,107,!1],[81,0,!0]]],[`object`,[[65,0,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[123,73,!1],[125,73,!1],[41,0,!0],[53,482,!1],[127,475,!1],[36,604,!0],[128,0,!0]]],[`ref`,235,236],[`array`,606],[`object`,[[106,607,!1]]],[`object`,[[326,126,!1],[41,0,!0]]],[`object`,[[257,437,!1],[50,73,!1],[51,100,!1],[41,0,!0]]],[`object`,[[163,75,!0],[327,75,!0],[41,0,!0]]],[`object`,[[50,73,!1],[51,100,!1],[41,0,!0],[71,179,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,614,8],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,616,8],[`object`,[[328,613,!0],[329,73,!1],[330,73,!1],[331,73,!1],[332,143,!1],[42,615,!1],[333,617,!1],[119,0,!0],[81,73,!1],[334,73,!1]]],[`object`,[[335,73,!1],[336,126,!1],[187,73,!1],[41,0,!0],[337,126,!1],[338,126,!1],[339,73,!1]]],[`object`,[[156,263,!1],[50,73,!1],[54,0,!0],[157,75,!0],[117,73,!1],[41,0,!0],[158,126,!1]]],[`object`,[[340,126,!1],[156,263,!1],[50,73,!1],[54,0,!0],[157,75,!0],[117,73,!1],[41,0,!0],[0,0,!0],[158,126,!1]]],[`object`,[[128,0,!0]]],[`ref`,12],[`array`,623],[`object`,[[82,624,!1],[266,0,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`],[`object`,[[78,311,!1],[51,100,!1],[192,313,!1],[117,73,!1],[0,0,!0],[341,626,!0],[260,453,!0],[1,143,!1]]],[`ref`,140],[`array`,628],[`object`,[[37,0,!0],[342,629,!1],[39,0,!0]]]],contracts:[2,6,63,64,72,74,76,85,86,87,90,92,93,96,103,105,113,118,121,122,93,125,127,134,135,137,138,139,142,144,145,147,148,151,153,154,155,156,161,162,164,167,169,147,190,193,194,196,199,200,204,205,206,207,207,212,214,155,220,155,233,234,234,207,235,86,238,239,242,243,246,247,248,249,261,264,265,207,266,269,270,273,276,279,280,281,282,289,290,291,293,294,86,295,305,310,314,317,318,319,322,323,328,239,329,330,331,330,332,155,334,335,336,342,344,344,347,348,349,352,353,354,356,366,368,370,371,380,234,381,161,382,383,385,386,389,390,207,391,392,393,234,395,398,234,399,405,243,406,409,93,410,411,155,413,414,417,418,419,420,426,427,318,428,435,443,444,445,446,447,450,451,243,452,454,455,459,460,164,465,466,468,469,147,478,266,479,480,483,167,167,486,489,492,495,496,318,499,500,501,504,507,410,234,96,234,508,534,535,207,536,537,234,540,541,542,543,86,546,547,86,548,86,549,552,553,554,600,601,602,603,2,418,605,608,249,318,609,96,610,611,612,618,619,620,621,622,625,627,630]};export{e as syntaxCollections};
1
+ const e={kinds:/* @__PURE__ */ `AddMappingSyntax.AllSyntax.ApplicationSyntax.ApplicationTriggerInteractionTriggerSyntax.ArrangementContainerSyntax.ArrangementOverrideSyntax.ArrangementSlotSyntax.ArrangementSyntax.AuthenticatedConditionSyntax.AuthenticationProviderSyntax.AuthenticationSyntax.AuthorizeSyntax.BehaviorArgumentSyntax.BehaviorParameterSyntax.BehaviorSyntax.BuiltInInteractionTriggerSyntax.CaptureAppendSyntax.CaptureChildrenSyntax.CaptureMapEntrySyntax.CaptureNestedSyntax.CaptureSourceSettingSyntax.CaptureSourceSyntax.CaptureSplitSyntax.CaptureSyntax.CaptureTranslationSyntax.CaptureWhenSyntax.CausedByExpressionSyntax.CaseValueExpressionSyntax.ChildrenSyntax.ClaimConditionSyntax.ClaimIdentitySourceSyntax.CodeIdentitySourceSyntax.FileIdentitySourceSyntax.IdentitySyntax.IdentityDetailSyntax.QueryIdentitySourceSyntax.ClearMappingSyntax.ClearWithSyntax.CloseDialogActionSyntax.CodeBlockSyntax.ComponentExposedValueSyntax.ComponentOutletSyntax.ComponentPropertySyntax.CodeValidateSyntax.CommandSyntax.CommandStreamSyntax.ObserverFilterSyntax.ComparisonConditionSyntax.CompositeKeySyntax.ConceptAttributeSyntax.ConceptSyntax.ConcurrencySyntax.ConfirmActionSyntax.ContextExpressionSyntax.IdentityExpressionSyntax.ContributionSyntax.ContributionDestinationSyntax.CountMappingSyntax.DeclarativeValidateSyntax.DecrementMappingSyntax.DialogTemplateSyntax.DomainSyntax.EnvironmentExpressionSyntax.EventContextExpressionSyntax.EventInteractionTriggerSyntax.EventSourceIdExpressionSyntax.EventSourceSyntax.EventStreamIdPartSyntax.EventStreamSyntax.EventSpecSyntax.EventSyntax.EverySyntax.ExecuteCommandActionSyntax.ExpressionKeySyntax.FeatureSyntax.FileConstraintSyntax.FileImportSyntax.FileReferenceSyntax.FormColumnSyntax.ExposureSyntax.ExposedPropertySyntax.InstanceContributionsSyntax.InstanceContributionSyntax.ContributedItemSyntax.ContributedItemValueSyntax.ScreenContributionSyntax.TemplateSlotContentSyntax.CommandFormLayoutSyntax.FormLayoutColumnSyntax.FormFieldPlacementSyntax.FormWidthSyntax.FormFieldSyntax.FormPopulateFromItemSyntax.FormPopulateViaQuerySyntax.FormSyntax.FromSyntax.HandlerSyntax.ImplementationSyntax.ImplementationHintSyntax.SystemSyntax.OperationSyntax.OperationPhaseSyntax.SpecificationExampleSyntax.SpecificationParameterSyntax.SpecificationCaseSyntax.SpecificationOperationFailureSyntax.SpecificationOperationSyntax.SpecificationCompensatedSyntax.ImportSyntax.IncrementMappingSyntax.InteractionAlternativeSyntax.InteractionOtherwiseSyntax.InteractionArgumentSyntax.InteractionBindingSyntax.IntervalInteractionTriggerSyntax.IntervalTriggerSourceSyntax.InvokesSyntax.InvocationRefusalSyntax.JoinEventSyntax.JoinSyntax.KeyPartSyntax.LayoutSyntax.ListExpressionSyntax.LiteralExpressionSyntax.LogicalConditionSyntax.LogicalPolicyConditionSyntax.LogicalPolicyRequirementSyntax.ModuleSyntax.NamedTriggerSourceSyntax.NavigateActionSyntax.NavigateBackActionSyntax.NestedSyntax.NotPolicyConditionSyntax.NotifyActionSyntax.OpenDialogActionSyntax.ObjectExpressionSyntax.ObjectMemberSyntax.PathExpressionSyntax.PerformerSyntax.PersonaSyntax.PlaceSyntax.PolicyReferenceSyntax.PolicySyntax.PurposeSyntax.PurposeReferenceSyntax.PurposeTransferSyntax.ProducesSyntax.ProjectionEntersOnSyntax.ProjectionSyntax.ProjectionVariantSyntax.PresentationValueSyntax.PropertyMappingSyntax.PropertySyntax.PropertyResponseSourceSyntax.ResponseFieldSyntax.ScalarCommandResponseSyntax.RecordCommandResponseSyntax.ScalarSpecificationReturnSyntax.RecordSpecificationReturnSyntax.QueryParameterSyntax.QuerySyntax.RaiseTriggerActionSyntax.RawExpressionSyntax.ReactionIdentitySyntax.ReactionSyntax.ReactionTriggerSyntax.RefusalExpressionSyntax.ReadModelSyntax.ReadsSyntax.ReducerRuleSyntax.ReducerSyntax.RefreshQueryActionSyntax.RemoveViaJoinSyntax.RemoveWithSyntax.RequirementSyntax.RoleConditionSyntax.ScheduleTriggerSourceSyntax.ScreenActionSyntax.ScreenNavigationParameterSyntax.ScreenGuardedActionSyntax.ScreenActionAlternativeSyntax.ScreenActionOtherwiseSyntax.ScreenBehaviorSyntax.ScreenCodeSyntax.ScreenComponentSyntax.ScreenColumnSyntax.ScreenDataSyntax.ScreenFieldSyntax.ScreenNavigateSyntax.ScreenSectionSyntax.ScreenSlotSyntax.ScreenSummarySyntax.ScreenSyntax.ScreenTableSyntax.ScreenTemplateReferenceSyntax.ScreenTemplateSyntax.ScreenTitleSyntax.ScreenToolbarSyntax.ScreenUsesBehaviorSyntax.SeedEventSyntax.SeedGroupSyntax.SeedSyntax.SetMappingSyntax.TemplateAssignmentSyntax.TemplateExposedValueSyntax.TemplateOutletSyntax.SetStateActionSyntax.SliceSyntax.SlotSyntax.SourceItemExpressionSyntax.SpecificationAbsentReadModelSyntax.SpecificationCallerClaimSyntax.SpecificationCallerPersonaSyntax.SpecificationCallerSyntax.SpecificationCaptureSyntax.SpecificationClockSyntax.SpecificationCommandSyntax.SpecificationDeniedSyntax.SpecificationErrorSyntax.SpecificationEventSyntax.SpecificationNoResultSyntax.SpecificationStreamSyntax.SpecificationNoStreamSyntax.SpecificationQueryResultSyntax.SpecificationQuerySyntax.SpecificationReadModelSyntax.SpecificationRedeliverySyntax.SpecificationSyntax.SpecificationTriggerSyntax.SpecificationWhenQuerySyntax.StringsExpressionSyntax.SubtractMappingSyntax.TagSyntax.ToolbarItemSyntax.TemplateExpressionSyntax.TemplateInterpolationSyntax.TemplateTextSyntax.ThemeSyntax.TriggerDataSyntax.TriggerSyntax.TypeRefSyntax.TypeSyntax.UiBindingSyntax.UiProfileSyntax.UniqueEventConstraintSyntax.UniquePropertyConstraintSyntax.DependsOnSyntax.UsesBehaviorSyntax.ValidationRuleSyntax.VariantSyntax`.split(`.`),names:/* @__PURE__ */ `property.value.autoMap.mappings.authentication.behaviors.concepts.domain.eventSources.examples.exposures.fileImports.identity.imports.instanceContributions.layouts.modules.personas.policies.purposes.seeds.sourceOptions.numericMode.systems.templates.themes.triggers.types.uiProfiles.triggerName.children.columns.gap.grow.rows.span.syntaxKind.height.root.width.growFactor.name.mode.overrides.variants.alias.providers.requirement.type.bindings.description.file.order.parameters.event.tags.when.appends.identifiedBy.map.source.translations.settings.separator.targets.key.nested.from.to.expression.fromValue.properties.toValue.parameter.blocks.claim.matches.matchesSubject.code.details.by.query.arguments.onFailure.onResult.onSuccess.language.binding.directives.authorize.concurrency.documentation.handler.produces.reads.response.stream.streamCandidates.validations.eventSource.propertyCandidate.streamId.streamIdParts.left.operator.right.parts.criminal.reason.scope.specialCategory.attributes.valueNumbers.values.eventSourceType.eventStreamId.eventStreamType.eventTypes.message.messageIsLiteral.path.contributionPoint.destination.group.icon.id.label.navigate.presentation.target.requirements.rules.arrangement.category.content.displayName.exposes.outlets.restrictsScopes.scopes.slots.templateType.usedBehaviors.eventName.identifier.streams.generation.hasGenerationMarker.origin.visibility.includeChildren.command.contributions.dependsOn.features.isPlacement.slices.additionalRules.ignoreCasing.releasedBy.pattern.owner.component.editableFields.isCollection.operations.reExposes.restrictsFields.instance.items.field.slot.columnGap.placements.rowGap.index.maxWidth.minWidth.column.columnSpan.row.rowSpan.unit.composeUsing.columnMode.fields.for.generationMode.layout.onSubmit.populate.events.parentKey.implementation.hints.text.compensate.execute.inputs.uses.generatedValues.noStream.operation.qualifiedName.actions.condition.alternatives.otherwise.trigger.amount.onRefused.acknowledge.constraint.selector.on.literalType.dialogTemplates.forms.screenTemplates.screen.operand.level.dialogTemplate.members.hidden.sizeHeight.sizeWidth.slotName.x.y.authorization.basis.basisReference.conditionReference.erasureException.interest.recipients.retention.subjects.transfers.safeguard.inlineEvent.inlineOperation.readModel.sequence.entersOn.isGenerated.isIdentifier.isKey.isSubject.byParts.filters.isObservable.performer.returnType.roles.runsAs.where.data.invokes.member.severity.role.dayOfMonth.dayOfWeek.time.outcome.behavior.context.stableId.outlet.route.rowClick.fitsSlot.eventSourceId.groups.captures.commands.constraints.direction.projections.queries.reactions.readModels.reducers.screens.specifications.contributes.authenticated.claims.capture.record.instant.commandType.inlineProperty.caseValue.eventType.exactly.results.reaction.cases.given.givenCaller.givenCallerPersona.givenCaptures.givenClock.givenOperationFailures.givenReadModels.thenAbsentReadModels.thenCompensated.thenDenied.thenErrors.thenEvents.thenEventsInAnyOrder.thenNoEvents.thenNoResult.thenOperations.thenQueries.thenReadModels.thenResults.thenReturns.whenAppended.whenCapture.whenClock.whenQuery.whenRedelivered.whenTrigger.compatibleWith.isOptional.bindingKind.componentId.componentPropertyPath.expectedValueType.literal.nullBehavior.rawText.defaultSizeClass.icons.packages.platforms.theme.additionalProperties.rule.places`.split(`.`),rules:[[`string`],[`ref`,26,27,53,54,62,63,65,122,123,135,137,162,166,209,230,234],[`object`,[[0,0,!0],[1,1,!0]]],[`enum`,`Inherit`,`Disabled`,`Enabled`],[`ref`,0,36,57,59,109,202,231],[`array`,4],[`object`,[[2,3,!0],[3,5,!1]]],[`ref`,10],[`null`],[`union`,7,8],[`ref`,14],[`array`,10],[`ref`,50],[`array`,12],[`ref`,61],[`union`,14,8],[`ref`,66],[`array`,16],[`ref`,102],[`array`,18],[`ref`,79],[`array`,20],[`ref`,76],[`array`,22],[`ref`,33],[`union`,24,8],[`ref`,108],[`array`,26],[`ref`,81],[`array`,28],[`ref`,121],[`array`,30],[`union`,31,8],[`ref`,127],[`array`,33],[`ref`,139],[`array`,35],[`union`,36,8],[`ref`,142],[`array`,38],[`ref`,143],[`array`,40],[`ref`,201],[`array`,42],[`union`,43,8],[`enum`,`legacy`,`exact`],[`object`,[[22,45,!0]]],[`ref`,99],[`array`,47],[`ref`,203],[`array`,49],[`ref`,237],[`array`,51],[`union`,52,8],[`ref`,239],[`array`,54],[`union`,55,8],[`ref`,241],[`array`,57],[`union`,58,8],[`ref`,243],[`array`,60],[`union`,61,8],[`object`,[[4,9,!1],[5,11,!1],[6,13,!1],[7,15,!1],[8,17,!1],[9,19,!1],[10,21,!1],[11,23,!1],[12,25,!1],[13,27,!1],[14,29,!1],[15,32,!1],[16,34,!1],[17,37,!1],[18,39,!1],[19,41,!1],[20,44,!1],[21,46,!1],[23,48,!1],[24,50,!1],[25,53,!1],[26,56,!1],[27,59,!1],[28,62,!1]]],[`object`,[[29,0,!0]]],[`ref`,4,6],[`array`,65],[`integer`,-2147483648,2147483647],[`union`,67,8],[`number`],[`union`,69,8],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[30,66,!1],[31,68,!1],[32,68,!1],[33,70,!1],[34,68,!1],[35,68,!1],[36,71,!0]]],[`union`,0,8],[`object`,[[37,73,!1],[38,65,!0],[39,73,!1]]],[`boolean`],[`object`,[[33,75,!1],[40,70,!1],[37,68,!1],[41,0,!0],[35,68,!1],[39,68,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,78],[`union`,79,8],[`union`,65,8],[`ref`,249],[`array`,82],[`union`,83,8],[`object`,[[42,77,!0],[43,80,!1],[38,81,!1],[44,84,!1]]],[`object`,[]],[`object`,[[45,73,!1],[41,0,!0]]],[`ref`,9],[`array`,88],[`object`,[[46,89,!1]]],[`ref`,126,141],[`object`,[[47,91,!0]]],[`object`,[[41,0,!0],[1,0,!0]]],[`ref`,240],[`union`,94,8],[`object`,[[41,0,!0],[48,95,!1]]],[`ref`,113],[`array`,97],[`ref`,77],[`union`,99,8],[`ref`,13],[`array`,101],[`object`,[[49,98,!1],[50,73,!1],[51,100,!1],[41,73,!1],[52,68,!1],[53,102,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[36,104,!0]]],[`ref`,151],[`array`,106],[`ref`,232],[`array`,108],[`union`,109,8],[`ref`,25],[`union`,111,8],[`object`,[[54,0,!0],[3,107,!1],[55,110,!1],[56,112,!1]]],[`ref`,16],[`array`,114],[`ref`,18,22],[`array`,116],[`object`,[[57,115,!1],[58,0,!0],[59,117,!1],[0,0,!0]]],[`ref`,24],[`array`,119],[`object`,[[0,0,!0],[60,1,!0],[61,120,!1]]],[`object`,[[57,115,!1],[59,117,!1],[0,0,!0]]],[`ref`,20],[`array`,123],[`object`,[[62,124,!1],[36,0,!0]]],[`array`,0],[`object`,[[63,0,!0],[60,1,!0],[64,126,!1]]],[`ref`,17],[`array`,128],[`ref`,19],[`array`,130],[`ref`,21],[`union`,132,8],[`object`,[[57,115,!1],[30,129,!1],[65,73,!1],[59,117,!1],[41,0,!0],[66,131,!1],[60,133,!1],[21,46,!1]]],[`object`,[[67,0,!0],[68,0,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[69,73,!1],[70,73,!1],[71,126,!1],[36,136,!0],[72,73,!1]]],[`object`,[[0,73,!1]]],[`object`,[[73,0,!0]]],[`ref`,1,28,37,71,95,119,131,149,172,173],[`array`,140],[`object`,[[2,3,!0],[74,141,!1],[58,1,!0],[0,0,!0]]],[`union`,1,8],[`object`,[[75,0,!0],[76,143,!1],[77,75,!0]]],[`object`,[[75,0,!0]]],[`ref`,39],[`object`,[[78,146,!0]]],[`object`,[[51,99,!0]]],[`ref`,34],[`array`,149],[`object`,[[50,73,!1],[79,150,!1]]],[`ref`,30,31,32,35],[`object`,[[41,0,!0],[60,152,!0],[48,94,!0]]],[`object`,[[80,1,!0],[81,0,!0]]],[`object`,[[0,0,!0]]],[`object`,[[54,0,!0]]],[`ref`,112],[`array`,157],[`ref`,38,52,72,129,130,133,134,161,171,206],[`array`,159],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[78,0,!0],[86,0,!0]]],[`ref`,242],[`object`,[[87,163,!0],[41,0,!0]]],[`ref`,177,179,182,183,184,186,188,189,190,191,193,194,196,197,198],[`array`,165],[`object`,[[88,166,!1],[41,0,!0]]],[`union`,163,8],[`object`,[[87,168,!1],[0,0,!0],[1,143,!1]]],[`ref`,11],[`union`,170,8],[`ref`,51],[`union`,172,8],[`ref`,96],[`union`,174,8],[`ref`,146],[`array`,176],[`ref`,152],[`array`,178],[`ref`,168],[`array`,180],[`union`,181,8],[`ref`,155,156],[`union`,183,8],[`ref`,45],[`union`,185,8],[`array`,185],[`ref`,43,58],[`array`,188],[`object`,[[89,171,!1],[90,173,!1],[50,73,!1],[91,73,!1],[92,175,!1],[41,0,!0],[93,177,!1],[71,179,!1],[94,182,!1],[95,184,!1],[96,186,!1],[97,187,!1],[98,189,!1]]],[`union`,178,8],[`union`,106,8],[`object`,[[99,0,!0],[100,191,!1],[96,0,!0],[101,192,!1],[102,107,!1]]],[`object`,[[99,0,!0],[96,73,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[103,0,!0],[104,195,!0],[105,1,!0]]],[`ref`,120],[`array`,197],[`object`,[[106,198,!1],[48,0,!0]]],[`object`,[[107,75,!1],[41,0,!0],[108,73,!1],[109,73,!1],[110,73,!1]]],[`ref`,49],[`array`,201],[`union`,189,8],[`array`,67],[`union`,204,8],[`object`,[[111,202,!1],[50,73,!1],[51,100,!1],[41,0,!0],[48,0,!0],[98,203,!1],[112,205,!1],[113,126,!1]]],[`object`,[[99,75,!0],[114,73,!1],[115,73,!1],[116,73,!1],[117,126,!1]]],[`object`,[[82,158,!1],[118,0,!0],[119,75,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[120,0,!0]]],[`ref`,56],[`union`,210,8],[`ref`,188],[`union`,212,8],[`object`,[[121,0,!0],[122,211,!1],[123,73,!1],[124,73,!1],[125,73,!1],[126,73,!1],[127,213,!1],[52,68,!1],[128,73,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[36,215,!0],[129,0,!0]]],[`ref`,174],[`array`,217],[`union`,218,8],[`ref`,248],[`array`,220],[`object`,[[130,219,!1],[131,221,!1]]],[`ref`,7],[`union`,223,8],[`ref`,86],[`array`,225],[`ref`,204],[`array`,227],[`ref`,205],[`array`,229],[`ref`,208],[`array`,231],[`ref`,247],[`array`,233],[`object`,[[132,224,!1],[5,11,!1],[133,73,!1],[134,226,!1],[50,73,!1],[135,73,!1],[136,228,!1],[41,0,!0],[137,230,!1],[138,75,!1],[139,126,!1],[140,232,!1],[141,73,!1],[142,234,!1]]],[`object`,[[41,0,!0]]],[`object`,[[143,0,!0]]],[`ref`,68],[`array`,238],[`object`,[[50,73,!1],[125,73,!1],[144,95,!1],[41,0,!0],[145,239,!1]]],[`object`,[[41,0,!0],[48,94,!0]]],[`ref`,67],[`array`,242],[`object`,[[50,73,!1],[125,73,!1],[41,0,!0],[101,95,!1],[102,243,!1]]],[`object`,[[54,0,!0],[65,143,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[50,73,!1],[91,73,!1],[51,100,!1],[146,246,!1],[147,75,!1],[125,73,!1],[41,0,!0],[148,73,!1],[71,179,!1],[55,110,!1],[149,247,!1]]],[`object`,[[2,3,!0],[150,75,!0],[3,5,!1]]],[`object`,[[82,158,!1],[151,0,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[69,1,!0]]],[`ref`,55],[`array`,252],[`union`,253,8],[`ref`,246],[`array`,255],[`ref`,74],[`array`,257],[`ref`,144],[`array`,259],[`ref`,207],[`array`,261],[`object`,[[89,171,!1],[5,11,!1],[152,254,!1],[153,256,!1],[50,73,!1],[91,73,!1],[9,19,!1],[154,258,!1],[11,23,!1],[155,75,!0],[41,0,!0],[19,260,!1],[156,262,!1],[24,50,!1],[142,234,!1]]],[`ref`,75,244,245],[`array`,264],[`object`,[[157,265,!1],[50,73,!1],[51,99,!0],[158,75,!0],[118,73,!1],[41,0,!0],[159,126,!1]]],[`object`,[[160,0,!0]]],[`object`,[[126,73,!1],[0,0,!0]]],[`ref`,80],[`array`,269],[`object`,[[161,0,!0],[71,270,!1]]],[`object`,[[162,0,!0],[163,126,!1],[164,75,!0],[126,73,!1],[165,126,!1],[120,0,!0],[166,73,!1],[167,75,!0]]],[`ref`,82],[`array`,273],[`object`,[[152,274,!1],[168,0,!0]]],[`ref`,83],[`array`,276],[`object`,[[162,0,!0],[169,277,!1],[120,0,!0],[1,143,!1]]],[`ref`,84],[`array`,279],[`object`,[[125,0,!0],[113,280,!1]]],[`object`,[[170,0,!0],[1,1,!0]]],[`object`,[[121,0,!0],[88,166,!1],[52,68,!1]]],[`object`,[[88,166,!1],[171,0,!0]]],[`ref`,90],[`union`,285,8],[`ref`,88],[`array`,287],[`ref`,89],[`array`,289],[`object`,[[172,286,!1],[31,288,!1],[173,290,!1],[174,286,!1]]],[`object`,[[175,67,!0],[176,286,!1],[177,286,!1],[39,286,!1]]],[`object`,[[178,67,!0],[179,68,!1],[170,0,!0],[180,67,!0],[181,68,!1],[39,286,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[182,294,!0],[1,70,!1]]],[`object`,[[183,73,!1],[67,73,!1],[126,73,!1],[0,0,!0]]],[`object`,[[80,73,!1],[81,0,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,78],[`array`,299],[`ref`,91],[`array`,301],[`ref`,87],[`union`,303,8],[`ref`,92,93],[`union`,305,8],[`object`,[[5,11,!1],[184,298,!0],[31,300,!1],[50,73,!1],[185,302,!1],[186,0,!0],[187,298,!0],[188,304,!1],[41,0,!0],[189,213,!1],[190,306,!1],[142,234,!1]]],[`ref`,69],[`array`,308],[`ref`,48,73],[`union`,310,8],[`object`,[[191,309,!1],[65,311,!1],[3,5,!1],[192,143,!1]]],[`union`,146,8],[`ref`,97],[`union`,314,8],[`object`,[[78,313,!1],[51,100,!1],[193,315,!1]]],[`ref`,98],[`array`,317],[`object`,[[194,318,!1]]],[`object`,[[195,0,!0]]],[`object`,[[50,73,!1],[41,0,!0]]],[`ref`,101],[`union`,322,8],[`object`,[[196,323,!1],[50,73,!1],[197,323,!1],[198,179,!1],[41,0,!0],[199,0,!0]]],[`object`,[[78,313,!1],[50,73,!1],[51,100,!1],[193,315,!1]]],[`ref`,222],[`union`,326,8],[`ref`,221],[`union`,328,8],[`object`,[[50,73,!1],[186,143,!1],[200,107,!1],[41,0,!0],[201,327,!1],[96,329,!1],[48,0,!0],[113,107,!1]]],[`object`,[[41,0,!0],[113,107,!1]]],[`object`,[[202,0,!0]]],[`object`,[[202,0,!0],[113,107,!1]]],[`object`,[[148,73,!1],[203,0,!0],[149,247,!1]]],[`ref`,47,124],[`object`,[[204,160,!1],[205,335,!0]]],[`object`,[[204,160,!1]]],[`object`,[[87,0,!0],[41,0,!0]]],[`ref`,110],[`array`,339],[`ref`,111],[`union`,341,8],[`ref`,3,15,64,114],[`object`,[[204,160,!1],[206,340,!1],[205,73,!1],[207,342,!1],[208,343,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[209,67,!0],[182,345,!0]]],[`ref`,117],[`array`,347],[`object`,[[151,0,!0],[3,107,!1],[210,348,!1]]],[`object`,[[211,75,!0],[212,73,!1],[93,177,!1],[213,0,!0]]],[`object`,[[2,3,!0],[54,0,!0],[3,5,!1]]],[`ref`,118],[`array`,352],[`object`,[[191,353,!1],[214,0,!0],[0,0,!0]]],[`object`,[[69,1,!0],[0,0,!0]]],[`object`,[[132,224,!1],[5,11,!1],[133,73,!1],[136,228,!1],[41,0,!0],[137,230,!1],[138,75,!1],[139,126,!1],[140,232,!1],[141,73,!1],[142,234,!1]]],[`array`,1],[`object`,[[169,357,!1]]],[`union`,0,75,8],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[215,361,!0],[1,362,!0]]],[`const`,`ExactNumber`],[`string`,`^(?:0|-?(?:[1-9][0-9]{0,28}|(?:0|[1-9][0-9]{0,28})\\.[0-9]{0,27}[1-9]))$`],[`object`,[[215,364,!0],[1,365,!0]]],[`union`,359,360,363,366],[`object`,[[1,367,!1]]],[`enum`,`And`,`Or`],[`object`,[[103,335,!0],[104,369,!0],[105,335,!0]]],[`ref`,8,29,125,132,175],[`object`,[[103,371,!0],[104,369,!0],[105,371,!0]]],[`object`,[[103,91,!0],[104,369,!0],[105,91,!0]]],[`ref`,60],[`array`,374],[`union`,375,8],[`ref`,94],[`array`,377],[`union`,378,8],[`ref`,195],[`array`,380],[`object`,[[89,171,!1],[5,11,!1],[152,254,!1],[153,256,!1],[50,73,!1],[216,376,!1],[91,73,!1],[9,19,!1],[154,258,!1],[11,23,!1],[217,379,!1],[155,75,!0],[41,0,!0],[19,260,!1],[218,381,!1],[24,50,!1],[142,234,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[219,0,!0]]],[`object`,[[2,3,!0],[74,141,!1],[0,0,!0]]],[`object`,[[220,371,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[82,158,!1],[221,386,!0],[118,0,!0],[119,75,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[82,158,!1],[222,0,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`ref`,136],[`array`,389],[`object`,[[223,390,!1]]],[`object`,[[41,0,!0],[1,1,!0]]],[`object`,[[78,313,!1],[51,100,!1]]],[`object`,[[50,73,!1],[41,0,!0],[18,126,!1]]],[`object`,[[224,75,!1],[225,73,!1],[226,73,!1],[227,0,!0],[228,68,!1],[229,68,!1]]],[`union`,371,8],[`object`,[[78,313,!1],[205,396,!1],[50,73,!1],[51,100,!1],[41,0,!0]]],[`ref`,145],[`array`,398],[`object`,[[230,73,!1],[231,73,!1],[232,73,!1],[205,73,!1],[233,73,!1],[50,73,!1],[234,73,!1],[235,73,!1],[41,0,!0],[236,126,!1],[237,73,!1],[238,126,!1],[239,399,!1]]],[`object`,[[122,0,!0],[240,0,!0]]],[`ref`,70],[`union`,402,8],[`ref`,100],[`union`,404,8],[`union`,335,8],[`object`,[[54,0,!0],[186,143,!1],[241,403,!1],[242,405,!1],[3,107,!1],[96,186,!1],[55,110,!1],[56,406,!1]]],[`object`,[[2,3,!0],[74,141,!1],[50,73,!1],[51,100,!1],[65,311,!1],[41,0,!0],[243,73,!1],[244,73,!1],[21,46,!1]]],[`ref`,147],[`array`,409],[`object`,[[74,141,!1],[245,410,!1],[41,0,!0]]],[`object`,[[0,0,!0],[60,1,!0]]],[`object`,[[246,75,!1],[247,75,!1],[248,75,!1],[249,75,!1],[41,0,!0],[48,94,!0]]],[`ref`,153],[`object`,[[41,0,!0],[60,414,!0],[48,95,!1]]],[`object`,[[60,414,!0]]],[`ref`,154],[`array`,417],[`object`,[[185,418,!1]]],[`object`,[[1,1,!0]]],[`object`,[[185,107,!1]]],[`object`,[[41,0,!0],[60,143,!1],[48,94,!0]]],[`ref`,159],[`union`,423,8],[`array`,423],[`ref`,138],[`union`,426,8],[`object`,[[89,171,!1],[80,424,!1],[250,425,!1],[50,73,!1],[251,425,!1],[252,75,!1],[41,0,!0],[253,427,!1],[254,94,!0],[109,73,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[208,0,!0]]],[`object`,[[255,126,!1],[36,0,!0]]],[`ref`,46],[`union`,431,8],[`ref`,163],[`union`,433,8],[`ref`,165],[`array`,435],[`object`,[[50,73,!1],[91,73,!1],[67,432,!1],[41,0,!0],[256,434,!1],[26,436,!1],[257,406,!1]]],[`ref`,238],[`array`,438],[`ref`,116],[`array`,440],[`union`,441,8],[`union`,177,8],[`ref`,115,128,176],[`object`,[[78,313,!1],[258,439,!1],[50,73,!1],[51,100,!1],[259,442,!1],[93,443,!1],[94,182,!1],[60,444,!0]]],[`object`,[[260,0,!0]]],[`object`,[[50,73,!1],[91,73,!1],[51,100,!1],[41,0,!0],[71,179,!1]]],[`object`,[[45,73,!1],[80,73,!1],[250,107,!1],[243,0,!0]]],[`object`,[[78,313,!1],[50,73,!1],[54,0,!0],[51,100,!1]]],[`ref`,169],[`array`,450],[`object`,[[50,73,!1],[67,432,!1],[41,0,!0],[243,0,!0],[131,451,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[81,0,!0]]],[`object`,[[54,0,!0],[65,143,!1],[192,143,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[205,335,!0],[118,73,!1],[261,455,!0]]],[`object`,[[262,0,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,458,8],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[263,68,!1],[264,459,!1],[265,460,!0]]],[`object`,[[151,0,!0],[126,73,!1],[127,213,!1]]],[`ref`,180],[`array`,463],[`ref`,181],[`union`,465,8],[`object`,[[206,464,!1],[126,0,!0],[127,213,!1],[207,466,!1]]],[`object`,[[82,158,!1],[151,0,!0],[205,335,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[82,158,!1],[151,73,!1],[266,469,!0]]],[`object`,[[267,10,!0]]],[`ref`,40],[`array`,472],[`ref`,41],[`array`,474],[`ref`,150],[`array`,476],[`ref`,42],[`array`,478],[`object`,[[5,11,!1],[162,0,!0],[268,168,!1],[136,473,!1],[124,73,!1],[41,0,!0],[137,475,!1],[128,477,!1],[71,479,!1],[269,73,!1],[142,234,!1]]],[`object`,[[80,73,!1],[81,0,!0],[48,94,!0]]],[`object`,[[126,0,!0],[0,0,!0]]],[`ref`,178],[`array`,483],[`object`,[[80,73,!1],[270,73,!1],[53,484,!1],[271,73,!1],[219,0,!0]]],[`ref`,187],[`array`,486],[`object`,[[185,487,!1],[129,0,!0]]],[`ref`,85],[`array`,489],[`object`,[[152,490,!1],[50,73,!1],[88,166,!1],[51,100,!1],[41,0,!0]]],[`ref`,185],[`array`,492],[`object`,[[5,11,!1],[31,493,!1],[272,213,!1],[129,0,!0],[142,234,!1]]],[`ref`,190],[`array`,495],[`object`,[[41,0,!0],[140,496,!1]]],[`object`,[[132,224,!1],[5,11,!1],[133,73,!1],[134,226,!1],[50,73,!1],[135,73,!1],[136,228,!1],[273,73,!1],[41,0,!0],[137,230,!1],[138,75,!1],[139,126,!1],[140,232,!1],[141,73,!1],[142,234,!1]]],[`ref`,233],[`array`,499],[`object`,[[169,500,!1],[41,0,!0]]],[`object`,[[199,233,!0]]],[`object`,[[54,0,!0],[71,107,!1]]],[`ref`,199],[`array`,504],[`object`,[[274,0,!0],[191,505,!1]]],[`ref`,200],[`array`,507],[`object`,[[275,508,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[129,0,!0],[1,0,!0]]],[`ref`,23],[`array`,511],[`ref`,44],[`array`,513],[`enum`,`Inbound`,`Outbound`],[`union`,515,8],[`array`,402],[`array`,404],[`ref`,148],[`array`,519],[`ref`,160],[`array`,521],[`ref`,164],[`array`,523],[`ref`,167],[`array`,525],[`union`,526,8],[`ref`,170],[`array`,528],[`union`,529,8],[`ref`,192],[`array`,531],[`ref`,227],[`array`,533],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[276,512,!1],[277,514,!1],[278,265,!1],[50,73,!1],[279,516,!1],[91,73,!1],[191,517,!1],[9,19,!1],[51,100,!1],[41,0,!0],[165,518,!1],[280,520,!1],[19,260,!1],[281,522,!1],[282,524,!1],[283,527,!1],[284,530,!1],[285,532,!1],[286,534,!1],[24,50,!1],[48,535,!0]]],[`object`,[[287,73,!1],[41,0,!0]]],[`object`,[[65,1,!0],[41,0,!0]]],[`object`,[[48,0,!0],[1,0,!0]]],[`ref`,211],[`array`,540],[`object`,[[288,75,!0],[289,541,!1],[255,126,!1]]],[`object`,[[290,0,!0],[291,107,!1]]],[`object`,[[292,0,!0]]],[`object`,[[293,0,!0],[186,143,!1],[200,107,!1],[294,73,!1],[113,107,!1]]],[`ref`,27],[`union`,546,8],[`object`,[[295,547,!1],[41,73,!1]]],[`object`,[[296,0,!0],[186,143,!1],[294,73,!1],[201,327,!1],[96,329,!1],[113,107,!1]]],[`object`,[[99,0,!0],[96,0,!0],[101,192,!1],[102,107,!1]]],[`object`,[[297,75,!0],[71,107,!1]]],[`ref`,223],[`array`,552],[`object`,[[82,107,!1],[297,75,!0],[81,0,!0],[298,553,!1]]],[`object`,[[297,75,!0],[294,73,!1],[41,0,!0],[71,107,!1]]],[`object`,[[296,0,!0],[186,143,!1],[201,327,!1],[299,0,!0],[96,329,!1],[113,107,!1]]],[`ref`,104],[`array`,557],[`ref`,219],[`array`,559],[`ref`,213],[`union`,561,8],[`ref`,212],[`union`,563,8],[`ref`,214],[`array`,565],[`ref`,215],[`union`,567,8],[`ref`,105],[`array`,569],[`ref`,225],[`array`,571],[`union`,572,8],[`ref`,103],[`array`,574],[`ref`,210],[`array`,576],[`ref`,107],[`array`,578],[`ref`,217],[`union`,580,8],[`ref`,218],[`array`,582],[`ref`,220],[`union`,584,8],[`ref`,106],[`array`,586],[`ref`,224],[`array`,588],[`ref`,157,158],[`union`,590,8],[`ref`,216],[`union`,592,8],[`union`,559,8],[`union`,565,8],[`ref`,229],[`union`,596,8],[`ref`,226],[`union`,598,8],[`ref`,228],[`union`,600,8],[`object`,[[300,558,!1],[50,73,!1],[9,19,!1],[51,100,!1],[301,560,!1],[302,562,!1],[303,564,!1],[304,566,!1],[305,568,!1],[306,570,!1],[307,573,!1],[41,0,!0],[53,575,!1],[21,46,!1],[308,577,!1],[309,579,!1],[310,581,!1],[311,583,!1],[312,560,!1],[313,75,!0],[314,75,!1],[315,585,!1],[316,587,!1],[317,589,!1],[318,573,!1],[319,553,!1],[320,591,!1],[56,593,!1],[321,594,!1],[322,595,!1],[323,568,!1],[324,597,!1],[325,599,!1],[326,601,!1]]],[`object`,[[208,0,!0],[113,107,!1]]],[`object`,[[82,107,!1],[81,0,!0]]],[`object`,[[65,0,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[124,73,!1],[126,73,!1],[41,0,!0],[53,484,!1],[128,477,!1],[36,606,!0],[129,0,!0]]],[`ref`,235,236],[`array`,608],[`object`,[[106,609,!1]]],[`object`,[[327,126,!1],[41,0,!0]]],[`object`,[[258,439,!1],[50,73,!1],[51,100,!1],[41,0,!0]]],[`object`,[[164,75,!0],[328,75,!0],[41,0,!0]]],[`object`,[[50,73,!1],[51,100,!1],[41,0,!0],[71,179,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,616,8],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,618,8],[`object`,[[329,615,!0],[330,73,!1],[331,73,!1],[332,73,!1],[333,143,!1],[42,617,!1],[334,619,!1],[120,0,!0],[81,73,!1],[335,73,!1]]],[`object`,[[336,73,!1],[337,126,!1],[188,73,!1],[41,0,!0],[338,126,!1],[339,126,!1],[340,73,!1]]],[`object`,[[157,265,!1],[50,73,!1],[54,0,!0],[158,75,!0],[118,73,!1],[41,0,!0],[159,126,!1]]],[`object`,[[341,126,!1],[157,265,!1],[50,73,!1],[54,0,!0],[158,75,!0],[118,73,!1],[41,0,!0],[0,0,!0],[159,126,!1]]],[`object`,[[129,0,!0]]],[`ref`,12],[`array`,625],[`object`,[[82,626,!1],[267,0,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`],[`object`,[[78,313,!1],[51,100,!1],[193,315,!1],[118,73,!1],[0,0,!0],[342,628,!0],[261,455,!0],[1,143,!1]]],[`ref`,140],[`array`,630],[`object`,[[37,0,!0],[343,631,!1],[39,0,!0]]]],contracts:[2,6,63,64,72,74,76,85,86,87,90,92,93,96,103,105,113,118,121,122,93,125,127,134,135,137,138,139,142,144,145,147,148,151,153,154,155,156,161,162,164,167,169,147,190,193,194,196,199,200,206,207,208,209,209,214,216,155,222,155,235,236,236,209,237,86,240,241,244,245,248,249,250,251,263,266,267,209,268,271,272,275,278,281,282,283,284,291,292,293,295,296,86,297,307,312,316,319,320,321,324,325,330,241,331,332,333,332,334,155,336,337,338,344,346,346,349,350,351,354,355,356,358,368,370,372,373,382,236,383,161,384,385,387,388,391,392,209,393,394,395,236,397,400,236,401,407,245,408,411,93,412,413,155,415,416,419,420,421,422,428,429,320,430,437,445,446,447,448,449,452,453,245,454,456,457,461,462,164,467,468,470,471,147,480,268,481,482,485,167,167,488,491,494,497,498,320,501,502,503,506,509,412,236,96,236,510,536,537,209,538,539,236,542,543,544,545,86,548,549,86,550,86,551,554,555,556,602,603,604,605,2,420,607,610,251,320,611,96,612,613,614,620,621,622,623,624,627,629,632]};export{e as syntaxCollections};
2
2
  //# sourceMappingURL=SyntaxCollections.js.map