From 3b0c2e9380bc41f6c1dfd0037cdb87dd36542102 Mon Sep 17 00:00:00 2001 From: MEPalma Date: Mon, 8 May 2023 07:58:36 +0200 Subject: [PATCH 1/9] base --- .../payload_binding_path_context_obj.py | 7 +- .../asl/component/state/state.py | 2 +- .../state_execution/state_map/state_map.py | 6 +- .../state_task/service/resource.py | 21 +++- .../service/state_task_service_aws_sdk.py | 10 +- .../service/state_task_service_callback.py | 19 ++++ .../service/state_task_service_lambda.py | 8 +- .../service/state_task_service_sqs.py | 8 +- .../state_execution/state_task/state_task.py | 4 +- .../asl/eval/callback/__init__.py | 0 .../asl/eval/callback/callback.py | 107 ++++++++++++++++++ .../asl/eval/contextobject/contex_object.py | 16 ++- .../stepfunctions/asl/eval/environment.py | 23 ++-- .../services/stepfunctions/provider_v2.py | 51 +++++++++ 14 files changed, 249 insertions(+), 33 deletions(-) create mode 100644 localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py create mode 100644 localstack/services/stepfunctions/asl/eval/callback/__init__.py create mode 100644 localstack/services/stepfunctions/asl/eval/callback/callback.py diff --git a/localstack/services/stepfunctions/asl/component/common/payload/payloadvalue/payloadbinding/payload_binding_path_context_obj.py b/localstack/services/stepfunctions/asl/component/common/payload/payloadvalue/payloadbinding/payload_binding_path_context_obj.py index 5ddbf1c06db3e..6e16e6713bcd5 100644 --- a/localstack/services/stepfunctions/asl/component/common/payload/payloadvalue/payloadbinding/payload_binding_path_context_obj.py +++ b/localstack/services/stepfunctions/asl/component/common/payload/payloadvalue/payloadbinding/payload_binding_path_context_obj.py @@ -19,5 +19,10 @@ def from_raw(cls, string_dollar: str, string_path_context_obj: str): return cls(field=field, path_context_obj=path_context_obj) def _eval_val(self, env: Environment) -> Any: - value = JSONPathUtils.extract_json(self.path_context_obj, env.context_object) + if self.path_context_obj.endswith("Task.Token"): + task_token = env.context_object_manager.update_task_token() + return env.callback_pool_manager.add(task_token) + value = JSONPathUtils.extract_json( + self.path_context_obj, env.context_object_manager.context_object + ) return value diff --git a/localstack/services/stepfunctions/asl/component/state/state.py b/localstack/services/stepfunctions/asl/component/state/state.py index f905e15726680..0b0ad1df17832 100644 --- a/localstack/services/stepfunctions/asl/component/state/state.py +++ b/localstack/services/stepfunctions/asl/component/state/state.py @@ -115,7 +115,7 @@ def _eval_body(self, env: Environment) -> None: ), ) - env.context_object["State"] = State( + env.context_object_manager.context_object["State"] = State( EnteredTime=datetime.datetime.now().isoformat(), Name=self.name, RetryCount=0 ) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_map/state_map.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_map/state_map.py index 62e5b006a68f7..2a09874b5011a 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_map/state_map.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_map/state_map.py @@ -51,9 +51,11 @@ def from_state_props(self, state_props: StateProps) -> None: raise ValueError(f"Missing ItemProcessor definition in props '{state_props}'.") def _eval_body(self, env: Environment) -> None: - env.context_object["Map"] = Map(Item=Item(Index=-1, Value="Unsupported")) + env.context_object_manager.context_object["Map"] = Map( + Item=Item(Index=-1, Value="Unsupported") + ) super(StateMap, self)._eval_body(env=env) - env.context_object["Map"] = None + env.context_object_manager.context_object["Map"] = None def _eval_execution(self, env: Environment) -> None: # Reduce the input to the list of items. diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/resource.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/resource.py index 3e3bcb9306b62..65bc1057f5d95 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/resource.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/resource.py @@ -1,12 +1,16 @@ from __future__ import annotations import abc -from typing import Final, TypedDict +from typing import Final, Optional, TypedDict from localstack.services.stepfunctions.asl.component.component import Component from localstack.utils.aws import aws_stack +class ResourceCondition(str): + WaitForTaskToken = "waitForTaskToken" + + class ResourceARN(TypedDict): partition: str service: str @@ -90,6 +94,7 @@ class ServiceResource(Resource): service_name: Final[str] api_name: Final[str] api_action: Final[str] + condition: Final[Optional[str]] def __init__( self, @@ -105,4 +110,16 @@ def __init__( ) self.service_name = service_name self.api_name = api_name - self.api_action = resource_arn.split(":")[-1] + + arn_parts = resource_arn.split(":") + tail_part = arn_parts[-1] + tail_parts = tail_part.split(".") + self.api_action = tail_parts[0] + + self.condition = None + if len(tail_parts) > 1: + match tail_parts[-1]: + case "waitForTaskToken": + self.condition = ResourceCondition.WaitForTaskToken + case unsupported: + raise RuntimeError(f"Unsupported condition '{unsupported}'.") diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py index 4b058381323e7..4ad0df993015d 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py @@ -18,8 +18,8 @@ from localstack.services.stepfunctions.asl.component.common.error_name.states_error_name_type import ( StatesErrorNameType, ) -from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.state_task_service import ( - StateTaskService, +from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.state_task_service_callback import ( + StateTaskServiceCallback, ) from localstack.services.stepfunctions.asl.eval.environment import Environment from localstack.services.stepfunctions.asl.eval.event.event_detail import EventDetails @@ -28,13 +28,11 @@ from localstack.utils.common import camel_to_snake_case -class StateTaskServiceAwsSdk(StateTaskService): +class StateTaskServiceAwsSdk(StateTaskServiceCallback): def _get_resource_type(self) -> str: return f"{self.resource.service_name}:{self.resource.api_name}" - def _eval_execution(self, env: Environment) -> None: - super()._eval_execution(env=env) - + def _eval_service_task(self, env: Environment) -> None: api_name = self.resource.api_name api_action = camel_to_snake_case(self.resource.api_action) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py new file mode 100644 index 0000000000000..d9b62bd17b2c2 --- /dev/null +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py @@ -0,0 +1,19 @@ +from abc import abstractmethod + +from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.state_task_service import ( + StateTaskService, +) +from localstack.services.stepfunctions.asl.eval.environment import Environment + + +class StateTaskServiceCallback(StateTaskService): + @abstractmethod + def _eval_service_task(self, env: Environment): + ... + + def _eval_execution(self, env: Environment) -> None: + self._eval_service_task(env=env) + if self.resource.condition is not None: + callback_id = env.context_object_manager.context_object["Task"]["Token"] + callback_endpoint = env.callback_pool_manager.get(callback_id) + callback_endpoint.wait() # TODO: implement timeout. diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py index 79202b99598bd..742f1ef1dafc4 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py @@ -20,8 +20,8 @@ from localstack.services.stepfunctions.asl.component.common.error_name.states_error_name_type import ( StatesErrorNameType, ) -from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.state_task_service import ( - StateTaskService, +from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.state_task_service_callback import ( + StateTaskServiceCallback, ) from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.state_task_lambda import ( LambdaFunctionErrorException, @@ -32,7 +32,7 @@ from localstack.services.stepfunctions.asl.utils.encoding import to_json_str -class StateTaskServiceLambda(StateTaskService, StateTaskLambda): +class StateTaskServiceLambda(StateTaskServiceCallback, StateTaskLambda): @staticmethod def _error_cause_from_client_error(client_error: ClientError) -> tuple[str, str]: error_code: str = client_error.response["Error"]["Code"] @@ -76,7 +76,7 @@ def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: ), ) - def _eval_execution(self, env: Environment) -> None: + def _eval_service_task(self, env: Environment) -> None: parameters = self._eval_parameters(env=env) parameters_str = to_json_str(parameters) env.event_history.add_event( diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py index 9d4d1a3b4719d..24f13efa68ce7 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py @@ -16,8 +16,8 @@ from localstack.services.stepfunctions.asl.component.common.error_name.failure_event import ( FailureEvent, ) -from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.state_task_service import ( - StateTaskService, +from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.state_task_service_callback import ( + StateTaskServiceCallback, ) from localstack.services.stepfunctions.asl.eval.environment import Environment from localstack.services.stepfunctions.asl.eval.event.event_detail import EventDetails @@ -26,7 +26,7 @@ from localstack.utils.strings import camel_to_snake_case -class StateTaskServiceSqs(StateTaskService): +class StateTaskServiceSqs(StateTaskServiceCallback): _ERROR_NAME_CLIENT: Final[str] = "SQS.SdkClientException" _ERROR_NAME_AWS: Final[str] = "SQS.AmazonSQSException" @@ -89,7 +89,7 @@ def _eval_parameters(self, env: Environment) -> dict: return parameters - def _eval_execution(self, env: Environment) -> None: + def _eval_service_task(self, env: Environment) -> None: parameters = self._eval_parameters(env=env) parameters_str = to_json_str(parameters) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py index 9ce4afd040250..70f335cd77d53 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py @@ -12,7 +12,6 @@ Resource, ) from localstack.services.stepfunctions.asl.component.state.state_props import StateProps -from localstack.services.stepfunctions.asl.eval.contextobject.contex_object import Task from localstack.services.stepfunctions.asl.eval.environment import Environment @@ -61,6 +60,5 @@ def from_state_props(self, state_props: StateProps) -> None: self.resource = state_props.get(Resource) def _eval_body(self, env: Environment) -> None: - env.context_object["Task"] = Task(Token="Unsupported") super(StateTask, self)._eval_body(env=env) - env.context_object["Task"] = None + env.context_object_manager.context_object["Task"] = None diff --git a/localstack/services/stepfunctions/asl/eval/callback/__init__.py b/localstack/services/stepfunctions/asl/eval/callback/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/localstack/services/stepfunctions/asl/eval/callback/callback.py b/localstack/services/stepfunctions/asl/eval/callback/callback.py new file mode 100644 index 0000000000000..12649d07e9aa9 --- /dev/null +++ b/localstack/services/stepfunctions/asl/eval/callback/callback.py @@ -0,0 +1,107 @@ +import abc +from collections import OrderedDict +from threading import Event +from typing import Final, Optional + +from localstack.utils.strings import long_uid + +CallbackId = str + + +class CallbackOutcome(abc.ABC): + callback_id: Final[CallbackId] + + def __init__(self, callback_id: str): + self.callback_id = callback_id + + +class CallbackOutcomeSuccess(CallbackOutcome): + output: Final[str] + + def __init__(self, callback_id: CallbackId, output: str): + super().__init__(callback_id=callback_id) + self.output = output + + +class CallbackOutcomeFailure(CallbackOutcome): + error: Final[str] + cause: Final[str] + + def __init__(self, callback_id: CallbackId, error: str, cause: str): + super().__init__(callback_id=callback_id) + self.error = error + self.cause = cause + + +class CallbackConsumerError(abc.ABC): + ... + + +class CallbackConsumerTimeout(CallbackConsumerError): + pass + + +class CallbackConsumerLeft(CallbackConsumerError): + pass + + +class CallbackEndpoint: + callback_id: Final[CallbackId] + _notify_event: Final[Event] + _outcome: Optional[CallbackOutcome] + consumer_error: Optional[CallbackConsumerError] + + def __init__(self, callback_id: CallbackId): + self.callback_id = callback_id + self._notify_event = Event() + self._outcome = None + + def notify(self, outcome: CallbackOutcome): + self._outcome = outcome + self._notify_event.set() + + def wait(self, timeout: Optional[float] = None) -> Optional[CallbackOutcome]: + self._notify_event.wait(timeout=timeout) + return self._outcome + + def report(self, consumer_error: CallbackConsumerError) -> None: + self.consumer_error = consumer_error + + +class CallbackNotifyConsumerError(RuntimeError): + callback_consumer_error: CallbackConsumerError + + def __init__(self, callback_consumer_error: CallbackConsumerError): + self.callback_consumer_error = callback_consumer_error + + +class CallbackPoolManager: + _pool: dict[CallbackId, CallbackEndpoint] + + def __init__(self): + self._pool = OrderedDict() + + def get(self, callback_id: CallbackId) -> Optional[CallbackEndpoint]: + return self._pool.get(callback_id) + + def add(self, callback_id: CallbackId) -> CallbackEndpoint: + if callback_id in self._pool: + raise ValueError("Duplicate callback token id value.") + callback_endpoint = CallbackEndpoint(callback_id=callback_id) + self._pool[callback_id] = callback_endpoint + return callback_endpoint + + def generate(self) -> CallbackEndpoint: + return self.add(long_uid()) + + def notify(self, callback_id: CallbackId, outcome: CallbackOutcome) -> bool: + callback_endpoint = self._pool.pop(callback_id, None) + if callback_endpoint is None: + return False + + consumer_error: Optional[CallbackConsumerError] = callback_endpoint.consumer_error + if consumer_error is not None: + raise CallbackNotifyConsumerError(callback_consumer_error=consumer_error) + + callback_endpoint.notify(outcome=outcome) + return True diff --git a/localstack/services/stepfunctions/asl/eval/contextobject/contex_object.py b/localstack/services/stepfunctions/asl/eval/contextobject/contex_object.py index f19b0ec1517af..5acaeecf45ada 100644 --- a/localstack/services/stepfunctions/asl/eval/contextobject/contex_object.py +++ b/localstack/services/stepfunctions/asl/eval/contextobject/contex_object.py @@ -1,4 +1,6 @@ -from typing import Optional, TypedDict +from typing import Final, Optional, TypedDict + +from localstack.utils.strings import long_uid class Execution(TypedDict): @@ -43,6 +45,18 @@ class ContextObject(TypedDict): Map: Optional[Map] # Only available when processing a Map state. +class ContextObjectManager: + context_object: Final[ContextObject] + + def __init__(self, context_object: ContextObject): + self.context_object = context_object + + def update_task_token(self) -> str: + new_token = long_uid() + self.context_object["Task"] = Task(Token=new_token) + return new_token + + class ContextObjectInitData(TypedDict): Execution: Execution StateMachine: StateMachine diff --git a/localstack/services/stepfunctions/asl/eval/environment.py b/localstack/services/stepfunctions/asl/eval/environment.py index 38b85e5807058..7a6bfe617ff34 100644 --- a/localstack/services/stepfunctions/asl/eval/environment.py +++ b/localstack/services/stepfunctions/asl/eval/environment.py @@ -6,9 +6,11 @@ from typing import Any, Optional from localstack.aws.api.stepfunctions import ExecutionFailedEventDetails, Timestamp +from localstack.services.stepfunctions.asl.eval.callback.callback import CallbackPoolManager from localstack.services.stepfunctions.asl.eval.contextobject.contex_object import ( ContextObject, ContextObjectInitData, + ContextObjectManager, ) from localstack.services.stepfunctions.asl.eval.event.event_history import EventHistory from localstack.services.stepfunctions.asl.eval.programstate.program_ended import ProgramEnded @@ -29,29 +31,32 @@ def __init__(self, context_object_init: ContextObjectInitData): self._frames: list[Environment] = list() self.event_history: EventHistory = EventHistory() + self.callback_pool_manager: CallbackPoolManager = CallbackPoolManager() self.heap: dict[str, Any] = dict() self.stack: list[Any] = list() self.inp: Optional[Any] = None - self.context_object: ContextObject = ContextObject( - Execution=context_object_init["Execution"], - StateMachine=context_object_init["StateMachine"], - State=None, - Task=None, - Map=None, + self.context_object_manager: ContextObjectManager = ContextObjectManager( + context_object=ContextObject( + Execution=context_object_init["Execution"], + StateMachine=context_object_init["StateMachine"], + State=None, + Task=None, + Map=None, + ) ) @classmethod def as_frame_of(cls, env: Environment): context_object_init = ContextObjectInitData( - Execution=env.context_object["Execution"], - StateMachine=env.context_object["StateMachine"], + Execution=env.context_object_manager.context_object["Execution"], + StateMachine=env.context_object_manager.context_object["StateMachine"], ) frame = cls(context_object_init=context_object_init) frame.heap = env.heap frame.event_history = env.event_history - frame.context_object = env.context_object + frame.context_object = env.context_object_manager.context_object return frame @property diff --git a/localstack/services/stepfunctions/provider_v2.py b/localstack/services/stepfunctions/provider_v2.py index a41ae1ad0784c..c5e2406e7e409 100644 --- a/localstack/services/stepfunctions/provider_v2.py +++ b/localstack/services/stepfunctions/provider_v2.py @@ -16,6 +16,7 @@ IncludeExecutionDataGetExecutionHistory, InvalidExecutionInput, InvalidName, + InvalidToken, ListExecutionsOutput, ListExecutionsPageToken, ListStateMachinesOutput, @@ -24,6 +25,8 @@ PageSize, PageToken, ReverseOrder, + SendTaskFailureOutput, + SendTaskSuccessOutput, SensitiveCause, SensitiveData, SensitiveError, @@ -35,8 +38,16 @@ StateMachineType, StepfunctionsApi, StopExecutionOutput, + TaskDoesNotExist, + TaskTimedOut, + TaskToken, TraceHeader, ) +from localstack.services.stepfunctions.asl.eval.callback.callback import ( + CallbackConsumerTimeout, + CallbackNotifyConsumerError, + CallbackOutcomeSuccess, +) from localstack.services.stepfunctions.backend.execution import Execution from localstack.services.stepfunctions.backend.state_machine import StateMachine from localstack.services.stepfunctions.backend.store import SFNStore, sfn_stores @@ -147,6 +158,46 @@ def describe_state_machine( loggingConfiguration=sm.logging_config, ) + def send_task_success( + self, context: RequestContext, task_token: TaskToken, output: SensitiveData + ) -> SendTaskSuccessOutput: + outcome = CallbackOutcomeSuccess(callback_id=task_token, output=output) + store = self.get_store(context) + for exec in store.executions.values(): + try: + if exec.exec_worker.env.callback_pool_manager.notify( + callback_id=task_token, outcome=outcome + ): + return SendTaskSuccessOutput() + except CallbackNotifyConsumerError as consumer_error: + if isinstance(consumer_error, CallbackConsumerTimeout): + raise TaskTimedOut() + else: + raise TaskDoesNotExist() + raise InvalidToken() + + def send_task_failure( + self, + context: RequestContext, + task_token: TaskToken, + error: SensitiveError = None, + cause: SensitiveCause = None, + ) -> SendTaskFailureOutput: + outcome = CallbackOutcomeSuccess(callback_id=task_token) + store = self.get_store(context) + for exec in store.executions.values(): + try: + if exec.exec_worker.env.callback_pool_manager.notify( + callback_id=task_token, outcome=outcome + ): + return SendTaskFailureOutput() + except CallbackNotifyConsumerError as consumer_error: + if isinstance(consumer_error, CallbackConsumerTimeout): + raise TaskTimedOut() + else: + raise TaskDoesNotExist() + raise InvalidToken() + def start_execution( self, context: RequestContext, From 2f392e707e1df31da3469116df302d0556ab3fed Mon Sep 17 00:00:00 2001 From: MEPalma Date: Wed, 10 May 2023 15:42:31 +0200 Subject: [PATCH 2/9] fixes --- .../stepfunctions/asl/antlr/ASLParser.g4 | 2 +- .../asl/antlr/runtime/ASLIntrinsicLexer.py | 4 +- .../asl/antlr/runtime/ASLIntrinsicParser.py | 8 +- .../runtime/ASLIntrinsicParserListener.py | 2 +- .../runtime/ASLIntrinsicParserVisitor.py | 2 +- .../asl/antlr/runtime/ASLParser.interp | 2 +- .../asl/antlr/runtime/ASLParser.py | 1101 +++++++++-------- .../asl/component/common/path/result_path.py | 12 +- .../payload_binding_path_context_obj.py | 10 +- .../state_task/service/state_task_service.py | 5 +- .../service/state_task_service_aws_sdk.py | 99 +- .../service/state_task_service_callback.py | 98 +- .../service/state_task_service_lambda.py | 52 +- .../service/state_task_service_sqs.py | 60 +- .../asl/eval/callback/callback.py | 1 + .../stepfunctions/asl/parse/preprocessor.py | 4 +- setup.cfg | 2 +- tests/integration/stepfunctions/conftest.py | 23 +- .../templates/callbacks/__init__.py | 0 .../templates/callbacks/callback_templates.py | 15 + .../sqs_success_on_task_token.json5 | 62 + .../sqs_wait_for_task_token.json5 | 17 + .../stepfunctions/v2/callback/__init__.py | 0 .../v2/callback/test_callback.py | 65 + .../v2/callback/test_callback.snapshot.json | 157 +++ 25 files changed, 1079 insertions(+), 724 deletions(-) create mode 100644 tests/integration/stepfunctions/templates/callbacks/__init__.py create mode 100644 tests/integration/stepfunctions/templates/callbacks/callback_templates.py create mode 100644 tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_success_on_task_token.json5 create mode 100644 tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_wait_for_task_token.json5 create mode 100644 tests/integration/stepfunctions/v2/callback/__init__.py create mode 100644 tests/integration/stepfunctions/v2/callback/test_callback.py create mode 100644 tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json diff --git a/localstack/services/stepfunctions/asl/antlr/ASLParser.g4 b/localstack/services/stepfunctions/asl/antlr/ASLParser.g4 index 4714ab05ccb5a..f5eac3efcd4c0 100644 --- a/localstack/services/stepfunctions/asl/antlr/ASLParser.g4 +++ b/localstack/services/stepfunctions/asl/antlr/ASLParser.g4 @@ -98,7 +98,7 @@ result_decl ; result_path_decl - : RESULTPATH COLON keyword_or_string // TODO keywords too? + : RESULTPATH COLON (keyword_or_string | NULL) // TODO keywords too? ; output_path_decl diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicLexer.py b/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicLexer.py index 7f222c1b38c05..82c5b7545b3d5 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicLexer.py +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicLexer.py @@ -1,4 +1,4 @@ -# Generated from /Users/mep/LocalStack/localstack/localstack/services/stepfunctions/asl/antlr/ASLIntrinsicLexer.g4 by ANTLR 4.11.1 +# Generated from /Users/mep/LocalStack/localstack/localstack/services/stepfunctions/asl/antlr/ASLIntrinsicLexer.g4 by ANTLR 4.12.0 from antlr4 import * from io import StringIO import sys @@ -247,7 +247,7 @@ class ASLIntrinsicLexer(Lexer): def __init__(self, input=None, output:TextIO = sys.stdout): super().__init__(input, output) - self.checkVersion("4.11.1") + self.checkVersion("4.12.0") self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache()) self._actions = None self._predicates = None diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParser.py b/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParser.py index 4f5a42ef5ed75..e155efef611e8 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParser.py +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParser.py @@ -1,4 +1,4 @@ -# Generated from /Users/mep/LocalStack/localstack/localstack/services/stepfunctions/asl/antlr/ASLIntrinsicParser.g4 by ANTLR 4.11.1 +# Generated from /Users/mep/LocalStack/localstack/localstack/services/stepfunctions/asl/antlr/ASLIntrinsicParser.g4 by ANTLR 4.12.0 # encoding: utf-8 from antlr4 import * from io import StringIO @@ -143,7 +143,7 @@ class ASLIntrinsicParser ( Parser ): def __init__(self, input:TokenStream, output:TextIO = sys.stdout): super().__init__(input, output) - self.checkVersion("4.11.1") + self.checkVersion("4.12.0") self._interp = ParserATNSimulator(self, self.atn, self.decisionsToDFA, self.sharedContextCache) self._predicates = None @@ -352,7 +352,7 @@ def state_fun_name(self): self.enterOuterAlt(localctx, 1) self.state = 31 _la = self._input.LA(1) - if not(((_la) & ~0x3f) == 0 and ((1 << _la) & 274876858368) != 0): + if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 274876858368) != 0)): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) @@ -1260,7 +1260,7 @@ def json_path_query(self, _p:int=0): if token in [9, 10, 15]: self.state = 89 _la = self._input.LA(1) - if not(((_la) & ~0x3f) == 0 and ((1 << _la) & 34304) != 0): + if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 34304) != 0)): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParserListener.py b/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParserListener.py index b134d673c7f16..14dc06b8c876d 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParserListener.py +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParserListener.py @@ -1,4 +1,4 @@ -# Generated from /Users/mep/LocalStack/localstack/localstack/services/stepfunctions/asl/antlr/ASLIntrinsicParser.g4 by ANTLR 4.11.1 +# Generated from /Users/mep/LocalStack/localstack/localstack/services/stepfunctions/asl/antlr/ASLIntrinsicParser.g4 by ANTLR 4.12.0 from antlr4 import * if __name__ is not None and "." in __name__: from .ASLIntrinsicParser import ASLIntrinsicParser diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParserVisitor.py b/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParserVisitor.py index e422bbfb48959..daaf754fecf38 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParserVisitor.py +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLIntrinsicParserVisitor.py @@ -1,4 +1,4 @@ -# Generated from /Users/mep/LocalStack/localstack/localstack/services/stepfunctions/asl/antlr/ASLIntrinsicParser.g4 by ANTLR 4.11.1 +# Generated from /Users/mep/LocalStack/localstack/localstack/services/stepfunctions/asl/antlr/ASLIntrinsicParser.g4 by ANTLR 4.12.0 from antlr4 import * if __name__ is not None and "." in __name__: from .ASLIntrinsicParser import ASLIntrinsicParser diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.interp b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.interp index a8fc11443aae3..79ab9d0346568 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.interp +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.interp @@ -308,4 +308,4 @@ keyword_or_string atn: -[4, 1, 116, 654, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 1, 0, 1, 0, 1, 0, 1, 0, 5, 0, 141, 8, 0, 10, 0, 12, 0, 144, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 151, 8, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 186, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 194, 8, 5, 10, 5, 12, 5, 197, 9, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 211, 8, 8, 10, 8, 12, 8, 214, 9, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 294, 8, 27, 10, 27, 12, 27, 297, 9, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 303, 8, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 3, 28, 318, 8, 28, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 326, 8, 30, 10, 30, 12, 30, 329, 9, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 335, 8, 30, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 341, 8, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 348, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 362, 8, 35, 10, 35, 12, 35, 365, 9, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 5, 36, 373, 8, 36, 10, 36, 12, 36, 376, 9, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 3, 37, 383, 8, 37, 1, 38, 1, 38, 1, 38, 4, 38, 388, 8, 38, 11, 38, 12, 38, 389, 1, 39, 1, 39, 3, 39, 394, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 4, 40, 403, 8, 40, 11, 40, 12, 40, 404, 1, 40, 1, 40, 3, 40, 409, 8, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 5, 43, 425, 8, 43, 10, 43, 12, 43, 428, 9, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 438, 8, 44, 10, 44, 12, 44, 441, 9, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 449, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 456, 8, 46, 10, 46, 12, 46, 459, 9, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 475, 8, 49, 10, 49, 12, 49, 478, 9, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 5, 50, 486, 8, 50, 10, 50, 12, 50, 489, 9, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 497, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 505, 8, 52, 10, 52, 12, 52, 508, 9, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 530, 8, 56, 10, 56, 12, 56, 533, 9, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 541, 8, 57, 10, 57, 12, 57, 544, 9, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 3, 58, 551, 8, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 3, 62, 561, 8, 62, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 567, 8, 63, 10, 63, 12, 63, 570, 9, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 576, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 586, 8, 65, 10, 65, 12, 65, 589, 9, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 595, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 606, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 652, 8, 67, 1, 67, 0, 0, 68, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 0, 5, 1, 0, 7, 8, 1, 0, 15, 22, 3, 0, 28, 35, 37, 46, 48, 68, 3, 0, 27, 27, 36, 36, 47, 47, 1, 0, 96, 108, 709, 0, 136, 1, 0, 0, 0, 2, 150, 1, 0, 0, 0, 4, 152, 1, 0, 0, 0, 6, 156, 1, 0, 0, 0, 8, 185, 1, 0, 0, 0, 10, 187, 1, 0, 0, 0, 12, 200, 1, 0, 0, 0, 14, 202, 1, 0, 0, 0, 16, 206, 1, 0, 0, 0, 18, 217, 1, 0, 0, 0, 20, 221, 1, 0, 0, 0, 22, 225, 1, 0, 0, 0, 24, 229, 1, 0, 0, 0, 26, 233, 1, 0, 0, 0, 28, 237, 1, 0, 0, 0, 30, 241, 1, 0, 0, 0, 32, 245, 1, 0, 0, 0, 34, 249, 1, 0, 0, 0, 36, 253, 1, 0, 0, 0, 38, 257, 1, 0, 0, 0, 40, 261, 1, 0, 0, 0, 42, 265, 1, 0, 0, 0, 44, 269, 1, 0, 0, 0, 46, 273, 1, 0, 0, 0, 48, 277, 1, 0, 0, 0, 50, 281, 1, 0, 0, 0, 52, 285, 1, 0, 0, 0, 54, 302, 1, 0, 0, 0, 56, 317, 1, 0, 0, 0, 58, 319, 1, 0, 0, 0, 60, 334, 1, 0, 0, 0, 62, 340, 1, 0, 0, 0, 64, 347, 1, 0, 0, 0, 66, 349, 1, 0, 0, 0, 68, 353, 1, 0, 0, 0, 70, 355, 1, 0, 0, 0, 72, 368, 1, 0, 0, 0, 74, 382, 1, 0, 0, 0, 76, 384, 1, 0, 0, 0, 78, 393, 1, 0, 0, 0, 80, 395, 1, 0, 0, 0, 82, 410, 1, 0, 0, 0, 84, 414, 1, 0, 0, 0, 86, 418, 1, 0, 0, 0, 88, 431, 1, 0, 0, 0, 90, 448, 1, 0, 0, 0, 92, 450, 1, 0, 0, 0, 94, 462, 1, 0, 0, 0, 96, 466, 1, 0, 0, 0, 98, 468, 1, 0, 0, 0, 100, 481, 1, 0, 0, 0, 102, 496, 1, 0, 0, 0, 104, 498, 1, 0, 0, 0, 106, 511, 1, 0, 0, 0, 108, 515, 1, 0, 0, 0, 110, 519, 1, 0, 0, 0, 112, 523, 1, 0, 0, 0, 114, 536, 1, 0, 0, 0, 116, 550, 1, 0, 0, 0, 118, 552, 1, 0, 0, 0, 120, 554, 1, 0, 0, 0, 122, 556, 1, 0, 0, 0, 124, 560, 1, 0, 0, 0, 126, 575, 1, 0, 0, 0, 128, 577, 1, 0, 0, 0, 130, 594, 1, 0, 0, 0, 132, 605, 1, 0, 0, 0, 134, 651, 1, 0, 0, 0, 136, 137, 5, 5, 0, 0, 137, 142, 3, 2, 1, 0, 138, 139, 5, 1, 0, 0, 139, 141, 3, 2, 1, 0, 140, 138, 1, 0, 0, 0, 141, 144, 1, 0, 0, 0, 142, 140, 1, 0, 0, 0, 142, 143, 1, 0, 0, 0, 143, 145, 1, 0, 0, 0, 144, 142, 1, 0, 0, 0, 145, 146, 5, 6, 0, 0, 146, 1, 1, 0, 0, 0, 147, 151, 3, 6, 3, 0, 148, 151, 3, 4, 2, 0, 149, 151, 3, 10, 5, 0, 150, 147, 1, 0, 0, 0, 150, 148, 1, 0, 0, 0, 150, 149, 1, 0, 0, 0, 151, 3, 1, 0, 0, 0, 152, 153, 5, 12, 0, 0, 153, 154, 5, 2, 0, 0, 154, 155, 3, 134, 67, 0, 155, 5, 1, 0, 0, 0, 156, 157, 5, 10, 0, 0, 157, 158, 5, 2, 0, 0, 158, 159, 3, 134, 67, 0, 159, 7, 1, 0, 0, 0, 160, 186, 3, 6, 3, 0, 161, 186, 3, 18, 9, 0, 162, 186, 3, 24, 12, 0, 163, 186, 3, 22, 11, 0, 164, 186, 3, 20, 10, 0, 165, 186, 3, 26, 13, 0, 166, 186, 3, 28, 14, 0, 167, 186, 3, 30, 15, 0, 168, 186, 3, 32, 16, 0, 169, 186, 3, 34, 17, 0, 170, 186, 3, 70, 35, 0, 171, 186, 3, 36, 18, 0, 172, 186, 3, 38, 19, 0, 173, 186, 3, 40, 20, 0, 174, 186, 3, 42, 21, 0, 175, 186, 3, 44, 22, 0, 176, 186, 3, 46, 23, 0, 177, 186, 3, 48, 24, 0, 178, 186, 3, 88, 44, 0, 179, 186, 3, 50, 25, 0, 180, 186, 3, 86, 43, 0, 181, 186, 3, 52, 26, 0, 182, 186, 3, 98, 49, 0, 183, 186, 3, 112, 56, 0, 184, 186, 3, 66, 33, 0, 185, 160, 1, 0, 0, 0, 185, 161, 1, 0, 0, 0, 185, 162, 1, 0, 0, 0, 185, 163, 1, 0, 0, 0, 185, 164, 1, 0, 0, 0, 185, 165, 1, 0, 0, 0, 185, 166, 1, 0, 0, 0, 185, 167, 1, 0, 0, 0, 185, 168, 1, 0, 0, 0, 185, 169, 1, 0, 0, 0, 185, 170, 1, 0, 0, 0, 185, 171, 1, 0, 0, 0, 185, 172, 1, 0, 0, 0, 185, 173, 1, 0, 0, 0, 185, 174, 1, 0, 0, 0, 185, 175, 1, 0, 0, 0, 185, 176, 1, 0, 0, 0, 185, 177, 1, 0, 0, 0, 185, 178, 1, 0, 0, 0, 185, 179, 1, 0, 0, 0, 185, 180, 1, 0, 0, 0, 185, 181, 1, 0, 0, 0, 185, 182, 1, 0, 0, 0, 185, 183, 1, 0, 0, 0, 185, 184, 1, 0, 0, 0, 186, 9, 1, 0, 0, 0, 187, 188, 5, 11, 0, 0, 188, 189, 5, 2, 0, 0, 189, 190, 5, 5, 0, 0, 190, 195, 3, 14, 7, 0, 191, 192, 5, 1, 0, 0, 192, 194, 3, 14, 7, 0, 193, 191, 1, 0, 0, 0, 194, 197, 1, 0, 0, 0, 195, 193, 1, 0, 0, 0, 195, 196, 1, 0, 0, 0, 196, 198, 1, 0, 0, 0, 197, 195, 1, 0, 0, 0, 198, 199, 5, 6, 0, 0, 199, 11, 1, 0, 0, 0, 200, 201, 3, 134, 67, 0, 201, 13, 1, 0, 0, 0, 202, 203, 3, 12, 6, 0, 203, 204, 5, 2, 0, 0, 204, 205, 3, 16, 8, 0, 205, 15, 1, 0, 0, 0, 206, 207, 5, 5, 0, 0, 207, 212, 3, 8, 4, 0, 208, 209, 5, 1, 0, 0, 209, 211, 3, 8, 4, 0, 210, 208, 1, 0, 0, 0, 211, 214, 1, 0, 0, 0, 212, 210, 1, 0, 0, 0, 212, 213, 1, 0, 0, 0, 213, 215, 1, 0, 0, 0, 214, 212, 1, 0, 0, 0, 215, 216, 5, 6, 0, 0, 216, 17, 1, 0, 0, 0, 217, 218, 5, 14, 0, 0, 218, 219, 5, 2, 0, 0, 219, 220, 3, 68, 34, 0, 220, 19, 1, 0, 0, 0, 221, 222, 5, 86, 0, 0, 222, 223, 5, 2, 0, 0, 223, 224, 3, 134, 67, 0, 224, 21, 1, 0, 0, 0, 225, 226, 5, 78, 0, 0, 226, 227, 5, 2, 0, 0, 227, 228, 3, 134, 67, 0, 228, 23, 1, 0, 0, 0, 229, 230, 5, 79, 0, 0, 230, 231, 5, 2, 0, 0, 231, 232, 3, 134, 67, 0, 232, 25, 1, 0, 0, 0, 233, 234, 5, 83, 0, 0, 234, 235, 5, 2, 0, 0, 235, 236, 3, 132, 66, 0, 236, 27, 1, 0, 0, 0, 237, 238, 5, 82, 0, 0, 238, 239, 5, 2, 0, 0, 239, 240, 3, 134, 67, 0, 240, 29, 1, 0, 0, 0, 241, 242, 5, 80, 0, 0, 242, 243, 5, 2, 0, 0, 243, 244, 3, 134, 67, 0, 244, 31, 1, 0, 0, 0, 245, 246, 5, 87, 0, 0, 246, 247, 5, 2, 0, 0, 247, 248, 7, 0, 0, 0, 248, 33, 1, 0, 0, 0, 249, 250, 5, 25, 0, 0, 250, 251, 5, 2, 0, 0, 251, 252, 3, 134, 67, 0, 252, 35, 1, 0, 0, 0, 253, 254, 5, 89, 0, 0, 254, 255, 5, 2, 0, 0, 255, 256, 3, 134, 67, 0, 256, 37, 1, 0, 0, 0, 257, 258, 5, 88, 0, 0, 258, 259, 5, 2, 0, 0, 259, 260, 3, 134, 67, 0, 260, 39, 1, 0, 0, 0, 261, 262, 5, 70, 0, 0, 262, 263, 5, 2, 0, 0, 263, 264, 5, 114, 0, 0, 264, 41, 1, 0, 0, 0, 265, 266, 5, 69, 0, 0, 266, 267, 5, 2, 0, 0, 267, 268, 3, 134, 67, 0, 268, 43, 1, 0, 0, 0, 269, 270, 5, 72, 0, 0, 270, 271, 5, 2, 0, 0, 271, 272, 3, 134, 67, 0, 272, 45, 1, 0, 0, 0, 273, 274, 5, 71, 0, 0, 274, 275, 5, 2, 0, 0, 275, 276, 3, 134, 67, 0, 276, 47, 1, 0, 0, 0, 277, 278, 5, 81, 0, 0, 278, 279, 5, 2, 0, 0, 279, 280, 3, 134, 67, 0, 280, 49, 1, 0, 0, 0, 281, 282, 5, 77, 0, 0, 282, 283, 5, 2, 0, 0, 283, 284, 5, 114, 0, 0, 284, 51, 1, 0, 0, 0, 285, 286, 5, 84, 0, 0, 286, 287, 5, 2, 0, 0, 287, 288, 3, 54, 27, 0, 288, 53, 1, 0, 0, 0, 289, 290, 5, 5, 0, 0, 290, 295, 3, 56, 28, 0, 291, 292, 5, 1, 0, 0, 292, 294, 3, 56, 28, 0, 293, 291, 1, 0, 0, 0, 294, 297, 1, 0, 0, 0, 295, 293, 1, 0, 0, 0, 295, 296, 1, 0, 0, 0, 296, 298, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 298, 299, 5, 6, 0, 0, 299, 303, 1, 0, 0, 0, 300, 301, 5, 5, 0, 0, 301, 303, 5, 6, 0, 0, 302, 289, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 303, 55, 1, 0, 0, 0, 304, 305, 5, 110, 0, 0, 305, 306, 5, 2, 0, 0, 306, 318, 5, 112, 0, 0, 307, 308, 5, 110, 0, 0, 308, 309, 5, 2, 0, 0, 309, 318, 5, 111, 0, 0, 310, 311, 5, 110, 0, 0, 311, 312, 5, 2, 0, 0, 312, 318, 3, 58, 29, 0, 313, 314, 3, 134, 67, 0, 314, 315, 5, 2, 0, 0, 315, 316, 3, 62, 31, 0, 316, 318, 1, 0, 0, 0, 317, 304, 1, 0, 0, 0, 317, 307, 1, 0, 0, 0, 317, 310, 1, 0, 0, 0, 317, 313, 1, 0, 0, 0, 318, 57, 1, 0, 0, 0, 319, 320, 5, 113, 0, 0, 320, 59, 1, 0, 0, 0, 321, 322, 5, 3, 0, 0, 322, 327, 3, 62, 31, 0, 323, 324, 5, 1, 0, 0, 324, 326, 3, 62, 31, 0, 325, 323, 1, 0, 0, 0, 326, 329, 1, 0, 0, 0, 327, 325, 1, 0, 0, 0, 327, 328, 1, 0, 0, 0, 328, 330, 1, 0, 0, 0, 329, 327, 1, 0, 0, 0, 330, 331, 5, 4, 0, 0, 331, 335, 1, 0, 0, 0, 332, 333, 5, 3, 0, 0, 333, 335, 5, 4, 0, 0, 334, 321, 1, 0, 0, 0, 334, 332, 1, 0, 0, 0, 335, 61, 1, 0, 0, 0, 336, 341, 3, 56, 28, 0, 337, 341, 3, 60, 30, 0, 338, 341, 3, 54, 27, 0, 339, 341, 3, 64, 32, 0, 340, 336, 1, 0, 0, 0, 340, 337, 1, 0, 0, 0, 340, 338, 1, 0, 0, 0, 340, 339, 1, 0, 0, 0, 341, 63, 1, 0, 0, 0, 342, 348, 5, 115, 0, 0, 343, 348, 5, 114, 0, 0, 344, 348, 7, 0, 0, 0, 345, 348, 5, 9, 0, 0, 346, 348, 3, 134, 67, 0, 347, 342, 1, 0, 0, 0, 347, 343, 1, 0, 0, 0, 347, 344, 1, 0, 0, 0, 347, 345, 1, 0, 0, 0, 347, 346, 1, 0, 0, 0, 348, 65, 1, 0, 0, 0, 349, 350, 5, 85, 0, 0, 350, 351, 5, 2, 0, 0, 351, 352, 3, 54, 27, 0, 352, 67, 1, 0, 0, 0, 353, 354, 7, 1, 0, 0, 354, 69, 1, 0, 0, 0, 355, 356, 5, 23, 0, 0, 356, 357, 5, 2, 0, 0, 357, 358, 5, 3, 0, 0, 358, 363, 3, 72, 36, 0, 359, 360, 5, 1, 0, 0, 360, 362, 3, 72, 36, 0, 361, 359, 1, 0, 0, 0, 362, 365, 1, 0, 0, 0, 363, 361, 1, 0, 0, 0, 363, 364, 1, 0, 0, 0, 364, 366, 1, 0, 0, 0, 365, 363, 1, 0, 0, 0, 366, 367, 5, 4, 0, 0, 367, 71, 1, 0, 0, 0, 368, 369, 5, 5, 0, 0, 369, 374, 3, 74, 37, 0, 370, 371, 5, 1, 0, 0, 371, 373, 3, 74, 37, 0, 372, 370, 1, 0, 0, 0, 373, 376, 1, 0, 0, 0, 374, 372, 1, 0, 0, 0, 374, 375, 1, 0, 0, 0, 375, 377, 1, 0, 0, 0, 376, 374, 1, 0, 0, 0, 377, 378, 5, 6, 0, 0, 378, 73, 1, 0, 0, 0, 379, 383, 3, 76, 38, 0, 380, 383, 3, 80, 40, 0, 381, 383, 3, 20, 10, 0, 382, 379, 1, 0, 0, 0, 382, 380, 1, 0, 0, 0, 382, 381, 1, 0, 0, 0, 383, 75, 1, 0, 0, 0, 384, 387, 3, 78, 39, 0, 385, 386, 5, 1, 0, 0, 386, 388, 3, 78, 39, 0, 387, 385, 1, 0, 0, 0, 388, 389, 1, 0, 0, 0, 389, 387, 1, 0, 0, 0, 389, 390, 1, 0, 0, 0, 390, 77, 1, 0, 0, 0, 391, 394, 3, 82, 41, 0, 392, 394, 3, 84, 42, 0, 393, 391, 1, 0, 0, 0, 393, 392, 1, 0, 0, 0, 394, 79, 1, 0, 0, 0, 395, 396, 3, 120, 60, 0, 396, 408, 5, 2, 0, 0, 397, 409, 3, 72, 36, 0, 398, 399, 5, 3, 0, 0, 399, 402, 3, 72, 36, 0, 400, 401, 5, 1, 0, 0, 401, 403, 3, 72, 36, 0, 402, 400, 1, 0, 0, 0, 403, 404, 1, 0, 0, 0, 404, 402, 1, 0, 0, 0, 404, 405, 1, 0, 0, 0, 405, 406, 1, 0, 0, 0, 406, 407, 5, 4, 0, 0, 407, 409, 1, 0, 0, 0, 408, 397, 1, 0, 0, 0, 408, 398, 1, 0, 0, 0, 409, 81, 1, 0, 0, 0, 410, 411, 5, 24, 0, 0, 411, 412, 5, 2, 0, 0, 412, 413, 3, 134, 67, 0, 413, 83, 1, 0, 0, 0, 414, 415, 3, 118, 59, 0, 415, 416, 5, 2, 0, 0, 416, 417, 3, 132, 66, 0, 417, 85, 1, 0, 0, 0, 418, 419, 5, 26, 0, 0, 419, 420, 5, 2, 0, 0, 420, 421, 5, 3, 0, 0, 421, 426, 3, 0, 0, 0, 422, 423, 5, 1, 0, 0, 423, 425, 3, 0, 0, 0, 424, 422, 1, 0, 0, 0, 425, 428, 1, 0, 0, 0, 426, 424, 1, 0, 0, 0, 426, 427, 1, 0, 0, 0, 427, 429, 1, 0, 0, 0, 428, 426, 1, 0, 0, 0, 429, 430, 5, 4, 0, 0, 430, 87, 1, 0, 0, 0, 431, 432, 5, 76, 0, 0, 432, 433, 5, 2, 0, 0, 433, 434, 5, 5, 0, 0, 434, 439, 3, 90, 45, 0, 435, 436, 5, 1, 0, 0, 436, 438, 3, 90, 45, 0, 437, 435, 1, 0, 0, 0, 438, 441, 1, 0, 0, 0, 439, 437, 1, 0, 0, 0, 439, 440, 1, 0, 0, 0, 440, 442, 1, 0, 0, 0, 441, 439, 1, 0, 0, 0, 442, 443, 5, 6, 0, 0, 443, 89, 1, 0, 0, 0, 444, 449, 3, 92, 46, 0, 445, 449, 3, 4, 2, 0, 446, 449, 3, 10, 5, 0, 447, 449, 3, 6, 3, 0, 448, 444, 1, 0, 0, 0, 448, 445, 1, 0, 0, 0, 448, 446, 1, 0, 0, 0, 448, 447, 1, 0, 0, 0, 449, 91, 1, 0, 0, 0, 450, 451, 5, 73, 0, 0, 451, 452, 5, 2, 0, 0, 452, 457, 5, 5, 0, 0, 453, 456, 3, 94, 47, 0, 454, 456, 3, 128, 64, 0, 455, 453, 1, 0, 0, 0, 455, 454, 1, 0, 0, 0, 456, 459, 1, 0, 0, 0, 457, 455, 1, 0, 0, 0, 457, 458, 1, 0, 0, 0, 458, 460, 1, 0, 0, 0, 459, 457, 1, 0, 0, 0, 460, 461, 5, 6, 0, 0, 461, 93, 1, 0, 0, 0, 462, 463, 5, 74, 0, 0, 463, 464, 5, 2, 0, 0, 464, 465, 3, 96, 48, 0, 465, 95, 1, 0, 0, 0, 466, 467, 5, 75, 0, 0, 467, 97, 1, 0, 0, 0, 468, 469, 5, 90, 0, 0, 469, 470, 5, 2, 0, 0, 470, 471, 5, 3, 0, 0, 471, 476, 3, 100, 50, 0, 472, 473, 5, 1, 0, 0, 473, 475, 3, 98, 49, 0, 474, 472, 1, 0, 0, 0, 475, 478, 1, 0, 0, 0, 476, 474, 1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 479, 1, 0, 0, 0, 478, 476, 1, 0, 0, 0, 479, 480, 5, 4, 0, 0, 480, 99, 1, 0, 0, 0, 481, 482, 5, 5, 0, 0, 482, 487, 3, 102, 51, 0, 483, 484, 5, 1, 0, 0, 484, 486, 3, 102, 51, 0, 485, 483, 1, 0, 0, 0, 486, 489, 1, 0, 0, 0, 487, 485, 1, 0, 0, 0, 487, 488, 1, 0, 0, 0, 488, 490, 1, 0, 0, 0, 489, 487, 1, 0, 0, 0, 490, 491, 5, 6, 0, 0, 491, 101, 1, 0, 0, 0, 492, 497, 3, 104, 52, 0, 493, 497, 3, 106, 53, 0, 494, 497, 3, 108, 54, 0, 495, 497, 3, 110, 55, 0, 496, 492, 1, 0, 0, 0, 496, 493, 1, 0, 0, 0, 496, 494, 1, 0, 0, 0, 496, 495, 1, 0, 0, 0, 497, 103, 1, 0, 0, 0, 498, 499, 5, 91, 0, 0, 499, 500, 5, 2, 0, 0, 500, 501, 5, 3, 0, 0, 501, 506, 3, 124, 62, 0, 502, 503, 5, 1, 0, 0, 503, 505, 3, 124, 62, 0, 504, 502, 1, 0, 0, 0, 505, 508, 1, 0, 0, 0, 506, 504, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 509, 1, 0, 0, 0, 508, 506, 1, 0, 0, 0, 509, 510, 5, 4, 0, 0, 510, 105, 1, 0, 0, 0, 511, 512, 5, 92, 0, 0, 512, 513, 5, 2, 0, 0, 513, 514, 5, 114, 0, 0, 514, 107, 1, 0, 0, 0, 515, 516, 5, 93, 0, 0, 516, 517, 5, 2, 0, 0, 517, 518, 5, 114, 0, 0, 518, 109, 1, 0, 0, 0, 519, 520, 5, 94, 0, 0, 520, 521, 5, 2, 0, 0, 521, 522, 5, 115, 0, 0, 522, 111, 1, 0, 0, 0, 523, 524, 5, 95, 0, 0, 524, 525, 5, 2, 0, 0, 525, 526, 5, 3, 0, 0, 526, 531, 3, 114, 57, 0, 527, 528, 5, 1, 0, 0, 528, 530, 3, 114, 57, 0, 529, 527, 1, 0, 0, 0, 530, 533, 1, 0, 0, 0, 531, 529, 1, 0, 0, 0, 531, 532, 1, 0, 0, 0, 532, 534, 1, 0, 0, 0, 533, 531, 1, 0, 0, 0, 534, 535, 5, 4, 0, 0, 535, 113, 1, 0, 0, 0, 536, 537, 5, 5, 0, 0, 537, 542, 3, 116, 58, 0, 538, 539, 5, 1, 0, 0, 539, 541, 3, 116, 58, 0, 540, 538, 1, 0, 0, 0, 541, 544, 1, 0, 0, 0, 542, 540, 1, 0, 0, 0, 542, 543, 1, 0, 0, 0, 543, 545, 1, 0, 0, 0, 544, 542, 1, 0, 0, 0, 545, 546, 5, 6, 0, 0, 546, 115, 1, 0, 0, 0, 547, 551, 3, 104, 52, 0, 548, 551, 3, 28, 14, 0, 549, 551, 3, 20, 10, 0, 550, 547, 1, 0, 0, 0, 550, 548, 1, 0, 0, 0, 550, 549, 1, 0, 0, 0, 551, 117, 1, 0, 0, 0, 552, 553, 7, 2, 0, 0, 553, 119, 1, 0, 0, 0, 554, 555, 7, 3, 0, 0, 555, 121, 1, 0, 0, 0, 556, 557, 7, 4, 0, 0, 557, 123, 1, 0, 0, 0, 558, 561, 3, 122, 61, 0, 559, 561, 3, 134, 67, 0, 560, 558, 1, 0, 0, 0, 560, 559, 1, 0, 0, 0, 561, 125, 1, 0, 0, 0, 562, 563, 5, 5, 0, 0, 563, 568, 3, 128, 64, 0, 564, 565, 5, 1, 0, 0, 565, 567, 3, 128, 64, 0, 566, 564, 1, 0, 0, 0, 567, 570, 1, 0, 0, 0, 568, 566, 1, 0, 0, 0, 568, 569, 1, 0, 0, 0, 569, 571, 1, 0, 0, 0, 570, 568, 1, 0, 0, 0, 571, 572, 5, 6, 0, 0, 572, 576, 1, 0, 0, 0, 573, 574, 5, 5, 0, 0, 574, 576, 5, 6, 0, 0, 575, 562, 1, 0, 0, 0, 575, 573, 1, 0, 0, 0, 576, 127, 1, 0, 0, 0, 577, 578, 3, 134, 67, 0, 578, 579, 5, 2, 0, 0, 579, 580, 3, 132, 66, 0, 580, 129, 1, 0, 0, 0, 581, 582, 5, 3, 0, 0, 582, 587, 3, 132, 66, 0, 583, 584, 5, 1, 0, 0, 584, 586, 3, 132, 66, 0, 585, 583, 1, 0, 0, 0, 586, 589, 1, 0, 0, 0, 587, 585, 1, 0, 0, 0, 587, 588, 1, 0, 0, 0, 588, 590, 1, 0, 0, 0, 589, 587, 1, 0, 0, 0, 590, 591, 5, 4, 0, 0, 591, 595, 1, 0, 0, 0, 592, 593, 5, 3, 0, 0, 593, 595, 5, 4, 0, 0, 594, 581, 1, 0, 0, 0, 594, 592, 1, 0, 0, 0, 595, 131, 1, 0, 0, 0, 596, 606, 5, 115, 0, 0, 597, 606, 5, 114, 0, 0, 598, 606, 5, 7, 0, 0, 599, 606, 5, 8, 0, 0, 600, 606, 5, 9, 0, 0, 601, 606, 3, 128, 64, 0, 602, 606, 3, 130, 65, 0, 603, 606, 3, 126, 63, 0, 604, 606, 3, 134, 67, 0, 605, 596, 1, 0, 0, 0, 605, 597, 1, 0, 0, 0, 605, 598, 1, 0, 0, 0, 605, 599, 1, 0, 0, 0, 605, 600, 1, 0, 0, 0, 605, 601, 1, 0, 0, 0, 605, 602, 1, 0, 0, 0, 605, 603, 1, 0, 0, 0, 605, 604, 1, 0, 0, 0, 606, 133, 1, 0, 0, 0, 607, 652, 5, 113, 0, 0, 608, 652, 5, 110, 0, 0, 609, 652, 5, 112, 0, 0, 610, 652, 5, 111, 0, 0, 611, 652, 5, 10, 0, 0, 612, 652, 5, 11, 0, 0, 613, 652, 5, 12, 0, 0, 614, 652, 5, 13, 0, 0, 615, 652, 5, 14, 0, 0, 616, 652, 5, 15, 0, 0, 617, 652, 5, 16, 0, 0, 618, 652, 5, 23, 0, 0, 619, 652, 5, 17, 0, 0, 620, 652, 5, 20, 0, 0, 621, 652, 5, 21, 0, 0, 622, 652, 5, 22, 0, 0, 623, 652, 5, 18, 0, 0, 624, 652, 5, 24, 0, 0, 625, 652, 5, 78, 0, 0, 626, 652, 5, 83, 0, 0, 627, 652, 5, 87, 0, 0, 628, 652, 5, 88, 0, 0, 629, 652, 5, 89, 0, 0, 630, 652, 5, 25, 0, 0, 631, 652, 5, 81, 0, 0, 632, 652, 5, 74, 0, 0, 633, 652, 5, 73, 0, 0, 634, 652, 5, 75, 0, 0, 635, 652, 5, 80, 0, 0, 636, 652, 5, 82, 0, 0, 637, 652, 5, 79, 0, 0, 638, 652, 5, 69, 0, 0, 639, 652, 5, 70, 0, 0, 640, 652, 5, 71, 0, 0, 641, 652, 5, 72, 0, 0, 642, 652, 5, 90, 0, 0, 643, 652, 5, 91, 0, 0, 644, 652, 5, 92, 0, 0, 645, 652, 5, 93, 0, 0, 646, 652, 5, 94, 0, 0, 647, 652, 5, 95, 0, 0, 648, 652, 3, 84, 42, 0, 649, 652, 3, 120, 60, 0, 650, 652, 3, 122, 61, 0, 651, 607, 1, 0, 0, 0, 651, 608, 1, 0, 0, 0, 651, 609, 1, 0, 0, 0, 651, 610, 1, 0, 0, 0, 651, 611, 1, 0, 0, 0, 651, 612, 1, 0, 0, 0, 651, 613, 1, 0, 0, 0, 651, 614, 1, 0, 0, 0, 651, 615, 1, 0, 0, 0, 651, 616, 1, 0, 0, 0, 651, 617, 1, 0, 0, 0, 651, 618, 1, 0, 0, 0, 651, 619, 1, 0, 0, 0, 651, 620, 1, 0, 0, 0, 651, 621, 1, 0, 0, 0, 651, 622, 1, 0, 0, 0, 651, 623, 1, 0, 0, 0, 651, 624, 1, 0, 0, 0, 651, 625, 1, 0, 0, 0, 651, 626, 1, 0, 0, 0, 651, 627, 1, 0, 0, 0, 651, 628, 1, 0, 0, 0, 651, 629, 1, 0, 0, 0, 651, 630, 1, 0, 0, 0, 651, 631, 1, 0, 0, 0, 651, 632, 1, 0, 0, 0, 651, 633, 1, 0, 0, 0, 651, 634, 1, 0, 0, 0, 651, 635, 1, 0, 0, 0, 651, 636, 1, 0, 0, 0, 651, 637, 1, 0, 0, 0, 651, 638, 1, 0, 0, 0, 651, 639, 1, 0, 0, 0, 651, 640, 1, 0, 0, 0, 651, 641, 1, 0, 0, 0, 651, 642, 1, 0, 0, 0, 651, 643, 1, 0, 0, 0, 651, 644, 1, 0, 0, 0, 651, 645, 1, 0, 0, 0, 651, 646, 1, 0, 0, 0, 651, 647, 1, 0, 0, 0, 651, 648, 1, 0, 0, 0, 651, 649, 1, 0, 0, 0, 651, 650, 1, 0, 0, 0, 652, 135, 1, 0, 0, 0, 38, 142, 150, 185, 195, 212, 295, 302, 317, 327, 334, 340, 347, 363, 374, 382, 389, 393, 404, 408, 426, 439, 448, 455, 457, 476, 487, 496, 506, 531, 542, 550, 560, 568, 575, 587, 594, 605, 651] \ No newline at end of file +[4, 1, 116, 656, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 1, 0, 1, 0, 1, 0, 1, 0, 5, 0, 141, 8, 0, 10, 0, 12, 0, 144, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 151, 8, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 186, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 194, 8, 5, 10, 5, 12, 5, 197, 9, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 211, 8, 8, 10, 8, 12, 8, 214, 9, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 242, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 296, 8, 27, 10, 27, 12, 27, 299, 9, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 305, 8, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 3, 28, 320, 8, 28, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 328, 8, 30, 10, 30, 12, 30, 331, 9, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 337, 8, 30, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 343, 8, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 350, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 364, 8, 35, 10, 35, 12, 35, 367, 9, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 5, 36, 375, 8, 36, 10, 36, 12, 36, 378, 9, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 3, 37, 385, 8, 37, 1, 38, 1, 38, 1, 38, 4, 38, 390, 8, 38, 11, 38, 12, 38, 391, 1, 39, 1, 39, 3, 39, 396, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 4, 40, 405, 8, 40, 11, 40, 12, 40, 406, 1, 40, 1, 40, 3, 40, 411, 8, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 5, 43, 427, 8, 43, 10, 43, 12, 43, 430, 9, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 440, 8, 44, 10, 44, 12, 44, 443, 9, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 451, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 458, 8, 46, 10, 46, 12, 46, 461, 9, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 477, 8, 49, 10, 49, 12, 49, 480, 9, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 5, 50, 488, 8, 50, 10, 50, 12, 50, 491, 9, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 499, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 507, 8, 52, 10, 52, 12, 52, 510, 9, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 532, 8, 56, 10, 56, 12, 56, 535, 9, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 543, 8, 57, 10, 57, 12, 57, 546, 9, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 3, 58, 553, 8, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 3, 62, 563, 8, 62, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 569, 8, 63, 10, 63, 12, 63, 572, 9, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 578, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 588, 8, 65, 10, 65, 12, 65, 591, 9, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 597, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 608, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 654, 8, 67, 1, 67, 0, 0, 68, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 0, 5, 1, 0, 7, 8, 1, 0, 15, 22, 3, 0, 28, 35, 37, 46, 48, 68, 3, 0, 27, 27, 36, 36, 47, 47, 1, 0, 96, 108, 712, 0, 136, 1, 0, 0, 0, 2, 150, 1, 0, 0, 0, 4, 152, 1, 0, 0, 0, 6, 156, 1, 0, 0, 0, 8, 185, 1, 0, 0, 0, 10, 187, 1, 0, 0, 0, 12, 200, 1, 0, 0, 0, 14, 202, 1, 0, 0, 0, 16, 206, 1, 0, 0, 0, 18, 217, 1, 0, 0, 0, 20, 221, 1, 0, 0, 0, 22, 225, 1, 0, 0, 0, 24, 229, 1, 0, 0, 0, 26, 233, 1, 0, 0, 0, 28, 237, 1, 0, 0, 0, 30, 243, 1, 0, 0, 0, 32, 247, 1, 0, 0, 0, 34, 251, 1, 0, 0, 0, 36, 255, 1, 0, 0, 0, 38, 259, 1, 0, 0, 0, 40, 263, 1, 0, 0, 0, 42, 267, 1, 0, 0, 0, 44, 271, 1, 0, 0, 0, 46, 275, 1, 0, 0, 0, 48, 279, 1, 0, 0, 0, 50, 283, 1, 0, 0, 0, 52, 287, 1, 0, 0, 0, 54, 304, 1, 0, 0, 0, 56, 319, 1, 0, 0, 0, 58, 321, 1, 0, 0, 0, 60, 336, 1, 0, 0, 0, 62, 342, 1, 0, 0, 0, 64, 349, 1, 0, 0, 0, 66, 351, 1, 0, 0, 0, 68, 355, 1, 0, 0, 0, 70, 357, 1, 0, 0, 0, 72, 370, 1, 0, 0, 0, 74, 384, 1, 0, 0, 0, 76, 386, 1, 0, 0, 0, 78, 395, 1, 0, 0, 0, 80, 397, 1, 0, 0, 0, 82, 412, 1, 0, 0, 0, 84, 416, 1, 0, 0, 0, 86, 420, 1, 0, 0, 0, 88, 433, 1, 0, 0, 0, 90, 450, 1, 0, 0, 0, 92, 452, 1, 0, 0, 0, 94, 464, 1, 0, 0, 0, 96, 468, 1, 0, 0, 0, 98, 470, 1, 0, 0, 0, 100, 483, 1, 0, 0, 0, 102, 498, 1, 0, 0, 0, 104, 500, 1, 0, 0, 0, 106, 513, 1, 0, 0, 0, 108, 517, 1, 0, 0, 0, 110, 521, 1, 0, 0, 0, 112, 525, 1, 0, 0, 0, 114, 538, 1, 0, 0, 0, 116, 552, 1, 0, 0, 0, 118, 554, 1, 0, 0, 0, 120, 556, 1, 0, 0, 0, 122, 558, 1, 0, 0, 0, 124, 562, 1, 0, 0, 0, 126, 577, 1, 0, 0, 0, 128, 579, 1, 0, 0, 0, 130, 596, 1, 0, 0, 0, 132, 607, 1, 0, 0, 0, 134, 653, 1, 0, 0, 0, 136, 137, 5, 5, 0, 0, 137, 142, 3, 2, 1, 0, 138, 139, 5, 1, 0, 0, 139, 141, 3, 2, 1, 0, 140, 138, 1, 0, 0, 0, 141, 144, 1, 0, 0, 0, 142, 140, 1, 0, 0, 0, 142, 143, 1, 0, 0, 0, 143, 145, 1, 0, 0, 0, 144, 142, 1, 0, 0, 0, 145, 146, 5, 6, 0, 0, 146, 1, 1, 0, 0, 0, 147, 151, 3, 6, 3, 0, 148, 151, 3, 4, 2, 0, 149, 151, 3, 10, 5, 0, 150, 147, 1, 0, 0, 0, 150, 148, 1, 0, 0, 0, 150, 149, 1, 0, 0, 0, 151, 3, 1, 0, 0, 0, 152, 153, 5, 12, 0, 0, 153, 154, 5, 2, 0, 0, 154, 155, 3, 134, 67, 0, 155, 5, 1, 0, 0, 0, 156, 157, 5, 10, 0, 0, 157, 158, 5, 2, 0, 0, 158, 159, 3, 134, 67, 0, 159, 7, 1, 0, 0, 0, 160, 186, 3, 6, 3, 0, 161, 186, 3, 18, 9, 0, 162, 186, 3, 24, 12, 0, 163, 186, 3, 22, 11, 0, 164, 186, 3, 20, 10, 0, 165, 186, 3, 26, 13, 0, 166, 186, 3, 28, 14, 0, 167, 186, 3, 30, 15, 0, 168, 186, 3, 32, 16, 0, 169, 186, 3, 34, 17, 0, 170, 186, 3, 70, 35, 0, 171, 186, 3, 36, 18, 0, 172, 186, 3, 38, 19, 0, 173, 186, 3, 40, 20, 0, 174, 186, 3, 42, 21, 0, 175, 186, 3, 44, 22, 0, 176, 186, 3, 46, 23, 0, 177, 186, 3, 48, 24, 0, 178, 186, 3, 88, 44, 0, 179, 186, 3, 50, 25, 0, 180, 186, 3, 86, 43, 0, 181, 186, 3, 52, 26, 0, 182, 186, 3, 98, 49, 0, 183, 186, 3, 112, 56, 0, 184, 186, 3, 66, 33, 0, 185, 160, 1, 0, 0, 0, 185, 161, 1, 0, 0, 0, 185, 162, 1, 0, 0, 0, 185, 163, 1, 0, 0, 0, 185, 164, 1, 0, 0, 0, 185, 165, 1, 0, 0, 0, 185, 166, 1, 0, 0, 0, 185, 167, 1, 0, 0, 0, 185, 168, 1, 0, 0, 0, 185, 169, 1, 0, 0, 0, 185, 170, 1, 0, 0, 0, 185, 171, 1, 0, 0, 0, 185, 172, 1, 0, 0, 0, 185, 173, 1, 0, 0, 0, 185, 174, 1, 0, 0, 0, 185, 175, 1, 0, 0, 0, 185, 176, 1, 0, 0, 0, 185, 177, 1, 0, 0, 0, 185, 178, 1, 0, 0, 0, 185, 179, 1, 0, 0, 0, 185, 180, 1, 0, 0, 0, 185, 181, 1, 0, 0, 0, 185, 182, 1, 0, 0, 0, 185, 183, 1, 0, 0, 0, 185, 184, 1, 0, 0, 0, 186, 9, 1, 0, 0, 0, 187, 188, 5, 11, 0, 0, 188, 189, 5, 2, 0, 0, 189, 190, 5, 5, 0, 0, 190, 195, 3, 14, 7, 0, 191, 192, 5, 1, 0, 0, 192, 194, 3, 14, 7, 0, 193, 191, 1, 0, 0, 0, 194, 197, 1, 0, 0, 0, 195, 193, 1, 0, 0, 0, 195, 196, 1, 0, 0, 0, 196, 198, 1, 0, 0, 0, 197, 195, 1, 0, 0, 0, 198, 199, 5, 6, 0, 0, 199, 11, 1, 0, 0, 0, 200, 201, 3, 134, 67, 0, 201, 13, 1, 0, 0, 0, 202, 203, 3, 12, 6, 0, 203, 204, 5, 2, 0, 0, 204, 205, 3, 16, 8, 0, 205, 15, 1, 0, 0, 0, 206, 207, 5, 5, 0, 0, 207, 212, 3, 8, 4, 0, 208, 209, 5, 1, 0, 0, 209, 211, 3, 8, 4, 0, 210, 208, 1, 0, 0, 0, 211, 214, 1, 0, 0, 0, 212, 210, 1, 0, 0, 0, 212, 213, 1, 0, 0, 0, 213, 215, 1, 0, 0, 0, 214, 212, 1, 0, 0, 0, 215, 216, 5, 6, 0, 0, 216, 17, 1, 0, 0, 0, 217, 218, 5, 14, 0, 0, 218, 219, 5, 2, 0, 0, 219, 220, 3, 68, 34, 0, 220, 19, 1, 0, 0, 0, 221, 222, 5, 86, 0, 0, 222, 223, 5, 2, 0, 0, 223, 224, 3, 134, 67, 0, 224, 21, 1, 0, 0, 0, 225, 226, 5, 78, 0, 0, 226, 227, 5, 2, 0, 0, 227, 228, 3, 134, 67, 0, 228, 23, 1, 0, 0, 0, 229, 230, 5, 79, 0, 0, 230, 231, 5, 2, 0, 0, 231, 232, 3, 134, 67, 0, 232, 25, 1, 0, 0, 0, 233, 234, 5, 83, 0, 0, 234, 235, 5, 2, 0, 0, 235, 236, 3, 132, 66, 0, 236, 27, 1, 0, 0, 0, 237, 238, 5, 82, 0, 0, 238, 241, 5, 2, 0, 0, 239, 242, 3, 134, 67, 0, 240, 242, 5, 9, 0, 0, 241, 239, 1, 0, 0, 0, 241, 240, 1, 0, 0, 0, 242, 29, 1, 0, 0, 0, 243, 244, 5, 80, 0, 0, 244, 245, 5, 2, 0, 0, 245, 246, 3, 134, 67, 0, 246, 31, 1, 0, 0, 0, 247, 248, 5, 87, 0, 0, 248, 249, 5, 2, 0, 0, 249, 250, 7, 0, 0, 0, 250, 33, 1, 0, 0, 0, 251, 252, 5, 25, 0, 0, 252, 253, 5, 2, 0, 0, 253, 254, 3, 134, 67, 0, 254, 35, 1, 0, 0, 0, 255, 256, 5, 89, 0, 0, 256, 257, 5, 2, 0, 0, 257, 258, 3, 134, 67, 0, 258, 37, 1, 0, 0, 0, 259, 260, 5, 88, 0, 0, 260, 261, 5, 2, 0, 0, 261, 262, 3, 134, 67, 0, 262, 39, 1, 0, 0, 0, 263, 264, 5, 70, 0, 0, 264, 265, 5, 2, 0, 0, 265, 266, 5, 114, 0, 0, 266, 41, 1, 0, 0, 0, 267, 268, 5, 69, 0, 0, 268, 269, 5, 2, 0, 0, 269, 270, 3, 134, 67, 0, 270, 43, 1, 0, 0, 0, 271, 272, 5, 72, 0, 0, 272, 273, 5, 2, 0, 0, 273, 274, 3, 134, 67, 0, 274, 45, 1, 0, 0, 0, 275, 276, 5, 71, 0, 0, 276, 277, 5, 2, 0, 0, 277, 278, 3, 134, 67, 0, 278, 47, 1, 0, 0, 0, 279, 280, 5, 81, 0, 0, 280, 281, 5, 2, 0, 0, 281, 282, 3, 134, 67, 0, 282, 49, 1, 0, 0, 0, 283, 284, 5, 77, 0, 0, 284, 285, 5, 2, 0, 0, 285, 286, 5, 114, 0, 0, 286, 51, 1, 0, 0, 0, 287, 288, 5, 84, 0, 0, 288, 289, 5, 2, 0, 0, 289, 290, 3, 54, 27, 0, 290, 53, 1, 0, 0, 0, 291, 292, 5, 5, 0, 0, 292, 297, 3, 56, 28, 0, 293, 294, 5, 1, 0, 0, 294, 296, 3, 56, 28, 0, 295, 293, 1, 0, 0, 0, 296, 299, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 297, 298, 1, 0, 0, 0, 298, 300, 1, 0, 0, 0, 299, 297, 1, 0, 0, 0, 300, 301, 5, 6, 0, 0, 301, 305, 1, 0, 0, 0, 302, 303, 5, 5, 0, 0, 303, 305, 5, 6, 0, 0, 304, 291, 1, 0, 0, 0, 304, 302, 1, 0, 0, 0, 305, 55, 1, 0, 0, 0, 306, 307, 5, 110, 0, 0, 307, 308, 5, 2, 0, 0, 308, 320, 5, 112, 0, 0, 309, 310, 5, 110, 0, 0, 310, 311, 5, 2, 0, 0, 311, 320, 5, 111, 0, 0, 312, 313, 5, 110, 0, 0, 313, 314, 5, 2, 0, 0, 314, 320, 3, 58, 29, 0, 315, 316, 3, 134, 67, 0, 316, 317, 5, 2, 0, 0, 317, 318, 3, 62, 31, 0, 318, 320, 1, 0, 0, 0, 319, 306, 1, 0, 0, 0, 319, 309, 1, 0, 0, 0, 319, 312, 1, 0, 0, 0, 319, 315, 1, 0, 0, 0, 320, 57, 1, 0, 0, 0, 321, 322, 5, 113, 0, 0, 322, 59, 1, 0, 0, 0, 323, 324, 5, 3, 0, 0, 324, 329, 3, 62, 31, 0, 325, 326, 5, 1, 0, 0, 326, 328, 3, 62, 31, 0, 327, 325, 1, 0, 0, 0, 328, 331, 1, 0, 0, 0, 329, 327, 1, 0, 0, 0, 329, 330, 1, 0, 0, 0, 330, 332, 1, 0, 0, 0, 331, 329, 1, 0, 0, 0, 332, 333, 5, 4, 0, 0, 333, 337, 1, 0, 0, 0, 334, 335, 5, 3, 0, 0, 335, 337, 5, 4, 0, 0, 336, 323, 1, 0, 0, 0, 336, 334, 1, 0, 0, 0, 337, 61, 1, 0, 0, 0, 338, 343, 3, 56, 28, 0, 339, 343, 3, 60, 30, 0, 340, 343, 3, 54, 27, 0, 341, 343, 3, 64, 32, 0, 342, 338, 1, 0, 0, 0, 342, 339, 1, 0, 0, 0, 342, 340, 1, 0, 0, 0, 342, 341, 1, 0, 0, 0, 343, 63, 1, 0, 0, 0, 344, 350, 5, 115, 0, 0, 345, 350, 5, 114, 0, 0, 346, 350, 7, 0, 0, 0, 347, 350, 5, 9, 0, 0, 348, 350, 3, 134, 67, 0, 349, 344, 1, 0, 0, 0, 349, 345, 1, 0, 0, 0, 349, 346, 1, 0, 0, 0, 349, 347, 1, 0, 0, 0, 349, 348, 1, 0, 0, 0, 350, 65, 1, 0, 0, 0, 351, 352, 5, 85, 0, 0, 352, 353, 5, 2, 0, 0, 353, 354, 3, 54, 27, 0, 354, 67, 1, 0, 0, 0, 355, 356, 7, 1, 0, 0, 356, 69, 1, 0, 0, 0, 357, 358, 5, 23, 0, 0, 358, 359, 5, 2, 0, 0, 359, 360, 5, 3, 0, 0, 360, 365, 3, 72, 36, 0, 361, 362, 5, 1, 0, 0, 362, 364, 3, 72, 36, 0, 363, 361, 1, 0, 0, 0, 364, 367, 1, 0, 0, 0, 365, 363, 1, 0, 0, 0, 365, 366, 1, 0, 0, 0, 366, 368, 1, 0, 0, 0, 367, 365, 1, 0, 0, 0, 368, 369, 5, 4, 0, 0, 369, 71, 1, 0, 0, 0, 370, 371, 5, 5, 0, 0, 371, 376, 3, 74, 37, 0, 372, 373, 5, 1, 0, 0, 373, 375, 3, 74, 37, 0, 374, 372, 1, 0, 0, 0, 375, 378, 1, 0, 0, 0, 376, 374, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 379, 1, 0, 0, 0, 378, 376, 1, 0, 0, 0, 379, 380, 5, 6, 0, 0, 380, 73, 1, 0, 0, 0, 381, 385, 3, 76, 38, 0, 382, 385, 3, 80, 40, 0, 383, 385, 3, 20, 10, 0, 384, 381, 1, 0, 0, 0, 384, 382, 1, 0, 0, 0, 384, 383, 1, 0, 0, 0, 385, 75, 1, 0, 0, 0, 386, 389, 3, 78, 39, 0, 387, 388, 5, 1, 0, 0, 388, 390, 3, 78, 39, 0, 389, 387, 1, 0, 0, 0, 390, 391, 1, 0, 0, 0, 391, 389, 1, 0, 0, 0, 391, 392, 1, 0, 0, 0, 392, 77, 1, 0, 0, 0, 393, 396, 3, 82, 41, 0, 394, 396, 3, 84, 42, 0, 395, 393, 1, 0, 0, 0, 395, 394, 1, 0, 0, 0, 396, 79, 1, 0, 0, 0, 397, 398, 3, 120, 60, 0, 398, 410, 5, 2, 0, 0, 399, 411, 3, 72, 36, 0, 400, 401, 5, 3, 0, 0, 401, 404, 3, 72, 36, 0, 402, 403, 5, 1, 0, 0, 403, 405, 3, 72, 36, 0, 404, 402, 1, 0, 0, 0, 405, 406, 1, 0, 0, 0, 406, 404, 1, 0, 0, 0, 406, 407, 1, 0, 0, 0, 407, 408, 1, 0, 0, 0, 408, 409, 5, 4, 0, 0, 409, 411, 1, 0, 0, 0, 410, 399, 1, 0, 0, 0, 410, 400, 1, 0, 0, 0, 411, 81, 1, 0, 0, 0, 412, 413, 5, 24, 0, 0, 413, 414, 5, 2, 0, 0, 414, 415, 3, 134, 67, 0, 415, 83, 1, 0, 0, 0, 416, 417, 3, 118, 59, 0, 417, 418, 5, 2, 0, 0, 418, 419, 3, 132, 66, 0, 419, 85, 1, 0, 0, 0, 420, 421, 5, 26, 0, 0, 421, 422, 5, 2, 0, 0, 422, 423, 5, 3, 0, 0, 423, 428, 3, 0, 0, 0, 424, 425, 5, 1, 0, 0, 425, 427, 3, 0, 0, 0, 426, 424, 1, 0, 0, 0, 427, 430, 1, 0, 0, 0, 428, 426, 1, 0, 0, 0, 428, 429, 1, 0, 0, 0, 429, 431, 1, 0, 0, 0, 430, 428, 1, 0, 0, 0, 431, 432, 5, 4, 0, 0, 432, 87, 1, 0, 0, 0, 433, 434, 5, 76, 0, 0, 434, 435, 5, 2, 0, 0, 435, 436, 5, 5, 0, 0, 436, 441, 3, 90, 45, 0, 437, 438, 5, 1, 0, 0, 438, 440, 3, 90, 45, 0, 439, 437, 1, 0, 0, 0, 440, 443, 1, 0, 0, 0, 441, 439, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 444, 1, 0, 0, 0, 443, 441, 1, 0, 0, 0, 444, 445, 5, 6, 0, 0, 445, 89, 1, 0, 0, 0, 446, 451, 3, 92, 46, 0, 447, 451, 3, 4, 2, 0, 448, 451, 3, 10, 5, 0, 449, 451, 3, 6, 3, 0, 450, 446, 1, 0, 0, 0, 450, 447, 1, 0, 0, 0, 450, 448, 1, 0, 0, 0, 450, 449, 1, 0, 0, 0, 451, 91, 1, 0, 0, 0, 452, 453, 5, 73, 0, 0, 453, 454, 5, 2, 0, 0, 454, 459, 5, 5, 0, 0, 455, 458, 3, 94, 47, 0, 456, 458, 3, 128, 64, 0, 457, 455, 1, 0, 0, 0, 457, 456, 1, 0, 0, 0, 458, 461, 1, 0, 0, 0, 459, 457, 1, 0, 0, 0, 459, 460, 1, 0, 0, 0, 460, 462, 1, 0, 0, 0, 461, 459, 1, 0, 0, 0, 462, 463, 5, 6, 0, 0, 463, 93, 1, 0, 0, 0, 464, 465, 5, 74, 0, 0, 465, 466, 5, 2, 0, 0, 466, 467, 3, 96, 48, 0, 467, 95, 1, 0, 0, 0, 468, 469, 5, 75, 0, 0, 469, 97, 1, 0, 0, 0, 470, 471, 5, 90, 0, 0, 471, 472, 5, 2, 0, 0, 472, 473, 5, 3, 0, 0, 473, 478, 3, 100, 50, 0, 474, 475, 5, 1, 0, 0, 475, 477, 3, 98, 49, 0, 476, 474, 1, 0, 0, 0, 477, 480, 1, 0, 0, 0, 478, 476, 1, 0, 0, 0, 478, 479, 1, 0, 0, 0, 479, 481, 1, 0, 0, 0, 480, 478, 1, 0, 0, 0, 481, 482, 5, 4, 0, 0, 482, 99, 1, 0, 0, 0, 483, 484, 5, 5, 0, 0, 484, 489, 3, 102, 51, 0, 485, 486, 5, 1, 0, 0, 486, 488, 3, 102, 51, 0, 487, 485, 1, 0, 0, 0, 488, 491, 1, 0, 0, 0, 489, 487, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 492, 1, 0, 0, 0, 491, 489, 1, 0, 0, 0, 492, 493, 5, 6, 0, 0, 493, 101, 1, 0, 0, 0, 494, 499, 3, 104, 52, 0, 495, 499, 3, 106, 53, 0, 496, 499, 3, 108, 54, 0, 497, 499, 3, 110, 55, 0, 498, 494, 1, 0, 0, 0, 498, 495, 1, 0, 0, 0, 498, 496, 1, 0, 0, 0, 498, 497, 1, 0, 0, 0, 499, 103, 1, 0, 0, 0, 500, 501, 5, 91, 0, 0, 501, 502, 5, 2, 0, 0, 502, 503, 5, 3, 0, 0, 503, 508, 3, 124, 62, 0, 504, 505, 5, 1, 0, 0, 505, 507, 3, 124, 62, 0, 506, 504, 1, 0, 0, 0, 507, 510, 1, 0, 0, 0, 508, 506, 1, 0, 0, 0, 508, 509, 1, 0, 0, 0, 509, 511, 1, 0, 0, 0, 510, 508, 1, 0, 0, 0, 511, 512, 5, 4, 0, 0, 512, 105, 1, 0, 0, 0, 513, 514, 5, 92, 0, 0, 514, 515, 5, 2, 0, 0, 515, 516, 5, 114, 0, 0, 516, 107, 1, 0, 0, 0, 517, 518, 5, 93, 0, 0, 518, 519, 5, 2, 0, 0, 519, 520, 5, 114, 0, 0, 520, 109, 1, 0, 0, 0, 521, 522, 5, 94, 0, 0, 522, 523, 5, 2, 0, 0, 523, 524, 5, 115, 0, 0, 524, 111, 1, 0, 0, 0, 525, 526, 5, 95, 0, 0, 526, 527, 5, 2, 0, 0, 527, 528, 5, 3, 0, 0, 528, 533, 3, 114, 57, 0, 529, 530, 5, 1, 0, 0, 530, 532, 3, 114, 57, 0, 531, 529, 1, 0, 0, 0, 532, 535, 1, 0, 0, 0, 533, 531, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, 534, 536, 1, 0, 0, 0, 535, 533, 1, 0, 0, 0, 536, 537, 5, 4, 0, 0, 537, 113, 1, 0, 0, 0, 538, 539, 5, 5, 0, 0, 539, 544, 3, 116, 58, 0, 540, 541, 5, 1, 0, 0, 541, 543, 3, 116, 58, 0, 542, 540, 1, 0, 0, 0, 543, 546, 1, 0, 0, 0, 544, 542, 1, 0, 0, 0, 544, 545, 1, 0, 0, 0, 545, 547, 1, 0, 0, 0, 546, 544, 1, 0, 0, 0, 547, 548, 5, 6, 0, 0, 548, 115, 1, 0, 0, 0, 549, 553, 3, 104, 52, 0, 550, 553, 3, 28, 14, 0, 551, 553, 3, 20, 10, 0, 552, 549, 1, 0, 0, 0, 552, 550, 1, 0, 0, 0, 552, 551, 1, 0, 0, 0, 553, 117, 1, 0, 0, 0, 554, 555, 7, 2, 0, 0, 555, 119, 1, 0, 0, 0, 556, 557, 7, 3, 0, 0, 557, 121, 1, 0, 0, 0, 558, 559, 7, 4, 0, 0, 559, 123, 1, 0, 0, 0, 560, 563, 3, 122, 61, 0, 561, 563, 3, 134, 67, 0, 562, 560, 1, 0, 0, 0, 562, 561, 1, 0, 0, 0, 563, 125, 1, 0, 0, 0, 564, 565, 5, 5, 0, 0, 565, 570, 3, 128, 64, 0, 566, 567, 5, 1, 0, 0, 567, 569, 3, 128, 64, 0, 568, 566, 1, 0, 0, 0, 569, 572, 1, 0, 0, 0, 570, 568, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 571, 573, 1, 0, 0, 0, 572, 570, 1, 0, 0, 0, 573, 574, 5, 6, 0, 0, 574, 578, 1, 0, 0, 0, 575, 576, 5, 5, 0, 0, 576, 578, 5, 6, 0, 0, 577, 564, 1, 0, 0, 0, 577, 575, 1, 0, 0, 0, 578, 127, 1, 0, 0, 0, 579, 580, 3, 134, 67, 0, 580, 581, 5, 2, 0, 0, 581, 582, 3, 132, 66, 0, 582, 129, 1, 0, 0, 0, 583, 584, 5, 3, 0, 0, 584, 589, 3, 132, 66, 0, 585, 586, 5, 1, 0, 0, 586, 588, 3, 132, 66, 0, 587, 585, 1, 0, 0, 0, 588, 591, 1, 0, 0, 0, 589, 587, 1, 0, 0, 0, 589, 590, 1, 0, 0, 0, 590, 592, 1, 0, 0, 0, 591, 589, 1, 0, 0, 0, 592, 593, 5, 4, 0, 0, 593, 597, 1, 0, 0, 0, 594, 595, 5, 3, 0, 0, 595, 597, 5, 4, 0, 0, 596, 583, 1, 0, 0, 0, 596, 594, 1, 0, 0, 0, 597, 131, 1, 0, 0, 0, 598, 608, 5, 115, 0, 0, 599, 608, 5, 114, 0, 0, 600, 608, 5, 7, 0, 0, 601, 608, 5, 8, 0, 0, 602, 608, 5, 9, 0, 0, 603, 608, 3, 128, 64, 0, 604, 608, 3, 130, 65, 0, 605, 608, 3, 126, 63, 0, 606, 608, 3, 134, 67, 0, 607, 598, 1, 0, 0, 0, 607, 599, 1, 0, 0, 0, 607, 600, 1, 0, 0, 0, 607, 601, 1, 0, 0, 0, 607, 602, 1, 0, 0, 0, 607, 603, 1, 0, 0, 0, 607, 604, 1, 0, 0, 0, 607, 605, 1, 0, 0, 0, 607, 606, 1, 0, 0, 0, 608, 133, 1, 0, 0, 0, 609, 654, 5, 113, 0, 0, 610, 654, 5, 110, 0, 0, 611, 654, 5, 112, 0, 0, 612, 654, 5, 111, 0, 0, 613, 654, 5, 10, 0, 0, 614, 654, 5, 11, 0, 0, 615, 654, 5, 12, 0, 0, 616, 654, 5, 13, 0, 0, 617, 654, 5, 14, 0, 0, 618, 654, 5, 15, 0, 0, 619, 654, 5, 16, 0, 0, 620, 654, 5, 23, 0, 0, 621, 654, 5, 17, 0, 0, 622, 654, 5, 20, 0, 0, 623, 654, 5, 21, 0, 0, 624, 654, 5, 22, 0, 0, 625, 654, 5, 18, 0, 0, 626, 654, 5, 24, 0, 0, 627, 654, 5, 78, 0, 0, 628, 654, 5, 83, 0, 0, 629, 654, 5, 87, 0, 0, 630, 654, 5, 88, 0, 0, 631, 654, 5, 89, 0, 0, 632, 654, 5, 25, 0, 0, 633, 654, 5, 81, 0, 0, 634, 654, 5, 74, 0, 0, 635, 654, 5, 73, 0, 0, 636, 654, 5, 75, 0, 0, 637, 654, 5, 80, 0, 0, 638, 654, 5, 82, 0, 0, 639, 654, 5, 79, 0, 0, 640, 654, 5, 69, 0, 0, 641, 654, 5, 70, 0, 0, 642, 654, 5, 71, 0, 0, 643, 654, 5, 72, 0, 0, 644, 654, 5, 90, 0, 0, 645, 654, 5, 91, 0, 0, 646, 654, 5, 92, 0, 0, 647, 654, 5, 93, 0, 0, 648, 654, 5, 94, 0, 0, 649, 654, 5, 95, 0, 0, 650, 654, 3, 84, 42, 0, 651, 654, 3, 120, 60, 0, 652, 654, 3, 122, 61, 0, 653, 609, 1, 0, 0, 0, 653, 610, 1, 0, 0, 0, 653, 611, 1, 0, 0, 0, 653, 612, 1, 0, 0, 0, 653, 613, 1, 0, 0, 0, 653, 614, 1, 0, 0, 0, 653, 615, 1, 0, 0, 0, 653, 616, 1, 0, 0, 0, 653, 617, 1, 0, 0, 0, 653, 618, 1, 0, 0, 0, 653, 619, 1, 0, 0, 0, 653, 620, 1, 0, 0, 0, 653, 621, 1, 0, 0, 0, 653, 622, 1, 0, 0, 0, 653, 623, 1, 0, 0, 0, 653, 624, 1, 0, 0, 0, 653, 625, 1, 0, 0, 0, 653, 626, 1, 0, 0, 0, 653, 627, 1, 0, 0, 0, 653, 628, 1, 0, 0, 0, 653, 629, 1, 0, 0, 0, 653, 630, 1, 0, 0, 0, 653, 631, 1, 0, 0, 0, 653, 632, 1, 0, 0, 0, 653, 633, 1, 0, 0, 0, 653, 634, 1, 0, 0, 0, 653, 635, 1, 0, 0, 0, 653, 636, 1, 0, 0, 0, 653, 637, 1, 0, 0, 0, 653, 638, 1, 0, 0, 0, 653, 639, 1, 0, 0, 0, 653, 640, 1, 0, 0, 0, 653, 641, 1, 0, 0, 0, 653, 642, 1, 0, 0, 0, 653, 643, 1, 0, 0, 0, 653, 644, 1, 0, 0, 0, 653, 645, 1, 0, 0, 0, 653, 646, 1, 0, 0, 0, 653, 647, 1, 0, 0, 0, 653, 648, 1, 0, 0, 0, 653, 649, 1, 0, 0, 0, 653, 650, 1, 0, 0, 0, 653, 651, 1, 0, 0, 0, 653, 652, 1, 0, 0, 0, 654, 135, 1, 0, 0, 0, 39, 142, 150, 185, 195, 212, 241, 297, 304, 319, 329, 336, 342, 349, 365, 376, 384, 391, 395, 406, 410, 428, 441, 450, 457, 459, 478, 489, 498, 508, 533, 544, 552, 562, 570, 577, 589, 596, 607, 653] \ No newline at end of file diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.py b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.py index e5b39050ec801..e2160e3b08b92 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.py +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.py @@ -10,7 +10,7 @@ def serializedATN(): return [ - 4,1,116,654,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, + 4,1,116,656,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, 7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7, 13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2, 20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7, @@ -27,229 +27,229 @@ def serializedATN(): 1,5,1,5,1,5,5,5,194,8,5,10,5,12,5,197,9,5,1,5,1,5,1,6,1,6,1,7,1, 7,1,7,1,7,1,8,1,8,1,8,1,8,5,8,211,8,8,10,8,12,8,214,9,8,1,8,1,8, 1,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,11,1,11,1,11,1,11,1,12,1,12, - 1,12,1,12,1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,14,1,15,1,15,1,15, - 1,15,1,16,1,16,1,16,1,16,1,17,1,17,1,17,1,17,1,18,1,18,1,18,1,18, - 1,19,1,19,1,19,1,19,1,20,1,20,1,20,1,20,1,21,1,21,1,21,1,21,1,22, - 1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25, - 1,25,1,25,1,26,1,26,1,26,1,26,1,27,1,27,1,27,1,27,5,27,294,8,27, - 10,27,12,27,297,9,27,1,27,1,27,1,27,1,27,3,27,303,8,27,1,28,1,28, - 1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,318, - 8,28,1,29,1,29,1,30,1,30,1,30,1,30,5,30,326,8,30,10,30,12,30,329, - 9,30,1,30,1,30,1,30,1,30,3,30,335,8,30,1,31,1,31,1,31,1,31,3,31, - 341,8,31,1,32,1,32,1,32,1,32,1,32,3,32,348,8,32,1,33,1,33,1,33,1, - 33,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,5,35,362,8,35,10,35,12, - 35,365,9,35,1,35,1,35,1,36,1,36,1,36,1,36,5,36,373,8,36,10,36,12, - 36,376,9,36,1,36,1,36,1,37,1,37,1,37,3,37,383,8,37,1,38,1,38,1,38, - 4,38,388,8,38,11,38,12,38,389,1,39,1,39,3,39,394,8,39,1,40,1,40, - 1,40,1,40,1,40,1,40,1,40,4,40,403,8,40,11,40,12,40,404,1,40,1,40, - 3,40,409,8,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,43, - 1,43,1,43,1,43,1,43,5,43,425,8,43,10,43,12,43,428,9,43,1,43,1,43, - 1,44,1,44,1,44,1,44,1,44,1,44,5,44,438,8,44,10,44,12,44,441,9,44, - 1,44,1,44,1,45,1,45,1,45,1,45,3,45,449,8,45,1,46,1,46,1,46,1,46, - 1,46,5,46,456,8,46,10,46,12,46,459,9,46,1,46,1,46,1,47,1,47,1,47, - 1,47,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,5,49,475,8,49,10,49, - 12,49,478,9,49,1,49,1,49,1,50,1,50,1,50,1,50,5,50,486,8,50,10,50, - 12,50,489,9,50,1,50,1,50,1,51,1,51,1,51,1,51,3,51,497,8,51,1,52, - 1,52,1,52,1,52,1,52,1,52,5,52,505,8,52,10,52,12,52,508,9,52,1,52, - 1,52,1,53,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,55,1,55,1,55,1,55, - 1,56,1,56,1,56,1,56,1,56,1,56,5,56,530,8,56,10,56,12,56,533,9,56, - 1,56,1,56,1,57,1,57,1,57,1,57,5,57,541,8,57,10,57,12,57,544,9,57, - 1,57,1,57,1,58,1,58,1,58,3,58,551,8,58,1,59,1,59,1,60,1,60,1,61, - 1,61,1,62,1,62,3,62,561,8,62,1,63,1,63,1,63,1,63,5,63,567,8,63,10, - 63,12,63,570,9,63,1,63,1,63,1,63,1,63,3,63,576,8,63,1,64,1,64,1, - 64,1,64,1,65,1,65,1,65,1,65,5,65,586,8,65,10,65,12,65,589,9,65,1, - 65,1,65,1,65,1,65,3,65,595,8,65,1,66,1,66,1,66,1,66,1,66,1,66,1, - 66,1,66,1,66,3,66,606,8,66,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1, - 67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1, - 67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1, - 67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,3,67,652,8, - 67,1,67,0,0,68,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34, - 36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78, - 80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116, - 118,120,122,124,126,128,130,132,134,0,5,1,0,7,8,1,0,15,22,3,0,28, - 35,37,46,48,68,3,0,27,27,36,36,47,47,1,0,96,108,709,0,136,1,0,0, - 0,2,150,1,0,0,0,4,152,1,0,0,0,6,156,1,0,0,0,8,185,1,0,0,0,10,187, - 1,0,0,0,12,200,1,0,0,0,14,202,1,0,0,0,16,206,1,0,0,0,18,217,1,0, - 0,0,20,221,1,0,0,0,22,225,1,0,0,0,24,229,1,0,0,0,26,233,1,0,0,0, - 28,237,1,0,0,0,30,241,1,0,0,0,32,245,1,0,0,0,34,249,1,0,0,0,36,253, - 1,0,0,0,38,257,1,0,0,0,40,261,1,0,0,0,42,265,1,0,0,0,44,269,1,0, - 0,0,46,273,1,0,0,0,48,277,1,0,0,0,50,281,1,0,0,0,52,285,1,0,0,0, - 54,302,1,0,0,0,56,317,1,0,0,0,58,319,1,0,0,0,60,334,1,0,0,0,62,340, - 1,0,0,0,64,347,1,0,0,0,66,349,1,0,0,0,68,353,1,0,0,0,70,355,1,0, - 0,0,72,368,1,0,0,0,74,382,1,0,0,0,76,384,1,0,0,0,78,393,1,0,0,0, - 80,395,1,0,0,0,82,410,1,0,0,0,84,414,1,0,0,0,86,418,1,0,0,0,88,431, - 1,0,0,0,90,448,1,0,0,0,92,450,1,0,0,0,94,462,1,0,0,0,96,466,1,0, - 0,0,98,468,1,0,0,0,100,481,1,0,0,0,102,496,1,0,0,0,104,498,1,0,0, - 0,106,511,1,0,0,0,108,515,1,0,0,0,110,519,1,0,0,0,112,523,1,0,0, - 0,114,536,1,0,0,0,116,550,1,0,0,0,118,552,1,0,0,0,120,554,1,0,0, - 0,122,556,1,0,0,0,124,560,1,0,0,0,126,575,1,0,0,0,128,577,1,0,0, - 0,130,594,1,0,0,0,132,605,1,0,0,0,134,651,1,0,0,0,136,137,5,5,0, - 0,137,142,3,2,1,0,138,139,5,1,0,0,139,141,3,2,1,0,140,138,1,0,0, - 0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1,0,0, - 0,144,142,1,0,0,0,145,146,5,6,0,0,146,1,1,0,0,0,147,151,3,6,3,0, - 148,151,3,4,2,0,149,151,3,10,5,0,150,147,1,0,0,0,150,148,1,0,0,0, - 150,149,1,0,0,0,151,3,1,0,0,0,152,153,5,12,0,0,153,154,5,2,0,0,154, - 155,3,134,67,0,155,5,1,0,0,0,156,157,5,10,0,0,157,158,5,2,0,0,158, - 159,3,134,67,0,159,7,1,0,0,0,160,186,3,6,3,0,161,186,3,18,9,0,162, - 186,3,24,12,0,163,186,3,22,11,0,164,186,3,20,10,0,165,186,3,26,13, - 0,166,186,3,28,14,0,167,186,3,30,15,0,168,186,3,32,16,0,169,186, - 3,34,17,0,170,186,3,70,35,0,171,186,3,36,18,0,172,186,3,38,19,0, - 173,186,3,40,20,0,174,186,3,42,21,0,175,186,3,44,22,0,176,186,3, - 46,23,0,177,186,3,48,24,0,178,186,3,88,44,0,179,186,3,50,25,0,180, - 186,3,86,43,0,181,186,3,52,26,0,182,186,3,98,49,0,183,186,3,112, - 56,0,184,186,3,66,33,0,185,160,1,0,0,0,185,161,1,0,0,0,185,162,1, - 0,0,0,185,163,1,0,0,0,185,164,1,0,0,0,185,165,1,0,0,0,185,166,1, - 0,0,0,185,167,1,0,0,0,185,168,1,0,0,0,185,169,1,0,0,0,185,170,1, - 0,0,0,185,171,1,0,0,0,185,172,1,0,0,0,185,173,1,0,0,0,185,174,1, - 0,0,0,185,175,1,0,0,0,185,176,1,0,0,0,185,177,1,0,0,0,185,178,1, - 0,0,0,185,179,1,0,0,0,185,180,1,0,0,0,185,181,1,0,0,0,185,182,1, - 0,0,0,185,183,1,0,0,0,185,184,1,0,0,0,186,9,1,0,0,0,187,188,5,11, - 0,0,188,189,5,2,0,0,189,190,5,5,0,0,190,195,3,14,7,0,191,192,5,1, - 0,0,192,194,3,14,7,0,193,191,1,0,0,0,194,197,1,0,0,0,195,193,1,0, - 0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,195,1,0,0,0,198,199,5,6, - 0,0,199,11,1,0,0,0,200,201,3,134,67,0,201,13,1,0,0,0,202,203,3,12, - 6,0,203,204,5,2,0,0,204,205,3,16,8,0,205,15,1,0,0,0,206,207,5,5, - 0,0,207,212,3,8,4,0,208,209,5,1,0,0,209,211,3,8,4,0,210,208,1,0, - 0,0,211,214,1,0,0,0,212,210,1,0,0,0,212,213,1,0,0,0,213,215,1,0, - 0,0,214,212,1,0,0,0,215,216,5,6,0,0,216,17,1,0,0,0,217,218,5,14, - 0,0,218,219,5,2,0,0,219,220,3,68,34,0,220,19,1,0,0,0,221,222,5,86, - 0,0,222,223,5,2,0,0,223,224,3,134,67,0,224,21,1,0,0,0,225,226,5, - 78,0,0,226,227,5,2,0,0,227,228,3,134,67,0,228,23,1,0,0,0,229,230, + 1,12,1,12,1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,14,3,14,242,8,14, + 1,15,1,15,1,15,1,15,1,16,1,16,1,16,1,16,1,17,1,17,1,17,1,17,1,18, + 1,18,1,18,1,18,1,19,1,19,1,19,1,19,1,20,1,20,1,20,1,20,1,21,1,21, + 1,21,1,21,1,22,1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,24,1,24,1,24, + 1,24,1,25,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,27,1,27,1,27,1,27, + 5,27,296,8,27,10,27,12,27,299,9,27,1,27,1,27,1,27,1,27,3,27,305, + 8,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28, + 1,28,3,28,320,8,28,1,29,1,29,1,30,1,30,1,30,1,30,5,30,328,8,30,10, + 30,12,30,331,9,30,1,30,1,30,1,30,1,30,3,30,337,8,30,1,31,1,31,1, + 31,1,31,3,31,343,8,31,1,32,1,32,1,32,1,32,1,32,3,32,350,8,32,1,33, + 1,33,1,33,1,33,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,5,35,364, + 8,35,10,35,12,35,367,9,35,1,35,1,35,1,36,1,36,1,36,1,36,5,36,375, + 8,36,10,36,12,36,378,9,36,1,36,1,36,1,37,1,37,1,37,3,37,385,8,37, + 1,38,1,38,1,38,4,38,390,8,38,11,38,12,38,391,1,39,1,39,3,39,396, + 8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,4,40,405,8,40,11,40,12,40, + 406,1,40,1,40,3,40,411,8,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1, + 42,1,43,1,43,1,43,1,43,1,43,1,43,5,43,427,8,43,10,43,12,43,430,9, + 43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,44,5,44,440,8,44,10,44,12, + 44,443,9,44,1,44,1,44,1,45,1,45,1,45,1,45,3,45,451,8,45,1,46,1,46, + 1,46,1,46,1,46,5,46,458,8,46,10,46,12,46,461,9,46,1,46,1,46,1,47, + 1,47,1,47,1,47,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,5,49,477, + 8,49,10,49,12,49,480,9,49,1,49,1,49,1,50,1,50,1,50,1,50,5,50,488, + 8,50,10,50,12,50,491,9,50,1,50,1,50,1,51,1,51,1,51,1,51,3,51,499, + 8,51,1,52,1,52,1,52,1,52,1,52,1,52,5,52,507,8,52,10,52,12,52,510, + 9,52,1,52,1,52,1,53,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,55,1,55, + 1,55,1,55,1,56,1,56,1,56,1,56,1,56,1,56,5,56,532,8,56,10,56,12,56, + 535,9,56,1,56,1,56,1,57,1,57,1,57,1,57,5,57,543,8,57,10,57,12,57, + 546,9,57,1,57,1,57,1,58,1,58,1,58,3,58,553,8,58,1,59,1,59,1,60,1, + 60,1,61,1,61,1,62,1,62,3,62,563,8,62,1,63,1,63,1,63,1,63,5,63,569, + 8,63,10,63,12,63,572,9,63,1,63,1,63,1,63,1,63,3,63,578,8,63,1,64, + 1,64,1,64,1,64,1,65,1,65,1,65,1,65,5,65,588,8,65,10,65,12,65,591, + 9,65,1,65,1,65,1,65,1,65,3,65,597,8,65,1,66,1,66,1,66,1,66,1,66, + 1,66,1,66,1,66,1,66,3,66,608,8,66,1,67,1,67,1,67,1,67,1,67,1,67, + 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67, + 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67, + 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,3,67, + 654,8,67,1,67,0,0,68,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30, + 32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74, + 76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112, + 114,116,118,120,122,124,126,128,130,132,134,0,5,1,0,7,8,1,0,15,22, + 3,0,28,35,37,46,48,68,3,0,27,27,36,36,47,47,1,0,96,108,712,0,136, + 1,0,0,0,2,150,1,0,0,0,4,152,1,0,0,0,6,156,1,0,0,0,8,185,1,0,0,0, + 10,187,1,0,0,0,12,200,1,0,0,0,14,202,1,0,0,0,16,206,1,0,0,0,18,217, + 1,0,0,0,20,221,1,0,0,0,22,225,1,0,0,0,24,229,1,0,0,0,26,233,1,0, + 0,0,28,237,1,0,0,0,30,243,1,0,0,0,32,247,1,0,0,0,34,251,1,0,0,0, + 36,255,1,0,0,0,38,259,1,0,0,0,40,263,1,0,0,0,42,267,1,0,0,0,44,271, + 1,0,0,0,46,275,1,0,0,0,48,279,1,0,0,0,50,283,1,0,0,0,52,287,1,0, + 0,0,54,304,1,0,0,0,56,319,1,0,0,0,58,321,1,0,0,0,60,336,1,0,0,0, + 62,342,1,0,0,0,64,349,1,0,0,0,66,351,1,0,0,0,68,355,1,0,0,0,70,357, + 1,0,0,0,72,370,1,0,0,0,74,384,1,0,0,0,76,386,1,0,0,0,78,395,1,0, + 0,0,80,397,1,0,0,0,82,412,1,0,0,0,84,416,1,0,0,0,86,420,1,0,0,0, + 88,433,1,0,0,0,90,450,1,0,0,0,92,452,1,0,0,0,94,464,1,0,0,0,96,468, + 1,0,0,0,98,470,1,0,0,0,100,483,1,0,0,0,102,498,1,0,0,0,104,500,1, + 0,0,0,106,513,1,0,0,0,108,517,1,0,0,0,110,521,1,0,0,0,112,525,1, + 0,0,0,114,538,1,0,0,0,116,552,1,0,0,0,118,554,1,0,0,0,120,556,1, + 0,0,0,122,558,1,0,0,0,124,562,1,0,0,0,126,577,1,0,0,0,128,579,1, + 0,0,0,130,596,1,0,0,0,132,607,1,0,0,0,134,653,1,0,0,0,136,137,5, + 5,0,0,137,142,3,2,1,0,138,139,5,1,0,0,139,141,3,2,1,0,140,138,1, + 0,0,0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1, + 0,0,0,144,142,1,0,0,0,145,146,5,6,0,0,146,1,1,0,0,0,147,151,3,6, + 3,0,148,151,3,4,2,0,149,151,3,10,5,0,150,147,1,0,0,0,150,148,1,0, + 0,0,150,149,1,0,0,0,151,3,1,0,0,0,152,153,5,12,0,0,153,154,5,2,0, + 0,154,155,3,134,67,0,155,5,1,0,0,0,156,157,5,10,0,0,157,158,5,2, + 0,0,158,159,3,134,67,0,159,7,1,0,0,0,160,186,3,6,3,0,161,186,3,18, + 9,0,162,186,3,24,12,0,163,186,3,22,11,0,164,186,3,20,10,0,165,186, + 3,26,13,0,166,186,3,28,14,0,167,186,3,30,15,0,168,186,3,32,16,0, + 169,186,3,34,17,0,170,186,3,70,35,0,171,186,3,36,18,0,172,186,3, + 38,19,0,173,186,3,40,20,0,174,186,3,42,21,0,175,186,3,44,22,0,176, + 186,3,46,23,0,177,186,3,48,24,0,178,186,3,88,44,0,179,186,3,50,25, + 0,180,186,3,86,43,0,181,186,3,52,26,0,182,186,3,98,49,0,183,186, + 3,112,56,0,184,186,3,66,33,0,185,160,1,0,0,0,185,161,1,0,0,0,185, + 162,1,0,0,0,185,163,1,0,0,0,185,164,1,0,0,0,185,165,1,0,0,0,185, + 166,1,0,0,0,185,167,1,0,0,0,185,168,1,0,0,0,185,169,1,0,0,0,185, + 170,1,0,0,0,185,171,1,0,0,0,185,172,1,0,0,0,185,173,1,0,0,0,185, + 174,1,0,0,0,185,175,1,0,0,0,185,176,1,0,0,0,185,177,1,0,0,0,185, + 178,1,0,0,0,185,179,1,0,0,0,185,180,1,0,0,0,185,181,1,0,0,0,185, + 182,1,0,0,0,185,183,1,0,0,0,185,184,1,0,0,0,186,9,1,0,0,0,187,188, + 5,11,0,0,188,189,5,2,0,0,189,190,5,5,0,0,190,195,3,14,7,0,191,192, + 5,1,0,0,192,194,3,14,7,0,193,191,1,0,0,0,194,197,1,0,0,0,195,193, + 1,0,0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,195,1,0,0,0,198,199, + 5,6,0,0,199,11,1,0,0,0,200,201,3,134,67,0,201,13,1,0,0,0,202,203, + 3,12,6,0,203,204,5,2,0,0,204,205,3,16,8,0,205,15,1,0,0,0,206,207, + 5,5,0,0,207,212,3,8,4,0,208,209,5,1,0,0,209,211,3,8,4,0,210,208, + 1,0,0,0,211,214,1,0,0,0,212,210,1,0,0,0,212,213,1,0,0,0,213,215, + 1,0,0,0,214,212,1,0,0,0,215,216,5,6,0,0,216,17,1,0,0,0,217,218,5, + 14,0,0,218,219,5,2,0,0,219,220,3,68,34,0,220,19,1,0,0,0,221,222, + 5,86,0,0,222,223,5,2,0,0,223,224,3,134,67,0,224,21,1,0,0,0,225,226, + 5,78,0,0,226,227,5,2,0,0,227,228,3,134,67,0,228,23,1,0,0,0,229,230, 5,79,0,0,230,231,5,2,0,0,231,232,3,134,67,0,232,25,1,0,0,0,233,234, 5,83,0,0,234,235,5,2,0,0,235,236,3,132,66,0,236,27,1,0,0,0,237,238, - 5,82,0,0,238,239,5,2,0,0,239,240,3,134,67,0,240,29,1,0,0,0,241,242, - 5,80,0,0,242,243,5,2,0,0,243,244,3,134,67,0,244,31,1,0,0,0,245,246, - 5,87,0,0,246,247,5,2,0,0,247,248,7,0,0,0,248,33,1,0,0,0,249,250, - 5,25,0,0,250,251,5,2,0,0,251,252,3,134,67,0,252,35,1,0,0,0,253,254, - 5,89,0,0,254,255,5,2,0,0,255,256,3,134,67,0,256,37,1,0,0,0,257,258, - 5,88,0,0,258,259,5,2,0,0,259,260,3,134,67,0,260,39,1,0,0,0,261,262, - 5,70,0,0,262,263,5,2,0,0,263,264,5,114,0,0,264,41,1,0,0,0,265,266, - 5,69,0,0,266,267,5,2,0,0,267,268,3,134,67,0,268,43,1,0,0,0,269,270, - 5,72,0,0,270,271,5,2,0,0,271,272,3,134,67,0,272,45,1,0,0,0,273,274, - 5,71,0,0,274,275,5,2,0,0,275,276,3,134,67,0,276,47,1,0,0,0,277,278, - 5,81,0,0,278,279,5,2,0,0,279,280,3,134,67,0,280,49,1,0,0,0,281,282, - 5,77,0,0,282,283,5,2,0,0,283,284,5,114,0,0,284,51,1,0,0,0,285,286, - 5,84,0,0,286,287,5,2,0,0,287,288,3,54,27,0,288,53,1,0,0,0,289,290, - 5,5,0,0,290,295,3,56,28,0,291,292,5,1,0,0,292,294,3,56,28,0,293, - 291,1,0,0,0,294,297,1,0,0,0,295,293,1,0,0,0,295,296,1,0,0,0,296, - 298,1,0,0,0,297,295,1,0,0,0,298,299,5,6,0,0,299,303,1,0,0,0,300, - 301,5,5,0,0,301,303,5,6,0,0,302,289,1,0,0,0,302,300,1,0,0,0,303, - 55,1,0,0,0,304,305,5,110,0,0,305,306,5,2,0,0,306,318,5,112,0,0,307, - 308,5,110,0,0,308,309,5,2,0,0,309,318,5,111,0,0,310,311,5,110,0, - 0,311,312,5,2,0,0,312,318,3,58,29,0,313,314,3,134,67,0,314,315,5, - 2,0,0,315,316,3,62,31,0,316,318,1,0,0,0,317,304,1,0,0,0,317,307, - 1,0,0,0,317,310,1,0,0,0,317,313,1,0,0,0,318,57,1,0,0,0,319,320,5, - 113,0,0,320,59,1,0,0,0,321,322,5,3,0,0,322,327,3,62,31,0,323,324, - 5,1,0,0,324,326,3,62,31,0,325,323,1,0,0,0,326,329,1,0,0,0,327,325, - 1,0,0,0,327,328,1,0,0,0,328,330,1,0,0,0,329,327,1,0,0,0,330,331, - 5,4,0,0,331,335,1,0,0,0,332,333,5,3,0,0,333,335,5,4,0,0,334,321, - 1,0,0,0,334,332,1,0,0,0,335,61,1,0,0,0,336,341,3,56,28,0,337,341, - 3,60,30,0,338,341,3,54,27,0,339,341,3,64,32,0,340,336,1,0,0,0,340, - 337,1,0,0,0,340,338,1,0,0,0,340,339,1,0,0,0,341,63,1,0,0,0,342,348, - 5,115,0,0,343,348,5,114,0,0,344,348,7,0,0,0,345,348,5,9,0,0,346, - 348,3,134,67,0,347,342,1,0,0,0,347,343,1,0,0,0,347,344,1,0,0,0,347, - 345,1,0,0,0,347,346,1,0,0,0,348,65,1,0,0,0,349,350,5,85,0,0,350, - 351,5,2,0,0,351,352,3,54,27,0,352,67,1,0,0,0,353,354,7,1,0,0,354, - 69,1,0,0,0,355,356,5,23,0,0,356,357,5,2,0,0,357,358,5,3,0,0,358, - 363,3,72,36,0,359,360,5,1,0,0,360,362,3,72,36,0,361,359,1,0,0,0, - 362,365,1,0,0,0,363,361,1,0,0,0,363,364,1,0,0,0,364,366,1,0,0,0, - 365,363,1,0,0,0,366,367,5,4,0,0,367,71,1,0,0,0,368,369,5,5,0,0,369, - 374,3,74,37,0,370,371,5,1,0,0,371,373,3,74,37,0,372,370,1,0,0,0, - 373,376,1,0,0,0,374,372,1,0,0,0,374,375,1,0,0,0,375,377,1,0,0,0, - 376,374,1,0,0,0,377,378,5,6,0,0,378,73,1,0,0,0,379,383,3,76,38,0, - 380,383,3,80,40,0,381,383,3,20,10,0,382,379,1,0,0,0,382,380,1,0, - 0,0,382,381,1,0,0,0,383,75,1,0,0,0,384,387,3,78,39,0,385,386,5,1, - 0,0,386,388,3,78,39,0,387,385,1,0,0,0,388,389,1,0,0,0,389,387,1, - 0,0,0,389,390,1,0,0,0,390,77,1,0,0,0,391,394,3,82,41,0,392,394,3, - 84,42,0,393,391,1,0,0,0,393,392,1,0,0,0,394,79,1,0,0,0,395,396,3, - 120,60,0,396,408,5,2,0,0,397,409,3,72,36,0,398,399,5,3,0,0,399,402, - 3,72,36,0,400,401,5,1,0,0,401,403,3,72,36,0,402,400,1,0,0,0,403, - 404,1,0,0,0,404,402,1,0,0,0,404,405,1,0,0,0,405,406,1,0,0,0,406, - 407,5,4,0,0,407,409,1,0,0,0,408,397,1,0,0,0,408,398,1,0,0,0,409, - 81,1,0,0,0,410,411,5,24,0,0,411,412,5,2,0,0,412,413,3,134,67,0,413, - 83,1,0,0,0,414,415,3,118,59,0,415,416,5,2,0,0,416,417,3,132,66,0, - 417,85,1,0,0,0,418,419,5,26,0,0,419,420,5,2,0,0,420,421,5,3,0,0, - 421,426,3,0,0,0,422,423,5,1,0,0,423,425,3,0,0,0,424,422,1,0,0,0, - 425,428,1,0,0,0,426,424,1,0,0,0,426,427,1,0,0,0,427,429,1,0,0,0, - 428,426,1,0,0,0,429,430,5,4,0,0,430,87,1,0,0,0,431,432,5,76,0,0, - 432,433,5,2,0,0,433,434,5,5,0,0,434,439,3,90,45,0,435,436,5,1,0, - 0,436,438,3,90,45,0,437,435,1,0,0,0,438,441,1,0,0,0,439,437,1,0, - 0,0,439,440,1,0,0,0,440,442,1,0,0,0,441,439,1,0,0,0,442,443,5,6, - 0,0,443,89,1,0,0,0,444,449,3,92,46,0,445,449,3,4,2,0,446,449,3,10, - 5,0,447,449,3,6,3,0,448,444,1,0,0,0,448,445,1,0,0,0,448,446,1,0, - 0,0,448,447,1,0,0,0,449,91,1,0,0,0,450,451,5,73,0,0,451,452,5,2, - 0,0,452,457,5,5,0,0,453,456,3,94,47,0,454,456,3,128,64,0,455,453, - 1,0,0,0,455,454,1,0,0,0,456,459,1,0,0,0,457,455,1,0,0,0,457,458, - 1,0,0,0,458,460,1,0,0,0,459,457,1,0,0,0,460,461,5,6,0,0,461,93,1, - 0,0,0,462,463,5,74,0,0,463,464,5,2,0,0,464,465,3,96,48,0,465,95, - 1,0,0,0,466,467,5,75,0,0,467,97,1,0,0,0,468,469,5,90,0,0,469,470, - 5,2,0,0,470,471,5,3,0,0,471,476,3,100,50,0,472,473,5,1,0,0,473,475, - 3,98,49,0,474,472,1,0,0,0,475,478,1,0,0,0,476,474,1,0,0,0,476,477, - 1,0,0,0,477,479,1,0,0,0,478,476,1,0,0,0,479,480,5,4,0,0,480,99,1, - 0,0,0,481,482,5,5,0,0,482,487,3,102,51,0,483,484,5,1,0,0,484,486, - 3,102,51,0,485,483,1,0,0,0,486,489,1,0,0,0,487,485,1,0,0,0,487,488, - 1,0,0,0,488,490,1,0,0,0,489,487,1,0,0,0,490,491,5,6,0,0,491,101, - 1,0,0,0,492,497,3,104,52,0,493,497,3,106,53,0,494,497,3,108,54,0, - 495,497,3,110,55,0,496,492,1,0,0,0,496,493,1,0,0,0,496,494,1,0,0, - 0,496,495,1,0,0,0,497,103,1,0,0,0,498,499,5,91,0,0,499,500,5,2,0, - 0,500,501,5,3,0,0,501,506,3,124,62,0,502,503,5,1,0,0,503,505,3,124, - 62,0,504,502,1,0,0,0,505,508,1,0,0,0,506,504,1,0,0,0,506,507,1,0, - 0,0,507,509,1,0,0,0,508,506,1,0,0,0,509,510,5,4,0,0,510,105,1,0, - 0,0,511,512,5,92,0,0,512,513,5,2,0,0,513,514,5,114,0,0,514,107,1, - 0,0,0,515,516,5,93,0,0,516,517,5,2,0,0,517,518,5,114,0,0,518,109, - 1,0,0,0,519,520,5,94,0,0,520,521,5,2,0,0,521,522,5,115,0,0,522,111, - 1,0,0,0,523,524,5,95,0,0,524,525,5,2,0,0,525,526,5,3,0,0,526,531, - 3,114,57,0,527,528,5,1,0,0,528,530,3,114,57,0,529,527,1,0,0,0,530, - 533,1,0,0,0,531,529,1,0,0,0,531,532,1,0,0,0,532,534,1,0,0,0,533, - 531,1,0,0,0,534,535,5,4,0,0,535,113,1,0,0,0,536,537,5,5,0,0,537, - 542,3,116,58,0,538,539,5,1,0,0,539,541,3,116,58,0,540,538,1,0,0, - 0,541,544,1,0,0,0,542,540,1,0,0,0,542,543,1,0,0,0,543,545,1,0,0, - 0,544,542,1,0,0,0,545,546,5,6,0,0,546,115,1,0,0,0,547,551,3,104, - 52,0,548,551,3,28,14,0,549,551,3,20,10,0,550,547,1,0,0,0,550,548, - 1,0,0,0,550,549,1,0,0,0,551,117,1,0,0,0,552,553,7,2,0,0,553,119, - 1,0,0,0,554,555,7,3,0,0,555,121,1,0,0,0,556,557,7,4,0,0,557,123, - 1,0,0,0,558,561,3,122,61,0,559,561,3,134,67,0,560,558,1,0,0,0,560, - 559,1,0,0,0,561,125,1,0,0,0,562,563,5,5,0,0,563,568,3,128,64,0,564, - 565,5,1,0,0,565,567,3,128,64,0,566,564,1,0,0,0,567,570,1,0,0,0,568, - 566,1,0,0,0,568,569,1,0,0,0,569,571,1,0,0,0,570,568,1,0,0,0,571, - 572,5,6,0,0,572,576,1,0,0,0,573,574,5,5,0,0,574,576,5,6,0,0,575, - 562,1,0,0,0,575,573,1,0,0,0,576,127,1,0,0,0,577,578,3,134,67,0,578, - 579,5,2,0,0,579,580,3,132,66,0,580,129,1,0,0,0,581,582,5,3,0,0,582, - 587,3,132,66,0,583,584,5,1,0,0,584,586,3,132,66,0,585,583,1,0,0, - 0,586,589,1,0,0,0,587,585,1,0,0,0,587,588,1,0,0,0,588,590,1,0,0, - 0,589,587,1,0,0,0,590,591,5,4,0,0,591,595,1,0,0,0,592,593,5,3,0, - 0,593,595,5,4,0,0,594,581,1,0,0,0,594,592,1,0,0,0,595,131,1,0,0, - 0,596,606,5,115,0,0,597,606,5,114,0,0,598,606,5,7,0,0,599,606,5, - 8,0,0,600,606,5,9,0,0,601,606,3,128,64,0,602,606,3,130,65,0,603, - 606,3,126,63,0,604,606,3,134,67,0,605,596,1,0,0,0,605,597,1,0,0, - 0,605,598,1,0,0,0,605,599,1,0,0,0,605,600,1,0,0,0,605,601,1,0,0, - 0,605,602,1,0,0,0,605,603,1,0,0,0,605,604,1,0,0,0,606,133,1,0,0, - 0,607,652,5,113,0,0,608,652,5,110,0,0,609,652,5,112,0,0,610,652, - 5,111,0,0,611,652,5,10,0,0,612,652,5,11,0,0,613,652,5,12,0,0,614, - 652,5,13,0,0,615,652,5,14,0,0,616,652,5,15,0,0,617,652,5,16,0,0, - 618,652,5,23,0,0,619,652,5,17,0,0,620,652,5,20,0,0,621,652,5,21, - 0,0,622,652,5,22,0,0,623,652,5,18,0,0,624,652,5,24,0,0,625,652,5, - 78,0,0,626,652,5,83,0,0,627,652,5,87,0,0,628,652,5,88,0,0,629,652, - 5,89,0,0,630,652,5,25,0,0,631,652,5,81,0,0,632,652,5,74,0,0,633, - 652,5,73,0,0,634,652,5,75,0,0,635,652,5,80,0,0,636,652,5,82,0,0, - 637,652,5,79,0,0,638,652,5,69,0,0,639,652,5,70,0,0,640,652,5,71, - 0,0,641,652,5,72,0,0,642,652,5,90,0,0,643,652,5,91,0,0,644,652,5, - 92,0,0,645,652,5,93,0,0,646,652,5,94,0,0,647,652,5,95,0,0,648,652, - 3,84,42,0,649,652,3,120,60,0,650,652,3,122,61,0,651,607,1,0,0,0, - 651,608,1,0,0,0,651,609,1,0,0,0,651,610,1,0,0,0,651,611,1,0,0,0, - 651,612,1,0,0,0,651,613,1,0,0,0,651,614,1,0,0,0,651,615,1,0,0,0, - 651,616,1,0,0,0,651,617,1,0,0,0,651,618,1,0,0,0,651,619,1,0,0,0, - 651,620,1,0,0,0,651,621,1,0,0,0,651,622,1,0,0,0,651,623,1,0,0,0, - 651,624,1,0,0,0,651,625,1,0,0,0,651,626,1,0,0,0,651,627,1,0,0,0, - 651,628,1,0,0,0,651,629,1,0,0,0,651,630,1,0,0,0,651,631,1,0,0,0, - 651,632,1,0,0,0,651,633,1,0,0,0,651,634,1,0,0,0,651,635,1,0,0,0, - 651,636,1,0,0,0,651,637,1,0,0,0,651,638,1,0,0,0,651,639,1,0,0,0, - 651,640,1,0,0,0,651,641,1,0,0,0,651,642,1,0,0,0,651,643,1,0,0,0, - 651,644,1,0,0,0,651,645,1,0,0,0,651,646,1,0,0,0,651,647,1,0,0,0, - 651,648,1,0,0,0,651,649,1,0,0,0,651,650,1,0,0,0,652,135,1,0,0,0, - 38,142,150,185,195,212,295,302,317,327,334,340,347,363,374,382,389, - 393,404,408,426,439,448,455,457,476,487,496,506,531,542,550,560, - 568,575,587,594,605,651 + 5,82,0,0,238,241,5,2,0,0,239,242,3,134,67,0,240,242,5,9,0,0,241, + 239,1,0,0,0,241,240,1,0,0,0,242,29,1,0,0,0,243,244,5,80,0,0,244, + 245,5,2,0,0,245,246,3,134,67,0,246,31,1,0,0,0,247,248,5,87,0,0,248, + 249,5,2,0,0,249,250,7,0,0,0,250,33,1,0,0,0,251,252,5,25,0,0,252, + 253,5,2,0,0,253,254,3,134,67,0,254,35,1,0,0,0,255,256,5,89,0,0,256, + 257,5,2,0,0,257,258,3,134,67,0,258,37,1,0,0,0,259,260,5,88,0,0,260, + 261,5,2,0,0,261,262,3,134,67,0,262,39,1,0,0,0,263,264,5,70,0,0,264, + 265,5,2,0,0,265,266,5,114,0,0,266,41,1,0,0,0,267,268,5,69,0,0,268, + 269,5,2,0,0,269,270,3,134,67,0,270,43,1,0,0,0,271,272,5,72,0,0,272, + 273,5,2,0,0,273,274,3,134,67,0,274,45,1,0,0,0,275,276,5,71,0,0,276, + 277,5,2,0,0,277,278,3,134,67,0,278,47,1,0,0,0,279,280,5,81,0,0,280, + 281,5,2,0,0,281,282,3,134,67,0,282,49,1,0,0,0,283,284,5,77,0,0,284, + 285,5,2,0,0,285,286,5,114,0,0,286,51,1,0,0,0,287,288,5,84,0,0,288, + 289,5,2,0,0,289,290,3,54,27,0,290,53,1,0,0,0,291,292,5,5,0,0,292, + 297,3,56,28,0,293,294,5,1,0,0,294,296,3,56,28,0,295,293,1,0,0,0, + 296,299,1,0,0,0,297,295,1,0,0,0,297,298,1,0,0,0,298,300,1,0,0,0, + 299,297,1,0,0,0,300,301,5,6,0,0,301,305,1,0,0,0,302,303,5,5,0,0, + 303,305,5,6,0,0,304,291,1,0,0,0,304,302,1,0,0,0,305,55,1,0,0,0,306, + 307,5,110,0,0,307,308,5,2,0,0,308,320,5,112,0,0,309,310,5,110,0, + 0,310,311,5,2,0,0,311,320,5,111,0,0,312,313,5,110,0,0,313,314,5, + 2,0,0,314,320,3,58,29,0,315,316,3,134,67,0,316,317,5,2,0,0,317,318, + 3,62,31,0,318,320,1,0,0,0,319,306,1,0,0,0,319,309,1,0,0,0,319,312, + 1,0,0,0,319,315,1,0,0,0,320,57,1,0,0,0,321,322,5,113,0,0,322,59, + 1,0,0,0,323,324,5,3,0,0,324,329,3,62,31,0,325,326,5,1,0,0,326,328, + 3,62,31,0,327,325,1,0,0,0,328,331,1,0,0,0,329,327,1,0,0,0,329,330, + 1,0,0,0,330,332,1,0,0,0,331,329,1,0,0,0,332,333,5,4,0,0,333,337, + 1,0,0,0,334,335,5,3,0,0,335,337,5,4,0,0,336,323,1,0,0,0,336,334, + 1,0,0,0,337,61,1,0,0,0,338,343,3,56,28,0,339,343,3,60,30,0,340,343, + 3,54,27,0,341,343,3,64,32,0,342,338,1,0,0,0,342,339,1,0,0,0,342, + 340,1,0,0,0,342,341,1,0,0,0,343,63,1,0,0,0,344,350,5,115,0,0,345, + 350,5,114,0,0,346,350,7,0,0,0,347,350,5,9,0,0,348,350,3,134,67,0, + 349,344,1,0,0,0,349,345,1,0,0,0,349,346,1,0,0,0,349,347,1,0,0,0, + 349,348,1,0,0,0,350,65,1,0,0,0,351,352,5,85,0,0,352,353,5,2,0,0, + 353,354,3,54,27,0,354,67,1,0,0,0,355,356,7,1,0,0,356,69,1,0,0,0, + 357,358,5,23,0,0,358,359,5,2,0,0,359,360,5,3,0,0,360,365,3,72,36, + 0,361,362,5,1,0,0,362,364,3,72,36,0,363,361,1,0,0,0,364,367,1,0, + 0,0,365,363,1,0,0,0,365,366,1,0,0,0,366,368,1,0,0,0,367,365,1,0, + 0,0,368,369,5,4,0,0,369,71,1,0,0,0,370,371,5,5,0,0,371,376,3,74, + 37,0,372,373,5,1,0,0,373,375,3,74,37,0,374,372,1,0,0,0,375,378,1, + 0,0,0,376,374,1,0,0,0,376,377,1,0,0,0,377,379,1,0,0,0,378,376,1, + 0,0,0,379,380,5,6,0,0,380,73,1,0,0,0,381,385,3,76,38,0,382,385,3, + 80,40,0,383,385,3,20,10,0,384,381,1,0,0,0,384,382,1,0,0,0,384,383, + 1,0,0,0,385,75,1,0,0,0,386,389,3,78,39,0,387,388,5,1,0,0,388,390, + 3,78,39,0,389,387,1,0,0,0,390,391,1,0,0,0,391,389,1,0,0,0,391,392, + 1,0,0,0,392,77,1,0,0,0,393,396,3,82,41,0,394,396,3,84,42,0,395,393, + 1,0,0,0,395,394,1,0,0,0,396,79,1,0,0,0,397,398,3,120,60,0,398,410, + 5,2,0,0,399,411,3,72,36,0,400,401,5,3,0,0,401,404,3,72,36,0,402, + 403,5,1,0,0,403,405,3,72,36,0,404,402,1,0,0,0,405,406,1,0,0,0,406, + 404,1,0,0,0,406,407,1,0,0,0,407,408,1,0,0,0,408,409,5,4,0,0,409, + 411,1,0,0,0,410,399,1,0,0,0,410,400,1,0,0,0,411,81,1,0,0,0,412,413, + 5,24,0,0,413,414,5,2,0,0,414,415,3,134,67,0,415,83,1,0,0,0,416,417, + 3,118,59,0,417,418,5,2,0,0,418,419,3,132,66,0,419,85,1,0,0,0,420, + 421,5,26,0,0,421,422,5,2,0,0,422,423,5,3,0,0,423,428,3,0,0,0,424, + 425,5,1,0,0,425,427,3,0,0,0,426,424,1,0,0,0,427,430,1,0,0,0,428, + 426,1,0,0,0,428,429,1,0,0,0,429,431,1,0,0,0,430,428,1,0,0,0,431, + 432,5,4,0,0,432,87,1,0,0,0,433,434,5,76,0,0,434,435,5,2,0,0,435, + 436,5,5,0,0,436,441,3,90,45,0,437,438,5,1,0,0,438,440,3,90,45,0, + 439,437,1,0,0,0,440,443,1,0,0,0,441,439,1,0,0,0,441,442,1,0,0,0, + 442,444,1,0,0,0,443,441,1,0,0,0,444,445,5,6,0,0,445,89,1,0,0,0,446, + 451,3,92,46,0,447,451,3,4,2,0,448,451,3,10,5,0,449,451,3,6,3,0,450, + 446,1,0,0,0,450,447,1,0,0,0,450,448,1,0,0,0,450,449,1,0,0,0,451, + 91,1,0,0,0,452,453,5,73,0,0,453,454,5,2,0,0,454,459,5,5,0,0,455, + 458,3,94,47,0,456,458,3,128,64,0,457,455,1,0,0,0,457,456,1,0,0,0, + 458,461,1,0,0,0,459,457,1,0,0,0,459,460,1,0,0,0,460,462,1,0,0,0, + 461,459,1,0,0,0,462,463,5,6,0,0,463,93,1,0,0,0,464,465,5,74,0,0, + 465,466,5,2,0,0,466,467,3,96,48,0,467,95,1,0,0,0,468,469,5,75,0, + 0,469,97,1,0,0,0,470,471,5,90,0,0,471,472,5,2,0,0,472,473,5,3,0, + 0,473,478,3,100,50,0,474,475,5,1,0,0,475,477,3,98,49,0,476,474,1, + 0,0,0,477,480,1,0,0,0,478,476,1,0,0,0,478,479,1,0,0,0,479,481,1, + 0,0,0,480,478,1,0,0,0,481,482,5,4,0,0,482,99,1,0,0,0,483,484,5,5, + 0,0,484,489,3,102,51,0,485,486,5,1,0,0,486,488,3,102,51,0,487,485, + 1,0,0,0,488,491,1,0,0,0,489,487,1,0,0,0,489,490,1,0,0,0,490,492, + 1,0,0,0,491,489,1,0,0,0,492,493,5,6,0,0,493,101,1,0,0,0,494,499, + 3,104,52,0,495,499,3,106,53,0,496,499,3,108,54,0,497,499,3,110,55, + 0,498,494,1,0,0,0,498,495,1,0,0,0,498,496,1,0,0,0,498,497,1,0,0, + 0,499,103,1,0,0,0,500,501,5,91,0,0,501,502,5,2,0,0,502,503,5,3,0, + 0,503,508,3,124,62,0,504,505,5,1,0,0,505,507,3,124,62,0,506,504, + 1,0,0,0,507,510,1,0,0,0,508,506,1,0,0,0,508,509,1,0,0,0,509,511, + 1,0,0,0,510,508,1,0,0,0,511,512,5,4,0,0,512,105,1,0,0,0,513,514, + 5,92,0,0,514,515,5,2,0,0,515,516,5,114,0,0,516,107,1,0,0,0,517,518, + 5,93,0,0,518,519,5,2,0,0,519,520,5,114,0,0,520,109,1,0,0,0,521,522, + 5,94,0,0,522,523,5,2,0,0,523,524,5,115,0,0,524,111,1,0,0,0,525,526, + 5,95,0,0,526,527,5,2,0,0,527,528,5,3,0,0,528,533,3,114,57,0,529, + 530,5,1,0,0,530,532,3,114,57,0,531,529,1,0,0,0,532,535,1,0,0,0,533, + 531,1,0,0,0,533,534,1,0,0,0,534,536,1,0,0,0,535,533,1,0,0,0,536, + 537,5,4,0,0,537,113,1,0,0,0,538,539,5,5,0,0,539,544,3,116,58,0,540, + 541,5,1,0,0,541,543,3,116,58,0,542,540,1,0,0,0,543,546,1,0,0,0,544, + 542,1,0,0,0,544,545,1,0,0,0,545,547,1,0,0,0,546,544,1,0,0,0,547, + 548,5,6,0,0,548,115,1,0,0,0,549,553,3,104,52,0,550,553,3,28,14,0, + 551,553,3,20,10,0,552,549,1,0,0,0,552,550,1,0,0,0,552,551,1,0,0, + 0,553,117,1,0,0,0,554,555,7,2,0,0,555,119,1,0,0,0,556,557,7,3,0, + 0,557,121,1,0,0,0,558,559,7,4,0,0,559,123,1,0,0,0,560,563,3,122, + 61,0,561,563,3,134,67,0,562,560,1,0,0,0,562,561,1,0,0,0,563,125, + 1,0,0,0,564,565,5,5,0,0,565,570,3,128,64,0,566,567,5,1,0,0,567,569, + 3,128,64,0,568,566,1,0,0,0,569,572,1,0,0,0,570,568,1,0,0,0,570,571, + 1,0,0,0,571,573,1,0,0,0,572,570,1,0,0,0,573,574,5,6,0,0,574,578, + 1,0,0,0,575,576,5,5,0,0,576,578,5,6,0,0,577,564,1,0,0,0,577,575, + 1,0,0,0,578,127,1,0,0,0,579,580,3,134,67,0,580,581,5,2,0,0,581,582, + 3,132,66,0,582,129,1,0,0,0,583,584,5,3,0,0,584,589,3,132,66,0,585, + 586,5,1,0,0,586,588,3,132,66,0,587,585,1,0,0,0,588,591,1,0,0,0,589, + 587,1,0,0,0,589,590,1,0,0,0,590,592,1,0,0,0,591,589,1,0,0,0,592, + 593,5,4,0,0,593,597,1,0,0,0,594,595,5,3,0,0,595,597,5,4,0,0,596, + 583,1,0,0,0,596,594,1,0,0,0,597,131,1,0,0,0,598,608,5,115,0,0,599, + 608,5,114,0,0,600,608,5,7,0,0,601,608,5,8,0,0,602,608,5,9,0,0,603, + 608,3,128,64,0,604,608,3,130,65,0,605,608,3,126,63,0,606,608,3,134, + 67,0,607,598,1,0,0,0,607,599,1,0,0,0,607,600,1,0,0,0,607,601,1,0, + 0,0,607,602,1,0,0,0,607,603,1,0,0,0,607,604,1,0,0,0,607,605,1,0, + 0,0,607,606,1,0,0,0,608,133,1,0,0,0,609,654,5,113,0,0,610,654,5, + 110,0,0,611,654,5,112,0,0,612,654,5,111,0,0,613,654,5,10,0,0,614, + 654,5,11,0,0,615,654,5,12,0,0,616,654,5,13,0,0,617,654,5,14,0,0, + 618,654,5,15,0,0,619,654,5,16,0,0,620,654,5,23,0,0,621,654,5,17, + 0,0,622,654,5,20,0,0,623,654,5,21,0,0,624,654,5,22,0,0,625,654,5, + 18,0,0,626,654,5,24,0,0,627,654,5,78,0,0,628,654,5,83,0,0,629,654, + 5,87,0,0,630,654,5,88,0,0,631,654,5,89,0,0,632,654,5,25,0,0,633, + 654,5,81,0,0,634,654,5,74,0,0,635,654,5,73,0,0,636,654,5,75,0,0, + 637,654,5,80,0,0,638,654,5,82,0,0,639,654,5,79,0,0,640,654,5,69, + 0,0,641,654,5,70,0,0,642,654,5,71,0,0,643,654,5,72,0,0,644,654,5, + 90,0,0,645,654,5,91,0,0,646,654,5,92,0,0,647,654,5,93,0,0,648,654, + 5,94,0,0,649,654,5,95,0,0,650,654,3,84,42,0,651,654,3,120,60,0,652, + 654,3,122,61,0,653,609,1,0,0,0,653,610,1,0,0,0,653,611,1,0,0,0,653, + 612,1,0,0,0,653,613,1,0,0,0,653,614,1,0,0,0,653,615,1,0,0,0,653, + 616,1,0,0,0,653,617,1,0,0,0,653,618,1,0,0,0,653,619,1,0,0,0,653, + 620,1,0,0,0,653,621,1,0,0,0,653,622,1,0,0,0,653,623,1,0,0,0,653, + 624,1,0,0,0,653,625,1,0,0,0,653,626,1,0,0,0,653,627,1,0,0,0,653, + 628,1,0,0,0,653,629,1,0,0,0,653,630,1,0,0,0,653,631,1,0,0,0,653, + 632,1,0,0,0,653,633,1,0,0,0,653,634,1,0,0,0,653,635,1,0,0,0,653, + 636,1,0,0,0,653,637,1,0,0,0,653,638,1,0,0,0,653,639,1,0,0,0,653, + 640,1,0,0,0,653,641,1,0,0,0,653,642,1,0,0,0,653,643,1,0,0,0,653, + 644,1,0,0,0,653,645,1,0,0,0,653,646,1,0,0,0,653,647,1,0,0,0,653, + 648,1,0,0,0,653,649,1,0,0,0,653,650,1,0,0,0,653,651,1,0,0,0,653, + 652,1,0,0,0,654,135,1,0,0,0,39,142,150,185,195,212,241,297,304,319, + 329,336,342,349,365,376,384,391,395,406,410,428,441,450,457,459, + 478,489,498,508,533,544,552,562,570,577,589,596,607,653 ] class ASLParser ( Parser ): @@ -1681,6 +1681,9 @@ def keyword_or_string(self): return self.getTypedRuleContext(ASLParser.Keyword_or_stringContext,0) + def NULL(self): + return self.getToken(ASLParser.NULL, 0) + def getRuleIndex(self): return ASLParser.RULE_result_path_decl @@ -1711,8 +1714,20 @@ def result_path_decl(self): self.match(ASLParser.RESULTPATH) self.state = 238 self.match(ASLParser.COLON) - self.state = 239 - self.keyword_or_string() + self.state = 241 + self._errHandler.sync(self) + token = self._input.LA(1) + if token in [10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 78, 79, 80, 81, 82, 83, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 110, 111, 112, 113]: + self.state = 239 + self.keyword_or_string() + pass + elif token in [9]: + self.state = 240 + self.match(ASLParser.NULL) + pass + else: + raise NoViableAltException(self) + except RecognitionException as re: localctx.exception = re self._errHandler.reportError(self, re) @@ -1765,11 +1780,11 @@ def output_path_decl(self): self.enterRule(localctx, 30, self.RULE_output_path_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 241 + self.state = 243 self.match(ASLParser.OUTPUTPATH) - self.state = 242 + self.state = 244 self.match(ASLParser.COLON) - self.state = 243 + self.state = 245 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -1826,11 +1841,11 @@ def end_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 245 + self.state = 247 self.match(ASLParser.END) - self.state = 246 + self.state = 248 self.match(ASLParser.COLON) - self.state = 247 + self.state = 249 _la = self._input.LA(1) if not(_la==7 or _la==8): self._errHandler.recoverInline(self) @@ -1889,11 +1904,11 @@ def default_decl(self): self.enterRule(localctx, 34, self.RULE_default_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 249 + self.state = 251 self.match(ASLParser.DEFAULT) - self.state = 250 + self.state = 252 self.match(ASLParser.COLON) - self.state = 251 + self.state = 253 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -1947,11 +1962,11 @@ def error_decl(self): self.enterRule(localctx, 36, self.RULE_error_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 253 + self.state = 255 self.match(ASLParser.ERROR) - self.state = 254 + self.state = 256 self.match(ASLParser.COLON) - self.state = 255 + self.state = 257 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2005,11 +2020,11 @@ def cause_decl(self): self.enterRule(localctx, 38, self.RULE_cause_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 257 + self.state = 259 self.match(ASLParser.CAUSE) - self.state = 258 + self.state = 260 self.match(ASLParser.COLON) - self.state = 259 + self.state = 261 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2062,11 +2077,11 @@ def seconds_decl(self): self.enterRule(localctx, 40, self.RULE_seconds_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 261 + self.state = 263 self.match(ASLParser.SECONDS) - self.state = 262 + self.state = 264 self.match(ASLParser.COLON) - self.state = 263 + self.state = 265 self.match(ASLParser.INT) except RecognitionException as re: localctx.exception = re @@ -2120,11 +2135,11 @@ def seconds_path_decl(self): self.enterRule(localctx, 42, self.RULE_seconds_path_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 265 + self.state = 267 self.match(ASLParser.SECONDSPATH) - self.state = 266 + self.state = 268 self.match(ASLParser.COLON) - self.state = 267 + self.state = 269 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2178,11 +2193,11 @@ def timestamp_decl(self): self.enterRule(localctx, 44, self.RULE_timestamp_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 269 + self.state = 271 self.match(ASLParser.TIMESTAMP) - self.state = 270 + self.state = 272 self.match(ASLParser.COLON) - self.state = 271 + self.state = 273 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2236,11 +2251,11 @@ def timestamp_path_decl(self): self.enterRule(localctx, 46, self.RULE_timestamp_path_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 273 + self.state = 275 self.match(ASLParser.TIMESTAMPPATH) - self.state = 274 + self.state = 276 self.match(ASLParser.COLON) - self.state = 275 + self.state = 277 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2294,11 +2309,11 @@ def items_path_decl(self): self.enterRule(localctx, 48, self.RULE_items_path_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 277 + self.state = 279 self.match(ASLParser.ITEMSPATH) - self.state = 278 + self.state = 280 self.match(ASLParser.COLON) - self.state = 279 + self.state = 281 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2351,11 +2366,11 @@ def max_concurrency_decl(self): self.enterRule(localctx, 50, self.RULE_max_concurrency_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 281 + self.state = 283 self.match(ASLParser.MAXCONCURRENCY) - self.state = 282 + self.state = 284 self.match(ASLParser.COLON) - self.state = 283 + self.state = 285 self.match(ASLParser.INT) except RecognitionException as re: localctx.exception = re @@ -2409,11 +2424,11 @@ def parameters_decl(self): self.enterRule(localctx, 52, self.RULE_parameters_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 285 + self.state = 287 self.match(ASLParser.PARAMETERS) - self.state = 286 + self.state = 288 self.match(ASLParser.COLON) - self.state = 287 + self.state = 289 self.payload_tmpl_decl() except RecognitionException as re: localctx.exception = re @@ -2476,36 +2491,36 @@ def payload_tmpl_decl(self): self.enterRule(localctx, 54, self.RULE_payload_tmpl_decl) self._la = 0 # Token type try: - self.state = 302 + self.state = 304 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,6,self._ctx) + la_ = self._interp.adaptivePredict(self._input,7,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 289 + self.state = 291 self.match(ASLParser.LBRACE) - self.state = 290 + self.state = 292 self.payload_binding() - self.state = 295 + self.state = 297 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 291 + self.state = 293 self.match(ASLParser.COMMA) - self.state = 292 + self.state = 294 self.payload_binding() - self.state = 297 + self.state = 299 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 298 + self.state = 300 self.match(ASLParser.RBRACE) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 300 + self.state = 302 self.match(ASLParser.LBRACE) - self.state = 301 + self.state = 303 self.match(ASLParser.RBRACE) pass @@ -2657,50 +2672,50 @@ def payload_binding(self): localctx = ASLParser.Payload_bindingContext(self, self._ctx, self.state) self.enterRule(localctx, 56, self.RULE_payload_binding) try: - self.state = 317 + self.state = 319 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,7,self._ctx) + la_ = self._interp.adaptivePredict(self._input,8,self._ctx) if la_ == 1: localctx = ASLParser.Payload_binding_pathContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 304 + self.state = 306 self.match(ASLParser.STRINGDOLLAR) - self.state = 305 + self.state = 307 self.match(ASLParser.COLON) - self.state = 306 + self.state = 308 self.match(ASLParser.STRINGPATH) pass elif la_ == 2: localctx = ASLParser.Payload_binding_path_context_objContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 307 + self.state = 309 self.match(ASLParser.STRINGDOLLAR) - self.state = 308 + self.state = 310 self.match(ASLParser.COLON) - self.state = 309 + self.state = 311 self.match(ASLParser.STRINGPATHCONTEXTOBJ) pass elif la_ == 3: localctx = ASLParser.Payload_binding_intrinsic_funcContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 310 + self.state = 312 self.match(ASLParser.STRINGDOLLAR) - self.state = 311 + self.state = 313 self.match(ASLParser.COLON) - self.state = 312 + self.state = 314 self.intrinsic_func() pass elif la_ == 4: localctx = ASLParser.Payload_binding_valueContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 313 + self.state = 315 self.keyword_or_string() - self.state = 314 + self.state = 316 self.match(ASLParser.COLON) - self.state = 315 + self.state = 317 self.payload_value_decl() pass @@ -2750,7 +2765,7 @@ def intrinsic_func(self): self.enterRule(localctx, 58, self.RULE_intrinsic_func) try: self.enterOuterAlt(localctx, 1) - self.state = 319 + self.state = 321 self.match(ASLParser.STRING) except RecognitionException as re: localctx.exception = re @@ -2813,36 +2828,36 @@ def payload_arr_decl(self): self.enterRule(localctx, 60, self.RULE_payload_arr_decl) self._la = 0 # Token type try: - self.state = 334 + self.state = 336 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,9,self._ctx) + la_ = self._interp.adaptivePredict(self._input,10,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 321 + self.state = 323 self.match(ASLParser.LBRACK) - self.state = 322 + self.state = 324 self.payload_value_decl() - self.state = 327 + self.state = 329 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 323 + self.state = 325 self.match(ASLParser.COMMA) - self.state = 324 + self.state = 326 self.payload_value_decl() - self.state = 329 + self.state = 331 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 330 + self.state = 332 self.match(ASLParser.RBRACK) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 332 + self.state = 334 self.match(ASLParser.LBRACK) - self.state = 333 + self.state = 335 self.match(ASLParser.RBRACK) pass @@ -2904,30 +2919,30 @@ def payload_value_decl(self): localctx = ASLParser.Payload_value_declContext(self, self._ctx, self.state) self.enterRule(localctx, 62, self.RULE_payload_value_decl) try: - self.state = 340 + self.state = 342 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,10,self._ctx) + la_ = self._interp.adaptivePredict(self._input,11,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 336 + self.state = 338 self.payload_binding() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 337 + self.state = 339 self.payload_arr_decl() pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 338 + self.state = 340 self.payload_tmpl_decl() pass elif la_ == 4: self.enterOuterAlt(localctx, 4) - self.state = 339 + self.state = 341 self.payload_value_lit() pass @@ -3088,25 +3103,25 @@ def payload_value_lit(self): self.enterRule(localctx, 64, self.RULE_payload_value_lit) self._la = 0 # Token type try: - self.state = 347 + self.state = 349 self._errHandler.sync(self) token = self._input.LA(1) if token in [115]: localctx = ASLParser.Payload_value_floatContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 342 + self.state = 344 self.match(ASLParser.NUMBER) pass elif token in [114]: localctx = ASLParser.Payload_value_intContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 343 + self.state = 345 self.match(ASLParser.INT) pass elif token in [7, 8]: localctx = ASLParser.Payload_value_boolContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 344 + self.state = 346 _la = self._input.LA(1) if not(_la==7 or _la==8): self._errHandler.recoverInline(self) @@ -3117,13 +3132,13 @@ def payload_value_lit(self): elif token in [9]: localctx = ASLParser.Payload_value_nullContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 345 + self.state = 347 self.match(ASLParser.NULL) pass elif token in [10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 78, 79, 80, 81, 82, 83, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 110, 111, 112, 113]: localctx = ASLParser.Payload_value_strContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 346 + self.state = 348 self.keyword_or_string() pass else: @@ -3181,11 +3196,11 @@ def result_selector_decl(self): self.enterRule(localctx, 66, self.RULE_result_selector_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 349 + self.state = 351 self.match(ASLParser.RESULTSELECTOR) - self.state = 350 + self.state = 352 self.match(ASLParser.COLON) - self.state = 351 + self.state = 353 self.payload_tmpl_decl() except RecognitionException as re: localctx.exception = re @@ -3254,7 +3269,7 @@ def state_type(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 353 + self.state = 355 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 8355840) != 0)): self._errHandler.recoverInline(self) @@ -3329,27 +3344,27 @@ def choices_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 355 + self.state = 357 self.match(ASLParser.CHOICES) - self.state = 356 + self.state = 358 self.match(ASLParser.COLON) - self.state = 357 + self.state = 359 self.match(ASLParser.LBRACK) - self.state = 358 + self.state = 360 self.choice_rule() - self.state = 363 + self.state = 365 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 359 + self.state = 361 self.match(ASLParser.COMMA) - self.state = 360 + self.state = 362 self.choice_rule() - self.state = 365 + self.state = 367 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 366 + self.state = 368 self.match(ASLParser.RBRACK) except RecognitionException as re: localctx.exception = re @@ -3413,23 +3428,23 @@ def choice_rule(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 368 + self.state = 370 self.match(ASLParser.LBRACE) - self.state = 369 + self.state = 371 self.choice_rule_stmt() - self.state = 374 + self.state = 376 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 370 + self.state = 372 self.match(ASLParser.COMMA) - self.state = 371 + self.state = 373 self.choice_rule_stmt() - self.state = 376 + self.state = 378 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 377 + self.state = 379 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -3484,22 +3499,22 @@ def choice_rule_stmt(self): localctx = ASLParser.Choice_rule_stmtContext(self, self._ctx, self.state) self.enterRule(localctx, 74, self.RULE_choice_rule_stmt) try: - self.state = 382 + self.state = 384 self._errHandler.sync(self) token = self._input.LA(1) if token in [24, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68]: self.enterOuterAlt(localctx, 1) - self.state = 379 + self.state = 381 self.comparison() pass elif token in [27, 36, 47]: self.enterOuterAlt(localctx, 2) - self.state = 380 + self.state = 382 self.comparison_composite() pass elif token in [86]: self.enterOuterAlt(localctx, 3) - self.state = 381 + self.state = 383 self.next_decl() pass else: @@ -3560,23 +3575,23 @@ def comparison(self): self.enterRule(localctx, 76, self.RULE_comparison) try: self.enterOuterAlt(localctx, 1) - self.state = 384 + self.state = 386 self.comparison_stmt() - self.state = 387 + self.state = 389 self._errHandler.sync(self) _alt = 1 while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt == 1: - self.state = 385 + self.state = 387 self.match(ASLParser.COMMA) - self.state = 386 + self.state = 388 self.comparison_stmt() else: raise NoViableAltException(self) - self.state = 389 + self.state = 391 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,15,self._ctx) + _alt = self._interp.adaptivePredict(self._input,16,self._ctx) except RecognitionException as re: localctx.exception = re @@ -3627,17 +3642,17 @@ def comparison_stmt(self): localctx = ASLParser.Comparison_stmtContext(self, self._ctx, self.state) self.enterRule(localctx, 78, self.RULE_comparison_stmt) try: - self.state = 393 + self.state = 395 self._errHandler.sync(self) token = self._input.LA(1) if token in [24]: self.enterOuterAlt(localctx, 1) - self.state = 391 + self.state = 393 self.variable_decl() pass elif token in [28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68]: self.enterOuterAlt(localctx, 2) - self.state = 392 + self.state = 394 self.comparison_func() pass else: @@ -3712,37 +3727,37 @@ def comparison_composite(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 395 + self.state = 397 self.choice_operator() - self.state = 396 + self.state = 398 self.match(ASLParser.COLON) - self.state = 408 + self.state = 410 self._errHandler.sync(self) token = self._input.LA(1) if token in [5]: - self.state = 397 + self.state = 399 self.choice_rule() pass elif token in [3]: - self.state = 398 + self.state = 400 self.match(ASLParser.LBRACK) - self.state = 399 + self.state = 401 self.choice_rule() - self.state = 402 + self.state = 404 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 400 + self.state = 402 self.match(ASLParser.COMMA) - self.state = 401 + self.state = 403 self.choice_rule() - self.state = 404 + self.state = 406 self._errHandler.sync(self) _la = self._input.LA(1) if not (_la==1): break - self.state = 406 + self.state = 408 self.match(ASLParser.RBRACK) pass else: @@ -3800,11 +3815,11 @@ def variable_decl(self): self.enterRule(localctx, 82, self.RULE_variable_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 410 + self.state = 412 self.match(ASLParser.VARIABLE) - self.state = 411 + self.state = 413 self.match(ASLParser.COLON) - self.state = 412 + self.state = 414 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -3859,11 +3874,11 @@ def comparison_func(self): self.enterRule(localctx, 84, self.RULE_comparison_func) try: self.enterOuterAlt(localctx, 1) - self.state = 414 + self.state = 416 self.comparison_op() - self.state = 415 + self.state = 417 self.match(ASLParser.COLON) - self.state = 416 + self.state = 418 self.json_value_decl() except RecognitionException as re: localctx.exception = re @@ -3933,27 +3948,27 @@ def branches_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 418 + self.state = 420 self.match(ASLParser.BRANCHES) - self.state = 419 + self.state = 421 self.match(ASLParser.COLON) - self.state = 420 + self.state = 422 self.match(ASLParser.LBRACK) - self.state = 421 + self.state = 423 self.program_decl() - self.state = 426 + self.state = 428 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 422 + self.state = 424 self.match(ASLParser.COMMA) - self.state = 423 + self.state = 425 self.program_decl() - self.state = 428 + self.state = 430 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 429 + self.state = 431 self.match(ASLParser.RBRACK) except RecognitionException as re: localctx.exception = re @@ -4023,27 +4038,27 @@ def item_processor_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 431 + self.state = 433 self.match(ASLParser.ITEMPROCESSOR) - self.state = 432 + self.state = 434 self.match(ASLParser.COLON) - self.state = 433 + self.state = 435 self.match(ASLParser.LBRACE) - self.state = 434 + self.state = 436 self.item_processor_item() - self.state = 439 + self.state = 441 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 435 + self.state = 437 self.match(ASLParser.COMMA) - self.state = 436 + self.state = 438 self.item_processor_item() - self.state = 441 + self.state = 443 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 442 + self.state = 444 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -4102,27 +4117,27 @@ def item_processor_item(self): localctx = ASLParser.Item_processor_itemContext(self, self._ctx, self.state) self.enterRule(localctx, 90, self.RULE_item_processor_item) try: - self.state = 448 + self.state = 450 self._errHandler.sync(self) token = self._input.LA(1) if token in [73]: self.enterOuterAlt(localctx, 1) - self.state = 444 + self.state = 446 self.processor_config_decl() pass elif token in [12]: self.enterOuterAlt(localctx, 2) - self.state = 445 + self.state = 447 self.startat_decl() pass elif token in [11]: self.enterOuterAlt(localctx, 3) - self.state = 446 + self.state = 448 self.states_decl() pass elif token in [10]: self.enterOuterAlt(localctx, 4) - self.state = 447 + self.state = 449 self.comment_decl() pass else: @@ -4197,35 +4212,35 @@ def processor_config_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 450 + self.state = 452 self.match(ASLParser.PROCESSORCONFIG) - self.state = 451 + self.state = 453 self.match(ASLParser.COLON) - self.state = 452 + self.state = 454 self.match(ASLParser.LBRACE) - self.state = 457 + self.state = 459 self._errHandler.sync(self) _la = self._input.LA(1) while (((_la) & ~0x3f) == 0 and ((1 << _la) & -67634176) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 1090715527401471) != 0): - self.state = 455 + self.state = 457 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,22,self._ctx) + la_ = self._interp.adaptivePredict(self._input,23,self._ctx) if la_ == 1: - self.state = 453 + self.state = 455 self.mode_decl() pass elif la_ == 2: - self.state = 454 + self.state = 456 self.json_binding() pass - self.state = 459 + self.state = 461 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 460 + self.state = 462 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -4279,11 +4294,11 @@ def mode_decl(self): self.enterRule(localctx, 94, self.RULE_mode_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 462 + self.state = 464 self.match(ASLParser.MODE) - self.state = 463 + self.state = 465 self.match(ASLParser.COLON) - self.state = 464 + self.state = 466 self.mode_type() except RecognitionException as re: localctx.exception = re @@ -4330,7 +4345,7 @@ def mode_type(self): self.enterRule(localctx, 96, self.RULE_mode_type) try: self.enterOuterAlt(localctx, 1) - self.state = 466 + self.state = 468 self.match(ASLParser.INLINE) except RecognitionException as re: localctx.exception = re @@ -4404,27 +4419,27 @@ def retry_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 468 + self.state = 470 self.match(ASLParser.RETRY) - self.state = 469 + self.state = 471 self.match(ASLParser.COLON) - self.state = 470 + self.state = 472 self.match(ASLParser.LBRACK) - self.state = 471 + self.state = 473 self.retrier_decl() - self.state = 476 + self.state = 478 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 472 + self.state = 474 self.match(ASLParser.COMMA) - self.state = 473 + self.state = 475 self.retry_decl() - self.state = 478 + self.state = 480 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 479 + self.state = 481 self.match(ASLParser.RBRACK) except RecognitionException as re: localctx.exception = re @@ -4488,23 +4503,23 @@ def retrier_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 481 + self.state = 483 self.match(ASLParser.LBRACE) - self.state = 482 + self.state = 484 self.retrier_stmt() - self.state = 487 + self.state = 489 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 483 + self.state = 485 self.match(ASLParser.COMMA) - self.state = 484 + self.state = 486 self.retrier_stmt() - self.state = 489 + self.state = 491 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 490 + self.state = 492 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -4563,27 +4578,27 @@ def retrier_stmt(self): localctx = ASLParser.Retrier_stmtContext(self, self._ctx, self.state) self.enterRule(localctx, 102, self.RULE_retrier_stmt) try: - self.state = 496 + self.state = 498 self._errHandler.sync(self) token = self._input.LA(1) if token in [91]: self.enterOuterAlt(localctx, 1) - self.state = 492 + self.state = 494 self.error_equals_decl() pass elif token in [92]: self.enterOuterAlt(localctx, 2) - self.state = 493 + self.state = 495 self.interval_seconds_decl() pass elif token in [93]: self.enterOuterAlt(localctx, 3) - self.state = 494 + self.state = 496 self.max_attempts_decl() pass elif token in [94]: self.enterOuterAlt(localctx, 4) - self.state = 495 + self.state = 497 self.backoff_rate_decl() pass else: @@ -4657,27 +4672,27 @@ def error_equals_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 498 + self.state = 500 self.match(ASLParser.ERROREQUALS) - self.state = 499 + self.state = 501 self.match(ASLParser.COLON) - self.state = 500 + self.state = 502 self.match(ASLParser.LBRACK) - self.state = 501 + self.state = 503 self.error_name() - self.state = 506 + self.state = 508 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 502 + self.state = 504 self.match(ASLParser.COMMA) - self.state = 503 + self.state = 505 self.error_name() - self.state = 508 + self.state = 510 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 509 + self.state = 511 self.match(ASLParser.RBRACK) except RecognitionException as re: localctx.exception = re @@ -4730,11 +4745,11 @@ def interval_seconds_decl(self): self.enterRule(localctx, 106, self.RULE_interval_seconds_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 511 + self.state = 513 self.match(ASLParser.INTERVALSECONDS) - self.state = 512 + self.state = 514 self.match(ASLParser.COLON) - self.state = 513 + self.state = 515 self.match(ASLParser.INT) except RecognitionException as re: localctx.exception = re @@ -4787,11 +4802,11 @@ def max_attempts_decl(self): self.enterRule(localctx, 108, self.RULE_max_attempts_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 515 + self.state = 517 self.match(ASLParser.MAXATTEMPTS) - self.state = 516 + self.state = 518 self.match(ASLParser.COLON) - self.state = 517 + self.state = 519 self.match(ASLParser.INT) except RecognitionException as re: localctx.exception = re @@ -4844,11 +4859,11 @@ def backoff_rate_decl(self): self.enterRule(localctx, 110, self.RULE_backoff_rate_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 519 + self.state = 521 self.match(ASLParser.BACKOFFRATE) - self.state = 520 + self.state = 522 self.match(ASLParser.COLON) - self.state = 521 + self.state = 523 self.match(ASLParser.NUMBER) except RecognitionException as re: localctx.exception = re @@ -4918,27 +4933,27 @@ def catch_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 523 + self.state = 525 self.match(ASLParser.CATCH) - self.state = 524 + self.state = 526 self.match(ASLParser.COLON) - self.state = 525 + self.state = 527 self.match(ASLParser.LBRACK) - self.state = 526 + self.state = 528 self.catcher_decl() - self.state = 531 + self.state = 533 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 527 + self.state = 529 self.match(ASLParser.COMMA) - self.state = 528 + self.state = 530 self.catcher_decl() - self.state = 533 + self.state = 535 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 534 + self.state = 536 self.match(ASLParser.RBRACK) except RecognitionException as re: localctx.exception = re @@ -5002,23 +5017,23 @@ def catcher_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 536 + self.state = 538 self.match(ASLParser.LBRACE) - self.state = 537 + self.state = 539 self.catcher_stmt() - self.state = 542 + self.state = 544 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 538 + self.state = 540 self.match(ASLParser.COMMA) - self.state = 539 + self.state = 541 self.catcher_stmt() - self.state = 544 + self.state = 546 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 545 + self.state = 547 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -5073,22 +5088,22 @@ def catcher_stmt(self): localctx = ASLParser.Catcher_stmtContext(self, self._ctx, self.state) self.enterRule(localctx, 116, self.RULE_catcher_stmt) try: - self.state = 550 + self.state = 552 self._errHandler.sync(self) token = self._input.LA(1) if token in [91]: self.enterOuterAlt(localctx, 1) - self.state = 547 + self.state = 549 self.error_equals_decl() pass elif token in [82]: self.enterOuterAlt(localctx, 2) - self.state = 548 + self.state = 550 self.result_path_decl() pass elif token in [86]: self.enterOuterAlt(localctx, 3) - self.state = 549 + self.state = 551 self.next_decl() pass else: @@ -5254,7 +5269,7 @@ def comparison_op(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 552 + self.state = 554 _la = self._input.LA(1) if not(((((_la - 28)) & ~0x3f) == 0 and ((1 << (_la - 28)) & 2199022731007) != 0)): self._errHandler.recoverInline(self) @@ -5313,7 +5328,7 @@ def choice_operator(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 554 + self.state = 556 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 140806342049792) != 0)): self._errHandler.recoverInline(self) @@ -5402,7 +5417,7 @@ def states_error_name(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 556 + self.state = 558 _la = self._input.LA(1) if not(((((_la - 96)) & ~0x3f) == 0 and ((1 << (_la - 96)) & 8191) != 0)): self._errHandler.recoverInline(self) @@ -5458,18 +5473,18 @@ def error_name(self): localctx = ASLParser.Error_nameContext(self, self._ctx, self.state) self.enterRule(localctx, 124, self.RULE_error_name) try: - self.state = 560 + self.state = 562 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,31,self._ctx) + la_ = self._interp.adaptivePredict(self._input,32,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 558 + self.state = 560 self.states_error_name() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 559 + self.state = 561 self.keyword_or_string() pass @@ -5535,36 +5550,36 @@ def json_obj_decl(self): self.enterRule(localctx, 126, self.RULE_json_obj_decl) self._la = 0 # Token type try: - self.state = 575 + self.state = 577 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,33,self._ctx) + la_ = self._interp.adaptivePredict(self._input,34,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 562 + self.state = 564 self.match(ASLParser.LBRACE) - self.state = 563 + self.state = 565 self.json_binding() - self.state = 568 + self.state = 570 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 564 + self.state = 566 self.match(ASLParser.COMMA) - self.state = 565 + self.state = 567 self.json_binding() - self.state = 570 + self.state = 572 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 571 + self.state = 573 self.match(ASLParser.RBRACE) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 573 + self.state = 575 self.match(ASLParser.LBRACE) - self.state = 574 + self.state = 576 self.match(ASLParser.RBRACE) pass @@ -5622,11 +5637,11 @@ def json_binding(self): self.enterRule(localctx, 128, self.RULE_json_binding) try: self.enterOuterAlt(localctx, 1) - self.state = 577 + self.state = 579 self.keyword_or_string() - self.state = 578 + self.state = 580 self.match(ASLParser.COLON) - self.state = 579 + self.state = 581 self.json_value_decl() except RecognitionException as re: localctx.exception = re @@ -5689,36 +5704,36 @@ def json_arr_decl(self): self.enterRule(localctx, 130, self.RULE_json_arr_decl) self._la = 0 # Token type try: - self.state = 594 + self.state = 596 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,35,self._ctx) + la_ = self._interp.adaptivePredict(self._input,36,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 581 + self.state = 583 self.match(ASLParser.LBRACK) - self.state = 582 + self.state = 584 self.json_value_decl() - self.state = 587 + self.state = 589 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 583 + self.state = 585 self.match(ASLParser.COMMA) - self.state = 584 + self.state = 586 self.json_value_decl() - self.state = 589 + self.state = 591 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 590 + self.state = 592 self.match(ASLParser.RBRACK) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 592 + self.state = 594 self.match(ASLParser.LBRACK) - self.state = 593 + self.state = 595 self.match(ASLParser.RBRACK) pass @@ -5795,60 +5810,60 @@ def json_value_decl(self): localctx = ASLParser.Json_value_declContext(self, self._ctx, self.state) self.enterRule(localctx, 132, self.RULE_json_value_decl) try: - self.state = 605 + self.state = 607 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,36,self._ctx) + la_ = self._interp.adaptivePredict(self._input,37,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 596 + self.state = 598 self.match(ASLParser.NUMBER) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 597 + self.state = 599 self.match(ASLParser.INT) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 598 + self.state = 600 self.match(ASLParser.TRUE) pass elif la_ == 4: self.enterOuterAlt(localctx, 4) - self.state = 599 + self.state = 601 self.match(ASLParser.FALSE) pass elif la_ == 5: self.enterOuterAlt(localctx, 5) - self.state = 600 + self.state = 602 self.match(ASLParser.NULL) pass elif la_ == 6: self.enterOuterAlt(localctx, 6) - self.state = 601 + self.state = 603 self.json_binding() pass elif la_ == 7: self.enterOuterAlt(localctx, 7) - self.state = 602 + self.state = 604 self.json_arr_decl() pass elif la_ == 8: self.enterOuterAlt(localctx, 8) - self.state = 603 + self.state = 605 self.json_obj_decl() pass elif la_ == 9: self.enterOuterAlt(localctx, 9) - self.state = 604 + self.state = 606 self.keyword_or_string() pass @@ -6029,227 +6044,227 @@ def keyword_or_string(self): localctx = ASLParser.Keyword_or_stringContext(self, self._ctx, self.state) self.enterRule(localctx, 134, self.RULE_keyword_or_string) try: - self.state = 651 + self.state = 653 self._errHandler.sync(self) token = self._input.LA(1) if token in [113]: self.enterOuterAlt(localctx, 1) - self.state = 607 + self.state = 609 self.match(ASLParser.STRING) pass elif token in [110]: self.enterOuterAlt(localctx, 2) - self.state = 608 + self.state = 610 self.match(ASLParser.STRINGDOLLAR) pass elif token in [112]: self.enterOuterAlt(localctx, 3) - self.state = 609 + self.state = 611 self.match(ASLParser.STRINGPATH) pass elif token in [111]: self.enterOuterAlt(localctx, 4) - self.state = 610 + self.state = 612 self.match(ASLParser.STRINGPATHCONTEXTOBJ) pass elif token in [10]: self.enterOuterAlt(localctx, 5) - self.state = 611 + self.state = 613 self.match(ASLParser.COMMENT) pass elif token in [11]: self.enterOuterAlt(localctx, 6) - self.state = 612 + self.state = 614 self.match(ASLParser.STATES) pass elif token in [12]: self.enterOuterAlt(localctx, 7) - self.state = 613 + self.state = 615 self.match(ASLParser.STARTAT) pass elif token in [13]: self.enterOuterAlt(localctx, 8) - self.state = 614 + self.state = 616 self.match(ASLParser.NEXTSTATE) pass elif token in [14]: self.enterOuterAlt(localctx, 9) - self.state = 615 + self.state = 617 self.match(ASLParser.TYPE) pass elif token in [15]: self.enterOuterAlt(localctx, 10) - self.state = 616 + self.state = 618 self.match(ASLParser.TASK) pass elif token in [16]: self.enterOuterAlt(localctx, 11) - self.state = 617 + self.state = 619 self.match(ASLParser.CHOICE) pass elif token in [23]: self.enterOuterAlt(localctx, 12) - self.state = 618 + self.state = 620 self.match(ASLParser.CHOICES) pass elif token in [17]: self.enterOuterAlt(localctx, 13) - self.state = 619 + self.state = 621 self.match(ASLParser.FAIL) pass elif token in [20]: self.enterOuterAlt(localctx, 14) - self.state = 620 + self.state = 622 self.match(ASLParser.WAIT) pass elif token in [21]: self.enterOuterAlt(localctx, 15) - self.state = 621 + self.state = 623 self.match(ASLParser.PARALLEL) pass elif token in [22]: self.enterOuterAlt(localctx, 16) - self.state = 622 + self.state = 624 self.match(ASLParser.MAP) pass elif token in [18]: self.enterOuterAlt(localctx, 17) - self.state = 623 + self.state = 625 self.match(ASLParser.SUCCEED) pass elif token in [24]: self.enterOuterAlt(localctx, 18) - self.state = 624 + self.state = 626 self.match(ASLParser.VARIABLE) pass elif token in [78]: self.enterOuterAlt(localctx, 19) - self.state = 625 + self.state = 627 self.match(ASLParser.RESOURCE) pass elif token in [83]: self.enterOuterAlt(localctx, 20) - self.state = 626 + self.state = 628 self.match(ASLParser.RESULT) pass elif token in [87]: self.enterOuterAlt(localctx, 21) - self.state = 627 + self.state = 629 self.match(ASLParser.END) pass elif token in [88]: self.enterOuterAlt(localctx, 22) - self.state = 628 + self.state = 630 self.match(ASLParser.CAUSE) pass elif token in [89]: self.enterOuterAlt(localctx, 23) - self.state = 629 + self.state = 631 self.match(ASLParser.ERROR) pass elif token in [25]: self.enterOuterAlt(localctx, 24) - self.state = 630 + self.state = 632 self.match(ASLParser.DEFAULT) pass elif token in [81]: self.enterOuterAlt(localctx, 25) - self.state = 631 + self.state = 633 self.match(ASLParser.ITEMSPATH) pass elif token in [74]: self.enterOuterAlt(localctx, 26) - self.state = 632 + self.state = 634 self.match(ASLParser.MODE) pass elif token in [73]: self.enterOuterAlt(localctx, 27) - self.state = 633 + self.state = 635 self.match(ASLParser.PROCESSORCONFIG) pass elif token in [75]: self.enterOuterAlt(localctx, 28) - self.state = 634 + self.state = 636 self.match(ASLParser.INLINE) pass elif token in [80]: self.enterOuterAlt(localctx, 29) - self.state = 635 + self.state = 637 self.match(ASLParser.OUTPUTPATH) pass elif token in [82]: self.enterOuterAlt(localctx, 30) - self.state = 636 + self.state = 638 self.match(ASLParser.RESULTPATH) pass elif token in [79]: self.enterOuterAlt(localctx, 31) - self.state = 637 + self.state = 639 self.match(ASLParser.INPUTPATH) pass elif token in [69]: self.enterOuterAlt(localctx, 32) - self.state = 638 + self.state = 640 self.match(ASLParser.SECONDSPATH) pass elif token in [70]: self.enterOuterAlt(localctx, 33) - self.state = 639 + self.state = 641 self.match(ASLParser.SECONDS) pass elif token in [71]: self.enterOuterAlt(localctx, 34) - self.state = 640 + self.state = 642 self.match(ASLParser.TIMESTAMPPATH) pass elif token in [72]: self.enterOuterAlt(localctx, 35) - self.state = 641 + self.state = 643 self.match(ASLParser.TIMESTAMP) pass elif token in [90]: self.enterOuterAlt(localctx, 36) - self.state = 642 + self.state = 644 self.match(ASLParser.RETRY) pass elif token in [91]: self.enterOuterAlt(localctx, 37) - self.state = 643 + self.state = 645 self.match(ASLParser.ERROREQUALS) pass elif token in [92]: self.enterOuterAlt(localctx, 38) - self.state = 644 + self.state = 646 self.match(ASLParser.INTERVALSECONDS) pass elif token in [93]: self.enterOuterAlt(localctx, 39) - self.state = 645 + self.state = 647 self.match(ASLParser.MAXATTEMPTS) pass elif token in [94]: self.enterOuterAlt(localctx, 40) - self.state = 646 + self.state = 648 self.match(ASLParser.BACKOFFRATE) pass elif token in [95]: self.enterOuterAlt(localctx, 41) - self.state = 647 + self.state = 649 self.match(ASLParser.CATCH) pass elif token in [28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68]: self.enterOuterAlt(localctx, 42) - self.state = 648 + self.state = 650 self.comparison_func() pass elif token in [27, 36, 47]: self.enterOuterAlt(localctx, 43) - self.state = 649 + self.state = 651 self.choice_operator() pass elif token in [96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108]: self.enterOuterAlt(localctx, 44) - self.state = 650 + self.state = 652 self.states_error_name() pass else: diff --git a/localstack/services/stepfunctions/asl/component/common/path/result_path.py b/localstack/services/stepfunctions/asl/component/common/path/result_path.py index 88fe1c2ed0845..1e2ed299a3daf 100644 --- a/localstack/services/stepfunctions/asl/component/common/path/result_path.py +++ b/localstack/services/stepfunctions/asl/component/common/path/result_path.py @@ -1,5 +1,5 @@ import copy -from typing import Final +from typing import Final, Optional from jsonpath_ng import parse @@ -11,11 +11,15 @@ class ResultPath(EvalComponent): DEFAULT_PATH: Final[str] = "$" def __init__(self, result_path_src: str): - self.result_path_src: Final[str] = result_path_src + self.result_path_src: Final[Optional[str]] = result_path_src def _eval_body(self, env: Environment) -> None: + result = env.stack.pop() + + if self.result_path_src is None: + return + result_expr = parse(self.result_path_src) - result = copy.deepcopy(env.stack.pop()) if env.inp is None: env.inp = dict() - env.inp = result_expr.update_or_create(env.inp, result) + env.inp = result_expr.update_or_create(env.inp, copy.deepcopy(result)) diff --git a/localstack/services/stepfunctions/asl/component/common/payload/payloadvalue/payloadbinding/payload_binding_path_context_obj.py b/localstack/services/stepfunctions/asl/component/common/payload/payloadvalue/payloadbinding/payload_binding_path_context_obj.py index 6e16e6713bcd5..6ebea026aeef8 100644 --- a/localstack/services/stepfunctions/asl/component/common/payload/payloadvalue/payloadbinding/payload_binding_path_context_obj.py +++ b/localstack/services/stepfunctions/asl/component/common/payload/payloadvalue/payloadbinding/payload_binding_path_context_obj.py @@ -21,8 +21,10 @@ def from_raw(cls, string_dollar: str, string_path_context_obj: str): def _eval_val(self, env: Environment) -> Any: if self.path_context_obj.endswith("Task.Token"): task_token = env.context_object_manager.update_task_token() - return env.callback_pool_manager.add(task_token) - value = JSONPathUtils.extract_json( - self.path_context_obj, env.context_object_manager.context_object - ) + env.callback_pool_manager.add(task_token) + value = task_token + else: + value = JSONPathUtils.extract_json( + self.path_context_obj, env.context_object_manager.context_object + ) return value diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py index f6da7acddac8b..c86f78d51bb82 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py @@ -15,7 +15,10 @@ class StateTaskService(StateTask, abc.ABC): resource: ServiceResource - def _get_resource_type(self) -> str: + def _get_sfn_resource(self) -> str: + return self.resource.api_action + + def _get_sfn_resource_type(self) -> str: return self.resource.service_name def _eval_parameters(self, env: Environment) -> dict: diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py index 4ad0df993015d..b8cfb2edbc1e3 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py @@ -1,13 +1,6 @@ from botocore.exceptions import ClientError -from localstack.aws.api.stepfunctions import ( - HistoryEventExecutionDataDetails, - HistoryEventType, - TaskFailedEventDetails, - TaskScheduledEventDetails, - TaskStartedEventDetails, - TaskSucceededEventDetails, -) +from localstack.aws.api.stepfunctions import HistoryEventType, TaskFailedEventDetails from localstack.aws.protocol.service_router import get_service_catalog from localstack.services.stepfunctions.asl.component.common.error_name.failure_event import ( FailureEvent, @@ -23,63 +16,38 @@ ) from localstack.services.stepfunctions.asl.eval.environment import Environment from localstack.services.stepfunctions.asl.eval.event.event_detail import EventDetails -from localstack.services.stepfunctions.asl.utils.encoding import to_json_str from localstack.utils.aws import aws_stack from localstack.utils.common import camel_to_snake_case class StateTaskServiceAwsSdk(StateTaskServiceCallback): - def _get_resource_type(self) -> str: + _API_NAMES: dict[str, str] = {"sfn": "stepfunctions"} + _SFN_TO_BOTO_PARAM_NORMALISERS = { + "stepfunctions": {"send_task_success": {"Output": "output", "TaskToken": "taskToken"}} + } + + def _get_sfn_resource_type(self) -> str: return f"{self.resource.service_name}:{self.resource.api_name}" - def _eval_service_task(self, env: Environment) -> None: - api_name = self.resource.api_name - api_action = camel_to_snake_case(self.resource.api_action) + def _normalise_api_name(self, api_name: str) -> str: + return self._API_NAMES.get(api_name, api_name) - parameters = self._eval_parameters(env=env) - - # Simulate scheduled-start workflow. - parameters_str = to_json_str(parameters) - env.event_history.add_event( - hist_type_event=HistoryEventType.TaskScheduled, - event_detail=EventDetails( - taskScheduledEventDetails=TaskScheduledEventDetails( - resourceType=self._get_resource_type(), - resource=self.resource.api_action, - region=self.resource.region, - parameters=parameters_str, - ) - ), - ) - env.event_history.add_event( - hist_type_event=HistoryEventType.TaskStarted, - event_detail=EventDetails( - taskStartedEventDetails=TaskStartedEventDetails( - resourceType=self._get_resource_type(), - resource=self.resource.api_action, - ) - ), - ) - - api_client = aws_stack.create_external_boto_client(service_name=api_name) + def _boto_normalise_parameters(self, api_name: str, api_action: str, parameters: dict) -> None: + api_normalisers = self._SFN_TO_BOTO_PARAM_NORMALISERS.get(api_name, None) + if not api_normalisers: + return - response = getattr(api_client, api_action)(**parameters) or dict() - if response: - response.pop("ResponseMetadata", None) + action_normalisers = api_normalisers.get(api_action, None) + if not action_normalisers: + return None - env.stack.append(response) - - env.event_history.add_event( - hist_type_event=HistoryEventType.TaskSucceeded, - event_detail=EventDetails( - taskSucceededEventDetails=TaskSucceededEventDetails( - resourceType=self._get_resource_type(), - resource=self.resource.api_action, - output=to_json_str(response), - outputDetails=HistoryEventExecutionDataDetails(truncated=False), - ) - ), - ) + parameter_keys = list(parameters.keys()) + for parameter_key in parameter_keys: + norm_parameter_key = action_normalisers.get(parameter_key, None) + if norm_parameter_key: + tmp = parameters[parameter_key] + del parameters[parameter_key] + parameters[norm_parameter_key] = tmp @staticmethod def _normalise_service_name(service_name: str) -> str: @@ -96,8 +64,8 @@ def _get_task_failure_event(self, error: str, cause: str) -> FailureEvent: event_type=HistoryEventType.TaskFailed, event_details=EventDetails( taskFailedEventDetails=TaskFailedEventDetails( - resourceType=self._get_resource_type(), - resource=self.resource.api_action, + resource=self._get_sfn_resource(), + resourceType=self._get_sfn_resource_type(), error=error, cause=cause, ) @@ -127,3 +95,20 @@ def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: error=error, cause=str(ex) # TODO: update cause decoration. ) return failure_event + + def _eval_service_task(self, env: Environment, parameters: dict) -> None: + api_name = self.resource.api_name + api_name = self._normalise_api_name(api_name) + api_action = camel_to_snake_case(self.resource.api_action) + + self._boto_normalise_parameters( + api_name=api_name, api_action=api_action, parameters=parameters + ) + + api_client = aws_stack.create_external_boto_client(service_name=api_name) + + response = getattr(api_client, api_action)(**parameters) or dict() + if response: + response.pop("ResponseMetadata", None) + + env.stack.append(response) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py index d9b62bd17b2c2..05ae9821c70a4 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py @@ -1,19 +1,105 @@ +import json from abc import abstractmethod +from localstack.aws.api.stepfunctions import ( + HistoryEventExecutionDataDetails, + HistoryEventType, + TaskScheduledEventDetails, + TaskStartedEventDetails, + TaskSubmittedEventDetails, + TaskSucceededEventDetails, +) +from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.resource import ( + ResourceCondition, +) from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.state_task_service import ( StateTaskService, ) +from localstack.services.stepfunctions.asl.eval.callback.callback import CallbackOutcomeSuccess from localstack.services.stepfunctions.asl.eval.environment import Environment +from localstack.services.stepfunctions.asl.eval.event.event_detail import EventDetails +from localstack.services.stepfunctions.asl.utils.encoding import to_json_str class StateTaskServiceCallback(StateTaskService): + def _get_sfn_resource(self) -> str: + resource = super()._get_sfn_resource() + if self.resource.condition is not None: + resource += f".{self.resource.condition}" + return resource + @abstractmethod - def _eval_service_task(self, env: Environment): + def _eval_service_task(self, env: Environment, parameters: dict): ... + def _wait_for_task_token(self, env: Environment) -> None: # noqa + callback_id = env.context_object_manager.context_object["Task"]["Token"] + callback_endpoint = env.callback_pool_manager.get(callback_id) + outcome = callback_endpoint.wait() # TODO: implement timeout. + + if isinstance(outcome, CallbackOutcomeSuccess): + outcome_output = json.loads(outcome.output) + env.stack.append(outcome_output) + else: + raise NotImplementedError(f"Unsupported Callbackoutcome type '{type(outcome)}'.") + + def _is_condition(self): + return self.resource.condition is not None + def _eval_execution(self, env: Environment) -> None: - self._eval_service_task(env=env) - if self.resource.condition is not None: - callback_id = env.context_object_manager.context_object["Task"]["Token"] - callback_endpoint = env.callback_pool_manager.get(callback_id) - callback_endpoint.wait() # TODO: implement timeout. + parameters = self._eval_parameters(env=env) + parameters_str = to_json_str(parameters) + + env.event_history.add_event( + hist_type_event=HistoryEventType.TaskScheduled, + event_detail=EventDetails( + taskScheduledEventDetails=TaskScheduledEventDetails( + resource=self._get_sfn_resource(), + resourceType=self._get_sfn_resource_type(), + region=self.resource.region, + parameters=parameters_str, + ) + ), + ) + env.event_history.add_event( + hist_type_event=HistoryEventType.TaskStarted, + event_detail=EventDetails( + taskStartedEventDetails=TaskStartedEventDetails( + resource=self._get_sfn_resource(), resourceType=self._get_sfn_resource_type() + ) + ), + ) + + self._eval_service_task(env=env, parameters=parameters) + + if self._is_condition(): + output = env.stack.pop() + env.event_history.add_event( + hist_type_event=HistoryEventType.TaskSubmitted, + event_detail=EventDetails( + taskSubmittedEventDetails=TaskSubmittedEventDetails( + resource=self._get_sfn_resource(), + resourceType=self._get_sfn_resource_type(), + output=to_json_str(output), + outputDetails=HistoryEventExecutionDataDetails(truncated=False), + ) + ), + ) + match self.resource.condition: + case ResourceCondition.WaitForTaskToken: + self._wait_for_task_token(env=env) + case unsupported: + raise NotImplementedError(f"Unsupported callback type '{unsupported}'.") + + output = env.stack[-1] + env.event_history.add_event( + hist_type_event=HistoryEventType.TaskSucceeded, + event_detail=EventDetails( + taskSucceededEventDetails=TaskSucceededEventDetails( + resource=self._get_sfn_resource(), + resourceType=self._get_sfn_resource_type(), + output=to_json_str(output), + outputDetails=HistoryEventExecutionDataDetails(truncated=False), + ) + ), + ) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py index 742f1ef1dafc4..f091987f239ff 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py @@ -1,13 +1,6 @@ from botocore.exceptions import ClientError -from localstack.aws.api.stepfunctions import ( - HistoryEventExecutionDataDetails, - HistoryEventType, - TaskFailedEventDetails, - TaskScheduledEventDetails, - TaskStartedEventDetails, - TaskSucceededEventDetails, -) +from localstack.aws.api.stepfunctions import HistoryEventType, TaskFailedEventDetails from localstack.services.stepfunctions.asl.component.common.error_name.custom_error_name import ( CustomErrorName, ) @@ -29,7 +22,6 @@ ) from localstack.services.stepfunctions.asl.eval.environment import Environment from localstack.services.stepfunctions.asl.eval.event.event_detail import EventDetails -from localstack.services.stepfunctions.asl.utils.encoding import to_json_str class StateTaskServiceLambda(StateTaskServiceCallback, StateTaskLambda): @@ -70,47 +62,11 @@ def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: taskFailedEventDetails=TaskFailedEventDetails( error=error, cause=cause, - resourceType=self._get_resource_type(), - resource=self.resource.api_action, - ) - ), - ) - - def _eval_service_task(self, env: Environment) -> None: - parameters = self._eval_parameters(env=env) - parameters_str = to_json_str(parameters) - env.event_history.add_event( - hist_type_event=HistoryEventType.TaskScheduled, - event_detail=EventDetails( - taskScheduledEventDetails=TaskScheduledEventDetails( - resourceType=self._get_resource_type(), - resource=self.resource.api_action, - region=self.resource.region, - parameters=parameters_str, - ) - ), - ) - env.event_history.add_event( - hist_type_event=HistoryEventType.TaskStarted, - event_detail=EventDetails( - taskStartedEventDetails=TaskStartedEventDetails( - resourceType=self._get_resource_type(), - resource=self.resource.api_action, + resource=self._get_sfn_resource(), + resourceType=self._get_sfn_resource_type(), ) ), ) + def _eval_service_task(self, env: Environment, parameters: dict) -> None: super()._exec_lambda_function(env=env) - response = env.stack[-1] - - env.event_history.add_event( - hist_type_event=HistoryEventType.TaskSucceeded, - event_detail=EventDetails( - taskSucceededEventDetails=TaskSucceededEventDetails( - resourceType=self._get_resource_type(), - resource=self.resource.api_action, - output=to_json_str(response), - outputDetails=HistoryEventExecutionDataDetails(truncated=False), - ) - ), - ) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py index 24f13efa68ce7..99f7e0f744b1f 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py @@ -2,14 +2,7 @@ from botocore.exceptions import ClientError -from localstack.aws.api.stepfunctions import ( - HistoryEventExecutionDataDetails, - HistoryEventType, - TaskFailedEventDetails, - TaskScheduledEventDetails, - TaskStartedEventDetails, - TaskSucceededEventDetails, -) +from localstack.aws.api.stepfunctions import HistoryEventType, TaskFailedEventDetails from localstack.services.stepfunctions.asl.component.common.error_name.custom_error_name import ( CustomErrorName, ) @@ -52,8 +45,8 @@ def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: cause=ex.response["Error"][ "Message" ], # TODO: update to report expected cause. - resource=self.resource.api_action, - resourceType=self.resource.service_name, + resource=self._get_sfn_resource(), + resourceType=self._get_sfn_resource_type(), ) ), ) @@ -65,8 +58,8 @@ def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: taskFailedEventDetails=TaskFailedEventDetails( error=self._ERROR_NAME_AWS, cause=str(ex), # TODO: update to report expected cause. - resource=self.resource.api_action, - resourceType=self.resource.service_name, + resource=self._get_sfn_resource(), + resourceType=self._get_sfn_resource_type(), ) ), ) @@ -89,45 +82,16 @@ def _eval_parameters(self, env: Environment) -> dict: return parameters - def _eval_service_task(self, env: Environment) -> None: - parameters = self._eval_parameters(env=env) - - parameters_str = to_json_str(parameters) - env.event_history.add_event( - hist_type_event=HistoryEventType.TaskScheduled, - event_detail=EventDetails( - taskScheduledEventDetails=TaskScheduledEventDetails( - resourceType=self._get_resource_type(), - resource=self.resource.api_action, - region=self.resource.region, - parameters=parameters_str, - ) - ), - ) - env.event_history.add_event( - hist_type_event=HistoryEventType.TaskStarted, - event_detail=EventDetails( - taskStartedEventDetails=TaskStartedEventDetails( - resourceType=self._get_resource_type(), - resource=self.resource.api_action, - ) - ), - ) + def _eval_service_task(self, env: Environment, parameters: dict) -> None: + # TODO: Stepfunctions automatically dumps to json MessageBody's definitions. + # Are these other similar scenarios? + if "MessageBody" in parameters: + message_body = parameters["MessageBody"] + if message_body is not None and not isinstance(message_body, str): + parameters["MessageBody"] = to_json_str(message_body) api_action = camel_to_snake_case(self.resource.api_action) sqs_client = aws_stack.create_external_boto_client("sqs") response = getattr(sqs_client, api_action)(**parameters) response.pop("ResponseMetadata", None) env.stack.append(response) - - env.event_history.add_event( - hist_type_event=HistoryEventType.TaskSucceeded, - event_detail=EventDetails( - taskSucceededEventDetails=TaskSucceededEventDetails( - resourceType=self._get_resource_type(), - resource=self.resource.api_action, - output=to_json_str(response), - outputDetails=HistoryEventExecutionDataDetails(truncated=False), - ) - ), - ) diff --git a/localstack/services/stepfunctions/asl/eval/callback/callback.py b/localstack/services/stepfunctions/asl/eval/callback/callback.py index 12649d07e9aa9..dee4b202d97a6 100644 --- a/localstack/services/stepfunctions/asl/eval/callback/callback.py +++ b/localstack/services/stepfunctions/asl/eval/callback/callback.py @@ -55,6 +55,7 @@ def __init__(self, callback_id: CallbackId): self.callback_id = callback_id self._notify_event = Event() self._outcome = None + self.consumer_error = None def notify(self, outcome: CallbackOutcome): self._outcome = outcome diff --git a/localstack/services/stepfunctions/asl/parse/preprocessor.py b/localstack/services/stepfunctions/asl/parse/preprocessor.py index 33f55fda60948..a0824487fd7ab 100644 --- a/localstack/services/stepfunctions/asl/parse/preprocessor.py +++ b/localstack/services/stepfunctions/asl/parse/preprocessor.py @@ -185,6 +185,8 @@ class Preprocessor(ASLParserVisitor): @staticmethod def _inner_string_of(parse_tree: ParseTree) -> Optional[str]: + if Antlr4Utils.is_terminal(parse_tree, ASLLexer.NULL): + return None pt = Antlr4Utils.is_production(parse_tree) or Antlr4Utils.is_terminal(parse_tree) inner_str = pt.getText() if inner_str.startswith('"') and inner_str.endswith('"'): @@ -237,7 +239,7 @@ def visitNext_decl(self, ctx: ASLParser.Next_declContext) -> Next: return Next(name=inner_str) def visitResult_path_decl(self, ctx: ASLParser.Result_path_declContext) -> ResultPath: - inner_str = self._inner_string_of(parse_tree=ctx.keyword_or_string()) + inner_str = self._inner_string_of(parse_tree=ctx.children[-1]) return ResultPath(result_path_src=inner_str) def visitInput_path_decl(self, ctx: ASLParser.Input_path_declContext) -> InputPath: diff --git a/setup.cfg b/setup.cfg index 35b991b252110..d079b8e0a583f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -65,7 +65,7 @@ runtime = airspeed-ext==0.5.19 # TODO: check amazon_kclpy pin once build failure in 2.1.0 has been fixed amazon_kclpy>=2.0.6,<2.1.0 - antlr4-python3-runtime==4.11.1 + antlr4-python3-runtime==4.12.0 aws-sam-translator>=1.15.1 awscli>=1.22.90 awscrt>=0.13.14 diff --git a/tests/integration/stepfunctions/conftest.py b/tests/integration/stepfunctions/conftest.py index c9d966a889898..64c0a9f2d5ac4 100644 --- a/tests/integration/stepfunctions/conftest.py +++ b/tests/integration/stepfunctions/conftest.py @@ -5,6 +5,7 @@ import pytest from localstack.utils.strings import short_uid +from tests.integration.stepfunctions.templates.callbacks.callback_templates import CallbackTemplates from tests.integration.stepfunctions.utils import await_execution_success LOG = logging.getLogger(__name__) @@ -77,7 +78,7 @@ def _wait_sfn_can_assume_role(): ], "End": True, }, - "WaitAndPull": {"Type": "Wait", "Seconds": 1, "Next": "PullAssumeRole"}, + "WaitAndPull": {"Type": "Wait", "Seconds": 5, "Next": "PullAssumeRole"}, }, } creation_resp = create_state_machine( @@ -120,3 +121,23 @@ def _create_state_machine(**kwargs): aws_client.stepfunctions.delete_state_machine(stateMachineArn=state_machine_arn) except Exception: LOG.debug(f"Unable to delete state machine '{state_machine_arn}' during cleanup.") + + +@pytest.fixture +def sqs_send_task_success_state_machine(aws_client, create_state_machine, create_iam_role_for_sfn): + def _create_state_machine(sqs_queue_url): + snf_role_arn = create_iam_role_for_sfn() + sm_name: str = f"sqs_send_task_success_state_machine_{short_uid()}" + template = CallbackTemplates.load_sfn_template(CallbackTemplates.SQS_SUCCESS_ON_TASK_TOKEN) + definition = json.dumps(template) + + creation_resp = create_state_machine( + name=sm_name, definition=definition, roleArn=snf_role_arn + ) + state_machine_arn = creation_resp["stateMachineArn"] + + aws_client.stepfunctions.start_execution( + stateMachineArn=state_machine_arn, input=json.dumps({"QueueUrl": sqs_queue_url}) + ) + + return _create_state_machine diff --git a/tests/integration/stepfunctions/templates/callbacks/__init__.py b/tests/integration/stepfunctions/templates/callbacks/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/tests/integration/stepfunctions/templates/callbacks/callback_templates.py b/tests/integration/stepfunctions/templates/callbacks/callback_templates.py new file mode 100644 index 0000000000000..4ba879b23c84b --- /dev/null +++ b/tests/integration/stepfunctions/templates/callbacks/callback_templates.py @@ -0,0 +1,15 @@ +import os +from typing import Final + +from tests.integration.stepfunctions.templates.template_loader import TemplateLoader + +_THIS_FOLDER: Final[str] = os.path.dirname(os.path.realpath(__file__)) + + +class CallbackTemplates(TemplateLoader): + SQS_SUCCESS_ON_TASK_TOKEN: Final[str] = os.path.join( + _THIS_FOLDER, "statemachines/sqs_success_on_task_token.json5" + ) + SQS_WAIT_FOR_TASK_TOKEN: Final[str] = os.path.join( + _THIS_FOLDER, "statemachines/sqs_wait_for_task_token.json5" + ) diff --git a/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_success_on_task_token.json5 b/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_success_on_task_token.json5 new file mode 100644 index 0000000000000..f9f591a13579d --- /dev/null +++ b/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_success_on_task_token.json5 @@ -0,0 +1,62 @@ +{ + "Comment": "sqs_success_on_task_token", + "StartAt": "WaitAndRestart", + "States": { + "WaitAndRestart": { + "Type": "Wait", + "Seconds": 1, + "Next": "Receive" + }, + "Receive": { + "Type": "Task", + "Parameters": { + "QueueUrl.$": "$.QueueUrl" + }, + "Resource": "arn:aws:states:::aws-sdk:sqs:receiveMessage", + "ResultPath": "$.SQSOutput", + "Next": "CheckMessages", + }, + "CheckMessages": { + "Type": "Choice", + "Choices": [ + { + "Variable": "$.SQSOutput.Messages", + "IsPresent": true, + "Next": "SendSuccesses" + } + ], + "Default": "WaitAndRestart" + }, + "SendSuccesses": { + "Type": "Map", + "InputPath": "$.SQSOutput.Messages", + "ItemProcessor": { + "ProcessorConfig": { + "Mode": "INLINE" + }, + "StartAt": "ParseBody", + "States": { + "ParseBody": { + "Type": "Pass", + "Parameters": { + "body.$": "States.StringToJson($.Body)" + }, + "Next": "Send" + }, + "Send": { + "Type": "Task", + "Resource": "arn:aws:states:::aws-sdk:sfn:sendTaskSuccess", + "Parameters": { + "Output.$": "States.JsonToString($.body.Message)", + "TaskToken.$": "$.body.TaskToken" + }, + "End": true + } + }, + }, + "ResultPath": null, + "OutputPath": "$.QueueUrl", + "Next": "WaitAndRestart" + } + }, +} \ No newline at end of file diff --git a/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_wait_for_task_token.json5 b/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_wait_for_task_token.json5 new file mode 100644 index 0000000000000..0508603eeb55b --- /dev/null +++ b/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_wait_for_task_token.json5 @@ -0,0 +1,17 @@ +{ + "StartAt": "SendMessageWithWait", + "States": { + "SendMessageWithWait": { + "Type": "Task", + "Resource": "arn:aws:states:::sqs:sendMessage.waitForTaskToken", + "Parameters": { + "QueueUrl.$": "$.QueueUrl", + "MessageBody": { + "Message.$": "$.Message", + "TaskToken.$": "$$.Task.Token" + } + }, + "End": true + } + } +} \ No newline at end of file diff --git a/tests/integration/stepfunctions/v2/callback/__init__.py b/tests/integration/stepfunctions/v2/callback/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/tests/integration/stepfunctions/v2/callback/test_callback.py b/tests/integration/stepfunctions/v2/callback/test_callback.py new file mode 100644 index 0000000000000..22b28ec31e220 --- /dev/null +++ b/tests/integration/stepfunctions/v2/callback/test_callback.py @@ -0,0 +1,65 @@ +import json + +import pytest + +from localstack.testing.snapshots.transformer import JsonpathTransformer, RegexTransformer +from localstack.utils.strings import short_uid +from tests.integration.stepfunctions.templates.callbacks.callback_templates import ( + CallbackTemplates as CT, +) +from tests.integration.stepfunctions.utils import create_and_record_execution, is_old_provider + +pytestmark = pytest.mark.skipif( + condition=is_old_provider(), reason="Test suite for v2 provider only." +) + + +@pytest.mark.skip_snapshot_verify( + paths=[ + "$..loggingConfiguration", + "$..tracingConfiguration", + "$..previousEventId", + "$..SdkHttpMetadata", + "$..SdkResponseMetadata", + ] +) +class TestCallback: + @pytest.mark.skip_snapshot_verify(paths=["$..MD5OfMessageBody"]) + def test_sqs_wait_for_task_tok( + self, + aws_client, + create_iam_role_for_sfn, + create_state_machine, + sqs_create_queue, + sqs_send_task_success_state_machine, + snapshot, + ): + snapshot.add_transformer(snapshot.transform.sqs_api()) + snapshot.add_transformer( + JsonpathTransformer( + jsonpath="$..TaskToken", + replacement="", + replace_reference=True, + ) + ) + + queue_name = f"queue-{short_uid()}" + queue_url = sqs_create_queue(QueueName=queue_name) + snapshot.add_transformer(RegexTransformer(queue_url, "")) + snapshot.add_transformer(RegexTransformer(queue_name, "")) + + sqs_send_task_success_state_machine(queue_url) + + template = CT.load_sfn_template(CT.SQS_WAIT_FOR_TASK_TOKEN) + definition = json.dumps(template) + + message_txt = "test_message_txt" + exec_input = json.dumps({"QueueUrl": queue_url, "Message": message_txt}) + create_and_record_execution( + aws_client.stepfunctions, + create_iam_role_for_sfn, + create_state_machine, + snapshot, + definition, + exec_input, + ) diff --git a/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json b/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json new file mode 100644 index 0000000000000..9f3510507c8ae --- /dev/null +++ b/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json @@ -0,0 +1,157 @@ +{ + "tests/integration/stepfunctions/v2/callback/test_callback.py::TestCallback::test_sqs_wait_for_task_tok": { + "recorded-date": "09-05-2023, 15:16:19", + "recorded-content": { + "get_execution_history": { + "events": [ + { + "executionStartedEventDetails": { + "input": { + "QueueUrl": "", + "Message": "test_message_txt" + }, + "inputDetails": { + "truncated": false + }, + "roleArn": "arn:aws:iam::111111111111:role/" + }, + "id": 1, + "previousEventId": 0, + "timestamp": "timestamp", + "type": "ExecutionStarted" + }, + { + "id": 2, + "previousEventId": 0, + "stateEnteredEventDetails": { + "input": { + "QueueUrl": "", + "Message": "test_message_txt" + }, + "inputDetails": { + "truncated": false + }, + "name": "SendMessageWithWait" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 3, + "previousEventId": 2, + "taskScheduledEventDetails": { + "parameters": { + "MessageBody": { + "Message": "test_message_txt", + "TaskToken": "<:1>" + }, + "QueueUrl": "" + }, + "region": "", + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs" + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 4, + "previousEventId": 3, + "taskStartedEventDetails": { + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 5, + "previousEventId": 4, + "taskSubmittedEventDetails": { + "output": { + "MD5OfMessageBody": "754c3bebd739b14a3a47118257ade61d", + "MessageId": "", + "SdkHttpMetadata": { + "AllHttpHeaders": { + "x-amzn-RequestId": [ + "" + ], + "Content-Length": [ + "378" + ], + "Date": [ + "Tue, 09 May 2023 13:16:18 GMT" + ], + "Content-Type": [ + "text/xml" + ] + }, + "HttpHeaders": { + "Content-Length": "378", + "Content-Type": "text/xml", + "Date": "Tue, 09 May 2023 13:16:18 GMT", + "x-amzn-RequestId": "" + }, + "HttpStatusCode": 200 + }, + "SdkResponseMetadata": { + "RequestId": "" + } + }, + "outputDetails": { + "truncated": false + }, + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs" + }, + "timestamp": "timestamp", + "type": "TaskSubmitted" + }, + { + "id": 6, + "previousEventId": 5, + "taskSucceededEventDetails": { + "output": "\"test_message_txt\"", + "outputDetails": { + "truncated": false + }, + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs" + }, + "timestamp": "timestamp", + "type": "TaskSucceeded" + }, + { + "id": 7, + "previousEventId": 6, + "stateExitedEventDetails": { + "name": "SendMessageWithWait", + "output": "\"test_message_txt\"", + "outputDetails": { + "truncated": false + } + }, + "timestamp": "timestamp", + "type": "TaskStateExited" + }, + { + "executionSucceededEventDetails": { + "output": "\"test_message_txt\"", + "outputDetails": { + "truncated": false + } + }, + "id": 8, + "previousEventId": 7, + "timestamp": "timestamp", + "type": "ExecutionSucceeded" + } + ], + "ResponseMetadata": { + "HTTPHeaders": {}, + "HTTPStatusCode": 200 + } + } + } + } +} From 4d63d303b796905a2c627cd5f1747dffcfc8ad07 Mon Sep 17 00:00:00 2001 From: MEPalma Date: Wed, 10 May 2023 15:49:09 +0200 Subject: [PATCH 3/9] update snap test --- .../stepfunctions/v2/callback/test_callback.snapshot.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json b/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json index 9f3510507c8ae..bc9a49885c207 100644 --- a/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json +++ b/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/callback/test_callback.py::TestCallback::test_sqs_wait_for_task_tok": { - "recorded-date": "09-05-2023, 15:16:19", + "recorded-date": "10-05-2023, 15:43:08", "recorded-content": { "get_execution_history": { "events": [ @@ -69,7 +69,7 @@ "previousEventId": 4, "taskSubmittedEventDetails": { "output": { - "MD5OfMessageBody": "754c3bebd739b14a3a47118257ade61d", + "MD5OfMessageBody": "95adacacec73703a3538430d3decf18f", "MessageId": "", "SdkHttpMetadata": { "AllHttpHeaders": { @@ -80,7 +80,7 @@ "378" ], "Date": [ - "Tue, 09 May 2023 13:16:18 GMT" + "Wed, 10 May 2023 13:43:06 GMT" ], "Content-Type": [ "text/xml" @@ -89,7 +89,7 @@ "HttpHeaders": { "Content-Length": "378", "Content-Type": "text/xml", - "Date": "Tue, 09 May 2023 13:16:18 GMT", + "Date": "Wed, 10 May 2023 13:43:06 GMT", "x-amzn-RequestId": "" }, "HttpStatusCode": 200 From 21f10eeb5ff09fc936d85069ac1e8222e89206c4 Mon Sep 17 00:00:00 2001 From: MEPalma Date: Thu, 11 May 2023 15:35:32 +0200 Subject: [PATCH 4/9] reworked parameters, improved double dep of lambda state tasks, tests --- .../asl/component/program/program.py | 7 +- .../state_task/lambda_eval_utils.py | 55 ++ .../state_task/service/state_task_service.py | 9 - .../service/state_task_service_aws_sdk.py | 45 +- .../service/state_task_service_lambda.py | 32 +- .../service/state_task_service_sqs.py | 21 +- .../state_execution/state_task/state_task.py | 35 ++ .../state_task/state_task_lambda.py | 75 +-- .../templates/services/services_templates.py | 6 + .../lambda_invoke_log_type.json5 | 21 + .../statemachines/lambda_list_functions.json5 | 12 + .../v2/services/test_lambda_task_service.py | 59 ++- .../test_lambda_task_service.snapshot.json | 501 ++++++++++++++++++ 13 files changed, 758 insertions(+), 120 deletions(-) create mode 100644 localstack/services/stepfunctions/asl/component/state/state_execution/state_task/lambda_eval_utils.py create mode 100644 tests/integration/stepfunctions/templates/services/statemachines/lambda_invoke_log_type.json5 create mode 100644 tests/integration/stepfunctions/templates/services/statemachines/lambda_list_functions.json5 diff --git a/localstack/services/stepfunctions/asl/component/program/program.py b/localstack/services/stepfunctions/asl/component/program/program.py index 83769d8199a79..c9406b9f2637e 100644 --- a/localstack/services/stepfunctions/asl/component/program/program.py +++ b/localstack/services/stepfunctions/asl/component/program/program.py @@ -3,6 +3,7 @@ from localstack.aws.api.stepfunctions import ( ExecutionAbortedEventDetails, + ExecutionFailedEventDetails, ExecutionSucceededEventDetails, HistoryEventExecutionDataDetails, HistoryEventType, @@ -19,6 +20,7 @@ from localstack.services.stepfunctions.asl.eval.programstate.program_state import ProgramState from localstack.services.stepfunctions.asl.eval.programstate.program_stopped import ProgramStopped from localstack.services.stepfunctions.asl.utils.encoding import to_json_str +from localstack.utils.collections import select_from_typed_dict LOG = logging.getLogger(__name__) @@ -49,9 +51,12 @@ def _eval_body(self, env: Environment) -> None: program_state: ProgramState = env.program_state() if isinstance(program_state, ProgramError): + exec_failed_event_details = select_from_typed_dict( + typed_dict=ExecutionFailedEventDetails, obj=program_state.error + ) env.event_history.add_event( hist_type_event=HistoryEventType.ExecutionFailed, - event_detail=EventDetails(executionFailedEventDetails=program_state.error), + event_detail=EventDetails(executionFailedEventDetails=exec_failed_event_details), ) elif isinstance(program_state, ProgramStopped): env.event_history.add_event( diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/lambda_eval_utils.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/lambda_eval_utils.py new file mode 100644 index 0000000000000..2aec84760a236 --- /dev/null +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/lambda_eval_utils.py @@ -0,0 +1,55 @@ +import json +from json import JSONDecodeError +from typing import Any, Final, Optional + +from localstack.aws.api.lambda_ import InvocationResponse +from localstack.services.stepfunctions.asl.eval.environment import Environment +from localstack.services.stepfunctions.asl.utils.encoding import to_json_str +from localstack.utils.aws.aws_stack import connect_to_service +from localstack.utils.collections import select_from_typed_dict +from localstack.utils.run import to_str +from localstack.utils.strings import to_bytes + + +class LambdaFunctionErrorException(Exception): + function_error: Final[Optional[str]] + payload: Final[str] + + def __init__(self, function_error: Optional[str], payload: str): + self.function_error = function_error + self.payload = payload + + +def exec_lambda_function(env: Environment, parameters: dict) -> None: + lambda_client = connect_to_service("lambda") + invocation_resp: InvocationResponse = lambda_client.invoke(**parameters) + + func_error: Optional[str] = invocation_resp.get("FunctionError") + if func_error: + payload = json.loads(to_str(invocation_resp["Payload"].read())) + payload_str = json.dumps(payload, separators=(",", ":")) + raise LambdaFunctionErrorException(func_error, payload_str) + + resp_payload = invocation_resp["Payload"].read() + resp_payload_str = to_str(resp_payload) + resp_payload_json: json = json.loads(resp_payload_str) or dict() + if resp_payload_json: + resp_payload_json.pop("ResponseMetadata", None) + invocation_resp["Payload"] = resp_payload_json + + response = select_from_typed_dict(typed_dict=InvocationResponse, obj=invocation_resp) + env.stack.append(response) + + +def to_payload_type(payload: Any) -> Optional[bytes]: + if isinstance(payload, bytes): + return payload + if isinstance(payload, str): + try: + json.loads(payload) + str_value = payload + except JSONDecodeError: + str_value = to_json_str(payload) + else: + str_value = to_json_str(payload) + return to_bytes(str_value) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py index c86f78d51bb82..c375142561528 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py @@ -8,7 +8,6 @@ from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.state_task import ( StateTask, ) -from localstack.services.stepfunctions.asl.eval.environment import Environment # TODO: improve on factory constructor (don't use SubtypeManager) @@ -21,14 +20,6 @@ def _get_sfn_resource(self) -> str: def _get_sfn_resource_type(self) -> str: return self.resource.service_name - def _eval_parameters(self, env: Environment) -> dict: - parameters = dict() - if self.parameters: - self.parameters.eval(env=env) - env_parameters = env.stack.pop() - parameters.update(env_parameters) - return parameters - @classmethod def for_service(cls, service_name: str) -> StateTaskService: match service_name: diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py index b8cfb2edbc1e3..3012066efc94e 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py @@ -14,6 +14,7 @@ from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.state_task_service_callback import ( StateTaskServiceCallback, ) +from localstack.services.stepfunctions.asl.component.state.state_props import StateProps from localstack.services.stepfunctions.asl.eval.environment import Environment from localstack.services.stepfunctions.asl.eval.event.event_detail import EventDetails from localstack.utils.aws import aws_stack @@ -26,29 +27,25 @@ class StateTaskServiceAwsSdk(StateTaskServiceCallback): "stepfunctions": {"send_task_success": {"Output": "output", "TaskToken": "taskToken"}} } + _normalised_api_name: str + _normalised_api_action: str + + def from_state_props(self, state_props: StateProps) -> None: + super().from_state_props(state_props=state_props) + self._normalised_api_name = self._normalise_api_name(self.resource.api_name) + self._normalised_api_action = camel_to_snake_case(self.resource.api_action) + + def _get_parameters_normalising_bindings(self) -> dict[str, str]: + api_normalisers = self._SFN_TO_BOTO_PARAM_NORMALISERS.get(self._normalised_api_name, dict()) + action_normalisers = api_normalisers.get(self._normalised_api_action, dict()) + return action_normalisers + def _get_sfn_resource_type(self) -> str: return f"{self.resource.service_name}:{self.resource.api_name}" def _normalise_api_name(self, api_name: str) -> str: return self._API_NAMES.get(api_name, api_name) - def _boto_normalise_parameters(self, api_name: str, api_action: str, parameters: dict) -> None: - api_normalisers = self._SFN_TO_BOTO_PARAM_NORMALISERS.get(api_name, None) - if not api_normalisers: - return - - action_normalisers = api_normalisers.get(api_action, None) - if not action_normalisers: - return None - - parameter_keys = list(parameters.keys()) - for parameter_key in parameter_keys: - norm_parameter_key = action_normalisers.get(parameter_key, None) - if norm_parameter_key: - tmp = parameters[parameter_key] - del parameters[parameter_key] - parameters[norm_parameter_key] = tmp - @staticmethod def _normalise_service_name(service_name: str) -> str: return get_service_catalog().get(service_name).service_id.replace(" ", "") @@ -97,18 +94,8 @@ def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: return failure_event def _eval_service_task(self, env: Environment, parameters: dict) -> None: - api_name = self.resource.api_name - api_name = self._normalise_api_name(api_name) - api_action = camel_to_snake_case(self.resource.api_action) - - self._boto_normalise_parameters( - api_name=api_name, api_action=api_action, parameters=parameters - ) - - api_client = aws_stack.create_external_boto_client(service_name=api_name) - - response = getattr(api_client, api_action)(**parameters) or dict() + api_client = aws_stack.create_external_boto_client(service_name=self._normalised_api_name) + response = getattr(api_client, self._normalised_api_action)(**parameters) or dict() if response: response.pop("ResponseMetadata", None) - env.stack.append(response) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py index f091987f239ff..de1bc37004b72 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py @@ -1,3 +1,5 @@ +from typing import Final, Optional + from botocore.exceptions import ClientError from localstack.aws.api.stepfunctions import HistoryEventType, TaskFailedEventDetails @@ -13,18 +15,32 @@ from localstack.services.stepfunctions.asl.component.common.error_name.states_error_name_type import ( StatesErrorNameType, ) +from localstack.services.stepfunctions.asl.component.state.state_execution.state_task import ( + lambda_eval_utils, +) from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.state_task_service_callback import ( StateTaskServiceCallback, ) -from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.state_task_lambda import ( - LambdaFunctionErrorException, - StateTaskLambda, -) from localstack.services.stepfunctions.asl.eval.environment import Environment from localstack.services.stepfunctions.asl.eval.event.event_detail import EventDetails -class StateTaskServiceLambda(StateTaskServiceCallback, StateTaskLambda): +class StateTaskServiceLambda(StateTaskServiceCallback): + _SUPPORTED_API_PARAM_BINDINGS: Final[dict[str, set[str]]] = { + "invoke": { + "ClientContext", + "FunctionName", + "InvocationType", + "Qualifier", + "Payload", + # Outside the specification, but supported in practice: + "LogType", + } + } + + def _get_supported_parameters(self) -> Optional[set[str]]: + return self._SUPPORTED_API_PARAM_BINDINGS.get(self.resource.api_action.lower(), None) + @staticmethod def _error_cause_from_client_error(client_error: ClientError) -> tuple[str, str]: error_code: str = client_error.response["Error"]["Code"] @@ -43,7 +59,7 @@ def _error_cause_from_client_error(client_error: ClientError) -> tuple[str, str] return error, cause def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: - if isinstance(ex, LambdaFunctionErrorException): + if isinstance(ex, lambda_eval_utils.LambdaFunctionErrorException): error = "Exception" error_name = CustomErrorName(error) cause = ex.payload @@ -69,4 +85,6 @@ def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: ) def _eval_service_task(self, env: Environment, parameters: dict) -> None: - super()._exec_lambda_function(env=env) + if "Payload" in parameters: + parameters["Payload"] = lambda_eval_utils.to_payload_type(parameters["Payload"]) + lambda_eval_utils.exec_lambda_function(env=env, parameters=parameters) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py index 99f7e0f744b1f..5ced0a1e56d37 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py @@ -34,6 +34,9 @@ class StateTaskServiceSqs(StateTaskServiceCallback): } } + def _get_supported_parameters(self) -> Optional[set[str]]: + return self._SUPPORTED_API_PARAM_BINDINGS.get(self.resource.api_action.lower(), None) + def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: if isinstance(ex, ClientError): return FailureEvent( @@ -64,24 +67,6 @@ def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: ), ) - def _eval_parameters(self, env: Environment) -> dict: - api_action: str = self.resource.api_action - supported_parameters: Optional[set[str]] = self._SUPPORTED_API_PARAM_BINDINGS.get( - api_action.lower(), None - ) - if supported_parameters is None: - raise RuntimeError("TODO: raise unsupported api error?") - - parameters: dict = super()._eval_parameters(env=env) - unsupported_parameters: list[str] = [ - parameter for parameter in parameters.keys() if parameter not in supported_parameters - ] - if unsupported_parameters: - for unsupported_parameter in unsupported_parameters: - parameters.pop(unsupported_parameter, None) - - return parameters - def _eval_service_task(self, env: Environment, parameters: dict) -> None: # TODO: Stepfunctions automatically dumps to json MessageBody's definitions. # Are these other similar scenarios? diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py index 70f335cd77d53..3289f4e7c71e1 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py @@ -59,6 +59,41 @@ def from_state_props(self, state_props: StateProps) -> None: self.parameters = state_props.get(Parameters) self.resource = state_props.get(Resource) + def _get_supported_parameters(self) -> Optional[set[str]]: # noqa + return None + + def _get_parameters_normalising_bindings(self) -> dict[str, str]: # noqa + return dict() + + def _eval_parameters(self, env: Environment) -> dict: + # Eval raw parameters. + parameters = dict() + if self.parameters: + self.parameters.eval(env=env) + parameters = env.stack.pop() + + # Handle supported parameters. + supported_parameters = self._get_supported_parameters() + if supported_parameters: + unsupported_parameters: list[str] = [ + parameter + for parameter in parameters.keys() + if parameter not in supported_parameters + ] + for unsupported_parameter in unsupported_parameters: + parameters.pop(unsupported_parameter, None) + + # Normalise bindings. + parameter_normalisers = self._get_parameters_normalising_bindings() + for parameter_key in list(parameters.keys()): + norm_parameter_key = parameter_normalisers.get(parameter_key, None) + if norm_parameter_key: + tmp = parameters[parameter_key] + del parameters[parameter_key] + parameters[norm_parameter_key] = tmp + + return parameters + def _eval_body(self, env: Environment) -> None: super(StateTask, self)._eval_body(env=env) env.context_object_manager.context_object["Task"] = None diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task_lambda.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task_lambda.py index b601bd8e4f489..0059b5c1a000a 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task_lambda.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task_lambda.py @@ -1,9 +1,6 @@ -import json -from typing import Final, Optional - from botocore.exceptions import ClientError -from localstack.aws.api.lambda_ import InvocationRequest, InvocationResponse, InvocationType +from localstack.aws.api.lambda_ import InvocationRequest, InvocationType from localstack.aws.api.stepfunctions import ( HistoryEventExecutionDataDetails, HistoryEventType, @@ -23,6 +20,9 @@ from localstack.services.stepfunctions.asl.component.common.error_name.states_error_name_type import ( StatesErrorNameType, ) +from localstack.services.stepfunctions.asl.component.state.state_execution.state_task import ( + lambda_eval_utils, +) from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.resource import ( LambdaResource, ) @@ -32,18 +32,6 @@ from localstack.services.stepfunctions.asl.eval.environment import Environment from localstack.services.stepfunctions.asl.eval.event.event_detail import EventDetails from localstack.services.stepfunctions.asl.utils.encoding import to_json_str -from localstack.utils.aws.aws_stack import connect_to_service -from localstack.utils.collections import select_from_typed_dict -from localstack.utils.strings import to_bytes, to_str - - -class LambdaFunctionErrorException(Exception): - function_error: Final[Optional[str]] - payload: Final[str] - - def __init__(self, function_error: Optional[str], payload: str): - self.function_error = function_error - self.payload = payload class StateTaskLambda(StateTask): @@ -51,7 +39,7 @@ class StateTaskLambda(StateTask): def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: error = "Exception" - if isinstance(ex, LambdaFunctionErrorException): + if isinstance(ex, lambda_eval_utils.LambdaFunctionErrorException): error_name = CustomErrorName(error) cause = ex.payload elif isinstance(ex, ClientError): @@ -72,45 +60,18 @@ def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: ), ) - def _exec_lambda_function(self, env: Environment) -> None: - # TODO: check type? input (file) path as lm input? raw binary inputs? always json? - tmp = env.stack.pop() - - parameters: InvocationRequest = dict() - parameters["FunctionName"] = self.resource.resource_arn - parameters["Payload"] = to_bytes(json.dumps(tmp)) # TODO: IO[bytes] - parameters["InvocationType"] = InvocationType.RequestResponse - if self.parameters: - self.parameters.eval(env=env) - gen_parameters: dict = env.stack.pop() - - parameters.update(gen_parameters) - p_payload = parameters["Payload"] - if not isinstance(p_payload, bytes): - if not isinstance(p_payload, str): - p_payload = json.dumps(p_payload) - parameters["Payload"] = to_bytes(p_payload) # TODO: IO[bytes] - - # TODO: check for type and support other types. - lambda_client = connect_to_service("lambda") - invocation_resp: InvocationResponse = lambda_client.invoke(**parameters) - - func_error: Optional[str] = invocation_resp.get("FunctionError") - if func_error: - payload = json.loads(to_str(invocation_resp["Payload"].read())) - payload_str = json.dumps(payload, separators=(",", ":")) - raise LambdaFunctionErrorException(func_error, payload_str) + def _eval_parameters(self, env: Environment) -> dict: + env_state_input = env.stack.pop() + parameters = InvocationRequest( + FunctionName=self.resource.resource_arn, + InvocationType=InvocationType.RequestResponse, + Payload=env_state_input, + ) - # TODO: supported response types? - resp_payload = invocation_resp["Payload"].read() - resp_payload_str = to_str(resp_payload) - resp_payload_json: json = json.loads(resp_payload_str) or dict() - if resp_payload_json: - resp_payload_json.pop("ResponseMetadata", None) - invocation_resp["Payload"] = resp_payload_json + explicit_parameters = super()._eval_parameters(env=env) + parameters.update(explicit_parameters) - response = select_from_typed_dict(typed_dict=InvocationResponse, obj=invocation_resp) - env.stack.append(response) + return parameters def _eval_execution(self, env: Environment) -> None: env.event_history.add_event( @@ -130,7 +91,11 @@ def _eval_execution(self, env: Environment) -> None: event_detail=EventDetails(), ) - self._exec_lambda_function(env=env) + parameters = self._eval_parameters(env=env) + if "Payload" in parameters: + parameters["Payload"] = lambda_eval_utils.to_payload_type(parameters["Payload"]) + + lambda_eval_utils.exec_lambda_function(env=env, parameters=parameters) # In lambda invocations, only payload is passed on as output. output = env.stack.pop() diff --git a/tests/integration/stepfunctions/templates/services/services_templates.py b/tests/integration/stepfunctions/templates/services/services_templates.py index 44b8abc723139..08b1b70007ac0 100644 --- a/tests/integration/stepfunctions/templates/services/services_templates.py +++ b/tests/integration/stepfunctions/templates/services/services_templates.py @@ -16,6 +16,12 @@ class ServicesTemplates(TemplateLoader): LAMBDA_INVOKE_PIPE: Final[str] = os.path.join( _THIS_FOLDER, "statemachines/lambda_invoke_pipe.json5" ) + LAMBDA_INVOKE_LOG_TYPE: Final[str] = os.path.join( + _THIS_FOLDER, "statemachines/lambda_invoke_log_type.json5" + ) + LAMBDA_LIST_FUNCTIONS: Final[str] = os.path.join( + _THIS_FOLDER, "statemachines/lambda_list_functions.json5" + ) # Lambda Functions. LAMBDA_ID_FUNCTION: Final[str] = os.path.join(_THIS_FOLDER, "lambdafunctions/id_function.py") diff --git a/tests/integration/stepfunctions/templates/services/statemachines/lambda_invoke_log_type.json5 b/tests/integration/stepfunctions/templates/services/statemachines/lambda_invoke_log_type.json5 new file mode 100644 index 0000000000000..713f6c7eb5389 --- /dev/null +++ b/tests/integration/stepfunctions/templates/services/statemachines/lambda_invoke_log_type.json5 @@ -0,0 +1,21 @@ +{ + "Comment": "TASK_SERVICE_LAMBDA_INVOKE_LOG_TYPE", + "StartAt": "Start", + "States": { + "Start": { + "Type": "Task", + "Resource": "arn:aws:states:::lambda:invoke", + "Parameters": { + "FunctionName.$": "$.FunctionName", + "Payload.$": "$.Payload", + "LogType.$": "$.LogType" + }, + "Next": "EndWithFinal" + }, + "EndWithFinal": { + "Type": "Pass", + "ResultPath": "$.final", + "End": true + } + }, +} \ No newline at end of file diff --git a/tests/integration/stepfunctions/templates/services/statemachines/lambda_list_functions.json5 b/tests/integration/stepfunctions/templates/services/statemachines/lambda_list_functions.json5 new file mode 100644 index 0000000000000..bc2dade0c7e2d --- /dev/null +++ b/tests/integration/stepfunctions/templates/services/statemachines/lambda_list_functions.json5 @@ -0,0 +1,12 @@ +{ + "Comment": "TASK_SERVICE_LAMBDA_LIST_FUNCTIONS", + "StartAt": "Start", + "States": { + "Start": { + "Type": "Task", + "Resource": "arn:aws:states:::lambda:listFunctions", + "Parameters": {}, + "End": true, + } + }, +} \ No newline at end of file diff --git a/tests/integration/stepfunctions/v2/services/test_lambda_task_service.py b/tests/integration/stepfunctions/v2/services/test_lambda_task_service.py index 68c0397521310..5f8e54c7e0685 100644 --- a/tests/integration/stepfunctions/v2/services/test_lambda_task_service.py +++ b/tests/integration/stepfunctions/v2/services/test_lambda_task_service.py @@ -2,7 +2,8 @@ import pytest -from localstack.testing.snapshots.transformer import RegexTransformer +from localstack.aws.api.lambda_ import LogType +from localstack.testing.snapshots.transformer import JsonpathTransformer, RegexTransformer from localstack.utils.strings import short_uid from tests.integration.stepfunctions.templates.services.services_templates import ( ServicesTemplates as ST, @@ -53,3 +54,59 @@ def test_invoke( definition, exec_input, ) + + # AWS's stepfuctions documentation seems to incorrectly classify LogType parameters as unsupported. + def test_invoke_unsupported_param( + self, + aws_client, + create_iam_role_for_sfn, + create_state_machine, + create_lambda_function, + snapshot, + ): + function_name = f"lambda_func_{short_uid()}" + create_lambda_function( + func_name=function_name, + handler_file=ST.LAMBDA_ID_FUNCTION, + runtime="python3.9", + ) + snapshot.add_transformer(RegexTransformer(function_name, "")) + snapshot.add_transformer( + JsonpathTransformer("$..LogResult", "LogResult", replace_reference=True) + ) + + template = ST.load_sfn_template(ST.LAMBDA_INVOKE_LOG_TYPE) + definition = json.dumps(template) + + exec_input = json.dumps( + {"FunctionName": function_name, "Payload": None, "LogType": LogType.Tail} + ) + create_and_record_execution( + aws_client.stepfunctions, + create_iam_role_for_sfn, + create_state_machine, + snapshot, + definition, + exec_input, + ) + + @pytest.mark.skip(reason="Add support for Invalid State Machine Definition errors") + def test_list_functions( + self, + aws_client, + create_iam_role_for_sfn, + create_state_machine, + snapshot, + ): + template = ST.load_sfn_template(ST.LAMBDA_LIST_FUNCTIONS) + definition = json.dumps(template) + + exec_input = json.dumps({}) + create_and_record_execution( + aws_client.stepfunctions, + create_iam_role_for_sfn, + create_state_machine, + snapshot, + definition, + exec_input, + ) diff --git a/tests/integration/stepfunctions/v2/services/test_lambda_task_service.snapshot.json b/tests/integration/stepfunctions/v2/services/test_lambda_task_service.snapshot.json index 658c910bea6e1..b512df087e510 100644 --- a/tests/integration/stepfunctions/v2/services/test_lambda_task_service.snapshot.json +++ b/tests/integration/stepfunctions/v2/services/test_lambda_task_service.snapshot.json @@ -457,5 +457,506 @@ } } } + }, + "tests/integration/stepfunctions/v2/services/test_lambda_task_service.py::TestTaskServiceLambda::test_invoke_unsupported_param": { + "recorded-date": "11-05-2023, 11:06:54", + "recorded-content": { + "get_execution_history": { + "events": [ + { + "executionStartedEventDetails": { + "input": { + "FunctionName": "", + "Payload": null, + "LogType": "Tail" + }, + "inputDetails": { + "truncated": false + }, + "roleArn": "snf_role_arn" + }, + "id": 1, + "previousEventId": 0, + "timestamp": "timestamp", + "type": "ExecutionStarted" + }, + { + "id": 2, + "previousEventId": 0, + "stateEnteredEventDetails": { + "input": { + "FunctionName": "", + "Payload": null, + "LogType": "Tail" + }, + "inputDetails": { + "truncated": false + }, + "name": "Start" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 3, + "previousEventId": 2, + "taskScheduledEventDetails": { + "parameters": { + "FunctionName": "", + "LogType": "Tail", + "Payload": null + }, + "region": "", + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 4, + "previousEventId": 3, + "taskStartedEventDetails": { + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 5, + "previousEventId": 4, + "taskSucceededEventDetails": { + "output": { + "ExecutedVersion": "$LATEST", + "LogResult": "", + "Payload": {}, + "SdkHttpMetadata": { + "AllHttpHeaders": { + "X-Amz-Log-Result": [ + "" + ], + "X-Amz-Executed-Version": [ + "$LATEST" + ], + "x-amzn-Remapped-Content-Length": [ + "0" + ], + "Connection": [ + "keep-alive" + ], + "x-amzn-RequestId": [ + "" + ], + "Content-Length": [ + "2" + ], + "Date": [ + "Thu, 11 May 2023 09:06:52 GMT" + ], + "X-Amzn-Trace-Id": [ + "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + ], + "Content-Type": [ + "application/json" + ] + }, + "HttpHeaders": { + "Connection": "keep-alive", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Thu, 11 May 2023 09:06:52 GMT", + "X-Amz-Executed-Version": "$LATEST", + "X-Amz-Log-Result": "", + "x-amzn-Remapped-Content-Length": "0", + "x-amzn-RequestId": "", + "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + }, + "HttpStatusCode": 200 + }, + "SdkResponseMetadata": { + "RequestId": "" + }, + "StatusCode": 200 + }, + "outputDetails": { + "truncated": false + }, + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskSucceeded" + }, + { + "id": 6, + "previousEventId": 5, + "stateExitedEventDetails": { + "name": "Start", + "output": { + "ExecutedVersion": "$LATEST", + "LogResult": "", + "Payload": {}, + "SdkHttpMetadata": { + "AllHttpHeaders": { + "X-Amz-Log-Result": [ + "" + ], + "X-Amz-Executed-Version": [ + "$LATEST" + ], + "x-amzn-Remapped-Content-Length": [ + "0" + ], + "Connection": [ + "keep-alive" + ], + "x-amzn-RequestId": [ + "" + ], + "Content-Length": [ + "2" + ], + "Date": [ + "Thu, 11 May 2023 09:06:52 GMT" + ], + "X-Amzn-Trace-Id": [ + "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + ], + "Content-Type": [ + "application/json" + ] + }, + "HttpHeaders": { + "Connection": "keep-alive", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Thu, 11 May 2023 09:06:52 GMT", + "X-Amz-Executed-Version": "$LATEST", + "X-Amz-Log-Result": "", + "x-amzn-Remapped-Content-Length": "0", + "x-amzn-RequestId": "", + "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + }, + "HttpStatusCode": 200 + }, + "SdkResponseMetadata": { + "RequestId": "" + }, + "StatusCode": 200 + }, + "outputDetails": { + "truncated": false + } + }, + "timestamp": "timestamp", + "type": "TaskStateExited" + }, + { + "id": 7, + "previousEventId": 6, + "stateEnteredEventDetails": { + "input": { + "ExecutedVersion": "$LATEST", + "LogResult": "", + "Payload": {}, + "SdkHttpMetadata": { + "AllHttpHeaders": { + "X-Amz-Log-Result": [ + "" + ], + "X-Amz-Executed-Version": [ + "$LATEST" + ], + "x-amzn-Remapped-Content-Length": [ + "0" + ], + "Connection": [ + "keep-alive" + ], + "x-amzn-RequestId": [ + "" + ], + "Content-Length": [ + "2" + ], + "Date": [ + "Thu, 11 May 2023 09:06:52 GMT" + ], + "X-Amzn-Trace-Id": [ + "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + ], + "Content-Type": [ + "application/json" + ] + }, + "HttpHeaders": { + "Connection": "keep-alive", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Thu, 11 May 2023 09:06:52 GMT", + "X-Amz-Executed-Version": "$LATEST", + "X-Amz-Log-Result": "", + "x-amzn-Remapped-Content-Length": "0", + "x-amzn-RequestId": "", + "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + }, + "HttpStatusCode": 200 + }, + "SdkResponseMetadata": { + "RequestId": "" + }, + "StatusCode": 200 + }, + "inputDetails": { + "truncated": false + }, + "name": "EndWithFinal" + }, + "timestamp": "timestamp", + "type": "PassStateEntered" + }, + { + "id": 8, + "previousEventId": 7, + "stateExitedEventDetails": { + "name": "EndWithFinal", + "output": { + "ExecutedVersion": "$LATEST", + "LogResult": "", + "Payload": {}, + "SdkHttpMetadata": { + "AllHttpHeaders": { + "X-Amz-Log-Result": [ + "" + ], + "X-Amz-Executed-Version": [ + "$LATEST" + ], + "x-amzn-Remapped-Content-Length": [ + "0" + ], + "Connection": [ + "keep-alive" + ], + "x-amzn-RequestId": [ + "" + ], + "Content-Length": [ + "2" + ], + "Date": [ + "Thu, 11 May 2023 09:06:52 GMT" + ], + "X-Amzn-Trace-Id": [ + "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + ], + "Content-Type": [ + "application/json" + ] + }, + "HttpHeaders": { + "Connection": "keep-alive", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Thu, 11 May 2023 09:06:52 GMT", + "X-Amz-Executed-Version": "$LATEST", + "X-Amz-Log-Result": "", + "x-amzn-Remapped-Content-Length": "0", + "x-amzn-RequestId": "", + "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + }, + "HttpStatusCode": 200 + }, + "SdkResponseMetadata": { + "RequestId": "" + }, + "StatusCode": 200, + "final": { + "ExecutedVersion": "$LATEST", + "LogResult": "", + "Payload": {}, + "SdkHttpMetadata": { + "AllHttpHeaders": { + "X-Amz-Log-Result": [ + "" + ], + "X-Amz-Executed-Version": [ + "$LATEST" + ], + "x-amzn-Remapped-Content-Length": [ + "0" + ], + "Connection": [ + "keep-alive" + ], + "x-amzn-RequestId": [ + "" + ], + "Content-Length": [ + "2" + ], + "Date": [ + "Thu, 11 May 2023 09:06:52 GMT" + ], + "X-Amzn-Trace-Id": [ + "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + ], + "Content-Type": [ + "application/json" + ] + }, + "HttpHeaders": { + "Connection": "keep-alive", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Thu, 11 May 2023 09:06:52 GMT", + "X-Amz-Executed-Version": "$LATEST", + "X-Amz-Log-Result": "", + "x-amzn-Remapped-Content-Length": "0", + "x-amzn-RequestId": "", + "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + }, + "HttpStatusCode": 200 + }, + "SdkResponseMetadata": { + "RequestId": "" + }, + "StatusCode": 200 + } + }, + "outputDetails": { + "truncated": false + } + }, + "timestamp": "timestamp", + "type": "PassStateExited" + }, + { + "executionSucceededEventDetails": { + "output": { + "ExecutedVersion": "$LATEST", + "LogResult": "", + "Payload": {}, + "SdkHttpMetadata": { + "AllHttpHeaders": { + "X-Amz-Log-Result": [ + "" + ], + "X-Amz-Executed-Version": [ + "$LATEST" + ], + "x-amzn-Remapped-Content-Length": [ + "0" + ], + "Connection": [ + "keep-alive" + ], + "x-amzn-RequestId": [ + "" + ], + "Content-Length": [ + "2" + ], + "Date": [ + "Thu, 11 May 2023 09:06:52 GMT" + ], + "X-Amzn-Trace-Id": [ + "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + ], + "Content-Type": [ + "application/json" + ] + }, + "HttpHeaders": { + "Connection": "keep-alive", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Thu, 11 May 2023 09:06:52 GMT", + "X-Amz-Executed-Version": "$LATEST", + "X-Amz-Log-Result": "", + "x-amzn-Remapped-Content-Length": "0", + "x-amzn-RequestId": "", + "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + }, + "HttpStatusCode": 200 + }, + "SdkResponseMetadata": { + "RequestId": "" + }, + "StatusCode": 200, + "final": { + "ExecutedVersion": "$LATEST", + "LogResult": "", + "Payload": {}, + "SdkHttpMetadata": { + "AllHttpHeaders": { + "X-Amz-Log-Result": [ + "" + ], + "X-Amz-Executed-Version": [ + "$LATEST" + ], + "x-amzn-Remapped-Content-Length": [ + "0" + ], + "Connection": [ + "keep-alive" + ], + "x-amzn-RequestId": [ + "" + ], + "Content-Length": [ + "2" + ], + "Date": [ + "Thu, 11 May 2023 09:06:52 GMT" + ], + "X-Amzn-Trace-Id": [ + "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + ], + "Content-Type": [ + "application/json" + ] + }, + "HttpHeaders": { + "Connection": "keep-alive", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Thu, 11 May 2023 09:06:52 GMT", + "X-Amz-Executed-Version": "$LATEST", + "X-Amz-Log-Result": "", + "x-amzn-Remapped-Content-Length": "0", + "x-amzn-RequestId": "", + "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + }, + "HttpStatusCode": 200 + }, + "SdkResponseMetadata": { + "RequestId": "" + }, + "StatusCode": 200 + } + }, + "outputDetails": { + "truncated": false + } + }, + "id": 9, + "previousEventId": 8, + "timestamp": "timestamp", + "type": "ExecutionSucceeded" + } + ], + "ResponseMetadata": { + "HTTPHeaders": {}, + "HTTPStatusCode": 200 + } + } + } + }, + "tests/integration/stepfunctions/v2/services/test_lambda_task_service.py::TestTaskServiceLambda::test_list_functions": { + "recorded-date": "11-05-2023, 11:29:56", + "recorded-content": {} } } From a24ee4389435cd5ed00ace8901514f48a3ce05fe Mon Sep 17 00:00:00 2001 From: MEPalma Date: Fri, 26 May 2023 17:08:06 +0200 Subject: [PATCH 5/9] timeouts support --- .../stepfunctions/asl/antlr/ASLLexer.g4 | 3 + .../stepfunctions/asl/antlr/ASLParser.g4 | 11 + .../asl/antlr/runtime/ASLLexer.interp | 8 +- .../asl/antlr/runtime/ASLLexer.py | 1562 +++++++------- .../asl/antlr/runtime/ASLLexer.tokens | 166 +- .../asl/antlr/runtime/ASLParser.interp | 8 +- .../asl/antlr/runtime/ASLParser.py | 1833 +++++++++-------- .../asl/antlr/runtime/ASLParser.tokens | 166 +- .../asl/antlr/runtime/ASLParserListener.py | 18 + .../asl/antlr/runtime/ASLParserVisitor.py | 10 + .../component/common/catch/catcher_decl.py | 6 +- .../asl/component/common/timeouts/__init__.py | 0 .../asl/component/common/timeouts/timeout.py | 57 + .../state/state_execution/execute_state.py | 62 +- .../state_task/service/state_task_service.py | 24 + .../service/state_task_service_aws_sdk.py | 3 + .../service/state_task_service_callback.py | 20 +- .../service/state_task_service_lambda.py | 3 + .../service/state_task_service_sqs.py | 3 + .../state_execution/state_task/state_task.py | 10 - .../state_task/state_task_lambda.py | 35 +- .../asl/component/state/state_props.py | 5 + .../state_wait/wait_function/wait_function.py | 2 +- .../stepfunctions/asl/eval/environment.py | 5 +- .../stepfunctions/asl/parse/preprocessor.py | 16 + .../templates/callbacks/callback_templates.py | 5 + ...sqs_wait_for_task_token_with_timeout.json5 | 18 + .../errorhandling/error_handling_templates.py | 4 + ..._service_lambda_invoke_catch_timeout.json5 | 34 + .../templates/timeouts/__init__.py | 0 .../lambdafunctions/wait_60_seconds.py | 6 + .../lambda_wait_with_timeout_seconds.json5 | 15 + ...function_invoke_with_timeout_seconds.json5 | 29 + ...ice_lambda_wait_with_timeout_seconds.json5 | 16 + ...ambda_wait_with_timeout_seconds_path.json5 | 16 + .../templates/timeouts/timeout_templates.py | 28 + .../v2/callback/test_callback.py | 38 + .../v2/callback/test_callback.snapshot.json | 137 ++ .../test_task_service_lambda.py | 32 + .../test_task_service_lambda.snapshot.json | 153 ++ .../stepfunctions/v2/timeouts/__init__.py | 0 .../v2/timeouts/test_timeouts.py | 151 ++ .../v2/timeouts/test_timeouts.snapshot.json | 686 ++++++ 43 files changed, 3590 insertions(+), 1814 deletions(-) create mode 100644 localstack/services/stepfunctions/asl/component/common/timeouts/__init__.py create mode 100644 localstack/services/stepfunctions/asl/component/common/timeouts/timeout.py create mode 100644 tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_wait_for_task_token_with_timeout.json5 create mode 100644 tests/integration/stepfunctions/templates/errorhandling/statemachines/task_service_lambda_invoke_catch_timeout.json5 create mode 100644 tests/integration/stepfunctions/templates/timeouts/__init__.py create mode 100644 tests/integration/stepfunctions/templates/timeouts/lambdafunctions/wait_60_seconds.py create mode 100644 tests/integration/stepfunctions/templates/timeouts/statemachines/lambda_wait_with_timeout_seconds.json5 create mode 100644 tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_map_function_invoke_with_timeout_seconds.json5 create mode 100644 tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_wait_with_timeout_seconds.json5 create mode 100644 tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_wait_with_timeout_seconds_path.json5 create mode 100644 tests/integration/stepfunctions/templates/timeouts/timeout_templates.py create mode 100644 tests/integration/stepfunctions/v2/timeouts/__init__.py create mode 100644 tests/integration/stepfunctions/v2/timeouts/test_timeouts.py create mode 100644 tests/integration/stepfunctions/v2/timeouts/test_timeouts.snapshot.json diff --git a/localstack/services/stepfunctions/asl/antlr/ASLLexer.g4 b/localstack/services/stepfunctions/asl/antlr/ASLLexer.g4 index 93c586abafc7a..29444eff907fb 100644 --- a/localstack/services/stepfunctions/asl/antlr/ASLLexer.g4 +++ b/localstack/services/stepfunctions/asl/antlr/ASLLexer.g4 @@ -82,6 +82,9 @@ SECONDS: '"Seconds"'; TIMESTAMPPATH: '"TimestampPath"'; TIMESTAMP: '"Timestamp"'; +TIMEOUTSECONDS: '"TimeoutSeconds"'; +TIMEOUTSECONDSPATH: '"TimeoutSecondsPath"'; + PROCESSORCONFIG: '"ProcessorConfig"'; MODE: '"Mode"'; INLINE: '"INLINE"'; diff --git a/localstack/services/stepfunctions/asl/antlr/ASLParser.g4 b/localstack/services/stepfunctions/asl/antlr/ASLParser.g4 index f5eac3efcd4c0..344c463e189d5 100644 --- a/localstack/services/stepfunctions/asl/antlr/ASLParser.g4 +++ b/localstack/services/stepfunctions/asl/antlr/ASLParser.g4 @@ -45,6 +45,8 @@ state_stmt | items_path_decl | item_processor_decl | max_concurrency_decl + | timeout_seconds_decl + | timeout_seconds_path_decl | branches_decl | parameters_decl | retry_decl @@ -149,6 +151,15 @@ parameters_decl : PARAMETERS COLON payload_tmpl_decl ; +timeout_seconds_decl + : TIMEOUTSECONDS COLON INT + ; + +timeout_seconds_path_decl + : TIMEOUTSECONDSPATH COLON STRINGPATH + ; + + payload_tmpl_decl : LBRACE payload_binding (COMMA payload_binding)* RBRACE | LBRACE RBRACE diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.interp b/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.interp index 2c54e89a8c3c4..44554a22ef797 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.interp +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.interp @@ -72,6 +72,8 @@ null '"Seconds"' '"TimestampPath"' '"Timestamp"' +'"TimeoutSeconds"' +'"TimeoutSecondsPath"' '"ProcessorConfig"' '"Mode"' '"INLINE"' @@ -191,6 +193,8 @@ SECONDSPATH SECONDS TIMESTAMPPATH TIMESTAMP +TIMEOUTSECONDS +TIMEOUTSECONDSPATH PROCESSORCONFIG MODE INLINE @@ -309,6 +313,8 @@ SECONDSPATH SECONDS TIMESTAMPPATH TIMESTAMP +TIMEOUTSECONDS +TIMEOUTSECONDSPATH PROCESSORCONFIG MODE INLINE @@ -367,4 +373,4 @@ mode names: DEFAULT_MODE atn: -[4, 0, 116, 2039, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 2, 101, 7, 101, 2, 102, 7, 102, 2, 103, 7, 103, 2, 104, 7, 104, 2, 105, 7, 105, 2, 106, 7, 106, 2, 107, 7, 107, 2, 108, 7, 108, 2, 109, 7, 109, 2, 110, 7, 110, 2, 111, 7, 111, 2, 112, 7, 112, 2, 113, 7, 113, 2, 114, 7, 114, 2, 115, 7, 115, 2, 116, 7, 116, 2, 117, 7, 117, 2, 118, 7, 118, 2, 119, 7, 119, 2, 120, 7, 120, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 5, 109, 1942, 8, 109, 10, 109, 12, 109, 1945, 9, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 5, 110, 1958, 8, 110, 10, 110, 12, 110, 1961, 9, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 5, 111, 1970, 8, 111, 10, 111, 12, 111, 1973, 9, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 5, 112, 1980, 8, 112, 10, 112, 12, 112, 1983, 9, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 3, 113, 1990, 8, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 116, 1, 116, 1, 117, 1, 117, 1, 117, 5, 117, 2005, 8, 117, 10, 117, 12, 117, 2008, 9, 117, 3, 117, 2010, 8, 117, 1, 118, 3, 118, 2013, 8, 118, 1, 118, 1, 118, 1, 118, 4, 118, 2018, 8, 118, 11, 118, 12, 118, 2019, 3, 118, 2022, 8, 118, 1, 118, 3, 118, 2025, 8, 118, 1, 119, 1, 119, 3, 119, 2029, 8, 119, 1, 119, 1, 119, 1, 120, 4, 120, 2034, 8, 120, 11, 120, 12, 120, 2035, 1, 120, 1, 120, 0, 0, 121, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 201, 101, 203, 102, 205, 103, 207, 104, 209, 105, 211, 106, 213, 107, 215, 108, 217, 109, 219, 110, 221, 111, 223, 112, 225, 113, 227, 0, 229, 0, 231, 0, 233, 0, 235, 114, 237, 115, 239, 0, 241, 116, 1, 0, 8, 8, 0, 34, 34, 47, 47, 92, 92, 98, 98, 102, 102, 110, 110, 114, 114, 116, 116, 3, 0, 48, 57, 65, 70, 97, 102, 3, 0, 0, 31, 34, 34, 92, 92, 1, 0, 49, 57, 1, 0, 48, 57, 2, 0, 69, 69, 101, 101, 2, 0, 43, 43, 45, 45, 3, 0, 9, 10, 13, 13, 32, 32, 2050, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 0, 201, 1, 0, 0, 0, 0, 203, 1, 0, 0, 0, 0, 205, 1, 0, 0, 0, 0, 207, 1, 0, 0, 0, 0, 209, 1, 0, 0, 0, 0, 211, 1, 0, 0, 0, 0, 213, 1, 0, 0, 0, 0, 215, 1, 0, 0, 0, 0, 217, 1, 0, 0, 0, 0, 219, 1, 0, 0, 0, 0, 221, 1, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 225, 1, 0, 0, 0, 0, 235, 1, 0, 0, 0, 0, 237, 1, 0, 0, 0, 0, 241, 1, 0, 0, 0, 1, 243, 1, 0, 0, 0, 3, 245, 1, 0, 0, 0, 5, 247, 1, 0, 0, 0, 7, 249, 1, 0, 0, 0, 9, 251, 1, 0, 0, 0, 11, 253, 1, 0, 0, 0, 13, 255, 1, 0, 0, 0, 15, 260, 1, 0, 0, 0, 17, 266, 1, 0, 0, 0, 19, 271, 1, 0, 0, 0, 21, 281, 1, 0, 0, 0, 23, 290, 1, 0, 0, 0, 25, 300, 1, 0, 0, 0, 27, 312, 1, 0, 0, 0, 29, 319, 1, 0, 0, 0, 31, 326, 1, 0, 0, 0, 33, 335, 1, 0, 0, 0, 35, 342, 1, 0, 0, 0, 37, 352, 1, 0, 0, 0, 39, 359, 1, 0, 0, 0, 41, 366, 1, 0, 0, 0, 43, 377, 1, 0, 0, 0, 45, 383, 1, 0, 0, 0, 47, 393, 1, 0, 0, 0, 49, 404, 1, 0, 0, 0, 51, 414, 1, 0, 0, 0, 53, 425, 1, 0, 0, 0, 55, 431, 1, 0, 0, 0, 57, 447, 1, 0, 0, 0, 59, 467, 1, 0, 0, 0, 61, 479, 1, 0, 0, 0, 63, 488, 1, 0, 0, 0, 65, 500, 1, 0, 0, 0, 67, 512, 1, 0, 0, 0, 69, 523, 1, 0, 0, 0, 71, 537, 1, 0, 0, 0, 73, 543, 1, 0, 0, 0, 75, 559, 1, 0, 0, 0, 77, 579, 1, 0, 0, 0, 79, 600, 1, 0, 0, 0, 81, 625, 1, 0, 0, 0, 83, 652, 1, 0, 0, 0, 85, 683, 1, 0, 0, 0, 87, 701, 1, 0, 0, 0, 89, 723, 1, 0, 0, 0, 91, 747, 1, 0, 0, 0, 93, 775, 1, 0, 0, 0, 95, 780, 1, 0, 0, 0, 97, 795, 1, 0, 0, 0, 99, 814, 1, 0, 0, 0, 101, 834, 1, 0, 0, 0, 103, 858, 1, 0, 0, 0, 105, 884, 1, 0, 0, 0, 107, 914, 1, 0, 0, 0, 109, 931, 1, 0, 0, 0, 111, 952, 1, 0, 0, 0, 113, 975, 1, 0, 0, 0, 115, 1002, 1, 0, 0, 0, 117, 1018, 1, 0, 0, 0, 119, 1036, 1, 0, 0, 0, 121, 1058, 1, 0, 0, 0, 123, 1081, 1, 0, 0, 0, 125, 1108, 1, 0, 0, 0, 127, 1137, 1, 0, 0, 0, 129, 1170, 1, 0, 0, 0, 131, 1190, 1, 0, 0, 0, 133, 1214, 1, 0, 0, 0, 135, 1240, 1, 0, 0, 0, 137, 1270, 1, 0, 0, 0, 139, 1284, 1, 0, 0, 0, 141, 1294, 1, 0, 0, 0, 143, 1310, 1, 0, 0, 0, 145, 1322, 1, 0, 0, 0, 147, 1340, 1, 0, 0, 0, 149, 1347, 1, 0, 0, 0, 151, 1356, 1, 0, 0, 0, 153, 1372, 1, 0, 0, 0, 155, 1389, 1, 0, 0, 0, 157, 1400, 1, 0, 0, 0, 159, 1412, 1, 0, 0, 0, 161, 1425, 1, 0, 0, 0, 163, 1437, 1, 0, 0, 0, 165, 1450, 1, 0, 0, 0, 167, 1459, 1, 0, 0, 0, 169, 1472, 1, 0, 0, 0, 171, 1489, 1, 0, 0, 0, 173, 1496, 1, 0, 0, 0, 175, 1502, 1, 0, 0, 0, 177, 1510, 1, 0, 0, 0, 179, 1518, 1, 0, 0, 0, 181, 1526, 1, 0, 0, 0, 183, 1540, 1, 0, 0, 0, 185, 1558, 1, 0, 0, 0, 187, 1572, 1, 0, 0, 0, 189, 1586, 1, 0, 0, 0, 191, 1594, 1, 0, 0, 0, 193, 1607, 1, 0, 0, 0, 195, 1633, 1, 0, 0, 0, 197, 1650, 1, 0, 0, 0, 199, 1670, 1, 0, 0, 0, 201, 1691, 1, 0, 0, 0, 203, 1723, 1, 0, 0, 0, 205, 1753, 1, 0, 0, 0, 207, 1775, 1, 0, 0, 0, 209, 1800, 1, 0, 0, 0, 211, 1826, 1, 0, 0, 0, 213, 1867, 1, 0, 0, 0, 215, 1893, 1, 0, 0, 0, 217, 1921, 1, 0, 0, 0, 219, 1938, 1, 0, 0, 0, 221, 1950, 1, 0, 0, 0, 223, 1964, 1, 0, 0, 0, 225, 1976, 1, 0, 0, 0, 227, 1986, 1, 0, 0, 0, 229, 1991, 1, 0, 0, 0, 231, 1997, 1, 0, 0, 0, 233, 1999, 1, 0, 0, 0, 235, 2009, 1, 0, 0, 0, 237, 2012, 1, 0, 0, 0, 239, 2026, 1, 0, 0, 0, 241, 2033, 1, 0, 0, 0, 243, 244, 5, 44, 0, 0, 244, 2, 1, 0, 0, 0, 245, 246, 5, 58, 0, 0, 246, 4, 1, 0, 0, 0, 247, 248, 5, 91, 0, 0, 248, 6, 1, 0, 0, 0, 249, 250, 5, 93, 0, 0, 250, 8, 1, 0, 0, 0, 251, 252, 5, 123, 0, 0, 252, 10, 1, 0, 0, 0, 253, 254, 5, 125, 0, 0, 254, 12, 1, 0, 0, 0, 255, 256, 5, 116, 0, 0, 256, 257, 5, 114, 0, 0, 257, 258, 5, 117, 0, 0, 258, 259, 5, 101, 0, 0, 259, 14, 1, 0, 0, 0, 260, 261, 5, 102, 0, 0, 261, 262, 5, 97, 0, 0, 262, 263, 5, 108, 0, 0, 263, 264, 5, 115, 0, 0, 264, 265, 5, 101, 0, 0, 265, 16, 1, 0, 0, 0, 266, 267, 5, 110, 0, 0, 267, 268, 5, 117, 0, 0, 268, 269, 5, 108, 0, 0, 269, 270, 5, 108, 0, 0, 270, 18, 1, 0, 0, 0, 271, 272, 5, 34, 0, 0, 272, 273, 5, 67, 0, 0, 273, 274, 5, 111, 0, 0, 274, 275, 5, 109, 0, 0, 275, 276, 5, 109, 0, 0, 276, 277, 5, 101, 0, 0, 277, 278, 5, 110, 0, 0, 278, 279, 5, 116, 0, 0, 279, 280, 5, 34, 0, 0, 280, 20, 1, 0, 0, 0, 281, 282, 5, 34, 0, 0, 282, 283, 5, 83, 0, 0, 283, 284, 5, 116, 0, 0, 284, 285, 5, 97, 0, 0, 285, 286, 5, 116, 0, 0, 286, 287, 5, 101, 0, 0, 287, 288, 5, 115, 0, 0, 288, 289, 5, 34, 0, 0, 289, 22, 1, 0, 0, 0, 290, 291, 5, 34, 0, 0, 291, 292, 5, 83, 0, 0, 292, 293, 5, 116, 0, 0, 293, 294, 5, 97, 0, 0, 294, 295, 5, 114, 0, 0, 295, 296, 5, 116, 0, 0, 296, 297, 5, 65, 0, 0, 297, 298, 5, 116, 0, 0, 298, 299, 5, 34, 0, 0, 299, 24, 1, 0, 0, 0, 300, 301, 5, 34, 0, 0, 301, 302, 5, 78, 0, 0, 302, 303, 5, 101, 0, 0, 303, 304, 5, 120, 0, 0, 304, 305, 5, 116, 0, 0, 305, 306, 5, 83, 0, 0, 306, 307, 5, 116, 0, 0, 307, 308, 5, 97, 0, 0, 308, 309, 5, 116, 0, 0, 309, 310, 5, 101, 0, 0, 310, 311, 5, 34, 0, 0, 311, 26, 1, 0, 0, 0, 312, 313, 5, 34, 0, 0, 313, 314, 5, 84, 0, 0, 314, 315, 5, 121, 0, 0, 315, 316, 5, 112, 0, 0, 316, 317, 5, 101, 0, 0, 317, 318, 5, 34, 0, 0, 318, 28, 1, 0, 0, 0, 319, 320, 5, 34, 0, 0, 320, 321, 5, 84, 0, 0, 321, 322, 5, 97, 0, 0, 322, 323, 5, 115, 0, 0, 323, 324, 5, 107, 0, 0, 324, 325, 5, 34, 0, 0, 325, 30, 1, 0, 0, 0, 326, 327, 5, 34, 0, 0, 327, 328, 5, 67, 0, 0, 328, 329, 5, 104, 0, 0, 329, 330, 5, 111, 0, 0, 330, 331, 5, 105, 0, 0, 331, 332, 5, 99, 0, 0, 332, 333, 5, 101, 0, 0, 333, 334, 5, 34, 0, 0, 334, 32, 1, 0, 0, 0, 335, 336, 5, 34, 0, 0, 336, 337, 5, 70, 0, 0, 337, 338, 5, 97, 0, 0, 338, 339, 5, 105, 0, 0, 339, 340, 5, 108, 0, 0, 340, 341, 5, 34, 0, 0, 341, 34, 1, 0, 0, 0, 342, 343, 5, 34, 0, 0, 343, 344, 5, 83, 0, 0, 344, 345, 5, 117, 0, 0, 345, 346, 5, 99, 0, 0, 346, 347, 5, 99, 0, 0, 347, 348, 5, 101, 0, 0, 348, 349, 5, 101, 0, 0, 349, 350, 5, 100, 0, 0, 350, 351, 5, 34, 0, 0, 351, 36, 1, 0, 0, 0, 352, 353, 5, 34, 0, 0, 353, 354, 5, 80, 0, 0, 354, 355, 5, 97, 0, 0, 355, 356, 5, 115, 0, 0, 356, 357, 5, 115, 0, 0, 357, 358, 5, 34, 0, 0, 358, 38, 1, 0, 0, 0, 359, 360, 5, 34, 0, 0, 360, 361, 5, 87, 0, 0, 361, 362, 5, 97, 0, 0, 362, 363, 5, 105, 0, 0, 363, 364, 5, 116, 0, 0, 364, 365, 5, 34, 0, 0, 365, 40, 1, 0, 0, 0, 366, 367, 5, 34, 0, 0, 367, 368, 5, 80, 0, 0, 368, 369, 5, 97, 0, 0, 369, 370, 5, 114, 0, 0, 370, 371, 5, 97, 0, 0, 371, 372, 5, 108, 0, 0, 372, 373, 5, 108, 0, 0, 373, 374, 5, 101, 0, 0, 374, 375, 5, 108, 0, 0, 375, 376, 5, 34, 0, 0, 376, 42, 1, 0, 0, 0, 377, 378, 5, 34, 0, 0, 378, 379, 5, 77, 0, 0, 379, 380, 5, 97, 0, 0, 380, 381, 5, 112, 0, 0, 381, 382, 5, 34, 0, 0, 382, 44, 1, 0, 0, 0, 383, 384, 5, 34, 0, 0, 384, 385, 5, 67, 0, 0, 385, 386, 5, 104, 0, 0, 386, 387, 5, 111, 0, 0, 387, 388, 5, 105, 0, 0, 388, 389, 5, 99, 0, 0, 389, 390, 5, 101, 0, 0, 390, 391, 5, 115, 0, 0, 391, 392, 5, 34, 0, 0, 392, 46, 1, 0, 0, 0, 393, 394, 5, 34, 0, 0, 394, 395, 5, 86, 0, 0, 395, 396, 5, 97, 0, 0, 396, 397, 5, 114, 0, 0, 397, 398, 5, 105, 0, 0, 398, 399, 5, 97, 0, 0, 399, 400, 5, 98, 0, 0, 400, 401, 5, 108, 0, 0, 401, 402, 5, 101, 0, 0, 402, 403, 5, 34, 0, 0, 403, 48, 1, 0, 0, 0, 404, 405, 5, 34, 0, 0, 405, 406, 5, 68, 0, 0, 406, 407, 5, 101, 0, 0, 407, 408, 5, 102, 0, 0, 408, 409, 5, 97, 0, 0, 409, 410, 5, 117, 0, 0, 410, 411, 5, 108, 0, 0, 411, 412, 5, 116, 0, 0, 412, 413, 5, 34, 0, 0, 413, 50, 1, 0, 0, 0, 414, 415, 5, 34, 0, 0, 415, 416, 5, 66, 0, 0, 416, 417, 5, 114, 0, 0, 417, 418, 5, 97, 0, 0, 418, 419, 5, 110, 0, 0, 419, 420, 5, 99, 0, 0, 420, 421, 5, 104, 0, 0, 421, 422, 5, 101, 0, 0, 422, 423, 5, 115, 0, 0, 423, 424, 5, 34, 0, 0, 424, 52, 1, 0, 0, 0, 425, 426, 5, 34, 0, 0, 426, 427, 5, 65, 0, 0, 427, 428, 5, 110, 0, 0, 428, 429, 5, 100, 0, 0, 429, 430, 5, 34, 0, 0, 430, 54, 1, 0, 0, 0, 431, 432, 5, 34, 0, 0, 432, 433, 5, 66, 0, 0, 433, 434, 5, 111, 0, 0, 434, 435, 5, 111, 0, 0, 435, 436, 5, 108, 0, 0, 436, 437, 5, 101, 0, 0, 437, 438, 5, 97, 0, 0, 438, 439, 5, 110, 0, 0, 439, 440, 5, 69, 0, 0, 440, 441, 5, 113, 0, 0, 441, 442, 5, 117, 0, 0, 442, 443, 5, 97, 0, 0, 443, 444, 5, 108, 0, 0, 444, 445, 5, 115, 0, 0, 445, 446, 5, 34, 0, 0, 446, 56, 1, 0, 0, 0, 447, 448, 5, 34, 0, 0, 448, 449, 5, 66, 0, 0, 449, 450, 5, 111, 0, 0, 450, 451, 5, 111, 0, 0, 451, 452, 5, 108, 0, 0, 452, 453, 5, 101, 0, 0, 453, 454, 5, 97, 0, 0, 454, 455, 5, 110, 0, 0, 455, 456, 5, 69, 0, 0, 456, 457, 5, 113, 0, 0, 457, 458, 5, 117, 0, 0, 458, 459, 5, 97, 0, 0, 459, 460, 5, 108, 0, 0, 460, 461, 5, 115, 0, 0, 461, 462, 5, 80, 0, 0, 462, 463, 5, 97, 0, 0, 463, 464, 5, 116, 0, 0, 464, 465, 5, 104, 0, 0, 465, 466, 5, 34, 0, 0, 466, 58, 1, 0, 0, 0, 467, 468, 5, 34, 0, 0, 468, 469, 5, 73, 0, 0, 469, 470, 5, 115, 0, 0, 470, 471, 5, 66, 0, 0, 471, 472, 5, 111, 0, 0, 472, 473, 5, 111, 0, 0, 473, 474, 5, 108, 0, 0, 474, 475, 5, 101, 0, 0, 475, 476, 5, 97, 0, 0, 476, 477, 5, 110, 0, 0, 477, 478, 5, 34, 0, 0, 478, 60, 1, 0, 0, 0, 479, 480, 5, 34, 0, 0, 480, 481, 5, 73, 0, 0, 481, 482, 5, 115, 0, 0, 482, 483, 5, 78, 0, 0, 483, 484, 5, 117, 0, 0, 484, 485, 5, 108, 0, 0, 485, 486, 5, 108, 0, 0, 486, 487, 5, 34, 0, 0, 487, 62, 1, 0, 0, 0, 488, 489, 5, 34, 0, 0, 489, 490, 5, 73, 0, 0, 490, 491, 5, 115, 0, 0, 491, 492, 5, 78, 0, 0, 492, 493, 5, 117, 0, 0, 493, 494, 5, 109, 0, 0, 494, 495, 5, 101, 0, 0, 495, 496, 5, 114, 0, 0, 496, 497, 5, 105, 0, 0, 497, 498, 5, 99, 0, 0, 498, 499, 5, 34, 0, 0, 499, 64, 1, 0, 0, 0, 500, 501, 5, 34, 0, 0, 501, 502, 5, 73, 0, 0, 502, 503, 5, 115, 0, 0, 503, 504, 5, 80, 0, 0, 504, 505, 5, 114, 0, 0, 505, 506, 5, 101, 0, 0, 506, 507, 5, 115, 0, 0, 507, 508, 5, 101, 0, 0, 508, 509, 5, 110, 0, 0, 509, 510, 5, 116, 0, 0, 510, 511, 5, 34, 0, 0, 511, 66, 1, 0, 0, 0, 512, 513, 5, 34, 0, 0, 513, 514, 5, 73, 0, 0, 514, 515, 5, 115, 0, 0, 515, 516, 5, 83, 0, 0, 516, 517, 5, 116, 0, 0, 517, 518, 5, 114, 0, 0, 518, 519, 5, 105, 0, 0, 519, 520, 5, 110, 0, 0, 520, 521, 5, 103, 0, 0, 521, 522, 5, 34, 0, 0, 522, 68, 1, 0, 0, 0, 523, 524, 5, 34, 0, 0, 524, 525, 5, 73, 0, 0, 525, 526, 5, 115, 0, 0, 526, 527, 5, 84, 0, 0, 527, 528, 5, 105, 0, 0, 528, 529, 5, 109, 0, 0, 529, 530, 5, 101, 0, 0, 530, 531, 5, 115, 0, 0, 531, 532, 5, 116, 0, 0, 532, 533, 5, 97, 0, 0, 533, 534, 5, 109, 0, 0, 534, 535, 5, 112, 0, 0, 535, 536, 5, 34, 0, 0, 536, 70, 1, 0, 0, 0, 537, 538, 5, 34, 0, 0, 538, 539, 5, 78, 0, 0, 539, 540, 5, 111, 0, 0, 540, 541, 5, 116, 0, 0, 541, 542, 5, 34, 0, 0, 542, 72, 1, 0, 0, 0, 543, 544, 5, 34, 0, 0, 544, 545, 5, 78, 0, 0, 545, 546, 5, 117, 0, 0, 546, 547, 5, 109, 0, 0, 547, 548, 5, 101, 0, 0, 548, 549, 5, 114, 0, 0, 549, 550, 5, 105, 0, 0, 550, 551, 5, 99, 0, 0, 551, 552, 5, 69, 0, 0, 552, 553, 5, 113, 0, 0, 553, 554, 5, 117, 0, 0, 554, 555, 5, 97, 0, 0, 555, 556, 5, 108, 0, 0, 556, 557, 5, 115, 0, 0, 557, 558, 5, 34, 0, 0, 558, 74, 1, 0, 0, 0, 559, 560, 5, 34, 0, 0, 560, 561, 5, 78, 0, 0, 561, 562, 5, 117, 0, 0, 562, 563, 5, 109, 0, 0, 563, 564, 5, 101, 0, 0, 564, 565, 5, 114, 0, 0, 565, 566, 5, 105, 0, 0, 566, 567, 5, 99, 0, 0, 567, 568, 5, 69, 0, 0, 568, 569, 5, 113, 0, 0, 569, 570, 5, 117, 0, 0, 570, 571, 5, 97, 0, 0, 571, 572, 5, 108, 0, 0, 572, 573, 5, 115, 0, 0, 573, 574, 5, 80, 0, 0, 574, 575, 5, 97, 0, 0, 575, 576, 5, 116, 0, 0, 576, 577, 5, 104, 0, 0, 577, 578, 5, 34, 0, 0, 578, 76, 1, 0, 0, 0, 579, 580, 5, 34, 0, 0, 580, 581, 5, 78, 0, 0, 581, 582, 5, 117, 0, 0, 582, 583, 5, 109, 0, 0, 583, 584, 5, 101, 0, 0, 584, 585, 5, 114, 0, 0, 585, 586, 5, 105, 0, 0, 586, 587, 5, 99, 0, 0, 587, 588, 5, 71, 0, 0, 588, 589, 5, 114, 0, 0, 589, 590, 5, 101, 0, 0, 590, 591, 5, 97, 0, 0, 591, 592, 5, 116, 0, 0, 592, 593, 5, 101, 0, 0, 593, 594, 5, 114, 0, 0, 594, 595, 5, 84, 0, 0, 595, 596, 5, 104, 0, 0, 596, 597, 5, 97, 0, 0, 597, 598, 5, 110, 0, 0, 598, 599, 5, 34, 0, 0, 599, 78, 1, 0, 0, 0, 600, 601, 5, 34, 0, 0, 601, 602, 5, 78, 0, 0, 602, 603, 5, 117, 0, 0, 603, 604, 5, 109, 0, 0, 604, 605, 5, 101, 0, 0, 605, 606, 5, 114, 0, 0, 606, 607, 5, 105, 0, 0, 607, 608, 5, 99, 0, 0, 608, 609, 5, 71, 0, 0, 609, 610, 5, 114, 0, 0, 610, 611, 5, 101, 0, 0, 611, 612, 5, 97, 0, 0, 612, 613, 5, 116, 0, 0, 613, 614, 5, 101, 0, 0, 614, 615, 5, 114, 0, 0, 615, 616, 5, 84, 0, 0, 616, 617, 5, 104, 0, 0, 617, 618, 5, 97, 0, 0, 618, 619, 5, 110, 0, 0, 619, 620, 5, 80, 0, 0, 620, 621, 5, 97, 0, 0, 621, 622, 5, 116, 0, 0, 622, 623, 5, 104, 0, 0, 623, 624, 5, 34, 0, 0, 624, 80, 1, 0, 0, 0, 625, 626, 5, 34, 0, 0, 626, 627, 5, 78, 0, 0, 627, 628, 5, 117, 0, 0, 628, 629, 5, 109, 0, 0, 629, 630, 5, 101, 0, 0, 630, 631, 5, 114, 0, 0, 631, 632, 5, 105, 0, 0, 632, 633, 5, 99, 0, 0, 633, 634, 5, 71, 0, 0, 634, 635, 5, 114, 0, 0, 635, 636, 5, 101, 0, 0, 636, 637, 5, 97, 0, 0, 637, 638, 5, 116, 0, 0, 638, 639, 5, 101, 0, 0, 639, 640, 5, 114, 0, 0, 640, 641, 5, 84, 0, 0, 641, 642, 5, 104, 0, 0, 642, 643, 5, 97, 0, 0, 643, 644, 5, 110, 0, 0, 644, 645, 5, 69, 0, 0, 645, 646, 5, 113, 0, 0, 646, 647, 5, 117, 0, 0, 647, 648, 5, 97, 0, 0, 648, 649, 5, 108, 0, 0, 649, 650, 5, 115, 0, 0, 650, 651, 5, 34, 0, 0, 651, 82, 1, 0, 0, 0, 652, 653, 5, 34, 0, 0, 653, 654, 5, 78, 0, 0, 654, 655, 5, 117, 0, 0, 655, 656, 5, 109, 0, 0, 656, 657, 5, 101, 0, 0, 657, 658, 5, 114, 0, 0, 658, 659, 5, 105, 0, 0, 659, 660, 5, 99, 0, 0, 660, 661, 5, 71, 0, 0, 661, 662, 5, 114, 0, 0, 662, 663, 5, 101, 0, 0, 663, 664, 5, 97, 0, 0, 664, 665, 5, 116, 0, 0, 665, 666, 5, 101, 0, 0, 666, 667, 5, 114, 0, 0, 667, 668, 5, 84, 0, 0, 668, 669, 5, 104, 0, 0, 669, 670, 5, 97, 0, 0, 670, 671, 5, 110, 0, 0, 671, 672, 5, 69, 0, 0, 672, 673, 5, 113, 0, 0, 673, 674, 5, 117, 0, 0, 674, 675, 5, 97, 0, 0, 675, 676, 5, 108, 0, 0, 676, 677, 5, 115, 0, 0, 677, 678, 5, 80, 0, 0, 678, 679, 5, 97, 0, 0, 679, 680, 5, 116, 0, 0, 680, 681, 5, 104, 0, 0, 681, 682, 5, 34, 0, 0, 682, 84, 1, 0, 0, 0, 683, 684, 5, 34, 0, 0, 684, 685, 5, 78, 0, 0, 685, 686, 5, 117, 0, 0, 686, 687, 5, 109, 0, 0, 687, 688, 5, 101, 0, 0, 688, 689, 5, 114, 0, 0, 689, 690, 5, 105, 0, 0, 690, 691, 5, 99, 0, 0, 691, 692, 5, 76, 0, 0, 692, 693, 5, 101, 0, 0, 693, 694, 5, 115, 0, 0, 694, 695, 5, 115, 0, 0, 695, 696, 5, 84, 0, 0, 696, 697, 5, 104, 0, 0, 697, 698, 5, 97, 0, 0, 698, 699, 5, 110, 0, 0, 699, 700, 5, 34, 0, 0, 700, 86, 1, 0, 0, 0, 701, 702, 5, 34, 0, 0, 702, 703, 5, 78, 0, 0, 703, 704, 5, 117, 0, 0, 704, 705, 5, 109, 0, 0, 705, 706, 5, 101, 0, 0, 706, 707, 5, 114, 0, 0, 707, 708, 5, 105, 0, 0, 708, 709, 5, 99, 0, 0, 709, 710, 5, 76, 0, 0, 710, 711, 5, 101, 0, 0, 711, 712, 5, 115, 0, 0, 712, 713, 5, 115, 0, 0, 713, 714, 5, 84, 0, 0, 714, 715, 5, 104, 0, 0, 715, 716, 5, 97, 0, 0, 716, 717, 5, 110, 0, 0, 717, 718, 5, 80, 0, 0, 718, 719, 5, 97, 0, 0, 719, 720, 5, 116, 0, 0, 720, 721, 5, 104, 0, 0, 721, 722, 5, 34, 0, 0, 722, 88, 1, 0, 0, 0, 723, 724, 5, 34, 0, 0, 724, 725, 5, 78, 0, 0, 725, 726, 5, 117, 0, 0, 726, 727, 5, 109, 0, 0, 727, 728, 5, 101, 0, 0, 728, 729, 5, 114, 0, 0, 729, 730, 5, 105, 0, 0, 730, 731, 5, 99, 0, 0, 731, 732, 5, 76, 0, 0, 732, 733, 5, 101, 0, 0, 733, 734, 5, 115, 0, 0, 734, 735, 5, 115, 0, 0, 735, 736, 5, 84, 0, 0, 736, 737, 5, 104, 0, 0, 737, 738, 5, 97, 0, 0, 738, 739, 5, 110, 0, 0, 739, 740, 5, 69, 0, 0, 740, 741, 5, 113, 0, 0, 741, 742, 5, 117, 0, 0, 742, 743, 5, 97, 0, 0, 743, 744, 5, 108, 0, 0, 744, 745, 5, 115, 0, 0, 745, 746, 5, 34, 0, 0, 746, 90, 1, 0, 0, 0, 747, 748, 5, 34, 0, 0, 748, 749, 5, 78, 0, 0, 749, 750, 5, 117, 0, 0, 750, 751, 5, 109, 0, 0, 751, 752, 5, 101, 0, 0, 752, 753, 5, 114, 0, 0, 753, 754, 5, 105, 0, 0, 754, 755, 5, 99, 0, 0, 755, 756, 5, 76, 0, 0, 756, 757, 5, 101, 0, 0, 757, 758, 5, 115, 0, 0, 758, 759, 5, 115, 0, 0, 759, 760, 5, 84, 0, 0, 760, 761, 5, 104, 0, 0, 761, 762, 5, 97, 0, 0, 762, 763, 5, 110, 0, 0, 763, 764, 5, 69, 0, 0, 764, 765, 5, 113, 0, 0, 765, 766, 5, 117, 0, 0, 766, 767, 5, 97, 0, 0, 767, 768, 5, 108, 0, 0, 768, 769, 5, 115, 0, 0, 769, 770, 5, 80, 0, 0, 770, 771, 5, 97, 0, 0, 771, 772, 5, 116, 0, 0, 772, 773, 5, 104, 0, 0, 773, 774, 5, 34, 0, 0, 774, 92, 1, 0, 0, 0, 775, 776, 5, 34, 0, 0, 776, 777, 5, 79, 0, 0, 777, 778, 5, 114, 0, 0, 778, 779, 5, 34, 0, 0, 779, 94, 1, 0, 0, 0, 780, 781, 5, 34, 0, 0, 781, 782, 5, 83, 0, 0, 782, 783, 5, 116, 0, 0, 783, 784, 5, 114, 0, 0, 784, 785, 5, 105, 0, 0, 785, 786, 5, 110, 0, 0, 786, 787, 5, 103, 0, 0, 787, 788, 5, 69, 0, 0, 788, 789, 5, 113, 0, 0, 789, 790, 5, 117, 0, 0, 790, 791, 5, 97, 0, 0, 791, 792, 5, 108, 0, 0, 792, 793, 5, 115, 0, 0, 793, 794, 5, 34, 0, 0, 794, 96, 1, 0, 0, 0, 795, 796, 5, 34, 0, 0, 796, 797, 5, 83, 0, 0, 797, 798, 5, 116, 0, 0, 798, 799, 5, 114, 0, 0, 799, 800, 5, 105, 0, 0, 800, 801, 5, 110, 0, 0, 801, 802, 5, 103, 0, 0, 802, 803, 5, 69, 0, 0, 803, 804, 5, 113, 0, 0, 804, 805, 5, 117, 0, 0, 805, 806, 5, 97, 0, 0, 806, 807, 5, 108, 0, 0, 807, 808, 5, 115, 0, 0, 808, 809, 5, 80, 0, 0, 809, 810, 5, 97, 0, 0, 810, 811, 5, 116, 0, 0, 811, 812, 5, 104, 0, 0, 812, 813, 5, 34, 0, 0, 813, 98, 1, 0, 0, 0, 814, 815, 5, 34, 0, 0, 815, 816, 5, 83, 0, 0, 816, 817, 5, 116, 0, 0, 817, 818, 5, 114, 0, 0, 818, 819, 5, 105, 0, 0, 819, 820, 5, 110, 0, 0, 820, 821, 5, 103, 0, 0, 821, 822, 5, 71, 0, 0, 822, 823, 5, 114, 0, 0, 823, 824, 5, 101, 0, 0, 824, 825, 5, 97, 0, 0, 825, 826, 5, 116, 0, 0, 826, 827, 5, 101, 0, 0, 827, 828, 5, 114, 0, 0, 828, 829, 5, 84, 0, 0, 829, 830, 5, 104, 0, 0, 830, 831, 5, 97, 0, 0, 831, 832, 5, 110, 0, 0, 832, 833, 5, 34, 0, 0, 833, 100, 1, 0, 0, 0, 834, 835, 5, 34, 0, 0, 835, 836, 5, 83, 0, 0, 836, 837, 5, 116, 0, 0, 837, 838, 5, 114, 0, 0, 838, 839, 5, 105, 0, 0, 839, 840, 5, 110, 0, 0, 840, 841, 5, 103, 0, 0, 841, 842, 5, 71, 0, 0, 842, 843, 5, 114, 0, 0, 843, 844, 5, 101, 0, 0, 844, 845, 5, 97, 0, 0, 845, 846, 5, 116, 0, 0, 846, 847, 5, 101, 0, 0, 847, 848, 5, 114, 0, 0, 848, 849, 5, 84, 0, 0, 849, 850, 5, 104, 0, 0, 850, 851, 5, 97, 0, 0, 851, 852, 5, 110, 0, 0, 852, 853, 5, 80, 0, 0, 853, 854, 5, 97, 0, 0, 854, 855, 5, 116, 0, 0, 855, 856, 5, 104, 0, 0, 856, 857, 5, 34, 0, 0, 857, 102, 1, 0, 0, 0, 858, 859, 5, 34, 0, 0, 859, 860, 5, 83, 0, 0, 860, 861, 5, 116, 0, 0, 861, 862, 5, 114, 0, 0, 862, 863, 5, 105, 0, 0, 863, 864, 5, 110, 0, 0, 864, 865, 5, 103, 0, 0, 865, 866, 5, 71, 0, 0, 866, 867, 5, 114, 0, 0, 867, 868, 5, 101, 0, 0, 868, 869, 5, 97, 0, 0, 869, 870, 5, 116, 0, 0, 870, 871, 5, 101, 0, 0, 871, 872, 5, 114, 0, 0, 872, 873, 5, 84, 0, 0, 873, 874, 5, 104, 0, 0, 874, 875, 5, 97, 0, 0, 875, 876, 5, 110, 0, 0, 876, 877, 5, 69, 0, 0, 877, 878, 5, 113, 0, 0, 878, 879, 5, 117, 0, 0, 879, 880, 5, 97, 0, 0, 880, 881, 5, 108, 0, 0, 881, 882, 5, 115, 0, 0, 882, 883, 5, 34, 0, 0, 883, 104, 1, 0, 0, 0, 884, 885, 5, 34, 0, 0, 885, 886, 5, 83, 0, 0, 886, 887, 5, 116, 0, 0, 887, 888, 5, 114, 0, 0, 888, 889, 5, 105, 0, 0, 889, 890, 5, 110, 0, 0, 890, 891, 5, 103, 0, 0, 891, 892, 5, 71, 0, 0, 892, 893, 5, 114, 0, 0, 893, 894, 5, 101, 0, 0, 894, 895, 5, 97, 0, 0, 895, 896, 5, 116, 0, 0, 896, 897, 5, 101, 0, 0, 897, 898, 5, 114, 0, 0, 898, 899, 5, 84, 0, 0, 899, 900, 5, 104, 0, 0, 900, 901, 5, 97, 0, 0, 901, 902, 5, 110, 0, 0, 902, 903, 5, 69, 0, 0, 903, 904, 5, 113, 0, 0, 904, 905, 5, 117, 0, 0, 905, 906, 5, 97, 0, 0, 906, 907, 5, 108, 0, 0, 907, 908, 5, 115, 0, 0, 908, 909, 5, 80, 0, 0, 909, 910, 5, 97, 0, 0, 910, 911, 5, 116, 0, 0, 911, 912, 5, 104, 0, 0, 912, 913, 5, 34, 0, 0, 913, 106, 1, 0, 0, 0, 914, 915, 5, 34, 0, 0, 915, 916, 5, 83, 0, 0, 916, 917, 5, 116, 0, 0, 917, 918, 5, 114, 0, 0, 918, 919, 5, 105, 0, 0, 919, 920, 5, 110, 0, 0, 920, 921, 5, 103, 0, 0, 921, 922, 5, 76, 0, 0, 922, 923, 5, 101, 0, 0, 923, 924, 5, 115, 0, 0, 924, 925, 5, 115, 0, 0, 925, 926, 5, 84, 0, 0, 926, 927, 5, 104, 0, 0, 927, 928, 5, 97, 0, 0, 928, 929, 5, 110, 0, 0, 929, 930, 5, 34, 0, 0, 930, 108, 1, 0, 0, 0, 931, 932, 5, 34, 0, 0, 932, 933, 5, 83, 0, 0, 933, 934, 5, 116, 0, 0, 934, 935, 5, 114, 0, 0, 935, 936, 5, 105, 0, 0, 936, 937, 5, 110, 0, 0, 937, 938, 5, 103, 0, 0, 938, 939, 5, 76, 0, 0, 939, 940, 5, 101, 0, 0, 940, 941, 5, 115, 0, 0, 941, 942, 5, 115, 0, 0, 942, 943, 5, 84, 0, 0, 943, 944, 5, 104, 0, 0, 944, 945, 5, 97, 0, 0, 945, 946, 5, 110, 0, 0, 946, 947, 5, 80, 0, 0, 947, 948, 5, 97, 0, 0, 948, 949, 5, 116, 0, 0, 949, 950, 5, 104, 0, 0, 950, 951, 5, 34, 0, 0, 951, 110, 1, 0, 0, 0, 952, 953, 5, 34, 0, 0, 953, 954, 5, 83, 0, 0, 954, 955, 5, 116, 0, 0, 955, 956, 5, 114, 0, 0, 956, 957, 5, 105, 0, 0, 957, 958, 5, 110, 0, 0, 958, 959, 5, 103, 0, 0, 959, 960, 5, 76, 0, 0, 960, 961, 5, 101, 0, 0, 961, 962, 5, 115, 0, 0, 962, 963, 5, 115, 0, 0, 963, 964, 5, 84, 0, 0, 964, 965, 5, 104, 0, 0, 965, 966, 5, 97, 0, 0, 966, 967, 5, 110, 0, 0, 967, 968, 5, 69, 0, 0, 968, 969, 5, 113, 0, 0, 969, 970, 5, 117, 0, 0, 970, 971, 5, 97, 0, 0, 971, 972, 5, 108, 0, 0, 972, 973, 5, 115, 0, 0, 973, 974, 5, 34, 0, 0, 974, 112, 1, 0, 0, 0, 975, 976, 5, 34, 0, 0, 976, 977, 5, 83, 0, 0, 977, 978, 5, 116, 0, 0, 978, 979, 5, 114, 0, 0, 979, 980, 5, 105, 0, 0, 980, 981, 5, 110, 0, 0, 981, 982, 5, 103, 0, 0, 982, 983, 5, 76, 0, 0, 983, 984, 5, 101, 0, 0, 984, 985, 5, 115, 0, 0, 985, 986, 5, 115, 0, 0, 986, 987, 5, 84, 0, 0, 987, 988, 5, 104, 0, 0, 988, 989, 5, 97, 0, 0, 989, 990, 5, 110, 0, 0, 990, 991, 5, 69, 0, 0, 991, 992, 5, 113, 0, 0, 992, 993, 5, 117, 0, 0, 993, 994, 5, 97, 0, 0, 994, 995, 5, 108, 0, 0, 995, 996, 5, 115, 0, 0, 996, 997, 5, 80, 0, 0, 997, 998, 5, 97, 0, 0, 998, 999, 5, 116, 0, 0, 999, 1000, 5, 104, 0, 0, 1000, 1001, 5, 34, 0, 0, 1001, 114, 1, 0, 0, 0, 1002, 1003, 5, 34, 0, 0, 1003, 1004, 5, 83, 0, 0, 1004, 1005, 5, 116, 0, 0, 1005, 1006, 5, 114, 0, 0, 1006, 1007, 5, 105, 0, 0, 1007, 1008, 5, 110, 0, 0, 1008, 1009, 5, 103, 0, 0, 1009, 1010, 5, 77, 0, 0, 1010, 1011, 5, 97, 0, 0, 1011, 1012, 5, 116, 0, 0, 1012, 1013, 5, 99, 0, 0, 1013, 1014, 5, 104, 0, 0, 1014, 1015, 5, 101, 0, 0, 1015, 1016, 5, 115, 0, 0, 1016, 1017, 5, 34, 0, 0, 1017, 116, 1, 0, 0, 0, 1018, 1019, 5, 34, 0, 0, 1019, 1020, 5, 84, 0, 0, 1020, 1021, 5, 105, 0, 0, 1021, 1022, 5, 109, 0, 0, 1022, 1023, 5, 101, 0, 0, 1023, 1024, 5, 115, 0, 0, 1024, 1025, 5, 116, 0, 0, 1025, 1026, 5, 97, 0, 0, 1026, 1027, 5, 109, 0, 0, 1027, 1028, 5, 112, 0, 0, 1028, 1029, 5, 69, 0, 0, 1029, 1030, 5, 113, 0, 0, 1030, 1031, 5, 117, 0, 0, 1031, 1032, 5, 97, 0, 0, 1032, 1033, 5, 108, 0, 0, 1033, 1034, 5, 115, 0, 0, 1034, 1035, 5, 34, 0, 0, 1035, 118, 1, 0, 0, 0, 1036, 1037, 5, 34, 0, 0, 1037, 1038, 5, 84, 0, 0, 1038, 1039, 5, 105, 0, 0, 1039, 1040, 5, 109, 0, 0, 1040, 1041, 5, 101, 0, 0, 1041, 1042, 5, 115, 0, 0, 1042, 1043, 5, 116, 0, 0, 1043, 1044, 5, 97, 0, 0, 1044, 1045, 5, 109, 0, 0, 1045, 1046, 5, 112, 0, 0, 1046, 1047, 5, 69, 0, 0, 1047, 1048, 5, 113, 0, 0, 1048, 1049, 5, 117, 0, 0, 1049, 1050, 5, 97, 0, 0, 1050, 1051, 5, 108, 0, 0, 1051, 1052, 5, 115, 0, 0, 1052, 1053, 5, 80, 0, 0, 1053, 1054, 5, 97, 0, 0, 1054, 1055, 5, 116, 0, 0, 1055, 1056, 5, 104, 0, 0, 1056, 1057, 5, 34, 0, 0, 1057, 120, 1, 0, 0, 0, 1058, 1059, 5, 34, 0, 0, 1059, 1060, 5, 84, 0, 0, 1060, 1061, 5, 105, 0, 0, 1061, 1062, 5, 109, 0, 0, 1062, 1063, 5, 101, 0, 0, 1063, 1064, 5, 115, 0, 0, 1064, 1065, 5, 116, 0, 0, 1065, 1066, 5, 97, 0, 0, 1066, 1067, 5, 109, 0, 0, 1067, 1068, 5, 112, 0, 0, 1068, 1069, 5, 71, 0, 0, 1069, 1070, 5, 114, 0, 0, 1070, 1071, 5, 101, 0, 0, 1071, 1072, 5, 97, 0, 0, 1072, 1073, 5, 116, 0, 0, 1073, 1074, 5, 101, 0, 0, 1074, 1075, 5, 114, 0, 0, 1075, 1076, 5, 84, 0, 0, 1076, 1077, 5, 104, 0, 0, 1077, 1078, 5, 97, 0, 0, 1078, 1079, 5, 110, 0, 0, 1079, 1080, 5, 34, 0, 0, 1080, 122, 1, 0, 0, 0, 1081, 1082, 5, 34, 0, 0, 1082, 1083, 5, 84, 0, 0, 1083, 1084, 5, 105, 0, 0, 1084, 1085, 5, 109, 0, 0, 1085, 1086, 5, 101, 0, 0, 1086, 1087, 5, 115, 0, 0, 1087, 1088, 5, 116, 0, 0, 1088, 1089, 5, 97, 0, 0, 1089, 1090, 5, 109, 0, 0, 1090, 1091, 5, 112, 0, 0, 1091, 1092, 5, 71, 0, 0, 1092, 1093, 5, 114, 0, 0, 1093, 1094, 5, 101, 0, 0, 1094, 1095, 5, 97, 0, 0, 1095, 1096, 5, 116, 0, 0, 1096, 1097, 5, 101, 0, 0, 1097, 1098, 5, 114, 0, 0, 1098, 1099, 5, 84, 0, 0, 1099, 1100, 5, 104, 0, 0, 1100, 1101, 5, 97, 0, 0, 1101, 1102, 5, 110, 0, 0, 1102, 1103, 5, 80, 0, 0, 1103, 1104, 5, 97, 0, 0, 1104, 1105, 5, 116, 0, 0, 1105, 1106, 5, 104, 0, 0, 1106, 1107, 5, 34, 0, 0, 1107, 124, 1, 0, 0, 0, 1108, 1109, 5, 34, 0, 0, 1109, 1110, 5, 84, 0, 0, 1110, 1111, 5, 105, 0, 0, 1111, 1112, 5, 109, 0, 0, 1112, 1113, 5, 101, 0, 0, 1113, 1114, 5, 115, 0, 0, 1114, 1115, 5, 116, 0, 0, 1115, 1116, 5, 97, 0, 0, 1116, 1117, 5, 109, 0, 0, 1117, 1118, 5, 112, 0, 0, 1118, 1119, 5, 71, 0, 0, 1119, 1120, 5, 114, 0, 0, 1120, 1121, 5, 101, 0, 0, 1121, 1122, 5, 97, 0, 0, 1122, 1123, 5, 116, 0, 0, 1123, 1124, 5, 101, 0, 0, 1124, 1125, 5, 114, 0, 0, 1125, 1126, 5, 84, 0, 0, 1126, 1127, 5, 104, 0, 0, 1127, 1128, 5, 97, 0, 0, 1128, 1129, 5, 110, 0, 0, 1129, 1130, 5, 69, 0, 0, 1130, 1131, 5, 113, 0, 0, 1131, 1132, 5, 117, 0, 0, 1132, 1133, 5, 97, 0, 0, 1133, 1134, 5, 108, 0, 0, 1134, 1135, 5, 115, 0, 0, 1135, 1136, 5, 34, 0, 0, 1136, 126, 1, 0, 0, 0, 1137, 1138, 5, 34, 0, 0, 1138, 1139, 5, 84, 0, 0, 1139, 1140, 5, 105, 0, 0, 1140, 1141, 5, 109, 0, 0, 1141, 1142, 5, 101, 0, 0, 1142, 1143, 5, 115, 0, 0, 1143, 1144, 5, 116, 0, 0, 1144, 1145, 5, 97, 0, 0, 1145, 1146, 5, 109, 0, 0, 1146, 1147, 5, 112, 0, 0, 1147, 1148, 5, 71, 0, 0, 1148, 1149, 5, 114, 0, 0, 1149, 1150, 5, 101, 0, 0, 1150, 1151, 5, 97, 0, 0, 1151, 1152, 5, 116, 0, 0, 1152, 1153, 5, 101, 0, 0, 1153, 1154, 5, 114, 0, 0, 1154, 1155, 5, 84, 0, 0, 1155, 1156, 5, 104, 0, 0, 1156, 1157, 5, 97, 0, 0, 1157, 1158, 5, 110, 0, 0, 1158, 1159, 5, 69, 0, 0, 1159, 1160, 5, 113, 0, 0, 1160, 1161, 5, 117, 0, 0, 1161, 1162, 5, 97, 0, 0, 1162, 1163, 5, 108, 0, 0, 1163, 1164, 5, 115, 0, 0, 1164, 1165, 5, 80, 0, 0, 1165, 1166, 5, 97, 0, 0, 1166, 1167, 5, 116, 0, 0, 1167, 1168, 5, 104, 0, 0, 1168, 1169, 5, 34, 0, 0, 1169, 128, 1, 0, 0, 0, 1170, 1171, 5, 34, 0, 0, 1171, 1172, 5, 84, 0, 0, 1172, 1173, 5, 105, 0, 0, 1173, 1174, 5, 109, 0, 0, 1174, 1175, 5, 101, 0, 0, 1175, 1176, 5, 115, 0, 0, 1176, 1177, 5, 116, 0, 0, 1177, 1178, 5, 97, 0, 0, 1178, 1179, 5, 109, 0, 0, 1179, 1180, 5, 112, 0, 0, 1180, 1181, 5, 76, 0, 0, 1181, 1182, 5, 101, 0, 0, 1182, 1183, 5, 115, 0, 0, 1183, 1184, 5, 115, 0, 0, 1184, 1185, 5, 84, 0, 0, 1185, 1186, 5, 104, 0, 0, 1186, 1187, 5, 97, 0, 0, 1187, 1188, 5, 110, 0, 0, 1188, 1189, 5, 34, 0, 0, 1189, 130, 1, 0, 0, 0, 1190, 1191, 5, 34, 0, 0, 1191, 1192, 5, 84, 0, 0, 1192, 1193, 5, 105, 0, 0, 1193, 1194, 5, 109, 0, 0, 1194, 1195, 5, 101, 0, 0, 1195, 1196, 5, 115, 0, 0, 1196, 1197, 5, 116, 0, 0, 1197, 1198, 5, 97, 0, 0, 1198, 1199, 5, 109, 0, 0, 1199, 1200, 5, 112, 0, 0, 1200, 1201, 5, 76, 0, 0, 1201, 1202, 5, 101, 0, 0, 1202, 1203, 5, 115, 0, 0, 1203, 1204, 5, 115, 0, 0, 1204, 1205, 5, 84, 0, 0, 1205, 1206, 5, 104, 0, 0, 1206, 1207, 5, 97, 0, 0, 1207, 1208, 5, 110, 0, 0, 1208, 1209, 5, 80, 0, 0, 1209, 1210, 5, 97, 0, 0, 1210, 1211, 5, 116, 0, 0, 1211, 1212, 5, 104, 0, 0, 1212, 1213, 5, 34, 0, 0, 1213, 132, 1, 0, 0, 0, 1214, 1215, 5, 34, 0, 0, 1215, 1216, 5, 84, 0, 0, 1216, 1217, 5, 105, 0, 0, 1217, 1218, 5, 109, 0, 0, 1218, 1219, 5, 101, 0, 0, 1219, 1220, 5, 115, 0, 0, 1220, 1221, 5, 116, 0, 0, 1221, 1222, 5, 97, 0, 0, 1222, 1223, 5, 109, 0, 0, 1223, 1224, 5, 112, 0, 0, 1224, 1225, 5, 76, 0, 0, 1225, 1226, 5, 101, 0, 0, 1226, 1227, 5, 115, 0, 0, 1227, 1228, 5, 115, 0, 0, 1228, 1229, 5, 84, 0, 0, 1229, 1230, 5, 104, 0, 0, 1230, 1231, 5, 97, 0, 0, 1231, 1232, 5, 110, 0, 0, 1232, 1233, 5, 69, 0, 0, 1233, 1234, 5, 113, 0, 0, 1234, 1235, 5, 117, 0, 0, 1235, 1236, 5, 97, 0, 0, 1236, 1237, 5, 108, 0, 0, 1237, 1238, 5, 115, 0, 0, 1238, 1239, 5, 34, 0, 0, 1239, 134, 1, 0, 0, 0, 1240, 1241, 5, 34, 0, 0, 1241, 1242, 5, 84, 0, 0, 1242, 1243, 5, 105, 0, 0, 1243, 1244, 5, 109, 0, 0, 1244, 1245, 5, 101, 0, 0, 1245, 1246, 5, 115, 0, 0, 1246, 1247, 5, 116, 0, 0, 1247, 1248, 5, 97, 0, 0, 1248, 1249, 5, 109, 0, 0, 1249, 1250, 5, 112, 0, 0, 1250, 1251, 5, 76, 0, 0, 1251, 1252, 5, 101, 0, 0, 1252, 1253, 5, 115, 0, 0, 1253, 1254, 5, 115, 0, 0, 1254, 1255, 5, 84, 0, 0, 1255, 1256, 5, 104, 0, 0, 1256, 1257, 5, 97, 0, 0, 1257, 1258, 5, 110, 0, 0, 1258, 1259, 5, 69, 0, 0, 1259, 1260, 5, 113, 0, 0, 1260, 1261, 5, 117, 0, 0, 1261, 1262, 5, 97, 0, 0, 1262, 1263, 5, 108, 0, 0, 1263, 1264, 5, 115, 0, 0, 1264, 1265, 5, 80, 0, 0, 1265, 1266, 5, 97, 0, 0, 1266, 1267, 5, 116, 0, 0, 1267, 1268, 5, 104, 0, 0, 1268, 1269, 5, 34, 0, 0, 1269, 136, 1, 0, 0, 0, 1270, 1271, 5, 34, 0, 0, 1271, 1272, 5, 83, 0, 0, 1272, 1273, 5, 101, 0, 0, 1273, 1274, 5, 99, 0, 0, 1274, 1275, 5, 111, 0, 0, 1275, 1276, 5, 110, 0, 0, 1276, 1277, 5, 100, 0, 0, 1277, 1278, 5, 115, 0, 0, 1278, 1279, 5, 80, 0, 0, 1279, 1280, 5, 97, 0, 0, 1280, 1281, 5, 116, 0, 0, 1281, 1282, 5, 104, 0, 0, 1282, 1283, 5, 34, 0, 0, 1283, 138, 1, 0, 0, 0, 1284, 1285, 5, 34, 0, 0, 1285, 1286, 5, 83, 0, 0, 1286, 1287, 5, 101, 0, 0, 1287, 1288, 5, 99, 0, 0, 1288, 1289, 5, 111, 0, 0, 1289, 1290, 5, 110, 0, 0, 1290, 1291, 5, 100, 0, 0, 1291, 1292, 5, 115, 0, 0, 1292, 1293, 5, 34, 0, 0, 1293, 140, 1, 0, 0, 0, 1294, 1295, 5, 34, 0, 0, 1295, 1296, 5, 84, 0, 0, 1296, 1297, 5, 105, 0, 0, 1297, 1298, 5, 109, 0, 0, 1298, 1299, 5, 101, 0, 0, 1299, 1300, 5, 115, 0, 0, 1300, 1301, 5, 116, 0, 0, 1301, 1302, 5, 97, 0, 0, 1302, 1303, 5, 109, 0, 0, 1303, 1304, 5, 112, 0, 0, 1304, 1305, 5, 80, 0, 0, 1305, 1306, 5, 97, 0, 0, 1306, 1307, 5, 116, 0, 0, 1307, 1308, 5, 104, 0, 0, 1308, 1309, 5, 34, 0, 0, 1309, 142, 1, 0, 0, 0, 1310, 1311, 5, 34, 0, 0, 1311, 1312, 5, 84, 0, 0, 1312, 1313, 5, 105, 0, 0, 1313, 1314, 5, 109, 0, 0, 1314, 1315, 5, 101, 0, 0, 1315, 1316, 5, 115, 0, 0, 1316, 1317, 5, 116, 0, 0, 1317, 1318, 5, 97, 0, 0, 1318, 1319, 5, 109, 0, 0, 1319, 1320, 5, 112, 0, 0, 1320, 1321, 5, 34, 0, 0, 1321, 144, 1, 0, 0, 0, 1322, 1323, 5, 34, 0, 0, 1323, 1324, 5, 80, 0, 0, 1324, 1325, 5, 114, 0, 0, 1325, 1326, 5, 111, 0, 0, 1326, 1327, 5, 99, 0, 0, 1327, 1328, 5, 101, 0, 0, 1328, 1329, 5, 115, 0, 0, 1329, 1330, 5, 115, 0, 0, 1330, 1331, 5, 111, 0, 0, 1331, 1332, 5, 114, 0, 0, 1332, 1333, 5, 67, 0, 0, 1333, 1334, 5, 111, 0, 0, 1334, 1335, 5, 110, 0, 0, 1335, 1336, 5, 102, 0, 0, 1336, 1337, 5, 105, 0, 0, 1337, 1338, 5, 103, 0, 0, 1338, 1339, 5, 34, 0, 0, 1339, 146, 1, 0, 0, 0, 1340, 1341, 5, 34, 0, 0, 1341, 1342, 5, 77, 0, 0, 1342, 1343, 5, 111, 0, 0, 1343, 1344, 5, 100, 0, 0, 1344, 1345, 5, 101, 0, 0, 1345, 1346, 5, 34, 0, 0, 1346, 148, 1, 0, 0, 0, 1347, 1348, 5, 34, 0, 0, 1348, 1349, 5, 73, 0, 0, 1349, 1350, 5, 78, 0, 0, 1350, 1351, 5, 76, 0, 0, 1351, 1352, 5, 73, 0, 0, 1352, 1353, 5, 78, 0, 0, 1353, 1354, 5, 69, 0, 0, 1354, 1355, 5, 34, 0, 0, 1355, 150, 1, 0, 0, 0, 1356, 1357, 5, 34, 0, 0, 1357, 1358, 5, 73, 0, 0, 1358, 1359, 5, 116, 0, 0, 1359, 1360, 5, 101, 0, 0, 1360, 1361, 5, 109, 0, 0, 1361, 1362, 5, 80, 0, 0, 1362, 1363, 5, 114, 0, 0, 1363, 1364, 5, 111, 0, 0, 1364, 1365, 5, 99, 0, 0, 1365, 1366, 5, 101, 0, 0, 1366, 1367, 5, 115, 0, 0, 1367, 1368, 5, 115, 0, 0, 1368, 1369, 5, 111, 0, 0, 1369, 1370, 5, 114, 0, 0, 1370, 1371, 5, 34, 0, 0, 1371, 152, 1, 0, 0, 0, 1372, 1373, 5, 34, 0, 0, 1373, 1374, 5, 77, 0, 0, 1374, 1375, 5, 97, 0, 0, 1375, 1376, 5, 120, 0, 0, 1376, 1377, 5, 67, 0, 0, 1377, 1378, 5, 111, 0, 0, 1378, 1379, 5, 110, 0, 0, 1379, 1380, 5, 99, 0, 0, 1380, 1381, 5, 117, 0, 0, 1381, 1382, 5, 114, 0, 0, 1382, 1383, 5, 114, 0, 0, 1383, 1384, 5, 101, 0, 0, 1384, 1385, 5, 110, 0, 0, 1385, 1386, 5, 99, 0, 0, 1386, 1387, 5, 121, 0, 0, 1387, 1388, 5, 34, 0, 0, 1388, 154, 1, 0, 0, 0, 1389, 1390, 5, 34, 0, 0, 1390, 1391, 5, 82, 0, 0, 1391, 1392, 5, 101, 0, 0, 1392, 1393, 5, 115, 0, 0, 1393, 1394, 5, 111, 0, 0, 1394, 1395, 5, 117, 0, 0, 1395, 1396, 5, 114, 0, 0, 1396, 1397, 5, 99, 0, 0, 1397, 1398, 5, 101, 0, 0, 1398, 1399, 5, 34, 0, 0, 1399, 156, 1, 0, 0, 0, 1400, 1401, 5, 34, 0, 0, 1401, 1402, 5, 73, 0, 0, 1402, 1403, 5, 110, 0, 0, 1403, 1404, 5, 112, 0, 0, 1404, 1405, 5, 117, 0, 0, 1405, 1406, 5, 116, 0, 0, 1406, 1407, 5, 80, 0, 0, 1407, 1408, 5, 97, 0, 0, 1408, 1409, 5, 116, 0, 0, 1409, 1410, 5, 104, 0, 0, 1410, 1411, 5, 34, 0, 0, 1411, 158, 1, 0, 0, 0, 1412, 1413, 5, 34, 0, 0, 1413, 1414, 5, 79, 0, 0, 1414, 1415, 5, 117, 0, 0, 1415, 1416, 5, 116, 0, 0, 1416, 1417, 5, 112, 0, 0, 1417, 1418, 5, 117, 0, 0, 1418, 1419, 5, 116, 0, 0, 1419, 1420, 5, 80, 0, 0, 1420, 1421, 5, 97, 0, 0, 1421, 1422, 5, 116, 0, 0, 1422, 1423, 5, 104, 0, 0, 1423, 1424, 5, 34, 0, 0, 1424, 160, 1, 0, 0, 0, 1425, 1426, 5, 34, 0, 0, 1426, 1427, 5, 73, 0, 0, 1427, 1428, 5, 116, 0, 0, 1428, 1429, 5, 101, 0, 0, 1429, 1430, 5, 109, 0, 0, 1430, 1431, 5, 115, 0, 0, 1431, 1432, 5, 80, 0, 0, 1432, 1433, 5, 97, 0, 0, 1433, 1434, 5, 116, 0, 0, 1434, 1435, 5, 104, 0, 0, 1435, 1436, 5, 34, 0, 0, 1436, 162, 1, 0, 0, 0, 1437, 1438, 5, 34, 0, 0, 1438, 1439, 5, 82, 0, 0, 1439, 1440, 5, 101, 0, 0, 1440, 1441, 5, 115, 0, 0, 1441, 1442, 5, 117, 0, 0, 1442, 1443, 5, 108, 0, 0, 1443, 1444, 5, 116, 0, 0, 1444, 1445, 5, 80, 0, 0, 1445, 1446, 5, 97, 0, 0, 1446, 1447, 5, 116, 0, 0, 1447, 1448, 5, 104, 0, 0, 1448, 1449, 5, 34, 0, 0, 1449, 164, 1, 0, 0, 0, 1450, 1451, 5, 34, 0, 0, 1451, 1452, 5, 82, 0, 0, 1452, 1453, 5, 101, 0, 0, 1453, 1454, 5, 115, 0, 0, 1454, 1455, 5, 117, 0, 0, 1455, 1456, 5, 108, 0, 0, 1456, 1457, 5, 116, 0, 0, 1457, 1458, 5, 34, 0, 0, 1458, 166, 1, 0, 0, 0, 1459, 1460, 5, 34, 0, 0, 1460, 1461, 5, 80, 0, 0, 1461, 1462, 5, 97, 0, 0, 1462, 1463, 5, 114, 0, 0, 1463, 1464, 5, 97, 0, 0, 1464, 1465, 5, 109, 0, 0, 1465, 1466, 5, 101, 0, 0, 1466, 1467, 5, 116, 0, 0, 1467, 1468, 5, 101, 0, 0, 1468, 1469, 5, 114, 0, 0, 1469, 1470, 5, 115, 0, 0, 1470, 1471, 5, 34, 0, 0, 1471, 168, 1, 0, 0, 0, 1472, 1473, 5, 34, 0, 0, 1473, 1474, 5, 82, 0, 0, 1474, 1475, 5, 101, 0, 0, 1475, 1476, 5, 115, 0, 0, 1476, 1477, 5, 117, 0, 0, 1477, 1478, 5, 108, 0, 0, 1478, 1479, 5, 116, 0, 0, 1479, 1480, 5, 83, 0, 0, 1480, 1481, 5, 101, 0, 0, 1481, 1482, 5, 108, 0, 0, 1482, 1483, 5, 101, 0, 0, 1483, 1484, 5, 99, 0, 0, 1484, 1485, 5, 116, 0, 0, 1485, 1486, 5, 111, 0, 0, 1486, 1487, 5, 114, 0, 0, 1487, 1488, 5, 34, 0, 0, 1488, 170, 1, 0, 0, 0, 1489, 1490, 5, 34, 0, 0, 1490, 1491, 5, 78, 0, 0, 1491, 1492, 5, 101, 0, 0, 1492, 1493, 5, 120, 0, 0, 1493, 1494, 5, 116, 0, 0, 1494, 1495, 5, 34, 0, 0, 1495, 172, 1, 0, 0, 0, 1496, 1497, 5, 34, 0, 0, 1497, 1498, 5, 69, 0, 0, 1498, 1499, 5, 110, 0, 0, 1499, 1500, 5, 100, 0, 0, 1500, 1501, 5, 34, 0, 0, 1501, 174, 1, 0, 0, 0, 1502, 1503, 5, 34, 0, 0, 1503, 1504, 5, 67, 0, 0, 1504, 1505, 5, 97, 0, 0, 1505, 1506, 5, 117, 0, 0, 1506, 1507, 5, 115, 0, 0, 1507, 1508, 5, 101, 0, 0, 1508, 1509, 5, 34, 0, 0, 1509, 176, 1, 0, 0, 0, 1510, 1511, 5, 34, 0, 0, 1511, 1512, 5, 69, 0, 0, 1512, 1513, 5, 114, 0, 0, 1513, 1514, 5, 114, 0, 0, 1514, 1515, 5, 111, 0, 0, 1515, 1516, 5, 114, 0, 0, 1516, 1517, 5, 34, 0, 0, 1517, 178, 1, 0, 0, 0, 1518, 1519, 5, 34, 0, 0, 1519, 1520, 5, 82, 0, 0, 1520, 1521, 5, 101, 0, 0, 1521, 1522, 5, 116, 0, 0, 1522, 1523, 5, 114, 0, 0, 1523, 1524, 5, 121, 0, 0, 1524, 1525, 5, 34, 0, 0, 1525, 180, 1, 0, 0, 0, 1526, 1527, 5, 34, 0, 0, 1527, 1528, 5, 69, 0, 0, 1528, 1529, 5, 114, 0, 0, 1529, 1530, 5, 114, 0, 0, 1530, 1531, 5, 111, 0, 0, 1531, 1532, 5, 114, 0, 0, 1532, 1533, 5, 69, 0, 0, 1533, 1534, 5, 113, 0, 0, 1534, 1535, 5, 117, 0, 0, 1535, 1536, 5, 97, 0, 0, 1536, 1537, 5, 108, 0, 0, 1537, 1538, 5, 115, 0, 0, 1538, 1539, 5, 34, 0, 0, 1539, 182, 1, 0, 0, 0, 1540, 1541, 5, 34, 0, 0, 1541, 1542, 5, 73, 0, 0, 1542, 1543, 5, 110, 0, 0, 1543, 1544, 5, 116, 0, 0, 1544, 1545, 5, 101, 0, 0, 1545, 1546, 5, 114, 0, 0, 1546, 1547, 5, 118, 0, 0, 1547, 1548, 5, 97, 0, 0, 1548, 1549, 5, 108, 0, 0, 1549, 1550, 5, 83, 0, 0, 1550, 1551, 5, 101, 0, 0, 1551, 1552, 5, 99, 0, 0, 1552, 1553, 5, 111, 0, 0, 1553, 1554, 5, 110, 0, 0, 1554, 1555, 5, 100, 0, 0, 1555, 1556, 5, 115, 0, 0, 1556, 1557, 5, 34, 0, 0, 1557, 184, 1, 0, 0, 0, 1558, 1559, 5, 34, 0, 0, 1559, 1560, 5, 77, 0, 0, 1560, 1561, 5, 97, 0, 0, 1561, 1562, 5, 120, 0, 0, 1562, 1563, 5, 65, 0, 0, 1563, 1564, 5, 116, 0, 0, 1564, 1565, 5, 116, 0, 0, 1565, 1566, 5, 101, 0, 0, 1566, 1567, 5, 109, 0, 0, 1567, 1568, 5, 112, 0, 0, 1568, 1569, 5, 116, 0, 0, 1569, 1570, 5, 115, 0, 0, 1570, 1571, 5, 34, 0, 0, 1571, 186, 1, 0, 0, 0, 1572, 1573, 5, 34, 0, 0, 1573, 1574, 5, 66, 0, 0, 1574, 1575, 5, 97, 0, 0, 1575, 1576, 5, 99, 0, 0, 1576, 1577, 5, 107, 0, 0, 1577, 1578, 5, 111, 0, 0, 1578, 1579, 5, 102, 0, 0, 1579, 1580, 5, 102, 0, 0, 1580, 1581, 5, 82, 0, 0, 1581, 1582, 5, 97, 0, 0, 1582, 1583, 5, 116, 0, 0, 1583, 1584, 5, 101, 0, 0, 1584, 1585, 5, 34, 0, 0, 1585, 188, 1, 0, 0, 0, 1586, 1587, 5, 34, 0, 0, 1587, 1588, 5, 67, 0, 0, 1588, 1589, 5, 97, 0, 0, 1589, 1590, 5, 116, 0, 0, 1590, 1591, 5, 99, 0, 0, 1591, 1592, 5, 104, 0, 0, 1592, 1593, 5, 34, 0, 0, 1593, 190, 1, 0, 0, 0, 1594, 1595, 5, 34, 0, 0, 1595, 1596, 5, 83, 0, 0, 1596, 1597, 5, 116, 0, 0, 1597, 1598, 5, 97, 0, 0, 1598, 1599, 5, 116, 0, 0, 1599, 1600, 5, 101, 0, 0, 1600, 1601, 5, 115, 0, 0, 1601, 1602, 5, 46, 0, 0, 1602, 1603, 5, 65, 0, 0, 1603, 1604, 5, 76, 0, 0, 1604, 1605, 5, 76, 0, 0, 1605, 1606, 5, 34, 0, 0, 1606, 192, 1, 0, 0, 0, 1607, 1608, 5, 34, 0, 0, 1608, 1609, 5, 83, 0, 0, 1609, 1610, 5, 116, 0, 0, 1610, 1611, 5, 97, 0, 0, 1611, 1612, 5, 116, 0, 0, 1612, 1613, 5, 101, 0, 0, 1613, 1614, 5, 115, 0, 0, 1614, 1615, 5, 46, 0, 0, 1615, 1616, 5, 72, 0, 0, 1616, 1617, 5, 101, 0, 0, 1617, 1618, 5, 97, 0, 0, 1618, 1619, 5, 114, 0, 0, 1619, 1620, 5, 116, 0, 0, 1620, 1621, 5, 98, 0, 0, 1621, 1622, 5, 101, 0, 0, 1622, 1623, 5, 97, 0, 0, 1623, 1624, 5, 116, 0, 0, 1624, 1625, 5, 84, 0, 0, 1625, 1626, 5, 105, 0, 0, 1626, 1627, 5, 109, 0, 0, 1627, 1628, 5, 101, 0, 0, 1628, 1629, 5, 111, 0, 0, 1629, 1630, 5, 117, 0, 0, 1630, 1631, 5, 116, 0, 0, 1631, 1632, 5, 34, 0, 0, 1632, 194, 1, 0, 0, 0, 1633, 1634, 5, 34, 0, 0, 1634, 1635, 5, 83, 0, 0, 1635, 1636, 5, 116, 0, 0, 1636, 1637, 5, 97, 0, 0, 1637, 1638, 5, 116, 0, 0, 1638, 1639, 5, 101, 0, 0, 1639, 1640, 5, 115, 0, 0, 1640, 1641, 5, 46, 0, 0, 1641, 1642, 5, 84, 0, 0, 1642, 1643, 5, 105, 0, 0, 1643, 1644, 5, 109, 0, 0, 1644, 1645, 5, 101, 0, 0, 1645, 1646, 5, 111, 0, 0, 1646, 1647, 5, 117, 0, 0, 1647, 1648, 5, 116, 0, 0, 1648, 1649, 5, 34, 0, 0, 1649, 196, 1, 0, 0, 0, 1650, 1651, 5, 34, 0, 0, 1651, 1652, 5, 83, 0, 0, 1652, 1653, 5, 116, 0, 0, 1653, 1654, 5, 97, 0, 0, 1654, 1655, 5, 116, 0, 0, 1655, 1656, 5, 101, 0, 0, 1656, 1657, 5, 115, 0, 0, 1657, 1658, 5, 46, 0, 0, 1658, 1659, 5, 84, 0, 0, 1659, 1660, 5, 97, 0, 0, 1660, 1661, 5, 115, 0, 0, 1661, 1662, 5, 107, 0, 0, 1662, 1663, 5, 70, 0, 0, 1663, 1664, 5, 97, 0, 0, 1664, 1665, 5, 105, 0, 0, 1665, 1666, 5, 108, 0, 0, 1666, 1667, 5, 101, 0, 0, 1667, 1668, 5, 100, 0, 0, 1668, 1669, 5, 34, 0, 0, 1669, 198, 1, 0, 0, 0, 1670, 1671, 5, 34, 0, 0, 1671, 1672, 5, 83, 0, 0, 1672, 1673, 5, 116, 0, 0, 1673, 1674, 5, 97, 0, 0, 1674, 1675, 5, 116, 0, 0, 1675, 1676, 5, 101, 0, 0, 1676, 1677, 5, 115, 0, 0, 1677, 1678, 5, 46, 0, 0, 1678, 1679, 5, 80, 0, 0, 1679, 1680, 5, 101, 0, 0, 1680, 1681, 5, 114, 0, 0, 1681, 1682, 5, 109, 0, 0, 1682, 1683, 5, 105, 0, 0, 1683, 1684, 5, 115, 0, 0, 1684, 1685, 5, 115, 0, 0, 1685, 1686, 5, 105, 0, 0, 1686, 1687, 5, 111, 0, 0, 1687, 1688, 5, 110, 0, 0, 1688, 1689, 5, 115, 0, 0, 1689, 1690, 5, 34, 0, 0, 1690, 200, 1, 0, 0, 0, 1691, 1692, 5, 34, 0, 0, 1692, 1693, 5, 83, 0, 0, 1693, 1694, 5, 116, 0, 0, 1694, 1695, 5, 97, 0, 0, 1695, 1696, 5, 116, 0, 0, 1696, 1697, 5, 101, 0, 0, 1697, 1698, 5, 115, 0, 0, 1698, 1699, 5, 46, 0, 0, 1699, 1700, 5, 82, 0, 0, 1700, 1701, 5, 101, 0, 0, 1701, 1702, 5, 115, 0, 0, 1702, 1703, 5, 117, 0, 0, 1703, 1704, 5, 108, 0, 0, 1704, 1705, 5, 116, 0, 0, 1705, 1706, 5, 80, 0, 0, 1706, 1707, 5, 97, 0, 0, 1707, 1708, 5, 116, 0, 0, 1708, 1709, 5, 104, 0, 0, 1709, 1710, 5, 77, 0, 0, 1710, 1711, 5, 97, 0, 0, 1711, 1712, 5, 116, 0, 0, 1712, 1713, 5, 99, 0, 0, 1713, 1714, 5, 104, 0, 0, 1714, 1715, 5, 70, 0, 0, 1715, 1716, 5, 97, 0, 0, 1716, 1717, 5, 105, 0, 0, 1717, 1718, 5, 108, 0, 0, 1718, 1719, 5, 117, 0, 0, 1719, 1720, 5, 114, 0, 0, 1720, 1721, 5, 101, 0, 0, 1721, 1722, 5, 34, 0, 0, 1722, 202, 1, 0, 0, 0, 1723, 1724, 5, 34, 0, 0, 1724, 1725, 5, 83, 0, 0, 1725, 1726, 5, 116, 0, 0, 1726, 1727, 5, 97, 0, 0, 1727, 1728, 5, 116, 0, 0, 1728, 1729, 5, 101, 0, 0, 1729, 1730, 5, 115, 0, 0, 1730, 1731, 5, 46, 0, 0, 1731, 1732, 5, 80, 0, 0, 1732, 1733, 5, 97, 0, 0, 1733, 1734, 5, 114, 0, 0, 1734, 1735, 5, 97, 0, 0, 1735, 1736, 5, 109, 0, 0, 1736, 1737, 5, 101, 0, 0, 1737, 1738, 5, 116, 0, 0, 1738, 1739, 5, 101, 0, 0, 1739, 1740, 5, 114, 0, 0, 1740, 1741, 5, 80, 0, 0, 1741, 1742, 5, 97, 0, 0, 1742, 1743, 5, 116, 0, 0, 1743, 1744, 5, 104, 0, 0, 1744, 1745, 5, 70, 0, 0, 1745, 1746, 5, 97, 0, 0, 1746, 1747, 5, 105, 0, 0, 1747, 1748, 5, 108, 0, 0, 1748, 1749, 5, 117, 0, 0, 1749, 1750, 5, 114, 0, 0, 1750, 1751, 5, 101, 0, 0, 1751, 1752, 5, 34, 0, 0, 1752, 204, 1, 0, 0, 0, 1753, 1754, 5, 34, 0, 0, 1754, 1755, 5, 83, 0, 0, 1755, 1756, 5, 116, 0, 0, 1756, 1757, 5, 97, 0, 0, 1757, 1758, 5, 116, 0, 0, 1758, 1759, 5, 101, 0, 0, 1759, 1760, 5, 115, 0, 0, 1760, 1761, 5, 46, 0, 0, 1761, 1762, 5, 66, 0, 0, 1762, 1763, 5, 114, 0, 0, 1763, 1764, 5, 97, 0, 0, 1764, 1765, 5, 110, 0, 0, 1765, 1766, 5, 99, 0, 0, 1766, 1767, 5, 104, 0, 0, 1767, 1768, 5, 70, 0, 0, 1768, 1769, 5, 97, 0, 0, 1769, 1770, 5, 105, 0, 0, 1770, 1771, 5, 108, 0, 0, 1771, 1772, 5, 101, 0, 0, 1772, 1773, 5, 100, 0, 0, 1773, 1774, 5, 34, 0, 0, 1774, 206, 1, 0, 0, 0, 1775, 1776, 5, 34, 0, 0, 1776, 1777, 5, 83, 0, 0, 1777, 1778, 5, 116, 0, 0, 1778, 1779, 5, 97, 0, 0, 1779, 1780, 5, 116, 0, 0, 1780, 1781, 5, 101, 0, 0, 1781, 1782, 5, 115, 0, 0, 1782, 1783, 5, 46, 0, 0, 1783, 1784, 5, 78, 0, 0, 1784, 1785, 5, 111, 0, 0, 1785, 1786, 5, 67, 0, 0, 1786, 1787, 5, 104, 0, 0, 1787, 1788, 5, 111, 0, 0, 1788, 1789, 5, 105, 0, 0, 1789, 1790, 5, 99, 0, 0, 1790, 1791, 5, 101, 0, 0, 1791, 1792, 5, 77, 0, 0, 1792, 1793, 5, 97, 0, 0, 1793, 1794, 5, 116, 0, 0, 1794, 1795, 5, 99, 0, 0, 1795, 1796, 5, 104, 0, 0, 1796, 1797, 5, 101, 0, 0, 1797, 1798, 5, 100, 0, 0, 1798, 1799, 5, 34, 0, 0, 1799, 208, 1, 0, 0, 0, 1800, 1801, 5, 34, 0, 0, 1801, 1802, 5, 83, 0, 0, 1802, 1803, 5, 116, 0, 0, 1803, 1804, 5, 97, 0, 0, 1804, 1805, 5, 116, 0, 0, 1805, 1806, 5, 101, 0, 0, 1806, 1807, 5, 115, 0, 0, 1807, 1808, 5, 46, 0, 0, 1808, 1809, 5, 73, 0, 0, 1809, 1810, 5, 110, 0, 0, 1810, 1811, 5, 116, 0, 0, 1811, 1812, 5, 114, 0, 0, 1812, 1813, 5, 105, 0, 0, 1813, 1814, 5, 110, 0, 0, 1814, 1815, 5, 115, 0, 0, 1815, 1816, 5, 105, 0, 0, 1816, 1817, 5, 99, 0, 0, 1817, 1818, 5, 70, 0, 0, 1818, 1819, 5, 97, 0, 0, 1819, 1820, 5, 105, 0, 0, 1820, 1821, 5, 108, 0, 0, 1821, 1822, 5, 117, 0, 0, 1822, 1823, 5, 114, 0, 0, 1823, 1824, 5, 101, 0, 0, 1824, 1825, 5, 34, 0, 0, 1825, 210, 1, 0, 0, 0, 1826, 1827, 5, 34, 0, 0, 1827, 1828, 5, 83, 0, 0, 1828, 1829, 5, 116, 0, 0, 1829, 1830, 5, 97, 0, 0, 1830, 1831, 5, 116, 0, 0, 1831, 1832, 5, 101, 0, 0, 1832, 1833, 5, 115, 0, 0, 1833, 1834, 5, 46, 0, 0, 1834, 1835, 5, 69, 0, 0, 1835, 1836, 5, 120, 0, 0, 1836, 1837, 5, 99, 0, 0, 1837, 1838, 5, 101, 0, 0, 1838, 1839, 5, 101, 0, 0, 1839, 1840, 5, 100, 0, 0, 1840, 1841, 5, 84, 0, 0, 1841, 1842, 5, 111, 0, 0, 1842, 1843, 5, 108, 0, 0, 1843, 1844, 5, 101, 0, 0, 1844, 1845, 5, 114, 0, 0, 1845, 1846, 5, 97, 0, 0, 1846, 1847, 5, 116, 0, 0, 1847, 1848, 5, 101, 0, 0, 1848, 1849, 5, 100, 0, 0, 1849, 1850, 5, 70, 0, 0, 1850, 1851, 5, 97, 0, 0, 1851, 1852, 5, 105, 0, 0, 1852, 1853, 5, 108, 0, 0, 1853, 1854, 5, 117, 0, 0, 1854, 1855, 5, 114, 0, 0, 1855, 1856, 5, 101, 0, 0, 1856, 1857, 5, 84, 0, 0, 1857, 1858, 5, 104, 0, 0, 1858, 1859, 5, 114, 0, 0, 1859, 1860, 5, 101, 0, 0, 1860, 1861, 5, 115, 0, 0, 1861, 1862, 5, 104, 0, 0, 1862, 1863, 5, 111, 0, 0, 1863, 1864, 5, 108, 0, 0, 1864, 1865, 5, 100, 0, 0, 1865, 1866, 5, 34, 0, 0, 1866, 212, 1, 0, 0, 0, 1867, 1868, 5, 34, 0, 0, 1868, 1869, 5, 83, 0, 0, 1869, 1870, 5, 116, 0, 0, 1870, 1871, 5, 97, 0, 0, 1871, 1872, 5, 116, 0, 0, 1872, 1873, 5, 101, 0, 0, 1873, 1874, 5, 115, 0, 0, 1874, 1875, 5, 46, 0, 0, 1875, 1876, 5, 73, 0, 0, 1876, 1877, 5, 116, 0, 0, 1877, 1878, 5, 101, 0, 0, 1878, 1879, 5, 109, 0, 0, 1879, 1880, 5, 82, 0, 0, 1880, 1881, 5, 101, 0, 0, 1881, 1882, 5, 97, 0, 0, 1882, 1883, 5, 100, 0, 0, 1883, 1884, 5, 101, 0, 0, 1884, 1885, 5, 114, 0, 0, 1885, 1886, 5, 70, 0, 0, 1886, 1887, 5, 97, 0, 0, 1887, 1888, 5, 105, 0, 0, 1888, 1889, 5, 108, 0, 0, 1889, 1890, 5, 101, 0, 0, 1890, 1891, 5, 100, 0, 0, 1891, 1892, 5, 34, 0, 0, 1892, 214, 1, 0, 0, 0, 1893, 1894, 5, 34, 0, 0, 1894, 1895, 5, 83, 0, 0, 1895, 1896, 5, 116, 0, 0, 1896, 1897, 5, 97, 0, 0, 1897, 1898, 5, 116, 0, 0, 1898, 1899, 5, 101, 0, 0, 1899, 1900, 5, 115, 0, 0, 1900, 1901, 5, 46, 0, 0, 1901, 1902, 5, 82, 0, 0, 1902, 1903, 5, 101, 0, 0, 1903, 1904, 5, 115, 0, 0, 1904, 1905, 5, 117, 0, 0, 1905, 1906, 5, 108, 0, 0, 1906, 1907, 5, 116, 0, 0, 1907, 1908, 5, 87, 0, 0, 1908, 1909, 5, 114, 0, 0, 1909, 1910, 5, 105, 0, 0, 1910, 1911, 5, 116, 0, 0, 1911, 1912, 5, 101, 0, 0, 1912, 1913, 5, 114, 0, 0, 1913, 1914, 5, 70, 0, 0, 1914, 1915, 5, 97, 0, 0, 1915, 1916, 5, 105, 0, 0, 1916, 1917, 5, 108, 0, 0, 1917, 1918, 5, 101, 0, 0, 1918, 1919, 5, 100, 0, 0, 1919, 1920, 5, 34, 0, 0, 1920, 216, 1, 0, 0, 0, 1921, 1922, 5, 34, 0, 0, 1922, 1923, 5, 83, 0, 0, 1923, 1924, 5, 116, 0, 0, 1924, 1925, 5, 97, 0, 0, 1925, 1926, 5, 116, 0, 0, 1926, 1927, 5, 101, 0, 0, 1927, 1928, 5, 115, 0, 0, 1928, 1929, 5, 46, 0, 0, 1929, 1930, 5, 82, 0, 0, 1930, 1931, 5, 117, 0, 0, 1931, 1932, 5, 110, 0, 0, 1932, 1933, 5, 116, 0, 0, 1933, 1934, 5, 105, 0, 0, 1934, 1935, 5, 109, 0, 0, 1935, 1936, 5, 101, 0, 0, 1936, 1937, 5, 34, 0, 0, 1937, 218, 1, 0, 0, 0, 1938, 1943, 5, 34, 0, 0, 1939, 1942, 3, 227, 113, 0, 1940, 1942, 3, 233, 116, 0, 1941, 1939, 1, 0, 0, 0, 1941, 1940, 1, 0, 0, 0, 1942, 1945, 1, 0, 0, 0, 1943, 1941, 1, 0, 0, 0, 1943, 1944, 1, 0, 0, 0, 1944, 1946, 1, 0, 0, 0, 1945, 1943, 1, 0, 0, 0, 1946, 1947, 5, 46, 0, 0, 1947, 1948, 5, 36, 0, 0, 1948, 1949, 5, 34, 0, 0, 1949, 220, 1, 0, 0, 0, 1950, 1951, 5, 34, 0, 0, 1951, 1952, 5, 36, 0, 0, 1952, 1953, 5, 36, 0, 0, 1953, 1954, 5, 46, 0, 0, 1954, 1959, 1, 0, 0, 0, 1955, 1958, 3, 227, 113, 0, 1956, 1958, 3, 233, 116, 0, 1957, 1955, 1, 0, 0, 0, 1957, 1956, 1, 0, 0, 0, 1958, 1961, 1, 0, 0, 0, 1959, 1957, 1, 0, 0, 0, 1959, 1960, 1, 0, 0, 0, 1960, 1962, 1, 0, 0, 0, 1961, 1959, 1, 0, 0, 0, 1962, 1963, 5, 34, 0, 0, 1963, 222, 1, 0, 0, 0, 1964, 1965, 5, 34, 0, 0, 1965, 1966, 5, 36, 0, 0, 1966, 1971, 1, 0, 0, 0, 1967, 1970, 3, 227, 113, 0, 1968, 1970, 3, 233, 116, 0, 1969, 1967, 1, 0, 0, 0, 1969, 1968, 1, 0, 0, 0, 1970, 1973, 1, 0, 0, 0, 1971, 1969, 1, 0, 0, 0, 1971, 1972, 1, 0, 0, 0, 1972, 1974, 1, 0, 0, 0, 1973, 1971, 1, 0, 0, 0, 1974, 1975, 5, 34, 0, 0, 1975, 224, 1, 0, 0, 0, 1976, 1981, 5, 34, 0, 0, 1977, 1980, 3, 227, 113, 0, 1978, 1980, 3, 233, 116, 0, 1979, 1977, 1, 0, 0, 0, 1979, 1978, 1, 0, 0, 0, 1980, 1983, 1, 0, 0, 0, 1981, 1979, 1, 0, 0, 0, 1981, 1982, 1, 0, 0, 0, 1982, 1984, 1, 0, 0, 0, 1983, 1981, 1, 0, 0, 0, 1984, 1985, 5, 34, 0, 0, 1985, 226, 1, 0, 0, 0, 1986, 1989, 5, 92, 0, 0, 1987, 1990, 7, 0, 0, 0, 1988, 1990, 3, 229, 114, 0, 1989, 1987, 1, 0, 0, 0, 1989, 1988, 1, 0, 0, 0, 1990, 228, 1, 0, 0, 0, 1991, 1992, 5, 117, 0, 0, 1992, 1993, 3, 231, 115, 0, 1993, 1994, 3, 231, 115, 0, 1994, 1995, 3, 231, 115, 0, 1995, 1996, 3, 231, 115, 0, 1996, 230, 1, 0, 0, 0, 1997, 1998, 7, 1, 0, 0, 1998, 232, 1, 0, 0, 0, 1999, 2000, 8, 2, 0, 0, 2000, 234, 1, 0, 0, 0, 2001, 2010, 5, 48, 0, 0, 2002, 2006, 7, 3, 0, 0, 2003, 2005, 7, 4, 0, 0, 2004, 2003, 1, 0, 0, 0, 2005, 2008, 1, 0, 0, 0, 2006, 2004, 1, 0, 0, 0, 2006, 2007, 1, 0, 0, 0, 2007, 2010, 1, 0, 0, 0, 2008, 2006, 1, 0, 0, 0, 2009, 2001, 1, 0, 0, 0, 2009, 2002, 1, 0, 0, 0, 2010, 236, 1, 0, 0, 0, 2011, 2013, 5, 45, 0, 0, 2012, 2011, 1, 0, 0, 0, 2012, 2013, 1, 0, 0, 0, 2013, 2014, 1, 0, 0, 0, 2014, 2021, 3, 235, 117, 0, 2015, 2017, 5, 46, 0, 0, 2016, 2018, 7, 4, 0, 0, 2017, 2016, 1, 0, 0, 0, 2018, 2019, 1, 0, 0, 0, 2019, 2017, 1, 0, 0, 0, 2019, 2020, 1, 0, 0, 0, 2020, 2022, 1, 0, 0, 0, 2021, 2015, 1, 0, 0, 0, 2021, 2022, 1, 0, 0, 0, 2022, 2024, 1, 0, 0, 0, 2023, 2025, 3, 239, 119, 0, 2024, 2023, 1, 0, 0, 0, 2024, 2025, 1, 0, 0, 0, 2025, 238, 1, 0, 0, 0, 2026, 2028, 7, 5, 0, 0, 2027, 2029, 7, 6, 0, 0, 2028, 2027, 1, 0, 0, 0, 2028, 2029, 1, 0, 0, 0, 2029, 2030, 1, 0, 0, 0, 2030, 2031, 3, 235, 117, 0, 2031, 240, 1, 0, 0, 0, 2032, 2034, 7, 7, 0, 0, 2033, 2032, 1, 0, 0, 0, 2034, 2035, 1, 0, 0, 0, 2035, 2033, 1, 0, 0, 0, 2035, 2036, 1, 0, 0, 0, 2036, 2037, 1, 0, 0, 0, 2037, 2038, 6, 120, 0, 0, 2038, 242, 1, 0, 0, 0, 18, 0, 1941, 1943, 1957, 1959, 1969, 1971, 1979, 1981, 1989, 2006, 2009, 2012, 2019, 2021, 2024, 2028, 2035, 1, 6, 0, 0] \ No newline at end of file +[4, 0, 118, 2081, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 2, 101, 7, 101, 2, 102, 7, 102, 2, 103, 7, 103, 2, 104, 7, 104, 2, 105, 7, 105, 2, 106, 7, 106, 2, 107, 7, 107, 2, 108, 7, 108, 2, 109, 7, 109, 2, 110, 7, 110, 2, 111, 7, 111, 2, 112, 7, 112, 2, 113, 7, 113, 2, 114, 7, 114, 2, 115, 7, 115, 2, 116, 7, 116, 2, 117, 7, 117, 2, 118, 7, 118, 2, 119, 7, 119, 2, 120, 7, 120, 2, 121, 7, 121, 2, 122, 7, 122, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 5, 111, 1984, 8, 111, 10, 111, 12, 111, 1987, 9, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 5, 112, 2000, 8, 112, 10, 112, 12, 112, 2003, 9, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 5, 113, 2012, 8, 113, 10, 113, 12, 113, 2015, 9, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 5, 114, 2022, 8, 114, 10, 114, 12, 114, 2025, 9, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 3, 115, 2032, 8, 115, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 5, 119, 2047, 8, 119, 10, 119, 12, 119, 2050, 9, 119, 3, 119, 2052, 8, 119, 1, 120, 3, 120, 2055, 8, 120, 1, 120, 1, 120, 1, 120, 4, 120, 2060, 8, 120, 11, 120, 12, 120, 2061, 3, 120, 2064, 8, 120, 1, 120, 3, 120, 2067, 8, 120, 1, 121, 1, 121, 3, 121, 2071, 8, 121, 1, 121, 1, 121, 1, 122, 4, 122, 2076, 8, 122, 11, 122, 12, 122, 2077, 1, 122, 1, 122, 0, 0, 123, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 201, 101, 203, 102, 205, 103, 207, 104, 209, 105, 211, 106, 213, 107, 215, 108, 217, 109, 219, 110, 221, 111, 223, 112, 225, 113, 227, 114, 229, 115, 231, 0, 233, 0, 235, 0, 237, 0, 239, 116, 241, 117, 243, 0, 245, 118, 1, 0, 8, 8, 0, 34, 34, 47, 47, 92, 92, 98, 98, 102, 102, 110, 110, 114, 114, 116, 116, 3, 0, 48, 57, 65, 70, 97, 102, 3, 0, 0, 31, 34, 34, 92, 92, 1, 0, 49, 57, 1, 0, 48, 57, 2, 0, 69, 69, 101, 101, 2, 0, 43, 43, 45, 45, 3, 0, 9, 10, 13, 13, 32, 32, 2092, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 0, 201, 1, 0, 0, 0, 0, 203, 1, 0, 0, 0, 0, 205, 1, 0, 0, 0, 0, 207, 1, 0, 0, 0, 0, 209, 1, 0, 0, 0, 0, 211, 1, 0, 0, 0, 0, 213, 1, 0, 0, 0, 0, 215, 1, 0, 0, 0, 0, 217, 1, 0, 0, 0, 0, 219, 1, 0, 0, 0, 0, 221, 1, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 225, 1, 0, 0, 0, 0, 227, 1, 0, 0, 0, 0, 229, 1, 0, 0, 0, 0, 239, 1, 0, 0, 0, 0, 241, 1, 0, 0, 0, 0, 245, 1, 0, 0, 0, 1, 247, 1, 0, 0, 0, 3, 249, 1, 0, 0, 0, 5, 251, 1, 0, 0, 0, 7, 253, 1, 0, 0, 0, 9, 255, 1, 0, 0, 0, 11, 257, 1, 0, 0, 0, 13, 259, 1, 0, 0, 0, 15, 264, 1, 0, 0, 0, 17, 270, 1, 0, 0, 0, 19, 275, 1, 0, 0, 0, 21, 285, 1, 0, 0, 0, 23, 294, 1, 0, 0, 0, 25, 304, 1, 0, 0, 0, 27, 316, 1, 0, 0, 0, 29, 323, 1, 0, 0, 0, 31, 330, 1, 0, 0, 0, 33, 339, 1, 0, 0, 0, 35, 346, 1, 0, 0, 0, 37, 356, 1, 0, 0, 0, 39, 363, 1, 0, 0, 0, 41, 370, 1, 0, 0, 0, 43, 381, 1, 0, 0, 0, 45, 387, 1, 0, 0, 0, 47, 397, 1, 0, 0, 0, 49, 408, 1, 0, 0, 0, 51, 418, 1, 0, 0, 0, 53, 429, 1, 0, 0, 0, 55, 435, 1, 0, 0, 0, 57, 451, 1, 0, 0, 0, 59, 471, 1, 0, 0, 0, 61, 483, 1, 0, 0, 0, 63, 492, 1, 0, 0, 0, 65, 504, 1, 0, 0, 0, 67, 516, 1, 0, 0, 0, 69, 527, 1, 0, 0, 0, 71, 541, 1, 0, 0, 0, 73, 547, 1, 0, 0, 0, 75, 563, 1, 0, 0, 0, 77, 583, 1, 0, 0, 0, 79, 604, 1, 0, 0, 0, 81, 629, 1, 0, 0, 0, 83, 656, 1, 0, 0, 0, 85, 687, 1, 0, 0, 0, 87, 705, 1, 0, 0, 0, 89, 727, 1, 0, 0, 0, 91, 751, 1, 0, 0, 0, 93, 779, 1, 0, 0, 0, 95, 784, 1, 0, 0, 0, 97, 799, 1, 0, 0, 0, 99, 818, 1, 0, 0, 0, 101, 838, 1, 0, 0, 0, 103, 862, 1, 0, 0, 0, 105, 888, 1, 0, 0, 0, 107, 918, 1, 0, 0, 0, 109, 935, 1, 0, 0, 0, 111, 956, 1, 0, 0, 0, 113, 979, 1, 0, 0, 0, 115, 1006, 1, 0, 0, 0, 117, 1022, 1, 0, 0, 0, 119, 1040, 1, 0, 0, 0, 121, 1062, 1, 0, 0, 0, 123, 1085, 1, 0, 0, 0, 125, 1112, 1, 0, 0, 0, 127, 1141, 1, 0, 0, 0, 129, 1174, 1, 0, 0, 0, 131, 1194, 1, 0, 0, 0, 133, 1218, 1, 0, 0, 0, 135, 1244, 1, 0, 0, 0, 137, 1274, 1, 0, 0, 0, 139, 1288, 1, 0, 0, 0, 141, 1298, 1, 0, 0, 0, 143, 1314, 1, 0, 0, 0, 145, 1326, 1, 0, 0, 0, 147, 1343, 1, 0, 0, 0, 149, 1364, 1, 0, 0, 0, 151, 1382, 1, 0, 0, 0, 153, 1389, 1, 0, 0, 0, 155, 1398, 1, 0, 0, 0, 157, 1414, 1, 0, 0, 0, 159, 1431, 1, 0, 0, 0, 161, 1442, 1, 0, 0, 0, 163, 1454, 1, 0, 0, 0, 165, 1467, 1, 0, 0, 0, 167, 1479, 1, 0, 0, 0, 169, 1492, 1, 0, 0, 0, 171, 1501, 1, 0, 0, 0, 173, 1514, 1, 0, 0, 0, 175, 1531, 1, 0, 0, 0, 177, 1538, 1, 0, 0, 0, 179, 1544, 1, 0, 0, 0, 181, 1552, 1, 0, 0, 0, 183, 1560, 1, 0, 0, 0, 185, 1568, 1, 0, 0, 0, 187, 1582, 1, 0, 0, 0, 189, 1600, 1, 0, 0, 0, 191, 1614, 1, 0, 0, 0, 193, 1628, 1, 0, 0, 0, 195, 1636, 1, 0, 0, 0, 197, 1649, 1, 0, 0, 0, 199, 1675, 1, 0, 0, 0, 201, 1692, 1, 0, 0, 0, 203, 1712, 1, 0, 0, 0, 205, 1733, 1, 0, 0, 0, 207, 1765, 1, 0, 0, 0, 209, 1795, 1, 0, 0, 0, 211, 1817, 1, 0, 0, 0, 213, 1842, 1, 0, 0, 0, 215, 1868, 1, 0, 0, 0, 217, 1909, 1, 0, 0, 0, 219, 1935, 1, 0, 0, 0, 221, 1963, 1, 0, 0, 0, 223, 1980, 1, 0, 0, 0, 225, 1992, 1, 0, 0, 0, 227, 2006, 1, 0, 0, 0, 229, 2018, 1, 0, 0, 0, 231, 2028, 1, 0, 0, 0, 233, 2033, 1, 0, 0, 0, 235, 2039, 1, 0, 0, 0, 237, 2041, 1, 0, 0, 0, 239, 2051, 1, 0, 0, 0, 241, 2054, 1, 0, 0, 0, 243, 2068, 1, 0, 0, 0, 245, 2075, 1, 0, 0, 0, 247, 248, 5, 44, 0, 0, 248, 2, 1, 0, 0, 0, 249, 250, 5, 58, 0, 0, 250, 4, 1, 0, 0, 0, 251, 252, 5, 91, 0, 0, 252, 6, 1, 0, 0, 0, 253, 254, 5, 93, 0, 0, 254, 8, 1, 0, 0, 0, 255, 256, 5, 123, 0, 0, 256, 10, 1, 0, 0, 0, 257, 258, 5, 125, 0, 0, 258, 12, 1, 0, 0, 0, 259, 260, 5, 116, 0, 0, 260, 261, 5, 114, 0, 0, 261, 262, 5, 117, 0, 0, 262, 263, 5, 101, 0, 0, 263, 14, 1, 0, 0, 0, 264, 265, 5, 102, 0, 0, 265, 266, 5, 97, 0, 0, 266, 267, 5, 108, 0, 0, 267, 268, 5, 115, 0, 0, 268, 269, 5, 101, 0, 0, 269, 16, 1, 0, 0, 0, 270, 271, 5, 110, 0, 0, 271, 272, 5, 117, 0, 0, 272, 273, 5, 108, 0, 0, 273, 274, 5, 108, 0, 0, 274, 18, 1, 0, 0, 0, 275, 276, 5, 34, 0, 0, 276, 277, 5, 67, 0, 0, 277, 278, 5, 111, 0, 0, 278, 279, 5, 109, 0, 0, 279, 280, 5, 109, 0, 0, 280, 281, 5, 101, 0, 0, 281, 282, 5, 110, 0, 0, 282, 283, 5, 116, 0, 0, 283, 284, 5, 34, 0, 0, 284, 20, 1, 0, 0, 0, 285, 286, 5, 34, 0, 0, 286, 287, 5, 83, 0, 0, 287, 288, 5, 116, 0, 0, 288, 289, 5, 97, 0, 0, 289, 290, 5, 116, 0, 0, 290, 291, 5, 101, 0, 0, 291, 292, 5, 115, 0, 0, 292, 293, 5, 34, 0, 0, 293, 22, 1, 0, 0, 0, 294, 295, 5, 34, 0, 0, 295, 296, 5, 83, 0, 0, 296, 297, 5, 116, 0, 0, 297, 298, 5, 97, 0, 0, 298, 299, 5, 114, 0, 0, 299, 300, 5, 116, 0, 0, 300, 301, 5, 65, 0, 0, 301, 302, 5, 116, 0, 0, 302, 303, 5, 34, 0, 0, 303, 24, 1, 0, 0, 0, 304, 305, 5, 34, 0, 0, 305, 306, 5, 78, 0, 0, 306, 307, 5, 101, 0, 0, 307, 308, 5, 120, 0, 0, 308, 309, 5, 116, 0, 0, 309, 310, 5, 83, 0, 0, 310, 311, 5, 116, 0, 0, 311, 312, 5, 97, 0, 0, 312, 313, 5, 116, 0, 0, 313, 314, 5, 101, 0, 0, 314, 315, 5, 34, 0, 0, 315, 26, 1, 0, 0, 0, 316, 317, 5, 34, 0, 0, 317, 318, 5, 84, 0, 0, 318, 319, 5, 121, 0, 0, 319, 320, 5, 112, 0, 0, 320, 321, 5, 101, 0, 0, 321, 322, 5, 34, 0, 0, 322, 28, 1, 0, 0, 0, 323, 324, 5, 34, 0, 0, 324, 325, 5, 84, 0, 0, 325, 326, 5, 97, 0, 0, 326, 327, 5, 115, 0, 0, 327, 328, 5, 107, 0, 0, 328, 329, 5, 34, 0, 0, 329, 30, 1, 0, 0, 0, 330, 331, 5, 34, 0, 0, 331, 332, 5, 67, 0, 0, 332, 333, 5, 104, 0, 0, 333, 334, 5, 111, 0, 0, 334, 335, 5, 105, 0, 0, 335, 336, 5, 99, 0, 0, 336, 337, 5, 101, 0, 0, 337, 338, 5, 34, 0, 0, 338, 32, 1, 0, 0, 0, 339, 340, 5, 34, 0, 0, 340, 341, 5, 70, 0, 0, 341, 342, 5, 97, 0, 0, 342, 343, 5, 105, 0, 0, 343, 344, 5, 108, 0, 0, 344, 345, 5, 34, 0, 0, 345, 34, 1, 0, 0, 0, 346, 347, 5, 34, 0, 0, 347, 348, 5, 83, 0, 0, 348, 349, 5, 117, 0, 0, 349, 350, 5, 99, 0, 0, 350, 351, 5, 99, 0, 0, 351, 352, 5, 101, 0, 0, 352, 353, 5, 101, 0, 0, 353, 354, 5, 100, 0, 0, 354, 355, 5, 34, 0, 0, 355, 36, 1, 0, 0, 0, 356, 357, 5, 34, 0, 0, 357, 358, 5, 80, 0, 0, 358, 359, 5, 97, 0, 0, 359, 360, 5, 115, 0, 0, 360, 361, 5, 115, 0, 0, 361, 362, 5, 34, 0, 0, 362, 38, 1, 0, 0, 0, 363, 364, 5, 34, 0, 0, 364, 365, 5, 87, 0, 0, 365, 366, 5, 97, 0, 0, 366, 367, 5, 105, 0, 0, 367, 368, 5, 116, 0, 0, 368, 369, 5, 34, 0, 0, 369, 40, 1, 0, 0, 0, 370, 371, 5, 34, 0, 0, 371, 372, 5, 80, 0, 0, 372, 373, 5, 97, 0, 0, 373, 374, 5, 114, 0, 0, 374, 375, 5, 97, 0, 0, 375, 376, 5, 108, 0, 0, 376, 377, 5, 108, 0, 0, 377, 378, 5, 101, 0, 0, 378, 379, 5, 108, 0, 0, 379, 380, 5, 34, 0, 0, 380, 42, 1, 0, 0, 0, 381, 382, 5, 34, 0, 0, 382, 383, 5, 77, 0, 0, 383, 384, 5, 97, 0, 0, 384, 385, 5, 112, 0, 0, 385, 386, 5, 34, 0, 0, 386, 44, 1, 0, 0, 0, 387, 388, 5, 34, 0, 0, 388, 389, 5, 67, 0, 0, 389, 390, 5, 104, 0, 0, 390, 391, 5, 111, 0, 0, 391, 392, 5, 105, 0, 0, 392, 393, 5, 99, 0, 0, 393, 394, 5, 101, 0, 0, 394, 395, 5, 115, 0, 0, 395, 396, 5, 34, 0, 0, 396, 46, 1, 0, 0, 0, 397, 398, 5, 34, 0, 0, 398, 399, 5, 86, 0, 0, 399, 400, 5, 97, 0, 0, 400, 401, 5, 114, 0, 0, 401, 402, 5, 105, 0, 0, 402, 403, 5, 97, 0, 0, 403, 404, 5, 98, 0, 0, 404, 405, 5, 108, 0, 0, 405, 406, 5, 101, 0, 0, 406, 407, 5, 34, 0, 0, 407, 48, 1, 0, 0, 0, 408, 409, 5, 34, 0, 0, 409, 410, 5, 68, 0, 0, 410, 411, 5, 101, 0, 0, 411, 412, 5, 102, 0, 0, 412, 413, 5, 97, 0, 0, 413, 414, 5, 117, 0, 0, 414, 415, 5, 108, 0, 0, 415, 416, 5, 116, 0, 0, 416, 417, 5, 34, 0, 0, 417, 50, 1, 0, 0, 0, 418, 419, 5, 34, 0, 0, 419, 420, 5, 66, 0, 0, 420, 421, 5, 114, 0, 0, 421, 422, 5, 97, 0, 0, 422, 423, 5, 110, 0, 0, 423, 424, 5, 99, 0, 0, 424, 425, 5, 104, 0, 0, 425, 426, 5, 101, 0, 0, 426, 427, 5, 115, 0, 0, 427, 428, 5, 34, 0, 0, 428, 52, 1, 0, 0, 0, 429, 430, 5, 34, 0, 0, 430, 431, 5, 65, 0, 0, 431, 432, 5, 110, 0, 0, 432, 433, 5, 100, 0, 0, 433, 434, 5, 34, 0, 0, 434, 54, 1, 0, 0, 0, 435, 436, 5, 34, 0, 0, 436, 437, 5, 66, 0, 0, 437, 438, 5, 111, 0, 0, 438, 439, 5, 111, 0, 0, 439, 440, 5, 108, 0, 0, 440, 441, 5, 101, 0, 0, 441, 442, 5, 97, 0, 0, 442, 443, 5, 110, 0, 0, 443, 444, 5, 69, 0, 0, 444, 445, 5, 113, 0, 0, 445, 446, 5, 117, 0, 0, 446, 447, 5, 97, 0, 0, 447, 448, 5, 108, 0, 0, 448, 449, 5, 115, 0, 0, 449, 450, 5, 34, 0, 0, 450, 56, 1, 0, 0, 0, 451, 452, 5, 34, 0, 0, 452, 453, 5, 66, 0, 0, 453, 454, 5, 111, 0, 0, 454, 455, 5, 111, 0, 0, 455, 456, 5, 108, 0, 0, 456, 457, 5, 101, 0, 0, 457, 458, 5, 97, 0, 0, 458, 459, 5, 110, 0, 0, 459, 460, 5, 69, 0, 0, 460, 461, 5, 113, 0, 0, 461, 462, 5, 117, 0, 0, 462, 463, 5, 97, 0, 0, 463, 464, 5, 108, 0, 0, 464, 465, 5, 115, 0, 0, 465, 466, 5, 80, 0, 0, 466, 467, 5, 97, 0, 0, 467, 468, 5, 116, 0, 0, 468, 469, 5, 104, 0, 0, 469, 470, 5, 34, 0, 0, 470, 58, 1, 0, 0, 0, 471, 472, 5, 34, 0, 0, 472, 473, 5, 73, 0, 0, 473, 474, 5, 115, 0, 0, 474, 475, 5, 66, 0, 0, 475, 476, 5, 111, 0, 0, 476, 477, 5, 111, 0, 0, 477, 478, 5, 108, 0, 0, 478, 479, 5, 101, 0, 0, 479, 480, 5, 97, 0, 0, 480, 481, 5, 110, 0, 0, 481, 482, 5, 34, 0, 0, 482, 60, 1, 0, 0, 0, 483, 484, 5, 34, 0, 0, 484, 485, 5, 73, 0, 0, 485, 486, 5, 115, 0, 0, 486, 487, 5, 78, 0, 0, 487, 488, 5, 117, 0, 0, 488, 489, 5, 108, 0, 0, 489, 490, 5, 108, 0, 0, 490, 491, 5, 34, 0, 0, 491, 62, 1, 0, 0, 0, 492, 493, 5, 34, 0, 0, 493, 494, 5, 73, 0, 0, 494, 495, 5, 115, 0, 0, 495, 496, 5, 78, 0, 0, 496, 497, 5, 117, 0, 0, 497, 498, 5, 109, 0, 0, 498, 499, 5, 101, 0, 0, 499, 500, 5, 114, 0, 0, 500, 501, 5, 105, 0, 0, 501, 502, 5, 99, 0, 0, 502, 503, 5, 34, 0, 0, 503, 64, 1, 0, 0, 0, 504, 505, 5, 34, 0, 0, 505, 506, 5, 73, 0, 0, 506, 507, 5, 115, 0, 0, 507, 508, 5, 80, 0, 0, 508, 509, 5, 114, 0, 0, 509, 510, 5, 101, 0, 0, 510, 511, 5, 115, 0, 0, 511, 512, 5, 101, 0, 0, 512, 513, 5, 110, 0, 0, 513, 514, 5, 116, 0, 0, 514, 515, 5, 34, 0, 0, 515, 66, 1, 0, 0, 0, 516, 517, 5, 34, 0, 0, 517, 518, 5, 73, 0, 0, 518, 519, 5, 115, 0, 0, 519, 520, 5, 83, 0, 0, 520, 521, 5, 116, 0, 0, 521, 522, 5, 114, 0, 0, 522, 523, 5, 105, 0, 0, 523, 524, 5, 110, 0, 0, 524, 525, 5, 103, 0, 0, 525, 526, 5, 34, 0, 0, 526, 68, 1, 0, 0, 0, 527, 528, 5, 34, 0, 0, 528, 529, 5, 73, 0, 0, 529, 530, 5, 115, 0, 0, 530, 531, 5, 84, 0, 0, 531, 532, 5, 105, 0, 0, 532, 533, 5, 109, 0, 0, 533, 534, 5, 101, 0, 0, 534, 535, 5, 115, 0, 0, 535, 536, 5, 116, 0, 0, 536, 537, 5, 97, 0, 0, 537, 538, 5, 109, 0, 0, 538, 539, 5, 112, 0, 0, 539, 540, 5, 34, 0, 0, 540, 70, 1, 0, 0, 0, 541, 542, 5, 34, 0, 0, 542, 543, 5, 78, 0, 0, 543, 544, 5, 111, 0, 0, 544, 545, 5, 116, 0, 0, 545, 546, 5, 34, 0, 0, 546, 72, 1, 0, 0, 0, 547, 548, 5, 34, 0, 0, 548, 549, 5, 78, 0, 0, 549, 550, 5, 117, 0, 0, 550, 551, 5, 109, 0, 0, 551, 552, 5, 101, 0, 0, 552, 553, 5, 114, 0, 0, 553, 554, 5, 105, 0, 0, 554, 555, 5, 99, 0, 0, 555, 556, 5, 69, 0, 0, 556, 557, 5, 113, 0, 0, 557, 558, 5, 117, 0, 0, 558, 559, 5, 97, 0, 0, 559, 560, 5, 108, 0, 0, 560, 561, 5, 115, 0, 0, 561, 562, 5, 34, 0, 0, 562, 74, 1, 0, 0, 0, 563, 564, 5, 34, 0, 0, 564, 565, 5, 78, 0, 0, 565, 566, 5, 117, 0, 0, 566, 567, 5, 109, 0, 0, 567, 568, 5, 101, 0, 0, 568, 569, 5, 114, 0, 0, 569, 570, 5, 105, 0, 0, 570, 571, 5, 99, 0, 0, 571, 572, 5, 69, 0, 0, 572, 573, 5, 113, 0, 0, 573, 574, 5, 117, 0, 0, 574, 575, 5, 97, 0, 0, 575, 576, 5, 108, 0, 0, 576, 577, 5, 115, 0, 0, 577, 578, 5, 80, 0, 0, 578, 579, 5, 97, 0, 0, 579, 580, 5, 116, 0, 0, 580, 581, 5, 104, 0, 0, 581, 582, 5, 34, 0, 0, 582, 76, 1, 0, 0, 0, 583, 584, 5, 34, 0, 0, 584, 585, 5, 78, 0, 0, 585, 586, 5, 117, 0, 0, 586, 587, 5, 109, 0, 0, 587, 588, 5, 101, 0, 0, 588, 589, 5, 114, 0, 0, 589, 590, 5, 105, 0, 0, 590, 591, 5, 99, 0, 0, 591, 592, 5, 71, 0, 0, 592, 593, 5, 114, 0, 0, 593, 594, 5, 101, 0, 0, 594, 595, 5, 97, 0, 0, 595, 596, 5, 116, 0, 0, 596, 597, 5, 101, 0, 0, 597, 598, 5, 114, 0, 0, 598, 599, 5, 84, 0, 0, 599, 600, 5, 104, 0, 0, 600, 601, 5, 97, 0, 0, 601, 602, 5, 110, 0, 0, 602, 603, 5, 34, 0, 0, 603, 78, 1, 0, 0, 0, 604, 605, 5, 34, 0, 0, 605, 606, 5, 78, 0, 0, 606, 607, 5, 117, 0, 0, 607, 608, 5, 109, 0, 0, 608, 609, 5, 101, 0, 0, 609, 610, 5, 114, 0, 0, 610, 611, 5, 105, 0, 0, 611, 612, 5, 99, 0, 0, 612, 613, 5, 71, 0, 0, 613, 614, 5, 114, 0, 0, 614, 615, 5, 101, 0, 0, 615, 616, 5, 97, 0, 0, 616, 617, 5, 116, 0, 0, 617, 618, 5, 101, 0, 0, 618, 619, 5, 114, 0, 0, 619, 620, 5, 84, 0, 0, 620, 621, 5, 104, 0, 0, 621, 622, 5, 97, 0, 0, 622, 623, 5, 110, 0, 0, 623, 624, 5, 80, 0, 0, 624, 625, 5, 97, 0, 0, 625, 626, 5, 116, 0, 0, 626, 627, 5, 104, 0, 0, 627, 628, 5, 34, 0, 0, 628, 80, 1, 0, 0, 0, 629, 630, 5, 34, 0, 0, 630, 631, 5, 78, 0, 0, 631, 632, 5, 117, 0, 0, 632, 633, 5, 109, 0, 0, 633, 634, 5, 101, 0, 0, 634, 635, 5, 114, 0, 0, 635, 636, 5, 105, 0, 0, 636, 637, 5, 99, 0, 0, 637, 638, 5, 71, 0, 0, 638, 639, 5, 114, 0, 0, 639, 640, 5, 101, 0, 0, 640, 641, 5, 97, 0, 0, 641, 642, 5, 116, 0, 0, 642, 643, 5, 101, 0, 0, 643, 644, 5, 114, 0, 0, 644, 645, 5, 84, 0, 0, 645, 646, 5, 104, 0, 0, 646, 647, 5, 97, 0, 0, 647, 648, 5, 110, 0, 0, 648, 649, 5, 69, 0, 0, 649, 650, 5, 113, 0, 0, 650, 651, 5, 117, 0, 0, 651, 652, 5, 97, 0, 0, 652, 653, 5, 108, 0, 0, 653, 654, 5, 115, 0, 0, 654, 655, 5, 34, 0, 0, 655, 82, 1, 0, 0, 0, 656, 657, 5, 34, 0, 0, 657, 658, 5, 78, 0, 0, 658, 659, 5, 117, 0, 0, 659, 660, 5, 109, 0, 0, 660, 661, 5, 101, 0, 0, 661, 662, 5, 114, 0, 0, 662, 663, 5, 105, 0, 0, 663, 664, 5, 99, 0, 0, 664, 665, 5, 71, 0, 0, 665, 666, 5, 114, 0, 0, 666, 667, 5, 101, 0, 0, 667, 668, 5, 97, 0, 0, 668, 669, 5, 116, 0, 0, 669, 670, 5, 101, 0, 0, 670, 671, 5, 114, 0, 0, 671, 672, 5, 84, 0, 0, 672, 673, 5, 104, 0, 0, 673, 674, 5, 97, 0, 0, 674, 675, 5, 110, 0, 0, 675, 676, 5, 69, 0, 0, 676, 677, 5, 113, 0, 0, 677, 678, 5, 117, 0, 0, 678, 679, 5, 97, 0, 0, 679, 680, 5, 108, 0, 0, 680, 681, 5, 115, 0, 0, 681, 682, 5, 80, 0, 0, 682, 683, 5, 97, 0, 0, 683, 684, 5, 116, 0, 0, 684, 685, 5, 104, 0, 0, 685, 686, 5, 34, 0, 0, 686, 84, 1, 0, 0, 0, 687, 688, 5, 34, 0, 0, 688, 689, 5, 78, 0, 0, 689, 690, 5, 117, 0, 0, 690, 691, 5, 109, 0, 0, 691, 692, 5, 101, 0, 0, 692, 693, 5, 114, 0, 0, 693, 694, 5, 105, 0, 0, 694, 695, 5, 99, 0, 0, 695, 696, 5, 76, 0, 0, 696, 697, 5, 101, 0, 0, 697, 698, 5, 115, 0, 0, 698, 699, 5, 115, 0, 0, 699, 700, 5, 84, 0, 0, 700, 701, 5, 104, 0, 0, 701, 702, 5, 97, 0, 0, 702, 703, 5, 110, 0, 0, 703, 704, 5, 34, 0, 0, 704, 86, 1, 0, 0, 0, 705, 706, 5, 34, 0, 0, 706, 707, 5, 78, 0, 0, 707, 708, 5, 117, 0, 0, 708, 709, 5, 109, 0, 0, 709, 710, 5, 101, 0, 0, 710, 711, 5, 114, 0, 0, 711, 712, 5, 105, 0, 0, 712, 713, 5, 99, 0, 0, 713, 714, 5, 76, 0, 0, 714, 715, 5, 101, 0, 0, 715, 716, 5, 115, 0, 0, 716, 717, 5, 115, 0, 0, 717, 718, 5, 84, 0, 0, 718, 719, 5, 104, 0, 0, 719, 720, 5, 97, 0, 0, 720, 721, 5, 110, 0, 0, 721, 722, 5, 80, 0, 0, 722, 723, 5, 97, 0, 0, 723, 724, 5, 116, 0, 0, 724, 725, 5, 104, 0, 0, 725, 726, 5, 34, 0, 0, 726, 88, 1, 0, 0, 0, 727, 728, 5, 34, 0, 0, 728, 729, 5, 78, 0, 0, 729, 730, 5, 117, 0, 0, 730, 731, 5, 109, 0, 0, 731, 732, 5, 101, 0, 0, 732, 733, 5, 114, 0, 0, 733, 734, 5, 105, 0, 0, 734, 735, 5, 99, 0, 0, 735, 736, 5, 76, 0, 0, 736, 737, 5, 101, 0, 0, 737, 738, 5, 115, 0, 0, 738, 739, 5, 115, 0, 0, 739, 740, 5, 84, 0, 0, 740, 741, 5, 104, 0, 0, 741, 742, 5, 97, 0, 0, 742, 743, 5, 110, 0, 0, 743, 744, 5, 69, 0, 0, 744, 745, 5, 113, 0, 0, 745, 746, 5, 117, 0, 0, 746, 747, 5, 97, 0, 0, 747, 748, 5, 108, 0, 0, 748, 749, 5, 115, 0, 0, 749, 750, 5, 34, 0, 0, 750, 90, 1, 0, 0, 0, 751, 752, 5, 34, 0, 0, 752, 753, 5, 78, 0, 0, 753, 754, 5, 117, 0, 0, 754, 755, 5, 109, 0, 0, 755, 756, 5, 101, 0, 0, 756, 757, 5, 114, 0, 0, 757, 758, 5, 105, 0, 0, 758, 759, 5, 99, 0, 0, 759, 760, 5, 76, 0, 0, 760, 761, 5, 101, 0, 0, 761, 762, 5, 115, 0, 0, 762, 763, 5, 115, 0, 0, 763, 764, 5, 84, 0, 0, 764, 765, 5, 104, 0, 0, 765, 766, 5, 97, 0, 0, 766, 767, 5, 110, 0, 0, 767, 768, 5, 69, 0, 0, 768, 769, 5, 113, 0, 0, 769, 770, 5, 117, 0, 0, 770, 771, 5, 97, 0, 0, 771, 772, 5, 108, 0, 0, 772, 773, 5, 115, 0, 0, 773, 774, 5, 80, 0, 0, 774, 775, 5, 97, 0, 0, 775, 776, 5, 116, 0, 0, 776, 777, 5, 104, 0, 0, 777, 778, 5, 34, 0, 0, 778, 92, 1, 0, 0, 0, 779, 780, 5, 34, 0, 0, 780, 781, 5, 79, 0, 0, 781, 782, 5, 114, 0, 0, 782, 783, 5, 34, 0, 0, 783, 94, 1, 0, 0, 0, 784, 785, 5, 34, 0, 0, 785, 786, 5, 83, 0, 0, 786, 787, 5, 116, 0, 0, 787, 788, 5, 114, 0, 0, 788, 789, 5, 105, 0, 0, 789, 790, 5, 110, 0, 0, 790, 791, 5, 103, 0, 0, 791, 792, 5, 69, 0, 0, 792, 793, 5, 113, 0, 0, 793, 794, 5, 117, 0, 0, 794, 795, 5, 97, 0, 0, 795, 796, 5, 108, 0, 0, 796, 797, 5, 115, 0, 0, 797, 798, 5, 34, 0, 0, 798, 96, 1, 0, 0, 0, 799, 800, 5, 34, 0, 0, 800, 801, 5, 83, 0, 0, 801, 802, 5, 116, 0, 0, 802, 803, 5, 114, 0, 0, 803, 804, 5, 105, 0, 0, 804, 805, 5, 110, 0, 0, 805, 806, 5, 103, 0, 0, 806, 807, 5, 69, 0, 0, 807, 808, 5, 113, 0, 0, 808, 809, 5, 117, 0, 0, 809, 810, 5, 97, 0, 0, 810, 811, 5, 108, 0, 0, 811, 812, 5, 115, 0, 0, 812, 813, 5, 80, 0, 0, 813, 814, 5, 97, 0, 0, 814, 815, 5, 116, 0, 0, 815, 816, 5, 104, 0, 0, 816, 817, 5, 34, 0, 0, 817, 98, 1, 0, 0, 0, 818, 819, 5, 34, 0, 0, 819, 820, 5, 83, 0, 0, 820, 821, 5, 116, 0, 0, 821, 822, 5, 114, 0, 0, 822, 823, 5, 105, 0, 0, 823, 824, 5, 110, 0, 0, 824, 825, 5, 103, 0, 0, 825, 826, 5, 71, 0, 0, 826, 827, 5, 114, 0, 0, 827, 828, 5, 101, 0, 0, 828, 829, 5, 97, 0, 0, 829, 830, 5, 116, 0, 0, 830, 831, 5, 101, 0, 0, 831, 832, 5, 114, 0, 0, 832, 833, 5, 84, 0, 0, 833, 834, 5, 104, 0, 0, 834, 835, 5, 97, 0, 0, 835, 836, 5, 110, 0, 0, 836, 837, 5, 34, 0, 0, 837, 100, 1, 0, 0, 0, 838, 839, 5, 34, 0, 0, 839, 840, 5, 83, 0, 0, 840, 841, 5, 116, 0, 0, 841, 842, 5, 114, 0, 0, 842, 843, 5, 105, 0, 0, 843, 844, 5, 110, 0, 0, 844, 845, 5, 103, 0, 0, 845, 846, 5, 71, 0, 0, 846, 847, 5, 114, 0, 0, 847, 848, 5, 101, 0, 0, 848, 849, 5, 97, 0, 0, 849, 850, 5, 116, 0, 0, 850, 851, 5, 101, 0, 0, 851, 852, 5, 114, 0, 0, 852, 853, 5, 84, 0, 0, 853, 854, 5, 104, 0, 0, 854, 855, 5, 97, 0, 0, 855, 856, 5, 110, 0, 0, 856, 857, 5, 80, 0, 0, 857, 858, 5, 97, 0, 0, 858, 859, 5, 116, 0, 0, 859, 860, 5, 104, 0, 0, 860, 861, 5, 34, 0, 0, 861, 102, 1, 0, 0, 0, 862, 863, 5, 34, 0, 0, 863, 864, 5, 83, 0, 0, 864, 865, 5, 116, 0, 0, 865, 866, 5, 114, 0, 0, 866, 867, 5, 105, 0, 0, 867, 868, 5, 110, 0, 0, 868, 869, 5, 103, 0, 0, 869, 870, 5, 71, 0, 0, 870, 871, 5, 114, 0, 0, 871, 872, 5, 101, 0, 0, 872, 873, 5, 97, 0, 0, 873, 874, 5, 116, 0, 0, 874, 875, 5, 101, 0, 0, 875, 876, 5, 114, 0, 0, 876, 877, 5, 84, 0, 0, 877, 878, 5, 104, 0, 0, 878, 879, 5, 97, 0, 0, 879, 880, 5, 110, 0, 0, 880, 881, 5, 69, 0, 0, 881, 882, 5, 113, 0, 0, 882, 883, 5, 117, 0, 0, 883, 884, 5, 97, 0, 0, 884, 885, 5, 108, 0, 0, 885, 886, 5, 115, 0, 0, 886, 887, 5, 34, 0, 0, 887, 104, 1, 0, 0, 0, 888, 889, 5, 34, 0, 0, 889, 890, 5, 83, 0, 0, 890, 891, 5, 116, 0, 0, 891, 892, 5, 114, 0, 0, 892, 893, 5, 105, 0, 0, 893, 894, 5, 110, 0, 0, 894, 895, 5, 103, 0, 0, 895, 896, 5, 71, 0, 0, 896, 897, 5, 114, 0, 0, 897, 898, 5, 101, 0, 0, 898, 899, 5, 97, 0, 0, 899, 900, 5, 116, 0, 0, 900, 901, 5, 101, 0, 0, 901, 902, 5, 114, 0, 0, 902, 903, 5, 84, 0, 0, 903, 904, 5, 104, 0, 0, 904, 905, 5, 97, 0, 0, 905, 906, 5, 110, 0, 0, 906, 907, 5, 69, 0, 0, 907, 908, 5, 113, 0, 0, 908, 909, 5, 117, 0, 0, 909, 910, 5, 97, 0, 0, 910, 911, 5, 108, 0, 0, 911, 912, 5, 115, 0, 0, 912, 913, 5, 80, 0, 0, 913, 914, 5, 97, 0, 0, 914, 915, 5, 116, 0, 0, 915, 916, 5, 104, 0, 0, 916, 917, 5, 34, 0, 0, 917, 106, 1, 0, 0, 0, 918, 919, 5, 34, 0, 0, 919, 920, 5, 83, 0, 0, 920, 921, 5, 116, 0, 0, 921, 922, 5, 114, 0, 0, 922, 923, 5, 105, 0, 0, 923, 924, 5, 110, 0, 0, 924, 925, 5, 103, 0, 0, 925, 926, 5, 76, 0, 0, 926, 927, 5, 101, 0, 0, 927, 928, 5, 115, 0, 0, 928, 929, 5, 115, 0, 0, 929, 930, 5, 84, 0, 0, 930, 931, 5, 104, 0, 0, 931, 932, 5, 97, 0, 0, 932, 933, 5, 110, 0, 0, 933, 934, 5, 34, 0, 0, 934, 108, 1, 0, 0, 0, 935, 936, 5, 34, 0, 0, 936, 937, 5, 83, 0, 0, 937, 938, 5, 116, 0, 0, 938, 939, 5, 114, 0, 0, 939, 940, 5, 105, 0, 0, 940, 941, 5, 110, 0, 0, 941, 942, 5, 103, 0, 0, 942, 943, 5, 76, 0, 0, 943, 944, 5, 101, 0, 0, 944, 945, 5, 115, 0, 0, 945, 946, 5, 115, 0, 0, 946, 947, 5, 84, 0, 0, 947, 948, 5, 104, 0, 0, 948, 949, 5, 97, 0, 0, 949, 950, 5, 110, 0, 0, 950, 951, 5, 80, 0, 0, 951, 952, 5, 97, 0, 0, 952, 953, 5, 116, 0, 0, 953, 954, 5, 104, 0, 0, 954, 955, 5, 34, 0, 0, 955, 110, 1, 0, 0, 0, 956, 957, 5, 34, 0, 0, 957, 958, 5, 83, 0, 0, 958, 959, 5, 116, 0, 0, 959, 960, 5, 114, 0, 0, 960, 961, 5, 105, 0, 0, 961, 962, 5, 110, 0, 0, 962, 963, 5, 103, 0, 0, 963, 964, 5, 76, 0, 0, 964, 965, 5, 101, 0, 0, 965, 966, 5, 115, 0, 0, 966, 967, 5, 115, 0, 0, 967, 968, 5, 84, 0, 0, 968, 969, 5, 104, 0, 0, 969, 970, 5, 97, 0, 0, 970, 971, 5, 110, 0, 0, 971, 972, 5, 69, 0, 0, 972, 973, 5, 113, 0, 0, 973, 974, 5, 117, 0, 0, 974, 975, 5, 97, 0, 0, 975, 976, 5, 108, 0, 0, 976, 977, 5, 115, 0, 0, 977, 978, 5, 34, 0, 0, 978, 112, 1, 0, 0, 0, 979, 980, 5, 34, 0, 0, 980, 981, 5, 83, 0, 0, 981, 982, 5, 116, 0, 0, 982, 983, 5, 114, 0, 0, 983, 984, 5, 105, 0, 0, 984, 985, 5, 110, 0, 0, 985, 986, 5, 103, 0, 0, 986, 987, 5, 76, 0, 0, 987, 988, 5, 101, 0, 0, 988, 989, 5, 115, 0, 0, 989, 990, 5, 115, 0, 0, 990, 991, 5, 84, 0, 0, 991, 992, 5, 104, 0, 0, 992, 993, 5, 97, 0, 0, 993, 994, 5, 110, 0, 0, 994, 995, 5, 69, 0, 0, 995, 996, 5, 113, 0, 0, 996, 997, 5, 117, 0, 0, 997, 998, 5, 97, 0, 0, 998, 999, 5, 108, 0, 0, 999, 1000, 5, 115, 0, 0, 1000, 1001, 5, 80, 0, 0, 1001, 1002, 5, 97, 0, 0, 1002, 1003, 5, 116, 0, 0, 1003, 1004, 5, 104, 0, 0, 1004, 1005, 5, 34, 0, 0, 1005, 114, 1, 0, 0, 0, 1006, 1007, 5, 34, 0, 0, 1007, 1008, 5, 83, 0, 0, 1008, 1009, 5, 116, 0, 0, 1009, 1010, 5, 114, 0, 0, 1010, 1011, 5, 105, 0, 0, 1011, 1012, 5, 110, 0, 0, 1012, 1013, 5, 103, 0, 0, 1013, 1014, 5, 77, 0, 0, 1014, 1015, 5, 97, 0, 0, 1015, 1016, 5, 116, 0, 0, 1016, 1017, 5, 99, 0, 0, 1017, 1018, 5, 104, 0, 0, 1018, 1019, 5, 101, 0, 0, 1019, 1020, 5, 115, 0, 0, 1020, 1021, 5, 34, 0, 0, 1021, 116, 1, 0, 0, 0, 1022, 1023, 5, 34, 0, 0, 1023, 1024, 5, 84, 0, 0, 1024, 1025, 5, 105, 0, 0, 1025, 1026, 5, 109, 0, 0, 1026, 1027, 5, 101, 0, 0, 1027, 1028, 5, 115, 0, 0, 1028, 1029, 5, 116, 0, 0, 1029, 1030, 5, 97, 0, 0, 1030, 1031, 5, 109, 0, 0, 1031, 1032, 5, 112, 0, 0, 1032, 1033, 5, 69, 0, 0, 1033, 1034, 5, 113, 0, 0, 1034, 1035, 5, 117, 0, 0, 1035, 1036, 5, 97, 0, 0, 1036, 1037, 5, 108, 0, 0, 1037, 1038, 5, 115, 0, 0, 1038, 1039, 5, 34, 0, 0, 1039, 118, 1, 0, 0, 0, 1040, 1041, 5, 34, 0, 0, 1041, 1042, 5, 84, 0, 0, 1042, 1043, 5, 105, 0, 0, 1043, 1044, 5, 109, 0, 0, 1044, 1045, 5, 101, 0, 0, 1045, 1046, 5, 115, 0, 0, 1046, 1047, 5, 116, 0, 0, 1047, 1048, 5, 97, 0, 0, 1048, 1049, 5, 109, 0, 0, 1049, 1050, 5, 112, 0, 0, 1050, 1051, 5, 69, 0, 0, 1051, 1052, 5, 113, 0, 0, 1052, 1053, 5, 117, 0, 0, 1053, 1054, 5, 97, 0, 0, 1054, 1055, 5, 108, 0, 0, 1055, 1056, 5, 115, 0, 0, 1056, 1057, 5, 80, 0, 0, 1057, 1058, 5, 97, 0, 0, 1058, 1059, 5, 116, 0, 0, 1059, 1060, 5, 104, 0, 0, 1060, 1061, 5, 34, 0, 0, 1061, 120, 1, 0, 0, 0, 1062, 1063, 5, 34, 0, 0, 1063, 1064, 5, 84, 0, 0, 1064, 1065, 5, 105, 0, 0, 1065, 1066, 5, 109, 0, 0, 1066, 1067, 5, 101, 0, 0, 1067, 1068, 5, 115, 0, 0, 1068, 1069, 5, 116, 0, 0, 1069, 1070, 5, 97, 0, 0, 1070, 1071, 5, 109, 0, 0, 1071, 1072, 5, 112, 0, 0, 1072, 1073, 5, 71, 0, 0, 1073, 1074, 5, 114, 0, 0, 1074, 1075, 5, 101, 0, 0, 1075, 1076, 5, 97, 0, 0, 1076, 1077, 5, 116, 0, 0, 1077, 1078, 5, 101, 0, 0, 1078, 1079, 5, 114, 0, 0, 1079, 1080, 5, 84, 0, 0, 1080, 1081, 5, 104, 0, 0, 1081, 1082, 5, 97, 0, 0, 1082, 1083, 5, 110, 0, 0, 1083, 1084, 5, 34, 0, 0, 1084, 122, 1, 0, 0, 0, 1085, 1086, 5, 34, 0, 0, 1086, 1087, 5, 84, 0, 0, 1087, 1088, 5, 105, 0, 0, 1088, 1089, 5, 109, 0, 0, 1089, 1090, 5, 101, 0, 0, 1090, 1091, 5, 115, 0, 0, 1091, 1092, 5, 116, 0, 0, 1092, 1093, 5, 97, 0, 0, 1093, 1094, 5, 109, 0, 0, 1094, 1095, 5, 112, 0, 0, 1095, 1096, 5, 71, 0, 0, 1096, 1097, 5, 114, 0, 0, 1097, 1098, 5, 101, 0, 0, 1098, 1099, 5, 97, 0, 0, 1099, 1100, 5, 116, 0, 0, 1100, 1101, 5, 101, 0, 0, 1101, 1102, 5, 114, 0, 0, 1102, 1103, 5, 84, 0, 0, 1103, 1104, 5, 104, 0, 0, 1104, 1105, 5, 97, 0, 0, 1105, 1106, 5, 110, 0, 0, 1106, 1107, 5, 80, 0, 0, 1107, 1108, 5, 97, 0, 0, 1108, 1109, 5, 116, 0, 0, 1109, 1110, 5, 104, 0, 0, 1110, 1111, 5, 34, 0, 0, 1111, 124, 1, 0, 0, 0, 1112, 1113, 5, 34, 0, 0, 1113, 1114, 5, 84, 0, 0, 1114, 1115, 5, 105, 0, 0, 1115, 1116, 5, 109, 0, 0, 1116, 1117, 5, 101, 0, 0, 1117, 1118, 5, 115, 0, 0, 1118, 1119, 5, 116, 0, 0, 1119, 1120, 5, 97, 0, 0, 1120, 1121, 5, 109, 0, 0, 1121, 1122, 5, 112, 0, 0, 1122, 1123, 5, 71, 0, 0, 1123, 1124, 5, 114, 0, 0, 1124, 1125, 5, 101, 0, 0, 1125, 1126, 5, 97, 0, 0, 1126, 1127, 5, 116, 0, 0, 1127, 1128, 5, 101, 0, 0, 1128, 1129, 5, 114, 0, 0, 1129, 1130, 5, 84, 0, 0, 1130, 1131, 5, 104, 0, 0, 1131, 1132, 5, 97, 0, 0, 1132, 1133, 5, 110, 0, 0, 1133, 1134, 5, 69, 0, 0, 1134, 1135, 5, 113, 0, 0, 1135, 1136, 5, 117, 0, 0, 1136, 1137, 5, 97, 0, 0, 1137, 1138, 5, 108, 0, 0, 1138, 1139, 5, 115, 0, 0, 1139, 1140, 5, 34, 0, 0, 1140, 126, 1, 0, 0, 0, 1141, 1142, 5, 34, 0, 0, 1142, 1143, 5, 84, 0, 0, 1143, 1144, 5, 105, 0, 0, 1144, 1145, 5, 109, 0, 0, 1145, 1146, 5, 101, 0, 0, 1146, 1147, 5, 115, 0, 0, 1147, 1148, 5, 116, 0, 0, 1148, 1149, 5, 97, 0, 0, 1149, 1150, 5, 109, 0, 0, 1150, 1151, 5, 112, 0, 0, 1151, 1152, 5, 71, 0, 0, 1152, 1153, 5, 114, 0, 0, 1153, 1154, 5, 101, 0, 0, 1154, 1155, 5, 97, 0, 0, 1155, 1156, 5, 116, 0, 0, 1156, 1157, 5, 101, 0, 0, 1157, 1158, 5, 114, 0, 0, 1158, 1159, 5, 84, 0, 0, 1159, 1160, 5, 104, 0, 0, 1160, 1161, 5, 97, 0, 0, 1161, 1162, 5, 110, 0, 0, 1162, 1163, 5, 69, 0, 0, 1163, 1164, 5, 113, 0, 0, 1164, 1165, 5, 117, 0, 0, 1165, 1166, 5, 97, 0, 0, 1166, 1167, 5, 108, 0, 0, 1167, 1168, 5, 115, 0, 0, 1168, 1169, 5, 80, 0, 0, 1169, 1170, 5, 97, 0, 0, 1170, 1171, 5, 116, 0, 0, 1171, 1172, 5, 104, 0, 0, 1172, 1173, 5, 34, 0, 0, 1173, 128, 1, 0, 0, 0, 1174, 1175, 5, 34, 0, 0, 1175, 1176, 5, 84, 0, 0, 1176, 1177, 5, 105, 0, 0, 1177, 1178, 5, 109, 0, 0, 1178, 1179, 5, 101, 0, 0, 1179, 1180, 5, 115, 0, 0, 1180, 1181, 5, 116, 0, 0, 1181, 1182, 5, 97, 0, 0, 1182, 1183, 5, 109, 0, 0, 1183, 1184, 5, 112, 0, 0, 1184, 1185, 5, 76, 0, 0, 1185, 1186, 5, 101, 0, 0, 1186, 1187, 5, 115, 0, 0, 1187, 1188, 5, 115, 0, 0, 1188, 1189, 5, 84, 0, 0, 1189, 1190, 5, 104, 0, 0, 1190, 1191, 5, 97, 0, 0, 1191, 1192, 5, 110, 0, 0, 1192, 1193, 5, 34, 0, 0, 1193, 130, 1, 0, 0, 0, 1194, 1195, 5, 34, 0, 0, 1195, 1196, 5, 84, 0, 0, 1196, 1197, 5, 105, 0, 0, 1197, 1198, 5, 109, 0, 0, 1198, 1199, 5, 101, 0, 0, 1199, 1200, 5, 115, 0, 0, 1200, 1201, 5, 116, 0, 0, 1201, 1202, 5, 97, 0, 0, 1202, 1203, 5, 109, 0, 0, 1203, 1204, 5, 112, 0, 0, 1204, 1205, 5, 76, 0, 0, 1205, 1206, 5, 101, 0, 0, 1206, 1207, 5, 115, 0, 0, 1207, 1208, 5, 115, 0, 0, 1208, 1209, 5, 84, 0, 0, 1209, 1210, 5, 104, 0, 0, 1210, 1211, 5, 97, 0, 0, 1211, 1212, 5, 110, 0, 0, 1212, 1213, 5, 80, 0, 0, 1213, 1214, 5, 97, 0, 0, 1214, 1215, 5, 116, 0, 0, 1215, 1216, 5, 104, 0, 0, 1216, 1217, 5, 34, 0, 0, 1217, 132, 1, 0, 0, 0, 1218, 1219, 5, 34, 0, 0, 1219, 1220, 5, 84, 0, 0, 1220, 1221, 5, 105, 0, 0, 1221, 1222, 5, 109, 0, 0, 1222, 1223, 5, 101, 0, 0, 1223, 1224, 5, 115, 0, 0, 1224, 1225, 5, 116, 0, 0, 1225, 1226, 5, 97, 0, 0, 1226, 1227, 5, 109, 0, 0, 1227, 1228, 5, 112, 0, 0, 1228, 1229, 5, 76, 0, 0, 1229, 1230, 5, 101, 0, 0, 1230, 1231, 5, 115, 0, 0, 1231, 1232, 5, 115, 0, 0, 1232, 1233, 5, 84, 0, 0, 1233, 1234, 5, 104, 0, 0, 1234, 1235, 5, 97, 0, 0, 1235, 1236, 5, 110, 0, 0, 1236, 1237, 5, 69, 0, 0, 1237, 1238, 5, 113, 0, 0, 1238, 1239, 5, 117, 0, 0, 1239, 1240, 5, 97, 0, 0, 1240, 1241, 5, 108, 0, 0, 1241, 1242, 5, 115, 0, 0, 1242, 1243, 5, 34, 0, 0, 1243, 134, 1, 0, 0, 0, 1244, 1245, 5, 34, 0, 0, 1245, 1246, 5, 84, 0, 0, 1246, 1247, 5, 105, 0, 0, 1247, 1248, 5, 109, 0, 0, 1248, 1249, 5, 101, 0, 0, 1249, 1250, 5, 115, 0, 0, 1250, 1251, 5, 116, 0, 0, 1251, 1252, 5, 97, 0, 0, 1252, 1253, 5, 109, 0, 0, 1253, 1254, 5, 112, 0, 0, 1254, 1255, 5, 76, 0, 0, 1255, 1256, 5, 101, 0, 0, 1256, 1257, 5, 115, 0, 0, 1257, 1258, 5, 115, 0, 0, 1258, 1259, 5, 84, 0, 0, 1259, 1260, 5, 104, 0, 0, 1260, 1261, 5, 97, 0, 0, 1261, 1262, 5, 110, 0, 0, 1262, 1263, 5, 69, 0, 0, 1263, 1264, 5, 113, 0, 0, 1264, 1265, 5, 117, 0, 0, 1265, 1266, 5, 97, 0, 0, 1266, 1267, 5, 108, 0, 0, 1267, 1268, 5, 115, 0, 0, 1268, 1269, 5, 80, 0, 0, 1269, 1270, 5, 97, 0, 0, 1270, 1271, 5, 116, 0, 0, 1271, 1272, 5, 104, 0, 0, 1272, 1273, 5, 34, 0, 0, 1273, 136, 1, 0, 0, 0, 1274, 1275, 5, 34, 0, 0, 1275, 1276, 5, 83, 0, 0, 1276, 1277, 5, 101, 0, 0, 1277, 1278, 5, 99, 0, 0, 1278, 1279, 5, 111, 0, 0, 1279, 1280, 5, 110, 0, 0, 1280, 1281, 5, 100, 0, 0, 1281, 1282, 5, 115, 0, 0, 1282, 1283, 5, 80, 0, 0, 1283, 1284, 5, 97, 0, 0, 1284, 1285, 5, 116, 0, 0, 1285, 1286, 5, 104, 0, 0, 1286, 1287, 5, 34, 0, 0, 1287, 138, 1, 0, 0, 0, 1288, 1289, 5, 34, 0, 0, 1289, 1290, 5, 83, 0, 0, 1290, 1291, 5, 101, 0, 0, 1291, 1292, 5, 99, 0, 0, 1292, 1293, 5, 111, 0, 0, 1293, 1294, 5, 110, 0, 0, 1294, 1295, 5, 100, 0, 0, 1295, 1296, 5, 115, 0, 0, 1296, 1297, 5, 34, 0, 0, 1297, 140, 1, 0, 0, 0, 1298, 1299, 5, 34, 0, 0, 1299, 1300, 5, 84, 0, 0, 1300, 1301, 5, 105, 0, 0, 1301, 1302, 5, 109, 0, 0, 1302, 1303, 5, 101, 0, 0, 1303, 1304, 5, 115, 0, 0, 1304, 1305, 5, 116, 0, 0, 1305, 1306, 5, 97, 0, 0, 1306, 1307, 5, 109, 0, 0, 1307, 1308, 5, 112, 0, 0, 1308, 1309, 5, 80, 0, 0, 1309, 1310, 5, 97, 0, 0, 1310, 1311, 5, 116, 0, 0, 1311, 1312, 5, 104, 0, 0, 1312, 1313, 5, 34, 0, 0, 1313, 142, 1, 0, 0, 0, 1314, 1315, 5, 34, 0, 0, 1315, 1316, 5, 84, 0, 0, 1316, 1317, 5, 105, 0, 0, 1317, 1318, 5, 109, 0, 0, 1318, 1319, 5, 101, 0, 0, 1319, 1320, 5, 115, 0, 0, 1320, 1321, 5, 116, 0, 0, 1321, 1322, 5, 97, 0, 0, 1322, 1323, 5, 109, 0, 0, 1323, 1324, 5, 112, 0, 0, 1324, 1325, 5, 34, 0, 0, 1325, 144, 1, 0, 0, 0, 1326, 1327, 5, 34, 0, 0, 1327, 1328, 5, 84, 0, 0, 1328, 1329, 5, 105, 0, 0, 1329, 1330, 5, 109, 0, 0, 1330, 1331, 5, 101, 0, 0, 1331, 1332, 5, 111, 0, 0, 1332, 1333, 5, 117, 0, 0, 1333, 1334, 5, 116, 0, 0, 1334, 1335, 5, 83, 0, 0, 1335, 1336, 5, 101, 0, 0, 1336, 1337, 5, 99, 0, 0, 1337, 1338, 5, 111, 0, 0, 1338, 1339, 5, 110, 0, 0, 1339, 1340, 5, 100, 0, 0, 1340, 1341, 5, 115, 0, 0, 1341, 1342, 5, 34, 0, 0, 1342, 146, 1, 0, 0, 0, 1343, 1344, 5, 34, 0, 0, 1344, 1345, 5, 84, 0, 0, 1345, 1346, 5, 105, 0, 0, 1346, 1347, 5, 109, 0, 0, 1347, 1348, 5, 101, 0, 0, 1348, 1349, 5, 111, 0, 0, 1349, 1350, 5, 117, 0, 0, 1350, 1351, 5, 116, 0, 0, 1351, 1352, 5, 83, 0, 0, 1352, 1353, 5, 101, 0, 0, 1353, 1354, 5, 99, 0, 0, 1354, 1355, 5, 111, 0, 0, 1355, 1356, 5, 110, 0, 0, 1356, 1357, 5, 100, 0, 0, 1357, 1358, 5, 115, 0, 0, 1358, 1359, 5, 80, 0, 0, 1359, 1360, 5, 97, 0, 0, 1360, 1361, 5, 116, 0, 0, 1361, 1362, 5, 104, 0, 0, 1362, 1363, 5, 34, 0, 0, 1363, 148, 1, 0, 0, 0, 1364, 1365, 5, 34, 0, 0, 1365, 1366, 5, 80, 0, 0, 1366, 1367, 5, 114, 0, 0, 1367, 1368, 5, 111, 0, 0, 1368, 1369, 5, 99, 0, 0, 1369, 1370, 5, 101, 0, 0, 1370, 1371, 5, 115, 0, 0, 1371, 1372, 5, 115, 0, 0, 1372, 1373, 5, 111, 0, 0, 1373, 1374, 5, 114, 0, 0, 1374, 1375, 5, 67, 0, 0, 1375, 1376, 5, 111, 0, 0, 1376, 1377, 5, 110, 0, 0, 1377, 1378, 5, 102, 0, 0, 1378, 1379, 5, 105, 0, 0, 1379, 1380, 5, 103, 0, 0, 1380, 1381, 5, 34, 0, 0, 1381, 150, 1, 0, 0, 0, 1382, 1383, 5, 34, 0, 0, 1383, 1384, 5, 77, 0, 0, 1384, 1385, 5, 111, 0, 0, 1385, 1386, 5, 100, 0, 0, 1386, 1387, 5, 101, 0, 0, 1387, 1388, 5, 34, 0, 0, 1388, 152, 1, 0, 0, 0, 1389, 1390, 5, 34, 0, 0, 1390, 1391, 5, 73, 0, 0, 1391, 1392, 5, 78, 0, 0, 1392, 1393, 5, 76, 0, 0, 1393, 1394, 5, 73, 0, 0, 1394, 1395, 5, 78, 0, 0, 1395, 1396, 5, 69, 0, 0, 1396, 1397, 5, 34, 0, 0, 1397, 154, 1, 0, 0, 0, 1398, 1399, 5, 34, 0, 0, 1399, 1400, 5, 73, 0, 0, 1400, 1401, 5, 116, 0, 0, 1401, 1402, 5, 101, 0, 0, 1402, 1403, 5, 109, 0, 0, 1403, 1404, 5, 80, 0, 0, 1404, 1405, 5, 114, 0, 0, 1405, 1406, 5, 111, 0, 0, 1406, 1407, 5, 99, 0, 0, 1407, 1408, 5, 101, 0, 0, 1408, 1409, 5, 115, 0, 0, 1409, 1410, 5, 115, 0, 0, 1410, 1411, 5, 111, 0, 0, 1411, 1412, 5, 114, 0, 0, 1412, 1413, 5, 34, 0, 0, 1413, 156, 1, 0, 0, 0, 1414, 1415, 5, 34, 0, 0, 1415, 1416, 5, 77, 0, 0, 1416, 1417, 5, 97, 0, 0, 1417, 1418, 5, 120, 0, 0, 1418, 1419, 5, 67, 0, 0, 1419, 1420, 5, 111, 0, 0, 1420, 1421, 5, 110, 0, 0, 1421, 1422, 5, 99, 0, 0, 1422, 1423, 5, 117, 0, 0, 1423, 1424, 5, 114, 0, 0, 1424, 1425, 5, 114, 0, 0, 1425, 1426, 5, 101, 0, 0, 1426, 1427, 5, 110, 0, 0, 1427, 1428, 5, 99, 0, 0, 1428, 1429, 5, 121, 0, 0, 1429, 1430, 5, 34, 0, 0, 1430, 158, 1, 0, 0, 0, 1431, 1432, 5, 34, 0, 0, 1432, 1433, 5, 82, 0, 0, 1433, 1434, 5, 101, 0, 0, 1434, 1435, 5, 115, 0, 0, 1435, 1436, 5, 111, 0, 0, 1436, 1437, 5, 117, 0, 0, 1437, 1438, 5, 114, 0, 0, 1438, 1439, 5, 99, 0, 0, 1439, 1440, 5, 101, 0, 0, 1440, 1441, 5, 34, 0, 0, 1441, 160, 1, 0, 0, 0, 1442, 1443, 5, 34, 0, 0, 1443, 1444, 5, 73, 0, 0, 1444, 1445, 5, 110, 0, 0, 1445, 1446, 5, 112, 0, 0, 1446, 1447, 5, 117, 0, 0, 1447, 1448, 5, 116, 0, 0, 1448, 1449, 5, 80, 0, 0, 1449, 1450, 5, 97, 0, 0, 1450, 1451, 5, 116, 0, 0, 1451, 1452, 5, 104, 0, 0, 1452, 1453, 5, 34, 0, 0, 1453, 162, 1, 0, 0, 0, 1454, 1455, 5, 34, 0, 0, 1455, 1456, 5, 79, 0, 0, 1456, 1457, 5, 117, 0, 0, 1457, 1458, 5, 116, 0, 0, 1458, 1459, 5, 112, 0, 0, 1459, 1460, 5, 117, 0, 0, 1460, 1461, 5, 116, 0, 0, 1461, 1462, 5, 80, 0, 0, 1462, 1463, 5, 97, 0, 0, 1463, 1464, 5, 116, 0, 0, 1464, 1465, 5, 104, 0, 0, 1465, 1466, 5, 34, 0, 0, 1466, 164, 1, 0, 0, 0, 1467, 1468, 5, 34, 0, 0, 1468, 1469, 5, 73, 0, 0, 1469, 1470, 5, 116, 0, 0, 1470, 1471, 5, 101, 0, 0, 1471, 1472, 5, 109, 0, 0, 1472, 1473, 5, 115, 0, 0, 1473, 1474, 5, 80, 0, 0, 1474, 1475, 5, 97, 0, 0, 1475, 1476, 5, 116, 0, 0, 1476, 1477, 5, 104, 0, 0, 1477, 1478, 5, 34, 0, 0, 1478, 166, 1, 0, 0, 0, 1479, 1480, 5, 34, 0, 0, 1480, 1481, 5, 82, 0, 0, 1481, 1482, 5, 101, 0, 0, 1482, 1483, 5, 115, 0, 0, 1483, 1484, 5, 117, 0, 0, 1484, 1485, 5, 108, 0, 0, 1485, 1486, 5, 116, 0, 0, 1486, 1487, 5, 80, 0, 0, 1487, 1488, 5, 97, 0, 0, 1488, 1489, 5, 116, 0, 0, 1489, 1490, 5, 104, 0, 0, 1490, 1491, 5, 34, 0, 0, 1491, 168, 1, 0, 0, 0, 1492, 1493, 5, 34, 0, 0, 1493, 1494, 5, 82, 0, 0, 1494, 1495, 5, 101, 0, 0, 1495, 1496, 5, 115, 0, 0, 1496, 1497, 5, 117, 0, 0, 1497, 1498, 5, 108, 0, 0, 1498, 1499, 5, 116, 0, 0, 1499, 1500, 5, 34, 0, 0, 1500, 170, 1, 0, 0, 0, 1501, 1502, 5, 34, 0, 0, 1502, 1503, 5, 80, 0, 0, 1503, 1504, 5, 97, 0, 0, 1504, 1505, 5, 114, 0, 0, 1505, 1506, 5, 97, 0, 0, 1506, 1507, 5, 109, 0, 0, 1507, 1508, 5, 101, 0, 0, 1508, 1509, 5, 116, 0, 0, 1509, 1510, 5, 101, 0, 0, 1510, 1511, 5, 114, 0, 0, 1511, 1512, 5, 115, 0, 0, 1512, 1513, 5, 34, 0, 0, 1513, 172, 1, 0, 0, 0, 1514, 1515, 5, 34, 0, 0, 1515, 1516, 5, 82, 0, 0, 1516, 1517, 5, 101, 0, 0, 1517, 1518, 5, 115, 0, 0, 1518, 1519, 5, 117, 0, 0, 1519, 1520, 5, 108, 0, 0, 1520, 1521, 5, 116, 0, 0, 1521, 1522, 5, 83, 0, 0, 1522, 1523, 5, 101, 0, 0, 1523, 1524, 5, 108, 0, 0, 1524, 1525, 5, 101, 0, 0, 1525, 1526, 5, 99, 0, 0, 1526, 1527, 5, 116, 0, 0, 1527, 1528, 5, 111, 0, 0, 1528, 1529, 5, 114, 0, 0, 1529, 1530, 5, 34, 0, 0, 1530, 174, 1, 0, 0, 0, 1531, 1532, 5, 34, 0, 0, 1532, 1533, 5, 78, 0, 0, 1533, 1534, 5, 101, 0, 0, 1534, 1535, 5, 120, 0, 0, 1535, 1536, 5, 116, 0, 0, 1536, 1537, 5, 34, 0, 0, 1537, 176, 1, 0, 0, 0, 1538, 1539, 5, 34, 0, 0, 1539, 1540, 5, 69, 0, 0, 1540, 1541, 5, 110, 0, 0, 1541, 1542, 5, 100, 0, 0, 1542, 1543, 5, 34, 0, 0, 1543, 178, 1, 0, 0, 0, 1544, 1545, 5, 34, 0, 0, 1545, 1546, 5, 67, 0, 0, 1546, 1547, 5, 97, 0, 0, 1547, 1548, 5, 117, 0, 0, 1548, 1549, 5, 115, 0, 0, 1549, 1550, 5, 101, 0, 0, 1550, 1551, 5, 34, 0, 0, 1551, 180, 1, 0, 0, 0, 1552, 1553, 5, 34, 0, 0, 1553, 1554, 5, 69, 0, 0, 1554, 1555, 5, 114, 0, 0, 1555, 1556, 5, 114, 0, 0, 1556, 1557, 5, 111, 0, 0, 1557, 1558, 5, 114, 0, 0, 1558, 1559, 5, 34, 0, 0, 1559, 182, 1, 0, 0, 0, 1560, 1561, 5, 34, 0, 0, 1561, 1562, 5, 82, 0, 0, 1562, 1563, 5, 101, 0, 0, 1563, 1564, 5, 116, 0, 0, 1564, 1565, 5, 114, 0, 0, 1565, 1566, 5, 121, 0, 0, 1566, 1567, 5, 34, 0, 0, 1567, 184, 1, 0, 0, 0, 1568, 1569, 5, 34, 0, 0, 1569, 1570, 5, 69, 0, 0, 1570, 1571, 5, 114, 0, 0, 1571, 1572, 5, 114, 0, 0, 1572, 1573, 5, 111, 0, 0, 1573, 1574, 5, 114, 0, 0, 1574, 1575, 5, 69, 0, 0, 1575, 1576, 5, 113, 0, 0, 1576, 1577, 5, 117, 0, 0, 1577, 1578, 5, 97, 0, 0, 1578, 1579, 5, 108, 0, 0, 1579, 1580, 5, 115, 0, 0, 1580, 1581, 5, 34, 0, 0, 1581, 186, 1, 0, 0, 0, 1582, 1583, 5, 34, 0, 0, 1583, 1584, 5, 73, 0, 0, 1584, 1585, 5, 110, 0, 0, 1585, 1586, 5, 116, 0, 0, 1586, 1587, 5, 101, 0, 0, 1587, 1588, 5, 114, 0, 0, 1588, 1589, 5, 118, 0, 0, 1589, 1590, 5, 97, 0, 0, 1590, 1591, 5, 108, 0, 0, 1591, 1592, 5, 83, 0, 0, 1592, 1593, 5, 101, 0, 0, 1593, 1594, 5, 99, 0, 0, 1594, 1595, 5, 111, 0, 0, 1595, 1596, 5, 110, 0, 0, 1596, 1597, 5, 100, 0, 0, 1597, 1598, 5, 115, 0, 0, 1598, 1599, 5, 34, 0, 0, 1599, 188, 1, 0, 0, 0, 1600, 1601, 5, 34, 0, 0, 1601, 1602, 5, 77, 0, 0, 1602, 1603, 5, 97, 0, 0, 1603, 1604, 5, 120, 0, 0, 1604, 1605, 5, 65, 0, 0, 1605, 1606, 5, 116, 0, 0, 1606, 1607, 5, 116, 0, 0, 1607, 1608, 5, 101, 0, 0, 1608, 1609, 5, 109, 0, 0, 1609, 1610, 5, 112, 0, 0, 1610, 1611, 5, 116, 0, 0, 1611, 1612, 5, 115, 0, 0, 1612, 1613, 5, 34, 0, 0, 1613, 190, 1, 0, 0, 0, 1614, 1615, 5, 34, 0, 0, 1615, 1616, 5, 66, 0, 0, 1616, 1617, 5, 97, 0, 0, 1617, 1618, 5, 99, 0, 0, 1618, 1619, 5, 107, 0, 0, 1619, 1620, 5, 111, 0, 0, 1620, 1621, 5, 102, 0, 0, 1621, 1622, 5, 102, 0, 0, 1622, 1623, 5, 82, 0, 0, 1623, 1624, 5, 97, 0, 0, 1624, 1625, 5, 116, 0, 0, 1625, 1626, 5, 101, 0, 0, 1626, 1627, 5, 34, 0, 0, 1627, 192, 1, 0, 0, 0, 1628, 1629, 5, 34, 0, 0, 1629, 1630, 5, 67, 0, 0, 1630, 1631, 5, 97, 0, 0, 1631, 1632, 5, 116, 0, 0, 1632, 1633, 5, 99, 0, 0, 1633, 1634, 5, 104, 0, 0, 1634, 1635, 5, 34, 0, 0, 1635, 194, 1, 0, 0, 0, 1636, 1637, 5, 34, 0, 0, 1637, 1638, 5, 83, 0, 0, 1638, 1639, 5, 116, 0, 0, 1639, 1640, 5, 97, 0, 0, 1640, 1641, 5, 116, 0, 0, 1641, 1642, 5, 101, 0, 0, 1642, 1643, 5, 115, 0, 0, 1643, 1644, 5, 46, 0, 0, 1644, 1645, 5, 65, 0, 0, 1645, 1646, 5, 76, 0, 0, 1646, 1647, 5, 76, 0, 0, 1647, 1648, 5, 34, 0, 0, 1648, 196, 1, 0, 0, 0, 1649, 1650, 5, 34, 0, 0, 1650, 1651, 5, 83, 0, 0, 1651, 1652, 5, 116, 0, 0, 1652, 1653, 5, 97, 0, 0, 1653, 1654, 5, 116, 0, 0, 1654, 1655, 5, 101, 0, 0, 1655, 1656, 5, 115, 0, 0, 1656, 1657, 5, 46, 0, 0, 1657, 1658, 5, 72, 0, 0, 1658, 1659, 5, 101, 0, 0, 1659, 1660, 5, 97, 0, 0, 1660, 1661, 5, 114, 0, 0, 1661, 1662, 5, 116, 0, 0, 1662, 1663, 5, 98, 0, 0, 1663, 1664, 5, 101, 0, 0, 1664, 1665, 5, 97, 0, 0, 1665, 1666, 5, 116, 0, 0, 1666, 1667, 5, 84, 0, 0, 1667, 1668, 5, 105, 0, 0, 1668, 1669, 5, 109, 0, 0, 1669, 1670, 5, 101, 0, 0, 1670, 1671, 5, 111, 0, 0, 1671, 1672, 5, 117, 0, 0, 1672, 1673, 5, 116, 0, 0, 1673, 1674, 5, 34, 0, 0, 1674, 198, 1, 0, 0, 0, 1675, 1676, 5, 34, 0, 0, 1676, 1677, 5, 83, 0, 0, 1677, 1678, 5, 116, 0, 0, 1678, 1679, 5, 97, 0, 0, 1679, 1680, 5, 116, 0, 0, 1680, 1681, 5, 101, 0, 0, 1681, 1682, 5, 115, 0, 0, 1682, 1683, 5, 46, 0, 0, 1683, 1684, 5, 84, 0, 0, 1684, 1685, 5, 105, 0, 0, 1685, 1686, 5, 109, 0, 0, 1686, 1687, 5, 101, 0, 0, 1687, 1688, 5, 111, 0, 0, 1688, 1689, 5, 117, 0, 0, 1689, 1690, 5, 116, 0, 0, 1690, 1691, 5, 34, 0, 0, 1691, 200, 1, 0, 0, 0, 1692, 1693, 5, 34, 0, 0, 1693, 1694, 5, 83, 0, 0, 1694, 1695, 5, 116, 0, 0, 1695, 1696, 5, 97, 0, 0, 1696, 1697, 5, 116, 0, 0, 1697, 1698, 5, 101, 0, 0, 1698, 1699, 5, 115, 0, 0, 1699, 1700, 5, 46, 0, 0, 1700, 1701, 5, 84, 0, 0, 1701, 1702, 5, 97, 0, 0, 1702, 1703, 5, 115, 0, 0, 1703, 1704, 5, 107, 0, 0, 1704, 1705, 5, 70, 0, 0, 1705, 1706, 5, 97, 0, 0, 1706, 1707, 5, 105, 0, 0, 1707, 1708, 5, 108, 0, 0, 1708, 1709, 5, 101, 0, 0, 1709, 1710, 5, 100, 0, 0, 1710, 1711, 5, 34, 0, 0, 1711, 202, 1, 0, 0, 0, 1712, 1713, 5, 34, 0, 0, 1713, 1714, 5, 83, 0, 0, 1714, 1715, 5, 116, 0, 0, 1715, 1716, 5, 97, 0, 0, 1716, 1717, 5, 116, 0, 0, 1717, 1718, 5, 101, 0, 0, 1718, 1719, 5, 115, 0, 0, 1719, 1720, 5, 46, 0, 0, 1720, 1721, 5, 80, 0, 0, 1721, 1722, 5, 101, 0, 0, 1722, 1723, 5, 114, 0, 0, 1723, 1724, 5, 109, 0, 0, 1724, 1725, 5, 105, 0, 0, 1725, 1726, 5, 115, 0, 0, 1726, 1727, 5, 115, 0, 0, 1727, 1728, 5, 105, 0, 0, 1728, 1729, 5, 111, 0, 0, 1729, 1730, 5, 110, 0, 0, 1730, 1731, 5, 115, 0, 0, 1731, 1732, 5, 34, 0, 0, 1732, 204, 1, 0, 0, 0, 1733, 1734, 5, 34, 0, 0, 1734, 1735, 5, 83, 0, 0, 1735, 1736, 5, 116, 0, 0, 1736, 1737, 5, 97, 0, 0, 1737, 1738, 5, 116, 0, 0, 1738, 1739, 5, 101, 0, 0, 1739, 1740, 5, 115, 0, 0, 1740, 1741, 5, 46, 0, 0, 1741, 1742, 5, 82, 0, 0, 1742, 1743, 5, 101, 0, 0, 1743, 1744, 5, 115, 0, 0, 1744, 1745, 5, 117, 0, 0, 1745, 1746, 5, 108, 0, 0, 1746, 1747, 5, 116, 0, 0, 1747, 1748, 5, 80, 0, 0, 1748, 1749, 5, 97, 0, 0, 1749, 1750, 5, 116, 0, 0, 1750, 1751, 5, 104, 0, 0, 1751, 1752, 5, 77, 0, 0, 1752, 1753, 5, 97, 0, 0, 1753, 1754, 5, 116, 0, 0, 1754, 1755, 5, 99, 0, 0, 1755, 1756, 5, 104, 0, 0, 1756, 1757, 5, 70, 0, 0, 1757, 1758, 5, 97, 0, 0, 1758, 1759, 5, 105, 0, 0, 1759, 1760, 5, 108, 0, 0, 1760, 1761, 5, 117, 0, 0, 1761, 1762, 5, 114, 0, 0, 1762, 1763, 5, 101, 0, 0, 1763, 1764, 5, 34, 0, 0, 1764, 206, 1, 0, 0, 0, 1765, 1766, 5, 34, 0, 0, 1766, 1767, 5, 83, 0, 0, 1767, 1768, 5, 116, 0, 0, 1768, 1769, 5, 97, 0, 0, 1769, 1770, 5, 116, 0, 0, 1770, 1771, 5, 101, 0, 0, 1771, 1772, 5, 115, 0, 0, 1772, 1773, 5, 46, 0, 0, 1773, 1774, 5, 80, 0, 0, 1774, 1775, 5, 97, 0, 0, 1775, 1776, 5, 114, 0, 0, 1776, 1777, 5, 97, 0, 0, 1777, 1778, 5, 109, 0, 0, 1778, 1779, 5, 101, 0, 0, 1779, 1780, 5, 116, 0, 0, 1780, 1781, 5, 101, 0, 0, 1781, 1782, 5, 114, 0, 0, 1782, 1783, 5, 80, 0, 0, 1783, 1784, 5, 97, 0, 0, 1784, 1785, 5, 116, 0, 0, 1785, 1786, 5, 104, 0, 0, 1786, 1787, 5, 70, 0, 0, 1787, 1788, 5, 97, 0, 0, 1788, 1789, 5, 105, 0, 0, 1789, 1790, 5, 108, 0, 0, 1790, 1791, 5, 117, 0, 0, 1791, 1792, 5, 114, 0, 0, 1792, 1793, 5, 101, 0, 0, 1793, 1794, 5, 34, 0, 0, 1794, 208, 1, 0, 0, 0, 1795, 1796, 5, 34, 0, 0, 1796, 1797, 5, 83, 0, 0, 1797, 1798, 5, 116, 0, 0, 1798, 1799, 5, 97, 0, 0, 1799, 1800, 5, 116, 0, 0, 1800, 1801, 5, 101, 0, 0, 1801, 1802, 5, 115, 0, 0, 1802, 1803, 5, 46, 0, 0, 1803, 1804, 5, 66, 0, 0, 1804, 1805, 5, 114, 0, 0, 1805, 1806, 5, 97, 0, 0, 1806, 1807, 5, 110, 0, 0, 1807, 1808, 5, 99, 0, 0, 1808, 1809, 5, 104, 0, 0, 1809, 1810, 5, 70, 0, 0, 1810, 1811, 5, 97, 0, 0, 1811, 1812, 5, 105, 0, 0, 1812, 1813, 5, 108, 0, 0, 1813, 1814, 5, 101, 0, 0, 1814, 1815, 5, 100, 0, 0, 1815, 1816, 5, 34, 0, 0, 1816, 210, 1, 0, 0, 0, 1817, 1818, 5, 34, 0, 0, 1818, 1819, 5, 83, 0, 0, 1819, 1820, 5, 116, 0, 0, 1820, 1821, 5, 97, 0, 0, 1821, 1822, 5, 116, 0, 0, 1822, 1823, 5, 101, 0, 0, 1823, 1824, 5, 115, 0, 0, 1824, 1825, 5, 46, 0, 0, 1825, 1826, 5, 78, 0, 0, 1826, 1827, 5, 111, 0, 0, 1827, 1828, 5, 67, 0, 0, 1828, 1829, 5, 104, 0, 0, 1829, 1830, 5, 111, 0, 0, 1830, 1831, 5, 105, 0, 0, 1831, 1832, 5, 99, 0, 0, 1832, 1833, 5, 101, 0, 0, 1833, 1834, 5, 77, 0, 0, 1834, 1835, 5, 97, 0, 0, 1835, 1836, 5, 116, 0, 0, 1836, 1837, 5, 99, 0, 0, 1837, 1838, 5, 104, 0, 0, 1838, 1839, 5, 101, 0, 0, 1839, 1840, 5, 100, 0, 0, 1840, 1841, 5, 34, 0, 0, 1841, 212, 1, 0, 0, 0, 1842, 1843, 5, 34, 0, 0, 1843, 1844, 5, 83, 0, 0, 1844, 1845, 5, 116, 0, 0, 1845, 1846, 5, 97, 0, 0, 1846, 1847, 5, 116, 0, 0, 1847, 1848, 5, 101, 0, 0, 1848, 1849, 5, 115, 0, 0, 1849, 1850, 5, 46, 0, 0, 1850, 1851, 5, 73, 0, 0, 1851, 1852, 5, 110, 0, 0, 1852, 1853, 5, 116, 0, 0, 1853, 1854, 5, 114, 0, 0, 1854, 1855, 5, 105, 0, 0, 1855, 1856, 5, 110, 0, 0, 1856, 1857, 5, 115, 0, 0, 1857, 1858, 5, 105, 0, 0, 1858, 1859, 5, 99, 0, 0, 1859, 1860, 5, 70, 0, 0, 1860, 1861, 5, 97, 0, 0, 1861, 1862, 5, 105, 0, 0, 1862, 1863, 5, 108, 0, 0, 1863, 1864, 5, 117, 0, 0, 1864, 1865, 5, 114, 0, 0, 1865, 1866, 5, 101, 0, 0, 1866, 1867, 5, 34, 0, 0, 1867, 214, 1, 0, 0, 0, 1868, 1869, 5, 34, 0, 0, 1869, 1870, 5, 83, 0, 0, 1870, 1871, 5, 116, 0, 0, 1871, 1872, 5, 97, 0, 0, 1872, 1873, 5, 116, 0, 0, 1873, 1874, 5, 101, 0, 0, 1874, 1875, 5, 115, 0, 0, 1875, 1876, 5, 46, 0, 0, 1876, 1877, 5, 69, 0, 0, 1877, 1878, 5, 120, 0, 0, 1878, 1879, 5, 99, 0, 0, 1879, 1880, 5, 101, 0, 0, 1880, 1881, 5, 101, 0, 0, 1881, 1882, 5, 100, 0, 0, 1882, 1883, 5, 84, 0, 0, 1883, 1884, 5, 111, 0, 0, 1884, 1885, 5, 108, 0, 0, 1885, 1886, 5, 101, 0, 0, 1886, 1887, 5, 114, 0, 0, 1887, 1888, 5, 97, 0, 0, 1888, 1889, 5, 116, 0, 0, 1889, 1890, 5, 101, 0, 0, 1890, 1891, 5, 100, 0, 0, 1891, 1892, 5, 70, 0, 0, 1892, 1893, 5, 97, 0, 0, 1893, 1894, 5, 105, 0, 0, 1894, 1895, 5, 108, 0, 0, 1895, 1896, 5, 117, 0, 0, 1896, 1897, 5, 114, 0, 0, 1897, 1898, 5, 101, 0, 0, 1898, 1899, 5, 84, 0, 0, 1899, 1900, 5, 104, 0, 0, 1900, 1901, 5, 114, 0, 0, 1901, 1902, 5, 101, 0, 0, 1902, 1903, 5, 115, 0, 0, 1903, 1904, 5, 104, 0, 0, 1904, 1905, 5, 111, 0, 0, 1905, 1906, 5, 108, 0, 0, 1906, 1907, 5, 100, 0, 0, 1907, 1908, 5, 34, 0, 0, 1908, 216, 1, 0, 0, 0, 1909, 1910, 5, 34, 0, 0, 1910, 1911, 5, 83, 0, 0, 1911, 1912, 5, 116, 0, 0, 1912, 1913, 5, 97, 0, 0, 1913, 1914, 5, 116, 0, 0, 1914, 1915, 5, 101, 0, 0, 1915, 1916, 5, 115, 0, 0, 1916, 1917, 5, 46, 0, 0, 1917, 1918, 5, 73, 0, 0, 1918, 1919, 5, 116, 0, 0, 1919, 1920, 5, 101, 0, 0, 1920, 1921, 5, 109, 0, 0, 1921, 1922, 5, 82, 0, 0, 1922, 1923, 5, 101, 0, 0, 1923, 1924, 5, 97, 0, 0, 1924, 1925, 5, 100, 0, 0, 1925, 1926, 5, 101, 0, 0, 1926, 1927, 5, 114, 0, 0, 1927, 1928, 5, 70, 0, 0, 1928, 1929, 5, 97, 0, 0, 1929, 1930, 5, 105, 0, 0, 1930, 1931, 5, 108, 0, 0, 1931, 1932, 5, 101, 0, 0, 1932, 1933, 5, 100, 0, 0, 1933, 1934, 5, 34, 0, 0, 1934, 218, 1, 0, 0, 0, 1935, 1936, 5, 34, 0, 0, 1936, 1937, 5, 83, 0, 0, 1937, 1938, 5, 116, 0, 0, 1938, 1939, 5, 97, 0, 0, 1939, 1940, 5, 116, 0, 0, 1940, 1941, 5, 101, 0, 0, 1941, 1942, 5, 115, 0, 0, 1942, 1943, 5, 46, 0, 0, 1943, 1944, 5, 82, 0, 0, 1944, 1945, 5, 101, 0, 0, 1945, 1946, 5, 115, 0, 0, 1946, 1947, 5, 117, 0, 0, 1947, 1948, 5, 108, 0, 0, 1948, 1949, 5, 116, 0, 0, 1949, 1950, 5, 87, 0, 0, 1950, 1951, 5, 114, 0, 0, 1951, 1952, 5, 105, 0, 0, 1952, 1953, 5, 116, 0, 0, 1953, 1954, 5, 101, 0, 0, 1954, 1955, 5, 114, 0, 0, 1955, 1956, 5, 70, 0, 0, 1956, 1957, 5, 97, 0, 0, 1957, 1958, 5, 105, 0, 0, 1958, 1959, 5, 108, 0, 0, 1959, 1960, 5, 101, 0, 0, 1960, 1961, 5, 100, 0, 0, 1961, 1962, 5, 34, 0, 0, 1962, 220, 1, 0, 0, 0, 1963, 1964, 5, 34, 0, 0, 1964, 1965, 5, 83, 0, 0, 1965, 1966, 5, 116, 0, 0, 1966, 1967, 5, 97, 0, 0, 1967, 1968, 5, 116, 0, 0, 1968, 1969, 5, 101, 0, 0, 1969, 1970, 5, 115, 0, 0, 1970, 1971, 5, 46, 0, 0, 1971, 1972, 5, 82, 0, 0, 1972, 1973, 5, 117, 0, 0, 1973, 1974, 5, 110, 0, 0, 1974, 1975, 5, 116, 0, 0, 1975, 1976, 5, 105, 0, 0, 1976, 1977, 5, 109, 0, 0, 1977, 1978, 5, 101, 0, 0, 1978, 1979, 5, 34, 0, 0, 1979, 222, 1, 0, 0, 0, 1980, 1985, 5, 34, 0, 0, 1981, 1984, 3, 231, 115, 0, 1982, 1984, 3, 237, 118, 0, 1983, 1981, 1, 0, 0, 0, 1983, 1982, 1, 0, 0, 0, 1984, 1987, 1, 0, 0, 0, 1985, 1983, 1, 0, 0, 0, 1985, 1986, 1, 0, 0, 0, 1986, 1988, 1, 0, 0, 0, 1987, 1985, 1, 0, 0, 0, 1988, 1989, 5, 46, 0, 0, 1989, 1990, 5, 36, 0, 0, 1990, 1991, 5, 34, 0, 0, 1991, 224, 1, 0, 0, 0, 1992, 1993, 5, 34, 0, 0, 1993, 1994, 5, 36, 0, 0, 1994, 1995, 5, 36, 0, 0, 1995, 1996, 5, 46, 0, 0, 1996, 2001, 1, 0, 0, 0, 1997, 2000, 3, 231, 115, 0, 1998, 2000, 3, 237, 118, 0, 1999, 1997, 1, 0, 0, 0, 1999, 1998, 1, 0, 0, 0, 2000, 2003, 1, 0, 0, 0, 2001, 1999, 1, 0, 0, 0, 2001, 2002, 1, 0, 0, 0, 2002, 2004, 1, 0, 0, 0, 2003, 2001, 1, 0, 0, 0, 2004, 2005, 5, 34, 0, 0, 2005, 226, 1, 0, 0, 0, 2006, 2007, 5, 34, 0, 0, 2007, 2008, 5, 36, 0, 0, 2008, 2013, 1, 0, 0, 0, 2009, 2012, 3, 231, 115, 0, 2010, 2012, 3, 237, 118, 0, 2011, 2009, 1, 0, 0, 0, 2011, 2010, 1, 0, 0, 0, 2012, 2015, 1, 0, 0, 0, 2013, 2011, 1, 0, 0, 0, 2013, 2014, 1, 0, 0, 0, 2014, 2016, 1, 0, 0, 0, 2015, 2013, 1, 0, 0, 0, 2016, 2017, 5, 34, 0, 0, 2017, 228, 1, 0, 0, 0, 2018, 2023, 5, 34, 0, 0, 2019, 2022, 3, 231, 115, 0, 2020, 2022, 3, 237, 118, 0, 2021, 2019, 1, 0, 0, 0, 2021, 2020, 1, 0, 0, 0, 2022, 2025, 1, 0, 0, 0, 2023, 2021, 1, 0, 0, 0, 2023, 2024, 1, 0, 0, 0, 2024, 2026, 1, 0, 0, 0, 2025, 2023, 1, 0, 0, 0, 2026, 2027, 5, 34, 0, 0, 2027, 230, 1, 0, 0, 0, 2028, 2031, 5, 92, 0, 0, 2029, 2032, 7, 0, 0, 0, 2030, 2032, 3, 233, 116, 0, 2031, 2029, 1, 0, 0, 0, 2031, 2030, 1, 0, 0, 0, 2032, 232, 1, 0, 0, 0, 2033, 2034, 5, 117, 0, 0, 2034, 2035, 3, 235, 117, 0, 2035, 2036, 3, 235, 117, 0, 2036, 2037, 3, 235, 117, 0, 2037, 2038, 3, 235, 117, 0, 2038, 234, 1, 0, 0, 0, 2039, 2040, 7, 1, 0, 0, 2040, 236, 1, 0, 0, 0, 2041, 2042, 8, 2, 0, 0, 2042, 238, 1, 0, 0, 0, 2043, 2052, 5, 48, 0, 0, 2044, 2048, 7, 3, 0, 0, 2045, 2047, 7, 4, 0, 0, 2046, 2045, 1, 0, 0, 0, 2047, 2050, 1, 0, 0, 0, 2048, 2046, 1, 0, 0, 0, 2048, 2049, 1, 0, 0, 0, 2049, 2052, 1, 0, 0, 0, 2050, 2048, 1, 0, 0, 0, 2051, 2043, 1, 0, 0, 0, 2051, 2044, 1, 0, 0, 0, 2052, 240, 1, 0, 0, 0, 2053, 2055, 5, 45, 0, 0, 2054, 2053, 1, 0, 0, 0, 2054, 2055, 1, 0, 0, 0, 2055, 2056, 1, 0, 0, 0, 2056, 2063, 3, 239, 119, 0, 2057, 2059, 5, 46, 0, 0, 2058, 2060, 7, 4, 0, 0, 2059, 2058, 1, 0, 0, 0, 2060, 2061, 1, 0, 0, 0, 2061, 2059, 1, 0, 0, 0, 2061, 2062, 1, 0, 0, 0, 2062, 2064, 1, 0, 0, 0, 2063, 2057, 1, 0, 0, 0, 2063, 2064, 1, 0, 0, 0, 2064, 2066, 1, 0, 0, 0, 2065, 2067, 3, 243, 121, 0, 2066, 2065, 1, 0, 0, 0, 2066, 2067, 1, 0, 0, 0, 2067, 242, 1, 0, 0, 0, 2068, 2070, 7, 5, 0, 0, 2069, 2071, 7, 6, 0, 0, 2070, 2069, 1, 0, 0, 0, 2070, 2071, 1, 0, 0, 0, 2071, 2072, 1, 0, 0, 0, 2072, 2073, 3, 239, 119, 0, 2073, 244, 1, 0, 0, 0, 2074, 2076, 7, 7, 0, 0, 2075, 2074, 1, 0, 0, 0, 2076, 2077, 1, 0, 0, 0, 2077, 2075, 1, 0, 0, 0, 2077, 2078, 1, 0, 0, 0, 2078, 2079, 1, 0, 0, 0, 2079, 2080, 6, 122, 0, 0, 2080, 246, 1, 0, 0, 0, 18, 0, 1983, 1985, 1999, 2001, 2011, 2013, 2021, 2023, 2031, 2048, 2051, 2054, 2061, 2063, 2066, 2070, 2077, 1, 6, 0, 0] \ No newline at end of file diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.py b/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.py index 2b089547e8b97..605a35043325f 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.py +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.py @@ -10,7 +10,7 @@ def serializedATN(): return [ - 4,0,116,2039,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7, + 4,0,118,2081,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7, 5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12, 2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19, 7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25, @@ -29,737 +29,753 @@ def serializedATN(): 7,103,2,104,7,104,2,105,7,105,2,106,7,106,2,107,7,107,2,108,7,108, 2,109,7,109,2,110,7,110,2,111,7,111,2,112,7,112,2,113,7,113,2,114, 7,114,2,115,7,115,2,116,7,116,2,117,7,117,2,118,7,118,2,119,7,119, - 2,120,7,120,1,0,1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,4,1,4,1,5,1,5,1,6, - 1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,9, - 1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10,1,10, - 1,10,1,10,1,10,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11, - 1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,13, - 1,13,1,13,1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,14,1,14,1,14,1,14, - 1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,16,1,16,1,16,1,16, - 1,16,1,16,1,16,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17, - 1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,1,19,1,19, - 1,19,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,21, - 1,21,1,21,1,21,1,21,1,21,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22, - 1,22,1,22,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23, - 1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,25,1,25,1,25, - 1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,26, - 1,26,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27, - 1,27,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28, - 1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,29,1,29, - 1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,30,1,30,1,30, - 1,30,1,30,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,31,1,31,1,31,1,31, - 1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32, - 1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33, - 1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34, - 1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36, - 1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,37, - 1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38, + 2,120,7,120,2,121,7,121,2,122,7,122,1,0,1,0,1,1,1,1,1,2,1,2,1,3, + 1,3,1,4,1,4,1,5,1,5,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,7,1,7, + 1,8,1,8,1,8,1,8,1,8,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,10, + 1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,11,1,11,1,11,1,11,1,11, + 1,11,1,11,1,11,1,11,1,11,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12, + 1,12,1,12,1,12,1,12,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,14,1,14, + 1,14,1,14,1,14,1,14,1,14,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, + 1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,17,1,17,1,17,1,17,1,17, + 1,17,1,17,1,17,1,17,1,17,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,19, + 1,19,1,19,1,19,1,19,1,19,1,19,1,20,1,20,1,20,1,20,1,20,1,20,1,20, + 1,20,1,20,1,20,1,20,1,21,1,21,1,21,1,21,1,21,1,21,1,22,1,22,1,22, + 1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,23,1,23, + 1,23,1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24, + 1,24,1,24,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25, + 1,26,1,26,1,26,1,26,1,26,1,26,1,27,1,27,1,27,1,27,1,27,1,27,1,27, + 1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,28,1,28,1,28,1,28, + 1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28, + 1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29, + 1,29,1,29,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,31,1,31, + 1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32, + 1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33, + 1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,34, + 1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35, + 1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36, + 1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, + 1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38, 1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38, - 1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39, + 1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39, 1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39, + 1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40, 1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40, - 1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40, - 1,40,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41, + 1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,41,1,41,1,41, 1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41, - 1,41,1,41,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42, - 1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,43,1,43, - 1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43, - 1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,44, + 1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,42,1,42, + 1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42, + 1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43, + 1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,44, 1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44, - 1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45, + 1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45, 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45, - 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,46,1,47, - 1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47, - 1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48, - 1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49, + 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,46, + 1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47, + 1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48, + 1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49, 1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49, - 1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50, - 1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,51, + 1,49,1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50, + 1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50, + 1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51, 1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51, - 1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,52, - 1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52, + 1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52, 1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52, - 1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, - 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,54,1,54, + 1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53, + 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,54, 1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54, - 1,54,1,54,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55, - 1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,56, + 1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,55,1,55,1,55,1,55,1,55,1,55, + 1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55, + 1,55,1,55,1,55,1,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56, 1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56, - 1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56, - 1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57, - 1,57,1,57,1,57,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58, - 1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,1,59, + 1,56,1,56,1,56,1,56,1,56,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57, + 1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,58,1,58,1,58,1,58,1,58, + 1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58, 1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59, - 1,59,1,59,1,59,1,59,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60, + 1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,60,1,60,1,60,1,60, 1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60, - 1,60,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61, + 1,60,1,60,1,60,1,60,1,60,1,60,1,61,1,61,1,61,1,61,1,61,1,61,1,61, 1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61, - 1,61,1,61,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62, + 1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,62,1,62,1,62,1,62,1,62,1,62, 1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62, - 1,62,1,62,1,62,1,62,1,62,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63, + 1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,63,1,63,1,63, + 1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63, 1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63, - 1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,64, - 1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64, - 1,64,1,64,1,64,1,64,1,64,1,64,1,65,1,65,1,65,1,65,1,65,1,65,1,65, + 1,63,1,63,1,63,1,63,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64, + 1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,65,1,65, 1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65, - 1,65,1,65,1,65,1,65,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66, + 1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,66,1,66,1,66,1,66, 1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66, - 1,66,1,66,1,66,1,66,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67, + 1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,67,1,67,1,67,1,67, 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67, - 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,68,1,68,1,68,1,68,1,68, - 1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,69,1,69,1,69,1,69, - 1,69,1,69,1,69,1,69,1,69,1,69,1,70,1,70,1,70,1,70,1,70,1,70,1,70, - 1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,71,1,71,1,71,1,71, - 1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,72,1,72,1,72,1,72,1,72, + 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67, + 1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68, + 1,68,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,70,1,70, + 1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70, + 1,70,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, - 1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,74,1,74,1,74,1,74,1,74,1,74, - 1,74,1,74,1,74,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,75, - 1,75,1,75,1,75,1,75,1,75,1,75,1,76,1,76,1,76,1,76,1,76,1,76,1,76, - 1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,77,1,77,1,77, - 1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,78,1,78,1,78,1,78,1,78, - 1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,79,1,79,1,79,1,79,1,79,1,79, - 1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,80,1,80,1,80,1,80,1,80,1,80, - 1,80,1,80,1,80,1,80,1,80,1,80,1,81,1,81,1,81,1,81,1,81,1,81,1,81, - 1,81,1,81,1,81,1,81,1,81,1,81,1,82,1,82,1,82,1,82,1,82,1,82,1,82, - 1,82,1,82,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83, - 1,83,1,83,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84, + 1,72,1,72,1,72,1,72,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73, + 1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,74, + 1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74, + 1,74,1,74,1,74,1,74,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,76,1,76, + 1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,77,1,77,1,77,1,77,1,77,1,77, + 1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,78,1,78,1,78, + 1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78, + 1,78,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,80, + 1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,81,1,81, + 1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,82,1,82, + 1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,83,1,83,1,83, + 1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,84,1,84,1,84, 1,84,1,84,1,84,1,84,1,84,1,84,1,85,1,85,1,85,1,85,1,85,1,85,1,85, - 1,86,1,86,1,86,1,86,1,86,1,86,1,87,1,87,1,87,1,87,1,87,1,87,1,87, - 1,87,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,89,1,89,1,89,1,89, - 1,89,1,89,1,89,1,89,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90, - 1,90,1,90,1,90,1,90,1,90,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91, - 1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,92,1,92,1,92, - 1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,93,1,93, - 1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,94, - 1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,95,1,95,1,95,1,95,1,95,1,95, - 1,95,1,95,1,95,1,95,1,95,1,95,1,95,1,96,1,96,1,96,1,96,1,96,1,96, - 1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,96, - 1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,97,1,97,1,97,1,97,1,97,1,97, + 1,85,1,85,1,85,1,85,1,85,1,85,1,86,1,86,1,86,1,86,1,86,1,86,1,86, + 1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,87,1,87,1,87, + 1,87,1,87,1,87,1,87,1,88,1,88,1,88,1,88,1,88,1,88,1,89,1,89,1,89, + 1,89,1,89,1,89,1,89,1,89,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90, + 1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,92,1,92,1,92,1,92,1,92, + 1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,93,1,93,1,93,1,93, + 1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93, + 1,93,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94, + 1,94,1,94,1,95,1,95,1,95,1,95,1,95,1,95,1,95,1,95,1,95,1,95,1,95, + 1,95,1,95,1,95,1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,97,1,97, 1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,98,1,98, 1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,98, - 1,98,1,98,1,98,1,98,1,98,1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99, + 1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,99,1,99, 1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99, + 1,99,1,99,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100, 1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100, - 1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100, - 1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,101, - 1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101, 1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101, - 1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,102,1,102,1,102,1,102, + 1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,102, 1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102, - 1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,103,1,103,1,103,1,103, + 1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102, + 1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,103,1,103, 1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103, - 1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,104, - 1,104,1,104,1,104,1,104,1,104,1,104,1,104,1,104,1,104,1,104,1,104, + 1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103, + 1,103,1,103,1,103,1,103,1,103,1,103,1,104,1,104,1,104,1,104,1,104, 1,104,1,104,1,104,1,104,1,104,1,104,1,104,1,104,1,104,1,104,1,104, - 1,104,1,104,1,104,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105, - 1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105, - 1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105, + 1,104,1,104,1,104,1,104,1,104,1,104,1,105,1,105,1,105,1,105,1,105, 1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105, + 1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,105,1,106,1,106, 1,106,1,106,1,106,1,106,1,106,1,106,1,106,1,106,1,106,1,106,1,106, 1,106,1,106,1,106,1,106,1,106,1,106,1,106,1,106,1,106,1,106,1,106, - 1,106,1,106,1,106,1,106,1,107,1,107,1,107,1,107,1,107,1,107,1,107, + 1,106,1,106,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, + 1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, 1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, 1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,108, 1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108, - 1,108,1,108,1,108,1,108,1,108,1,109,1,109,1,109,5,109,1942,8,109, - 10,109,12,109,1945,9,109,1,109,1,109,1,109,1,109,1,110,1,110,1,110, - 1,110,1,110,1,110,1,110,5,110,1958,8,110,10,110,12,110,1961,9,110, - 1,110,1,110,1,111,1,111,1,111,1,111,1,111,5,111,1970,8,111,10,111, - 12,111,1973,9,111,1,111,1,111,1,112,1,112,1,112,5,112,1980,8,112, - 10,112,12,112,1983,9,112,1,112,1,112,1,113,1,113,1,113,3,113,1990, - 8,113,1,114,1,114,1,114,1,114,1,114,1,114,1,115,1,115,1,116,1,116, - 1,117,1,117,1,117,5,117,2005,8,117,10,117,12,117,2008,9,117,3,117, - 2010,8,117,1,118,3,118,2013,8,118,1,118,1,118,1,118,4,118,2018,8, - 118,11,118,12,118,2019,3,118,2022,8,118,1,118,3,118,2025,8,118,1, - 119,1,119,3,119,2029,8,119,1,119,1,119,1,120,4,120,2034,8,120,11, - 120,12,120,2035,1,120,1,120,0,0,121,1,1,3,2,5,3,7,4,9,5,11,6,13, - 7,15,8,17,9,19,10,21,11,23,12,25,13,27,14,29,15,31,16,33,17,35,18, - 37,19,39,20,41,21,43,22,45,23,47,24,49,25,51,26,53,27,55,28,57,29, - 59,30,61,31,63,32,65,33,67,34,69,35,71,36,73,37,75,38,77,39,79,40, - 81,41,83,42,85,43,87,44,89,45,91,46,93,47,95,48,97,49,99,50,101, - 51,103,52,105,53,107,54,109,55,111,56,113,57,115,58,117,59,119,60, - 121,61,123,62,125,63,127,64,129,65,131,66,133,67,135,68,137,69,139, - 70,141,71,143,72,145,73,147,74,149,75,151,76,153,77,155,78,157,79, - 159,80,161,81,163,82,165,83,167,84,169,85,171,86,173,87,175,88,177, - 89,179,90,181,91,183,92,185,93,187,94,189,95,191,96,193,97,195,98, - 197,99,199,100,201,101,203,102,205,103,207,104,209,105,211,106,213, - 107,215,108,217,109,219,110,221,111,223,112,225,113,227,0,229,0, - 231,0,233,0,235,114,237,115,239,0,241,116,1,0,8,8,0,34,34,47,47, - 92,92,98,98,102,102,110,110,114,114,116,116,3,0,48,57,65,70,97,102, - 3,0,0,31,34,34,92,92,1,0,49,57,1,0,48,57,2,0,69,69,101,101,2,0,43, - 43,45,45,3,0,9,10,13,13,32,32,2050,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1, - 0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0, - 0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0, - 0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0, - 0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0, - 0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0, - 0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0, - 0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0, - 0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0, - 0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0, - 0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105, - 1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0, - 0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1, - 0,0,0,0,125,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0, - 133,1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0, - 0,0,0,143,1,0,0,0,0,145,1,0,0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,151, - 1,0,0,0,0,153,1,0,0,0,0,155,1,0,0,0,0,157,1,0,0,0,0,159,1,0,0,0, - 0,161,1,0,0,0,0,163,1,0,0,0,0,165,1,0,0,0,0,167,1,0,0,0,0,169,1, - 0,0,0,0,171,1,0,0,0,0,173,1,0,0,0,0,175,1,0,0,0,0,177,1,0,0,0,0, - 179,1,0,0,0,0,181,1,0,0,0,0,183,1,0,0,0,0,185,1,0,0,0,0,187,1,0, - 0,0,0,189,1,0,0,0,0,191,1,0,0,0,0,193,1,0,0,0,0,195,1,0,0,0,0,197, - 1,0,0,0,0,199,1,0,0,0,0,201,1,0,0,0,0,203,1,0,0,0,0,205,1,0,0,0, - 0,207,1,0,0,0,0,209,1,0,0,0,0,211,1,0,0,0,0,213,1,0,0,0,0,215,1, - 0,0,0,0,217,1,0,0,0,0,219,1,0,0,0,0,221,1,0,0,0,0,223,1,0,0,0,0, - 225,1,0,0,0,0,235,1,0,0,0,0,237,1,0,0,0,0,241,1,0,0,0,1,243,1,0, - 0,0,3,245,1,0,0,0,5,247,1,0,0,0,7,249,1,0,0,0,9,251,1,0,0,0,11,253, - 1,0,0,0,13,255,1,0,0,0,15,260,1,0,0,0,17,266,1,0,0,0,19,271,1,0, - 0,0,21,281,1,0,0,0,23,290,1,0,0,0,25,300,1,0,0,0,27,312,1,0,0,0, - 29,319,1,0,0,0,31,326,1,0,0,0,33,335,1,0,0,0,35,342,1,0,0,0,37,352, - 1,0,0,0,39,359,1,0,0,0,41,366,1,0,0,0,43,377,1,0,0,0,45,383,1,0, - 0,0,47,393,1,0,0,0,49,404,1,0,0,0,51,414,1,0,0,0,53,425,1,0,0,0, - 55,431,1,0,0,0,57,447,1,0,0,0,59,467,1,0,0,0,61,479,1,0,0,0,63,488, - 1,0,0,0,65,500,1,0,0,0,67,512,1,0,0,0,69,523,1,0,0,0,71,537,1,0, - 0,0,73,543,1,0,0,0,75,559,1,0,0,0,77,579,1,0,0,0,79,600,1,0,0,0, - 81,625,1,0,0,0,83,652,1,0,0,0,85,683,1,0,0,0,87,701,1,0,0,0,89,723, - 1,0,0,0,91,747,1,0,0,0,93,775,1,0,0,0,95,780,1,0,0,0,97,795,1,0, - 0,0,99,814,1,0,0,0,101,834,1,0,0,0,103,858,1,0,0,0,105,884,1,0,0, - 0,107,914,1,0,0,0,109,931,1,0,0,0,111,952,1,0,0,0,113,975,1,0,0, - 0,115,1002,1,0,0,0,117,1018,1,0,0,0,119,1036,1,0,0,0,121,1058,1, - 0,0,0,123,1081,1,0,0,0,125,1108,1,0,0,0,127,1137,1,0,0,0,129,1170, - 1,0,0,0,131,1190,1,0,0,0,133,1214,1,0,0,0,135,1240,1,0,0,0,137,1270, - 1,0,0,0,139,1284,1,0,0,0,141,1294,1,0,0,0,143,1310,1,0,0,0,145,1322, - 1,0,0,0,147,1340,1,0,0,0,149,1347,1,0,0,0,151,1356,1,0,0,0,153,1372, - 1,0,0,0,155,1389,1,0,0,0,157,1400,1,0,0,0,159,1412,1,0,0,0,161,1425, - 1,0,0,0,163,1437,1,0,0,0,165,1450,1,0,0,0,167,1459,1,0,0,0,169,1472, - 1,0,0,0,171,1489,1,0,0,0,173,1496,1,0,0,0,175,1502,1,0,0,0,177,1510, - 1,0,0,0,179,1518,1,0,0,0,181,1526,1,0,0,0,183,1540,1,0,0,0,185,1558, - 1,0,0,0,187,1572,1,0,0,0,189,1586,1,0,0,0,191,1594,1,0,0,0,193,1607, - 1,0,0,0,195,1633,1,0,0,0,197,1650,1,0,0,0,199,1670,1,0,0,0,201,1691, - 1,0,0,0,203,1723,1,0,0,0,205,1753,1,0,0,0,207,1775,1,0,0,0,209,1800, - 1,0,0,0,211,1826,1,0,0,0,213,1867,1,0,0,0,215,1893,1,0,0,0,217,1921, - 1,0,0,0,219,1938,1,0,0,0,221,1950,1,0,0,0,223,1964,1,0,0,0,225,1976, - 1,0,0,0,227,1986,1,0,0,0,229,1991,1,0,0,0,231,1997,1,0,0,0,233,1999, - 1,0,0,0,235,2009,1,0,0,0,237,2012,1,0,0,0,239,2026,1,0,0,0,241,2033, - 1,0,0,0,243,244,5,44,0,0,244,2,1,0,0,0,245,246,5,58,0,0,246,4,1, - 0,0,0,247,248,5,91,0,0,248,6,1,0,0,0,249,250,5,93,0,0,250,8,1,0, - 0,0,251,252,5,123,0,0,252,10,1,0,0,0,253,254,5,125,0,0,254,12,1, - 0,0,0,255,256,5,116,0,0,256,257,5,114,0,0,257,258,5,117,0,0,258, - 259,5,101,0,0,259,14,1,0,0,0,260,261,5,102,0,0,261,262,5,97,0,0, - 262,263,5,108,0,0,263,264,5,115,0,0,264,265,5,101,0,0,265,16,1,0, - 0,0,266,267,5,110,0,0,267,268,5,117,0,0,268,269,5,108,0,0,269,270, - 5,108,0,0,270,18,1,0,0,0,271,272,5,34,0,0,272,273,5,67,0,0,273,274, - 5,111,0,0,274,275,5,109,0,0,275,276,5,109,0,0,276,277,5,101,0,0, - 277,278,5,110,0,0,278,279,5,116,0,0,279,280,5,34,0,0,280,20,1,0, - 0,0,281,282,5,34,0,0,282,283,5,83,0,0,283,284,5,116,0,0,284,285, - 5,97,0,0,285,286,5,116,0,0,286,287,5,101,0,0,287,288,5,115,0,0,288, - 289,5,34,0,0,289,22,1,0,0,0,290,291,5,34,0,0,291,292,5,83,0,0,292, - 293,5,116,0,0,293,294,5,97,0,0,294,295,5,114,0,0,295,296,5,116,0, - 0,296,297,5,65,0,0,297,298,5,116,0,0,298,299,5,34,0,0,299,24,1,0, - 0,0,300,301,5,34,0,0,301,302,5,78,0,0,302,303,5,101,0,0,303,304, - 5,120,0,0,304,305,5,116,0,0,305,306,5,83,0,0,306,307,5,116,0,0,307, - 308,5,97,0,0,308,309,5,116,0,0,309,310,5,101,0,0,310,311,5,34,0, - 0,311,26,1,0,0,0,312,313,5,34,0,0,313,314,5,84,0,0,314,315,5,121, - 0,0,315,316,5,112,0,0,316,317,5,101,0,0,317,318,5,34,0,0,318,28, - 1,0,0,0,319,320,5,34,0,0,320,321,5,84,0,0,321,322,5,97,0,0,322,323, - 5,115,0,0,323,324,5,107,0,0,324,325,5,34,0,0,325,30,1,0,0,0,326, - 327,5,34,0,0,327,328,5,67,0,0,328,329,5,104,0,0,329,330,5,111,0, - 0,330,331,5,105,0,0,331,332,5,99,0,0,332,333,5,101,0,0,333,334,5, - 34,0,0,334,32,1,0,0,0,335,336,5,34,0,0,336,337,5,70,0,0,337,338, - 5,97,0,0,338,339,5,105,0,0,339,340,5,108,0,0,340,341,5,34,0,0,341, - 34,1,0,0,0,342,343,5,34,0,0,343,344,5,83,0,0,344,345,5,117,0,0,345, - 346,5,99,0,0,346,347,5,99,0,0,347,348,5,101,0,0,348,349,5,101,0, - 0,349,350,5,100,0,0,350,351,5,34,0,0,351,36,1,0,0,0,352,353,5,34, - 0,0,353,354,5,80,0,0,354,355,5,97,0,0,355,356,5,115,0,0,356,357, - 5,115,0,0,357,358,5,34,0,0,358,38,1,0,0,0,359,360,5,34,0,0,360,361, - 5,87,0,0,361,362,5,97,0,0,362,363,5,105,0,0,363,364,5,116,0,0,364, - 365,5,34,0,0,365,40,1,0,0,0,366,367,5,34,0,0,367,368,5,80,0,0,368, - 369,5,97,0,0,369,370,5,114,0,0,370,371,5,97,0,0,371,372,5,108,0, - 0,372,373,5,108,0,0,373,374,5,101,0,0,374,375,5,108,0,0,375,376, - 5,34,0,0,376,42,1,0,0,0,377,378,5,34,0,0,378,379,5,77,0,0,379,380, - 5,97,0,0,380,381,5,112,0,0,381,382,5,34,0,0,382,44,1,0,0,0,383,384, - 5,34,0,0,384,385,5,67,0,0,385,386,5,104,0,0,386,387,5,111,0,0,387, - 388,5,105,0,0,388,389,5,99,0,0,389,390,5,101,0,0,390,391,5,115,0, - 0,391,392,5,34,0,0,392,46,1,0,0,0,393,394,5,34,0,0,394,395,5,86, - 0,0,395,396,5,97,0,0,396,397,5,114,0,0,397,398,5,105,0,0,398,399, - 5,97,0,0,399,400,5,98,0,0,400,401,5,108,0,0,401,402,5,101,0,0,402, - 403,5,34,0,0,403,48,1,0,0,0,404,405,5,34,0,0,405,406,5,68,0,0,406, - 407,5,101,0,0,407,408,5,102,0,0,408,409,5,97,0,0,409,410,5,117,0, - 0,410,411,5,108,0,0,411,412,5,116,0,0,412,413,5,34,0,0,413,50,1, - 0,0,0,414,415,5,34,0,0,415,416,5,66,0,0,416,417,5,114,0,0,417,418, - 5,97,0,0,418,419,5,110,0,0,419,420,5,99,0,0,420,421,5,104,0,0,421, - 422,5,101,0,0,422,423,5,115,0,0,423,424,5,34,0,0,424,52,1,0,0,0, - 425,426,5,34,0,0,426,427,5,65,0,0,427,428,5,110,0,0,428,429,5,100, - 0,0,429,430,5,34,0,0,430,54,1,0,0,0,431,432,5,34,0,0,432,433,5,66, - 0,0,433,434,5,111,0,0,434,435,5,111,0,0,435,436,5,108,0,0,436,437, - 5,101,0,0,437,438,5,97,0,0,438,439,5,110,0,0,439,440,5,69,0,0,440, - 441,5,113,0,0,441,442,5,117,0,0,442,443,5,97,0,0,443,444,5,108,0, - 0,444,445,5,115,0,0,445,446,5,34,0,0,446,56,1,0,0,0,447,448,5,34, - 0,0,448,449,5,66,0,0,449,450,5,111,0,0,450,451,5,111,0,0,451,452, - 5,108,0,0,452,453,5,101,0,0,453,454,5,97,0,0,454,455,5,110,0,0,455, - 456,5,69,0,0,456,457,5,113,0,0,457,458,5,117,0,0,458,459,5,97,0, - 0,459,460,5,108,0,0,460,461,5,115,0,0,461,462,5,80,0,0,462,463,5, - 97,0,0,463,464,5,116,0,0,464,465,5,104,0,0,465,466,5,34,0,0,466, - 58,1,0,0,0,467,468,5,34,0,0,468,469,5,73,0,0,469,470,5,115,0,0,470, - 471,5,66,0,0,471,472,5,111,0,0,472,473,5,111,0,0,473,474,5,108,0, - 0,474,475,5,101,0,0,475,476,5,97,0,0,476,477,5,110,0,0,477,478,5, - 34,0,0,478,60,1,0,0,0,479,480,5,34,0,0,480,481,5,73,0,0,481,482, - 5,115,0,0,482,483,5,78,0,0,483,484,5,117,0,0,484,485,5,108,0,0,485, - 486,5,108,0,0,486,487,5,34,0,0,487,62,1,0,0,0,488,489,5,34,0,0,489, - 490,5,73,0,0,490,491,5,115,0,0,491,492,5,78,0,0,492,493,5,117,0, - 0,493,494,5,109,0,0,494,495,5,101,0,0,495,496,5,114,0,0,496,497, - 5,105,0,0,497,498,5,99,0,0,498,499,5,34,0,0,499,64,1,0,0,0,500,501, - 5,34,0,0,501,502,5,73,0,0,502,503,5,115,0,0,503,504,5,80,0,0,504, - 505,5,114,0,0,505,506,5,101,0,0,506,507,5,115,0,0,507,508,5,101, - 0,0,508,509,5,110,0,0,509,510,5,116,0,0,510,511,5,34,0,0,511,66, - 1,0,0,0,512,513,5,34,0,0,513,514,5,73,0,0,514,515,5,115,0,0,515, - 516,5,83,0,0,516,517,5,116,0,0,517,518,5,114,0,0,518,519,5,105,0, - 0,519,520,5,110,0,0,520,521,5,103,0,0,521,522,5,34,0,0,522,68,1, - 0,0,0,523,524,5,34,0,0,524,525,5,73,0,0,525,526,5,115,0,0,526,527, - 5,84,0,0,527,528,5,105,0,0,528,529,5,109,0,0,529,530,5,101,0,0,530, - 531,5,115,0,0,531,532,5,116,0,0,532,533,5,97,0,0,533,534,5,109,0, - 0,534,535,5,112,0,0,535,536,5,34,0,0,536,70,1,0,0,0,537,538,5,34, - 0,0,538,539,5,78,0,0,539,540,5,111,0,0,540,541,5,116,0,0,541,542, - 5,34,0,0,542,72,1,0,0,0,543,544,5,34,0,0,544,545,5,78,0,0,545,546, - 5,117,0,0,546,547,5,109,0,0,547,548,5,101,0,0,548,549,5,114,0,0, - 549,550,5,105,0,0,550,551,5,99,0,0,551,552,5,69,0,0,552,553,5,113, - 0,0,553,554,5,117,0,0,554,555,5,97,0,0,555,556,5,108,0,0,556,557, - 5,115,0,0,557,558,5,34,0,0,558,74,1,0,0,0,559,560,5,34,0,0,560,561, - 5,78,0,0,561,562,5,117,0,0,562,563,5,109,0,0,563,564,5,101,0,0,564, - 565,5,114,0,0,565,566,5,105,0,0,566,567,5,99,0,0,567,568,5,69,0, - 0,568,569,5,113,0,0,569,570,5,117,0,0,570,571,5,97,0,0,571,572,5, - 108,0,0,572,573,5,115,0,0,573,574,5,80,0,0,574,575,5,97,0,0,575, - 576,5,116,0,0,576,577,5,104,0,0,577,578,5,34,0,0,578,76,1,0,0,0, - 579,580,5,34,0,0,580,581,5,78,0,0,581,582,5,117,0,0,582,583,5,109, - 0,0,583,584,5,101,0,0,584,585,5,114,0,0,585,586,5,105,0,0,586,587, - 5,99,0,0,587,588,5,71,0,0,588,589,5,114,0,0,589,590,5,101,0,0,590, - 591,5,97,0,0,591,592,5,116,0,0,592,593,5,101,0,0,593,594,5,114,0, - 0,594,595,5,84,0,0,595,596,5,104,0,0,596,597,5,97,0,0,597,598,5, - 110,0,0,598,599,5,34,0,0,599,78,1,0,0,0,600,601,5,34,0,0,601,602, - 5,78,0,0,602,603,5,117,0,0,603,604,5,109,0,0,604,605,5,101,0,0,605, - 606,5,114,0,0,606,607,5,105,0,0,607,608,5,99,0,0,608,609,5,71,0, - 0,609,610,5,114,0,0,610,611,5,101,0,0,611,612,5,97,0,0,612,613,5, - 116,0,0,613,614,5,101,0,0,614,615,5,114,0,0,615,616,5,84,0,0,616, - 617,5,104,0,0,617,618,5,97,0,0,618,619,5,110,0,0,619,620,5,80,0, - 0,620,621,5,97,0,0,621,622,5,116,0,0,622,623,5,104,0,0,623,624,5, - 34,0,0,624,80,1,0,0,0,625,626,5,34,0,0,626,627,5,78,0,0,627,628, - 5,117,0,0,628,629,5,109,0,0,629,630,5,101,0,0,630,631,5,114,0,0, - 631,632,5,105,0,0,632,633,5,99,0,0,633,634,5,71,0,0,634,635,5,114, - 0,0,635,636,5,101,0,0,636,637,5,97,0,0,637,638,5,116,0,0,638,639, - 5,101,0,0,639,640,5,114,0,0,640,641,5,84,0,0,641,642,5,104,0,0,642, - 643,5,97,0,0,643,644,5,110,0,0,644,645,5,69,0,0,645,646,5,113,0, - 0,646,647,5,117,0,0,647,648,5,97,0,0,648,649,5,108,0,0,649,650,5, - 115,0,0,650,651,5,34,0,0,651,82,1,0,0,0,652,653,5,34,0,0,653,654, - 5,78,0,0,654,655,5,117,0,0,655,656,5,109,0,0,656,657,5,101,0,0,657, - 658,5,114,0,0,658,659,5,105,0,0,659,660,5,99,0,0,660,661,5,71,0, - 0,661,662,5,114,0,0,662,663,5,101,0,0,663,664,5,97,0,0,664,665,5, - 116,0,0,665,666,5,101,0,0,666,667,5,114,0,0,667,668,5,84,0,0,668, - 669,5,104,0,0,669,670,5,97,0,0,670,671,5,110,0,0,671,672,5,69,0, - 0,672,673,5,113,0,0,673,674,5,117,0,0,674,675,5,97,0,0,675,676,5, - 108,0,0,676,677,5,115,0,0,677,678,5,80,0,0,678,679,5,97,0,0,679, - 680,5,116,0,0,680,681,5,104,0,0,681,682,5,34,0,0,682,84,1,0,0,0, - 683,684,5,34,0,0,684,685,5,78,0,0,685,686,5,117,0,0,686,687,5,109, - 0,0,687,688,5,101,0,0,688,689,5,114,0,0,689,690,5,105,0,0,690,691, - 5,99,0,0,691,692,5,76,0,0,692,693,5,101,0,0,693,694,5,115,0,0,694, - 695,5,115,0,0,695,696,5,84,0,0,696,697,5,104,0,0,697,698,5,97,0, - 0,698,699,5,110,0,0,699,700,5,34,0,0,700,86,1,0,0,0,701,702,5,34, - 0,0,702,703,5,78,0,0,703,704,5,117,0,0,704,705,5,109,0,0,705,706, - 5,101,0,0,706,707,5,114,0,0,707,708,5,105,0,0,708,709,5,99,0,0,709, - 710,5,76,0,0,710,711,5,101,0,0,711,712,5,115,0,0,712,713,5,115,0, - 0,713,714,5,84,0,0,714,715,5,104,0,0,715,716,5,97,0,0,716,717,5, - 110,0,0,717,718,5,80,0,0,718,719,5,97,0,0,719,720,5,116,0,0,720, - 721,5,104,0,0,721,722,5,34,0,0,722,88,1,0,0,0,723,724,5,34,0,0,724, - 725,5,78,0,0,725,726,5,117,0,0,726,727,5,109,0,0,727,728,5,101,0, - 0,728,729,5,114,0,0,729,730,5,105,0,0,730,731,5,99,0,0,731,732,5, - 76,0,0,732,733,5,101,0,0,733,734,5,115,0,0,734,735,5,115,0,0,735, - 736,5,84,0,0,736,737,5,104,0,0,737,738,5,97,0,0,738,739,5,110,0, - 0,739,740,5,69,0,0,740,741,5,113,0,0,741,742,5,117,0,0,742,743,5, - 97,0,0,743,744,5,108,0,0,744,745,5,115,0,0,745,746,5,34,0,0,746, - 90,1,0,0,0,747,748,5,34,0,0,748,749,5,78,0,0,749,750,5,117,0,0,750, - 751,5,109,0,0,751,752,5,101,0,0,752,753,5,114,0,0,753,754,5,105, - 0,0,754,755,5,99,0,0,755,756,5,76,0,0,756,757,5,101,0,0,757,758, - 5,115,0,0,758,759,5,115,0,0,759,760,5,84,0,0,760,761,5,104,0,0,761, - 762,5,97,0,0,762,763,5,110,0,0,763,764,5,69,0,0,764,765,5,113,0, - 0,765,766,5,117,0,0,766,767,5,97,0,0,767,768,5,108,0,0,768,769,5, - 115,0,0,769,770,5,80,0,0,770,771,5,97,0,0,771,772,5,116,0,0,772, - 773,5,104,0,0,773,774,5,34,0,0,774,92,1,0,0,0,775,776,5,34,0,0,776, - 777,5,79,0,0,777,778,5,114,0,0,778,779,5,34,0,0,779,94,1,0,0,0,780, - 781,5,34,0,0,781,782,5,83,0,0,782,783,5,116,0,0,783,784,5,114,0, - 0,784,785,5,105,0,0,785,786,5,110,0,0,786,787,5,103,0,0,787,788, - 5,69,0,0,788,789,5,113,0,0,789,790,5,117,0,0,790,791,5,97,0,0,791, - 792,5,108,0,0,792,793,5,115,0,0,793,794,5,34,0,0,794,96,1,0,0,0, - 795,796,5,34,0,0,796,797,5,83,0,0,797,798,5,116,0,0,798,799,5,114, - 0,0,799,800,5,105,0,0,800,801,5,110,0,0,801,802,5,103,0,0,802,803, - 5,69,0,0,803,804,5,113,0,0,804,805,5,117,0,0,805,806,5,97,0,0,806, - 807,5,108,0,0,807,808,5,115,0,0,808,809,5,80,0,0,809,810,5,97,0, - 0,810,811,5,116,0,0,811,812,5,104,0,0,812,813,5,34,0,0,813,98,1, - 0,0,0,814,815,5,34,0,0,815,816,5,83,0,0,816,817,5,116,0,0,817,818, - 5,114,0,0,818,819,5,105,0,0,819,820,5,110,0,0,820,821,5,103,0,0, - 821,822,5,71,0,0,822,823,5,114,0,0,823,824,5,101,0,0,824,825,5,97, - 0,0,825,826,5,116,0,0,826,827,5,101,0,0,827,828,5,114,0,0,828,829, - 5,84,0,0,829,830,5,104,0,0,830,831,5,97,0,0,831,832,5,110,0,0,832, - 833,5,34,0,0,833,100,1,0,0,0,834,835,5,34,0,0,835,836,5,83,0,0,836, - 837,5,116,0,0,837,838,5,114,0,0,838,839,5,105,0,0,839,840,5,110, - 0,0,840,841,5,103,0,0,841,842,5,71,0,0,842,843,5,114,0,0,843,844, - 5,101,0,0,844,845,5,97,0,0,845,846,5,116,0,0,846,847,5,101,0,0,847, - 848,5,114,0,0,848,849,5,84,0,0,849,850,5,104,0,0,850,851,5,97,0, - 0,851,852,5,110,0,0,852,853,5,80,0,0,853,854,5,97,0,0,854,855,5, - 116,0,0,855,856,5,104,0,0,856,857,5,34,0,0,857,102,1,0,0,0,858,859, - 5,34,0,0,859,860,5,83,0,0,860,861,5,116,0,0,861,862,5,114,0,0,862, - 863,5,105,0,0,863,864,5,110,0,0,864,865,5,103,0,0,865,866,5,71,0, - 0,866,867,5,114,0,0,867,868,5,101,0,0,868,869,5,97,0,0,869,870,5, - 116,0,0,870,871,5,101,0,0,871,872,5,114,0,0,872,873,5,84,0,0,873, - 874,5,104,0,0,874,875,5,97,0,0,875,876,5,110,0,0,876,877,5,69,0, - 0,877,878,5,113,0,0,878,879,5,117,0,0,879,880,5,97,0,0,880,881,5, - 108,0,0,881,882,5,115,0,0,882,883,5,34,0,0,883,104,1,0,0,0,884,885, - 5,34,0,0,885,886,5,83,0,0,886,887,5,116,0,0,887,888,5,114,0,0,888, - 889,5,105,0,0,889,890,5,110,0,0,890,891,5,103,0,0,891,892,5,71,0, - 0,892,893,5,114,0,0,893,894,5,101,0,0,894,895,5,97,0,0,895,896,5, - 116,0,0,896,897,5,101,0,0,897,898,5,114,0,0,898,899,5,84,0,0,899, - 900,5,104,0,0,900,901,5,97,0,0,901,902,5,110,0,0,902,903,5,69,0, - 0,903,904,5,113,0,0,904,905,5,117,0,0,905,906,5,97,0,0,906,907,5, - 108,0,0,907,908,5,115,0,0,908,909,5,80,0,0,909,910,5,97,0,0,910, - 911,5,116,0,0,911,912,5,104,0,0,912,913,5,34,0,0,913,106,1,0,0,0, - 914,915,5,34,0,0,915,916,5,83,0,0,916,917,5,116,0,0,917,918,5,114, - 0,0,918,919,5,105,0,0,919,920,5,110,0,0,920,921,5,103,0,0,921,922, - 5,76,0,0,922,923,5,101,0,0,923,924,5,115,0,0,924,925,5,115,0,0,925, - 926,5,84,0,0,926,927,5,104,0,0,927,928,5,97,0,0,928,929,5,110,0, - 0,929,930,5,34,0,0,930,108,1,0,0,0,931,932,5,34,0,0,932,933,5,83, - 0,0,933,934,5,116,0,0,934,935,5,114,0,0,935,936,5,105,0,0,936,937, - 5,110,0,0,937,938,5,103,0,0,938,939,5,76,0,0,939,940,5,101,0,0,940, - 941,5,115,0,0,941,942,5,115,0,0,942,943,5,84,0,0,943,944,5,104,0, - 0,944,945,5,97,0,0,945,946,5,110,0,0,946,947,5,80,0,0,947,948,5, - 97,0,0,948,949,5,116,0,0,949,950,5,104,0,0,950,951,5,34,0,0,951, - 110,1,0,0,0,952,953,5,34,0,0,953,954,5,83,0,0,954,955,5,116,0,0, - 955,956,5,114,0,0,956,957,5,105,0,0,957,958,5,110,0,0,958,959,5, - 103,0,0,959,960,5,76,0,0,960,961,5,101,0,0,961,962,5,115,0,0,962, - 963,5,115,0,0,963,964,5,84,0,0,964,965,5,104,0,0,965,966,5,97,0, - 0,966,967,5,110,0,0,967,968,5,69,0,0,968,969,5,113,0,0,969,970,5, - 117,0,0,970,971,5,97,0,0,971,972,5,108,0,0,972,973,5,115,0,0,973, - 974,5,34,0,0,974,112,1,0,0,0,975,976,5,34,0,0,976,977,5,83,0,0,977, - 978,5,116,0,0,978,979,5,114,0,0,979,980,5,105,0,0,980,981,5,110, - 0,0,981,982,5,103,0,0,982,983,5,76,0,0,983,984,5,101,0,0,984,985, - 5,115,0,0,985,986,5,115,0,0,986,987,5,84,0,0,987,988,5,104,0,0,988, - 989,5,97,0,0,989,990,5,110,0,0,990,991,5,69,0,0,991,992,5,113,0, - 0,992,993,5,117,0,0,993,994,5,97,0,0,994,995,5,108,0,0,995,996,5, - 115,0,0,996,997,5,80,0,0,997,998,5,97,0,0,998,999,5,116,0,0,999, - 1000,5,104,0,0,1000,1001,5,34,0,0,1001,114,1,0,0,0,1002,1003,5,34, - 0,0,1003,1004,5,83,0,0,1004,1005,5,116,0,0,1005,1006,5,114,0,0,1006, - 1007,5,105,0,0,1007,1008,5,110,0,0,1008,1009,5,103,0,0,1009,1010, - 5,77,0,0,1010,1011,5,97,0,0,1011,1012,5,116,0,0,1012,1013,5,99,0, - 0,1013,1014,5,104,0,0,1014,1015,5,101,0,0,1015,1016,5,115,0,0,1016, - 1017,5,34,0,0,1017,116,1,0,0,0,1018,1019,5,34,0,0,1019,1020,5,84, - 0,0,1020,1021,5,105,0,0,1021,1022,5,109,0,0,1022,1023,5,101,0,0, - 1023,1024,5,115,0,0,1024,1025,5,116,0,0,1025,1026,5,97,0,0,1026, - 1027,5,109,0,0,1027,1028,5,112,0,0,1028,1029,5,69,0,0,1029,1030, - 5,113,0,0,1030,1031,5,117,0,0,1031,1032,5,97,0,0,1032,1033,5,108, - 0,0,1033,1034,5,115,0,0,1034,1035,5,34,0,0,1035,118,1,0,0,0,1036, - 1037,5,34,0,0,1037,1038,5,84,0,0,1038,1039,5,105,0,0,1039,1040,5, - 109,0,0,1040,1041,5,101,0,0,1041,1042,5,115,0,0,1042,1043,5,116, - 0,0,1043,1044,5,97,0,0,1044,1045,5,109,0,0,1045,1046,5,112,0,0,1046, - 1047,5,69,0,0,1047,1048,5,113,0,0,1048,1049,5,117,0,0,1049,1050, - 5,97,0,0,1050,1051,5,108,0,0,1051,1052,5,115,0,0,1052,1053,5,80, - 0,0,1053,1054,5,97,0,0,1054,1055,5,116,0,0,1055,1056,5,104,0,0,1056, - 1057,5,34,0,0,1057,120,1,0,0,0,1058,1059,5,34,0,0,1059,1060,5,84, - 0,0,1060,1061,5,105,0,0,1061,1062,5,109,0,0,1062,1063,5,101,0,0, - 1063,1064,5,115,0,0,1064,1065,5,116,0,0,1065,1066,5,97,0,0,1066, - 1067,5,109,0,0,1067,1068,5,112,0,0,1068,1069,5,71,0,0,1069,1070, - 5,114,0,0,1070,1071,5,101,0,0,1071,1072,5,97,0,0,1072,1073,5,116, - 0,0,1073,1074,5,101,0,0,1074,1075,5,114,0,0,1075,1076,5,84,0,0,1076, - 1077,5,104,0,0,1077,1078,5,97,0,0,1078,1079,5,110,0,0,1079,1080, - 5,34,0,0,1080,122,1,0,0,0,1081,1082,5,34,0,0,1082,1083,5,84,0,0, - 1083,1084,5,105,0,0,1084,1085,5,109,0,0,1085,1086,5,101,0,0,1086, - 1087,5,115,0,0,1087,1088,5,116,0,0,1088,1089,5,97,0,0,1089,1090, - 5,109,0,0,1090,1091,5,112,0,0,1091,1092,5,71,0,0,1092,1093,5,114, - 0,0,1093,1094,5,101,0,0,1094,1095,5,97,0,0,1095,1096,5,116,0,0,1096, - 1097,5,101,0,0,1097,1098,5,114,0,0,1098,1099,5,84,0,0,1099,1100, - 5,104,0,0,1100,1101,5,97,0,0,1101,1102,5,110,0,0,1102,1103,5,80, - 0,0,1103,1104,5,97,0,0,1104,1105,5,116,0,0,1105,1106,5,104,0,0,1106, - 1107,5,34,0,0,1107,124,1,0,0,0,1108,1109,5,34,0,0,1109,1110,5,84, - 0,0,1110,1111,5,105,0,0,1111,1112,5,109,0,0,1112,1113,5,101,0,0, - 1113,1114,5,115,0,0,1114,1115,5,116,0,0,1115,1116,5,97,0,0,1116, - 1117,5,109,0,0,1117,1118,5,112,0,0,1118,1119,5,71,0,0,1119,1120, - 5,114,0,0,1120,1121,5,101,0,0,1121,1122,5,97,0,0,1122,1123,5,116, - 0,0,1123,1124,5,101,0,0,1124,1125,5,114,0,0,1125,1126,5,84,0,0,1126, - 1127,5,104,0,0,1127,1128,5,97,0,0,1128,1129,5,110,0,0,1129,1130, - 5,69,0,0,1130,1131,5,113,0,0,1131,1132,5,117,0,0,1132,1133,5,97, - 0,0,1133,1134,5,108,0,0,1134,1135,5,115,0,0,1135,1136,5,34,0,0,1136, - 126,1,0,0,0,1137,1138,5,34,0,0,1138,1139,5,84,0,0,1139,1140,5,105, - 0,0,1140,1141,5,109,0,0,1141,1142,5,101,0,0,1142,1143,5,115,0,0, - 1143,1144,5,116,0,0,1144,1145,5,97,0,0,1145,1146,5,109,0,0,1146, - 1147,5,112,0,0,1147,1148,5,71,0,0,1148,1149,5,114,0,0,1149,1150, - 5,101,0,0,1150,1151,5,97,0,0,1151,1152,5,116,0,0,1152,1153,5,101, - 0,0,1153,1154,5,114,0,0,1154,1155,5,84,0,0,1155,1156,5,104,0,0,1156, - 1157,5,97,0,0,1157,1158,5,110,0,0,1158,1159,5,69,0,0,1159,1160,5, - 113,0,0,1160,1161,5,117,0,0,1161,1162,5,97,0,0,1162,1163,5,108,0, - 0,1163,1164,5,115,0,0,1164,1165,5,80,0,0,1165,1166,5,97,0,0,1166, - 1167,5,116,0,0,1167,1168,5,104,0,0,1168,1169,5,34,0,0,1169,128,1, - 0,0,0,1170,1171,5,34,0,0,1171,1172,5,84,0,0,1172,1173,5,105,0,0, - 1173,1174,5,109,0,0,1174,1175,5,101,0,0,1175,1176,5,115,0,0,1176, - 1177,5,116,0,0,1177,1178,5,97,0,0,1178,1179,5,109,0,0,1179,1180, - 5,112,0,0,1180,1181,5,76,0,0,1181,1182,5,101,0,0,1182,1183,5,115, - 0,0,1183,1184,5,115,0,0,1184,1185,5,84,0,0,1185,1186,5,104,0,0,1186, - 1187,5,97,0,0,1187,1188,5,110,0,0,1188,1189,5,34,0,0,1189,130,1, - 0,0,0,1190,1191,5,34,0,0,1191,1192,5,84,0,0,1192,1193,5,105,0,0, - 1193,1194,5,109,0,0,1194,1195,5,101,0,0,1195,1196,5,115,0,0,1196, - 1197,5,116,0,0,1197,1198,5,97,0,0,1198,1199,5,109,0,0,1199,1200, - 5,112,0,0,1200,1201,5,76,0,0,1201,1202,5,101,0,0,1202,1203,5,115, - 0,0,1203,1204,5,115,0,0,1204,1205,5,84,0,0,1205,1206,5,104,0,0,1206, - 1207,5,97,0,0,1207,1208,5,110,0,0,1208,1209,5,80,0,0,1209,1210,5, - 97,0,0,1210,1211,5,116,0,0,1211,1212,5,104,0,0,1212,1213,5,34,0, - 0,1213,132,1,0,0,0,1214,1215,5,34,0,0,1215,1216,5,84,0,0,1216,1217, - 5,105,0,0,1217,1218,5,109,0,0,1218,1219,5,101,0,0,1219,1220,5,115, - 0,0,1220,1221,5,116,0,0,1221,1222,5,97,0,0,1222,1223,5,109,0,0,1223, - 1224,5,112,0,0,1224,1225,5,76,0,0,1225,1226,5,101,0,0,1226,1227, - 5,115,0,0,1227,1228,5,115,0,0,1228,1229,5,84,0,0,1229,1230,5,104, - 0,0,1230,1231,5,97,0,0,1231,1232,5,110,0,0,1232,1233,5,69,0,0,1233, - 1234,5,113,0,0,1234,1235,5,117,0,0,1235,1236,5,97,0,0,1236,1237, - 5,108,0,0,1237,1238,5,115,0,0,1238,1239,5,34,0,0,1239,134,1,0,0, - 0,1240,1241,5,34,0,0,1241,1242,5,84,0,0,1242,1243,5,105,0,0,1243, - 1244,5,109,0,0,1244,1245,5,101,0,0,1245,1246,5,115,0,0,1246,1247, - 5,116,0,0,1247,1248,5,97,0,0,1248,1249,5,109,0,0,1249,1250,5,112, - 0,0,1250,1251,5,76,0,0,1251,1252,5,101,0,0,1252,1253,5,115,0,0,1253, - 1254,5,115,0,0,1254,1255,5,84,0,0,1255,1256,5,104,0,0,1256,1257, - 5,97,0,0,1257,1258,5,110,0,0,1258,1259,5,69,0,0,1259,1260,5,113, - 0,0,1260,1261,5,117,0,0,1261,1262,5,97,0,0,1262,1263,5,108,0,0,1263, - 1264,5,115,0,0,1264,1265,5,80,0,0,1265,1266,5,97,0,0,1266,1267,5, - 116,0,0,1267,1268,5,104,0,0,1268,1269,5,34,0,0,1269,136,1,0,0,0, - 1270,1271,5,34,0,0,1271,1272,5,83,0,0,1272,1273,5,101,0,0,1273,1274, - 5,99,0,0,1274,1275,5,111,0,0,1275,1276,5,110,0,0,1276,1277,5,100, - 0,0,1277,1278,5,115,0,0,1278,1279,5,80,0,0,1279,1280,5,97,0,0,1280, - 1281,5,116,0,0,1281,1282,5,104,0,0,1282,1283,5,34,0,0,1283,138,1, - 0,0,0,1284,1285,5,34,0,0,1285,1286,5,83,0,0,1286,1287,5,101,0,0, - 1287,1288,5,99,0,0,1288,1289,5,111,0,0,1289,1290,5,110,0,0,1290, - 1291,5,100,0,0,1291,1292,5,115,0,0,1292,1293,5,34,0,0,1293,140,1, - 0,0,0,1294,1295,5,34,0,0,1295,1296,5,84,0,0,1296,1297,5,105,0,0, - 1297,1298,5,109,0,0,1298,1299,5,101,0,0,1299,1300,5,115,0,0,1300, - 1301,5,116,0,0,1301,1302,5,97,0,0,1302,1303,5,109,0,0,1303,1304, - 5,112,0,0,1304,1305,5,80,0,0,1305,1306,5,97,0,0,1306,1307,5,116, - 0,0,1307,1308,5,104,0,0,1308,1309,5,34,0,0,1309,142,1,0,0,0,1310, - 1311,5,34,0,0,1311,1312,5,84,0,0,1312,1313,5,105,0,0,1313,1314,5, - 109,0,0,1314,1315,5,101,0,0,1315,1316,5,115,0,0,1316,1317,5,116, - 0,0,1317,1318,5,97,0,0,1318,1319,5,109,0,0,1319,1320,5,112,0,0,1320, - 1321,5,34,0,0,1321,144,1,0,0,0,1322,1323,5,34,0,0,1323,1324,5,80, - 0,0,1324,1325,5,114,0,0,1325,1326,5,111,0,0,1326,1327,5,99,0,0,1327, - 1328,5,101,0,0,1328,1329,5,115,0,0,1329,1330,5,115,0,0,1330,1331, - 5,111,0,0,1331,1332,5,114,0,0,1332,1333,5,67,0,0,1333,1334,5,111, - 0,0,1334,1335,5,110,0,0,1335,1336,5,102,0,0,1336,1337,5,105,0,0, - 1337,1338,5,103,0,0,1338,1339,5,34,0,0,1339,146,1,0,0,0,1340,1341, - 5,34,0,0,1341,1342,5,77,0,0,1342,1343,5,111,0,0,1343,1344,5,100, - 0,0,1344,1345,5,101,0,0,1345,1346,5,34,0,0,1346,148,1,0,0,0,1347, - 1348,5,34,0,0,1348,1349,5,73,0,0,1349,1350,5,78,0,0,1350,1351,5, - 76,0,0,1351,1352,5,73,0,0,1352,1353,5,78,0,0,1353,1354,5,69,0,0, - 1354,1355,5,34,0,0,1355,150,1,0,0,0,1356,1357,5,34,0,0,1357,1358, - 5,73,0,0,1358,1359,5,116,0,0,1359,1360,5,101,0,0,1360,1361,5,109, - 0,0,1361,1362,5,80,0,0,1362,1363,5,114,0,0,1363,1364,5,111,0,0,1364, - 1365,5,99,0,0,1365,1366,5,101,0,0,1366,1367,5,115,0,0,1367,1368, - 5,115,0,0,1368,1369,5,111,0,0,1369,1370,5,114,0,0,1370,1371,5,34, - 0,0,1371,152,1,0,0,0,1372,1373,5,34,0,0,1373,1374,5,77,0,0,1374, - 1375,5,97,0,0,1375,1376,5,120,0,0,1376,1377,5,67,0,0,1377,1378,5, - 111,0,0,1378,1379,5,110,0,0,1379,1380,5,99,0,0,1380,1381,5,117,0, - 0,1381,1382,5,114,0,0,1382,1383,5,114,0,0,1383,1384,5,101,0,0,1384, - 1385,5,110,0,0,1385,1386,5,99,0,0,1386,1387,5,121,0,0,1387,1388, - 5,34,0,0,1388,154,1,0,0,0,1389,1390,5,34,0,0,1390,1391,5,82,0,0, - 1391,1392,5,101,0,0,1392,1393,5,115,0,0,1393,1394,5,111,0,0,1394, - 1395,5,117,0,0,1395,1396,5,114,0,0,1396,1397,5,99,0,0,1397,1398, - 5,101,0,0,1398,1399,5,34,0,0,1399,156,1,0,0,0,1400,1401,5,34,0,0, - 1401,1402,5,73,0,0,1402,1403,5,110,0,0,1403,1404,5,112,0,0,1404, - 1405,5,117,0,0,1405,1406,5,116,0,0,1406,1407,5,80,0,0,1407,1408, - 5,97,0,0,1408,1409,5,116,0,0,1409,1410,5,104,0,0,1410,1411,5,34, - 0,0,1411,158,1,0,0,0,1412,1413,5,34,0,0,1413,1414,5,79,0,0,1414, - 1415,5,117,0,0,1415,1416,5,116,0,0,1416,1417,5,112,0,0,1417,1418, - 5,117,0,0,1418,1419,5,116,0,0,1419,1420,5,80,0,0,1420,1421,5,97, - 0,0,1421,1422,5,116,0,0,1422,1423,5,104,0,0,1423,1424,5,34,0,0,1424, - 160,1,0,0,0,1425,1426,5,34,0,0,1426,1427,5,73,0,0,1427,1428,5,116, - 0,0,1428,1429,5,101,0,0,1429,1430,5,109,0,0,1430,1431,5,115,0,0, - 1431,1432,5,80,0,0,1432,1433,5,97,0,0,1433,1434,5,116,0,0,1434,1435, - 5,104,0,0,1435,1436,5,34,0,0,1436,162,1,0,0,0,1437,1438,5,34,0,0, - 1438,1439,5,82,0,0,1439,1440,5,101,0,0,1440,1441,5,115,0,0,1441, - 1442,5,117,0,0,1442,1443,5,108,0,0,1443,1444,5,116,0,0,1444,1445, - 5,80,0,0,1445,1446,5,97,0,0,1446,1447,5,116,0,0,1447,1448,5,104, - 0,0,1448,1449,5,34,0,0,1449,164,1,0,0,0,1450,1451,5,34,0,0,1451, - 1452,5,82,0,0,1452,1453,5,101,0,0,1453,1454,5,115,0,0,1454,1455, - 5,117,0,0,1455,1456,5,108,0,0,1456,1457,5,116,0,0,1457,1458,5,34, - 0,0,1458,166,1,0,0,0,1459,1460,5,34,0,0,1460,1461,5,80,0,0,1461, - 1462,5,97,0,0,1462,1463,5,114,0,0,1463,1464,5,97,0,0,1464,1465,5, - 109,0,0,1465,1466,5,101,0,0,1466,1467,5,116,0,0,1467,1468,5,101, - 0,0,1468,1469,5,114,0,0,1469,1470,5,115,0,0,1470,1471,5,34,0,0,1471, - 168,1,0,0,0,1472,1473,5,34,0,0,1473,1474,5,82,0,0,1474,1475,5,101, - 0,0,1475,1476,5,115,0,0,1476,1477,5,117,0,0,1477,1478,5,108,0,0, - 1478,1479,5,116,0,0,1479,1480,5,83,0,0,1480,1481,5,101,0,0,1481, - 1482,5,108,0,0,1482,1483,5,101,0,0,1483,1484,5,99,0,0,1484,1485, - 5,116,0,0,1485,1486,5,111,0,0,1486,1487,5,114,0,0,1487,1488,5,34, - 0,0,1488,170,1,0,0,0,1489,1490,5,34,0,0,1490,1491,5,78,0,0,1491, - 1492,5,101,0,0,1492,1493,5,120,0,0,1493,1494,5,116,0,0,1494,1495, - 5,34,0,0,1495,172,1,0,0,0,1496,1497,5,34,0,0,1497,1498,5,69,0,0, - 1498,1499,5,110,0,0,1499,1500,5,100,0,0,1500,1501,5,34,0,0,1501, - 174,1,0,0,0,1502,1503,5,34,0,0,1503,1504,5,67,0,0,1504,1505,5,97, - 0,0,1505,1506,5,117,0,0,1506,1507,5,115,0,0,1507,1508,5,101,0,0, - 1508,1509,5,34,0,0,1509,176,1,0,0,0,1510,1511,5,34,0,0,1511,1512, - 5,69,0,0,1512,1513,5,114,0,0,1513,1514,5,114,0,0,1514,1515,5,111, - 0,0,1515,1516,5,114,0,0,1516,1517,5,34,0,0,1517,178,1,0,0,0,1518, - 1519,5,34,0,0,1519,1520,5,82,0,0,1520,1521,5,101,0,0,1521,1522,5, - 116,0,0,1522,1523,5,114,0,0,1523,1524,5,121,0,0,1524,1525,5,34,0, - 0,1525,180,1,0,0,0,1526,1527,5,34,0,0,1527,1528,5,69,0,0,1528,1529, - 5,114,0,0,1529,1530,5,114,0,0,1530,1531,5,111,0,0,1531,1532,5,114, - 0,0,1532,1533,5,69,0,0,1533,1534,5,113,0,0,1534,1535,5,117,0,0,1535, - 1536,5,97,0,0,1536,1537,5,108,0,0,1537,1538,5,115,0,0,1538,1539, - 5,34,0,0,1539,182,1,0,0,0,1540,1541,5,34,0,0,1541,1542,5,73,0,0, - 1542,1543,5,110,0,0,1543,1544,5,116,0,0,1544,1545,5,101,0,0,1545, - 1546,5,114,0,0,1546,1547,5,118,0,0,1547,1548,5,97,0,0,1548,1549, - 5,108,0,0,1549,1550,5,83,0,0,1550,1551,5,101,0,0,1551,1552,5,99, - 0,0,1552,1553,5,111,0,0,1553,1554,5,110,0,0,1554,1555,5,100,0,0, - 1555,1556,5,115,0,0,1556,1557,5,34,0,0,1557,184,1,0,0,0,1558,1559, - 5,34,0,0,1559,1560,5,77,0,0,1560,1561,5,97,0,0,1561,1562,5,120,0, - 0,1562,1563,5,65,0,0,1563,1564,5,116,0,0,1564,1565,5,116,0,0,1565, - 1566,5,101,0,0,1566,1567,5,109,0,0,1567,1568,5,112,0,0,1568,1569, - 5,116,0,0,1569,1570,5,115,0,0,1570,1571,5,34,0,0,1571,186,1,0,0, - 0,1572,1573,5,34,0,0,1573,1574,5,66,0,0,1574,1575,5,97,0,0,1575, - 1576,5,99,0,0,1576,1577,5,107,0,0,1577,1578,5,111,0,0,1578,1579, - 5,102,0,0,1579,1580,5,102,0,0,1580,1581,5,82,0,0,1581,1582,5,97, - 0,0,1582,1583,5,116,0,0,1583,1584,5,101,0,0,1584,1585,5,34,0,0,1585, - 188,1,0,0,0,1586,1587,5,34,0,0,1587,1588,5,67,0,0,1588,1589,5,97, - 0,0,1589,1590,5,116,0,0,1590,1591,5,99,0,0,1591,1592,5,104,0,0,1592, - 1593,5,34,0,0,1593,190,1,0,0,0,1594,1595,5,34,0,0,1595,1596,5,83, - 0,0,1596,1597,5,116,0,0,1597,1598,5,97,0,0,1598,1599,5,116,0,0,1599, - 1600,5,101,0,0,1600,1601,5,115,0,0,1601,1602,5,46,0,0,1602,1603, - 5,65,0,0,1603,1604,5,76,0,0,1604,1605,5,76,0,0,1605,1606,5,34,0, - 0,1606,192,1,0,0,0,1607,1608,5,34,0,0,1608,1609,5,83,0,0,1609,1610, - 5,116,0,0,1610,1611,5,97,0,0,1611,1612,5,116,0,0,1612,1613,5,101, - 0,0,1613,1614,5,115,0,0,1614,1615,5,46,0,0,1615,1616,5,72,0,0,1616, - 1617,5,101,0,0,1617,1618,5,97,0,0,1618,1619,5,114,0,0,1619,1620, - 5,116,0,0,1620,1621,5,98,0,0,1621,1622,5,101,0,0,1622,1623,5,97, - 0,0,1623,1624,5,116,0,0,1624,1625,5,84,0,0,1625,1626,5,105,0,0,1626, - 1627,5,109,0,0,1627,1628,5,101,0,0,1628,1629,5,111,0,0,1629,1630, - 5,117,0,0,1630,1631,5,116,0,0,1631,1632,5,34,0,0,1632,194,1,0,0, - 0,1633,1634,5,34,0,0,1634,1635,5,83,0,0,1635,1636,5,116,0,0,1636, - 1637,5,97,0,0,1637,1638,5,116,0,0,1638,1639,5,101,0,0,1639,1640, - 5,115,0,0,1640,1641,5,46,0,0,1641,1642,5,84,0,0,1642,1643,5,105, - 0,0,1643,1644,5,109,0,0,1644,1645,5,101,0,0,1645,1646,5,111,0,0, - 1646,1647,5,117,0,0,1647,1648,5,116,0,0,1648,1649,5,34,0,0,1649, - 196,1,0,0,0,1650,1651,5,34,0,0,1651,1652,5,83,0,0,1652,1653,5,116, - 0,0,1653,1654,5,97,0,0,1654,1655,5,116,0,0,1655,1656,5,101,0,0,1656, - 1657,5,115,0,0,1657,1658,5,46,0,0,1658,1659,5,84,0,0,1659,1660,5, - 97,0,0,1660,1661,5,115,0,0,1661,1662,5,107,0,0,1662,1663,5,70,0, - 0,1663,1664,5,97,0,0,1664,1665,5,105,0,0,1665,1666,5,108,0,0,1666, - 1667,5,101,0,0,1667,1668,5,100,0,0,1668,1669,5,34,0,0,1669,198,1, - 0,0,0,1670,1671,5,34,0,0,1671,1672,5,83,0,0,1672,1673,5,116,0,0, - 1673,1674,5,97,0,0,1674,1675,5,116,0,0,1675,1676,5,101,0,0,1676, - 1677,5,115,0,0,1677,1678,5,46,0,0,1678,1679,5,80,0,0,1679,1680,5, - 101,0,0,1680,1681,5,114,0,0,1681,1682,5,109,0,0,1682,1683,5,105, - 0,0,1683,1684,5,115,0,0,1684,1685,5,115,0,0,1685,1686,5,105,0,0, - 1686,1687,5,111,0,0,1687,1688,5,110,0,0,1688,1689,5,115,0,0,1689, - 1690,5,34,0,0,1690,200,1,0,0,0,1691,1692,5,34,0,0,1692,1693,5,83, - 0,0,1693,1694,5,116,0,0,1694,1695,5,97,0,0,1695,1696,5,116,0,0,1696, - 1697,5,101,0,0,1697,1698,5,115,0,0,1698,1699,5,46,0,0,1699,1700, - 5,82,0,0,1700,1701,5,101,0,0,1701,1702,5,115,0,0,1702,1703,5,117, - 0,0,1703,1704,5,108,0,0,1704,1705,5,116,0,0,1705,1706,5,80,0,0,1706, - 1707,5,97,0,0,1707,1708,5,116,0,0,1708,1709,5,104,0,0,1709,1710, - 5,77,0,0,1710,1711,5,97,0,0,1711,1712,5,116,0,0,1712,1713,5,99,0, - 0,1713,1714,5,104,0,0,1714,1715,5,70,0,0,1715,1716,5,97,0,0,1716, - 1717,5,105,0,0,1717,1718,5,108,0,0,1718,1719,5,117,0,0,1719,1720, - 5,114,0,0,1720,1721,5,101,0,0,1721,1722,5,34,0,0,1722,202,1,0,0, - 0,1723,1724,5,34,0,0,1724,1725,5,83,0,0,1725,1726,5,116,0,0,1726, - 1727,5,97,0,0,1727,1728,5,116,0,0,1728,1729,5,101,0,0,1729,1730, - 5,115,0,0,1730,1731,5,46,0,0,1731,1732,5,80,0,0,1732,1733,5,97,0, - 0,1733,1734,5,114,0,0,1734,1735,5,97,0,0,1735,1736,5,109,0,0,1736, - 1737,5,101,0,0,1737,1738,5,116,0,0,1738,1739,5,101,0,0,1739,1740, - 5,114,0,0,1740,1741,5,80,0,0,1741,1742,5,97,0,0,1742,1743,5,116, - 0,0,1743,1744,5,104,0,0,1744,1745,5,70,0,0,1745,1746,5,97,0,0,1746, - 1747,5,105,0,0,1747,1748,5,108,0,0,1748,1749,5,117,0,0,1749,1750, - 5,114,0,0,1750,1751,5,101,0,0,1751,1752,5,34,0,0,1752,204,1,0,0, - 0,1753,1754,5,34,0,0,1754,1755,5,83,0,0,1755,1756,5,116,0,0,1756, - 1757,5,97,0,0,1757,1758,5,116,0,0,1758,1759,5,101,0,0,1759,1760, - 5,115,0,0,1760,1761,5,46,0,0,1761,1762,5,66,0,0,1762,1763,5,114, - 0,0,1763,1764,5,97,0,0,1764,1765,5,110,0,0,1765,1766,5,99,0,0,1766, - 1767,5,104,0,0,1767,1768,5,70,0,0,1768,1769,5,97,0,0,1769,1770,5, - 105,0,0,1770,1771,5,108,0,0,1771,1772,5,101,0,0,1772,1773,5,100, - 0,0,1773,1774,5,34,0,0,1774,206,1,0,0,0,1775,1776,5,34,0,0,1776, - 1777,5,83,0,0,1777,1778,5,116,0,0,1778,1779,5,97,0,0,1779,1780,5, - 116,0,0,1780,1781,5,101,0,0,1781,1782,5,115,0,0,1782,1783,5,46,0, - 0,1783,1784,5,78,0,0,1784,1785,5,111,0,0,1785,1786,5,67,0,0,1786, - 1787,5,104,0,0,1787,1788,5,111,0,0,1788,1789,5,105,0,0,1789,1790, - 5,99,0,0,1790,1791,5,101,0,0,1791,1792,5,77,0,0,1792,1793,5,97,0, - 0,1793,1794,5,116,0,0,1794,1795,5,99,0,0,1795,1796,5,104,0,0,1796, - 1797,5,101,0,0,1797,1798,5,100,0,0,1798,1799,5,34,0,0,1799,208,1, - 0,0,0,1800,1801,5,34,0,0,1801,1802,5,83,0,0,1802,1803,5,116,0,0, - 1803,1804,5,97,0,0,1804,1805,5,116,0,0,1805,1806,5,101,0,0,1806, - 1807,5,115,0,0,1807,1808,5,46,0,0,1808,1809,5,73,0,0,1809,1810,5, - 110,0,0,1810,1811,5,116,0,0,1811,1812,5,114,0,0,1812,1813,5,105, - 0,0,1813,1814,5,110,0,0,1814,1815,5,115,0,0,1815,1816,5,105,0,0, - 1816,1817,5,99,0,0,1817,1818,5,70,0,0,1818,1819,5,97,0,0,1819,1820, - 5,105,0,0,1820,1821,5,108,0,0,1821,1822,5,117,0,0,1822,1823,5,114, - 0,0,1823,1824,5,101,0,0,1824,1825,5,34,0,0,1825,210,1,0,0,0,1826, - 1827,5,34,0,0,1827,1828,5,83,0,0,1828,1829,5,116,0,0,1829,1830,5, - 97,0,0,1830,1831,5,116,0,0,1831,1832,5,101,0,0,1832,1833,5,115,0, - 0,1833,1834,5,46,0,0,1834,1835,5,69,0,0,1835,1836,5,120,0,0,1836, - 1837,5,99,0,0,1837,1838,5,101,0,0,1838,1839,5,101,0,0,1839,1840, - 5,100,0,0,1840,1841,5,84,0,0,1841,1842,5,111,0,0,1842,1843,5,108, - 0,0,1843,1844,5,101,0,0,1844,1845,5,114,0,0,1845,1846,5,97,0,0,1846, - 1847,5,116,0,0,1847,1848,5,101,0,0,1848,1849,5,100,0,0,1849,1850, - 5,70,0,0,1850,1851,5,97,0,0,1851,1852,5,105,0,0,1852,1853,5,108, - 0,0,1853,1854,5,117,0,0,1854,1855,5,114,0,0,1855,1856,5,101,0,0, - 1856,1857,5,84,0,0,1857,1858,5,104,0,0,1858,1859,5,114,0,0,1859, - 1860,5,101,0,0,1860,1861,5,115,0,0,1861,1862,5,104,0,0,1862,1863, - 5,111,0,0,1863,1864,5,108,0,0,1864,1865,5,100,0,0,1865,1866,5,34, - 0,0,1866,212,1,0,0,0,1867,1868,5,34,0,0,1868,1869,5,83,0,0,1869, - 1870,5,116,0,0,1870,1871,5,97,0,0,1871,1872,5,116,0,0,1872,1873, - 5,101,0,0,1873,1874,5,115,0,0,1874,1875,5,46,0,0,1875,1876,5,73, - 0,0,1876,1877,5,116,0,0,1877,1878,5,101,0,0,1878,1879,5,109,0,0, - 1879,1880,5,82,0,0,1880,1881,5,101,0,0,1881,1882,5,97,0,0,1882,1883, - 5,100,0,0,1883,1884,5,101,0,0,1884,1885,5,114,0,0,1885,1886,5,70, - 0,0,1886,1887,5,97,0,0,1887,1888,5,105,0,0,1888,1889,5,108,0,0,1889, - 1890,5,101,0,0,1890,1891,5,100,0,0,1891,1892,5,34,0,0,1892,214,1, - 0,0,0,1893,1894,5,34,0,0,1894,1895,5,83,0,0,1895,1896,5,116,0,0, - 1896,1897,5,97,0,0,1897,1898,5,116,0,0,1898,1899,5,101,0,0,1899, - 1900,5,115,0,0,1900,1901,5,46,0,0,1901,1902,5,82,0,0,1902,1903,5, - 101,0,0,1903,1904,5,115,0,0,1904,1905,5,117,0,0,1905,1906,5,108, - 0,0,1906,1907,5,116,0,0,1907,1908,5,87,0,0,1908,1909,5,114,0,0,1909, - 1910,5,105,0,0,1910,1911,5,116,0,0,1911,1912,5,101,0,0,1912,1913, - 5,114,0,0,1913,1914,5,70,0,0,1914,1915,5,97,0,0,1915,1916,5,105, - 0,0,1916,1917,5,108,0,0,1917,1918,5,101,0,0,1918,1919,5,100,0,0, - 1919,1920,5,34,0,0,1920,216,1,0,0,0,1921,1922,5,34,0,0,1922,1923, - 5,83,0,0,1923,1924,5,116,0,0,1924,1925,5,97,0,0,1925,1926,5,116, - 0,0,1926,1927,5,101,0,0,1927,1928,5,115,0,0,1928,1929,5,46,0,0,1929, - 1930,5,82,0,0,1930,1931,5,117,0,0,1931,1932,5,110,0,0,1932,1933, - 5,116,0,0,1933,1934,5,105,0,0,1934,1935,5,109,0,0,1935,1936,5,101, - 0,0,1936,1937,5,34,0,0,1937,218,1,0,0,0,1938,1943,5,34,0,0,1939, - 1942,3,227,113,0,1940,1942,3,233,116,0,1941,1939,1,0,0,0,1941,1940, - 1,0,0,0,1942,1945,1,0,0,0,1943,1941,1,0,0,0,1943,1944,1,0,0,0,1944, - 1946,1,0,0,0,1945,1943,1,0,0,0,1946,1947,5,46,0,0,1947,1948,5,36, - 0,0,1948,1949,5,34,0,0,1949,220,1,0,0,0,1950,1951,5,34,0,0,1951, - 1952,5,36,0,0,1952,1953,5,36,0,0,1953,1954,5,46,0,0,1954,1959,1, - 0,0,0,1955,1958,3,227,113,0,1956,1958,3,233,116,0,1957,1955,1,0, - 0,0,1957,1956,1,0,0,0,1958,1961,1,0,0,0,1959,1957,1,0,0,0,1959,1960, - 1,0,0,0,1960,1962,1,0,0,0,1961,1959,1,0,0,0,1962,1963,5,34,0,0,1963, - 222,1,0,0,0,1964,1965,5,34,0,0,1965,1966,5,36,0,0,1966,1971,1,0, - 0,0,1967,1970,3,227,113,0,1968,1970,3,233,116,0,1969,1967,1,0,0, - 0,1969,1968,1,0,0,0,1970,1973,1,0,0,0,1971,1969,1,0,0,0,1971,1972, - 1,0,0,0,1972,1974,1,0,0,0,1973,1971,1,0,0,0,1974,1975,5,34,0,0,1975, - 224,1,0,0,0,1976,1981,5,34,0,0,1977,1980,3,227,113,0,1978,1980,3, - 233,116,0,1979,1977,1,0,0,0,1979,1978,1,0,0,0,1980,1983,1,0,0,0, - 1981,1979,1,0,0,0,1981,1982,1,0,0,0,1982,1984,1,0,0,0,1983,1981, - 1,0,0,0,1984,1985,5,34,0,0,1985,226,1,0,0,0,1986,1989,5,92,0,0,1987, - 1990,7,0,0,0,1988,1990,3,229,114,0,1989,1987,1,0,0,0,1989,1988,1, - 0,0,0,1990,228,1,0,0,0,1991,1992,5,117,0,0,1992,1993,3,231,115,0, - 1993,1994,3,231,115,0,1994,1995,3,231,115,0,1995,1996,3,231,115, - 0,1996,230,1,0,0,0,1997,1998,7,1,0,0,1998,232,1,0,0,0,1999,2000, - 8,2,0,0,2000,234,1,0,0,0,2001,2010,5,48,0,0,2002,2006,7,3,0,0,2003, - 2005,7,4,0,0,2004,2003,1,0,0,0,2005,2008,1,0,0,0,2006,2004,1,0,0, - 0,2006,2007,1,0,0,0,2007,2010,1,0,0,0,2008,2006,1,0,0,0,2009,2001, - 1,0,0,0,2009,2002,1,0,0,0,2010,236,1,0,0,0,2011,2013,5,45,0,0,2012, - 2011,1,0,0,0,2012,2013,1,0,0,0,2013,2014,1,0,0,0,2014,2021,3,235, - 117,0,2015,2017,5,46,0,0,2016,2018,7,4,0,0,2017,2016,1,0,0,0,2018, - 2019,1,0,0,0,2019,2017,1,0,0,0,2019,2020,1,0,0,0,2020,2022,1,0,0, - 0,2021,2015,1,0,0,0,2021,2022,1,0,0,0,2022,2024,1,0,0,0,2023,2025, - 3,239,119,0,2024,2023,1,0,0,0,2024,2025,1,0,0,0,2025,238,1,0,0,0, - 2026,2028,7,5,0,0,2027,2029,7,6,0,0,2028,2027,1,0,0,0,2028,2029, - 1,0,0,0,2029,2030,1,0,0,0,2030,2031,3,235,117,0,2031,240,1,0,0,0, - 2032,2034,7,7,0,0,2033,2032,1,0,0,0,2034,2035,1,0,0,0,2035,2033, - 1,0,0,0,2035,2036,1,0,0,0,2036,2037,1,0,0,0,2037,2038,6,120,0,0, - 2038,242,1,0,0,0,18,0,1941,1943,1957,1959,1969,1971,1979,1981,1989, - 2006,2009,2012,2019,2021,2024,2028,2035,1,6,0,0 + 1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108, + 1,108,1,108,1,108,1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109, + 1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109, + 1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,110,1,110, + 1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110, + 1,110,1,110,1,110,1,110,1,111,1,111,1,111,5,111,1984,8,111,10,111, + 12,111,1987,9,111,1,111,1,111,1,111,1,111,1,112,1,112,1,112,1,112, + 1,112,1,112,1,112,5,112,2000,8,112,10,112,12,112,2003,9,112,1,112, + 1,112,1,113,1,113,1,113,1,113,1,113,5,113,2012,8,113,10,113,12,113, + 2015,9,113,1,113,1,113,1,114,1,114,1,114,5,114,2022,8,114,10,114, + 12,114,2025,9,114,1,114,1,114,1,115,1,115,1,115,3,115,2032,8,115, + 1,116,1,116,1,116,1,116,1,116,1,116,1,117,1,117,1,118,1,118,1,119, + 1,119,1,119,5,119,2047,8,119,10,119,12,119,2050,9,119,3,119,2052, + 8,119,1,120,3,120,2055,8,120,1,120,1,120,1,120,4,120,2060,8,120, + 11,120,12,120,2061,3,120,2064,8,120,1,120,3,120,2067,8,120,1,121, + 1,121,3,121,2071,8,121,1,121,1,121,1,122,4,122,2076,8,122,11,122, + 12,122,2077,1,122,1,122,0,0,123,1,1,3,2,5,3,7,4,9,5,11,6,13,7,15, + 8,17,9,19,10,21,11,23,12,25,13,27,14,29,15,31,16,33,17,35,18,37, + 19,39,20,41,21,43,22,45,23,47,24,49,25,51,26,53,27,55,28,57,29,59, + 30,61,31,63,32,65,33,67,34,69,35,71,36,73,37,75,38,77,39,79,40,81, + 41,83,42,85,43,87,44,89,45,91,46,93,47,95,48,97,49,99,50,101,51, + 103,52,105,53,107,54,109,55,111,56,113,57,115,58,117,59,119,60,121, + 61,123,62,125,63,127,64,129,65,131,66,133,67,135,68,137,69,139,70, + 141,71,143,72,145,73,147,74,149,75,151,76,153,77,155,78,157,79,159, + 80,161,81,163,82,165,83,167,84,169,85,171,86,173,87,175,88,177,89, + 179,90,181,91,183,92,185,93,187,94,189,95,191,96,193,97,195,98,197, + 99,199,100,201,101,203,102,205,103,207,104,209,105,211,106,213,107, + 215,108,217,109,219,110,221,111,223,112,225,113,227,114,229,115, + 231,0,233,0,235,0,237,0,239,116,241,117,243,0,245,118,1,0,8,8,0, + 34,34,47,47,92,92,98,98,102,102,110,110,114,114,116,116,3,0,48,57, + 65,70,97,102,3,0,0,31,34,34,92,92,1,0,49,57,1,0,48,57,2,0,69,69, + 101,101,2,0,43,43,45,45,3,0,9,10,13,13,32,32,2092,0,1,1,0,0,0,0, + 3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13, + 1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23, + 1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33, + 1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43, + 1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53, + 1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63, + 1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73, + 1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83, + 1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93, + 1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103, + 1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0, + 0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1, + 0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0, + 131,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0, + 0,0,0,141,1,0,0,0,0,143,1,0,0,0,0,145,1,0,0,0,0,147,1,0,0,0,0,149, + 1,0,0,0,0,151,1,0,0,0,0,153,1,0,0,0,0,155,1,0,0,0,0,157,1,0,0,0, + 0,159,1,0,0,0,0,161,1,0,0,0,0,163,1,0,0,0,0,165,1,0,0,0,0,167,1, + 0,0,0,0,169,1,0,0,0,0,171,1,0,0,0,0,173,1,0,0,0,0,175,1,0,0,0,0, + 177,1,0,0,0,0,179,1,0,0,0,0,181,1,0,0,0,0,183,1,0,0,0,0,185,1,0, + 0,0,0,187,1,0,0,0,0,189,1,0,0,0,0,191,1,0,0,0,0,193,1,0,0,0,0,195, + 1,0,0,0,0,197,1,0,0,0,0,199,1,0,0,0,0,201,1,0,0,0,0,203,1,0,0,0, + 0,205,1,0,0,0,0,207,1,0,0,0,0,209,1,0,0,0,0,211,1,0,0,0,0,213,1, + 0,0,0,0,215,1,0,0,0,0,217,1,0,0,0,0,219,1,0,0,0,0,221,1,0,0,0,0, + 223,1,0,0,0,0,225,1,0,0,0,0,227,1,0,0,0,0,229,1,0,0,0,0,239,1,0, + 0,0,0,241,1,0,0,0,0,245,1,0,0,0,1,247,1,0,0,0,3,249,1,0,0,0,5,251, + 1,0,0,0,7,253,1,0,0,0,9,255,1,0,0,0,11,257,1,0,0,0,13,259,1,0,0, + 0,15,264,1,0,0,0,17,270,1,0,0,0,19,275,1,0,0,0,21,285,1,0,0,0,23, + 294,1,0,0,0,25,304,1,0,0,0,27,316,1,0,0,0,29,323,1,0,0,0,31,330, + 1,0,0,0,33,339,1,0,0,0,35,346,1,0,0,0,37,356,1,0,0,0,39,363,1,0, + 0,0,41,370,1,0,0,0,43,381,1,0,0,0,45,387,1,0,0,0,47,397,1,0,0,0, + 49,408,1,0,0,0,51,418,1,0,0,0,53,429,1,0,0,0,55,435,1,0,0,0,57,451, + 1,0,0,0,59,471,1,0,0,0,61,483,1,0,0,0,63,492,1,0,0,0,65,504,1,0, + 0,0,67,516,1,0,0,0,69,527,1,0,0,0,71,541,1,0,0,0,73,547,1,0,0,0, + 75,563,1,0,0,0,77,583,1,0,0,0,79,604,1,0,0,0,81,629,1,0,0,0,83,656, + 1,0,0,0,85,687,1,0,0,0,87,705,1,0,0,0,89,727,1,0,0,0,91,751,1,0, + 0,0,93,779,1,0,0,0,95,784,1,0,0,0,97,799,1,0,0,0,99,818,1,0,0,0, + 101,838,1,0,0,0,103,862,1,0,0,0,105,888,1,0,0,0,107,918,1,0,0,0, + 109,935,1,0,0,0,111,956,1,0,0,0,113,979,1,0,0,0,115,1006,1,0,0,0, + 117,1022,1,0,0,0,119,1040,1,0,0,0,121,1062,1,0,0,0,123,1085,1,0, + 0,0,125,1112,1,0,0,0,127,1141,1,0,0,0,129,1174,1,0,0,0,131,1194, + 1,0,0,0,133,1218,1,0,0,0,135,1244,1,0,0,0,137,1274,1,0,0,0,139,1288, + 1,0,0,0,141,1298,1,0,0,0,143,1314,1,0,0,0,145,1326,1,0,0,0,147,1343, + 1,0,0,0,149,1364,1,0,0,0,151,1382,1,0,0,0,153,1389,1,0,0,0,155,1398, + 1,0,0,0,157,1414,1,0,0,0,159,1431,1,0,0,0,161,1442,1,0,0,0,163,1454, + 1,0,0,0,165,1467,1,0,0,0,167,1479,1,0,0,0,169,1492,1,0,0,0,171,1501, + 1,0,0,0,173,1514,1,0,0,0,175,1531,1,0,0,0,177,1538,1,0,0,0,179,1544, + 1,0,0,0,181,1552,1,0,0,0,183,1560,1,0,0,0,185,1568,1,0,0,0,187,1582, + 1,0,0,0,189,1600,1,0,0,0,191,1614,1,0,0,0,193,1628,1,0,0,0,195,1636, + 1,0,0,0,197,1649,1,0,0,0,199,1675,1,0,0,0,201,1692,1,0,0,0,203,1712, + 1,0,0,0,205,1733,1,0,0,0,207,1765,1,0,0,0,209,1795,1,0,0,0,211,1817, + 1,0,0,0,213,1842,1,0,0,0,215,1868,1,0,0,0,217,1909,1,0,0,0,219,1935, + 1,0,0,0,221,1963,1,0,0,0,223,1980,1,0,0,0,225,1992,1,0,0,0,227,2006, + 1,0,0,0,229,2018,1,0,0,0,231,2028,1,0,0,0,233,2033,1,0,0,0,235,2039, + 1,0,0,0,237,2041,1,0,0,0,239,2051,1,0,0,0,241,2054,1,0,0,0,243,2068, + 1,0,0,0,245,2075,1,0,0,0,247,248,5,44,0,0,248,2,1,0,0,0,249,250, + 5,58,0,0,250,4,1,0,0,0,251,252,5,91,0,0,252,6,1,0,0,0,253,254,5, + 93,0,0,254,8,1,0,0,0,255,256,5,123,0,0,256,10,1,0,0,0,257,258,5, + 125,0,0,258,12,1,0,0,0,259,260,5,116,0,0,260,261,5,114,0,0,261,262, + 5,117,0,0,262,263,5,101,0,0,263,14,1,0,0,0,264,265,5,102,0,0,265, + 266,5,97,0,0,266,267,5,108,0,0,267,268,5,115,0,0,268,269,5,101,0, + 0,269,16,1,0,0,0,270,271,5,110,0,0,271,272,5,117,0,0,272,273,5,108, + 0,0,273,274,5,108,0,0,274,18,1,0,0,0,275,276,5,34,0,0,276,277,5, + 67,0,0,277,278,5,111,0,0,278,279,5,109,0,0,279,280,5,109,0,0,280, + 281,5,101,0,0,281,282,5,110,0,0,282,283,5,116,0,0,283,284,5,34,0, + 0,284,20,1,0,0,0,285,286,5,34,0,0,286,287,5,83,0,0,287,288,5,116, + 0,0,288,289,5,97,0,0,289,290,5,116,0,0,290,291,5,101,0,0,291,292, + 5,115,0,0,292,293,5,34,0,0,293,22,1,0,0,0,294,295,5,34,0,0,295,296, + 5,83,0,0,296,297,5,116,0,0,297,298,5,97,0,0,298,299,5,114,0,0,299, + 300,5,116,0,0,300,301,5,65,0,0,301,302,5,116,0,0,302,303,5,34,0, + 0,303,24,1,0,0,0,304,305,5,34,0,0,305,306,5,78,0,0,306,307,5,101, + 0,0,307,308,5,120,0,0,308,309,5,116,0,0,309,310,5,83,0,0,310,311, + 5,116,0,0,311,312,5,97,0,0,312,313,5,116,0,0,313,314,5,101,0,0,314, + 315,5,34,0,0,315,26,1,0,0,0,316,317,5,34,0,0,317,318,5,84,0,0,318, + 319,5,121,0,0,319,320,5,112,0,0,320,321,5,101,0,0,321,322,5,34,0, + 0,322,28,1,0,0,0,323,324,5,34,0,0,324,325,5,84,0,0,325,326,5,97, + 0,0,326,327,5,115,0,0,327,328,5,107,0,0,328,329,5,34,0,0,329,30, + 1,0,0,0,330,331,5,34,0,0,331,332,5,67,0,0,332,333,5,104,0,0,333, + 334,5,111,0,0,334,335,5,105,0,0,335,336,5,99,0,0,336,337,5,101,0, + 0,337,338,5,34,0,0,338,32,1,0,0,0,339,340,5,34,0,0,340,341,5,70, + 0,0,341,342,5,97,0,0,342,343,5,105,0,0,343,344,5,108,0,0,344,345, + 5,34,0,0,345,34,1,0,0,0,346,347,5,34,0,0,347,348,5,83,0,0,348,349, + 5,117,0,0,349,350,5,99,0,0,350,351,5,99,0,0,351,352,5,101,0,0,352, + 353,5,101,0,0,353,354,5,100,0,0,354,355,5,34,0,0,355,36,1,0,0,0, + 356,357,5,34,0,0,357,358,5,80,0,0,358,359,5,97,0,0,359,360,5,115, + 0,0,360,361,5,115,0,0,361,362,5,34,0,0,362,38,1,0,0,0,363,364,5, + 34,0,0,364,365,5,87,0,0,365,366,5,97,0,0,366,367,5,105,0,0,367,368, + 5,116,0,0,368,369,5,34,0,0,369,40,1,0,0,0,370,371,5,34,0,0,371,372, + 5,80,0,0,372,373,5,97,0,0,373,374,5,114,0,0,374,375,5,97,0,0,375, + 376,5,108,0,0,376,377,5,108,0,0,377,378,5,101,0,0,378,379,5,108, + 0,0,379,380,5,34,0,0,380,42,1,0,0,0,381,382,5,34,0,0,382,383,5,77, + 0,0,383,384,5,97,0,0,384,385,5,112,0,0,385,386,5,34,0,0,386,44,1, + 0,0,0,387,388,5,34,0,0,388,389,5,67,0,0,389,390,5,104,0,0,390,391, + 5,111,0,0,391,392,5,105,0,0,392,393,5,99,0,0,393,394,5,101,0,0,394, + 395,5,115,0,0,395,396,5,34,0,0,396,46,1,0,0,0,397,398,5,34,0,0,398, + 399,5,86,0,0,399,400,5,97,0,0,400,401,5,114,0,0,401,402,5,105,0, + 0,402,403,5,97,0,0,403,404,5,98,0,0,404,405,5,108,0,0,405,406,5, + 101,0,0,406,407,5,34,0,0,407,48,1,0,0,0,408,409,5,34,0,0,409,410, + 5,68,0,0,410,411,5,101,0,0,411,412,5,102,0,0,412,413,5,97,0,0,413, + 414,5,117,0,0,414,415,5,108,0,0,415,416,5,116,0,0,416,417,5,34,0, + 0,417,50,1,0,0,0,418,419,5,34,0,0,419,420,5,66,0,0,420,421,5,114, + 0,0,421,422,5,97,0,0,422,423,5,110,0,0,423,424,5,99,0,0,424,425, + 5,104,0,0,425,426,5,101,0,0,426,427,5,115,0,0,427,428,5,34,0,0,428, + 52,1,0,0,0,429,430,5,34,0,0,430,431,5,65,0,0,431,432,5,110,0,0,432, + 433,5,100,0,0,433,434,5,34,0,0,434,54,1,0,0,0,435,436,5,34,0,0,436, + 437,5,66,0,0,437,438,5,111,0,0,438,439,5,111,0,0,439,440,5,108,0, + 0,440,441,5,101,0,0,441,442,5,97,0,0,442,443,5,110,0,0,443,444,5, + 69,0,0,444,445,5,113,0,0,445,446,5,117,0,0,446,447,5,97,0,0,447, + 448,5,108,0,0,448,449,5,115,0,0,449,450,5,34,0,0,450,56,1,0,0,0, + 451,452,5,34,0,0,452,453,5,66,0,0,453,454,5,111,0,0,454,455,5,111, + 0,0,455,456,5,108,0,0,456,457,5,101,0,0,457,458,5,97,0,0,458,459, + 5,110,0,0,459,460,5,69,0,0,460,461,5,113,0,0,461,462,5,117,0,0,462, + 463,5,97,0,0,463,464,5,108,0,0,464,465,5,115,0,0,465,466,5,80,0, + 0,466,467,5,97,0,0,467,468,5,116,0,0,468,469,5,104,0,0,469,470,5, + 34,0,0,470,58,1,0,0,0,471,472,5,34,0,0,472,473,5,73,0,0,473,474, + 5,115,0,0,474,475,5,66,0,0,475,476,5,111,0,0,476,477,5,111,0,0,477, + 478,5,108,0,0,478,479,5,101,0,0,479,480,5,97,0,0,480,481,5,110,0, + 0,481,482,5,34,0,0,482,60,1,0,0,0,483,484,5,34,0,0,484,485,5,73, + 0,0,485,486,5,115,0,0,486,487,5,78,0,0,487,488,5,117,0,0,488,489, + 5,108,0,0,489,490,5,108,0,0,490,491,5,34,0,0,491,62,1,0,0,0,492, + 493,5,34,0,0,493,494,5,73,0,0,494,495,5,115,0,0,495,496,5,78,0,0, + 496,497,5,117,0,0,497,498,5,109,0,0,498,499,5,101,0,0,499,500,5, + 114,0,0,500,501,5,105,0,0,501,502,5,99,0,0,502,503,5,34,0,0,503, + 64,1,0,0,0,504,505,5,34,0,0,505,506,5,73,0,0,506,507,5,115,0,0,507, + 508,5,80,0,0,508,509,5,114,0,0,509,510,5,101,0,0,510,511,5,115,0, + 0,511,512,5,101,0,0,512,513,5,110,0,0,513,514,5,116,0,0,514,515, + 5,34,0,0,515,66,1,0,0,0,516,517,5,34,0,0,517,518,5,73,0,0,518,519, + 5,115,0,0,519,520,5,83,0,0,520,521,5,116,0,0,521,522,5,114,0,0,522, + 523,5,105,0,0,523,524,5,110,0,0,524,525,5,103,0,0,525,526,5,34,0, + 0,526,68,1,0,0,0,527,528,5,34,0,0,528,529,5,73,0,0,529,530,5,115, + 0,0,530,531,5,84,0,0,531,532,5,105,0,0,532,533,5,109,0,0,533,534, + 5,101,0,0,534,535,5,115,0,0,535,536,5,116,0,0,536,537,5,97,0,0,537, + 538,5,109,0,0,538,539,5,112,0,0,539,540,5,34,0,0,540,70,1,0,0,0, + 541,542,5,34,0,0,542,543,5,78,0,0,543,544,5,111,0,0,544,545,5,116, + 0,0,545,546,5,34,0,0,546,72,1,0,0,0,547,548,5,34,0,0,548,549,5,78, + 0,0,549,550,5,117,0,0,550,551,5,109,0,0,551,552,5,101,0,0,552,553, + 5,114,0,0,553,554,5,105,0,0,554,555,5,99,0,0,555,556,5,69,0,0,556, + 557,5,113,0,0,557,558,5,117,0,0,558,559,5,97,0,0,559,560,5,108,0, + 0,560,561,5,115,0,0,561,562,5,34,0,0,562,74,1,0,0,0,563,564,5,34, + 0,0,564,565,5,78,0,0,565,566,5,117,0,0,566,567,5,109,0,0,567,568, + 5,101,0,0,568,569,5,114,0,0,569,570,5,105,0,0,570,571,5,99,0,0,571, + 572,5,69,0,0,572,573,5,113,0,0,573,574,5,117,0,0,574,575,5,97,0, + 0,575,576,5,108,0,0,576,577,5,115,0,0,577,578,5,80,0,0,578,579,5, + 97,0,0,579,580,5,116,0,0,580,581,5,104,0,0,581,582,5,34,0,0,582, + 76,1,0,0,0,583,584,5,34,0,0,584,585,5,78,0,0,585,586,5,117,0,0,586, + 587,5,109,0,0,587,588,5,101,0,0,588,589,5,114,0,0,589,590,5,105, + 0,0,590,591,5,99,0,0,591,592,5,71,0,0,592,593,5,114,0,0,593,594, + 5,101,0,0,594,595,5,97,0,0,595,596,5,116,0,0,596,597,5,101,0,0,597, + 598,5,114,0,0,598,599,5,84,0,0,599,600,5,104,0,0,600,601,5,97,0, + 0,601,602,5,110,0,0,602,603,5,34,0,0,603,78,1,0,0,0,604,605,5,34, + 0,0,605,606,5,78,0,0,606,607,5,117,0,0,607,608,5,109,0,0,608,609, + 5,101,0,0,609,610,5,114,0,0,610,611,5,105,0,0,611,612,5,99,0,0,612, + 613,5,71,0,0,613,614,5,114,0,0,614,615,5,101,0,0,615,616,5,97,0, + 0,616,617,5,116,0,0,617,618,5,101,0,0,618,619,5,114,0,0,619,620, + 5,84,0,0,620,621,5,104,0,0,621,622,5,97,0,0,622,623,5,110,0,0,623, + 624,5,80,0,0,624,625,5,97,0,0,625,626,5,116,0,0,626,627,5,104,0, + 0,627,628,5,34,0,0,628,80,1,0,0,0,629,630,5,34,0,0,630,631,5,78, + 0,0,631,632,5,117,0,0,632,633,5,109,0,0,633,634,5,101,0,0,634,635, + 5,114,0,0,635,636,5,105,0,0,636,637,5,99,0,0,637,638,5,71,0,0,638, + 639,5,114,0,0,639,640,5,101,0,0,640,641,5,97,0,0,641,642,5,116,0, + 0,642,643,5,101,0,0,643,644,5,114,0,0,644,645,5,84,0,0,645,646,5, + 104,0,0,646,647,5,97,0,0,647,648,5,110,0,0,648,649,5,69,0,0,649, + 650,5,113,0,0,650,651,5,117,0,0,651,652,5,97,0,0,652,653,5,108,0, + 0,653,654,5,115,0,0,654,655,5,34,0,0,655,82,1,0,0,0,656,657,5,34, + 0,0,657,658,5,78,0,0,658,659,5,117,0,0,659,660,5,109,0,0,660,661, + 5,101,0,0,661,662,5,114,0,0,662,663,5,105,0,0,663,664,5,99,0,0,664, + 665,5,71,0,0,665,666,5,114,0,0,666,667,5,101,0,0,667,668,5,97,0, + 0,668,669,5,116,0,0,669,670,5,101,0,0,670,671,5,114,0,0,671,672, + 5,84,0,0,672,673,5,104,0,0,673,674,5,97,0,0,674,675,5,110,0,0,675, + 676,5,69,0,0,676,677,5,113,0,0,677,678,5,117,0,0,678,679,5,97,0, + 0,679,680,5,108,0,0,680,681,5,115,0,0,681,682,5,80,0,0,682,683,5, + 97,0,0,683,684,5,116,0,0,684,685,5,104,0,0,685,686,5,34,0,0,686, + 84,1,0,0,0,687,688,5,34,0,0,688,689,5,78,0,0,689,690,5,117,0,0,690, + 691,5,109,0,0,691,692,5,101,0,0,692,693,5,114,0,0,693,694,5,105, + 0,0,694,695,5,99,0,0,695,696,5,76,0,0,696,697,5,101,0,0,697,698, + 5,115,0,0,698,699,5,115,0,0,699,700,5,84,0,0,700,701,5,104,0,0,701, + 702,5,97,0,0,702,703,5,110,0,0,703,704,5,34,0,0,704,86,1,0,0,0,705, + 706,5,34,0,0,706,707,5,78,0,0,707,708,5,117,0,0,708,709,5,109,0, + 0,709,710,5,101,0,0,710,711,5,114,0,0,711,712,5,105,0,0,712,713, + 5,99,0,0,713,714,5,76,0,0,714,715,5,101,0,0,715,716,5,115,0,0,716, + 717,5,115,0,0,717,718,5,84,0,0,718,719,5,104,0,0,719,720,5,97,0, + 0,720,721,5,110,0,0,721,722,5,80,0,0,722,723,5,97,0,0,723,724,5, + 116,0,0,724,725,5,104,0,0,725,726,5,34,0,0,726,88,1,0,0,0,727,728, + 5,34,0,0,728,729,5,78,0,0,729,730,5,117,0,0,730,731,5,109,0,0,731, + 732,5,101,0,0,732,733,5,114,0,0,733,734,5,105,0,0,734,735,5,99,0, + 0,735,736,5,76,0,0,736,737,5,101,0,0,737,738,5,115,0,0,738,739,5, + 115,0,0,739,740,5,84,0,0,740,741,5,104,0,0,741,742,5,97,0,0,742, + 743,5,110,0,0,743,744,5,69,0,0,744,745,5,113,0,0,745,746,5,117,0, + 0,746,747,5,97,0,0,747,748,5,108,0,0,748,749,5,115,0,0,749,750,5, + 34,0,0,750,90,1,0,0,0,751,752,5,34,0,0,752,753,5,78,0,0,753,754, + 5,117,0,0,754,755,5,109,0,0,755,756,5,101,0,0,756,757,5,114,0,0, + 757,758,5,105,0,0,758,759,5,99,0,0,759,760,5,76,0,0,760,761,5,101, + 0,0,761,762,5,115,0,0,762,763,5,115,0,0,763,764,5,84,0,0,764,765, + 5,104,0,0,765,766,5,97,0,0,766,767,5,110,0,0,767,768,5,69,0,0,768, + 769,5,113,0,0,769,770,5,117,0,0,770,771,5,97,0,0,771,772,5,108,0, + 0,772,773,5,115,0,0,773,774,5,80,0,0,774,775,5,97,0,0,775,776,5, + 116,0,0,776,777,5,104,0,0,777,778,5,34,0,0,778,92,1,0,0,0,779,780, + 5,34,0,0,780,781,5,79,0,0,781,782,5,114,0,0,782,783,5,34,0,0,783, + 94,1,0,0,0,784,785,5,34,0,0,785,786,5,83,0,0,786,787,5,116,0,0,787, + 788,5,114,0,0,788,789,5,105,0,0,789,790,5,110,0,0,790,791,5,103, + 0,0,791,792,5,69,0,0,792,793,5,113,0,0,793,794,5,117,0,0,794,795, + 5,97,0,0,795,796,5,108,0,0,796,797,5,115,0,0,797,798,5,34,0,0,798, + 96,1,0,0,0,799,800,5,34,0,0,800,801,5,83,0,0,801,802,5,116,0,0,802, + 803,5,114,0,0,803,804,5,105,0,0,804,805,5,110,0,0,805,806,5,103, + 0,0,806,807,5,69,0,0,807,808,5,113,0,0,808,809,5,117,0,0,809,810, + 5,97,0,0,810,811,5,108,0,0,811,812,5,115,0,0,812,813,5,80,0,0,813, + 814,5,97,0,0,814,815,5,116,0,0,815,816,5,104,0,0,816,817,5,34,0, + 0,817,98,1,0,0,0,818,819,5,34,0,0,819,820,5,83,0,0,820,821,5,116, + 0,0,821,822,5,114,0,0,822,823,5,105,0,0,823,824,5,110,0,0,824,825, + 5,103,0,0,825,826,5,71,0,0,826,827,5,114,0,0,827,828,5,101,0,0,828, + 829,5,97,0,0,829,830,5,116,0,0,830,831,5,101,0,0,831,832,5,114,0, + 0,832,833,5,84,0,0,833,834,5,104,0,0,834,835,5,97,0,0,835,836,5, + 110,0,0,836,837,5,34,0,0,837,100,1,0,0,0,838,839,5,34,0,0,839,840, + 5,83,0,0,840,841,5,116,0,0,841,842,5,114,0,0,842,843,5,105,0,0,843, + 844,5,110,0,0,844,845,5,103,0,0,845,846,5,71,0,0,846,847,5,114,0, + 0,847,848,5,101,0,0,848,849,5,97,0,0,849,850,5,116,0,0,850,851,5, + 101,0,0,851,852,5,114,0,0,852,853,5,84,0,0,853,854,5,104,0,0,854, + 855,5,97,0,0,855,856,5,110,0,0,856,857,5,80,0,0,857,858,5,97,0,0, + 858,859,5,116,0,0,859,860,5,104,0,0,860,861,5,34,0,0,861,102,1,0, + 0,0,862,863,5,34,0,0,863,864,5,83,0,0,864,865,5,116,0,0,865,866, + 5,114,0,0,866,867,5,105,0,0,867,868,5,110,0,0,868,869,5,103,0,0, + 869,870,5,71,0,0,870,871,5,114,0,0,871,872,5,101,0,0,872,873,5,97, + 0,0,873,874,5,116,0,0,874,875,5,101,0,0,875,876,5,114,0,0,876,877, + 5,84,0,0,877,878,5,104,0,0,878,879,5,97,0,0,879,880,5,110,0,0,880, + 881,5,69,0,0,881,882,5,113,0,0,882,883,5,117,0,0,883,884,5,97,0, + 0,884,885,5,108,0,0,885,886,5,115,0,0,886,887,5,34,0,0,887,104,1, + 0,0,0,888,889,5,34,0,0,889,890,5,83,0,0,890,891,5,116,0,0,891,892, + 5,114,0,0,892,893,5,105,0,0,893,894,5,110,0,0,894,895,5,103,0,0, + 895,896,5,71,0,0,896,897,5,114,0,0,897,898,5,101,0,0,898,899,5,97, + 0,0,899,900,5,116,0,0,900,901,5,101,0,0,901,902,5,114,0,0,902,903, + 5,84,0,0,903,904,5,104,0,0,904,905,5,97,0,0,905,906,5,110,0,0,906, + 907,5,69,0,0,907,908,5,113,0,0,908,909,5,117,0,0,909,910,5,97,0, + 0,910,911,5,108,0,0,911,912,5,115,0,0,912,913,5,80,0,0,913,914,5, + 97,0,0,914,915,5,116,0,0,915,916,5,104,0,0,916,917,5,34,0,0,917, + 106,1,0,0,0,918,919,5,34,0,0,919,920,5,83,0,0,920,921,5,116,0,0, + 921,922,5,114,0,0,922,923,5,105,0,0,923,924,5,110,0,0,924,925,5, + 103,0,0,925,926,5,76,0,0,926,927,5,101,0,0,927,928,5,115,0,0,928, + 929,5,115,0,0,929,930,5,84,0,0,930,931,5,104,0,0,931,932,5,97,0, + 0,932,933,5,110,0,0,933,934,5,34,0,0,934,108,1,0,0,0,935,936,5,34, + 0,0,936,937,5,83,0,0,937,938,5,116,0,0,938,939,5,114,0,0,939,940, + 5,105,0,0,940,941,5,110,0,0,941,942,5,103,0,0,942,943,5,76,0,0,943, + 944,5,101,0,0,944,945,5,115,0,0,945,946,5,115,0,0,946,947,5,84,0, + 0,947,948,5,104,0,0,948,949,5,97,0,0,949,950,5,110,0,0,950,951,5, + 80,0,0,951,952,5,97,0,0,952,953,5,116,0,0,953,954,5,104,0,0,954, + 955,5,34,0,0,955,110,1,0,0,0,956,957,5,34,0,0,957,958,5,83,0,0,958, + 959,5,116,0,0,959,960,5,114,0,0,960,961,5,105,0,0,961,962,5,110, + 0,0,962,963,5,103,0,0,963,964,5,76,0,0,964,965,5,101,0,0,965,966, + 5,115,0,0,966,967,5,115,0,0,967,968,5,84,0,0,968,969,5,104,0,0,969, + 970,5,97,0,0,970,971,5,110,0,0,971,972,5,69,0,0,972,973,5,113,0, + 0,973,974,5,117,0,0,974,975,5,97,0,0,975,976,5,108,0,0,976,977,5, + 115,0,0,977,978,5,34,0,0,978,112,1,0,0,0,979,980,5,34,0,0,980,981, + 5,83,0,0,981,982,5,116,0,0,982,983,5,114,0,0,983,984,5,105,0,0,984, + 985,5,110,0,0,985,986,5,103,0,0,986,987,5,76,0,0,987,988,5,101,0, + 0,988,989,5,115,0,0,989,990,5,115,0,0,990,991,5,84,0,0,991,992,5, + 104,0,0,992,993,5,97,0,0,993,994,5,110,0,0,994,995,5,69,0,0,995, + 996,5,113,0,0,996,997,5,117,0,0,997,998,5,97,0,0,998,999,5,108,0, + 0,999,1000,5,115,0,0,1000,1001,5,80,0,0,1001,1002,5,97,0,0,1002, + 1003,5,116,0,0,1003,1004,5,104,0,0,1004,1005,5,34,0,0,1005,114,1, + 0,0,0,1006,1007,5,34,0,0,1007,1008,5,83,0,0,1008,1009,5,116,0,0, + 1009,1010,5,114,0,0,1010,1011,5,105,0,0,1011,1012,5,110,0,0,1012, + 1013,5,103,0,0,1013,1014,5,77,0,0,1014,1015,5,97,0,0,1015,1016,5, + 116,0,0,1016,1017,5,99,0,0,1017,1018,5,104,0,0,1018,1019,5,101,0, + 0,1019,1020,5,115,0,0,1020,1021,5,34,0,0,1021,116,1,0,0,0,1022,1023, + 5,34,0,0,1023,1024,5,84,0,0,1024,1025,5,105,0,0,1025,1026,5,109, + 0,0,1026,1027,5,101,0,0,1027,1028,5,115,0,0,1028,1029,5,116,0,0, + 1029,1030,5,97,0,0,1030,1031,5,109,0,0,1031,1032,5,112,0,0,1032, + 1033,5,69,0,0,1033,1034,5,113,0,0,1034,1035,5,117,0,0,1035,1036, + 5,97,0,0,1036,1037,5,108,0,0,1037,1038,5,115,0,0,1038,1039,5,34, + 0,0,1039,118,1,0,0,0,1040,1041,5,34,0,0,1041,1042,5,84,0,0,1042, + 1043,5,105,0,0,1043,1044,5,109,0,0,1044,1045,5,101,0,0,1045,1046, + 5,115,0,0,1046,1047,5,116,0,0,1047,1048,5,97,0,0,1048,1049,5,109, + 0,0,1049,1050,5,112,0,0,1050,1051,5,69,0,0,1051,1052,5,113,0,0,1052, + 1053,5,117,0,0,1053,1054,5,97,0,0,1054,1055,5,108,0,0,1055,1056, + 5,115,0,0,1056,1057,5,80,0,0,1057,1058,5,97,0,0,1058,1059,5,116, + 0,0,1059,1060,5,104,0,0,1060,1061,5,34,0,0,1061,120,1,0,0,0,1062, + 1063,5,34,0,0,1063,1064,5,84,0,0,1064,1065,5,105,0,0,1065,1066,5, + 109,0,0,1066,1067,5,101,0,0,1067,1068,5,115,0,0,1068,1069,5,116, + 0,0,1069,1070,5,97,0,0,1070,1071,5,109,0,0,1071,1072,5,112,0,0,1072, + 1073,5,71,0,0,1073,1074,5,114,0,0,1074,1075,5,101,0,0,1075,1076, + 5,97,0,0,1076,1077,5,116,0,0,1077,1078,5,101,0,0,1078,1079,5,114, + 0,0,1079,1080,5,84,0,0,1080,1081,5,104,0,0,1081,1082,5,97,0,0,1082, + 1083,5,110,0,0,1083,1084,5,34,0,0,1084,122,1,0,0,0,1085,1086,5,34, + 0,0,1086,1087,5,84,0,0,1087,1088,5,105,0,0,1088,1089,5,109,0,0,1089, + 1090,5,101,0,0,1090,1091,5,115,0,0,1091,1092,5,116,0,0,1092,1093, + 5,97,0,0,1093,1094,5,109,0,0,1094,1095,5,112,0,0,1095,1096,5,71, + 0,0,1096,1097,5,114,0,0,1097,1098,5,101,0,0,1098,1099,5,97,0,0,1099, + 1100,5,116,0,0,1100,1101,5,101,0,0,1101,1102,5,114,0,0,1102,1103, + 5,84,0,0,1103,1104,5,104,0,0,1104,1105,5,97,0,0,1105,1106,5,110, + 0,0,1106,1107,5,80,0,0,1107,1108,5,97,0,0,1108,1109,5,116,0,0,1109, + 1110,5,104,0,0,1110,1111,5,34,0,0,1111,124,1,0,0,0,1112,1113,5,34, + 0,0,1113,1114,5,84,0,0,1114,1115,5,105,0,0,1115,1116,5,109,0,0,1116, + 1117,5,101,0,0,1117,1118,5,115,0,0,1118,1119,5,116,0,0,1119,1120, + 5,97,0,0,1120,1121,5,109,0,0,1121,1122,5,112,0,0,1122,1123,5,71, + 0,0,1123,1124,5,114,0,0,1124,1125,5,101,0,0,1125,1126,5,97,0,0,1126, + 1127,5,116,0,0,1127,1128,5,101,0,0,1128,1129,5,114,0,0,1129,1130, + 5,84,0,0,1130,1131,5,104,0,0,1131,1132,5,97,0,0,1132,1133,5,110, + 0,0,1133,1134,5,69,0,0,1134,1135,5,113,0,0,1135,1136,5,117,0,0,1136, + 1137,5,97,0,0,1137,1138,5,108,0,0,1138,1139,5,115,0,0,1139,1140, + 5,34,0,0,1140,126,1,0,0,0,1141,1142,5,34,0,0,1142,1143,5,84,0,0, + 1143,1144,5,105,0,0,1144,1145,5,109,0,0,1145,1146,5,101,0,0,1146, + 1147,5,115,0,0,1147,1148,5,116,0,0,1148,1149,5,97,0,0,1149,1150, + 5,109,0,0,1150,1151,5,112,0,0,1151,1152,5,71,0,0,1152,1153,5,114, + 0,0,1153,1154,5,101,0,0,1154,1155,5,97,0,0,1155,1156,5,116,0,0,1156, + 1157,5,101,0,0,1157,1158,5,114,0,0,1158,1159,5,84,0,0,1159,1160, + 5,104,0,0,1160,1161,5,97,0,0,1161,1162,5,110,0,0,1162,1163,5,69, + 0,0,1163,1164,5,113,0,0,1164,1165,5,117,0,0,1165,1166,5,97,0,0,1166, + 1167,5,108,0,0,1167,1168,5,115,0,0,1168,1169,5,80,0,0,1169,1170, + 5,97,0,0,1170,1171,5,116,0,0,1171,1172,5,104,0,0,1172,1173,5,34, + 0,0,1173,128,1,0,0,0,1174,1175,5,34,0,0,1175,1176,5,84,0,0,1176, + 1177,5,105,0,0,1177,1178,5,109,0,0,1178,1179,5,101,0,0,1179,1180, + 5,115,0,0,1180,1181,5,116,0,0,1181,1182,5,97,0,0,1182,1183,5,109, + 0,0,1183,1184,5,112,0,0,1184,1185,5,76,0,0,1185,1186,5,101,0,0,1186, + 1187,5,115,0,0,1187,1188,5,115,0,0,1188,1189,5,84,0,0,1189,1190, + 5,104,0,0,1190,1191,5,97,0,0,1191,1192,5,110,0,0,1192,1193,5,34, + 0,0,1193,130,1,0,0,0,1194,1195,5,34,0,0,1195,1196,5,84,0,0,1196, + 1197,5,105,0,0,1197,1198,5,109,0,0,1198,1199,5,101,0,0,1199,1200, + 5,115,0,0,1200,1201,5,116,0,0,1201,1202,5,97,0,0,1202,1203,5,109, + 0,0,1203,1204,5,112,0,0,1204,1205,5,76,0,0,1205,1206,5,101,0,0,1206, + 1207,5,115,0,0,1207,1208,5,115,0,0,1208,1209,5,84,0,0,1209,1210, + 5,104,0,0,1210,1211,5,97,0,0,1211,1212,5,110,0,0,1212,1213,5,80, + 0,0,1213,1214,5,97,0,0,1214,1215,5,116,0,0,1215,1216,5,104,0,0,1216, + 1217,5,34,0,0,1217,132,1,0,0,0,1218,1219,5,34,0,0,1219,1220,5,84, + 0,0,1220,1221,5,105,0,0,1221,1222,5,109,0,0,1222,1223,5,101,0,0, + 1223,1224,5,115,0,0,1224,1225,5,116,0,0,1225,1226,5,97,0,0,1226, + 1227,5,109,0,0,1227,1228,5,112,0,0,1228,1229,5,76,0,0,1229,1230, + 5,101,0,0,1230,1231,5,115,0,0,1231,1232,5,115,0,0,1232,1233,5,84, + 0,0,1233,1234,5,104,0,0,1234,1235,5,97,0,0,1235,1236,5,110,0,0,1236, + 1237,5,69,0,0,1237,1238,5,113,0,0,1238,1239,5,117,0,0,1239,1240, + 5,97,0,0,1240,1241,5,108,0,0,1241,1242,5,115,0,0,1242,1243,5,34, + 0,0,1243,134,1,0,0,0,1244,1245,5,34,0,0,1245,1246,5,84,0,0,1246, + 1247,5,105,0,0,1247,1248,5,109,0,0,1248,1249,5,101,0,0,1249,1250, + 5,115,0,0,1250,1251,5,116,0,0,1251,1252,5,97,0,0,1252,1253,5,109, + 0,0,1253,1254,5,112,0,0,1254,1255,5,76,0,0,1255,1256,5,101,0,0,1256, + 1257,5,115,0,0,1257,1258,5,115,0,0,1258,1259,5,84,0,0,1259,1260, + 5,104,0,0,1260,1261,5,97,0,0,1261,1262,5,110,0,0,1262,1263,5,69, + 0,0,1263,1264,5,113,0,0,1264,1265,5,117,0,0,1265,1266,5,97,0,0,1266, + 1267,5,108,0,0,1267,1268,5,115,0,0,1268,1269,5,80,0,0,1269,1270, + 5,97,0,0,1270,1271,5,116,0,0,1271,1272,5,104,0,0,1272,1273,5,34, + 0,0,1273,136,1,0,0,0,1274,1275,5,34,0,0,1275,1276,5,83,0,0,1276, + 1277,5,101,0,0,1277,1278,5,99,0,0,1278,1279,5,111,0,0,1279,1280, + 5,110,0,0,1280,1281,5,100,0,0,1281,1282,5,115,0,0,1282,1283,5,80, + 0,0,1283,1284,5,97,0,0,1284,1285,5,116,0,0,1285,1286,5,104,0,0,1286, + 1287,5,34,0,0,1287,138,1,0,0,0,1288,1289,5,34,0,0,1289,1290,5,83, + 0,0,1290,1291,5,101,0,0,1291,1292,5,99,0,0,1292,1293,5,111,0,0,1293, + 1294,5,110,0,0,1294,1295,5,100,0,0,1295,1296,5,115,0,0,1296,1297, + 5,34,0,0,1297,140,1,0,0,0,1298,1299,5,34,0,0,1299,1300,5,84,0,0, + 1300,1301,5,105,0,0,1301,1302,5,109,0,0,1302,1303,5,101,0,0,1303, + 1304,5,115,0,0,1304,1305,5,116,0,0,1305,1306,5,97,0,0,1306,1307, + 5,109,0,0,1307,1308,5,112,0,0,1308,1309,5,80,0,0,1309,1310,5,97, + 0,0,1310,1311,5,116,0,0,1311,1312,5,104,0,0,1312,1313,5,34,0,0,1313, + 142,1,0,0,0,1314,1315,5,34,0,0,1315,1316,5,84,0,0,1316,1317,5,105, + 0,0,1317,1318,5,109,0,0,1318,1319,5,101,0,0,1319,1320,5,115,0,0, + 1320,1321,5,116,0,0,1321,1322,5,97,0,0,1322,1323,5,109,0,0,1323, + 1324,5,112,0,0,1324,1325,5,34,0,0,1325,144,1,0,0,0,1326,1327,5,34, + 0,0,1327,1328,5,84,0,0,1328,1329,5,105,0,0,1329,1330,5,109,0,0,1330, + 1331,5,101,0,0,1331,1332,5,111,0,0,1332,1333,5,117,0,0,1333,1334, + 5,116,0,0,1334,1335,5,83,0,0,1335,1336,5,101,0,0,1336,1337,5,99, + 0,0,1337,1338,5,111,0,0,1338,1339,5,110,0,0,1339,1340,5,100,0,0, + 1340,1341,5,115,0,0,1341,1342,5,34,0,0,1342,146,1,0,0,0,1343,1344, + 5,34,0,0,1344,1345,5,84,0,0,1345,1346,5,105,0,0,1346,1347,5,109, + 0,0,1347,1348,5,101,0,0,1348,1349,5,111,0,0,1349,1350,5,117,0,0, + 1350,1351,5,116,0,0,1351,1352,5,83,0,0,1352,1353,5,101,0,0,1353, + 1354,5,99,0,0,1354,1355,5,111,0,0,1355,1356,5,110,0,0,1356,1357, + 5,100,0,0,1357,1358,5,115,0,0,1358,1359,5,80,0,0,1359,1360,5,97, + 0,0,1360,1361,5,116,0,0,1361,1362,5,104,0,0,1362,1363,5,34,0,0,1363, + 148,1,0,0,0,1364,1365,5,34,0,0,1365,1366,5,80,0,0,1366,1367,5,114, + 0,0,1367,1368,5,111,0,0,1368,1369,5,99,0,0,1369,1370,5,101,0,0,1370, + 1371,5,115,0,0,1371,1372,5,115,0,0,1372,1373,5,111,0,0,1373,1374, + 5,114,0,0,1374,1375,5,67,0,0,1375,1376,5,111,0,0,1376,1377,5,110, + 0,0,1377,1378,5,102,0,0,1378,1379,5,105,0,0,1379,1380,5,103,0,0, + 1380,1381,5,34,0,0,1381,150,1,0,0,0,1382,1383,5,34,0,0,1383,1384, + 5,77,0,0,1384,1385,5,111,0,0,1385,1386,5,100,0,0,1386,1387,5,101, + 0,0,1387,1388,5,34,0,0,1388,152,1,0,0,0,1389,1390,5,34,0,0,1390, + 1391,5,73,0,0,1391,1392,5,78,0,0,1392,1393,5,76,0,0,1393,1394,5, + 73,0,0,1394,1395,5,78,0,0,1395,1396,5,69,0,0,1396,1397,5,34,0,0, + 1397,154,1,0,0,0,1398,1399,5,34,0,0,1399,1400,5,73,0,0,1400,1401, + 5,116,0,0,1401,1402,5,101,0,0,1402,1403,5,109,0,0,1403,1404,5,80, + 0,0,1404,1405,5,114,0,0,1405,1406,5,111,0,0,1406,1407,5,99,0,0,1407, + 1408,5,101,0,0,1408,1409,5,115,0,0,1409,1410,5,115,0,0,1410,1411, + 5,111,0,0,1411,1412,5,114,0,0,1412,1413,5,34,0,0,1413,156,1,0,0, + 0,1414,1415,5,34,0,0,1415,1416,5,77,0,0,1416,1417,5,97,0,0,1417, + 1418,5,120,0,0,1418,1419,5,67,0,0,1419,1420,5,111,0,0,1420,1421, + 5,110,0,0,1421,1422,5,99,0,0,1422,1423,5,117,0,0,1423,1424,5,114, + 0,0,1424,1425,5,114,0,0,1425,1426,5,101,0,0,1426,1427,5,110,0,0, + 1427,1428,5,99,0,0,1428,1429,5,121,0,0,1429,1430,5,34,0,0,1430,158, + 1,0,0,0,1431,1432,5,34,0,0,1432,1433,5,82,0,0,1433,1434,5,101,0, + 0,1434,1435,5,115,0,0,1435,1436,5,111,0,0,1436,1437,5,117,0,0,1437, + 1438,5,114,0,0,1438,1439,5,99,0,0,1439,1440,5,101,0,0,1440,1441, + 5,34,0,0,1441,160,1,0,0,0,1442,1443,5,34,0,0,1443,1444,5,73,0,0, + 1444,1445,5,110,0,0,1445,1446,5,112,0,0,1446,1447,5,117,0,0,1447, + 1448,5,116,0,0,1448,1449,5,80,0,0,1449,1450,5,97,0,0,1450,1451,5, + 116,0,0,1451,1452,5,104,0,0,1452,1453,5,34,0,0,1453,162,1,0,0,0, + 1454,1455,5,34,0,0,1455,1456,5,79,0,0,1456,1457,5,117,0,0,1457,1458, + 5,116,0,0,1458,1459,5,112,0,0,1459,1460,5,117,0,0,1460,1461,5,116, + 0,0,1461,1462,5,80,0,0,1462,1463,5,97,0,0,1463,1464,5,116,0,0,1464, + 1465,5,104,0,0,1465,1466,5,34,0,0,1466,164,1,0,0,0,1467,1468,5,34, + 0,0,1468,1469,5,73,0,0,1469,1470,5,116,0,0,1470,1471,5,101,0,0,1471, + 1472,5,109,0,0,1472,1473,5,115,0,0,1473,1474,5,80,0,0,1474,1475, + 5,97,0,0,1475,1476,5,116,0,0,1476,1477,5,104,0,0,1477,1478,5,34, + 0,0,1478,166,1,0,0,0,1479,1480,5,34,0,0,1480,1481,5,82,0,0,1481, + 1482,5,101,0,0,1482,1483,5,115,0,0,1483,1484,5,117,0,0,1484,1485, + 5,108,0,0,1485,1486,5,116,0,0,1486,1487,5,80,0,0,1487,1488,5,97, + 0,0,1488,1489,5,116,0,0,1489,1490,5,104,0,0,1490,1491,5,34,0,0,1491, + 168,1,0,0,0,1492,1493,5,34,0,0,1493,1494,5,82,0,0,1494,1495,5,101, + 0,0,1495,1496,5,115,0,0,1496,1497,5,117,0,0,1497,1498,5,108,0,0, + 1498,1499,5,116,0,0,1499,1500,5,34,0,0,1500,170,1,0,0,0,1501,1502, + 5,34,0,0,1502,1503,5,80,0,0,1503,1504,5,97,0,0,1504,1505,5,114,0, + 0,1505,1506,5,97,0,0,1506,1507,5,109,0,0,1507,1508,5,101,0,0,1508, + 1509,5,116,0,0,1509,1510,5,101,0,0,1510,1511,5,114,0,0,1511,1512, + 5,115,0,0,1512,1513,5,34,0,0,1513,172,1,0,0,0,1514,1515,5,34,0,0, + 1515,1516,5,82,0,0,1516,1517,5,101,0,0,1517,1518,5,115,0,0,1518, + 1519,5,117,0,0,1519,1520,5,108,0,0,1520,1521,5,116,0,0,1521,1522, + 5,83,0,0,1522,1523,5,101,0,0,1523,1524,5,108,0,0,1524,1525,5,101, + 0,0,1525,1526,5,99,0,0,1526,1527,5,116,0,0,1527,1528,5,111,0,0,1528, + 1529,5,114,0,0,1529,1530,5,34,0,0,1530,174,1,0,0,0,1531,1532,5,34, + 0,0,1532,1533,5,78,0,0,1533,1534,5,101,0,0,1534,1535,5,120,0,0,1535, + 1536,5,116,0,0,1536,1537,5,34,0,0,1537,176,1,0,0,0,1538,1539,5,34, + 0,0,1539,1540,5,69,0,0,1540,1541,5,110,0,0,1541,1542,5,100,0,0,1542, + 1543,5,34,0,0,1543,178,1,0,0,0,1544,1545,5,34,0,0,1545,1546,5,67, + 0,0,1546,1547,5,97,0,0,1547,1548,5,117,0,0,1548,1549,5,115,0,0,1549, + 1550,5,101,0,0,1550,1551,5,34,0,0,1551,180,1,0,0,0,1552,1553,5,34, + 0,0,1553,1554,5,69,0,0,1554,1555,5,114,0,0,1555,1556,5,114,0,0,1556, + 1557,5,111,0,0,1557,1558,5,114,0,0,1558,1559,5,34,0,0,1559,182,1, + 0,0,0,1560,1561,5,34,0,0,1561,1562,5,82,0,0,1562,1563,5,101,0,0, + 1563,1564,5,116,0,0,1564,1565,5,114,0,0,1565,1566,5,121,0,0,1566, + 1567,5,34,0,0,1567,184,1,0,0,0,1568,1569,5,34,0,0,1569,1570,5,69, + 0,0,1570,1571,5,114,0,0,1571,1572,5,114,0,0,1572,1573,5,111,0,0, + 1573,1574,5,114,0,0,1574,1575,5,69,0,0,1575,1576,5,113,0,0,1576, + 1577,5,117,0,0,1577,1578,5,97,0,0,1578,1579,5,108,0,0,1579,1580, + 5,115,0,0,1580,1581,5,34,0,0,1581,186,1,0,0,0,1582,1583,5,34,0,0, + 1583,1584,5,73,0,0,1584,1585,5,110,0,0,1585,1586,5,116,0,0,1586, + 1587,5,101,0,0,1587,1588,5,114,0,0,1588,1589,5,118,0,0,1589,1590, + 5,97,0,0,1590,1591,5,108,0,0,1591,1592,5,83,0,0,1592,1593,5,101, + 0,0,1593,1594,5,99,0,0,1594,1595,5,111,0,0,1595,1596,5,110,0,0,1596, + 1597,5,100,0,0,1597,1598,5,115,0,0,1598,1599,5,34,0,0,1599,188,1, + 0,0,0,1600,1601,5,34,0,0,1601,1602,5,77,0,0,1602,1603,5,97,0,0,1603, + 1604,5,120,0,0,1604,1605,5,65,0,0,1605,1606,5,116,0,0,1606,1607, + 5,116,0,0,1607,1608,5,101,0,0,1608,1609,5,109,0,0,1609,1610,5,112, + 0,0,1610,1611,5,116,0,0,1611,1612,5,115,0,0,1612,1613,5,34,0,0,1613, + 190,1,0,0,0,1614,1615,5,34,0,0,1615,1616,5,66,0,0,1616,1617,5,97, + 0,0,1617,1618,5,99,0,0,1618,1619,5,107,0,0,1619,1620,5,111,0,0,1620, + 1621,5,102,0,0,1621,1622,5,102,0,0,1622,1623,5,82,0,0,1623,1624, + 5,97,0,0,1624,1625,5,116,0,0,1625,1626,5,101,0,0,1626,1627,5,34, + 0,0,1627,192,1,0,0,0,1628,1629,5,34,0,0,1629,1630,5,67,0,0,1630, + 1631,5,97,0,0,1631,1632,5,116,0,0,1632,1633,5,99,0,0,1633,1634,5, + 104,0,0,1634,1635,5,34,0,0,1635,194,1,0,0,0,1636,1637,5,34,0,0,1637, + 1638,5,83,0,0,1638,1639,5,116,0,0,1639,1640,5,97,0,0,1640,1641,5, + 116,0,0,1641,1642,5,101,0,0,1642,1643,5,115,0,0,1643,1644,5,46,0, + 0,1644,1645,5,65,0,0,1645,1646,5,76,0,0,1646,1647,5,76,0,0,1647, + 1648,5,34,0,0,1648,196,1,0,0,0,1649,1650,5,34,0,0,1650,1651,5,83, + 0,0,1651,1652,5,116,0,0,1652,1653,5,97,0,0,1653,1654,5,116,0,0,1654, + 1655,5,101,0,0,1655,1656,5,115,0,0,1656,1657,5,46,0,0,1657,1658, + 5,72,0,0,1658,1659,5,101,0,0,1659,1660,5,97,0,0,1660,1661,5,114, + 0,0,1661,1662,5,116,0,0,1662,1663,5,98,0,0,1663,1664,5,101,0,0,1664, + 1665,5,97,0,0,1665,1666,5,116,0,0,1666,1667,5,84,0,0,1667,1668,5, + 105,0,0,1668,1669,5,109,0,0,1669,1670,5,101,0,0,1670,1671,5,111, + 0,0,1671,1672,5,117,0,0,1672,1673,5,116,0,0,1673,1674,5,34,0,0,1674, + 198,1,0,0,0,1675,1676,5,34,0,0,1676,1677,5,83,0,0,1677,1678,5,116, + 0,0,1678,1679,5,97,0,0,1679,1680,5,116,0,0,1680,1681,5,101,0,0,1681, + 1682,5,115,0,0,1682,1683,5,46,0,0,1683,1684,5,84,0,0,1684,1685,5, + 105,0,0,1685,1686,5,109,0,0,1686,1687,5,101,0,0,1687,1688,5,111, + 0,0,1688,1689,5,117,0,0,1689,1690,5,116,0,0,1690,1691,5,34,0,0,1691, + 200,1,0,0,0,1692,1693,5,34,0,0,1693,1694,5,83,0,0,1694,1695,5,116, + 0,0,1695,1696,5,97,0,0,1696,1697,5,116,0,0,1697,1698,5,101,0,0,1698, + 1699,5,115,0,0,1699,1700,5,46,0,0,1700,1701,5,84,0,0,1701,1702,5, + 97,0,0,1702,1703,5,115,0,0,1703,1704,5,107,0,0,1704,1705,5,70,0, + 0,1705,1706,5,97,0,0,1706,1707,5,105,0,0,1707,1708,5,108,0,0,1708, + 1709,5,101,0,0,1709,1710,5,100,0,0,1710,1711,5,34,0,0,1711,202,1, + 0,0,0,1712,1713,5,34,0,0,1713,1714,5,83,0,0,1714,1715,5,116,0,0, + 1715,1716,5,97,0,0,1716,1717,5,116,0,0,1717,1718,5,101,0,0,1718, + 1719,5,115,0,0,1719,1720,5,46,0,0,1720,1721,5,80,0,0,1721,1722,5, + 101,0,0,1722,1723,5,114,0,0,1723,1724,5,109,0,0,1724,1725,5,105, + 0,0,1725,1726,5,115,0,0,1726,1727,5,115,0,0,1727,1728,5,105,0,0, + 1728,1729,5,111,0,0,1729,1730,5,110,0,0,1730,1731,5,115,0,0,1731, + 1732,5,34,0,0,1732,204,1,0,0,0,1733,1734,5,34,0,0,1734,1735,5,83, + 0,0,1735,1736,5,116,0,0,1736,1737,5,97,0,0,1737,1738,5,116,0,0,1738, + 1739,5,101,0,0,1739,1740,5,115,0,0,1740,1741,5,46,0,0,1741,1742, + 5,82,0,0,1742,1743,5,101,0,0,1743,1744,5,115,0,0,1744,1745,5,117, + 0,0,1745,1746,5,108,0,0,1746,1747,5,116,0,0,1747,1748,5,80,0,0,1748, + 1749,5,97,0,0,1749,1750,5,116,0,0,1750,1751,5,104,0,0,1751,1752, + 5,77,0,0,1752,1753,5,97,0,0,1753,1754,5,116,0,0,1754,1755,5,99,0, + 0,1755,1756,5,104,0,0,1756,1757,5,70,0,0,1757,1758,5,97,0,0,1758, + 1759,5,105,0,0,1759,1760,5,108,0,0,1760,1761,5,117,0,0,1761,1762, + 5,114,0,0,1762,1763,5,101,0,0,1763,1764,5,34,0,0,1764,206,1,0,0, + 0,1765,1766,5,34,0,0,1766,1767,5,83,0,0,1767,1768,5,116,0,0,1768, + 1769,5,97,0,0,1769,1770,5,116,0,0,1770,1771,5,101,0,0,1771,1772, + 5,115,0,0,1772,1773,5,46,0,0,1773,1774,5,80,0,0,1774,1775,5,97,0, + 0,1775,1776,5,114,0,0,1776,1777,5,97,0,0,1777,1778,5,109,0,0,1778, + 1779,5,101,0,0,1779,1780,5,116,0,0,1780,1781,5,101,0,0,1781,1782, + 5,114,0,0,1782,1783,5,80,0,0,1783,1784,5,97,0,0,1784,1785,5,116, + 0,0,1785,1786,5,104,0,0,1786,1787,5,70,0,0,1787,1788,5,97,0,0,1788, + 1789,5,105,0,0,1789,1790,5,108,0,0,1790,1791,5,117,0,0,1791,1792, + 5,114,0,0,1792,1793,5,101,0,0,1793,1794,5,34,0,0,1794,208,1,0,0, + 0,1795,1796,5,34,0,0,1796,1797,5,83,0,0,1797,1798,5,116,0,0,1798, + 1799,5,97,0,0,1799,1800,5,116,0,0,1800,1801,5,101,0,0,1801,1802, + 5,115,0,0,1802,1803,5,46,0,0,1803,1804,5,66,0,0,1804,1805,5,114, + 0,0,1805,1806,5,97,0,0,1806,1807,5,110,0,0,1807,1808,5,99,0,0,1808, + 1809,5,104,0,0,1809,1810,5,70,0,0,1810,1811,5,97,0,0,1811,1812,5, + 105,0,0,1812,1813,5,108,0,0,1813,1814,5,101,0,0,1814,1815,5,100, + 0,0,1815,1816,5,34,0,0,1816,210,1,0,0,0,1817,1818,5,34,0,0,1818, + 1819,5,83,0,0,1819,1820,5,116,0,0,1820,1821,5,97,0,0,1821,1822,5, + 116,0,0,1822,1823,5,101,0,0,1823,1824,5,115,0,0,1824,1825,5,46,0, + 0,1825,1826,5,78,0,0,1826,1827,5,111,0,0,1827,1828,5,67,0,0,1828, + 1829,5,104,0,0,1829,1830,5,111,0,0,1830,1831,5,105,0,0,1831,1832, + 5,99,0,0,1832,1833,5,101,0,0,1833,1834,5,77,0,0,1834,1835,5,97,0, + 0,1835,1836,5,116,0,0,1836,1837,5,99,0,0,1837,1838,5,104,0,0,1838, + 1839,5,101,0,0,1839,1840,5,100,0,0,1840,1841,5,34,0,0,1841,212,1, + 0,0,0,1842,1843,5,34,0,0,1843,1844,5,83,0,0,1844,1845,5,116,0,0, + 1845,1846,5,97,0,0,1846,1847,5,116,0,0,1847,1848,5,101,0,0,1848, + 1849,5,115,0,0,1849,1850,5,46,0,0,1850,1851,5,73,0,0,1851,1852,5, + 110,0,0,1852,1853,5,116,0,0,1853,1854,5,114,0,0,1854,1855,5,105, + 0,0,1855,1856,5,110,0,0,1856,1857,5,115,0,0,1857,1858,5,105,0,0, + 1858,1859,5,99,0,0,1859,1860,5,70,0,0,1860,1861,5,97,0,0,1861,1862, + 5,105,0,0,1862,1863,5,108,0,0,1863,1864,5,117,0,0,1864,1865,5,114, + 0,0,1865,1866,5,101,0,0,1866,1867,5,34,0,0,1867,214,1,0,0,0,1868, + 1869,5,34,0,0,1869,1870,5,83,0,0,1870,1871,5,116,0,0,1871,1872,5, + 97,0,0,1872,1873,5,116,0,0,1873,1874,5,101,0,0,1874,1875,5,115,0, + 0,1875,1876,5,46,0,0,1876,1877,5,69,0,0,1877,1878,5,120,0,0,1878, + 1879,5,99,0,0,1879,1880,5,101,0,0,1880,1881,5,101,0,0,1881,1882, + 5,100,0,0,1882,1883,5,84,0,0,1883,1884,5,111,0,0,1884,1885,5,108, + 0,0,1885,1886,5,101,0,0,1886,1887,5,114,0,0,1887,1888,5,97,0,0,1888, + 1889,5,116,0,0,1889,1890,5,101,0,0,1890,1891,5,100,0,0,1891,1892, + 5,70,0,0,1892,1893,5,97,0,0,1893,1894,5,105,0,0,1894,1895,5,108, + 0,0,1895,1896,5,117,0,0,1896,1897,5,114,0,0,1897,1898,5,101,0,0, + 1898,1899,5,84,0,0,1899,1900,5,104,0,0,1900,1901,5,114,0,0,1901, + 1902,5,101,0,0,1902,1903,5,115,0,0,1903,1904,5,104,0,0,1904,1905, + 5,111,0,0,1905,1906,5,108,0,0,1906,1907,5,100,0,0,1907,1908,5,34, + 0,0,1908,216,1,0,0,0,1909,1910,5,34,0,0,1910,1911,5,83,0,0,1911, + 1912,5,116,0,0,1912,1913,5,97,0,0,1913,1914,5,116,0,0,1914,1915, + 5,101,0,0,1915,1916,5,115,0,0,1916,1917,5,46,0,0,1917,1918,5,73, + 0,0,1918,1919,5,116,0,0,1919,1920,5,101,0,0,1920,1921,5,109,0,0, + 1921,1922,5,82,0,0,1922,1923,5,101,0,0,1923,1924,5,97,0,0,1924,1925, + 5,100,0,0,1925,1926,5,101,0,0,1926,1927,5,114,0,0,1927,1928,5,70, + 0,0,1928,1929,5,97,0,0,1929,1930,5,105,0,0,1930,1931,5,108,0,0,1931, + 1932,5,101,0,0,1932,1933,5,100,0,0,1933,1934,5,34,0,0,1934,218,1, + 0,0,0,1935,1936,5,34,0,0,1936,1937,5,83,0,0,1937,1938,5,116,0,0, + 1938,1939,5,97,0,0,1939,1940,5,116,0,0,1940,1941,5,101,0,0,1941, + 1942,5,115,0,0,1942,1943,5,46,0,0,1943,1944,5,82,0,0,1944,1945,5, + 101,0,0,1945,1946,5,115,0,0,1946,1947,5,117,0,0,1947,1948,5,108, + 0,0,1948,1949,5,116,0,0,1949,1950,5,87,0,0,1950,1951,5,114,0,0,1951, + 1952,5,105,0,0,1952,1953,5,116,0,0,1953,1954,5,101,0,0,1954,1955, + 5,114,0,0,1955,1956,5,70,0,0,1956,1957,5,97,0,0,1957,1958,5,105, + 0,0,1958,1959,5,108,0,0,1959,1960,5,101,0,0,1960,1961,5,100,0,0, + 1961,1962,5,34,0,0,1962,220,1,0,0,0,1963,1964,5,34,0,0,1964,1965, + 5,83,0,0,1965,1966,5,116,0,0,1966,1967,5,97,0,0,1967,1968,5,116, + 0,0,1968,1969,5,101,0,0,1969,1970,5,115,0,0,1970,1971,5,46,0,0,1971, + 1972,5,82,0,0,1972,1973,5,117,0,0,1973,1974,5,110,0,0,1974,1975, + 5,116,0,0,1975,1976,5,105,0,0,1976,1977,5,109,0,0,1977,1978,5,101, + 0,0,1978,1979,5,34,0,0,1979,222,1,0,0,0,1980,1985,5,34,0,0,1981, + 1984,3,231,115,0,1982,1984,3,237,118,0,1983,1981,1,0,0,0,1983,1982, + 1,0,0,0,1984,1987,1,0,0,0,1985,1983,1,0,0,0,1985,1986,1,0,0,0,1986, + 1988,1,0,0,0,1987,1985,1,0,0,0,1988,1989,5,46,0,0,1989,1990,5,36, + 0,0,1990,1991,5,34,0,0,1991,224,1,0,0,0,1992,1993,5,34,0,0,1993, + 1994,5,36,0,0,1994,1995,5,36,0,0,1995,1996,5,46,0,0,1996,2001,1, + 0,0,0,1997,2000,3,231,115,0,1998,2000,3,237,118,0,1999,1997,1,0, + 0,0,1999,1998,1,0,0,0,2000,2003,1,0,0,0,2001,1999,1,0,0,0,2001,2002, + 1,0,0,0,2002,2004,1,0,0,0,2003,2001,1,0,0,0,2004,2005,5,34,0,0,2005, + 226,1,0,0,0,2006,2007,5,34,0,0,2007,2008,5,36,0,0,2008,2013,1,0, + 0,0,2009,2012,3,231,115,0,2010,2012,3,237,118,0,2011,2009,1,0,0, + 0,2011,2010,1,0,0,0,2012,2015,1,0,0,0,2013,2011,1,0,0,0,2013,2014, + 1,0,0,0,2014,2016,1,0,0,0,2015,2013,1,0,0,0,2016,2017,5,34,0,0,2017, + 228,1,0,0,0,2018,2023,5,34,0,0,2019,2022,3,231,115,0,2020,2022,3, + 237,118,0,2021,2019,1,0,0,0,2021,2020,1,0,0,0,2022,2025,1,0,0,0, + 2023,2021,1,0,0,0,2023,2024,1,0,0,0,2024,2026,1,0,0,0,2025,2023, + 1,0,0,0,2026,2027,5,34,0,0,2027,230,1,0,0,0,2028,2031,5,92,0,0,2029, + 2032,7,0,0,0,2030,2032,3,233,116,0,2031,2029,1,0,0,0,2031,2030,1, + 0,0,0,2032,232,1,0,0,0,2033,2034,5,117,0,0,2034,2035,3,235,117,0, + 2035,2036,3,235,117,0,2036,2037,3,235,117,0,2037,2038,3,235,117, + 0,2038,234,1,0,0,0,2039,2040,7,1,0,0,2040,236,1,0,0,0,2041,2042, + 8,2,0,0,2042,238,1,0,0,0,2043,2052,5,48,0,0,2044,2048,7,3,0,0,2045, + 2047,7,4,0,0,2046,2045,1,0,0,0,2047,2050,1,0,0,0,2048,2046,1,0,0, + 0,2048,2049,1,0,0,0,2049,2052,1,0,0,0,2050,2048,1,0,0,0,2051,2043, + 1,0,0,0,2051,2044,1,0,0,0,2052,240,1,0,0,0,2053,2055,5,45,0,0,2054, + 2053,1,0,0,0,2054,2055,1,0,0,0,2055,2056,1,0,0,0,2056,2063,3,239, + 119,0,2057,2059,5,46,0,0,2058,2060,7,4,0,0,2059,2058,1,0,0,0,2060, + 2061,1,0,0,0,2061,2059,1,0,0,0,2061,2062,1,0,0,0,2062,2064,1,0,0, + 0,2063,2057,1,0,0,0,2063,2064,1,0,0,0,2064,2066,1,0,0,0,2065,2067, + 3,243,121,0,2066,2065,1,0,0,0,2066,2067,1,0,0,0,2067,242,1,0,0,0, + 2068,2070,7,5,0,0,2069,2071,7,6,0,0,2070,2069,1,0,0,0,2070,2071, + 1,0,0,0,2071,2072,1,0,0,0,2072,2073,3,239,119,0,2073,244,1,0,0,0, + 2074,2076,7,7,0,0,2075,2074,1,0,0,0,2076,2077,1,0,0,0,2077,2075, + 1,0,0,0,2077,2078,1,0,0,0,2078,2079,1,0,0,0,2079,2080,6,122,0,0, + 2080,246,1,0,0,0,18,0,1983,1985,1999,2001,2011,2013,2021,2023,2031, + 2048,2051,2054,2061,2063,2066,2070,2077,1,6,0,0 ] class ASLLexer(Lexer): @@ -840,50 +856,52 @@ class ASLLexer(Lexer): SECONDS = 70 TIMESTAMPPATH = 71 TIMESTAMP = 72 - PROCESSORCONFIG = 73 - MODE = 74 - INLINE = 75 - ITEMPROCESSOR = 76 - MAXCONCURRENCY = 77 - RESOURCE = 78 - INPUTPATH = 79 - OUTPUTPATH = 80 - ITEMSPATH = 81 - RESULTPATH = 82 - RESULT = 83 - PARAMETERS = 84 - RESULTSELECTOR = 85 - NEXT = 86 - END = 87 - CAUSE = 88 - ERROR = 89 - RETRY = 90 - ERROREQUALS = 91 - INTERVALSECONDS = 92 - MAXATTEMPTS = 93 - BACKOFFRATE = 94 - CATCH = 95 - ERRORNAMEStatesALL = 96 - ERRORNAMEStatesHeartbeatTimeout = 97 - ERRORNAMEStatesTimeout = 98 - ERRORNAMEStatesTaskFailed = 99 - ERRORNAMEStatesPermissions = 100 - ERRORNAMEStatesResultPathMatchFailure = 101 - ERRORNAMEStatesParameterPathFailure = 102 - ERRORNAMEStatesBranchFailed = 103 - ERRORNAMEStatesNoChoiceMatched = 104 - ERRORNAMEStatesIntrinsicFailure = 105 - ERRORNAMEStatesExceedToleratedFailureThreshold = 106 - ERRORNAMEStatesItemReaderFailed = 107 - ERRORNAMEStatesResultWriterFailed = 108 - ERRORNAMEStatesRuntime = 109 - STRINGDOLLAR = 110 - STRINGPATHCONTEXTOBJ = 111 - STRINGPATH = 112 - STRING = 113 - INT = 114 - NUMBER = 115 - WS = 116 + TIMEOUTSECONDS = 73 + TIMEOUTSECONDSPATH = 74 + PROCESSORCONFIG = 75 + MODE = 76 + INLINE = 77 + ITEMPROCESSOR = 78 + MAXCONCURRENCY = 79 + RESOURCE = 80 + INPUTPATH = 81 + OUTPUTPATH = 82 + ITEMSPATH = 83 + RESULTPATH = 84 + RESULT = 85 + PARAMETERS = 86 + RESULTSELECTOR = 87 + NEXT = 88 + END = 89 + CAUSE = 90 + ERROR = 91 + RETRY = 92 + ERROREQUALS = 93 + INTERVALSECONDS = 94 + MAXATTEMPTS = 95 + BACKOFFRATE = 96 + CATCH = 97 + ERRORNAMEStatesALL = 98 + ERRORNAMEStatesHeartbeatTimeout = 99 + ERRORNAMEStatesTimeout = 100 + ERRORNAMEStatesTaskFailed = 101 + ERRORNAMEStatesPermissions = 102 + ERRORNAMEStatesResultPathMatchFailure = 103 + ERRORNAMEStatesParameterPathFailure = 104 + ERRORNAMEStatesBranchFailed = 105 + ERRORNAMEStatesNoChoiceMatched = 106 + ERRORNAMEStatesIntrinsicFailure = 107 + ERRORNAMEStatesExceedToleratedFailureThreshold = 108 + ERRORNAMEStatesItemReaderFailed = 109 + ERRORNAMEStatesResultWriterFailed = 110 + ERRORNAMEStatesRuntime = 111 + STRINGDOLLAR = 112 + STRINGPATHCONTEXTOBJ = 113 + STRINGPATH = 114 + STRING = 115 + INT = 116 + NUMBER = 117 + WS = 118 channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ] @@ -910,8 +928,9 @@ class ASLLexer(Lexer): "'\"TimestampGreaterThanEquals\"'", "'\"TimestampGreaterThanEqualsPath\"'", "'\"TimestampLessThan\"'", "'\"TimestampLessThanPath\"'", "'\"TimestampLessThanEquals\"'", "'\"TimestampLessThanEqualsPath\"'", "'\"SecondsPath\"'", "'\"Seconds\"'", - "'\"TimestampPath\"'", "'\"Timestamp\"'", "'\"ProcessorConfig\"'", - "'\"Mode\"'", "'\"INLINE\"'", "'\"ItemProcessor\"'", "'\"MaxConcurrency\"'", + "'\"TimestampPath\"'", "'\"Timestamp\"'", "'\"TimeoutSeconds\"'", + "'\"TimeoutSecondsPath\"'", "'\"ProcessorConfig\"'", "'\"Mode\"'", + "'\"INLINE\"'", "'\"ItemProcessor\"'", "'\"MaxConcurrency\"'", "'\"Resource\"'", "'\"InputPath\"'", "'\"OutputPath\"'", "'\"ItemsPath\"'", "'\"ResultPath\"'", "'\"Result\"'", "'\"Parameters\"'", "'\"ResultSelector\"'", "'\"Next\"'", "'\"End\"'", "'\"Cause\"'", "'\"Error\"'", "'\"Retry\"'", @@ -942,19 +961,19 @@ class ASLLexer(Lexer): "TIMESTAMPGREATERTHANPATH", "TIMESTAMPGREATERTHANEQUALS", "TIMESTAMPGREATERTHANEQUALSPATH", "TIMESTAMPLESSTHAN", "TIMESTAMPLESSTHANPATH", "TIMESTAMPLESSTHANEQUALS", "TIMESTAMPLESSTHANEQUALSPATH", "SECONDSPATH", "SECONDS", "TIMESTAMPPATH", - "TIMESTAMP", "PROCESSORCONFIG", "MODE", "INLINE", "ITEMPROCESSOR", - "MAXCONCURRENCY", "RESOURCE", "INPUTPATH", "OUTPUTPATH", "ITEMSPATH", - "RESULTPATH", "RESULT", "PARAMETERS", "RESULTSELECTOR", "NEXT", - "END", "CAUSE", "ERROR", "RETRY", "ERROREQUALS", "INTERVALSECONDS", - "MAXATTEMPTS", "BACKOFFRATE", "CATCH", "ERRORNAMEStatesALL", - "ERRORNAMEStatesHeartbeatTimeout", "ERRORNAMEStatesTimeout", - "ERRORNAMEStatesTaskFailed", "ERRORNAMEStatesPermissions", "ERRORNAMEStatesResultPathMatchFailure", - "ERRORNAMEStatesParameterPathFailure", "ERRORNAMEStatesBranchFailed", - "ERRORNAMEStatesNoChoiceMatched", "ERRORNAMEStatesIntrinsicFailure", - "ERRORNAMEStatesExceedToleratedFailureThreshold", "ERRORNAMEStatesItemReaderFailed", - "ERRORNAMEStatesResultWriterFailed", "ERRORNAMEStatesRuntime", - "STRINGDOLLAR", "STRINGPATHCONTEXTOBJ", "STRINGPATH", "STRING", - "INT", "NUMBER", "WS" ] + "TIMESTAMP", "TIMEOUTSECONDS", "TIMEOUTSECONDSPATH", "PROCESSORCONFIG", + "MODE", "INLINE", "ITEMPROCESSOR", "MAXCONCURRENCY", "RESOURCE", + "INPUTPATH", "OUTPUTPATH", "ITEMSPATH", "RESULTPATH", "RESULT", + "PARAMETERS", "RESULTSELECTOR", "NEXT", "END", "CAUSE", "ERROR", + "RETRY", "ERROREQUALS", "INTERVALSECONDS", "MAXATTEMPTS", "BACKOFFRATE", + "CATCH", "ERRORNAMEStatesALL", "ERRORNAMEStatesHeartbeatTimeout", + "ERRORNAMEStatesTimeout", "ERRORNAMEStatesTaskFailed", "ERRORNAMEStatesPermissions", + "ERRORNAMEStatesResultPathMatchFailure", "ERRORNAMEStatesParameterPathFailure", + "ERRORNAMEStatesBranchFailed", "ERRORNAMEStatesNoChoiceMatched", + "ERRORNAMEStatesIntrinsicFailure", "ERRORNAMEStatesExceedToleratedFailureThreshold", + "ERRORNAMEStatesItemReaderFailed", "ERRORNAMEStatesResultWriterFailed", + "ERRORNAMEStatesRuntime", "STRINGDOLLAR", "STRINGPATHCONTEXTOBJ", + "STRINGPATH", "STRING", "INT", "NUMBER", "WS" ] ruleNames = [ "COMMA", "COLON", "LBRACK", "RBRACK", "LBRACE", "RBRACE", "TRUE", "FALSE", "NULL", "COMMENT", "STATES", "STARTAT", @@ -974,21 +993,22 @@ class ASLLexer(Lexer): "TIMESTAMPGREATERTHANEQUALS", "TIMESTAMPGREATERTHANEQUALSPATH", "TIMESTAMPLESSTHAN", "TIMESTAMPLESSTHANPATH", "TIMESTAMPLESSTHANEQUALS", "TIMESTAMPLESSTHANEQUALSPATH", "SECONDSPATH", "SECONDS", - "TIMESTAMPPATH", "TIMESTAMP", "PROCESSORCONFIG", "MODE", - "INLINE", "ITEMPROCESSOR", "MAXCONCURRENCY", "RESOURCE", - "INPUTPATH", "OUTPUTPATH", "ITEMSPATH", "RESULTPATH", - "RESULT", "PARAMETERS", "RESULTSELECTOR", "NEXT", "END", - "CAUSE", "ERROR", "RETRY", "ERROREQUALS", "INTERVALSECONDS", - "MAXATTEMPTS", "BACKOFFRATE", "CATCH", "ERRORNAMEStatesALL", - "ERRORNAMEStatesHeartbeatTimeout", "ERRORNAMEStatesTimeout", - "ERRORNAMEStatesTaskFailed", "ERRORNAMEStatesPermissions", - "ERRORNAMEStatesResultPathMatchFailure", "ERRORNAMEStatesParameterPathFailure", - "ERRORNAMEStatesBranchFailed", "ERRORNAMEStatesNoChoiceMatched", - "ERRORNAMEStatesIntrinsicFailure", "ERRORNAMEStatesExceedToleratedFailureThreshold", - "ERRORNAMEStatesItemReaderFailed", "ERRORNAMEStatesResultWriterFailed", - "ERRORNAMEStatesRuntime", "STRINGDOLLAR", "STRINGPATHCONTEXTOBJ", - "STRINGPATH", "STRING", "ESC", "UNICODE", "HEX", "SAFECODEPOINT", - "INT", "NUMBER", "EXP", "WS" ] + "TIMESTAMPPATH", "TIMESTAMP", "TIMEOUTSECONDS", "TIMEOUTSECONDSPATH", + "PROCESSORCONFIG", "MODE", "INLINE", "ITEMPROCESSOR", + "MAXCONCURRENCY", "RESOURCE", "INPUTPATH", "OUTPUTPATH", + "ITEMSPATH", "RESULTPATH", "RESULT", "PARAMETERS", "RESULTSELECTOR", + "NEXT", "END", "CAUSE", "ERROR", "RETRY", "ERROREQUALS", + "INTERVALSECONDS", "MAXATTEMPTS", "BACKOFFRATE", "CATCH", + "ERRORNAMEStatesALL", "ERRORNAMEStatesHeartbeatTimeout", + "ERRORNAMEStatesTimeout", "ERRORNAMEStatesTaskFailed", + "ERRORNAMEStatesPermissions", "ERRORNAMEStatesResultPathMatchFailure", + "ERRORNAMEStatesParameterPathFailure", "ERRORNAMEStatesBranchFailed", + "ERRORNAMEStatesNoChoiceMatched", "ERRORNAMEStatesIntrinsicFailure", + "ERRORNAMEStatesExceedToleratedFailureThreshold", "ERRORNAMEStatesItemReaderFailed", + "ERRORNAMEStatesResultWriterFailed", "ERRORNAMEStatesRuntime", + "STRINGDOLLAR", "STRINGPATHCONTEXTOBJ", "STRINGPATH", + "STRING", "ESC", "UNICODE", "HEX", "SAFECODEPOINT", "INT", + "NUMBER", "EXP", "WS" ] grammarFileName = "ASLLexer.g4" diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.tokens b/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.tokens index 6f22e5eccaaaf..08d945bae0fd8 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.tokens +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLLexer.tokens @@ -70,50 +70,52 @@ SECONDSPATH=69 SECONDS=70 TIMESTAMPPATH=71 TIMESTAMP=72 -PROCESSORCONFIG=73 -MODE=74 -INLINE=75 -ITEMPROCESSOR=76 -MAXCONCURRENCY=77 -RESOURCE=78 -INPUTPATH=79 -OUTPUTPATH=80 -ITEMSPATH=81 -RESULTPATH=82 -RESULT=83 -PARAMETERS=84 -RESULTSELECTOR=85 -NEXT=86 -END=87 -CAUSE=88 -ERROR=89 -RETRY=90 -ERROREQUALS=91 -INTERVALSECONDS=92 -MAXATTEMPTS=93 -BACKOFFRATE=94 -CATCH=95 -ERRORNAMEStatesALL=96 -ERRORNAMEStatesHeartbeatTimeout=97 -ERRORNAMEStatesTimeout=98 -ERRORNAMEStatesTaskFailed=99 -ERRORNAMEStatesPermissions=100 -ERRORNAMEStatesResultPathMatchFailure=101 -ERRORNAMEStatesParameterPathFailure=102 -ERRORNAMEStatesBranchFailed=103 -ERRORNAMEStatesNoChoiceMatched=104 -ERRORNAMEStatesIntrinsicFailure=105 -ERRORNAMEStatesExceedToleratedFailureThreshold=106 -ERRORNAMEStatesItemReaderFailed=107 -ERRORNAMEStatesResultWriterFailed=108 -ERRORNAMEStatesRuntime=109 -STRINGDOLLAR=110 -STRINGPATHCONTEXTOBJ=111 -STRINGPATH=112 -STRING=113 -INT=114 -NUMBER=115 -WS=116 +TIMEOUTSECONDS=73 +TIMEOUTSECONDSPATH=74 +PROCESSORCONFIG=75 +MODE=76 +INLINE=77 +ITEMPROCESSOR=78 +MAXCONCURRENCY=79 +RESOURCE=80 +INPUTPATH=81 +OUTPUTPATH=82 +ITEMSPATH=83 +RESULTPATH=84 +RESULT=85 +PARAMETERS=86 +RESULTSELECTOR=87 +NEXT=88 +END=89 +CAUSE=90 +ERROR=91 +RETRY=92 +ERROREQUALS=93 +INTERVALSECONDS=94 +MAXATTEMPTS=95 +BACKOFFRATE=96 +CATCH=97 +ERRORNAMEStatesALL=98 +ERRORNAMEStatesHeartbeatTimeout=99 +ERRORNAMEStatesTimeout=100 +ERRORNAMEStatesTaskFailed=101 +ERRORNAMEStatesPermissions=102 +ERRORNAMEStatesResultPathMatchFailure=103 +ERRORNAMEStatesParameterPathFailure=104 +ERRORNAMEStatesBranchFailed=105 +ERRORNAMEStatesNoChoiceMatched=106 +ERRORNAMEStatesIntrinsicFailure=107 +ERRORNAMEStatesExceedToleratedFailureThreshold=108 +ERRORNAMEStatesItemReaderFailed=109 +ERRORNAMEStatesResultWriterFailed=110 +ERRORNAMEStatesRuntime=111 +STRINGDOLLAR=112 +STRINGPATHCONTEXTOBJ=113 +STRINGPATH=114 +STRING=115 +INT=116 +NUMBER=117 +WS=118 ','=1 ':'=2 '['=3 @@ -186,40 +188,42 @@ WS=116 '"Seconds"'=70 '"TimestampPath"'=71 '"Timestamp"'=72 -'"ProcessorConfig"'=73 -'"Mode"'=74 -'"INLINE"'=75 -'"ItemProcessor"'=76 -'"MaxConcurrency"'=77 -'"Resource"'=78 -'"InputPath"'=79 -'"OutputPath"'=80 -'"ItemsPath"'=81 -'"ResultPath"'=82 -'"Result"'=83 -'"Parameters"'=84 -'"ResultSelector"'=85 -'"Next"'=86 -'"End"'=87 -'"Cause"'=88 -'"Error"'=89 -'"Retry"'=90 -'"ErrorEquals"'=91 -'"IntervalSeconds"'=92 -'"MaxAttempts"'=93 -'"BackoffRate"'=94 -'"Catch"'=95 -'"States.ALL"'=96 -'"States.HeartbeatTimeout"'=97 -'"States.Timeout"'=98 -'"States.TaskFailed"'=99 -'"States.Permissions"'=100 -'"States.ResultPathMatchFailure"'=101 -'"States.ParameterPathFailure"'=102 -'"States.BranchFailed"'=103 -'"States.NoChoiceMatched"'=104 -'"States.IntrinsicFailure"'=105 -'"States.ExceedToleratedFailureThreshold"'=106 -'"States.ItemReaderFailed"'=107 -'"States.ResultWriterFailed"'=108 -'"States.Runtime"'=109 +'"TimeoutSeconds"'=73 +'"TimeoutSecondsPath"'=74 +'"ProcessorConfig"'=75 +'"Mode"'=76 +'"INLINE"'=77 +'"ItemProcessor"'=78 +'"MaxConcurrency"'=79 +'"Resource"'=80 +'"InputPath"'=81 +'"OutputPath"'=82 +'"ItemsPath"'=83 +'"ResultPath"'=84 +'"Result"'=85 +'"Parameters"'=86 +'"ResultSelector"'=87 +'"Next"'=88 +'"End"'=89 +'"Cause"'=90 +'"Error"'=91 +'"Retry"'=92 +'"ErrorEquals"'=93 +'"IntervalSeconds"'=94 +'"MaxAttempts"'=95 +'"BackoffRate"'=96 +'"Catch"'=97 +'"States.ALL"'=98 +'"States.HeartbeatTimeout"'=99 +'"States.Timeout"'=100 +'"States.TaskFailed"'=101 +'"States.Permissions"'=102 +'"States.ResultPathMatchFailure"'=103 +'"States.ParameterPathFailure"'=104 +'"States.BranchFailed"'=105 +'"States.NoChoiceMatched"'=106 +'"States.IntrinsicFailure"'=107 +'"States.ExceedToleratedFailureThreshold"'=108 +'"States.ItemReaderFailed"'=109 +'"States.ResultWriterFailed"'=110 +'"States.Runtime"'=111 diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.interp b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.interp index 79ab9d0346568..16b9fbbde5e54 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.interp +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.interp @@ -72,6 +72,8 @@ null '"Seconds"' '"TimestampPath"' '"Timestamp"' +'"TimeoutSeconds"' +'"TimeoutSecondsPath"' '"ProcessorConfig"' '"Mode"' '"INLINE"' @@ -191,6 +193,8 @@ SECONDSPATH SECONDS TIMESTAMPPATH TIMESTAMP +TIMEOUTSECONDS +TIMEOUTSECONDSPATH PROCESSORCONFIG MODE INLINE @@ -264,6 +268,8 @@ timestamp_path_decl items_path_decl max_concurrency_decl parameters_decl +timeout_seconds_decl +timeout_seconds_path_decl payload_tmpl_decl payload_binding intrinsic_func @@ -308,4 +314,4 @@ keyword_or_string atn: -[4, 1, 116, 656, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 1, 0, 1, 0, 1, 0, 1, 0, 5, 0, 141, 8, 0, 10, 0, 12, 0, 144, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 151, 8, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 186, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 194, 8, 5, 10, 5, 12, 5, 197, 9, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 211, 8, 8, 10, 8, 12, 8, 214, 9, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 242, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 296, 8, 27, 10, 27, 12, 27, 299, 9, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 305, 8, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 3, 28, 320, 8, 28, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 328, 8, 30, 10, 30, 12, 30, 331, 9, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 337, 8, 30, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 343, 8, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 350, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 364, 8, 35, 10, 35, 12, 35, 367, 9, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 5, 36, 375, 8, 36, 10, 36, 12, 36, 378, 9, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 3, 37, 385, 8, 37, 1, 38, 1, 38, 1, 38, 4, 38, 390, 8, 38, 11, 38, 12, 38, 391, 1, 39, 1, 39, 3, 39, 396, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 4, 40, 405, 8, 40, 11, 40, 12, 40, 406, 1, 40, 1, 40, 3, 40, 411, 8, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 5, 43, 427, 8, 43, 10, 43, 12, 43, 430, 9, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 440, 8, 44, 10, 44, 12, 44, 443, 9, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 451, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 458, 8, 46, 10, 46, 12, 46, 461, 9, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 477, 8, 49, 10, 49, 12, 49, 480, 9, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 5, 50, 488, 8, 50, 10, 50, 12, 50, 491, 9, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 499, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 507, 8, 52, 10, 52, 12, 52, 510, 9, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 532, 8, 56, 10, 56, 12, 56, 535, 9, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 543, 8, 57, 10, 57, 12, 57, 546, 9, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 3, 58, 553, 8, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 3, 62, 563, 8, 62, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 569, 8, 63, 10, 63, 12, 63, 572, 9, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 578, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 588, 8, 65, 10, 65, 12, 65, 591, 9, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 597, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 608, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 654, 8, 67, 1, 67, 0, 0, 68, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 0, 5, 1, 0, 7, 8, 1, 0, 15, 22, 3, 0, 28, 35, 37, 46, 48, 68, 3, 0, 27, 27, 36, 36, 47, 47, 1, 0, 96, 108, 712, 0, 136, 1, 0, 0, 0, 2, 150, 1, 0, 0, 0, 4, 152, 1, 0, 0, 0, 6, 156, 1, 0, 0, 0, 8, 185, 1, 0, 0, 0, 10, 187, 1, 0, 0, 0, 12, 200, 1, 0, 0, 0, 14, 202, 1, 0, 0, 0, 16, 206, 1, 0, 0, 0, 18, 217, 1, 0, 0, 0, 20, 221, 1, 0, 0, 0, 22, 225, 1, 0, 0, 0, 24, 229, 1, 0, 0, 0, 26, 233, 1, 0, 0, 0, 28, 237, 1, 0, 0, 0, 30, 243, 1, 0, 0, 0, 32, 247, 1, 0, 0, 0, 34, 251, 1, 0, 0, 0, 36, 255, 1, 0, 0, 0, 38, 259, 1, 0, 0, 0, 40, 263, 1, 0, 0, 0, 42, 267, 1, 0, 0, 0, 44, 271, 1, 0, 0, 0, 46, 275, 1, 0, 0, 0, 48, 279, 1, 0, 0, 0, 50, 283, 1, 0, 0, 0, 52, 287, 1, 0, 0, 0, 54, 304, 1, 0, 0, 0, 56, 319, 1, 0, 0, 0, 58, 321, 1, 0, 0, 0, 60, 336, 1, 0, 0, 0, 62, 342, 1, 0, 0, 0, 64, 349, 1, 0, 0, 0, 66, 351, 1, 0, 0, 0, 68, 355, 1, 0, 0, 0, 70, 357, 1, 0, 0, 0, 72, 370, 1, 0, 0, 0, 74, 384, 1, 0, 0, 0, 76, 386, 1, 0, 0, 0, 78, 395, 1, 0, 0, 0, 80, 397, 1, 0, 0, 0, 82, 412, 1, 0, 0, 0, 84, 416, 1, 0, 0, 0, 86, 420, 1, 0, 0, 0, 88, 433, 1, 0, 0, 0, 90, 450, 1, 0, 0, 0, 92, 452, 1, 0, 0, 0, 94, 464, 1, 0, 0, 0, 96, 468, 1, 0, 0, 0, 98, 470, 1, 0, 0, 0, 100, 483, 1, 0, 0, 0, 102, 498, 1, 0, 0, 0, 104, 500, 1, 0, 0, 0, 106, 513, 1, 0, 0, 0, 108, 517, 1, 0, 0, 0, 110, 521, 1, 0, 0, 0, 112, 525, 1, 0, 0, 0, 114, 538, 1, 0, 0, 0, 116, 552, 1, 0, 0, 0, 118, 554, 1, 0, 0, 0, 120, 556, 1, 0, 0, 0, 122, 558, 1, 0, 0, 0, 124, 562, 1, 0, 0, 0, 126, 577, 1, 0, 0, 0, 128, 579, 1, 0, 0, 0, 130, 596, 1, 0, 0, 0, 132, 607, 1, 0, 0, 0, 134, 653, 1, 0, 0, 0, 136, 137, 5, 5, 0, 0, 137, 142, 3, 2, 1, 0, 138, 139, 5, 1, 0, 0, 139, 141, 3, 2, 1, 0, 140, 138, 1, 0, 0, 0, 141, 144, 1, 0, 0, 0, 142, 140, 1, 0, 0, 0, 142, 143, 1, 0, 0, 0, 143, 145, 1, 0, 0, 0, 144, 142, 1, 0, 0, 0, 145, 146, 5, 6, 0, 0, 146, 1, 1, 0, 0, 0, 147, 151, 3, 6, 3, 0, 148, 151, 3, 4, 2, 0, 149, 151, 3, 10, 5, 0, 150, 147, 1, 0, 0, 0, 150, 148, 1, 0, 0, 0, 150, 149, 1, 0, 0, 0, 151, 3, 1, 0, 0, 0, 152, 153, 5, 12, 0, 0, 153, 154, 5, 2, 0, 0, 154, 155, 3, 134, 67, 0, 155, 5, 1, 0, 0, 0, 156, 157, 5, 10, 0, 0, 157, 158, 5, 2, 0, 0, 158, 159, 3, 134, 67, 0, 159, 7, 1, 0, 0, 0, 160, 186, 3, 6, 3, 0, 161, 186, 3, 18, 9, 0, 162, 186, 3, 24, 12, 0, 163, 186, 3, 22, 11, 0, 164, 186, 3, 20, 10, 0, 165, 186, 3, 26, 13, 0, 166, 186, 3, 28, 14, 0, 167, 186, 3, 30, 15, 0, 168, 186, 3, 32, 16, 0, 169, 186, 3, 34, 17, 0, 170, 186, 3, 70, 35, 0, 171, 186, 3, 36, 18, 0, 172, 186, 3, 38, 19, 0, 173, 186, 3, 40, 20, 0, 174, 186, 3, 42, 21, 0, 175, 186, 3, 44, 22, 0, 176, 186, 3, 46, 23, 0, 177, 186, 3, 48, 24, 0, 178, 186, 3, 88, 44, 0, 179, 186, 3, 50, 25, 0, 180, 186, 3, 86, 43, 0, 181, 186, 3, 52, 26, 0, 182, 186, 3, 98, 49, 0, 183, 186, 3, 112, 56, 0, 184, 186, 3, 66, 33, 0, 185, 160, 1, 0, 0, 0, 185, 161, 1, 0, 0, 0, 185, 162, 1, 0, 0, 0, 185, 163, 1, 0, 0, 0, 185, 164, 1, 0, 0, 0, 185, 165, 1, 0, 0, 0, 185, 166, 1, 0, 0, 0, 185, 167, 1, 0, 0, 0, 185, 168, 1, 0, 0, 0, 185, 169, 1, 0, 0, 0, 185, 170, 1, 0, 0, 0, 185, 171, 1, 0, 0, 0, 185, 172, 1, 0, 0, 0, 185, 173, 1, 0, 0, 0, 185, 174, 1, 0, 0, 0, 185, 175, 1, 0, 0, 0, 185, 176, 1, 0, 0, 0, 185, 177, 1, 0, 0, 0, 185, 178, 1, 0, 0, 0, 185, 179, 1, 0, 0, 0, 185, 180, 1, 0, 0, 0, 185, 181, 1, 0, 0, 0, 185, 182, 1, 0, 0, 0, 185, 183, 1, 0, 0, 0, 185, 184, 1, 0, 0, 0, 186, 9, 1, 0, 0, 0, 187, 188, 5, 11, 0, 0, 188, 189, 5, 2, 0, 0, 189, 190, 5, 5, 0, 0, 190, 195, 3, 14, 7, 0, 191, 192, 5, 1, 0, 0, 192, 194, 3, 14, 7, 0, 193, 191, 1, 0, 0, 0, 194, 197, 1, 0, 0, 0, 195, 193, 1, 0, 0, 0, 195, 196, 1, 0, 0, 0, 196, 198, 1, 0, 0, 0, 197, 195, 1, 0, 0, 0, 198, 199, 5, 6, 0, 0, 199, 11, 1, 0, 0, 0, 200, 201, 3, 134, 67, 0, 201, 13, 1, 0, 0, 0, 202, 203, 3, 12, 6, 0, 203, 204, 5, 2, 0, 0, 204, 205, 3, 16, 8, 0, 205, 15, 1, 0, 0, 0, 206, 207, 5, 5, 0, 0, 207, 212, 3, 8, 4, 0, 208, 209, 5, 1, 0, 0, 209, 211, 3, 8, 4, 0, 210, 208, 1, 0, 0, 0, 211, 214, 1, 0, 0, 0, 212, 210, 1, 0, 0, 0, 212, 213, 1, 0, 0, 0, 213, 215, 1, 0, 0, 0, 214, 212, 1, 0, 0, 0, 215, 216, 5, 6, 0, 0, 216, 17, 1, 0, 0, 0, 217, 218, 5, 14, 0, 0, 218, 219, 5, 2, 0, 0, 219, 220, 3, 68, 34, 0, 220, 19, 1, 0, 0, 0, 221, 222, 5, 86, 0, 0, 222, 223, 5, 2, 0, 0, 223, 224, 3, 134, 67, 0, 224, 21, 1, 0, 0, 0, 225, 226, 5, 78, 0, 0, 226, 227, 5, 2, 0, 0, 227, 228, 3, 134, 67, 0, 228, 23, 1, 0, 0, 0, 229, 230, 5, 79, 0, 0, 230, 231, 5, 2, 0, 0, 231, 232, 3, 134, 67, 0, 232, 25, 1, 0, 0, 0, 233, 234, 5, 83, 0, 0, 234, 235, 5, 2, 0, 0, 235, 236, 3, 132, 66, 0, 236, 27, 1, 0, 0, 0, 237, 238, 5, 82, 0, 0, 238, 241, 5, 2, 0, 0, 239, 242, 3, 134, 67, 0, 240, 242, 5, 9, 0, 0, 241, 239, 1, 0, 0, 0, 241, 240, 1, 0, 0, 0, 242, 29, 1, 0, 0, 0, 243, 244, 5, 80, 0, 0, 244, 245, 5, 2, 0, 0, 245, 246, 3, 134, 67, 0, 246, 31, 1, 0, 0, 0, 247, 248, 5, 87, 0, 0, 248, 249, 5, 2, 0, 0, 249, 250, 7, 0, 0, 0, 250, 33, 1, 0, 0, 0, 251, 252, 5, 25, 0, 0, 252, 253, 5, 2, 0, 0, 253, 254, 3, 134, 67, 0, 254, 35, 1, 0, 0, 0, 255, 256, 5, 89, 0, 0, 256, 257, 5, 2, 0, 0, 257, 258, 3, 134, 67, 0, 258, 37, 1, 0, 0, 0, 259, 260, 5, 88, 0, 0, 260, 261, 5, 2, 0, 0, 261, 262, 3, 134, 67, 0, 262, 39, 1, 0, 0, 0, 263, 264, 5, 70, 0, 0, 264, 265, 5, 2, 0, 0, 265, 266, 5, 114, 0, 0, 266, 41, 1, 0, 0, 0, 267, 268, 5, 69, 0, 0, 268, 269, 5, 2, 0, 0, 269, 270, 3, 134, 67, 0, 270, 43, 1, 0, 0, 0, 271, 272, 5, 72, 0, 0, 272, 273, 5, 2, 0, 0, 273, 274, 3, 134, 67, 0, 274, 45, 1, 0, 0, 0, 275, 276, 5, 71, 0, 0, 276, 277, 5, 2, 0, 0, 277, 278, 3, 134, 67, 0, 278, 47, 1, 0, 0, 0, 279, 280, 5, 81, 0, 0, 280, 281, 5, 2, 0, 0, 281, 282, 3, 134, 67, 0, 282, 49, 1, 0, 0, 0, 283, 284, 5, 77, 0, 0, 284, 285, 5, 2, 0, 0, 285, 286, 5, 114, 0, 0, 286, 51, 1, 0, 0, 0, 287, 288, 5, 84, 0, 0, 288, 289, 5, 2, 0, 0, 289, 290, 3, 54, 27, 0, 290, 53, 1, 0, 0, 0, 291, 292, 5, 5, 0, 0, 292, 297, 3, 56, 28, 0, 293, 294, 5, 1, 0, 0, 294, 296, 3, 56, 28, 0, 295, 293, 1, 0, 0, 0, 296, 299, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 297, 298, 1, 0, 0, 0, 298, 300, 1, 0, 0, 0, 299, 297, 1, 0, 0, 0, 300, 301, 5, 6, 0, 0, 301, 305, 1, 0, 0, 0, 302, 303, 5, 5, 0, 0, 303, 305, 5, 6, 0, 0, 304, 291, 1, 0, 0, 0, 304, 302, 1, 0, 0, 0, 305, 55, 1, 0, 0, 0, 306, 307, 5, 110, 0, 0, 307, 308, 5, 2, 0, 0, 308, 320, 5, 112, 0, 0, 309, 310, 5, 110, 0, 0, 310, 311, 5, 2, 0, 0, 311, 320, 5, 111, 0, 0, 312, 313, 5, 110, 0, 0, 313, 314, 5, 2, 0, 0, 314, 320, 3, 58, 29, 0, 315, 316, 3, 134, 67, 0, 316, 317, 5, 2, 0, 0, 317, 318, 3, 62, 31, 0, 318, 320, 1, 0, 0, 0, 319, 306, 1, 0, 0, 0, 319, 309, 1, 0, 0, 0, 319, 312, 1, 0, 0, 0, 319, 315, 1, 0, 0, 0, 320, 57, 1, 0, 0, 0, 321, 322, 5, 113, 0, 0, 322, 59, 1, 0, 0, 0, 323, 324, 5, 3, 0, 0, 324, 329, 3, 62, 31, 0, 325, 326, 5, 1, 0, 0, 326, 328, 3, 62, 31, 0, 327, 325, 1, 0, 0, 0, 328, 331, 1, 0, 0, 0, 329, 327, 1, 0, 0, 0, 329, 330, 1, 0, 0, 0, 330, 332, 1, 0, 0, 0, 331, 329, 1, 0, 0, 0, 332, 333, 5, 4, 0, 0, 333, 337, 1, 0, 0, 0, 334, 335, 5, 3, 0, 0, 335, 337, 5, 4, 0, 0, 336, 323, 1, 0, 0, 0, 336, 334, 1, 0, 0, 0, 337, 61, 1, 0, 0, 0, 338, 343, 3, 56, 28, 0, 339, 343, 3, 60, 30, 0, 340, 343, 3, 54, 27, 0, 341, 343, 3, 64, 32, 0, 342, 338, 1, 0, 0, 0, 342, 339, 1, 0, 0, 0, 342, 340, 1, 0, 0, 0, 342, 341, 1, 0, 0, 0, 343, 63, 1, 0, 0, 0, 344, 350, 5, 115, 0, 0, 345, 350, 5, 114, 0, 0, 346, 350, 7, 0, 0, 0, 347, 350, 5, 9, 0, 0, 348, 350, 3, 134, 67, 0, 349, 344, 1, 0, 0, 0, 349, 345, 1, 0, 0, 0, 349, 346, 1, 0, 0, 0, 349, 347, 1, 0, 0, 0, 349, 348, 1, 0, 0, 0, 350, 65, 1, 0, 0, 0, 351, 352, 5, 85, 0, 0, 352, 353, 5, 2, 0, 0, 353, 354, 3, 54, 27, 0, 354, 67, 1, 0, 0, 0, 355, 356, 7, 1, 0, 0, 356, 69, 1, 0, 0, 0, 357, 358, 5, 23, 0, 0, 358, 359, 5, 2, 0, 0, 359, 360, 5, 3, 0, 0, 360, 365, 3, 72, 36, 0, 361, 362, 5, 1, 0, 0, 362, 364, 3, 72, 36, 0, 363, 361, 1, 0, 0, 0, 364, 367, 1, 0, 0, 0, 365, 363, 1, 0, 0, 0, 365, 366, 1, 0, 0, 0, 366, 368, 1, 0, 0, 0, 367, 365, 1, 0, 0, 0, 368, 369, 5, 4, 0, 0, 369, 71, 1, 0, 0, 0, 370, 371, 5, 5, 0, 0, 371, 376, 3, 74, 37, 0, 372, 373, 5, 1, 0, 0, 373, 375, 3, 74, 37, 0, 374, 372, 1, 0, 0, 0, 375, 378, 1, 0, 0, 0, 376, 374, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 379, 1, 0, 0, 0, 378, 376, 1, 0, 0, 0, 379, 380, 5, 6, 0, 0, 380, 73, 1, 0, 0, 0, 381, 385, 3, 76, 38, 0, 382, 385, 3, 80, 40, 0, 383, 385, 3, 20, 10, 0, 384, 381, 1, 0, 0, 0, 384, 382, 1, 0, 0, 0, 384, 383, 1, 0, 0, 0, 385, 75, 1, 0, 0, 0, 386, 389, 3, 78, 39, 0, 387, 388, 5, 1, 0, 0, 388, 390, 3, 78, 39, 0, 389, 387, 1, 0, 0, 0, 390, 391, 1, 0, 0, 0, 391, 389, 1, 0, 0, 0, 391, 392, 1, 0, 0, 0, 392, 77, 1, 0, 0, 0, 393, 396, 3, 82, 41, 0, 394, 396, 3, 84, 42, 0, 395, 393, 1, 0, 0, 0, 395, 394, 1, 0, 0, 0, 396, 79, 1, 0, 0, 0, 397, 398, 3, 120, 60, 0, 398, 410, 5, 2, 0, 0, 399, 411, 3, 72, 36, 0, 400, 401, 5, 3, 0, 0, 401, 404, 3, 72, 36, 0, 402, 403, 5, 1, 0, 0, 403, 405, 3, 72, 36, 0, 404, 402, 1, 0, 0, 0, 405, 406, 1, 0, 0, 0, 406, 404, 1, 0, 0, 0, 406, 407, 1, 0, 0, 0, 407, 408, 1, 0, 0, 0, 408, 409, 5, 4, 0, 0, 409, 411, 1, 0, 0, 0, 410, 399, 1, 0, 0, 0, 410, 400, 1, 0, 0, 0, 411, 81, 1, 0, 0, 0, 412, 413, 5, 24, 0, 0, 413, 414, 5, 2, 0, 0, 414, 415, 3, 134, 67, 0, 415, 83, 1, 0, 0, 0, 416, 417, 3, 118, 59, 0, 417, 418, 5, 2, 0, 0, 418, 419, 3, 132, 66, 0, 419, 85, 1, 0, 0, 0, 420, 421, 5, 26, 0, 0, 421, 422, 5, 2, 0, 0, 422, 423, 5, 3, 0, 0, 423, 428, 3, 0, 0, 0, 424, 425, 5, 1, 0, 0, 425, 427, 3, 0, 0, 0, 426, 424, 1, 0, 0, 0, 427, 430, 1, 0, 0, 0, 428, 426, 1, 0, 0, 0, 428, 429, 1, 0, 0, 0, 429, 431, 1, 0, 0, 0, 430, 428, 1, 0, 0, 0, 431, 432, 5, 4, 0, 0, 432, 87, 1, 0, 0, 0, 433, 434, 5, 76, 0, 0, 434, 435, 5, 2, 0, 0, 435, 436, 5, 5, 0, 0, 436, 441, 3, 90, 45, 0, 437, 438, 5, 1, 0, 0, 438, 440, 3, 90, 45, 0, 439, 437, 1, 0, 0, 0, 440, 443, 1, 0, 0, 0, 441, 439, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 444, 1, 0, 0, 0, 443, 441, 1, 0, 0, 0, 444, 445, 5, 6, 0, 0, 445, 89, 1, 0, 0, 0, 446, 451, 3, 92, 46, 0, 447, 451, 3, 4, 2, 0, 448, 451, 3, 10, 5, 0, 449, 451, 3, 6, 3, 0, 450, 446, 1, 0, 0, 0, 450, 447, 1, 0, 0, 0, 450, 448, 1, 0, 0, 0, 450, 449, 1, 0, 0, 0, 451, 91, 1, 0, 0, 0, 452, 453, 5, 73, 0, 0, 453, 454, 5, 2, 0, 0, 454, 459, 5, 5, 0, 0, 455, 458, 3, 94, 47, 0, 456, 458, 3, 128, 64, 0, 457, 455, 1, 0, 0, 0, 457, 456, 1, 0, 0, 0, 458, 461, 1, 0, 0, 0, 459, 457, 1, 0, 0, 0, 459, 460, 1, 0, 0, 0, 460, 462, 1, 0, 0, 0, 461, 459, 1, 0, 0, 0, 462, 463, 5, 6, 0, 0, 463, 93, 1, 0, 0, 0, 464, 465, 5, 74, 0, 0, 465, 466, 5, 2, 0, 0, 466, 467, 3, 96, 48, 0, 467, 95, 1, 0, 0, 0, 468, 469, 5, 75, 0, 0, 469, 97, 1, 0, 0, 0, 470, 471, 5, 90, 0, 0, 471, 472, 5, 2, 0, 0, 472, 473, 5, 3, 0, 0, 473, 478, 3, 100, 50, 0, 474, 475, 5, 1, 0, 0, 475, 477, 3, 98, 49, 0, 476, 474, 1, 0, 0, 0, 477, 480, 1, 0, 0, 0, 478, 476, 1, 0, 0, 0, 478, 479, 1, 0, 0, 0, 479, 481, 1, 0, 0, 0, 480, 478, 1, 0, 0, 0, 481, 482, 5, 4, 0, 0, 482, 99, 1, 0, 0, 0, 483, 484, 5, 5, 0, 0, 484, 489, 3, 102, 51, 0, 485, 486, 5, 1, 0, 0, 486, 488, 3, 102, 51, 0, 487, 485, 1, 0, 0, 0, 488, 491, 1, 0, 0, 0, 489, 487, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 492, 1, 0, 0, 0, 491, 489, 1, 0, 0, 0, 492, 493, 5, 6, 0, 0, 493, 101, 1, 0, 0, 0, 494, 499, 3, 104, 52, 0, 495, 499, 3, 106, 53, 0, 496, 499, 3, 108, 54, 0, 497, 499, 3, 110, 55, 0, 498, 494, 1, 0, 0, 0, 498, 495, 1, 0, 0, 0, 498, 496, 1, 0, 0, 0, 498, 497, 1, 0, 0, 0, 499, 103, 1, 0, 0, 0, 500, 501, 5, 91, 0, 0, 501, 502, 5, 2, 0, 0, 502, 503, 5, 3, 0, 0, 503, 508, 3, 124, 62, 0, 504, 505, 5, 1, 0, 0, 505, 507, 3, 124, 62, 0, 506, 504, 1, 0, 0, 0, 507, 510, 1, 0, 0, 0, 508, 506, 1, 0, 0, 0, 508, 509, 1, 0, 0, 0, 509, 511, 1, 0, 0, 0, 510, 508, 1, 0, 0, 0, 511, 512, 5, 4, 0, 0, 512, 105, 1, 0, 0, 0, 513, 514, 5, 92, 0, 0, 514, 515, 5, 2, 0, 0, 515, 516, 5, 114, 0, 0, 516, 107, 1, 0, 0, 0, 517, 518, 5, 93, 0, 0, 518, 519, 5, 2, 0, 0, 519, 520, 5, 114, 0, 0, 520, 109, 1, 0, 0, 0, 521, 522, 5, 94, 0, 0, 522, 523, 5, 2, 0, 0, 523, 524, 5, 115, 0, 0, 524, 111, 1, 0, 0, 0, 525, 526, 5, 95, 0, 0, 526, 527, 5, 2, 0, 0, 527, 528, 5, 3, 0, 0, 528, 533, 3, 114, 57, 0, 529, 530, 5, 1, 0, 0, 530, 532, 3, 114, 57, 0, 531, 529, 1, 0, 0, 0, 532, 535, 1, 0, 0, 0, 533, 531, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, 534, 536, 1, 0, 0, 0, 535, 533, 1, 0, 0, 0, 536, 537, 5, 4, 0, 0, 537, 113, 1, 0, 0, 0, 538, 539, 5, 5, 0, 0, 539, 544, 3, 116, 58, 0, 540, 541, 5, 1, 0, 0, 541, 543, 3, 116, 58, 0, 542, 540, 1, 0, 0, 0, 543, 546, 1, 0, 0, 0, 544, 542, 1, 0, 0, 0, 544, 545, 1, 0, 0, 0, 545, 547, 1, 0, 0, 0, 546, 544, 1, 0, 0, 0, 547, 548, 5, 6, 0, 0, 548, 115, 1, 0, 0, 0, 549, 553, 3, 104, 52, 0, 550, 553, 3, 28, 14, 0, 551, 553, 3, 20, 10, 0, 552, 549, 1, 0, 0, 0, 552, 550, 1, 0, 0, 0, 552, 551, 1, 0, 0, 0, 553, 117, 1, 0, 0, 0, 554, 555, 7, 2, 0, 0, 555, 119, 1, 0, 0, 0, 556, 557, 7, 3, 0, 0, 557, 121, 1, 0, 0, 0, 558, 559, 7, 4, 0, 0, 559, 123, 1, 0, 0, 0, 560, 563, 3, 122, 61, 0, 561, 563, 3, 134, 67, 0, 562, 560, 1, 0, 0, 0, 562, 561, 1, 0, 0, 0, 563, 125, 1, 0, 0, 0, 564, 565, 5, 5, 0, 0, 565, 570, 3, 128, 64, 0, 566, 567, 5, 1, 0, 0, 567, 569, 3, 128, 64, 0, 568, 566, 1, 0, 0, 0, 569, 572, 1, 0, 0, 0, 570, 568, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 571, 573, 1, 0, 0, 0, 572, 570, 1, 0, 0, 0, 573, 574, 5, 6, 0, 0, 574, 578, 1, 0, 0, 0, 575, 576, 5, 5, 0, 0, 576, 578, 5, 6, 0, 0, 577, 564, 1, 0, 0, 0, 577, 575, 1, 0, 0, 0, 578, 127, 1, 0, 0, 0, 579, 580, 3, 134, 67, 0, 580, 581, 5, 2, 0, 0, 581, 582, 3, 132, 66, 0, 582, 129, 1, 0, 0, 0, 583, 584, 5, 3, 0, 0, 584, 589, 3, 132, 66, 0, 585, 586, 5, 1, 0, 0, 586, 588, 3, 132, 66, 0, 587, 585, 1, 0, 0, 0, 588, 591, 1, 0, 0, 0, 589, 587, 1, 0, 0, 0, 589, 590, 1, 0, 0, 0, 590, 592, 1, 0, 0, 0, 591, 589, 1, 0, 0, 0, 592, 593, 5, 4, 0, 0, 593, 597, 1, 0, 0, 0, 594, 595, 5, 3, 0, 0, 595, 597, 5, 4, 0, 0, 596, 583, 1, 0, 0, 0, 596, 594, 1, 0, 0, 0, 597, 131, 1, 0, 0, 0, 598, 608, 5, 115, 0, 0, 599, 608, 5, 114, 0, 0, 600, 608, 5, 7, 0, 0, 601, 608, 5, 8, 0, 0, 602, 608, 5, 9, 0, 0, 603, 608, 3, 128, 64, 0, 604, 608, 3, 130, 65, 0, 605, 608, 3, 126, 63, 0, 606, 608, 3, 134, 67, 0, 607, 598, 1, 0, 0, 0, 607, 599, 1, 0, 0, 0, 607, 600, 1, 0, 0, 0, 607, 601, 1, 0, 0, 0, 607, 602, 1, 0, 0, 0, 607, 603, 1, 0, 0, 0, 607, 604, 1, 0, 0, 0, 607, 605, 1, 0, 0, 0, 607, 606, 1, 0, 0, 0, 608, 133, 1, 0, 0, 0, 609, 654, 5, 113, 0, 0, 610, 654, 5, 110, 0, 0, 611, 654, 5, 112, 0, 0, 612, 654, 5, 111, 0, 0, 613, 654, 5, 10, 0, 0, 614, 654, 5, 11, 0, 0, 615, 654, 5, 12, 0, 0, 616, 654, 5, 13, 0, 0, 617, 654, 5, 14, 0, 0, 618, 654, 5, 15, 0, 0, 619, 654, 5, 16, 0, 0, 620, 654, 5, 23, 0, 0, 621, 654, 5, 17, 0, 0, 622, 654, 5, 20, 0, 0, 623, 654, 5, 21, 0, 0, 624, 654, 5, 22, 0, 0, 625, 654, 5, 18, 0, 0, 626, 654, 5, 24, 0, 0, 627, 654, 5, 78, 0, 0, 628, 654, 5, 83, 0, 0, 629, 654, 5, 87, 0, 0, 630, 654, 5, 88, 0, 0, 631, 654, 5, 89, 0, 0, 632, 654, 5, 25, 0, 0, 633, 654, 5, 81, 0, 0, 634, 654, 5, 74, 0, 0, 635, 654, 5, 73, 0, 0, 636, 654, 5, 75, 0, 0, 637, 654, 5, 80, 0, 0, 638, 654, 5, 82, 0, 0, 639, 654, 5, 79, 0, 0, 640, 654, 5, 69, 0, 0, 641, 654, 5, 70, 0, 0, 642, 654, 5, 71, 0, 0, 643, 654, 5, 72, 0, 0, 644, 654, 5, 90, 0, 0, 645, 654, 5, 91, 0, 0, 646, 654, 5, 92, 0, 0, 647, 654, 5, 93, 0, 0, 648, 654, 5, 94, 0, 0, 649, 654, 5, 95, 0, 0, 650, 654, 3, 84, 42, 0, 651, 654, 3, 120, 60, 0, 652, 654, 3, 122, 61, 0, 653, 609, 1, 0, 0, 0, 653, 610, 1, 0, 0, 0, 653, 611, 1, 0, 0, 0, 653, 612, 1, 0, 0, 0, 653, 613, 1, 0, 0, 0, 653, 614, 1, 0, 0, 0, 653, 615, 1, 0, 0, 0, 653, 616, 1, 0, 0, 0, 653, 617, 1, 0, 0, 0, 653, 618, 1, 0, 0, 0, 653, 619, 1, 0, 0, 0, 653, 620, 1, 0, 0, 0, 653, 621, 1, 0, 0, 0, 653, 622, 1, 0, 0, 0, 653, 623, 1, 0, 0, 0, 653, 624, 1, 0, 0, 0, 653, 625, 1, 0, 0, 0, 653, 626, 1, 0, 0, 0, 653, 627, 1, 0, 0, 0, 653, 628, 1, 0, 0, 0, 653, 629, 1, 0, 0, 0, 653, 630, 1, 0, 0, 0, 653, 631, 1, 0, 0, 0, 653, 632, 1, 0, 0, 0, 653, 633, 1, 0, 0, 0, 653, 634, 1, 0, 0, 0, 653, 635, 1, 0, 0, 0, 653, 636, 1, 0, 0, 0, 653, 637, 1, 0, 0, 0, 653, 638, 1, 0, 0, 0, 653, 639, 1, 0, 0, 0, 653, 640, 1, 0, 0, 0, 653, 641, 1, 0, 0, 0, 653, 642, 1, 0, 0, 0, 653, 643, 1, 0, 0, 0, 653, 644, 1, 0, 0, 0, 653, 645, 1, 0, 0, 0, 653, 646, 1, 0, 0, 0, 653, 647, 1, 0, 0, 0, 653, 648, 1, 0, 0, 0, 653, 649, 1, 0, 0, 0, 653, 650, 1, 0, 0, 0, 653, 651, 1, 0, 0, 0, 653, 652, 1, 0, 0, 0, 654, 135, 1, 0, 0, 0, 39, 142, 150, 185, 195, 212, 241, 297, 304, 319, 329, 336, 342, 349, 365, 376, 384, 391, 395, 406, 410, 428, 441, 450, 457, 459, 478, 489, 498, 508, 533, 544, 552, 562, 570, 577, 589, 596, 607, 653] \ No newline at end of file +[4, 1, 118, 670, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 1, 0, 1, 0, 1, 0, 1, 0, 5, 0, 145, 8, 0, 10, 0, 12, 0, 148, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 155, 8, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 192, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 200, 8, 5, 10, 5, 12, 5, 203, 9, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 217, 8, 8, 10, 8, 12, 8, 220, 9, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 248, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 5, 29, 310, 8, 29, 10, 29, 12, 29, 313, 9, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 319, 8, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 334, 8, 30, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 342, 8, 32, 10, 32, 12, 32, 345, 9, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 351, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 3, 33, 357, 8, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 364, 8, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 378, 8, 37, 10, 37, 12, 37, 381, 9, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 5, 38, 389, 8, 38, 10, 38, 12, 38, 392, 9, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 3, 39, 399, 8, 39, 1, 40, 1, 40, 1, 40, 4, 40, 404, 8, 40, 11, 40, 12, 40, 405, 1, 41, 1, 41, 3, 41, 410, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 4, 42, 419, 8, 42, 11, 42, 12, 42, 420, 1, 42, 1, 42, 3, 42, 425, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 5, 45, 441, 8, 45, 10, 45, 12, 45, 444, 9, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 454, 8, 46, 10, 46, 12, 46, 457, 9, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 465, 8, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 472, 8, 48, 10, 48, 12, 48, 475, 9, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 491, 8, 51, 10, 51, 12, 51, 494, 9, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 502, 8, 52, 10, 52, 12, 52, 505, 9, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 513, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 521, 8, 54, 10, 54, 12, 54, 524, 9, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 5, 58, 546, 8, 58, 10, 58, 12, 58, 549, 9, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 557, 8, 59, 10, 59, 12, 59, 560, 9, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 3, 60, 567, 8, 60, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 64, 1, 64, 3, 64, 577, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 583, 8, 65, 10, 65, 12, 65, 586, 9, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 592, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 602, 8, 67, 10, 67, 12, 67, 605, 9, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 611, 8, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 622, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 668, 8, 69, 1, 69, 0, 0, 70, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 0, 5, 1, 0, 7, 8, 1, 0, 15, 22, 3, 0, 28, 35, 37, 46, 48, 68, 3, 0, 27, 27, 36, 36, 47, 47, 1, 0, 98, 110, 726, 0, 140, 1, 0, 0, 0, 2, 154, 1, 0, 0, 0, 4, 156, 1, 0, 0, 0, 6, 160, 1, 0, 0, 0, 8, 191, 1, 0, 0, 0, 10, 193, 1, 0, 0, 0, 12, 206, 1, 0, 0, 0, 14, 208, 1, 0, 0, 0, 16, 212, 1, 0, 0, 0, 18, 223, 1, 0, 0, 0, 20, 227, 1, 0, 0, 0, 22, 231, 1, 0, 0, 0, 24, 235, 1, 0, 0, 0, 26, 239, 1, 0, 0, 0, 28, 243, 1, 0, 0, 0, 30, 249, 1, 0, 0, 0, 32, 253, 1, 0, 0, 0, 34, 257, 1, 0, 0, 0, 36, 261, 1, 0, 0, 0, 38, 265, 1, 0, 0, 0, 40, 269, 1, 0, 0, 0, 42, 273, 1, 0, 0, 0, 44, 277, 1, 0, 0, 0, 46, 281, 1, 0, 0, 0, 48, 285, 1, 0, 0, 0, 50, 289, 1, 0, 0, 0, 52, 293, 1, 0, 0, 0, 54, 297, 1, 0, 0, 0, 56, 301, 1, 0, 0, 0, 58, 318, 1, 0, 0, 0, 60, 333, 1, 0, 0, 0, 62, 335, 1, 0, 0, 0, 64, 350, 1, 0, 0, 0, 66, 356, 1, 0, 0, 0, 68, 363, 1, 0, 0, 0, 70, 365, 1, 0, 0, 0, 72, 369, 1, 0, 0, 0, 74, 371, 1, 0, 0, 0, 76, 384, 1, 0, 0, 0, 78, 398, 1, 0, 0, 0, 80, 400, 1, 0, 0, 0, 82, 409, 1, 0, 0, 0, 84, 411, 1, 0, 0, 0, 86, 426, 1, 0, 0, 0, 88, 430, 1, 0, 0, 0, 90, 434, 1, 0, 0, 0, 92, 447, 1, 0, 0, 0, 94, 464, 1, 0, 0, 0, 96, 466, 1, 0, 0, 0, 98, 478, 1, 0, 0, 0, 100, 482, 1, 0, 0, 0, 102, 484, 1, 0, 0, 0, 104, 497, 1, 0, 0, 0, 106, 512, 1, 0, 0, 0, 108, 514, 1, 0, 0, 0, 110, 527, 1, 0, 0, 0, 112, 531, 1, 0, 0, 0, 114, 535, 1, 0, 0, 0, 116, 539, 1, 0, 0, 0, 118, 552, 1, 0, 0, 0, 120, 566, 1, 0, 0, 0, 122, 568, 1, 0, 0, 0, 124, 570, 1, 0, 0, 0, 126, 572, 1, 0, 0, 0, 128, 576, 1, 0, 0, 0, 130, 591, 1, 0, 0, 0, 132, 593, 1, 0, 0, 0, 134, 610, 1, 0, 0, 0, 136, 621, 1, 0, 0, 0, 138, 667, 1, 0, 0, 0, 140, 141, 5, 5, 0, 0, 141, 146, 3, 2, 1, 0, 142, 143, 5, 1, 0, 0, 143, 145, 3, 2, 1, 0, 144, 142, 1, 0, 0, 0, 145, 148, 1, 0, 0, 0, 146, 144, 1, 0, 0, 0, 146, 147, 1, 0, 0, 0, 147, 149, 1, 0, 0, 0, 148, 146, 1, 0, 0, 0, 149, 150, 5, 6, 0, 0, 150, 1, 1, 0, 0, 0, 151, 155, 3, 6, 3, 0, 152, 155, 3, 4, 2, 0, 153, 155, 3, 10, 5, 0, 154, 151, 1, 0, 0, 0, 154, 152, 1, 0, 0, 0, 154, 153, 1, 0, 0, 0, 155, 3, 1, 0, 0, 0, 156, 157, 5, 12, 0, 0, 157, 158, 5, 2, 0, 0, 158, 159, 3, 138, 69, 0, 159, 5, 1, 0, 0, 0, 160, 161, 5, 10, 0, 0, 161, 162, 5, 2, 0, 0, 162, 163, 3, 138, 69, 0, 163, 7, 1, 0, 0, 0, 164, 192, 3, 6, 3, 0, 165, 192, 3, 18, 9, 0, 166, 192, 3, 24, 12, 0, 167, 192, 3, 22, 11, 0, 168, 192, 3, 20, 10, 0, 169, 192, 3, 26, 13, 0, 170, 192, 3, 28, 14, 0, 171, 192, 3, 30, 15, 0, 172, 192, 3, 32, 16, 0, 173, 192, 3, 34, 17, 0, 174, 192, 3, 74, 37, 0, 175, 192, 3, 36, 18, 0, 176, 192, 3, 38, 19, 0, 177, 192, 3, 40, 20, 0, 178, 192, 3, 42, 21, 0, 179, 192, 3, 44, 22, 0, 180, 192, 3, 46, 23, 0, 181, 192, 3, 48, 24, 0, 182, 192, 3, 92, 46, 0, 183, 192, 3, 50, 25, 0, 184, 192, 3, 54, 27, 0, 185, 192, 3, 56, 28, 0, 186, 192, 3, 90, 45, 0, 187, 192, 3, 52, 26, 0, 188, 192, 3, 102, 51, 0, 189, 192, 3, 116, 58, 0, 190, 192, 3, 70, 35, 0, 191, 164, 1, 0, 0, 0, 191, 165, 1, 0, 0, 0, 191, 166, 1, 0, 0, 0, 191, 167, 1, 0, 0, 0, 191, 168, 1, 0, 0, 0, 191, 169, 1, 0, 0, 0, 191, 170, 1, 0, 0, 0, 191, 171, 1, 0, 0, 0, 191, 172, 1, 0, 0, 0, 191, 173, 1, 0, 0, 0, 191, 174, 1, 0, 0, 0, 191, 175, 1, 0, 0, 0, 191, 176, 1, 0, 0, 0, 191, 177, 1, 0, 0, 0, 191, 178, 1, 0, 0, 0, 191, 179, 1, 0, 0, 0, 191, 180, 1, 0, 0, 0, 191, 181, 1, 0, 0, 0, 191, 182, 1, 0, 0, 0, 191, 183, 1, 0, 0, 0, 191, 184, 1, 0, 0, 0, 191, 185, 1, 0, 0, 0, 191, 186, 1, 0, 0, 0, 191, 187, 1, 0, 0, 0, 191, 188, 1, 0, 0, 0, 191, 189, 1, 0, 0, 0, 191, 190, 1, 0, 0, 0, 192, 9, 1, 0, 0, 0, 193, 194, 5, 11, 0, 0, 194, 195, 5, 2, 0, 0, 195, 196, 5, 5, 0, 0, 196, 201, 3, 14, 7, 0, 197, 198, 5, 1, 0, 0, 198, 200, 3, 14, 7, 0, 199, 197, 1, 0, 0, 0, 200, 203, 1, 0, 0, 0, 201, 199, 1, 0, 0, 0, 201, 202, 1, 0, 0, 0, 202, 204, 1, 0, 0, 0, 203, 201, 1, 0, 0, 0, 204, 205, 5, 6, 0, 0, 205, 11, 1, 0, 0, 0, 206, 207, 3, 138, 69, 0, 207, 13, 1, 0, 0, 0, 208, 209, 3, 12, 6, 0, 209, 210, 5, 2, 0, 0, 210, 211, 3, 16, 8, 0, 211, 15, 1, 0, 0, 0, 212, 213, 5, 5, 0, 0, 213, 218, 3, 8, 4, 0, 214, 215, 5, 1, 0, 0, 215, 217, 3, 8, 4, 0, 216, 214, 1, 0, 0, 0, 217, 220, 1, 0, 0, 0, 218, 216, 1, 0, 0, 0, 218, 219, 1, 0, 0, 0, 219, 221, 1, 0, 0, 0, 220, 218, 1, 0, 0, 0, 221, 222, 5, 6, 0, 0, 222, 17, 1, 0, 0, 0, 223, 224, 5, 14, 0, 0, 224, 225, 5, 2, 0, 0, 225, 226, 3, 72, 36, 0, 226, 19, 1, 0, 0, 0, 227, 228, 5, 88, 0, 0, 228, 229, 5, 2, 0, 0, 229, 230, 3, 138, 69, 0, 230, 21, 1, 0, 0, 0, 231, 232, 5, 80, 0, 0, 232, 233, 5, 2, 0, 0, 233, 234, 3, 138, 69, 0, 234, 23, 1, 0, 0, 0, 235, 236, 5, 81, 0, 0, 236, 237, 5, 2, 0, 0, 237, 238, 3, 138, 69, 0, 238, 25, 1, 0, 0, 0, 239, 240, 5, 85, 0, 0, 240, 241, 5, 2, 0, 0, 241, 242, 3, 136, 68, 0, 242, 27, 1, 0, 0, 0, 243, 244, 5, 84, 0, 0, 244, 247, 5, 2, 0, 0, 245, 248, 3, 138, 69, 0, 246, 248, 5, 9, 0, 0, 247, 245, 1, 0, 0, 0, 247, 246, 1, 0, 0, 0, 248, 29, 1, 0, 0, 0, 249, 250, 5, 82, 0, 0, 250, 251, 5, 2, 0, 0, 251, 252, 3, 138, 69, 0, 252, 31, 1, 0, 0, 0, 253, 254, 5, 89, 0, 0, 254, 255, 5, 2, 0, 0, 255, 256, 7, 0, 0, 0, 256, 33, 1, 0, 0, 0, 257, 258, 5, 25, 0, 0, 258, 259, 5, 2, 0, 0, 259, 260, 3, 138, 69, 0, 260, 35, 1, 0, 0, 0, 261, 262, 5, 91, 0, 0, 262, 263, 5, 2, 0, 0, 263, 264, 3, 138, 69, 0, 264, 37, 1, 0, 0, 0, 265, 266, 5, 90, 0, 0, 266, 267, 5, 2, 0, 0, 267, 268, 3, 138, 69, 0, 268, 39, 1, 0, 0, 0, 269, 270, 5, 70, 0, 0, 270, 271, 5, 2, 0, 0, 271, 272, 5, 116, 0, 0, 272, 41, 1, 0, 0, 0, 273, 274, 5, 69, 0, 0, 274, 275, 5, 2, 0, 0, 275, 276, 3, 138, 69, 0, 276, 43, 1, 0, 0, 0, 277, 278, 5, 72, 0, 0, 278, 279, 5, 2, 0, 0, 279, 280, 3, 138, 69, 0, 280, 45, 1, 0, 0, 0, 281, 282, 5, 71, 0, 0, 282, 283, 5, 2, 0, 0, 283, 284, 3, 138, 69, 0, 284, 47, 1, 0, 0, 0, 285, 286, 5, 83, 0, 0, 286, 287, 5, 2, 0, 0, 287, 288, 3, 138, 69, 0, 288, 49, 1, 0, 0, 0, 289, 290, 5, 79, 0, 0, 290, 291, 5, 2, 0, 0, 291, 292, 5, 116, 0, 0, 292, 51, 1, 0, 0, 0, 293, 294, 5, 86, 0, 0, 294, 295, 5, 2, 0, 0, 295, 296, 3, 58, 29, 0, 296, 53, 1, 0, 0, 0, 297, 298, 5, 73, 0, 0, 298, 299, 5, 2, 0, 0, 299, 300, 5, 116, 0, 0, 300, 55, 1, 0, 0, 0, 301, 302, 5, 74, 0, 0, 302, 303, 5, 2, 0, 0, 303, 304, 5, 114, 0, 0, 304, 57, 1, 0, 0, 0, 305, 306, 5, 5, 0, 0, 306, 311, 3, 60, 30, 0, 307, 308, 5, 1, 0, 0, 308, 310, 3, 60, 30, 0, 309, 307, 1, 0, 0, 0, 310, 313, 1, 0, 0, 0, 311, 309, 1, 0, 0, 0, 311, 312, 1, 0, 0, 0, 312, 314, 1, 0, 0, 0, 313, 311, 1, 0, 0, 0, 314, 315, 5, 6, 0, 0, 315, 319, 1, 0, 0, 0, 316, 317, 5, 5, 0, 0, 317, 319, 5, 6, 0, 0, 318, 305, 1, 0, 0, 0, 318, 316, 1, 0, 0, 0, 319, 59, 1, 0, 0, 0, 320, 321, 5, 112, 0, 0, 321, 322, 5, 2, 0, 0, 322, 334, 5, 114, 0, 0, 323, 324, 5, 112, 0, 0, 324, 325, 5, 2, 0, 0, 325, 334, 5, 113, 0, 0, 326, 327, 5, 112, 0, 0, 327, 328, 5, 2, 0, 0, 328, 334, 3, 62, 31, 0, 329, 330, 3, 138, 69, 0, 330, 331, 5, 2, 0, 0, 331, 332, 3, 66, 33, 0, 332, 334, 1, 0, 0, 0, 333, 320, 1, 0, 0, 0, 333, 323, 1, 0, 0, 0, 333, 326, 1, 0, 0, 0, 333, 329, 1, 0, 0, 0, 334, 61, 1, 0, 0, 0, 335, 336, 5, 115, 0, 0, 336, 63, 1, 0, 0, 0, 337, 338, 5, 3, 0, 0, 338, 343, 3, 66, 33, 0, 339, 340, 5, 1, 0, 0, 340, 342, 3, 66, 33, 0, 341, 339, 1, 0, 0, 0, 342, 345, 1, 0, 0, 0, 343, 341, 1, 0, 0, 0, 343, 344, 1, 0, 0, 0, 344, 346, 1, 0, 0, 0, 345, 343, 1, 0, 0, 0, 346, 347, 5, 4, 0, 0, 347, 351, 1, 0, 0, 0, 348, 349, 5, 3, 0, 0, 349, 351, 5, 4, 0, 0, 350, 337, 1, 0, 0, 0, 350, 348, 1, 0, 0, 0, 351, 65, 1, 0, 0, 0, 352, 357, 3, 60, 30, 0, 353, 357, 3, 64, 32, 0, 354, 357, 3, 58, 29, 0, 355, 357, 3, 68, 34, 0, 356, 352, 1, 0, 0, 0, 356, 353, 1, 0, 0, 0, 356, 354, 1, 0, 0, 0, 356, 355, 1, 0, 0, 0, 357, 67, 1, 0, 0, 0, 358, 364, 5, 117, 0, 0, 359, 364, 5, 116, 0, 0, 360, 364, 7, 0, 0, 0, 361, 364, 5, 9, 0, 0, 362, 364, 3, 138, 69, 0, 363, 358, 1, 0, 0, 0, 363, 359, 1, 0, 0, 0, 363, 360, 1, 0, 0, 0, 363, 361, 1, 0, 0, 0, 363, 362, 1, 0, 0, 0, 364, 69, 1, 0, 0, 0, 365, 366, 5, 87, 0, 0, 366, 367, 5, 2, 0, 0, 367, 368, 3, 58, 29, 0, 368, 71, 1, 0, 0, 0, 369, 370, 7, 1, 0, 0, 370, 73, 1, 0, 0, 0, 371, 372, 5, 23, 0, 0, 372, 373, 5, 2, 0, 0, 373, 374, 5, 3, 0, 0, 374, 379, 3, 76, 38, 0, 375, 376, 5, 1, 0, 0, 376, 378, 3, 76, 38, 0, 377, 375, 1, 0, 0, 0, 378, 381, 1, 0, 0, 0, 379, 377, 1, 0, 0, 0, 379, 380, 1, 0, 0, 0, 380, 382, 1, 0, 0, 0, 381, 379, 1, 0, 0, 0, 382, 383, 5, 4, 0, 0, 383, 75, 1, 0, 0, 0, 384, 385, 5, 5, 0, 0, 385, 390, 3, 78, 39, 0, 386, 387, 5, 1, 0, 0, 387, 389, 3, 78, 39, 0, 388, 386, 1, 0, 0, 0, 389, 392, 1, 0, 0, 0, 390, 388, 1, 0, 0, 0, 390, 391, 1, 0, 0, 0, 391, 393, 1, 0, 0, 0, 392, 390, 1, 0, 0, 0, 393, 394, 5, 6, 0, 0, 394, 77, 1, 0, 0, 0, 395, 399, 3, 80, 40, 0, 396, 399, 3, 84, 42, 0, 397, 399, 3, 20, 10, 0, 398, 395, 1, 0, 0, 0, 398, 396, 1, 0, 0, 0, 398, 397, 1, 0, 0, 0, 399, 79, 1, 0, 0, 0, 400, 403, 3, 82, 41, 0, 401, 402, 5, 1, 0, 0, 402, 404, 3, 82, 41, 0, 403, 401, 1, 0, 0, 0, 404, 405, 1, 0, 0, 0, 405, 403, 1, 0, 0, 0, 405, 406, 1, 0, 0, 0, 406, 81, 1, 0, 0, 0, 407, 410, 3, 86, 43, 0, 408, 410, 3, 88, 44, 0, 409, 407, 1, 0, 0, 0, 409, 408, 1, 0, 0, 0, 410, 83, 1, 0, 0, 0, 411, 412, 3, 124, 62, 0, 412, 424, 5, 2, 0, 0, 413, 425, 3, 76, 38, 0, 414, 415, 5, 3, 0, 0, 415, 418, 3, 76, 38, 0, 416, 417, 5, 1, 0, 0, 417, 419, 3, 76, 38, 0, 418, 416, 1, 0, 0, 0, 419, 420, 1, 0, 0, 0, 420, 418, 1, 0, 0, 0, 420, 421, 1, 0, 0, 0, 421, 422, 1, 0, 0, 0, 422, 423, 5, 4, 0, 0, 423, 425, 1, 0, 0, 0, 424, 413, 1, 0, 0, 0, 424, 414, 1, 0, 0, 0, 425, 85, 1, 0, 0, 0, 426, 427, 5, 24, 0, 0, 427, 428, 5, 2, 0, 0, 428, 429, 3, 138, 69, 0, 429, 87, 1, 0, 0, 0, 430, 431, 3, 122, 61, 0, 431, 432, 5, 2, 0, 0, 432, 433, 3, 136, 68, 0, 433, 89, 1, 0, 0, 0, 434, 435, 5, 26, 0, 0, 435, 436, 5, 2, 0, 0, 436, 437, 5, 3, 0, 0, 437, 442, 3, 0, 0, 0, 438, 439, 5, 1, 0, 0, 439, 441, 3, 0, 0, 0, 440, 438, 1, 0, 0, 0, 441, 444, 1, 0, 0, 0, 442, 440, 1, 0, 0, 0, 442, 443, 1, 0, 0, 0, 443, 445, 1, 0, 0, 0, 444, 442, 1, 0, 0, 0, 445, 446, 5, 4, 0, 0, 446, 91, 1, 0, 0, 0, 447, 448, 5, 78, 0, 0, 448, 449, 5, 2, 0, 0, 449, 450, 5, 5, 0, 0, 450, 455, 3, 94, 47, 0, 451, 452, 5, 1, 0, 0, 452, 454, 3, 94, 47, 0, 453, 451, 1, 0, 0, 0, 454, 457, 1, 0, 0, 0, 455, 453, 1, 0, 0, 0, 455, 456, 1, 0, 0, 0, 456, 458, 1, 0, 0, 0, 457, 455, 1, 0, 0, 0, 458, 459, 5, 6, 0, 0, 459, 93, 1, 0, 0, 0, 460, 465, 3, 96, 48, 0, 461, 465, 3, 4, 2, 0, 462, 465, 3, 10, 5, 0, 463, 465, 3, 6, 3, 0, 464, 460, 1, 0, 0, 0, 464, 461, 1, 0, 0, 0, 464, 462, 1, 0, 0, 0, 464, 463, 1, 0, 0, 0, 465, 95, 1, 0, 0, 0, 466, 467, 5, 75, 0, 0, 467, 468, 5, 2, 0, 0, 468, 473, 5, 5, 0, 0, 469, 472, 3, 98, 49, 0, 470, 472, 3, 132, 66, 0, 471, 469, 1, 0, 0, 0, 471, 470, 1, 0, 0, 0, 472, 475, 1, 0, 0, 0, 473, 471, 1, 0, 0, 0, 473, 474, 1, 0, 0, 0, 474, 476, 1, 0, 0, 0, 475, 473, 1, 0, 0, 0, 476, 477, 5, 6, 0, 0, 477, 97, 1, 0, 0, 0, 478, 479, 5, 76, 0, 0, 479, 480, 5, 2, 0, 0, 480, 481, 3, 100, 50, 0, 481, 99, 1, 0, 0, 0, 482, 483, 5, 77, 0, 0, 483, 101, 1, 0, 0, 0, 484, 485, 5, 92, 0, 0, 485, 486, 5, 2, 0, 0, 486, 487, 5, 3, 0, 0, 487, 492, 3, 104, 52, 0, 488, 489, 5, 1, 0, 0, 489, 491, 3, 102, 51, 0, 490, 488, 1, 0, 0, 0, 491, 494, 1, 0, 0, 0, 492, 490, 1, 0, 0, 0, 492, 493, 1, 0, 0, 0, 493, 495, 1, 0, 0, 0, 494, 492, 1, 0, 0, 0, 495, 496, 5, 4, 0, 0, 496, 103, 1, 0, 0, 0, 497, 498, 5, 5, 0, 0, 498, 503, 3, 106, 53, 0, 499, 500, 5, 1, 0, 0, 500, 502, 3, 106, 53, 0, 501, 499, 1, 0, 0, 0, 502, 505, 1, 0, 0, 0, 503, 501, 1, 0, 0, 0, 503, 504, 1, 0, 0, 0, 504, 506, 1, 0, 0, 0, 505, 503, 1, 0, 0, 0, 506, 507, 5, 6, 0, 0, 507, 105, 1, 0, 0, 0, 508, 513, 3, 108, 54, 0, 509, 513, 3, 110, 55, 0, 510, 513, 3, 112, 56, 0, 511, 513, 3, 114, 57, 0, 512, 508, 1, 0, 0, 0, 512, 509, 1, 0, 0, 0, 512, 510, 1, 0, 0, 0, 512, 511, 1, 0, 0, 0, 513, 107, 1, 0, 0, 0, 514, 515, 5, 93, 0, 0, 515, 516, 5, 2, 0, 0, 516, 517, 5, 3, 0, 0, 517, 522, 3, 128, 64, 0, 518, 519, 5, 1, 0, 0, 519, 521, 3, 128, 64, 0, 520, 518, 1, 0, 0, 0, 521, 524, 1, 0, 0, 0, 522, 520, 1, 0, 0, 0, 522, 523, 1, 0, 0, 0, 523, 525, 1, 0, 0, 0, 524, 522, 1, 0, 0, 0, 525, 526, 5, 4, 0, 0, 526, 109, 1, 0, 0, 0, 527, 528, 5, 94, 0, 0, 528, 529, 5, 2, 0, 0, 529, 530, 5, 116, 0, 0, 530, 111, 1, 0, 0, 0, 531, 532, 5, 95, 0, 0, 532, 533, 5, 2, 0, 0, 533, 534, 5, 116, 0, 0, 534, 113, 1, 0, 0, 0, 535, 536, 5, 96, 0, 0, 536, 537, 5, 2, 0, 0, 537, 538, 5, 117, 0, 0, 538, 115, 1, 0, 0, 0, 539, 540, 5, 97, 0, 0, 540, 541, 5, 2, 0, 0, 541, 542, 5, 3, 0, 0, 542, 547, 3, 118, 59, 0, 543, 544, 5, 1, 0, 0, 544, 546, 3, 118, 59, 0, 545, 543, 1, 0, 0, 0, 546, 549, 1, 0, 0, 0, 547, 545, 1, 0, 0, 0, 547, 548, 1, 0, 0, 0, 548, 550, 1, 0, 0, 0, 549, 547, 1, 0, 0, 0, 550, 551, 5, 4, 0, 0, 551, 117, 1, 0, 0, 0, 552, 553, 5, 5, 0, 0, 553, 558, 3, 120, 60, 0, 554, 555, 5, 1, 0, 0, 555, 557, 3, 120, 60, 0, 556, 554, 1, 0, 0, 0, 557, 560, 1, 0, 0, 0, 558, 556, 1, 0, 0, 0, 558, 559, 1, 0, 0, 0, 559, 561, 1, 0, 0, 0, 560, 558, 1, 0, 0, 0, 561, 562, 5, 6, 0, 0, 562, 119, 1, 0, 0, 0, 563, 567, 3, 108, 54, 0, 564, 567, 3, 28, 14, 0, 565, 567, 3, 20, 10, 0, 566, 563, 1, 0, 0, 0, 566, 564, 1, 0, 0, 0, 566, 565, 1, 0, 0, 0, 567, 121, 1, 0, 0, 0, 568, 569, 7, 2, 0, 0, 569, 123, 1, 0, 0, 0, 570, 571, 7, 3, 0, 0, 571, 125, 1, 0, 0, 0, 572, 573, 7, 4, 0, 0, 573, 127, 1, 0, 0, 0, 574, 577, 3, 126, 63, 0, 575, 577, 3, 138, 69, 0, 576, 574, 1, 0, 0, 0, 576, 575, 1, 0, 0, 0, 577, 129, 1, 0, 0, 0, 578, 579, 5, 5, 0, 0, 579, 584, 3, 132, 66, 0, 580, 581, 5, 1, 0, 0, 581, 583, 3, 132, 66, 0, 582, 580, 1, 0, 0, 0, 583, 586, 1, 0, 0, 0, 584, 582, 1, 0, 0, 0, 584, 585, 1, 0, 0, 0, 585, 587, 1, 0, 0, 0, 586, 584, 1, 0, 0, 0, 587, 588, 5, 6, 0, 0, 588, 592, 1, 0, 0, 0, 589, 590, 5, 5, 0, 0, 590, 592, 5, 6, 0, 0, 591, 578, 1, 0, 0, 0, 591, 589, 1, 0, 0, 0, 592, 131, 1, 0, 0, 0, 593, 594, 3, 138, 69, 0, 594, 595, 5, 2, 0, 0, 595, 596, 3, 136, 68, 0, 596, 133, 1, 0, 0, 0, 597, 598, 5, 3, 0, 0, 598, 603, 3, 136, 68, 0, 599, 600, 5, 1, 0, 0, 600, 602, 3, 136, 68, 0, 601, 599, 1, 0, 0, 0, 602, 605, 1, 0, 0, 0, 603, 601, 1, 0, 0, 0, 603, 604, 1, 0, 0, 0, 604, 606, 1, 0, 0, 0, 605, 603, 1, 0, 0, 0, 606, 607, 5, 4, 0, 0, 607, 611, 1, 0, 0, 0, 608, 609, 5, 3, 0, 0, 609, 611, 5, 4, 0, 0, 610, 597, 1, 0, 0, 0, 610, 608, 1, 0, 0, 0, 611, 135, 1, 0, 0, 0, 612, 622, 5, 117, 0, 0, 613, 622, 5, 116, 0, 0, 614, 622, 5, 7, 0, 0, 615, 622, 5, 8, 0, 0, 616, 622, 5, 9, 0, 0, 617, 622, 3, 132, 66, 0, 618, 622, 3, 134, 67, 0, 619, 622, 3, 130, 65, 0, 620, 622, 3, 138, 69, 0, 621, 612, 1, 0, 0, 0, 621, 613, 1, 0, 0, 0, 621, 614, 1, 0, 0, 0, 621, 615, 1, 0, 0, 0, 621, 616, 1, 0, 0, 0, 621, 617, 1, 0, 0, 0, 621, 618, 1, 0, 0, 0, 621, 619, 1, 0, 0, 0, 621, 620, 1, 0, 0, 0, 622, 137, 1, 0, 0, 0, 623, 668, 5, 115, 0, 0, 624, 668, 5, 112, 0, 0, 625, 668, 5, 114, 0, 0, 626, 668, 5, 113, 0, 0, 627, 668, 5, 10, 0, 0, 628, 668, 5, 11, 0, 0, 629, 668, 5, 12, 0, 0, 630, 668, 5, 13, 0, 0, 631, 668, 5, 14, 0, 0, 632, 668, 5, 15, 0, 0, 633, 668, 5, 16, 0, 0, 634, 668, 5, 23, 0, 0, 635, 668, 5, 17, 0, 0, 636, 668, 5, 20, 0, 0, 637, 668, 5, 21, 0, 0, 638, 668, 5, 22, 0, 0, 639, 668, 5, 18, 0, 0, 640, 668, 5, 24, 0, 0, 641, 668, 5, 80, 0, 0, 642, 668, 5, 85, 0, 0, 643, 668, 5, 89, 0, 0, 644, 668, 5, 90, 0, 0, 645, 668, 5, 91, 0, 0, 646, 668, 5, 25, 0, 0, 647, 668, 5, 83, 0, 0, 648, 668, 5, 76, 0, 0, 649, 668, 5, 75, 0, 0, 650, 668, 5, 77, 0, 0, 651, 668, 5, 82, 0, 0, 652, 668, 5, 84, 0, 0, 653, 668, 5, 81, 0, 0, 654, 668, 5, 69, 0, 0, 655, 668, 5, 70, 0, 0, 656, 668, 5, 71, 0, 0, 657, 668, 5, 72, 0, 0, 658, 668, 5, 92, 0, 0, 659, 668, 5, 93, 0, 0, 660, 668, 5, 94, 0, 0, 661, 668, 5, 95, 0, 0, 662, 668, 5, 96, 0, 0, 663, 668, 5, 97, 0, 0, 664, 668, 3, 88, 44, 0, 665, 668, 3, 124, 62, 0, 666, 668, 3, 126, 63, 0, 667, 623, 1, 0, 0, 0, 667, 624, 1, 0, 0, 0, 667, 625, 1, 0, 0, 0, 667, 626, 1, 0, 0, 0, 667, 627, 1, 0, 0, 0, 667, 628, 1, 0, 0, 0, 667, 629, 1, 0, 0, 0, 667, 630, 1, 0, 0, 0, 667, 631, 1, 0, 0, 0, 667, 632, 1, 0, 0, 0, 667, 633, 1, 0, 0, 0, 667, 634, 1, 0, 0, 0, 667, 635, 1, 0, 0, 0, 667, 636, 1, 0, 0, 0, 667, 637, 1, 0, 0, 0, 667, 638, 1, 0, 0, 0, 667, 639, 1, 0, 0, 0, 667, 640, 1, 0, 0, 0, 667, 641, 1, 0, 0, 0, 667, 642, 1, 0, 0, 0, 667, 643, 1, 0, 0, 0, 667, 644, 1, 0, 0, 0, 667, 645, 1, 0, 0, 0, 667, 646, 1, 0, 0, 0, 667, 647, 1, 0, 0, 0, 667, 648, 1, 0, 0, 0, 667, 649, 1, 0, 0, 0, 667, 650, 1, 0, 0, 0, 667, 651, 1, 0, 0, 0, 667, 652, 1, 0, 0, 0, 667, 653, 1, 0, 0, 0, 667, 654, 1, 0, 0, 0, 667, 655, 1, 0, 0, 0, 667, 656, 1, 0, 0, 0, 667, 657, 1, 0, 0, 0, 667, 658, 1, 0, 0, 0, 667, 659, 1, 0, 0, 0, 667, 660, 1, 0, 0, 0, 667, 661, 1, 0, 0, 0, 667, 662, 1, 0, 0, 0, 667, 663, 1, 0, 0, 0, 667, 664, 1, 0, 0, 0, 667, 665, 1, 0, 0, 0, 667, 666, 1, 0, 0, 0, 668, 139, 1, 0, 0, 0, 39, 146, 154, 191, 201, 218, 247, 311, 318, 333, 343, 350, 356, 363, 379, 390, 398, 405, 409, 420, 424, 442, 455, 464, 471, 473, 492, 503, 512, 522, 547, 558, 566, 576, 584, 591, 603, 610, 621, 667] \ No newline at end of file diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.py b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.py index e2160e3b08b92..e26bcc779a428 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.py +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.py @@ -10,7 +10,7 @@ def serializedATN(): return [ - 4,1,116,656,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, + 4,1,118,670,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, 7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7, 13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2, 20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7, @@ -20,236 +20,241 @@ def serializedATN(): 46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7, 52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2, 59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7, - 65,2,66,7,66,2,67,7,67,1,0,1,0,1,0,1,0,5,0,141,8,0,10,0,12,0,144, - 9,0,1,0,1,0,1,1,1,1,1,1,3,1,151,8,1,1,2,1,2,1,2,1,2,1,3,1,3,1,3, - 1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4, - 1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,3,4,186,8,4,1,5,1,5,1,5, - 1,5,1,5,1,5,5,5,194,8,5,10,5,12,5,197,9,5,1,5,1,5,1,6,1,6,1,7,1, - 7,1,7,1,7,1,8,1,8,1,8,1,8,5,8,211,8,8,10,8,12,8,214,9,8,1,8,1,8, - 1,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,11,1,11,1,11,1,11,1,12,1,12, - 1,12,1,12,1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,14,3,14,242,8,14, - 1,15,1,15,1,15,1,15,1,16,1,16,1,16,1,16,1,17,1,17,1,17,1,17,1,18, - 1,18,1,18,1,18,1,19,1,19,1,19,1,19,1,20,1,20,1,20,1,20,1,21,1,21, - 1,21,1,21,1,22,1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,24,1,24,1,24, - 1,24,1,25,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,27,1,27,1,27,1,27, - 5,27,296,8,27,10,27,12,27,299,9,27,1,27,1,27,1,27,1,27,3,27,305, - 8,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28, - 1,28,3,28,320,8,28,1,29,1,29,1,30,1,30,1,30,1,30,5,30,328,8,30,10, - 30,12,30,331,9,30,1,30,1,30,1,30,1,30,3,30,337,8,30,1,31,1,31,1, - 31,1,31,3,31,343,8,31,1,32,1,32,1,32,1,32,1,32,3,32,350,8,32,1,33, - 1,33,1,33,1,33,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,5,35,364, - 8,35,10,35,12,35,367,9,35,1,35,1,35,1,36,1,36,1,36,1,36,5,36,375, - 8,36,10,36,12,36,378,9,36,1,36,1,36,1,37,1,37,1,37,3,37,385,8,37, - 1,38,1,38,1,38,4,38,390,8,38,11,38,12,38,391,1,39,1,39,3,39,396, - 8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,4,40,405,8,40,11,40,12,40, - 406,1,40,1,40,3,40,411,8,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1, - 42,1,43,1,43,1,43,1,43,1,43,1,43,5,43,427,8,43,10,43,12,43,430,9, - 43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,44,5,44,440,8,44,10,44,12, - 44,443,9,44,1,44,1,44,1,45,1,45,1,45,1,45,3,45,451,8,45,1,46,1,46, - 1,46,1,46,1,46,5,46,458,8,46,10,46,12,46,461,9,46,1,46,1,46,1,47, - 1,47,1,47,1,47,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,5,49,477, - 8,49,10,49,12,49,480,9,49,1,49,1,49,1,50,1,50,1,50,1,50,5,50,488, - 8,50,10,50,12,50,491,9,50,1,50,1,50,1,51,1,51,1,51,1,51,3,51,499, - 8,51,1,52,1,52,1,52,1,52,1,52,1,52,5,52,507,8,52,10,52,12,52,510, - 9,52,1,52,1,52,1,53,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,55,1,55, - 1,55,1,55,1,56,1,56,1,56,1,56,1,56,1,56,5,56,532,8,56,10,56,12,56, - 535,9,56,1,56,1,56,1,57,1,57,1,57,1,57,5,57,543,8,57,10,57,12,57, - 546,9,57,1,57,1,57,1,58,1,58,1,58,3,58,553,8,58,1,59,1,59,1,60,1, - 60,1,61,1,61,1,62,1,62,3,62,563,8,62,1,63,1,63,1,63,1,63,5,63,569, - 8,63,10,63,12,63,572,9,63,1,63,1,63,1,63,1,63,3,63,578,8,63,1,64, - 1,64,1,64,1,64,1,65,1,65,1,65,1,65,5,65,588,8,65,10,65,12,65,591, - 9,65,1,65,1,65,1,65,1,65,3,65,597,8,65,1,66,1,66,1,66,1,66,1,66, - 1,66,1,66,1,66,1,66,3,66,608,8,66,1,67,1,67,1,67,1,67,1,67,1,67, - 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67, - 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67, - 1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,3,67, - 654,8,67,1,67,0,0,68,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30, + 65,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,1,0,1,0,1,0,1,0,5,0,145, + 8,0,10,0,12,0,148,9,0,1,0,1,0,1,1,1,1,1,1,3,1,155,8,1,1,2,1,2,1, + 2,1,2,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1, + 4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1, + 4,3,4,192,8,4,1,5,1,5,1,5,1,5,1,5,1,5,5,5,200,8,5,10,5,12,5,203, + 9,5,1,5,1,5,1,6,1,6,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,5,8,217,8,8, + 10,8,12,8,220,9,8,1,8,1,8,1,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1, + 11,1,11,1,11,1,11,1,12,1,12,1,12,1,12,1,13,1,13,1,13,1,13,1,14,1, + 14,1,14,1,14,3,14,248,8,14,1,15,1,15,1,15,1,15,1,16,1,16,1,16,1, + 16,1,17,1,17,1,17,1,17,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,1, + 20,1,20,1,20,1,20,1,21,1,21,1,21,1,21,1,22,1,22,1,22,1,22,1,23,1, + 23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,26,1,26,1, + 26,1,26,1,27,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1, + 29,5,29,310,8,29,10,29,12,29,313,9,29,1,29,1,29,1,29,1,29,3,29,319, + 8,29,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30, + 1,30,3,30,334,8,30,1,31,1,31,1,32,1,32,1,32,1,32,5,32,342,8,32,10, + 32,12,32,345,9,32,1,32,1,32,1,32,1,32,3,32,351,8,32,1,33,1,33,1, + 33,1,33,3,33,357,8,33,1,34,1,34,1,34,1,34,1,34,3,34,364,8,34,1,35, + 1,35,1,35,1,35,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,5,37,378, + 8,37,10,37,12,37,381,9,37,1,37,1,37,1,38,1,38,1,38,1,38,5,38,389, + 8,38,10,38,12,38,392,9,38,1,38,1,38,1,39,1,39,1,39,3,39,399,8,39, + 1,40,1,40,1,40,4,40,404,8,40,11,40,12,40,405,1,41,1,41,3,41,410, + 8,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,4,42,419,8,42,11,42,12,42, + 420,1,42,1,42,3,42,425,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1, + 44,1,45,1,45,1,45,1,45,1,45,1,45,5,45,441,8,45,10,45,12,45,444,9, + 45,1,45,1,45,1,46,1,46,1,46,1,46,1,46,1,46,5,46,454,8,46,10,46,12, + 46,457,9,46,1,46,1,46,1,47,1,47,1,47,1,47,3,47,465,8,47,1,48,1,48, + 1,48,1,48,1,48,5,48,472,8,48,10,48,12,48,475,9,48,1,48,1,48,1,49, + 1,49,1,49,1,49,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,5,51,491, + 8,51,10,51,12,51,494,9,51,1,51,1,51,1,52,1,52,1,52,1,52,5,52,502, + 8,52,10,52,12,52,505,9,52,1,52,1,52,1,53,1,53,1,53,1,53,3,53,513, + 8,53,1,54,1,54,1,54,1,54,1,54,1,54,5,54,521,8,54,10,54,12,54,524, + 9,54,1,54,1,54,1,55,1,55,1,55,1,55,1,56,1,56,1,56,1,56,1,57,1,57, + 1,57,1,57,1,58,1,58,1,58,1,58,1,58,1,58,5,58,546,8,58,10,58,12,58, + 549,9,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,557,8,59,10,59,12,59, + 560,9,59,1,59,1,59,1,60,1,60,1,60,3,60,567,8,60,1,61,1,61,1,62,1, + 62,1,63,1,63,1,64,1,64,3,64,577,8,64,1,65,1,65,1,65,1,65,5,65,583, + 8,65,10,65,12,65,586,9,65,1,65,1,65,1,65,1,65,3,65,592,8,65,1,66, + 1,66,1,66,1,66,1,67,1,67,1,67,1,67,5,67,602,8,67,10,67,12,67,605, + 9,67,1,67,1,67,1,67,1,67,3,67,611,8,67,1,68,1,68,1,68,1,68,1,68, + 1,68,1,68,1,68,1,68,3,68,622,8,68,1,69,1,69,1,69,1,69,1,69,1,69, + 1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69, + 1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69, + 1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,3,69, + 668,8,69,1,69,0,0,70,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30, 32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74, 76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112, - 114,116,118,120,122,124,126,128,130,132,134,0,5,1,0,7,8,1,0,15,22, - 3,0,28,35,37,46,48,68,3,0,27,27,36,36,47,47,1,0,96,108,712,0,136, - 1,0,0,0,2,150,1,0,0,0,4,152,1,0,0,0,6,156,1,0,0,0,8,185,1,0,0,0, - 10,187,1,0,0,0,12,200,1,0,0,0,14,202,1,0,0,0,16,206,1,0,0,0,18,217, - 1,0,0,0,20,221,1,0,0,0,22,225,1,0,0,0,24,229,1,0,0,0,26,233,1,0, - 0,0,28,237,1,0,0,0,30,243,1,0,0,0,32,247,1,0,0,0,34,251,1,0,0,0, - 36,255,1,0,0,0,38,259,1,0,0,0,40,263,1,0,0,0,42,267,1,0,0,0,44,271, - 1,0,0,0,46,275,1,0,0,0,48,279,1,0,0,0,50,283,1,0,0,0,52,287,1,0, - 0,0,54,304,1,0,0,0,56,319,1,0,0,0,58,321,1,0,0,0,60,336,1,0,0,0, - 62,342,1,0,0,0,64,349,1,0,0,0,66,351,1,0,0,0,68,355,1,0,0,0,70,357, - 1,0,0,0,72,370,1,0,0,0,74,384,1,0,0,0,76,386,1,0,0,0,78,395,1,0, - 0,0,80,397,1,0,0,0,82,412,1,0,0,0,84,416,1,0,0,0,86,420,1,0,0,0, - 88,433,1,0,0,0,90,450,1,0,0,0,92,452,1,0,0,0,94,464,1,0,0,0,96,468, - 1,0,0,0,98,470,1,0,0,0,100,483,1,0,0,0,102,498,1,0,0,0,104,500,1, - 0,0,0,106,513,1,0,0,0,108,517,1,0,0,0,110,521,1,0,0,0,112,525,1, - 0,0,0,114,538,1,0,0,0,116,552,1,0,0,0,118,554,1,0,0,0,120,556,1, - 0,0,0,122,558,1,0,0,0,124,562,1,0,0,0,126,577,1,0,0,0,128,579,1, - 0,0,0,130,596,1,0,0,0,132,607,1,0,0,0,134,653,1,0,0,0,136,137,5, - 5,0,0,137,142,3,2,1,0,138,139,5,1,0,0,139,141,3,2,1,0,140,138,1, - 0,0,0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1, - 0,0,0,144,142,1,0,0,0,145,146,5,6,0,0,146,1,1,0,0,0,147,151,3,6, - 3,0,148,151,3,4,2,0,149,151,3,10,5,0,150,147,1,0,0,0,150,148,1,0, - 0,0,150,149,1,0,0,0,151,3,1,0,0,0,152,153,5,12,0,0,153,154,5,2,0, - 0,154,155,3,134,67,0,155,5,1,0,0,0,156,157,5,10,0,0,157,158,5,2, - 0,0,158,159,3,134,67,0,159,7,1,0,0,0,160,186,3,6,3,0,161,186,3,18, - 9,0,162,186,3,24,12,0,163,186,3,22,11,0,164,186,3,20,10,0,165,186, - 3,26,13,0,166,186,3,28,14,0,167,186,3,30,15,0,168,186,3,32,16,0, - 169,186,3,34,17,0,170,186,3,70,35,0,171,186,3,36,18,0,172,186,3, - 38,19,0,173,186,3,40,20,0,174,186,3,42,21,0,175,186,3,44,22,0,176, - 186,3,46,23,0,177,186,3,48,24,0,178,186,3,88,44,0,179,186,3,50,25, - 0,180,186,3,86,43,0,181,186,3,52,26,0,182,186,3,98,49,0,183,186, - 3,112,56,0,184,186,3,66,33,0,185,160,1,0,0,0,185,161,1,0,0,0,185, - 162,1,0,0,0,185,163,1,0,0,0,185,164,1,0,0,0,185,165,1,0,0,0,185, - 166,1,0,0,0,185,167,1,0,0,0,185,168,1,0,0,0,185,169,1,0,0,0,185, - 170,1,0,0,0,185,171,1,0,0,0,185,172,1,0,0,0,185,173,1,0,0,0,185, - 174,1,0,0,0,185,175,1,0,0,0,185,176,1,0,0,0,185,177,1,0,0,0,185, - 178,1,0,0,0,185,179,1,0,0,0,185,180,1,0,0,0,185,181,1,0,0,0,185, - 182,1,0,0,0,185,183,1,0,0,0,185,184,1,0,0,0,186,9,1,0,0,0,187,188, - 5,11,0,0,188,189,5,2,0,0,189,190,5,5,0,0,190,195,3,14,7,0,191,192, - 5,1,0,0,192,194,3,14,7,0,193,191,1,0,0,0,194,197,1,0,0,0,195,193, - 1,0,0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,195,1,0,0,0,198,199, - 5,6,0,0,199,11,1,0,0,0,200,201,3,134,67,0,201,13,1,0,0,0,202,203, - 3,12,6,0,203,204,5,2,0,0,204,205,3,16,8,0,205,15,1,0,0,0,206,207, - 5,5,0,0,207,212,3,8,4,0,208,209,5,1,0,0,209,211,3,8,4,0,210,208, - 1,0,0,0,211,214,1,0,0,0,212,210,1,0,0,0,212,213,1,0,0,0,213,215, - 1,0,0,0,214,212,1,0,0,0,215,216,5,6,0,0,216,17,1,0,0,0,217,218,5, - 14,0,0,218,219,5,2,0,0,219,220,3,68,34,0,220,19,1,0,0,0,221,222, - 5,86,0,0,222,223,5,2,0,0,223,224,3,134,67,0,224,21,1,0,0,0,225,226, - 5,78,0,0,226,227,5,2,0,0,227,228,3,134,67,0,228,23,1,0,0,0,229,230, - 5,79,0,0,230,231,5,2,0,0,231,232,3,134,67,0,232,25,1,0,0,0,233,234, - 5,83,0,0,234,235,5,2,0,0,235,236,3,132,66,0,236,27,1,0,0,0,237,238, - 5,82,0,0,238,241,5,2,0,0,239,242,3,134,67,0,240,242,5,9,0,0,241, - 239,1,0,0,0,241,240,1,0,0,0,242,29,1,0,0,0,243,244,5,80,0,0,244, - 245,5,2,0,0,245,246,3,134,67,0,246,31,1,0,0,0,247,248,5,87,0,0,248, - 249,5,2,0,0,249,250,7,0,0,0,250,33,1,0,0,0,251,252,5,25,0,0,252, - 253,5,2,0,0,253,254,3,134,67,0,254,35,1,0,0,0,255,256,5,89,0,0,256, - 257,5,2,0,0,257,258,3,134,67,0,258,37,1,0,0,0,259,260,5,88,0,0,260, - 261,5,2,0,0,261,262,3,134,67,0,262,39,1,0,0,0,263,264,5,70,0,0,264, - 265,5,2,0,0,265,266,5,114,0,0,266,41,1,0,0,0,267,268,5,69,0,0,268, - 269,5,2,0,0,269,270,3,134,67,0,270,43,1,0,0,0,271,272,5,72,0,0,272, - 273,5,2,0,0,273,274,3,134,67,0,274,45,1,0,0,0,275,276,5,71,0,0,276, - 277,5,2,0,0,277,278,3,134,67,0,278,47,1,0,0,0,279,280,5,81,0,0,280, - 281,5,2,0,0,281,282,3,134,67,0,282,49,1,0,0,0,283,284,5,77,0,0,284, - 285,5,2,0,0,285,286,5,114,0,0,286,51,1,0,0,0,287,288,5,84,0,0,288, - 289,5,2,0,0,289,290,3,54,27,0,290,53,1,0,0,0,291,292,5,5,0,0,292, - 297,3,56,28,0,293,294,5,1,0,0,294,296,3,56,28,0,295,293,1,0,0,0, - 296,299,1,0,0,0,297,295,1,0,0,0,297,298,1,0,0,0,298,300,1,0,0,0, - 299,297,1,0,0,0,300,301,5,6,0,0,301,305,1,0,0,0,302,303,5,5,0,0, - 303,305,5,6,0,0,304,291,1,0,0,0,304,302,1,0,0,0,305,55,1,0,0,0,306, - 307,5,110,0,0,307,308,5,2,0,0,308,320,5,112,0,0,309,310,5,110,0, - 0,310,311,5,2,0,0,311,320,5,111,0,0,312,313,5,110,0,0,313,314,5, - 2,0,0,314,320,3,58,29,0,315,316,3,134,67,0,316,317,5,2,0,0,317,318, - 3,62,31,0,318,320,1,0,0,0,319,306,1,0,0,0,319,309,1,0,0,0,319,312, - 1,0,0,0,319,315,1,0,0,0,320,57,1,0,0,0,321,322,5,113,0,0,322,59, - 1,0,0,0,323,324,5,3,0,0,324,329,3,62,31,0,325,326,5,1,0,0,326,328, - 3,62,31,0,327,325,1,0,0,0,328,331,1,0,0,0,329,327,1,0,0,0,329,330, - 1,0,0,0,330,332,1,0,0,0,331,329,1,0,0,0,332,333,5,4,0,0,333,337, - 1,0,0,0,334,335,5,3,0,0,335,337,5,4,0,0,336,323,1,0,0,0,336,334, - 1,0,0,0,337,61,1,0,0,0,338,343,3,56,28,0,339,343,3,60,30,0,340,343, - 3,54,27,0,341,343,3,64,32,0,342,338,1,0,0,0,342,339,1,0,0,0,342, - 340,1,0,0,0,342,341,1,0,0,0,343,63,1,0,0,0,344,350,5,115,0,0,345, - 350,5,114,0,0,346,350,7,0,0,0,347,350,5,9,0,0,348,350,3,134,67,0, - 349,344,1,0,0,0,349,345,1,0,0,0,349,346,1,0,0,0,349,347,1,0,0,0, - 349,348,1,0,0,0,350,65,1,0,0,0,351,352,5,85,0,0,352,353,5,2,0,0, - 353,354,3,54,27,0,354,67,1,0,0,0,355,356,7,1,0,0,356,69,1,0,0,0, - 357,358,5,23,0,0,358,359,5,2,0,0,359,360,5,3,0,0,360,365,3,72,36, - 0,361,362,5,1,0,0,362,364,3,72,36,0,363,361,1,0,0,0,364,367,1,0, - 0,0,365,363,1,0,0,0,365,366,1,0,0,0,366,368,1,0,0,0,367,365,1,0, - 0,0,368,369,5,4,0,0,369,71,1,0,0,0,370,371,5,5,0,0,371,376,3,74, - 37,0,372,373,5,1,0,0,373,375,3,74,37,0,374,372,1,0,0,0,375,378,1, - 0,0,0,376,374,1,0,0,0,376,377,1,0,0,0,377,379,1,0,0,0,378,376,1, - 0,0,0,379,380,5,6,0,0,380,73,1,0,0,0,381,385,3,76,38,0,382,385,3, - 80,40,0,383,385,3,20,10,0,384,381,1,0,0,0,384,382,1,0,0,0,384,383, - 1,0,0,0,385,75,1,0,0,0,386,389,3,78,39,0,387,388,5,1,0,0,388,390, - 3,78,39,0,389,387,1,0,0,0,390,391,1,0,0,0,391,389,1,0,0,0,391,392, - 1,0,0,0,392,77,1,0,0,0,393,396,3,82,41,0,394,396,3,84,42,0,395,393, - 1,0,0,0,395,394,1,0,0,0,396,79,1,0,0,0,397,398,3,120,60,0,398,410, - 5,2,0,0,399,411,3,72,36,0,400,401,5,3,0,0,401,404,3,72,36,0,402, - 403,5,1,0,0,403,405,3,72,36,0,404,402,1,0,0,0,405,406,1,0,0,0,406, - 404,1,0,0,0,406,407,1,0,0,0,407,408,1,0,0,0,408,409,5,4,0,0,409, - 411,1,0,0,0,410,399,1,0,0,0,410,400,1,0,0,0,411,81,1,0,0,0,412,413, - 5,24,0,0,413,414,5,2,0,0,414,415,3,134,67,0,415,83,1,0,0,0,416,417, - 3,118,59,0,417,418,5,2,0,0,418,419,3,132,66,0,419,85,1,0,0,0,420, - 421,5,26,0,0,421,422,5,2,0,0,422,423,5,3,0,0,423,428,3,0,0,0,424, - 425,5,1,0,0,425,427,3,0,0,0,426,424,1,0,0,0,427,430,1,0,0,0,428, - 426,1,0,0,0,428,429,1,0,0,0,429,431,1,0,0,0,430,428,1,0,0,0,431, - 432,5,4,0,0,432,87,1,0,0,0,433,434,5,76,0,0,434,435,5,2,0,0,435, - 436,5,5,0,0,436,441,3,90,45,0,437,438,5,1,0,0,438,440,3,90,45,0, - 439,437,1,0,0,0,440,443,1,0,0,0,441,439,1,0,0,0,441,442,1,0,0,0, - 442,444,1,0,0,0,443,441,1,0,0,0,444,445,5,6,0,0,445,89,1,0,0,0,446, - 451,3,92,46,0,447,451,3,4,2,0,448,451,3,10,5,0,449,451,3,6,3,0,450, - 446,1,0,0,0,450,447,1,0,0,0,450,448,1,0,0,0,450,449,1,0,0,0,451, - 91,1,0,0,0,452,453,5,73,0,0,453,454,5,2,0,0,454,459,5,5,0,0,455, - 458,3,94,47,0,456,458,3,128,64,0,457,455,1,0,0,0,457,456,1,0,0,0, - 458,461,1,0,0,0,459,457,1,0,0,0,459,460,1,0,0,0,460,462,1,0,0,0, - 461,459,1,0,0,0,462,463,5,6,0,0,463,93,1,0,0,0,464,465,5,74,0,0, - 465,466,5,2,0,0,466,467,3,96,48,0,467,95,1,0,0,0,468,469,5,75,0, - 0,469,97,1,0,0,0,470,471,5,90,0,0,471,472,5,2,0,0,472,473,5,3,0, - 0,473,478,3,100,50,0,474,475,5,1,0,0,475,477,3,98,49,0,476,474,1, - 0,0,0,477,480,1,0,0,0,478,476,1,0,0,0,478,479,1,0,0,0,479,481,1, - 0,0,0,480,478,1,0,0,0,481,482,5,4,0,0,482,99,1,0,0,0,483,484,5,5, - 0,0,484,489,3,102,51,0,485,486,5,1,0,0,486,488,3,102,51,0,487,485, - 1,0,0,0,488,491,1,0,0,0,489,487,1,0,0,0,489,490,1,0,0,0,490,492, - 1,0,0,0,491,489,1,0,0,0,492,493,5,6,0,0,493,101,1,0,0,0,494,499, - 3,104,52,0,495,499,3,106,53,0,496,499,3,108,54,0,497,499,3,110,55, - 0,498,494,1,0,0,0,498,495,1,0,0,0,498,496,1,0,0,0,498,497,1,0,0, - 0,499,103,1,0,0,0,500,501,5,91,0,0,501,502,5,2,0,0,502,503,5,3,0, - 0,503,508,3,124,62,0,504,505,5,1,0,0,505,507,3,124,62,0,506,504, - 1,0,0,0,507,510,1,0,0,0,508,506,1,0,0,0,508,509,1,0,0,0,509,511, - 1,0,0,0,510,508,1,0,0,0,511,512,5,4,0,0,512,105,1,0,0,0,513,514, - 5,92,0,0,514,515,5,2,0,0,515,516,5,114,0,0,516,107,1,0,0,0,517,518, - 5,93,0,0,518,519,5,2,0,0,519,520,5,114,0,0,520,109,1,0,0,0,521,522, - 5,94,0,0,522,523,5,2,0,0,523,524,5,115,0,0,524,111,1,0,0,0,525,526, - 5,95,0,0,526,527,5,2,0,0,527,528,5,3,0,0,528,533,3,114,57,0,529, - 530,5,1,0,0,530,532,3,114,57,0,531,529,1,0,0,0,532,535,1,0,0,0,533, - 531,1,0,0,0,533,534,1,0,0,0,534,536,1,0,0,0,535,533,1,0,0,0,536, - 537,5,4,0,0,537,113,1,0,0,0,538,539,5,5,0,0,539,544,3,116,58,0,540, - 541,5,1,0,0,541,543,3,116,58,0,542,540,1,0,0,0,543,546,1,0,0,0,544, - 542,1,0,0,0,544,545,1,0,0,0,545,547,1,0,0,0,546,544,1,0,0,0,547, - 548,5,6,0,0,548,115,1,0,0,0,549,553,3,104,52,0,550,553,3,28,14,0, - 551,553,3,20,10,0,552,549,1,0,0,0,552,550,1,0,0,0,552,551,1,0,0, - 0,553,117,1,0,0,0,554,555,7,2,0,0,555,119,1,0,0,0,556,557,7,3,0, - 0,557,121,1,0,0,0,558,559,7,4,0,0,559,123,1,0,0,0,560,563,3,122, - 61,0,561,563,3,134,67,0,562,560,1,0,0,0,562,561,1,0,0,0,563,125, - 1,0,0,0,564,565,5,5,0,0,565,570,3,128,64,0,566,567,5,1,0,0,567,569, - 3,128,64,0,568,566,1,0,0,0,569,572,1,0,0,0,570,568,1,0,0,0,570,571, - 1,0,0,0,571,573,1,0,0,0,572,570,1,0,0,0,573,574,5,6,0,0,574,578, - 1,0,0,0,575,576,5,5,0,0,576,578,5,6,0,0,577,564,1,0,0,0,577,575, - 1,0,0,0,578,127,1,0,0,0,579,580,3,134,67,0,580,581,5,2,0,0,581,582, - 3,132,66,0,582,129,1,0,0,0,583,584,5,3,0,0,584,589,3,132,66,0,585, - 586,5,1,0,0,586,588,3,132,66,0,587,585,1,0,0,0,588,591,1,0,0,0,589, - 587,1,0,0,0,589,590,1,0,0,0,590,592,1,0,0,0,591,589,1,0,0,0,592, - 593,5,4,0,0,593,597,1,0,0,0,594,595,5,3,0,0,595,597,5,4,0,0,596, - 583,1,0,0,0,596,594,1,0,0,0,597,131,1,0,0,0,598,608,5,115,0,0,599, - 608,5,114,0,0,600,608,5,7,0,0,601,608,5,8,0,0,602,608,5,9,0,0,603, - 608,3,128,64,0,604,608,3,130,65,0,605,608,3,126,63,0,606,608,3,134, - 67,0,607,598,1,0,0,0,607,599,1,0,0,0,607,600,1,0,0,0,607,601,1,0, - 0,0,607,602,1,0,0,0,607,603,1,0,0,0,607,604,1,0,0,0,607,605,1,0, - 0,0,607,606,1,0,0,0,608,133,1,0,0,0,609,654,5,113,0,0,610,654,5, - 110,0,0,611,654,5,112,0,0,612,654,5,111,0,0,613,654,5,10,0,0,614, - 654,5,11,0,0,615,654,5,12,0,0,616,654,5,13,0,0,617,654,5,14,0,0, - 618,654,5,15,0,0,619,654,5,16,0,0,620,654,5,23,0,0,621,654,5,17, - 0,0,622,654,5,20,0,0,623,654,5,21,0,0,624,654,5,22,0,0,625,654,5, - 18,0,0,626,654,5,24,0,0,627,654,5,78,0,0,628,654,5,83,0,0,629,654, - 5,87,0,0,630,654,5,88,0,0,631,654,5,89,0,0,632,654,5,25,0,0,633, - 654,5,81,0,0,634,654,5,74,0,0,635,654,5,73,0,0,636,654,5,75,0,0, - 637,654,5,80,0,0,638,654,5,82,0,0,639,654,5,79,0,0,640,654,5,69, - 0,0,641,654,5,70,0,0,642,654,5,71,0,0,643,654,5,72,0,0,644,654,5, - 90,0,0,645,654,5,91,0,0,646,654,5,92,0,0,647,654,5,93,0,0,648,654, - 5,94,0,0,649,654,5,95,0,0,650,654,3,84,42,0,651,654,3,120,60,0,652, - 654,3,122,61,0,653,609,1,0,0,0,653,610,1,0,0,0,653,611,1,0,0,0,653, - 612,1,0,0,0,653,613,1,0,0,0,653,614,1,0,0,0,653,615,1,0,0,0,653, - 616,1,0,0,0,653,617,1,0,0,0,653,618,1,0,0,0,653,619,1,0,0,0,653, - 620,1,0,0,0,653,621,1,0,0,0,653,622,1,0,0,0,653,623,1,0,0,0,653, - 624,1,0,0,0,653,625,1,0,0,0,653,626,1,0,0,0,653,627,1,0,0,0,653, - 628,1,0,0,0,653,629,1,0,0,0,653,630,1,0,0,0,653,631,1,0,0,0,653, - 632,1,0,0,0,653,633,1,0,0,0,653,634,1,0,0,0,653,635,1,0,0,0,653, - 636,1,0,0,0,653,637,1,0,0,0,653,638,1,0,0,0,653,639,1,0,0,0,653, - 640,1,0,0,0,653,641,1,0,0,0,653,642,1,0,0,0,653,643,1,0,0,0,653, - 644,1,0,0,0,653,645,1,0,0,0,653,646,1,0,0,0,653,647,1,0,0,0,653, - 648,1,0,0,0,653,649,1,0,0,0,653,650,1,0,0,0,653,651,1,0,0,0,653, - 652,1,0,0,0,654,135,1,0,0,0,39,142,150,185,195,212,241,297,304,319, - 329,336,342,349,365,376,384,391,395,406,410,428,441,450,457,459, - 478,489,498,508,533,544,552,562,570,577,589,596,607,653 + 114,116,118,120,122,124,126,128,130,132,134,136,138,0,5,1,0,7,8, + 1,0,15,22,3,0,28,35,37,46,48,68,3,0,27,27,36,36,47,47,1,0,98,110, + 726,0,140,1,0,0,0,2,154,1,0,0,0,4,156,1,0,0,0,6,160,1,0,0,0,8,191, + 1,0,0,0,10,193,1,0,0,0,12,206,1,0,0,0,14,208,1,0,0,0,16,212,1,0, + 0,0,18,223,1,0,0,0,20,227,1,0,0,0,22,231,1,0,0,0,24,235,1,0,0,0, + 26,239,1,0,0,0,28,243,1,0,0,0,30,249,1,0,0,0,32,253,1,0,0,0,34,257, + 1,0,0,0,36,261,1,0,0,0,38,265,1,0,0,0,40,269,1,0,0,0,42,273,1,0, + 0,0,44,277,1,0,0,0,46,281,1,0,0,0,48,285,1,0,0,0,50,289,1,0,0,0, + 52,293,1,0,0,0,54,297,1,0,0,0,56,301,1,0,0,0,58,318,1,0,0,0,60,333, + 1,0,0,0,62,335,1,0,0,0,64,350,1,0,0,0,66,356,1,0,0,0,68,363,1,0, + 0,0,70,365,1,0,0,0,72,369,1,0,0,0,74,371,1,0,0,0,76,384,1,0,0,0, + 78,398,1,0,0,0,80,400,1,0,0,0,82,409,1,0,0,0,84,411,1,0,0,0,86,426, + 1,0,0,0,88,430,1,0,0,0,90,434,1,0,0,0,92,447,1,0,0,0,94,464,1,0, + 0,0,96,466,1,0,0,0,98,478,1,0,0,0,100,482,1,0,0,0,102,484,1,0,0, + 0,104,497,1,0,0,0,106,512,1,0,0,0,108,514,1,0,0,0,110,527,1,0,0, + 0,112,531,1,0,0,0,114,535,1,0,0,0,116,539,1,0,0,0,118,552,1,0,0, + 0,120,566,1,0,0,0,122,568,1,0,0,0,124,570,1,0,0,0,126,572,1,0,0, + 0,128,576,1,0,0,0,130,591,1,0,0,0,132,593,1,0,0,0,134,610,1,0,0, + 0,136,621,1,0,0,0,138,667,1,0,0,0,140,141,5,5,0,0,141,146,3,2,1, + 0,142,143,5,1,0,0,143,145,3,2,1,0,144,142,1,0,0,0,145,148,1,0,0, + 0,146,144,1,0,0,0,146,147,1,0,0,0,147,149,1,0,0,0,148,146,1,0,0, + 0,149,150,5,6,0,0,150,1,1,0,0,0,151,155,3,6,3,0,152,155,3,4,2,0, + 153,155,3,10,5,0,154,151,1,0,0,0,154,152,1,0,0,0,154,153,1,0,0,0, + 155,3,1,0,0,0,156,157,5,12,0,0,157,158,5,2,0,0,158,159,3,138,69, + 0,159,5,1,0,0,0,160,161,5,10,0,0,161,162,5,2,0,0,162,163,3,138,69, + 0,163,7,1,0,0,0,164,192,3,6,3,0,165,192,3,18,9,0,166,192,3,24,12, + 0,167,192,3,22,11,0,168,192,3,20,10,0,169,192,3,26,13,0,170,192, + 3,28,14,0,171,192,3,30,15,0,172,192,3,32,16,0,173,192,3,34,17,0, + 174,192,3,74,37,0,175,192,3,36,18,0,176,192,3,38,19,0,177,192,3, + 40,20,0,178,192,3,42,21,0,179,192,3,44,22,0,180,192,3,46,23,0,181, + 192,3,48,24,0,182,192,3,92,46,0,183,192,3,50,25,0,184,192,3,54,27, + 0,185,192,3,56,28,0,186,192,3,90,45,0,187,192,3,52,26,0,188,192, + 3,102,51,0,189,192,3,116,58,0,190,192,3,70,35,0,191,164,1,0,0,0, + 191,165,1,0,0,0,191,166,1,0,0,0,191,167,1,0,0,0,191,168,1,0,0,0, + 191,169,1,0,0,0,191,170,1,0,0,0,191,171,1,0,0,0,191,172,1,0,0,0, + 191,173,1,0,0,0,191,174,1,0,0,0,191,175,1,0,0,0,191,176,1,0,0,0, + 191,177,1,0,0,0,191,178,1,0,0,0,191,179,1,0,0,0,191,180,1,0,0,0, + 191,181,1,0,0,0,191,182,1,0,0,0,191,183,1,0,0,0,191,184,1,0,0,0, + 191,185,1,0,0,0,191,186,1,0,0,0,191,187,1,0,0,0,191,188,1,0,0,0, + 191,189,1,0,0,0,191,190,1,0,0,0,192,9,1,0,0,0,193,194,5,11,0,0,194, + 195,5,2,0,0,195,196,5,5,0,0,196,201,3,14,7,0,197,198,5,1,0,0,198, + 200,3,14,7,0,199,197,1,0,0,0,200,203,1,0,0,0,201,199,1,0,0,0,201, + 202,1,0,0,0,202,204,1,0,0,0,203,201,1,0,0,0,204,205,5,6,0,0,205, + 11,1,0,0,0,206,207,3,138,69,0,207,13,1,0,0,0,208,209,3,12,6,0,209, + 210,5,2,0,0,210,211,3,16,8,0,211,15,1,0,0,0,212,213,5,5,0,0,213, + 218,3,8,4,0,214,215,5,1,0,0,215,217,3,8,4,0,216,214,1,0,0,0,217, + 220,1,0,0,0,218,216,1,0,0,0,218,219,1,0,0,0,219,221,1,0,0,0,220, + 218,1,0,0,0,221,222,5,6,0,0,222,17,1,0,0,0,223,224,5,14,0,0,224, + 225,5,2,0,0,225,226,3,72,36,0,226,19,1,0,0,0,227,228,5,88,0,0,228, + 229,5,2,0,0,229,230,3,138,69,0,230,21,1,0,0,0,231,232,5,80,0,0,232, + 233,5,2,0,0,233,234,3,138,69,0,234,23,1,0,0,0,235,236,5,81,0,0,236, + 237,5,2,0,0,237,238,3,138,69,0,238,25,1,0,0,0,239,240,5,85,0,0,240, + 241,5,2,0,0,241,242,3,136,68,0,242,27,1,0,0,0,243,244,5,84,0,0,244, + 247,5,2,0,0,245,248,3,138,69,0,246,248,5,9,0,0,247,245,1,0,0,0,247, + 246,1,0,0,0,248,29,1,0,0,0,249,250,5,82,0,0,250,251,5,2,0,0,251, + 252,3,138,69,0,252,31,1,0,0,0,253,254,5,89,0,0,254,255,5,2,0,0,255, + 256,7,0,0,0,256,33,1,0,0,0,257,258,5,25,0,0,258,259,5,2,0,0,259, + 260,3,138,69,0,260,35,1,0,0,0,261,262,5,91,0,0,262,263,5,2,0,0,263, + 264,3,138,69,0,264,37,1,0,0,0,265,266,5,90,0,0,266,267,5,2,0,0,267, + 268,3,138,69,0,268,39,1,0,0,0,269,270,5,70,0,0,270,271,5,2,0,0,271, + 272,5,116,0,0,272,41,1,0,0,0,273,274,5,69,0,0,274,275,5,2,0,0,275, + 276,3,138,69,0,276,43,1,0,0,0,277,278,5,72,0,0,278,279,5,2,0,0,279, + 280,3,138,69,0,280,45,1,0,0,0,281,282,5,71,0,0,282,283,5,2,0,0,283, + 284,3,138,69,0,284,47,1,0,0,0,285,286,5,83,0,0,286,287,5,2,0,0,287, + 288,3,138,69,0,288,49,1,0,0,0,289,290,5,79,0,0,290,291,5,2,0,0,291, + 292,5,116,0,0,292,51,1,0,0,0,293,294,5,86,0,0,294,295,5,2,0,0,295, + 296,3,58,29,0,296,53,1,0,0,0,297,298,5,73,0,0,298,299,5,2,0,0,299, + 300,5,116,0,0,300,55,1,0,0,0,301,302,5,74,0,0,302,303,5,2,0,0,303, + 304,5,114,0,0,304,57,1,0,0,0,305,306,5,5,0,0,306,311,3,60,30,0,307, + 308,5,1,0,0,308,310,3,60,30,0,309,307,1,0,0,0,310,313,1,0,0,0,311, + 309,1,0,0,0,311,312,1,0,0,0,312,314,1,0,0,0,313,311,1,0,0,0,314, + 315,5,6,0,0,315,319,1,0,0,0,316,317,5,5,0,0,317,319,5,6,0,0,318, + 305,1,0,0,0,318,316,1,0,0,0,319,59,1,0,0,0,320,321,5,112,0,0,321, + 322,5,2,0,0,322,334,5,114,0,0,323,324,5,112,0,0,324,325,5,2,0,0, + 325,334,5,113,0,0,326,327,5,112,0,0,327,328,5,2,0,0,328,334,3,62, + 31,0,329,330,3,138,69,0,330,331,5,2,0,0,331,332,3,66,33,0,332,334, + 1,0,0,0,333,320,1,0,0,0,333,323,1,0,0,0,333,326,1,0,0,0,333,329, + 1,0,0,0,334,61,1,0,0,0,335,336,5,115,0,0,336,63,1,0,0,0,337,338, + 5,3,0,0,338,343,3,66,33,0,339,340,5,1,0,0,340,342,3,66,33,0,341, + 339,1,0,0,0,342,345,1,0,0,0,343,341,1,0,0,0,343,344,1,0,0,0,344, + 346,1,0,0,0,345,343,1,0,0,0,346,347,5,4,0,0,347,351,1,0,0,0,348, + 349,5,3,0,0,349,351,5,4,0,0,350,337,1,0,0,0,350,348,1,0,0,0,351, + 65,1,0,0,0,352,357,3,60,30,0,353,357,3,64,32,0,354,357,3,58,29,0, + 355,357,3,68,34,0,356,352,1,0,0,0,356,353,1,0,0,0,356,354,1,0,0, + 0,356,355,1,0,0,0,357,67,1,0,0,0,358,364,5,117,0,0,359,364,5,116, + 0,0,360,364,7,0,0,0,361,364,5,9,0,0,362,364,3,138,69,0,363,358,1, + 0,0,0,363,359,1,0,0,0,363,360,1,0,0,0,363,361,1,0,0,0,363,362,1, + 0,0,0,364,69,1,0,0,0,365,366,5,87,0,0,366,367,5,2,0,0,367,368,3, + 58,29,0,368,71,1,0,0,0,369,370,7,1,0,0,370,73,1,0,0,0,371,372,5, + 23,0,0,372,373,5,2,0,0,373,374,5,3,0,0,374,379,3,76,38,0,375,376, + 5,1,0,0,376,378,3,76,38,0,377,375,1,0,0,0,378,381,1,0,0,0,379,377, + 1,0,0,0,379,380,1,0,0,0,380,382,1,0,0,0,381,379,1,0,0,0,382,383, + 5,4,0,0,383,75,1,0,0,0,384,385,5,5,0,0,385,390,3,78,39,0,386,387, + 5,1,0,0,387,389,3,78,39,0,388,386,1,0,0,0,389,392,1,0,0,0,390,388, + 1,0,0,0,390,391,1,0,0,0,391,393,1,0,0,0,392,390,1,0,0,0,393,394, + 5,6,0,0,394,77,1,0,0,0,395,399,3,80,40,0,396,399,3,84,42,0,397,399, + 3,20,10,0,398,395,1,0,0,0,398,396,1,0,0,0,398,397,1,0,0,0,399,79, + 1,0,0,0,400,403,3,82,41,0,401,402,5,1,0,0,402,404,3,82,41,0,403, + 401,1,0,0,0,404,405,1,0,0,0,405,403,1,0,0,0,405,406,1,0,0,0,406, + 81,1,0,0,0,407,410,3,86,43,0,408,410,3,88,44,0,409,407,1,0,0,0,409, + 408,1,0,0,0,410,83,1,0,0,0,411,412,3,124,62,0,412,424,5,2,0,0,413, + 425,3,76,38,0,414,415,5,3,0,0,415,418,3,76,38,0,416,417,5,1,0,0, + 417,419,3,76,38,0,418,416,1,0,0,0,419,420,1,0,0,0,420,418,1,0,0, + 0,420,421,1,0,0,0,421,422,1,0,0,0,422,423,5,4,0,0,423,425,1,0,0, + 0,424,413,1,0,0,0,424,414,1,0,0,0,425,85,1,0,0,0,426,427,5,24,0, + 0,427,428,5,2,0,0,428,429,3,138,69,0,429,87,1,0,0,0,430,431,3,122, + 61,0,431,432,5,2,0,0,432,433,3,136,68,0,433,89,1,0,0,0,434,435,5, + 26,0,0,435,436,5,2,0,0,436,437,5,3,0,0,437,442,3,0,0,0,438,439,5, + 1,0,0,439,441,3,0,0,0,440,438,1,0,0,0,441,444,1,0,0,0,442,440,1, + 0,0,0,442,443,1,0,0,0,443,445,1,0,0,0,444,442,1,0,0,0,445,446,5, + 4,0,0,446,91,1,0,0,0,447,448,5,78,0,0,448,449,5,2,0,0,449,450,5, + 5,0,0,450,455,3,94,47,0,451,452,5,1,0,0,452,454,3,94,47,0,453,451, + 1,0,0,0,454,457,1,0,0,0,455,453,1,0,0,0,455,456,1,0,0,0,456,458, + 1,0,0,0,457,455,1,0,0,0,458,459,5,6,0,0,459,93,1,0,0,0,460,465,3, + 96,48,0,461,465,3,4,2,0,462,465,3,10,5,0,463,465,3,6,3,0,464,460, + 1,0,0,0,464,461,1,0,0,0,464,462,1,0,0,0,464,463,1,0,0,0,465,95,1, + 0,0,0,466,467,5,75,0,0,467,468,5,2,0,0,468,473,5,5,0,0,469,472,3, + 98,49,0,470,472,3,132,66,0,471,469,1,0,0,0,471,470,1,0,0,0,472,475, + 1,0,0,0,473,471,1,0,0,0,473,474,1,0,0,0,474,476,1,0,0,0,475,473, + 1,0,0,0,476,477,5,6,0,0,477,97,1,0,0,0,478,479,5,76,0,0,479,480, + 5,2,0,0,480,481,3,100,50,0,481,99,1,0,0,0,482,483,5,77,0,0,483,101, + 1,0,0,0,484,485,5,92,0,0,485,486,5,2,0,0,486,487,5,3,0,0,487,492, + 3,104,52,0,488,489,5,1,0,0,489,491,3,102,51,0,490,488,1,0,0,0,491, + 494,1,0,0,0,492,490,1,0,0,0,492,493,1,0,0,0,493,495,1,0,0,0,494, + 492,1,0,0,0,495,496,5,4,0,0,496,103,1,0,0,0,497,498,5,5,0,0,498, + 503,3,106,53,0,499,500,5,1,0,0,500,502,3,106,53,0,501,499,1,0,0, + 0,502,505,1,0,0,0,503,501,1,0,0,0,503,504,1,0,0,0,504,506,1,0,0, + 0,505,503,1,0,0,0,506,507,5,6,0,0,507,105,1,0,0,0,508,513,3,108, + 54,0,509,513,3,110,55,0,510,513,3,112,56,0,511,513,3,114,57,0,512, + 508,1,0,0,0,512,509,1,0,0,0,512,510,1,0,0,0,512,511,1,0,0,0,513, + 107,1,0,0,0,514,515,5,93,0,0,515,516,5,2,0,0,516,517,5,3,0,0,517, + 522,3,128,64,0,518,519,5,1,0,0,519,521,3,128,64,0,520,518,1,0,0, + 0,521,524,1,0,0,0,522,520,1,0,0,0,522,523,1,0,0,0,523,525,1,0,0, + 0,524,522,1,0,0,0,525,526,5,4,0,0,526,109,1,0,0,0,527,528,5,94,0, + 0,528,529,5,2,0,0,529,530,5,116,0,0,530,111,1,0,0,0,531,532,5,95, + 0,0,532,533,5,2,0,0,533,534,5,116,0,0,534,113,1,0,0,0,535,536,5, + 96,0,0,536,537,5,2,0,0,537,538,5,117,0,0,538,115,1,0,0,0,539,540, + 5,97,0,0,540,541,5,2,0,0,541,542,5,3,0,0,542,547,3,118,59,0,543, + 544,5,1,0,0,544,546,3,118,59,0,545,543,1,0,0,0,546,549,1,0,0,0,547, + 545,1,0,0,0,547,548,1,0,0,0,548,550,1,0,0,0,549,547,1,0,0,0,550, + 551,5,4,0,0,551,117,1,0,0,0,552,553,5,5,0,0,553,558,3,120,60,0,554, + 555,5,1,0,0,555,557,3,120,60,0,556,554,1,0,0,0,557,560,1,0,0,0,558, + 556,1,0,0,0,558,559,1,0,0,0,559,561,1,0,0,0,560,558,1,0,0,0,561, + 562,5,6,0,0,562,119,1,0,0,0,563,567,3,108,54,0,564,567,3,28,14,0, + 565,567,3,20,10,0,566,563,1,0,0,0,566,564,1,0,0,0,566,565,1,0,0, + 0,567,121,1,0,0,0,568,569,7,2,0,0,569,123,1,0,0,0,570,571,7,3,0, + 0,571,125,1,0,0,0,572,573,7,4,0,0,573,127,1,0,0,0,574,577,3,126, + 63,0,575,577,3,138,69,0,576,574,1,0,0,0,576,575,1,0,0,0,577,129, + 1,0,0,0,578,579,5,5,0,0,579,584,3,132,66,0,580,581,5,1,0,0,581,583, + 3,132,66,0,582,580,1,0,0,0,583,586,1,0,0,0,584,582,1,0,0,0,584,585, + 1,0,0,0,585,587,1,0,0,0,586,584,1,0,0,0,587,588,5,6,0,0,588,592, + 1,0,0,0,589,590,5,5,0,0,590,592,5,6,0,0,591,578,1,0,0,0,591,589, + 1,0,0,0,592,131,1,0,0,0,593,594,3,138,69,0,594,595,5,2,0,0,595,596, + 3,136,68,0,596,133,1,0,0,0,597,598,5,3,0,0,598,603,3,136,68,0,599, + 600,5,1,0,0,600,602,3,136,68,0,601,599,1,0,0,0,602,605,1,0,0,0,603, + 601,1,0,0,0,603,604,1,0,0,0,604,606,1,0,0,0,605,603,1,0,0,0,606, + 607,5,4,0,0,607,611,1,0,0,0,608,609,5,3,0,0,609,611,5,4,0,0,610, + 597,1,0,0,0,610,608,1,0,0,0,611,135,1,0,0,0,612,622,5,117,0,0,613, + 622,5,116,0,0,614,622,5,7,0,0,615,622,5,8,0,0,616,622,5,9,0,0,617, + 622,3,132,66,0,618,622,3,134,67,0,619,622,3,130,65,0,620,622,3,138, + 69,0,621,612,1,0,0,0,621,613,1,0,0,0,621,614,1,0,0,0,621,615,1,0, + 0,0,621,616,1,0,0,0,621,617,1,0,0,0,621,618,1,0,0,0,621,619,1,0, + 0,0,621,620,1,0,0,0,622,137,1,0,0,0,623,668,5,115,0,0,624,668,5, + 112,0,0,625,668,5,114,0,0,626,668,5,113,0,0,627,668,5,10,0,0,628, + 668,5,11,0,0,629,668,5,12,0,0,630,668,5,13,0,0,631,668,5,14,0,0, + 632,668,5,15,0,0,633,668,5,16,0,0,634,668,5,23,0,0,635,668,5,17, + 0,0,636,668,5,20,0,0,637,668,5,21,0,0,638,668,5,22,0,0,639,668,5, + 18,0,0,640,668,5,24,0,0,641,668,5,80,0,0,642,668,5,85,0,0,643,668, + 5,89,0,0,644,668,5,90,0,0,645,668,5,91,0,0,646,668,5,25,0,0,647, + 668,5,83,0,0,648,668,5,76,0,0,649,668,5,75,0,0,650,668,5,77,0,0, + 651,668,5,82,0,0,652,668,5,84,0,0,653,668,5,81,0,0,654,668,5,69, + 0,0,655,668,5,70,0,0,656,668,5,71,0,0,657,668,5,72,0,0,658,668,5, + 92,0,0,659,668,5,93,0,0,660,668,5,94,0,0,661,668,5,95,0,0,662,668, + 5,96,0,0,663,668,5,97,0,0,664,668,3,88,44,0,665,668,3,124,62,0,666, + 668,3,126,63,0,667,623,1,0,0,0,667,624,1,0,0,0,667,625,1,0,0,0,667, + 626,1,0,0,0,667,627,1,0,0,0,667,628,1,0,0,0,667,629,1,0,0,0,667, + 630,1,0,0,0,667,631,1,0,0,0,667,632,1,0,0,0,667,633,1,0,0,0,667, + 634,1,0,0,0,667,635,1,0,0,0,667,636,1,0,0,0,667,637,1,0,0,0,667, + 638,1,0,0,0,667,639,1,0,0,0,667,640,1,0,0,0,667,641,1,0,0,0,667, + 642,1,0,0,0,667,643,1,0,0,0,667,644,1,0,0,0,667,645,1,0,0,0,667, + 646,1,0,0,0,667,647,1,0,0,0,667,648,1,0,0,0,667,649,1,0,0,0,667, + 650,1,0,0,0,667,651,1,0,0,0,667,652,1,0,0,0,667,653,1,0,0,0,667, + 654,1,0,0,0,667,655,1,0,0,0,667,656,1,0,0,0,667,657,1,0,0,0,667, + 658,1,0,0,0,667,659,1,0,0,0,667,660,1,0,0,0,667,661,1,0,0,0,667, + 662,1,0,0,0,667,663,1,0,0,0,667,664,1,0,0,0,667,665,1,0,0,0,667, + 666,1,0,0,0,668,139,1,0,0,0,39,146,154,191,201,218,247,311,318,333, + 343,350,356,363,379,390,398,405,409,420,424,442,455,464,471,473, + 492,503,512,522,547,558,566,576,584,591,603,610,621,667 ] class ASLParser ( Parser ): @@ -287,21 +292,21 @@ class ASLParser ( Parser ): "'\"TimestampLessThan\"'", "'\"TimestampLessThanPath\"'", "'\"TimestampLessThanEquals\"'", "'\"TimestampLessThanEqualsPath\"'", "'\"SecondsPath\"'", "'\"Seconds\"'", "'\"TimestampPath\"'", - "'\"Timestamp\"'", "'\"ProcessorConfig\"'", "'\"Mode\"'", - "'\"INLINE\"'", "'\"ItemProcessor\"'", "'\"MaxConcurrency\"'", - "'\"Resource\"'", "'\"InputPath\"'", "'\"OutputPath\"'", - "'\"ItemsPath\"'", "'\"ResultPath\"'", "'\"Result\"'", - "'\"Parameters\"'", "'\"ResultSelector\"'", "'\"Next\"'", - "'\"End\"'", "'\"Cause\"'", "'\"Error\"'", "'\"Retry\"'", - "'\"ErrorEquals\"'", "'\"IntervalSeconds\"'", "'\"MaxAttempts\"'", - "'\"BackoffRate\"'", "'\"Catch\"'", "'\"States.ALL\"'", - "'\"States.HeartbeatTimeout\"'", "'\"States.Timeout\"'", - "'\"States.TaskFailed\"'", "'\"States.Permissions\"'", - "'\"States.ResultPathMatchFailure\"'", "'\"States.ParameterPathFailure\"'", - "'\"States.BranchFailed\"'", "'\"States.NoChoiceMatched\"'", - "'\"States.IntrinsicFailure\"'", "'\"States.ExceedToleratedFailureThreshold\"'", - "'\"States.ItemReaderFailed\"'", "'\"States.ResultWriterFailed\"'", - "'\"States.Runtime\"'" ] + "'\"Timestamp\"'", "'\"TimeoutSeconds\"'", "'\"TimeoutSecondsPath\"'", + "'\"ProcessorConfig\"'", "'\"Mode\"'", "'\"INLINE\"'", + "'\"ItemProcessor\"'", "'\"MaxConcurrency\"'", "'\"Resource\"'", + "'\"InputPath\"'", "'\"OutputPath\"'", "'\"ItemsPath\"'", + "'\"ResultPath\"'", "'\"Result\"'", "'\"Parameters\"'", + "'\"ResultSelector\"'", "'\"Next\"'", "'\"End\"'", + "'\"Cause\"'", "'\"Error\"'", "'\"Retry\"'", "'\"ErrorEquals\"'", + "'\"IntervalSeconds\"'", "'\"MaxAttempts\"'", "'\"BackoffRate\"'", + "'\"Catch\"'", "'\"States.ALL\"'", "'\"States.HeartbeatTimeout\"'", + "'\"States.Timeout\"'", "'\"States.TaskFailed\"'", + "'\"States.Permissions\"'", "'\"States.ResultPathMatchFailure\"'", + "'\"States.ParameterPathFailure\"'", "'\"States.BranchFailed\"'", + "'\"States.NoChoiceMatched\"'", "'\"States.IntrinsicFailure\"'", + "'\"States.ExceedToleratedFailureThreshold\"'", "'\"States.ItemReaderFailed\"'", + "'\"States.ResultWriterFailed\"'", "'\"States.Runtime\"'" ] symbolicNames = [ "", "COMMA", "COLON", "LBRACK", "RBRACK", "LBRACE", "RBRACE", "TRUE", "FALSE", "NULL", "COMMENT", @@ -323,17 +328,18 @@ class ASLParser ( Parser ): "TIMESTAMPGREATERTHANEQUALS", "TIMESTAMPGREATERTHANEQUALSPATH", "TIMESTAMPLESSTHAN", "TIMESTAMPLESSTHANPATH", "TIMESTAMPLESSTHANEQUALS", "TIMESTAMPLESSTHANEQUALSPATH", "SECONDSPATH", "SECONDS", - "TIMESTAMPPATH", "TIMESTAMP", "PROCESSORCONFIG", "MODE", - "INLINE", "ITEMPROCESSOR", "MAXCONCURRENCY", "RESOURCE", - "INPUTPATH", "OUTPUTPATH", "ITEMSPATH", "RESULTPATH", - "RESULT", "PARAMETERS", "RESULTSELECTOR", "NEXT", - "END", "CAUSE", "ERROR", "RETRY", "ERROREQUALS", "INTERVALSECONDS", - "MAXATTEMPTS", "BACKOFFRATE", "CATCH", "ERRORNAMEStatesALL", - "ERRORNAMEStatesHeartbeatTimeout", "ERRORNAMEStatesTimeout", - "ERRORNAMEStatesTaskFailed", "ERRORNAMEStatesPermissions", - "ERRORNAMEStatesResultPathMatchFailure", "ERRORNAMEStatesParameterPathFailure", - "ERRORNAMEStatesBranchFailed", "ERRORNAMEStatesNoChoiceMatched", - "ERRORNAMEStatesIntrinsicFailure", "ERRORNAMEStatesExceedToleratedFailureThreshold", + "TIMESTAMPPATH", "TIMESTAMP", "TIMEOUTSECONDS", "TIMEOUTSECONDSPATH", + "PROCESSORCONFIG", "MODE", "INLINE", "ITEMPROCESSOR", + "MAXCONCURRENCY", "RESOURCE", "INPUTPATH", "OUTPUTPATH", + "ITEMSPATH", "RESULTPATH", "RESULT", "PARAMETERS", + "RESULTSELECTOR", "NEXT", "END", "CAUSE", "ERROR", + "RETRY", "ERROREQUALS", "INTERVALSECONDS", "MAXATTEMPTS", + "BACKOFFRATE", "CATCH", "ERRORNAMEStatesALL", "ERRORNAMEStatesHeartbeatTimeout", + "ERRORNAMEStatesTimeout", "ERRORNAMEStatesTaskFailed", + "ERRORNAMEStatesPermissions", "ERRORNAMEStatesResultPathMatchFailure", + "ERRORNAMEStatesParameterPathFailure", "ERRORNAMEStatesBranchFailed", + "ERRORNAMEStatesNoChoiceMatched", "ERRORNAMEStatesIntrinsicFailure", + "ERRORNAMEStatesExceedToleratedFailureThreshold", "ERRORNAMEStatesItemReaderFailed", "ERRORNAMEStatesResultWriterFailed", "ERRORNAMEStatesRuntime", "STRINGDOLLAR", "STRINGPATHCONTEXTOBJ", "STRINGPATH", "STRING", "INT", "NUMBER", "WS" ] @@ -365,47 +371,49 @@ class ASLParser ( Parser ): RULE_items_path_decl = 24 RULE_max_concurrency_decl = 25 RULE_parameters_decl = 26 - RULE_payload_tmpl_decl = 27 - RULE_payload_binding = 28 - RULE_intrinsic_func = 29 - RULE_payload_arr_decl = 30 - RULE_payload_value_decl = 31 - RULE_payload_value_lit = 32 - RULE_result_selector_decl = 33 - RULE_state_type = 34 - RULE_choices_decl = 35 - RULE_choice_rule = 36 - RULE_choice_rule_stmt = 37 - RULE_comparison = 38 - RULE_comparison_stmt = 39 - RULE_comparison_composite = 40 - RULE_variable_decl = 41 - RULE_comparison_func = 42 - RULE_branches_decl = 43 - RULE_item_processor_decl = 44 - RULE_item_processor_item = 45 - RULE_processor_config_decl = 46 - RULE_mode_decl = 47 - RULE_mode_type = 48 - RULE_retry_decl = 49 - RULE_retrier_decl = 50 - RULE_retrier_stmt = 51 - RULE_error_equals_decl = 52 - RULE_interval_seconds_decl = 53 - RULE_max_attempts_decl = 54 - RULE_backoff_rate_decl = 55 - RULE_catch_decl = 56 - RULE_catcher_decl = 57 - RULE_catcher_stmt = 58 - RULE_comparison_op = 59 - RULE_choice_operator = 60 - RULE_states_error_name = 61 - RULE_error_name = 62 - RULE_json_obj_decl = 63 - RULE_json_binding = 64 - RULE_json_arr_decl = 65 - RULE_json_value_decl = 66 - RULE_keyword_or_string = 67 + RULE_timeout_seconds_decl = 27 + RULE_timeout_seconds_path_decl = 28 + RULE_payload_tmpl_decl = 29 + RULE_payload_binding = 30 + RULE_intrinsic_func = 31 + RULE_payload_arr_decl = 32 + RULE_payload_value_decl = 33 + RULE_payload_value_lit = 34 + RULE_result_selector_decl = 35 + RULE_state_type = 36 + RULE_choices_decl = 37 + RULE_choice_rule = 38 + RULE_choice_rule_stmt = 39 + RULE_comparison = 40 + RULE_comparison_stmt = 41 + RULE_comparison_composite = 42 + RULE_variable_decl = 43 + RULE_comparison_func = 44 + RULE_branches_decl = 45 + RULE_item_processor_decl = 46 + RULE_item_processor_item = 47 + RULE_processor_config_decl = 48 + RULE_mode_decl = 49 + RULE_mode_type = 50 + RULE_retry_decl = 51 + RULE_retrier_decl = 52 + RULE_retrier_stmt = 53 + RULE_error_equals_decl = 54 + RULE_interval_seconds_decl = 55 + RULE_max_attempts_decl = 56 + RULE_backoff_rate_decl = 57 + RULE_catch_decl = 58 + RULE_catcher_decl = 59 + RULE_catcher_stmt = 60 + RULE_comparison_op = 61 + RULE_choice_operator = 62 + RULE_states_error_name = 63 + RULE_error_name = 64 + RULE_json_obj_decl = 65 + RULE_json_binding = 66 + RULE_json_arr_decl = 67 + RULE_json_value_decl = 68 + RULE_keyword_or_string = 69 ruleNames = [ "program_decl", "top_layer_stmt", "startat_decl", "comment_decl", "state_stmt", "states_decl", "state_name", "state_decl", @@ -414,19 +422,20 @@ class ASLParser ( Parser ): "output_path_decl", "end_decl", "default_decl", "error_decl", "cause_decl", "seconds_decl", "seconds_path_decl", "timestamp_decl", "timestamp_path_decl", "items_path_decl", "max_concurrency_decl", - "parameters_decl", "payload_tmpl_decl", "payload_binding", - "intrinsic_func", "payload_arr_decl", "payload_value_decl", - "payload_value_lit", "result_selector_decl", "state_type", - "choices_decl", "choice_rule", "choice_rule_stmt", "comparison", - "comparison_stmt", "comparison_composite", "variable_decl", - "comparison_func", "branches_decl", "item_processor_decl", - "item_processor_item", "processor_config_decl", "mode_decl", - "mode_type", "retry_decl", "retrier_decl", "retrier_stmt", - "error_equals_decl", "interval_seconds_decl", "max_attempts_decl", - "backoff_rate_decl", "catch_decl", "catcher_decl", "catcher_stmt", - "comparison_op", "choice_operator", "states_error_name", - "error_name", "json_obj_decl", "json_binding", "json_arr_decl", - "json_value_decl", "keyword_or_string" ] + "parameters_decl", "timeout_seconds_decl", "timeout_seconds_path_decl", + "payload_tmpl_decl", "payload_binding", "intrinsic_func", + "payload_arr_decl", "payload_value_decl", "payload_value_lit", + "result_selector_decl", "state_type", "choices_decl", + "choice_rule", "choice_rule_stmt", "comparison", "comparison_stmt", + "comparison_composite", "variable_decl", "comparison_func", + "branches_decl", "item_processor_decl", "item_processor_item", + "processor_config_decl", "mode_decl", "mode_type", "retry_decl", + "retrier_decl", "retrier_stmt", "error_equals_decl", + "interval_seconds_decl", "max_attempts_decl", "backoff_rate_decl", + "catch_decl", "catcher_decl", "catcher_stmt", "comparison_op", + "choice_operator", "states_error_name", "error_name", + "json_obj_decl", "json_binding", "json_arr_decl", "json_value_decl", + "keyword_or_string" ] EOF = Token.EOF COMMA=1 @@ -501,50 +510,52 @@ class ASLParser ( Parser ): SECONDS=70 TIMESTAMPPATH=71 TIMESTAMP=72 - PROCESSORCONFIG=73 - MODE=74 - INLINE=75 - ITEMPROCESSOR=76 - MAXCONCURRENCY=77 - RESOURCE=78 - INPUTPATH=79 - OUTPUTPATH=80 - ITEMSPATH=81 - RESULTPATH=82 - RESULT=83 - PARAMETERS=84 - RESULTSELECTOR=85 - NEXT=86 - END=87 - CAUSE=88 - ERROR=89 - RETRY=90 - ERROREQUALS=91 - INTERVALSECONDS=92 - MAXATTEMPTS=93 - BACKOFFRATE=94 - CATCH=95 - ERRORNAMEStatesALL=96 - ERRORNAMEStatesHeartbeatTimeout=97 - ERRORNAMEStatesTimeout=98 - ERRORNAMEStatesTaskFailed=99 - ERRORNAMEStatesPermissions=100 - ERRORNAMEStatesResultPathMatchFailure=101 - ERRORNAMEStatesParameterPathFailure=102 - ERRORNAMEStatesBranchFailed=103 - ERRORNAMEStatesNoChoiceMatched=104 - ERRORNAMEStatesIntrinsicFailure=105 - ERRORNAMEStatesExceedToleratedFailureThreshold=106 - ERRORNAMEStatesItemReaderFailed=107 - ERRORNAMEStatesResultWriterFailed=108 - ERRORNAMEStatesRuntime=109 - STRINGDOLLAR=110 - STRINGPATHCONTEXTOBJ=111 - STRINGPATH=112 - STRING=113 - INT=114 - NUMBER=115 - WS=116 + TIMEOUTSECONDS=73 + TIMEOUTSECONDSPATH=74 + PROCESSORCONFIG=75 + MODE=76 + INLINE=77 + ITEMPROCESSOR=78 + MAXCONCURRENCY=79 + RESOURCE=80 + INPUTPATH=81 + OUTPUTPATH=82 + ITEMSPATH=83 + RESULTPATH=84 + RESULT=85 + PARAMETERS=86 + RESULTSELECTOR=87 + NEXT=88 + END=89 + CAUSE=90 + ERROR=91 + RETRY=92 + ERROREQUALS=93 + INTERVALSECONDS=94 + MAXATTEMPTS=95 + BACKOFFRATE=96 + CATCH=97 + ERRORNAMEStatesALL=98 + ERRORNAMEStatesHeartbeatTimeout=99 + ERRORNAMEStatesTimeout=100 + ERRORNAMEStatesTaskFailed=101 + ERRORNAMEStatesPermissions=102 + ERRORNAMEStatesResultPathMatchFailure=103 + ERRORNAMEStatesParameterPathFailure=104 + ERRORNAMEStatesBranchFailed=105 + ERRORNAMEStatesNoChoiceMatched=106 + ERRORNAMEStatesIntrinsicFailure=107 + ERRORNAMEStatesExceedToleratedFailureThreshold=108 + ERRORNAMEStatesItemReaderFailed=109 + ERRORNAMEStatesResultWriterFailed=110 + ERRORNAMEStatesRuntime=111 + STRINGDOLLAR=112 + STRINGPATHCONTEXTOBJ=113 + STRINGPATH=114 + STRING=115 + INT=116 + NUMBER=117 + WS=118 def __init__(self, input:TokenStream, output:TextIO = sys.stdout): super().__init__(input, output) @@ -608,23 +619,23 @@ def program_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 136 + self.state = 140 self.match(ASLParser.LBRACE) - self.state = 137 + self.state = 141 self.top_layer_stmt() - self.state = 142 + self.state = 146 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 138 + self.state = 142 self.match(ASLParser.COMMA) - self.state = 139 + self.state = 143 self.top_layer_stmt() - self.state = 144 + self.state = 148 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 145 + self.state = 149 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -679,22 +690,22 @@ def top_layer_stmt(self): localctx = ASLParser.Top_layer_stmtContext(self, self._ctx, self.state) self.enterRule(localctx, 2, self.RULE_top_layer_stmt) try: - self.state = 150 + self.state = 154 self._errHandler.sync(self) token = self._input.LA(1) if token in [10]: self.enterOuterAlt(localctx, 1) - self.state = 147 + self.state = 151 self.comment_decl() pass elif token in [12]: self.enterOuterAlt(localctx, 2) - self.state = 148 + self.state = 152 self.startat_decl() pass elif token in [11]: self.enterOuterAlt(localctx, 3) - self.state = 149 + self.state = 153 self.states_decl() pass else: @@ -752,11 +763,11 @@ def startat_decl(self): self.enterRule(localctx, 4, self.RULE_startat_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 152 + self.state = 156 self.match(ASLParser.STARTAT) - self.state = 153 + self.state = 157 self.match(ASLParser.COLON) - self.state = 154 + self.state = 158 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -810,11 +821,11 @@ def comment_decl(self): self.enterRule(localctx, 6, self.RULE_comment_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 156 + self.state = 160 self.match(ASLParser.COMMENT) - self.state = 157 + self.state = 161 self.match(ASLParser.COLON) - self.state = 158 + self.state = 162 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -912,6 +923,14 @@ def max_concurrency_decl(self): return self.getTypedRuleContext(ASLParser.Max_concurrency_declContext,0) + def timeout_seconds_decl(self): + return self.getTypedRuleContext(ASLParser.Timeout_seconds_declContext,0) + + + def timeout_seconds_path_decl(self): + return self.getTypedRuleContext(ASLParser.Timeout_seconds_path_declContext,0) + + def branches_decl(self): return self.getTypedRuleContext(ASLParser.Branches_declContext,0) @@ -957,132 +976,142 @@ def state_stmt(self): localctx = ASLParser.State_stmtContext(self, self._ctx, self.state) self.enterRule(localctx, 8, self.RULE_state_stmt) try: - self.state = 185 + self.state = 191 self._errHandler.sync(self) token = self._input.LA(1) if token in [10]: self.enterOuterAlt(localctx, 1) - self.state = 160 + self.state = 164 self.comment_decl() pass elif token in [14]: self.enterOuterAlt(localctx, 2) - self.state = 161 + self.state = 165 self.type_decl() pass - elif token in [79]: + elif token in [81]: self.enterOuterAlt(localctx, 3) - self.state = 162 + self.state = 166 self.input_path_decl() pass - elif token in [78]: + elif token in [80]: self.enterOuterAlt(localctx, 4) - self.state = 163 + self.state = 167 self.resource_decl() pass - elif token in [86]: + elif token in [88]: self.enterOuterAlt(localctx, 5) - self.state = 164 + self.state = 168 self.next_decl() pass - elif token in [83]: + elif token in [85]: self.enterOuterAlt(localctx, 6) - self.state = 165 + self.state = 169 self.result_decl() pass - elif token in [82]: + elif token in [84]: self.enterOuterAlt(localctx, 7) - self.state = 166 + self.state = 170 self.result_path_decl() pass - elif token in [80]: + elif token in [82]: self.enterOuterAlt(localctx, 8) - self.state = 167 + self.state = 171 self.output_path_decl() pass - elif token in [87]: + elif token in [89]: self.enterOuterAlt(localctx, 9) - self.state = 168 + self.state = 172 self.end_decl() pass elif token in [25]: self.enterOuterAlt(localctx, 10) - self.state = 169 + self.state = 173 self.default_decl() pass elif token in [23]: self.enterOuterAlt(localctx, 11) - self.state = 170 + self.state = 174 self.choices_decl() pass - elif token in [89]: + elif token in [91]: self.enterOuterAlt(localctx, 12) - self.state = 171 + self.state = 175 self.error_decl() pass - elif token in [88]: + elif token in [90]: self.enterOuterAlt(localctx, 13) - self.state = 172 + self.state = 176 self.cause_decl() pass elif token in [70]: self.enterOuterAlt(localctx, 14) - self.state = 173 + self.state = 177 self.seconds_decl() pass elif token in [69]: self.enterOuterAlt(localctx, 15) - self.state = 174 + self.state = 178 self.seconds_path_decl() pass elif token in [72]: self.enterOuterAlt(localctx, 16) - self.state = 175 + self.state = 179 self.timestamp_decl() pass elif token in [71]: self.enterOuterAlt(localctx, 17) - self.state = 176 + self.state = 180 self.timestamp_path_decl() pass - elif token in [81]: + elif token in [83]: self.enterOuterAlt(localctx, 18) - self.state = 177 + self.state = 181 self.items_path_decl() pass - elif token in [76]: + elif token in [78]: self.enterOuterAlt(localctx, 19) - self.state = 178 + self.state = 182 self.item_processor_decl() pass - elif token in [77]: + elif token in [79]: self.enterOuterAlt(localctx, 20) - self.state = 179 + self.state = 183 self.max_concurrency_decl() pass - elif token in [26]: + elif token in [73]: self.enterOuterAlt(localctx, 21) - self.state = 180 - self.branches_decl() + self.state = 184 + self.timeout_seconds_decl() pass - elif token in [84]: + elif token in [74]: self.enterOuterAlt(localctx, 22) - self.state = 181 - self.parameters_decl() + self.state = 185 + self.timeout_seconds_path_decl() pass - elif token in [90]: + elif token in [26]: self.enterOuterAlt(localctx, 23) - self.state = 182 - self.retry_decl() + self.state = 186 + self.branches_decl() pass - elif token in [95]: + elif token in [86]: self.enterOuterAlt(localctx, 24) - self.state = 183 - self.catch_decl() + self.state = 187 + self.parameters_decl() pass - elif token in [85]: + elif token in [92]: self.enterOuterAlt(localctx, 25) - self.state = 184 + self.state = 188 + self.retry_decl() + pass + elif token in [97]: + self.enterOuterAlt(localctx, 26) + self.state = 189 + self.catch_decl() + pass + elif token in [87]: + self.enterOuterAlt(localctx, 27) + self.state = 190 self.result_selector_decl() pass else: @@ -1156,27 +1185,27 @@ def states_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 187 + self.state = 193 self.match(ASLParser.STATES) - self.state = 188 + self.state = 194 self.match(ASLParser.COLON) - self.state = 189 + self.state = 195 self.match(ASLParser.LBRACE) - self.state = 190 + self.state = 196 self.state_decl() - self.state = 195 + self.state = 201 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 191 + self.state = 197 self.match(ASLParser.COMMA) - self.state = 192 + self.state = 198 self.state_decl() - self.state = 197 + self.state = 203 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 198 + self.state = 204 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -1224,7 +1253,7 @@ def state_name(self): self.enterRule(localctx, 12, self.RULE_state_name) try: self.enterOuterAlt(localctx, 1) - self.state = 200 + self.state = 206 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -1279,11 +1308,11 @@ def state_decl(self): self.enterRule(localctx, 14, self.RULE_state_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 202 + self.state = 208 self.state_name() - self.state = 203 + self.state = 209 self.match(ASLParser.COLON) - self.state = 204 + self.state = 210 self.state_decl_body() except RecognitionException as re: localctx.exception = re @@ -1347,23 +1376,23 @@ def state_decl_body(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 206 + self.state = 212 self.match(ASLParser.LBRACE) - self.state = 207 + self.state = 213 self.state_stmt() - self.state = 212 + self.state = 218 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 208 + self.state = 214 self.match(ASLParser.COMMA) - self.state = 209 + self.state = 215 self.state_stmt() - self.state = 214 + self.state = 220 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 215 + self.state = 221 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -1417,11 +1446,11 @@ def type_decl(self): self.enterRule(localctx, 18, self.RULE_type_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 217 + self.state = 223 self.match(ASLParser.TYPE) - self.state = 218 + self.state = 224 self.match(ASLParser.COLON) - self.state = 219 + self.state = 225 self.state_type() except RecognitionException as re: localctx.exception = re @@ -1475,11 +1504,11 @@ def next_decl(self): self.enterRule(localctx, 20, self.RULE_next_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 221 + self.state = 227 self.match(ASLParser.NEXT) - self.state = 222 + self.state = 228 self.match(ASLParser.COLON) - self.state = 223 + self.state = 229 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -1533,11 +1562,11 @@ def resource_decl(self): self.enterRule(localctx, 22, self.RULE_resource_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 225 + self.state = 231 self.match(ASLParser.RESOURCE) - self.state = 226 + self.state = 232 self.match(ASLParser.COLON) - self.state = 227 + self.state = 233 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -1591,11 +1620,11 @@ def input_path_decl(self): self.enterRule(localctx, 24, self.RULE_input_path_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 229 + self.state = 235 self.match(ASLParser.INPUTPATH) - self.state = 230 + self.state = 236 self.match(ASLParser.COLON) - self.state = 231 + self.state = 237 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -1649,11 +1678,11 @@ def result_decl(self): self.enterRule(localctx, 26, self.RULE_result_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 233 + self.state = 239 self.match(ASLParser.RESULT) - self.state = 234 + self.state = 240 self.match(ASLParser.COLON) - self.state = 235 + self.state = 241 self.json_value_decl() except RecognitionException as re: localctx.exception = re @@ -1710,19 +1739,19 @@ def result_path_decl(self): self.enterRule(localctx, 28, self.RULE_result_path_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 237 + self.state = 243 self.match(ASLParser.RESULTPATH) - self.state = 238 + self.state = 244 self.match(ASLParser.COLON) - self.state = 241 + self.state = 247 self._errHandler.sync(self) token = self._input.LA(1) - if token in [10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 78, 79, 80, 81, 82, 83, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 110, 111, 112, 113]: - self.state = 239 + if token in [10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 75, 76, 77, 80, 81, 82, 83, 84, 85, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115]: + self.state = 245 self.keyword_or_string() pass elif token in [9]: - self.state = 240 + self.state = 246 self.match(ASLParser.NULL) pass else: @@ -1780,11 +1809,11 @@ def output_path_decl(self): self.enterRule(localctx, 30, self.RULE_output_path_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 243 + self.state = 249 self.match(ASLParser.OUTPUTPATH) - self.state = 244 + self.state = 250 self.match(ASLParser.COLON) - self.state = 245 + self.state = 251 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -1841,11 +1870,11 @@ def end_decl(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 247 + self.state = 253 self.match(ASLParser.END) - self.state = 248 + self.state = 254 self.match(ASLParser.COLON) - self.state = 249 + self.state = 255 _la = self._input.LA(1) if not(_la==7 or _la==8): self._errHandler.recoverInline(self) @@ -1904,11 +1933,11 @@ def default_decl(self): self.enterRule(localctx, 34, self.RULE_default_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 251 + self.state = 257 self.match(ASLParser.DEFAULT) - self.state = 252 + self.state = 258 self.match(ASLParser.COLON) - self.state = 253 + self.state = 259 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -1962,11 +1991,11 @@ def error_decl(self): self.enterRule(localctx, 36, self.RULE_error_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 255 + self.state = 261 self.match(ASLParser.ERROR) - self.state = 256 + self.state = 262 self.match(ASLParser.COLON) - self.state = 257 + self.state = 263 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2020,11 +2049,11 @@ def cause_decl(self): self.enterRule(localctx, 38, self.RULE_cause_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 259 + self.state = 265 self.match(ASLParser.CAUSE) - self.state = 260 + self.state = 266 self.match(ASLParser.COLON) - self.state = 261 + self.state = 267 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2077,11 +2106,11 @@ def seconds_decl(self): self.enterRule(localctx, 40, self.RULE_seconds_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 263 + self.state = 269 self.match(ASLParser.SECONDS) - self.state = 264 + self.state = 270 self.match(ASLParser.COLON) - self.state = 265 + self.state = 271 self.match(ASLParser.INT) except RecognitionException as re: localctx.exception = re @@ -2135,11 +2164,11 @@ def seconds_path_decl(self): self.enterRule(localctx, 42, self.RULE_seconds_path_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 267 + self.state = 273 self.match(ASLParser.SECONDSPATH) - self.state = 268 + self.state = 274 self.match(ASLParser.COLON) - self.state = 269 + self.state = 275 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2193,11 +2222,11 @@ def timestamp_decl(self): self.enterRule(localctx, 44, self.RULE_timestamp_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 271 + self.state = 277 self.match(ASLParser.TIMESTAMP) - self.state = 272 + self.state = 278 self.match(ASLParser.COLON) - self.state = 273 + self.state = 279 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2251,11 +2280,11 @@ def timestamp_path_decl(self): self.enterRule(localctx, 46, self.RULE_timestamp_path_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 275 + self.state = 281 self.match(ASLParser.TIMESTAMPPATH) - self.state = 276 + self.state = 282 self.match(ASLParser.COLON) - self.state = 277 + self.state = 283 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2309,11 +2338,11 @@ def items_path_decl(self): self.enterRule(localctx, 48, self.RULE_items_path_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 279 + self.state = 285 self.match(ASLParser.ITEMSPATH) - self.state = 280 + self.state = 286 self.match(ASLParser.COLON) - self.state = 281 + self.state = 287 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -2366,11 +2395,11 @@ def max_concurrency_decl(self): self.enterRule(localctx, 50, self.RULE_max_concurrency_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 283 + self.state = 289 self.match(ASLParser.MAXCONCURRENCY) - self.state = 284 + self.state = 290 self.match(ASLParser.COLON) - self.state = 285 + self.state = 291 self.match(ASLParser.INT) except RecognitionException as re: localctx.exception = re @@ -2424,11 +2453,11 @@ def parameters_decl(self): self.enterRule(localctx, 52, self.RULE_parameters_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 287 + self.state = 293 self.match(ASLParser.PARAMETERS) - self.state = 288 + self.state = 294 self.match(ASLParser.COLON) - self.state = 289 + self.state = 295 self.payload_tmpl_decl() except RecognitionException as re: localctx.exception = re @@ -2439,6 +2468,120 @@ def parameters_decl(self): return localctx + class Timeout_seconds_declContext(ParserRuleContext): + __slots__ = 'parser' + + def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): + super().__init__(parent, invokingState) + self.parser = parser + + def TIMEOUTSECONDS(self): + return self.getToken(ASLParser.TIMEOUTSECONDS, 0) + + def COLON(self): + return self.getToken(ASLParser.COLON, 0) + + def INT(self): + return self.getToken(ASLParser.INT, 0) + + def getRuleIndex(self): + return ASLParser.RULE_timeout_seconds_decl + + def enterRule(self, listener:ParseTreeListener): + if hasattr( listener, "enterTimeout_seconds_decl" ): + listener.enterTimeout_seconds_decl(self) + + def exitRule(self, listener:ParseTreeListener): + if hasattr( listener, "exitTimeout_seconds_decl" ): + listener.exitTimeout_seconds_decl(self) + + def accept(self, visitor:ParseTreeVisitor): + if hasattr( visitor, "visitTimeout_seconds_decl" ): + return visitor.visitTimeout_seconds_decl(self) + else: + return visitor.visitChildren(self) + + + + + def timeout_seconds_decl(self): + + localctx = ASLParser.Timeout_seconds_declContext(self, self._ctx, self.state) + self.enterRule(localctx, 54, self.RULE_timeout_seconds_decl) + try: + self.enterOuterAlt(localctx, 1) + self.state = 297 + self.match(ASLParser.TIMEOUTSECONDS) + self.state = 298 + self.match(ASLParser.COLON) + self.state = 299 + self.match(ASLParser.INT) + except RecognitionException as re: + localctx.exception = re + self._errHandler.reportError(self, re) + self._errHandler.recover(self, re) + finally: + self.exitRule() + return localctx + + + class Timeout_seconds_path_declContext(ParserRuleContext): + __slots__ = 'parser' + + def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): + super().__init__(parent, invokingState) + self.parser = parser + + def TIMEOUTSECONDSPATH(self): + return self.getToken(ASLParser.TIMEOUTSECONDSPATH, 0) + + def COLON(self): + return self.getToken(ASLParser.COLON, 0) + + def STRINGPATH(self): + return self.getToken(ASLParser.STRINGPATH, 0) + + def getRuleIndex(self): + return ASLParser.RULE_timeout_seconds_path_decl + + def enterRule(self, listener:ParseTreeListener): + if hasattr( listener, "enterTimeout_seconds_path_decl" ): + listener.enterTimeout_seconds_path_decl(self) + + def exitRule(self, listener:ParseTreeListener): + if hasattr( listener, "exitTimeout_seconds_path_decl" ): + listener.exitTimeout_seconds_path_decl(self) + + def accept(self, visitor:ParseTreeVisitor): + if hasattr( visitor, "visitTimeout_seconds_path_decl" ): + return visitor.visitTimeout_seconds_path_decl(self) + else: + return visitor.visitChildren(self) + + + + + def timeout_seconds_path_decl(self): + + localctx = ASLParser.Timeout_seconds_path_declContext(self, self._ctx, self.state) + self.enterRule(localctx, 56, self.RULE_timeout_seconds_path_decl) + try: + self.enterOuterAlt(localctx, 1) + self.state = 301 + self.match(ASLParser.TIMEOUTSECONDSPATH) + self.state = 302 + self.match(ASLParser.COLON) + self.state = 303 + self.match(ASLParser.STRINGPATH) + except RecognitionException as re: + localctx.exception = re + self._errHandler.reportError(self, re) + self._errHandler.recover(self, re) + finally: + self.exitRule() + return localctx + + class Payload_tmpl_declContext(ParserRuleContext): __slots__ = 'parser' @@ -2488,39 +2631,39 @@ def accept(self, visitor:ParseTreeVisitor): def payload_tmpl_decl(self): localctx = ASLParser.Payload_tmpl_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 54, self.RULE_payload_tmpl_decl) + self.enterRule(localctx, 58, self.RULE_payload_tmpl_decl) self._la = 0 # Token type try: - self.state = 304 + self.state = 318 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,7,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 291 + self.state = 305 self.match(ASLParser.LBRACE) - self.state = 292 + self.state = 306 self.payload_binding() - self.state = 297 + self.state = 311 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 293 + self.state = 307 self.match(ASLParser.COMMA) - self.state = 294 + self.state = 308 self.payload_binding() - self.state = 299 + self.state = 313 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 300 + self.state = 314 self.match(ASLParser.RBRACE) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 302 + self.state = 316 self.match(ASLParser.LBRACE) - self.state = 303 + self.state = 317 self.match(ASLParser.RBRACE) pass @@ -2670,52 +2813,52 @@ def accept(self, visitor:ParseTreeVisitor): def payload_binding(self): localctx = ASLParser.Payload_bindingContext(self, self._ctx, self.state) - self.enterRule(localctx, 56, self.RULE_payload_binding) + self.enterRule(localctx, 60, self.RULE_payload_binding) try: - self.state = 319 + self.state = 333 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,8,self._ctx) if la_ == 1: localctx = ASLParser.Payload_binding_pathContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 306 + self.state = 320 self.match(ASLParser.STRINGDOLLAR) - self.state = 307 + self.state = 321 self.match(ASLParser.COLON) - self.state = 308 + self.state = 322 self.match(ASLParser.STRINGPATH) pass elif la_ == 2: localctx = ASLParser.Payload_binding_path_context_objContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 309 + self.state = 323 self.match(ASLParser.STRINGDOLLAR) - self.state = 310 + self.state = 324 self.match(ASLParser.COLON) - self.state = 311 + self.state = 325 self.match(ASLParser.STRINGPATHCONTEXTOBJ) pass elif la_ == 3: localctx = ASLParser.Payload_binding_intrinsic_funcContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 312 + self.state = 326 self.match(ASLParser.STRINGDOLLAR) - self.state = 313 + self.state = 327 self.match(ASLParser.COLON) - self.state = 314 + self.state = 328 self.intrinsic_func() pass elif la_ == 4: localctx = ASLParser.Payload_binding_valueContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 315 + self.state = 329 self.keyword_or_string() - self.state = 316 + self.state = 330 self.match(ASLParser.COLON) - self.state = 317 + self.state = 331 self.payload_value_decl() pass @@ -2762,10 +2905,10 @@ def accept(self, visitor:ParseTreeVisitor): def intrinsic_func(self): localctx = ASLParser.Intrinsic_funcContext(self, self._ctx, self.state) - self.enterRule(localctx, 58, self.RULE_intrinsic_func) + self.enterRule(localctx, 62, self.RULE_intrinsic_func) try: self.enterOuterAlt(localctx, 1) - self.state = 321 + self.state = 335 self.match(ASLParser.STRING) except RecognitionException as re: localctx.exception = re @@ -2825,39 +2968,39 @@ def accept(self, visitor:ParseTreeVisitor): def payload_arr_decl(self): localctx = ASLParser.Payload_arr_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 60, self.RULE_payload_arr_decl) + self.enterRule(localctx, 64, self.RULE_payload_arr_decl) self._la = 0 # Token type try: - self.state = 336 + self.state = 350 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,10,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 323 + self.state = 337 self.match(ASLParser.LBRACK) - self.state = 324 + self.state = 338 self.payload_value_decl() - self.state = 329 + self.state = 343 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 325 + self.state = 339 self.match(ASLParser.COMMA) - self.state = 326 + self.state = 340 self.payload_value_decl() - self.state = 331 + self.state = 345 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 332 + self.state = 346 self.match(ASLParser.RBRACK) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 334 + self.state = 348 self.match(ASLParser.LBRACK) - self.state = 335 + self.state = 349 self.match(ASLParser.RBRACK) pass @@ -2917,32 +3060,32 @@ def accept(self, visitor:ParseTreeVisitor): def payload_value_decl(self): localctx = ASLParser.Payload_value_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 62, self.RULE_payload_value_decl) + self.enterRule(localctx, 66, self.RULE_payload_value_decl) try: - self.state = 342 + self.state = 356 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,11,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 338 + self.state = 352 self.payload_binding() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 339 + self.state = 353 self.payload_arr_decl() pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 340 + self.state = 354 self.payload_tmpl_decl() pass elif la_ == 4: self.enterOuterAlt(localctx, 4) - self.state = 341 + self.state = 355 self.payload_value_lit() pass @@ -3100,28 +3243,28 @@ def accept(self, visitor:ParseTreeVisitor): def payload_value_lit(self): localctx = ASLParser.Payload_value_litContext(self, self._ctx, self.state) - self.enterRule(localctx, 64, self.RULE_payload_value_lit) + self.enterRule(localctx, 68, self.RULE_payload_value_lit) self._la = 0 # Token type try: - self.state = 349 + self.state = 363 self._errHandler.sync(self) token = self._input.LA(1) - if token in [115]: + if token in [117]: localctx = ASLParser.Payload_value_floatContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 344 + self.state = 358 self.match(ASLParser.NUMBER) pass - elif token in [114]: + elif token in [116]: localctx = ASLParser.Payload_value_intContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 345 + self.state = 359 self.match(ASLParser.INT) pass elif token in [7, 8]: localctx = ASLParser.Payload_value_boolContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 346 + self.state = 360 _la = self._input.LA(1) if not(_la==7 or _la==8): self._errHandler.recoverInline(self) @@ -3132,13 +3275,13 @@ def payload_value_lit(self): elif token in [9]: localctx = ASLParser.Payload_value_nullContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 347 + self.state = 361 self.match(ASLParser.NULL) pass - elif token in [10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 78, 79, 80, 81, 82, 83, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 110, 111, 112, 113]: + elif token in [10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 75, 76, 77, 80, 81, 82, 83, 84, 85, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115]: localctx = ASLParser.Payload_value_strContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 348 + self.state = 362 self.keyword_or_string() pass else: @@ -3193,14 +3336,14 @@ def accept(self, visitor:ParseTreeVisitor): def result_selector_decl(self): localctx = ASLParser.Result_selector_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 66, self.RULE_result_selector_decl) + self.enterRule(localctx, 70, self.RULE_result_selector_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 351 + self.state = 365 self.match(ASLParser.RESULTSELECTOR) - self.state = 352 + self.state = 366 self.match(ASLParser.COLON) - self.state = 353 + self.state = 367 self.payload_tmpl_decl() except RecognitionException as re: localctx.exception = re @@ -3265,11 +3408,11 @@ def accept(self, visitor:ParseTreeVisitor): def state_type(self): localctx = ASLParser.State_typeContext(self, self._ctx, self.state) - self.enterRule(localctx, 68, self.RULE_state_type) + self.enterRule(localctx, 72, self.RULE_state_type) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 355 + self.state = 369 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 8355840) != 0)): self._errHandler.recoverInline(self) @@ -3340,31 +3483,31 @@ def accept(self, visitor:ParseTreeVisitor): def choices_decl(self): localctx = ASLParser.Choices_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 70, self.RULE_choices_decl) + self.enterRule(localctx, 74, self.RULE_choices_decl) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 357 + self.state = 371 self.match(ASLParser.CHOICES) - self.state = 358 + self.state = 372 self.match(ASLParser.COLON) - self.state = 359 + self.state = 373 self.match(ASLParser.LBRACK) - self.state = 360 + self.state = 374 self.choice_rule() - self.state = 365 + self.state = 379 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 361 + self.state = 375 self.match(ASLParser.COMMA) - self.state = 362 + self.state = 376 self.choice_rule() - self.state = 367 + self.state = 381 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 368 + self.state = 382 self.match(ASLParser.RBRACK) except RecognitionException as re: localctx.exception = re @@ -3424,27 +3567,27 @@ def accept(self, visitor:ParseTreeVisitor): def choice_rule(self): localctx = ASLParser.Choice_ruleContext(self, self._ctx, self.state) - self.enterRule(localctx, 72, self.RULE_choice_rule) + self.enterRule(localctx, 76, self.RULE_choice_rule) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 370 + self.state = 384 self.match(ASLParser.LBRACE) - self.state = 371 + self.state = 385 self.choice_rule_stmt() - self.state = 376 + self.state = 390 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 372 + self.state = 386 self.match(ASLParser.COMMA) - self.state = 373 + self.state = 387 self.choice_rule_stmt() - self.state = 378 + self.state = 392 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 379 + self.state = 393 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -3497,24 +3640,24 @@ def accept(self, visitor:ParseTreeVisitor): def choice_rule_stmt(self): localctx = ASLParser.Choice_rule_stmtContext(self, self._ctx, self.state) - self.enterRule(localctx, 74, self.RULE_choice_rule_stmt) + self.enterRule(localctx, 78, self.RULE_choice_rule_stmt) try: - self.state = 384 + self.state = 398 self._errHandler.sync(self) token = self._input.LA(1) if token in [24, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68]: self.enterOuterAlt(localctx, 1) - self.state = 381 + self.state = 395 self.comparison() pass elif token in [27, 36, 47]: self.enterOuterAlt(localctx, 2) - self.state = 382 + self.state = 396 self.comparison_composite() pass - elif token in [86]: + elif token in [88]: self.enterOuterAlt(localctx, 3) - self.state = 383 + self.state = 397 self.next_decl() pass else: @@ -3572,24 +3715,24 @@ def accept(self, visitor:ParseTreeVisitor): def comparison(self): localctx = ASLParser.ComparisonContext(self, self._ctx, self.state) - self.enterRule(localctx, 76, self.RULE_comparison) + self.enterRule(localctx, 80, self.RULE_comparison) try: self.enterOuterAlt(localctx, 1) - self.state = 386 + self.state = 400 self.comparison_stmt() - self.state = 389 + self.state = 403 self._errHandler.sync(self) _alt = 1 while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt == 1: - self.state = 387 + self.state = 401 self.match(ASLParser.COMMA) - self.state = 388 + self.state = 402 self.comparison_stmt() else: raise NoViableAltException(self) - self.state = 391 + self.state = 405 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,16,self._ctx) @@ -3640,19 +3783,19 @@ def accept(self, visitor:ParseTreeVisitor): def comparison_stmt(self): localctx = ASLParser.Comparison_stmtContext(self, self._ctx, self.state) - self.enterRule(localctx, 78, self.RULE_comparison_stmt) + self.enterRule(localctx, 82, self.RULE_comparison_stmt) try: - self.state = 395 + self.state = 409 self._errHandler.sync(self) token = self._input.LA(1) if token in [24]: self.enterOuterAlt(localctx, 1) - self.state = 393 + self.state = 407 self.variable_decl() pass elif token in [28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68]: self.enterOuterAlt(localctx, 2) - self.state = 394 + self.state = 408 self.comparison_func() pass else: @@ -3723,41 +3866,41 @@ def accept(self, visitor:ParseTreeVisitor): def comparison_composite(self): localctx = ASLParser.Comparison_compositeContext(self, self._ctx, self.state) - self.enterRule(localctx, 80, self.RULE_comparison_composite) + self.enterRule(localctx, 84, self.RULE_comparison_composite) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 397 + self.state = 411 self.choice_operator() - self.state = 398 + self.state = 412 self.match(ASLParser.COLON) - self.state = 410 + self.state = 424 self._errHandler.sync(self) token = self._input.LA(1) if token in [5]: - self.state = 399 + self.state = 413 self.choice_rule() pass elif token in [3]: - self.state = 400 + self.state = 414 self.match(ASLParser.LBRACK) - self.state = 401 + self.state = 415 self.choice_rule() - self.state = 404 + self.state = 418 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 402 + self.state = 416 self.match(ASLParser.COMMA) - self.state = 403 + self.state = 417 self.choice_rule() - self.state = 406 + self.state = 420 self._errHandler.sync(self) _la = self._input.LA(1) if not (_la==1): break - self.state = 408 + self.state = 422 self.match(ASLParser.RBRACK) pass else: @@ -3812,14 +3955,14 @@ def accept(self, visitor:ParseTreeVisitor): def variable_decl(self): localctx = ASLParser.Variable_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 82, self.RULE_variable_decl) + self.enterRule(localctx, 86, self.RULE_variable_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 412 + self.state = 426 self.match(ASLParser.VARIABLE) - self.state = 413 + self.state = 427 self.match(ASLParser.COLON) - self.state = 414 + self.state = 428 self.keyword_or_string() except RecognitionException as re: localctx.exception = re @@ -3871,14 +4014,14 @@ def accept(self, visitor:ParseTreeVisitor): def comparison_func(self): localctx = ASLParser.Comparison_funcContext(self, self._ctx, self.state) - self.enterRule(localctx, 84, self.RULE_comparison_func) + self.enterRule(localctx, 88, self.RULE_comparison_func) try: self.enterOuterAlt(localctx, 1) - self.state = 416 + self.state = 430 self.comparison_op() - self.state = 417 + self.state = 431 self.match(ASLParser.COLON) - self.state = 418 + self.state = 432 self.json_value_decl() except RecognitionException as re: localctx.exception = re @@ -3944,31 +4087,31 @@ def accept(self, visitor:ParseTreeVisitor): def branches_decl(self): localctx = ASLParser.Branches_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 86, self.RULE_branches_decl) + self.enterRule(localctx, 90, self.RULE_branches_decl) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 420 + self.state = 434 self.match(ASLParser.BRANCHES) - self.state = 421 + self.state = 435 self.match(ASLParser.COLON) - self.state = 422 + self.state = 436 self.match(ASLParser.LBRACK) - self.state = 423 + self.state = 437 self.program_decl() - self.state = 428 + self.state = 442 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 424 + self.state = 438 self.match(ASLParser.COMMA) - self.state = 425 + self.state = 439 self.program_decl() - self.state = 430 + self.state = 444 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 431 + self.state = 445 self.match(ASLParser.RBRACK) except RecognitionException as re: localctx.exception = re @@ -4034,31 +4177,31 @@ def accept(self, visitor:ParseTreeVisitor): def item_processor_decl(self): localctx = ASLParser.Item_processor_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 88, self.RULE_item_processor_decl) + self.enterRule(localctx, 92, self.RULE_item_processor_decl) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 433 + self.state = 447 self.match(ASLParser.ITEMPROCESSOR) - self.state = 434 + self.state = 448 self.match(ASLParser.COLON) - self.state = 435 + self.state = 449 self.match(ASLParser.LBRACE) - self.state = 436 + self.state = 450 self.item_processor_item() - self.state = 441 + self.state = 455 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 437 + self.state = 451 self.match(ASLParser.COMMA) - self.state = 438 + self.state = 452 self.item_processor_item() - self.state = 443 + self.state = 457 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 444 + self.state = 458 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -4115,29 +4258,29 @@ def accept(self, visitor:ParseTreeVisitor): def item_processor_item(self): localctx = ASLParser.Item_processor_itemContext(self, self._ctx, self.state) - self.enterRule(localctx, 90, self.RULE_item_processor_item) + self.enterRule(localctx, 94, self.RULE_item_processor_item) try: - self.state = 450 + self.state = 464 self._errHandler.sync(self) token = self._input.LA(1) - if token in [73]: + if token in [75]: self.enterOuterAlt(localctx, 1) - self.state = 446 + self.state = 460 self.processor_config_decl() pass elif token in [12]: self.enterOuterAlt(localctx, 2) - self.state = 447 + self.state = 461 self.startat_decl() pass elif token in [11]: self.enterOuterAlt(localctx, 3) - self.state = 448 + self.state = 462 self.states_decl() pass elif token in [10]: self.enterOuterAlt(localctx, 4) - self.state = 449 + self.state = 463 self.comment_decl() pass else: @@ -4208,39 +4351,39 @@ def accept(self, visitor:ParseTreeVisitor): def processor_config_decl(self): localctx = ASLParser.Processor_config_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 92, self.RULE_processor_config_decl) + self.enterRule(localctx, 96, self.RULE_processor_config_decl) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 452 + self.state = 466 self.match(ASLParser.PROCESSORCONFIG) - self.state = 453 + self.state = 467 self.match(ASLParser.COLON) - self.state = 454 + self.state = 468 self.match(ASLParser.LBRACE) - self.state = 459 + self.state = 473 self._errHandler.sync(self) _la = self._input.LA(1) - while (((_la) & ~0x3f) == 0 and ((1 << _la) & -67634176) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 1090715527401471) != 0): - self.state = 457 + while (((_la) & ~0x3f) == 0 and ((1 << _la) & -67634176) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 4362862109604351) != 0): + self.state = 471 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,23,self._ctx) if la_ == 1: - self.state = 455 + self.state = 469 self.mode_decl() pass elif la_ == 2: - self.state = 456 + self.state = 470 self.json_binding() pass - self.state = 461 + self.state = 475 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 462 + self.state = 476 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -4291,14 +4434,14 @@ def accept(self, visitor:ParseTreeVisitor): def mode_decl(self): localctx = ASLParser.Mode_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 94, self.RULE_mode_decl) + self.enterRule(localctx, 98, self.RULE_mode_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 464 + self.state = 478 self.match(ASLParser.MODE) - self.state = 465 + self.state = 479 self.match(ASLParser.COLON) - self.state = 466 + self.state = 480 self.mode_type() except RecognitionException as re: localctx.exception = re @@ -4342,10 +4485,10 @@ def accept(self, visitor:ParseTreeVisitor): def mode_type(self): localctx = ASLParser.Mode_typeContext(self, self._ctx, self.state) - self.enterRule(localctx, 96, self.RULE_mode_type) + self.enterRule(localctx, 100, self.RULE_mode_type) try: self.enterOuterAlt(localctx, 1) - self.state = 468 + self.state = 482 self.match(ASLParser.INLINE) except RecognitionException as re: localctx.exception = re @@ -4415,31 +4558,31 @@ def accept(self, visitor:ParseTreeVisitor): def retry_decl(self): localctx = ASLParser.Retry_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 98, self.RULE_retry_decl) + self.enterRule(localctx, 102, self.RULE_retry_decl) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 470 + self.state = 484 self.match(ASLParser.RETRY) - self.state = 471 + self.state = 485 self.match(ASLParser.COLON) - self.state = 472 + self.state = 486 self.match(ASLParser.LBRACK) - self.state = 473 + self.state = 487 self.retrier_decl() - self.state = 478 + self.state = 492 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 474 + self.state = 488 self.match(ASLParser.COMMA) - self.state = 475 + self.state = 489 self.retry_decl() - self.state = 480 + self.state = 494 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 481 + self.state = 495 self.match(ASLParser.RBRACK) except RecognitionException as re: localctx.exception = re @@ -4499,27 +4642,27 @@ def accept(self, visitor:ParseTreeVisitor): def retrier_decl(self): localctx = ASLParser.Retrier_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 100, self.RULE_retrier_decl) + self.enterRule(localctx, 104, self.RULE_retrier_decl) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 483 + self.state = 497 self.match(ASLParser.LBRACE) - self.state = 484 + self.state = 498 self.retrier_stmt() - self.state = 489 + self.state = 503 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 485 + self.state = 499 self.match(ASLParser.COMMA) - self.state = 486 + self.state = 500 self.retrier_stmt() - self.state = 491 + self.state = 505 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 492 + self.state = 506 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -4576,29 +4719,29 @@ def accept(self, visitor:ParseTreeVisitor): def retrier_stmt(self): localctx = ASLParser.Retrier_stmtContext(self, self._ctx, self.state) - self.enterRule(localctx, 102, self.RULE_retrier_stmt) + self.enterRule(localctx, 106, self.RULE_retrier_stmt) try: - self.state = 498 + self.state = 512 self._errHandler.sync(self) token = self._input.LA(1) - if token in [91]: + if token in [93]: self.enterOuterAlt(localctx, 1) - self.state = 494 + self.state = 508 self.error_equals_decl() pass - elif token in [92]: + elif token in [94]: self.enterOuterAlt(localctx, 2) - self.state = 495 + self.state = 509 self.interval_seconds_decl() pass - elif token in [93]: + elif token in [95]: self.enterOuterAlt(localctx, 3) - self.state = 496 + self.state = 510 self.max_attempts_decl() pass - elif token in [94]: + elif token in [96]: self.enterOuterAlt(localctx, 4) - self.state = 497 + self.state = 511 self.backoff_rate_decl() pass else: @@ -4668,31 +4811,31 @@ def accept(self, visitor:ParseTreeVisitor): def error_equals_decl(self): localctx = ASLParser.Error_equals_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 104, self.RULE_error_equals_decl) + self.enterRule(localctx, 108, self.RULE_error_equals_decl) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 500 + self.state = 514 self.match(ASLParser.ERROREQUALS) - self.state = 501 + self.state = 515 self.match(ASLParser.COLON) - self.state = 502 + self.state = 516 self.match(ASLParser.LBRACK) - self.state = 503 + self.state = 517 self.error_name() - self.state = 508 + self.state = 522 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 504 + self.state = 518 self.match(ASLParser.COMMA) - self.state = 505 + self.state = 519 self.error_name() - self.state = 510 + self.state = 524 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 511 + self.state = 525 self.match(ASLParser.RBRACK) except RecognitionException as re: localctx.exception = re @@ -4742,14 +4885,14 @@ def accept(self, visitor:ParseTreeVisitor): def interval_seconds_decl(self): localctx = ASLParser.Interval_seconds_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 106, self.RULE_interval_seconds_decl) + self.enterRule(localctx, 110, self.RULE_interval_seconds_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 513 + self.state = 527 self.match(ASLParser.INTERVALSECONDS) - self.state = 514 + self.state = 528 self.match(ASLParser.COLON) - self.state = 515 + self.state = 529 self.match(ASLParser.INT) except RecognitionException as re: localctx.exception = re @@ -4799,14 +4942,14 @@ def accept(self, visitor:ParseTreeVisitor): def max_attempts_decl(self): localctx = ASLParser.Max_attempts_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 108, self.RULE_max_attempts_decl) + self.enterRule(localctx, 112, self.RULE_max_attempts_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 517 + self.state = 531 self.match(ASLParser.MAXATTEMPTS) - self.state = 518 + self.state = 532 self.match(ASLParser.COLON) - self.state = 519 + self.state = 533 self.match(ASLParser.INT) except RecognitionException as re: localctx.exception = re @@ -4856,14 +4999,14 @@ def accept(self, visitor:ParseTreeVisitor): def backoff_rate_decl(self): localctx = ASLParser.Backoff_rate_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 110, self.RULE_backoff_rate_decl) + self.enterRule(localctx, 114, self.RULE_backoff_rate_decl) try: self.enterOuterAlt(localctx, 1) - self.state = 521 + self.state = 535 self.match(ASLParser.BACKOFFRATE) - self.state = 522 + self.state = 536 self.match(ASLParser.COLON) - self.state = 523 + self.state = 537 self.match(ASLParser.NUMBER) except RecognitionException as re: localctx.exception = re @@ -4929,31 +5072,31 @@ def accept(self, visitor:ParseTreeVisitor): def catch_decl(self): localctx = ASLParser.Catch_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 112, self.RULE_catch_decl) + self.enterRule(localctx, 116, self.RULE_catch_decl) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 525 + self.state = 539 self.match(ASLParser.CATCH) - self.state = 526 + self.state = 540 self.match(ASLParser.COLON) - self.state = 527 + self.state = 541 self.match(ASLParser.LBRACK) - self.state = 528 + self.state = 542 self.catcher_decl() - self.state = 533 + self.state = 547 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 529 + self.state = 543 self.match(ASLParser.COMMA) - self.state = 530 + self.state = 544 self.catcher_decl() - self.state = 535 + self.state = 549 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 536 + self.state = 550 self.match(ASLParser.RBRACK) except RecognitionException as re: localctx.exception = re @@ -5013,27 +5156,27 @@ def accept(self, visitor:ParseTreeVisitor): def catcher_decl(self): localctx = ASLParser.Catcher_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 114, self.RULE_catcher_decl) + self.enterRule(localctx, 118, self.RULE_catcher_decl) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 538 + self.state = 552 self.match(ASLParser.LBRACE) - self.state = 539 + self.state = 553 self.catcher_stmt() - self.state = 544 + self.state = 558 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 540 + self.state = 554 self.match(ASLParser.COMMA) - self.state = 541 + self.state = 555 self.catcher_stmt() - self.state = 546 + self.state = 560 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 547 + self.state = 561 self.match(ASLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -5086,24 +5229,24 @@ def accept(self, visitor:ParseTreeVisitor): def catcher_stmt(self): localctx = ASLParser.Catcher_stmtContext(self, self._ctx, self.state) - self.enterRule(localctx, 116, self.RULE_catcher_stmt) + self.enterRule(localctx, 120, self.RULE_catcher_stmt) try: - self.state = 552 + self.state = 566 self._errHandler.sync(self) token = self._input.LA(1) - if token in [91]: + if token in [93]: self.enterOuterAlt(localctx, 1) - self.state = 549 + self.state = 563 self.error_equals_decl() pass - elif token in [82]: + elif token in [84]: self.enterOuterAlt(localctx, 2) - self.state = 550 + self.state = 564 self.result_path_decl() pass - elif token in [86]: + elif token in [88]: self.enterOuterAlt(localctx, 3) - self.state = 551 + self.state = 565 self.next_decl() pass else: @@ -5265,11 +5408,11 @@ def accept(self, visitor:ParseTreeVisitor): def comparison_op(self): localctx = ASLParser.Comparison_opContext(self, self._ctx, self.state) - self.enterRule(localctx, 118, self.RULE_comparison_op) + self.enterRule(localctx, 122, self.RULE_comparison_op) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 554 + self.state = 568 _la = self._input.LA(1) if not(((((_la - 28)) & ~0x3f) == 0 and ((1 << (_la - 28)) & 2199022731007) != 0)): self._errHandler.recoverInline(self) @@ -5324,11 +5467,11 @@ def accept(self, visitor:ParseTreeVisitor): def choice_operator(self): localctx = ASLParser.Choice_operatorContext(self, self._ctx, self.state) - self.enterRule(localctx, 120, self.RULE_choice_operator) + self.enterRule(localctx, 124, self.RULE_choice_operator) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 556 + self.state = 570 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 140806342049792) != 0)): self._errHandler.recoverInline(self) @@ -5413,13 +5556,13 @@ def accept(self, visitor:ParseTreeVisitor): def states_error_name(self): localctx = ASLParser.States_error_nameContext(self, self._ctx, self.state) - self.enterRule(localctx, 122, self.RULE_states_error_name) + self.enterRule(localctx, 126, self.RULE_states_error_name) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 558 + self.state = 572 _la = self._input.LA(1) - if not(((((_la - 96)) & ~0x3f) == 0 and ((1 << (_la - 96)) & 8191) != 0)): + if not(((((_la - 98)) & ~0x3f) == 0 and ((1 << (_la - 98)) & 8191) != 0)): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) @@ -5471,20 +5614,20 @@ def accept(self, visitor:ParseTreeVisitor): def error_name(self): localctx = ASLParser.Error_nameContext(self, self._ctx, self.state) - self.enterRule(localctx, 124, self.RULE_error_name) + self.enterRule(localctx, 128, self.RULE_error_name) try: - self.state = 562 + self.state = 576 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,32,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 560 + self.state = 574 self.states_error_name() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 561 + self.state = 575 self.keyword_or_string() pass @@ -5547,39 +5690,39 @@ def accept(self, visitor:ParseTreeVisitor): def json_obj_decl(self): localctx = ASLParser.Json_obj_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 126, self.RULE_json_obj_decl) + self.enterRule(localctx, 130, self.RULE_json_obj_decl) self._la = 0 # Token type try: - self.state = 577 + self.state = 591 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,34,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 564 + self.state = 578 self.match(ASLParser.LBRACE) - self.state = 565 + self.state = 579 self.json_binding() - self.state = 570 + self.state = 584 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 566 + self.state = 580 self.match(ASLParser.COMMA) - self.state = 567 + self.state = 581 self.json_binding() - self.state = 572 + self.state = 586 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 573 + self.state = 587 self.match(ASLParser.RBRACE) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 575 + self.state = 589 self.match(ASLParser.LBRACE) - self.state = 576 + self.state = 590 self.match(ASLParser.RBRACE) pass @@ -5634,14 +5777,14 @@ def accept(self, visitor:ParseTreeVisitor): def json_binding(self): localctx = ASLParser.Json_bindingContext(self, self._ctx, self.state) - self.enterRule(localctx, 128, self.RULE_json_binding) + self.enterRule(localctx, 132, self.RULE_json_binding) try: self.enterOuterAlt(localctx, 1) - self.state = 579 + self.state = 593 self.keyword_or_string() - self.state = 580 + self.state = 594 self.match(ASLParser.COLON) - self.state = 581 + self.state = 595 self.json_value_decl() except RecognitionException as re: localctx.exception = re @@ -5701,39 +5844,39 @@ def accept(self, visitor:ParseTreeVisitor): def json_arr_decl(self): localctx = ASLParser.Json_arr_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 130, self.RULE_json_arr_decl) + self.enterRule(localctx, 134, self.RULE_json_arr_decl) self._la = 0 # Token type try: - self.state = 596 + self.state = 610 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,36,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 583 + self.state = 597 self.match(ASLParser.LBRACK) - self.state = 584 + self.state = 598 self.json_value_decl() - self.state = 589 + self.state = 603 self._errHandler.sync(self) _la = self._input.LA(1) while _la==1: - self.state = 585 + self.state = 599 self.match(ASLParser.COMMA) - self.state = 586 + self.state = 600 self.json_value_decl() - self.state = 591 + self.state = 605 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 592 + self.state = 606 self.match(ASLParser.RBRACK) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 594 + self.state = 608 self.match(ASLParser.LBRACK) - self.state = 595 + self.state = 609 self.match(ASLParser.RBRACK) pass @@ -5808,62 +5951,62 @@ def accept(self, visitor:ParseTreeVisitor): def json_value_decl(self): localctx = ASLParser.Json_value_declContext(self, self._ctx, self.state) - self.enterRule(localctx, 132, self.RULE_json_value_decl) + self.enterRule(localctx, 136, self.RULE_json_value_decl) try: - self.state = 607 + self.state = 621 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,37,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 598 + self.state = 612 self.match(ASLParser.NUMBER) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 599 + self.state = 613 self.match(ASLParser.INT) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 600 + self.state = 614 self.match(ASLParser.TRUE) pass elif la_ == 4: self.enterOuterAlt(localctx, 4) - self.state = 601 + self.state = 615 self.match(ASLParser.FALSE) pass elif la_ == 5: self.enterOuterAlt(localctx, 5) - self.state = 602 + self.state = 616 self.match(ASLParser.NULL) pass elif la_ == 6: self.enterOuterAlt(localctx, 6) - self.state = 603 + self.state = 617 self.json_binding() pass elif la_ == 7: self.enterOuterAlt(localctx, 7) - self.state = 604 + self.state = 618 self.json_arr_decl() pass elif la_ == 8: self.enterOuterAlt(localctx, 8) - self.state = 605 + self.state = 619 self.json_obj_decl() pass elif la_ == 9: self.enterOuterAlt(localctx, 9) - self.state = 606 + self.state = 620 self.keyword_or_string() pass @@ -6042,229 +6185,229 @@ def accept(self, visitor:ParseTreeVisitor): def keyword_or_string(self): localctx = ASLParser.Keyword_or_stringContext(self, self._ctx, self.state) - self.enterRule(localctx, 134, self.RULE_keyword_or_string) + self.enterRule(localctx, 138, self.RULE_keyword_or_string) try: - self.state = 653 + self.state = 667 self._errHandler.sync(self) token = self._input.LA(1) - if token in [113]: + if token in [115]: self.enterOuterAlt(localctx, 1) - self.state = 609 + self.state = 623 self.match(ASLParser.STRING) pass - elif token in [110]: + elif token in [112]: self.enterOuterAlt(localctx, 2) - self.state = 610 + self.state = 624 self.match(ASLParser.STRINGDOLLAR) pass - elif token in [112]: + elif token in [114]: self.enterOuterAlt(localctx, 3) - self.state = 611 + self.state = 625 self.match(ASLParser.STRINGPATH) pass - elif token in [111]: + elif token in [113]: self.enterOuterAlt(localctx, 4) - self.state = 612 + self.state = 626 self.match(ASLParser.STRINGPATHCONTEXTOBJ) pass elif token in [10]: self.enterOuterAlt(localctx, 5) - self.state = 613 + self.state = 627 self.match(ASLParser.COMMENT) pass elif token in [11]: self.enterOuterAlt(localctx, 6) - self.state = 614 + self.state = 628 self.match(ASLParser.STATES) pass elif token in [12]: self.enterOuterAlt(localctx, 7) - self.state = 615 + self.state = 629 self.match(ASLParser.STARTAT) pass elif token in [13]: self.enterOuterAlt(localctx, 8) - self.state = 616 + self.state = 630 self.match(ASLParser.NEXTSTATE) pass elif token in [14]: self.enterOuterAlt(localctx, 9) - self.state = 617 + self.state = 631 self.match(ASLParser.TYPE) pass elif token in [15]: self.enterOuterAlt(localctx, 10) - self.state = 618 + self.state = 632 self.match(ASLParser.TASK) pass elif token in [16]: self.enterOuterAlt(localctx, 11) - self.state = 619 + self.state = 633 self.match(ASLParser.CHOICE) pass elif token in [23]: self.enterOuterAlt(localctx, 12) - self.state = 620 + self.state = 634 self.match(ASLParser.CHOICES) pass elif token in [17]: self.enterOuterAlt(localctx, 13) - self.state = 621 + self.state = 635 self.match(ASLParser.FAIL) pass elif token in [20]: self.enterOuterAlt(localctx, 14) - self.state = 622 + self.state = 636 self.match(ASLParser.WAIT) pass elif token in [21]: self.enterOuterAlt(localctx, 15) - self.state = 623 + self.state = 637 self.match(ASLParser.PARALLEL) pass elif token in [22]: self.enterOuterAlt(localctx, 16) - self.state = 624 + self.state = 638 self.match(ASLParser.MAP) pass elif token in [18]: self.enterOuterAlt(localctx, 17) - self.state = 625 + self.state = 639 self.match(ASLParser.SUCCEED) pass elif token in [24]: self.enterOuterAlt(localctx, 18) - self.state = 626 + self.state = 640 self.match(ASLParser.VARIABLE) pass - elif token in [78]: + elif token in [80]: self.enterOuterAlt(localctx, 19) - self.state = 627 + self.state = 641 self.match(ASLParser.RESOURCE) pass - elif token in [83]: + elif token in [85]: self.enterOuterAlt(localctx, 20) - self.state = 628 + self.state = 642 self.match(ASLParser.RESULT) pass - elif token in [87]: + elif token in [89]: self.enterOuterAlt(localctx, 21) - self.state = 629 + self.state = 643 self.match(ASLParser.END) pass - elif token in [88]: + elif token in [90]: self.enterOuterAlt(localctx, 22) - self.state = 630 + self.state = 644 self.match(ASLParser.CAUSE) pass - elif token in [89]: + elif token in [91]: self.enterOuterAlt(localctx, 23) - self.state = 631 + self.state = 645 self.match(ASLParser.ERROR) pass elif token in [25]: self.enterOuterAlt(localctx, 24) - self.state = 632 + self.state = 646 self.match(ASLParser.DEFAULT) pass - elif token in [81]: + elif token in [83]: self.enterOuterAlt(localctx, 25) - self.state = 633 + self.state = 647 self.match(ASLParser.ITEMSPATH) pass - elif token in [74]: + elif token in [76]: self.enterOuterAlt(localctx, 26) - self.state = 634 + self.state = 648 self.match(ASLParser.MODE) pass - elif token in [73]: + elif token in [75]: self.enterOuterAlt(localctx, 27) - self.state = 635 + self.state = 649 self.match(ASLParser.PROCESSORCONFIG) pass - elif token in [75]: + elif token in [77]: self.enterOuterAlt(localctx, 28) - self.state = 636 + self.state = 650 self.match(ASLParser.INLINE) pass - elif token in [80]: + elif token in [82]: self.enterOuterAlt(localctx, 29) - self.state = 637 + self.state = 651 self.match(ASLParser.OUTPUTPATH) pass - elif token in [82]: + elif token in [84]: self.enterOuterAlt(localctx, 30) - self.state = 638 + self.state = 652 self.match(ASLParser.RESULTPATH) pass - elif token in [79]: + elif token in [81]: self.enterOuterAlt(localctx, 31) - self.state = 639 + self.state = 653 self.match(ASLParser.INPUTPATH) pass elif token in [69]: self.enterOuterAlt(localctx, 32) - self.state = 640 + self.state = 654 self.match(ASLParser.SECONDSPATH) pass elif token in [70]: self.enterOuterAlt(localctx, 33) - self.state = 641 + self.state = 655 self.match(ASLParser.SECONDS) pass elif token in [71]: self.enterOuterAlt(localctx, 34) - self.state = 642 + self.state = 656 self.match(ASLParser.TIMESTAMPPATH) pass elif token in [72]: self.enterOuterAlt(localctx, 35) - self.state = 643 + self.state = 657 self.match(ASLParser.TIMESTAMP) pass - elif token in [90]: + elif token in [92]: self.enterOuterAlt(localctx, 36) - self.state = 644 + self.state = 658 self.match(ASLParser.RETRY) pass - elif token in [91]: + elif token in [93]: self.enterOuterAlt(localctx, 37) - self.state = 645 + self.state = 659 self.match(ASLParser.ERROREQUALS) pass - elif token in [92]: + elif token in [94]: self.enterOuterAlt(localctx, 38) - self.state = 646 + self.state = 660 self.match(ASLParser.INTERVALSECONDS) pass - elif token in [93]: + elif token in [95]: self.enterOuterAlt(localctx, 39) - self.state = 647 + self.state = 661 self.match(ASLParser.MAXATTEMPTS) pass - elif token in [94]: + elif token in [96]: self.enterOuterAlt(localctx, 40) - self.state = 648 + self.state = 662 self.match(ASLParser.BACKOFFRATE) pass - elif token in [95]: + elif token in [97]: self.enterOuterAlt(localctx, 41) - self.state = 649 + self.state = 663 self.match(ASLParser.CATCH) pass elif token in [28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68]: self.enterOuterAlt(localctx, 42) - self.state = 650 + self.state = 664 self.comparison_func() pass elif token in [27, 36, 47]: self.enterOuterAlt(localctx, 43) - self.state = 651 + self.state = 665 self.choice_operator() pass - elif token in [96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108]: + elif token in [98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110]: self.enterOuterAlt(localctx, 44) - self.state = 652 + self.state = 666 self.states_error_name() pass else: diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.tokens b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.tokens index 6f22e5eccaaaf..08d945bae0fd8 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.tokens +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.tokens @@ -70,50 +70,52 @@ SECONDSPATH=69 SECONDS=70 TIMESTAMPPATH=71 TIMESTAMP=72 -PROCESSORCONFIG=73 -MODE=74 -INLINE=75 -ITEMPROCESSOR=76 -MAXCONCURRENCY=77 -RESOURCE=78 -INPUTPATH=79 -OUTPUTPATH=80 -ITEMSPATH=81 -RESULTPATH=82 -RESULT=83 -PARAMETERS=84 -RESULTSELECTOR=85 -NEXT=86 -END=87 -CAUSE=88 -ERROR=89 -RETRY=90 -ERROREQUALS=91 -INTERVALSECONDS=92 -MAXATTEMPTS=93 -BACKOFFRATE=94 -CATCH=95 -ERRORNAMEStatesALL=96 -ERRORNAMEStatesHeartbeatTimeout=97 -ERRORNAMEStatesTimeout=98 -ERRORNAMEStatesTaskFailed=99 -ERRORNAMEStatesPermissions=100 -ERRORNAMEStatesResultPathMatchFailure=101 -ERRORNAMEStatesParameterPathFailure=102 -ERRORNAMEStatesBranchFailed=103 -ERRORNAMEStatesNoChoiceMatched=104 -ERRORNAMEStatesIntrinsicFailure=105 -ERRORNAMEStatesExceedToleratedFailureThreshold=106 -ERRORNAMEStatesItemReaderFailed=107 -ERRORNAMEStatesResultWriterFailed=108 -ERRORNAMEStatesRuntime=109 -STRINGDOLLAR=110 -STRINGPATHCONTEXTOBJ=111 -STRINGPATH=112 -STRING=113 -INT=114 -NUMBER=115 -WS=116 +TIMEOUTSECONDS=73 +TIMEOUTSECONDSPATH=74 +PROCESSORCONFIG=75 +MODE=76 +INLINE=77 +ITEMPROCESSOR=78 +MAXCONCURRENCY=79 +RESOURCE=80 +INPUTPATH=81 +OUTPUTPATH=82 +ITEMSPATH=83 +RESULTPATH=84 +RESULT=85 +PARAMETERS=86 +RESULTSELECTOR=87 +NEXT=88 +END=89 +CAUSE=90 +ERROR=91 +RETRY=92 +ERROREQUALS=93 +INTERVALSECONDS=94 +MAXATTEMPTS=95 +BACKOFFRATE=96 +CATCH=97 +ERRORNAMEStatesALL=98 +ERRORNAMEStatesHeartbeatTimeout=99 +ERRORNAMEStatesTimeout=100 +ERRORNAMEStatesTaskFailed=101 +ERRORNAMEStatesPermissions=102 +ERRORNAMEStatesResultPathMatchFailure=103 +ERRORNAMEStatesParameterPathFailure=104 +ERRORNAMEStatesBranchFailed=105 +ERRORNAMEStatesNoChoiceMatched=106 +ERRORNAMEStatesIntrinsicFailure=107 +ERRORNAMEStatesExceedToleratedFailureThreshold=108 +ERRORNAMEStatesItemReaderFailed=109 +ERRORNAMEStatesResultWriterFailed=110 +ERRORNAMEStatesRuntime=111 +STRINGDOLLAR=112 +STRINGPATHCONTEXTOBJ=113 +STRINGPATH=114 +STRING=115 +INT=116 +NUMBER=117 +WS=118 ','=1 ':'=2 '['=3 @@ -186,40 +188,42 @@ WS=116 '"Seconds"'=70 '"TimestampPath"'=71 '"Timestamp"'=72 -'"ProcessorConfig"'=73 -'"Mode"'=74 -'"INLINE"'=75 -'"ItemProcessor"'=76 -'"MaxConcurrency"'=77 -'"Resource"'=78 -'"InputPath"'=79 -'"OutputPath"'=80 -'"ItemsPath"'=81 -'"ResultPath"'=82 -'"Result"'=83 -'"Parameters"'=84 -'"ResultSelector"'=85 -'"Next"'=86 -'"End"'=87 -'"Cause"'=88 -'"Error"'=89 -'"Retry"'=90 -'"ErrorEquals"'=91 -'"IntervalSeconds"'=92 -'"MaxAttempts"'=93 -'"BackoffRate"'=94 -'"Catch"'=95 -'"States.ALL"'=96 -'"States.HeartbeatTimeout"'=97 -'"States.Timeout"'=98 -'"States.TaskFailed"'=99 -'"States.Permissions"'=100 -'"States.ResultPathMatchFailure"'=101 -'"States.ParameterPathFailure"'=102 -'"States.BranchFailed"'=103 -'"States.NoChoiceMatched"'=104 -'"States.IntrinsicFailure"'=105 -'"States.ExceedToleratedFailureThreshold"'=106 -'"States.ItemReaderFailed"'=107 -'"States.ResultWriterFailed"'=108 -'"States.Runtime"'=109 +'"TimeoutSeconds"'=73 +'"TimeoutSecondsPath"'=74 +'"ProcessorConfig"'=75 +'"Mode"'=76 +'"INLINE"'=77 +'"ItemProcessor"'=78 +'"MaxConcurrency"'=79 +'"Resource"'=80 +'"InputPath"'=81 +'"OutputPath"'=82 +'"ItemsPath"'=83 +'"ResultPath"'=84 +'"Result"'=85 +'"Parameters"'=86 +'"ResultSelector"'=87 +'"Next"'=88 +'"End"'=89 +'"Cause"'=90 +'"Error"'=91 +'"Retry"'=92 +'"ErrorEquals"'=93 +'"IntervalSeconds"'=94 +'"MaxAttempts"'=95 +'"BackoffRate"'=96 +'"Catch"'=97 +'"States.ALL"'=98 +'"States.HeartbeatTimeout"'=99 +'"States.Timeout"'=100 +'"States.TaskFailed"'=101 +'"States.Permissions"'=102 +'"States.ResultPathMatchFailure"'=103 +'"States.ParameterPathFailure"'=104 +'"States.BranchFailed"'=105 +'"States.NoChoiceMatched"'=106 +'"States.IntrinsicFailure"'=107 +'"States.ExceedToleratedFailureThreshold"'=108 +'"States.ItemReaderFailed"'=109 +'"States.ResultWriterFailed"'=110 +'"States.Runtime"'=111 diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParserListener.py b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParserListener.py index 92e803ee0ec7f..017574905de1f 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParserListener.py +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParserListener.py @@ -251,6 +251,24 @@ def exitParameters_decl(self, ctx:ASLParser.Parameters_declContext): pass + # Enter a parse tree produced by ASLParser#timeout_seconds_decl. + def enterTimeout_seconds_decl(self, ctx:ASLParser.Timeout_seconds_declContext): + pass + + # Exit a parse tree produced by ASLParser#timeout_seconds_decl. + def exitTimeout_seconds_decl(self, ctx:ASLParser.Timeout_seconds_declContext): + pass + + + # Enter a parse tree produced by ASLParser#timeout_seconds_path_decl. + def enterTimeout_seconds_path_decl(self, ctx:ASLParser.Timeout_seconds_path_declContext): + pass + + # Exit a parse tree produced by ASLParser#timeout_seconds_path_decl. + def exitTimeout_seconds_path_decl(self, ctx:ASLParser.Timeout_seconds_path_declContext): + pass + + # Enter a parse tree produced by ASLParser#payload_tmpl_decl. def enterPayload_tmpl_decl(self, ctx:ASLParser.Payload_tmpl_declContext): pass diff --git a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParserVisitor.py b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParserVisitor.py index 46250fd256aa1..7bb23901b8b7c 100644 --- a/localstack/services/stepfunctions/asl/antlr/runtime/ASLParserVisitor.py +++ b/localstack/services/stepfunctions/asl/antlr/runtime/ASLParserVisitor.py @@ -144,6 +144,16 @@ def visitParameters_decl(self, ctx:ASLParser.Parameters_declContext): return self.visitChildren(ctx) + # Visit a parse tree produced by ASLParser#timeout_seconds_decl. + def visitTimeout_seconds_decl(self, ctx:ASLParser.Timeout_seconds_declContext): + return self.visitChildren(ctx) + + + # Visit a parse tree produced by ASLParser#timeout_seconds_path_decl. + def visitTimeout_seconds_path_decl(self, ctx:ASLParser.Timeout_seconds_path_declContext): + return self.visitChildren(ctx) + + # Visit a parse tree produced by ASLParser#payload_tmpl_decl. def visitPayload_tmpl_decl(self, ctx:ASLParser.Payload_tmpl_declContext): return self.visitChildren(ctx) diff --git a/localstack/services/stepfunctions/asl/component/common/catch/catcher_decl.py b/localstack/services/stepfunctions/asl/component/common/catch/catcher_decl.py index 3fccf20db8c68..6efcbeb6e97c9 100644 --- a/localstack/services/stepfunctions/asl/component/common/catch/catcher_decl.py +++ b/localstack/services/stepfunctions/asl/component/common/catch/catcher_decl.py @@ -65,10 +65,12 @@ def _extract_error_cause(failure_event: FailureEvent) -> dict: f"Internal Error: invalid event details declaration in FailureEvent: '{failure_event}'." ) spec_event_details: dict = list(failure_event.event_details.values())[0] + error = spec_event_details["error"] + cause = spec_event_details.get("cause") or "" # Stepfunctions renames these fields to capital in this scenario. return { - "Error": spec_event_details["error"], - "Cause": spec_event_details["cause"], + "Error": error, + "Cause": cause, } def _eval_body(self, env: Environment) -> None: diff --git a/localstack/services/stepfunctions/asl/component/common/timeouts/__init__.py b/localstack/services/stepfunctions/asl/component/common/timeouts/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/localstack/services/stepfunctions/asl/component/common/timeouts/timeout.py b/localstack/services/stepfunctions/asl/component/common/timeouts/timeout.py new file mode 100644 index 0000000000000..a3d20d8eec362 --- /dev/null +++ b/localstack/services/stepfunctions/asl/component/common/timeouts/timeout.py @@ -0,0 +1,57 @@ +import abc +from typing import Final + +from localstack.services.stepfunctions.asl.component.eval_component import EvalComponent +from localstack.services.stepfunctions.asl.eval.environment import Environment +from localstack.services.stepfunctions.asl.utils.json_path import JSONPathUtils + + +class Timeout(EvalComponent, abc.ABC): + @abc.abstractmethod + def is_default_value(self) -> bool: + ... + + @abc.abstractmethod + def _eval_seconds(self, env: Environment) -> int: + ... + + def _eval_body(self, env: Environment) -> None: + seconds = self._eval_seconds(env=env) + env.stack.append(seconds) + + +class TimeoutSeconds(Timeout): + DEFAULT_TIMEOUT_SECONDS: Final[int] = 99999999 + + def __init__(self, timeout_seconds: int): + if not isinstance(timeout_seconds, int) and timeout_seconds <= 0: + raise ValueError( + f"Expected non-negative integer for TimeoutSeconds, got '{timeout_seconds}' instead." + ) + self.timeout_seconds: Final[int] = timeout_seconds + + def is_default_value(self) -> bool: + return self.timeout_seconds == self.DEFAULT_TIMEOUT_SECONDS + + def _eval_seconds(self, env: Environment) -> int: + return self.timeout_seconds + + +class TimeoutSecondsPath(Timeout): + def __init__(self, path: str): + self.path: Final[str] = path + + @classmethod + def from_raw(cls, path: str): + return cls(path=path) + + def is_default_value(self) -> bool: + return False + + def _eval_seconds(self, env: Environment) -> int: + seconds = JSONPathUtils.extract_json(self.path, env.inp) + if not isinstance(seconds, int) and seconds <= 0: + raise ValueError( + f"Expected non-negative integer for TimeoutSecondsPath, got '{seconds}' instead." + ) + return seconds diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/execute_state.py b/localstack/services/stepfunctions/asl/component/state/state_execution/execute_state.py index 8f1e1a9e5fba9..956a390be0554 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/execute_state.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/execute_state.py @@ -1,6 +1,9 @@ import abc +import copy import logging -from typing import Optional +import threading +from threading import Thread +from typing import Any, Optional from localstack.aws.api.stepfunctions import ( ExecutionFailedEventDetails, @@ -25,6 +28,10 @@ from localstack.services.stepfunctions.asl.component.common.result_selector import ResultSelector from localstack.services.stepfunctions.asl.component.common.retry.retry_decl import RetryDecl from localstack.services.stepfunctions.asl.component.common.retry.retry_outcome import RetryOutcome +from localstack.services.stepfunctions.asl.component.common.timeouts.timeout import ( + Timeout, + TimeoutSeconds, +) from localstack.services.stepfunctions.asl.component.state.state import CommonStateField from localstack.services.stepfunctions.asl.component.state.state_props import StateProps from localstack.services.stepfunctions.asl.eval.environment import Environment @@ -62,6 +69,19 @@ def __init__( # encounters runtime errors and its retry policy is exhausted or isn't defined. self.catch: Optional[CatchDecl] = None + # TimeoutSeconds (Optional) + # If the state_task runs longer than the specified seconds, this state fails with a States.Timeout error name. + # Must be a positive, non-zero integer. If not provided, the default value is 99999999. The count begins after + # the state_task has been started, for example, when ActivityStarted or LambdaFunctionStarted are logged in the + # Execution event history. + # TimeoutSecondsPath (Optional) + # If you want to provide a timeout value dynamically from the state input using a reference path, use + # TimeoutSecondsPath. When resolved, the reference path must select fields whose values are positive integers. + # TimeoutSeconds and TimeoutSecondsPath fields are encoded by the timeout type. + self.timeout: Timeout = TimeoutSeconds( + timeout_seconds=TimeoutSeconds.DEFAULT_TIMEOUT_SECONDS + ) + def from_state_props(self, state_props: StateProps) -> None: super().from_state_props(state_props=state_props) self.result_path = state_props.get(ResultPath) @@ -69,6 +89,10 @@ def from_state_props(self, state_props: StateProps) -> None: self.retry = state_props.get(RetryDecl) self.catch = state_props.get(CatchDecl) + timeout = state_props.get(Timeout) + if timeout is not None: + self.timeout = timeout + def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: LOG.warning("State Task executed generic failure event reporting logic.") return FailureEvent( @@ -133,9 +157,43 @@ def _terminate_with_event(failure_event: FailureEvent, env: Environment) -> None ExecutionFailedEventDetails(**(list(failure_event.event_details.values())[0])) ) + def _evaluate_with_timeout(self, env: Environment) -> None: + self.timeout.eval(env=env) + timeout_seconds: int = env.stack.pop() + + frame: Environment = env.open_frame() + frame.inp = copy.deepcopy(env.inp) + frame.stack = copy.deepcopy(env.stack) + execution_outputs: list[Any] = list() + execution_exceptions: list[Optional[Exception]] = [None] + terminated_event = threading.Event() + + def _exec_and_notify(): + try: + self._eval_execution(frame) + execution_outputs.extend(frame.stack) + except Exception as ex: + execution_exceptions.append(ex) + terminated_event.set() + + thread = Thread(target=_exec_and_notify) + thread.start() + finished_on_time: bool = terminated_event.wait(timeout_seconds) + frame.set_ended() + + execution_exception = execution_exceptions.pop() + if execution_exception: + raise execution_exception + + if not finished_on_time: + raise TimeoutError() + + execution_output = execution_outputs.pop() + env.stack.append(execution_output) + def _eval_state(self, env: Environment) -> None: try: - self._eval_execution(env) + self._evaluate_with_timeout(env) if self.result_selector: self.result_selector.eval(env=env) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py index c375142561528..05ca26a35bab3 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py @@ -2,12 +2,23 @@ import abc +from localstack.aws.api.stepfunctions import HistoryEventType, TaskTimedOutEventDetails +from localstack.services.stepfunctions.asl.component.common.error_name.failure_event import ( + FailureEvent, +) +from localstack.services.stepfunctions.asl.component.common.error_name.states_error_name import ( + StatesErrorName, +) +from localstack.services.stepfunctions.asl.component.common.error_name.states_error_name_type import ( + StatesErrorNameType, +) from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.resource import ( ServiceResource, ) from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.state_task import ( StateTask, ) +from localstack.services.stepfunctions.asl.eval.event.event_detail import EventDetails # TODO: improve on factory constructor (don't use SubtypeManager) @@ -20,6 +31,19 @@ def _get_sfn_resource(self) -> str: def _get_sfn_resource_type(self) -> str: return self.resource.service_name + def _get_timed_out_failure_event(self) -> FailureEvent: + return FailureEvent( + error_name=StatesErrorName(typ=StatesErrorNameType.StatesTimeout), + event_type=HistoryEventType.TaskTimedOut, + event_details=EventDetails( + taskTimedOutEventDetails=TaskTimedOutEventDetails( + resourceType=self._get_sfn_resource_type(), + resource=self._get_sfn_resource(), + error=StatesErrorNameType.StatesTimeout.to_name(), + ) + ), + ) + @classmethod def for_service(cls, service_name: str) -> StateTaskService: match service_name: diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py index 3012066efc94e..f4fce5f05f450 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_aws_sdk.py @@ -70,6 +70,9 @@ def _get_task_failure_event(self, error: str, cause: str) -> FailureEvent: ) def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: + if isinstance(ex, TimeoutError): + return self._get_timed_out_failure_event() + norm_service_name: str = self._normalise_service_name(self.resource.api_name) error: str = self._normalise_exception_name(norm_service_name, ex) if isinstance(ex, ClientError): diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py index 05ae9821c70a4..364d751aba482 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py @@ -50,17 +50,21 @@ def _eval_execution(self, env: Environment) -> None: parameters = self._eval_parameters(env=env) parameters_str = to_json_str(parameters) + scheduled_event_details = TaskScheduledEventDetails( + resource=self._get_sfn_resource(), + resourceType=self._get_sfn_resource_type(), + region=self.resource.region, + parameters=parameters_str, + ) + if not self.timeout.is_default_value(): + self.timeout.eval(env=env) + timeout_seconds = env.stack.pop() + scheduled_event_details["timeoutInSeconds"] = timeout_seconds env.event_history.add_event( hist_type_event=HistoryEventType.TaskScheduled, - event_detail=EventDetails( - taskScheduledEventDetails=TaskScheduledEventDetails( - resource=self._get_sfn_resource(), - resourceType=self._get_sfn_resource_type(), - region=self.resource.region, - parameters=parameters_str, - ) - ), + event_detail=EventDetails(taskScheduledEventDetails=scheduled_event_details), ) + env.event_history.add_event( hist_type_event=HistoryEventType.TaskStarted, event_detail=EventDetails( diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py index de1bc37004b72..b749b43a08b67 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py @@ -59,6 +59,9 @@ def _error_cause_from_client_error(client_error: ClientError) -> tuple[str, str] return error, cause def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: + if isinstance(ex, TimeoutError): + return self._get_timed_out_failure_event() + if isinstance(ex, lambda_eval_utils.LambdaFunctionErrorException): error = "Exception" error_name = CustomErrorName(error) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py index 5ced0a1e56d37..2560ec8e50f49 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py @@ -38,6 +38,9 @@ def _get_supported_parameters(self) -> Optional[set[str]]: return self._SUPPORTED_API_PARAM_BINDINGS.get(self.resource.api_action.lower(), None) def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: + if isinstance(ex, TimeoutError): + return self._get_timed_out_failure_event() + if isinstance(ex, ClientError): return FailureEvent( error_name=CustomErrorName(self._ERROR_NAME_CLIENT), diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py index 3289f4e7c71e1..89a75d8f397c8 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task.py @@ -33,16 +33,6 @@ def __init__(self): # Alternatively, you can also specify a JSONPath value that resolves to an IAM role ARN at runtime based on the # execution input. If you specify a JSONPath value, you must prefix it with the $. notation. - # TimeoutSeconds (Optional) - # If the state_task runs longer than the specified seconds, this state fails with a States.Timeout error name. - # Must be a positive, non-zero integer. If not provided, the default value is 99999999. The count begins after - # the state_task has been started, for example, when ActivityStarted or LambdaFunctionStarted are logged in the - # Execution event history. - - # TimeoutSecondsPath (Optional) - # If you want to provide a timeout value dynamically from the state input using a reference path, use - # TimeoutSecondsPath. When resolved, the reference path must select fields whose values are positive integers. - # A Task state cannot include both TimeoutSeconds and TimeoutSecondsPath # HeartbeatSeconds (Optional) # If more time than the specified seconds elapses between heartbeats from the state_task, this state fails with a diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task_lambda.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task_lambda.py index 0059b5c1a000a..fc05a666c8d88 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task_lambda.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/state_task_lambda.py @@ -7,6 +7,7 @@ LambdaFunctionFailedEventDetails, LambdaFunctionScheduledEventDetails, LambdaFunctionSucceededEventDetails, + LambdaFunctionTimedOutEventDetails, ) from localstack.services.stepfunctions.asl.component.common.error_name.custom_error_name import ( CustomErrorName, @@ -38,6 +39,17 @@ class StateTaskLambda(StateTask): resource: LambdaResource def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: + if isinstance(ex, TimeoutError): + return FailureEvent( + error_name=StatesErrorName(typ=StatesErrorNameType.StatesTimeout), + event_type=HistoryEventType.LambdaFunctionTimedOut, + event_details=EventDetails( + lambdaFunctionTimedOutEventDetails=LambdaFunctionTimedOutEventDetails( + error=StatesErrorNameType.StatesTimeout.to_name(), + ) + ), + ) + error = "Exception" if isinstance(ex, lambda_eval_utils.LambdaFunctionErrorException): error_name = CustomErrorName(error) @@ -74,18 +86,23 @@ def _eval_parameters(self, env: Environment) -> dict: return parameters def _eval_execution(self, env: Environment) -> None: + + scheduled_event_details = LambdaFunctionScheduledEventDetails( + resource=self.resource.resource_arn, + input=to_json_str(env.inp), + inputDetails=HistoryEventExecutionDataDetails( + truncated=False # Always False for api calls. + ), + ) + if not self.timeout.is_default_value(): + self.timeout.eval(env=env) + timeout_seconds = env.stack.pop() + scheduled_event_details["timeoutInSeconds"] = timeout_seconds env.event_history.add_event( hist_type_event=HistoryEventType.LambdaFunctionScheduled, - event_detail=EventDetails( - lambdaFunctionScheduledEventDetails=LambdaFunctionScheduledEventDetails( - resource=self.resource.resource_arn, - input=to_json_str(env.inp), - inputDetails=HistoryEventExecutionDataDetails( - truncated=False # Always False for api calls. - ), - ) - ), + event_detail=EventDetails(lambdaFunctionScheduledEventDetails=scheduled_event_details), ) + env.event_history.add_event( hist_type_event=HistoryEventType.LambdaFunctionStarted, event_detail=EventDetails(), diff --git a/localstack/services/stepfunctions/asl/component/state/state_props.py b/localstack/services/stepfunctions/asl/component/state/state_props.py index d4a74d39c7567..d6c0f0d2366af 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_props.py +++ b/localstack/services/stepfunctions/asl/component/state/state_props.py @@ -2,6 +2,7 @@ from localstack.services.stepfunctions.asl.component.common.flow.end import End from localstack.services.stepfunctions.asl.component.common.flow.next import Next +from localstack.services.stepfunctions.asl.component.common.timeouts.timeout import Timeout from localstack.services.stepfunctions.asl.component.state.state_execution.state_task.service.resource import ( Resource, ) @@ -31,6 +32,10 @@ def add(self, instance: Any) -> None: if issubclass(type(instance), WaitFunction): super()._add(WaitFunction, instance) + # TODO: add logic support between Timeout and HeartBeat here. + if issubclass(type(instance), Timeout): + super()._add(Timeout, instance) + # Base and delegate to preprocessor. else: super().add(instance) diff --git a/localstack/services/stepfunctions/asl/component/state/state_wait/wait_function/wait_function.py b/localstack/services/stepfunctions/asl/component/state/state_wait/wait_function/wait_function.py index bc45ba7ce0dbc..397c8f21ea813 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_wait/wait_function/wait_function.py +++ b/localstack/services/stepfunctions/asl/component/state/state_wait/wait_function/wait_function.py @@ -29,7 +29,7 @@ def _wait_interval(self, env: Environment, seconds_waited: int, max_seconds: int f"Wait function '{self}' successfully reentered waiting for " f"another '{max_seconds - tot_sec_waited}' seconds." ) - return WaitFunction._wait_interval( + return self._wait_interval( env=env, seconds_waited=tot_sec_waited, max_seconds=max_seconds ) else: diff --git a/localstack/services/stepfunctions/asl/eval/environment.py b/localstack/services/stepfunctions/asl/eval/environment.py index 7a6bfe617ff34..5d2d2b15ae454 100644 --- a/localstack/services/stepfunctions/asl/eval/environment.py +++ b/localstack/services/stepfunctions/asl/eval/environment.py @@ -54,9 +54,10 @@ def as_frame_of(cls, env: Environment): StateMachine=env.context_object_manager.context_object["StateMachine"], ) frame = cls(context_object_init=context_object_init) - frame.heap = env.heap frame.event_history = env.event_history - frame.context_object = env.context_object_manager.context_object + frame.callback_pool_manager = env.callback_pool_manager + frame.heap = env.heap + frame._program_state = copy.deepcopy(env._program_state) return frame @property diff --git a/localstack/services/stepfunctions/asl/parse/preprocessor.py b/localstack/services/stepfunctions/asl/parse/preprocessor.py index a0824487fd7ab..7ee6609fcff8c 100644 --- a/localstack/services/stepfunctions/asl/parse/preprocessor.py +++ b/localstack/services/stepfunctions/asl/parse/preprocessor.py @@ -87,6 +87,10 @@ from localstack.services.stepfunctions.asl.component.common.retry.retrier_decl import RetrierDecl from localstack.services.stepfunctions.asl.component.common.retry.retrier_props import RetrierProps from localstack.services.stepfunctions.asl.component.common.retry.retry_decl import RetryDecl +from localstack.services.stepfunctions.asl.component.common.timeouts.timeout import ( + TimeoutSeconds, + TimeoutSecondsPath, +) from localstack.services.stepfunctions.asl.component.component import Component from localstack.services.stepfunctions.asl.component.program.program import Program from localstack.services.stepfunctions.asl.component.state.state import CommonStateField @@ -260,6 +264,18 @@ def visitParameters_decl(self, ctx: ASLParser.Parameters_declContext) -> Paramet payload_tmpl: PayloadTmpl = self.visit(ctx.payload_tmpl_decl()) return Parameters(payload_tmpl=payload_tmpl) + def visitTimeout_seconds_decl( + self, ctx: ASLParser.Timeout_seconds_declContext + ) -> TimeoutSeconds: + seconds = int(ctx.INT().getText()) + return TimeoutSeconds(timeout_seconds=seconds) + + def visitTimeout_seconds_path_decl( + self, ctx: ASLParser.Timeout_seconds_path_declContext + ) -> TimeoutSecondsPath: + path: str = self._inner_string_of(parse_tree=ctx.STRINGPATH()) + return TimeoutSecondsPath(path=path) + def visitResult_selector_decl( self, ctx: ASLParser.Result_selector_declContext ) -> ResultSelector: diff --git a/tests/integration/stepfunctions/templates/callbacks/callback_templates.py b/tests/integration/stepfunctions/templates/callbacks/callback_templates.py index 4ba879b23c84b..156afbeabd48d 100644 --- a/tests/integration/stepfunctions/templates/callbacks/callback_templates.py +++ b/tests/integration/stepfunctions/templates/callbacks/callback_templates.py @@ -10,6 +10,11 @@ class CallbackTemplates(TemplateLoader): SQS_SUCCESS_ON_TASK_TOKEN: Final[str] = os.path.join( _THIS_FOLDER, "statemachines/sqs_success_on_task_token.json5" ) + SQS_WAIT_FOR_TASK_TOKEN: Final[str] = os.path.join( _THIS_FOLDER, "statemachines/sqs_wait_for_task_token.json5" ) + + SQS_WAIT_FOR_TASK_TOKEN_WITH_TIMEOUT: Final[str] = os.path.join( + _THIS_FOLDER, "statemachines/sqs_wait_for_task_token_with_timeout.json5" + ) diff --git a/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_wait_for_task_token_with_timeout.json5 b/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_wait_for_task_token_with_timeout.json5 new file mode 100644 index 0000000000000..63c2c49f4e762 --- /dev/null +++ b/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_wait_for_task_token_with_timeout.json5 @@ -0,0 +1,18 @@ +{ + "StartAt": "SendMessageWithWaitAndTimeout", + "States": { + "SendMessageWithWaitAndTimeout": { + "Type": "Task", + "Resource": "arn:aws:states:::sqs:sendMessage.waitForTaskToken", + "TimeoutSeconds": 1, + "Parameters": { + "QueueUrl.$": "$.QueueUrl", + "MessageBody": { + "Message.$": "$.Message", + "TaskToken.$": "$$.Task.Token" + } + }, + "End": true + } + } +} \ No newline at end of file diff --git a/tests/integration/stepfunctions/templates/errorhandling/error_handling_templates.py b/tests/integration/stepfunctions/templates/errorhandling/error_handling_templates.py index 60cb072b16211..00cfffb4b9c0b 100644 --- a/tests/integration/stepfunctions/templates/errorhandling/error_handling_templates.py +++ b/tests/integration/stepfunctions/templates/errorhandling/error_handling_templates.py @@ -29,6 +29,10 @@ class ErrorHandlingTemplate(TemplateLoader): _THIS_FOLDER, "statemachines/task_service_lambda_invoke_catch_unknown.json5" ) + AWS_SERVICE_LAMBDA_INVOKE_CATCH_TIMEOUT: Final[str] = os.path.join( + _THIS_FOLDER, "statemachines/task_service_lambda_invoke_catch_timeout.json5" + ) + AWS_SERVICE_LAMBDA_INVOKE_CATCH_RELEVANT: Final[str] = os.path.join( _THIS_FOLDER, "statemachines/task_service_lambda_invoke_catch_relevant.json5" ) diff --git a/tests/integration/stepfunctions/templates/errorhandling/statemachines/task_service_lambda_invoke_catch_timeout.json5 b/tests/integration/stepfunctions/templates/errorhandling/statemachines/task_service_lambda_invoke_catch_timeout.json5 new file mode 100644 index 0000000000000..e81e4d4f1bf68 --- /dev/null +++ b/tests/integration/stepfunctions/templates/errorhandling/statemachines/task_service_lambda_invoke_catch_timeout.json5 @@ -0,0 +1,34 @@ +{ + "Comment": "TASK_SERVICE_LAMBDA_CATCH_TIMEOUT", + "StartAt": "Start", + "States": { + "Start": { + "Type": "Task", + "Resource": "arn:aws:states:::lambda:invoke", + "TimeoutSeconds": 1, + "Parameters": { + "FunctionName.$": "$.FunctionName", + "Payload.$": "$.Payload", + }, + "Catch": [ + { + "ErrorEquals": [ + "States.Timeout" + ], + "Next": "EndWithHandler" + } + ], + "Next": "EndWithFinal", + }, + "EndWithHandler": { + "Type": "Pass", + "ResultPath": "$.error", + "End": true + }, + "EndWithFinal": { + "Type": "Pass", + "ResultPath": "$.final", + "End": true, + }, + }, +} \ No newline at end of file diff --git a/tests/integration/stepfunctions/templates/timeouts/__init__.py b/tests/integration/stepfunctions/templates/timeouts/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/tests/integration/stepfunctions/templates/timeouts/lambdafunctions/wait_60_seconds.py b/tests/integration/stepfunctions/templates/timeouts/lambdafunctions/wait_60_seconds.py new file mode 100644 index 0000000000000..6f794b88d5c14 --- /dev/null +++ b/tests/integration/stepfunctions/templates/timeouts/lambdafunctions/wait_60_seconds.py @@ -0,0 +1,6 @@ +import time + + +def handler(event, context): + time.sleep(60) + return event diff --git a/tests/integration/stepfunctions/templates/timeouts/statemachines/lambda_wait_with_timeout_seconds.json5 b/tests/integration/stepfunctions/templates/timeouts/statemachines/lambda_wait_with_timeout_seconds.json5 new file mode 100644 index 0000000000000..0b273e0914615 --- /dev/null +++ b/tests/integration/stepfunctions/templates/timeouts/statemachines/lambda_wait_with_timeout_seconds.json5 @@ -0,0 +1,15 @@ +{ + "Comment": "LAMBDA_WAIT_WITH_TIMEOUT_SECONDS", + "StartAt": "Start", + "States": { + "Start": { + "Type": "Task", + "TimeoutSeconds": 1, + "Resource": "__tbc__", + "Parameters": { + "Payload.$": "$.Payload", + }, + "End": true + }, + }, +} \ No newline at end of file diff --git a/tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_map_function_invoke_with_timeout_seconds.json5 b/tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_map_function_invoke_with_timeout_seconds.json5 new file mode 100644 index 0000000000000..7f90e459f30d2 --- /dev/null +++ b/tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_map_function_invoke_with_timeout_seconds.json5 @@ -0,0 +1,29 @@ +{ + "Comment": "SERVICE_LAMBDA_MAP_FUNCTION_INVOKE_WITH_TIMEOUT_SECONDS_5", + "StartAt": "MapWait", + "States": { + "MapWait": { + "Type": "Map", + "InputPath": "$.Inputs", + "ItemProcessor": { + "ProcessorConfig": { + "Mode": "INLINE" + }, + "StartAt": "LambdaInvoke", + "States": { + "LambdaInvoke": { + "Type": "Task", + "Resource": "arn:aws:states:::lambda:invoke", + "TimeoutSeconds": 1, + "Parameters": { + "FunctionName.$": "$.FunctionName", + "Payload.$": "$.Payload", + }, + "End": true + } + } + }, + "End": true + } + } +} \ No newline at end of file diff --git a/tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_wait_with_timeout_seconds.json5 b/tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_wait_with_timeout_seconds.json5 new file mode 100644 index 0000000000000..dfb64be2347ec --- /dev/null +++ b/tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_wait_with_timeout_seconds.json5 @@ -0,0 +1,16 @@ +{ + "Comment": "TIMEOUT_ON_TASK_SERVICE_LAMBDA_INVOKE", + "StartAt": "Start", + "States": { + "Start": { + "Type": "Task", + "TimeoutSeconds": 1, + "Resource": "arn:aws:states:::lambda:invoke", + "Parameters": { + "FunctionName.$": "$.FunctionName", + "Payload.$": "$.Payload", + }, + "End": true + }, + }, +} \ No newline at end of file diff --git a/tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_wait_with_timeout_seconds_path.json5 b/tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_wait_with_timeout_seconds_path.json5 new file mode 100644 index 0000000000000..92ea961148d5c --- /dev/null +++ b/tests/integration/stepfunctions/templates/timeouts/statemachines/service_lambda_wait_with_timeout_seconds_path.json5 @@ -0,0 +1,16 @@ +{ + "Comment": "TIMEOUT_ON_TASK_SERVICE_LAMBDA_INVOKE_WITH_PATH", + "StartAt": "Start", + "States": { + "Start": { + "Type": "Task", + "TimeoutSecondsPath": "$.TimeoutSecondsValue", + "Resource": "arn:aws:states:::lambda:invoke", + "Parameters": { + "FunctionName.$": "$.FunctionName", + "Payload.$": "$.Payload" + }, + "End": true + } + } +} \ No newline at end of file diff --git a/tests/integration/stepfunctions/templates/timeouts/timeout_templates.py b/tests/integration/stepfunctions/templates/timeouts/timeout_templates.py new file mode 100644 index 0000000000000..6d89d3ede138c --- /dev/null +++ b/tests/integration/stepfunctions/templates/timeouts/timeout_templates.py @@ -0,0 +1,28 @@ +import os +from typing import Final + +from tests.integration.stepfunctions.templates.template_loader import TemplateLoader + +_THIS_FOLDER: Final[str] = os.path.dirname(os.path.realpath(__file__)) + + +class TimeoutTemplates(TemplateLoader): + # State Machines. + LAMBDA_WAIT_WITH_TIMEOUT_SECONDS: Final[str] = os.path.join( + _THIS_FOLDER, "statemachines/lambda_wait_with_timeout_seconds.json5" + ) + SERVICE_LAMBDA_WAIT_WITH_TIMEOUT_SECONDS: Final[str] = os.path.join( + _THIS_FOLDER, "statemachines/service_lambda_wait_with_timeout_seconds.json5" + ) + SERVICE_LAMBDA_MAP_FUNCTION_INVOKE_WITH_TIMEOUT_SECONDS: Final[str] = os.path.join( + _THIS_FOLDER, + "statemachines/service_lambda_map_function_invoke_with_timeout_seconds.json5", + ) + SERVICE_LAMBDA_MAP_FUNCTION_INVOKE_WITH_TIMEOUT_SECONDS_PATH: Final[str] = os.path.join( + _THIS_FOLDER, "statemachines/service_lambda_wait_with_timeout_seconds_path.json5" + ) + + # Lambda Functions. + LAMBDA_WAIT_60_SECONDS: Final[str] = os.path.join( + _THIS_FOLDER, "lambdafunctions/wait_60_seconds.py" + ) diff --git a/tests/integration/stepfunctions/v2/callback/test_callback.py b/tests/integration/stepfunctions/v2/callback/test_callback.py index 22b28ec31e220..c5afab55fee0c 100644 --- a/tests/integration/stepfunctions/v2/callback/test_callback.py +++ b/tests/integration/stepfunctions/v2/callback/test_callback.py @@ -63,3 +63,41 @@ def test_sqs_wait_for_task_tok( definition, exec_input, ) + + @pytest.mark.skip_snapshot_verify(paths=["$..MD5OfMessageBody", "$..QueueUrl"]) + def test_sqs_wait_for_task_tok_timeout( + self, + aws_client, + create_iam_role_for_sfn, + create_state_machine, + sqs_create_queue, + sqs_send_task_success_state_machine, + snapshot, + ): + snapshot.add_transformer(snapshot.transform.sqs_api()) + snapshot.add_transformer( + JsonpathTransformer( + jsonpath="$..TaskToken", + replacement="", + replace_reference=True, + ) + ) + + queue_name = f"queue-{short_uid()}" + queue_url = sqs_create_queue(QueueName=queue_name) + snapshot.add_transformer(RegexTransformer(queue_name, "")) + snapshot.add_transformer(RegexTransformer(queue_url, "")) + + template = CT.load_sfn_template(CT.SQS_WAIT_FOR_TASK_TOKEN_WITH_TIMEOUT) + definition = json.dumps(template) + + message_txt = "test_message_txt" + exec_input = json.dumps({"QueueUrl": queue_url, "Message": message_txt}) + create_and_record_execution( + aws_client.stepfunctions, + create_iam_role_for_sfn, + create_state_machine, + snapshot, + definition, + exec_input, + ) diff --git a/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json b/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json index bc9a49885c207..4c5ecc4db46a3 100644 --- a/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json +++ b/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json @@ -153,5 +153,142 @@ } } } + }, + "tests/integration/stepfunctions/v2/callback/test_callback.py::TestCallback::test_sqs_wait_for_task_tok_timeout": { + "recorded-date": "26-05-2023, 16:56:20", + "recorded-content": { + "get_execution_history": { + "events": [ + { + "executionStartedEventDetails": { + "input": { + "QueueUrl": "https://sqs..amazonaws.com/111111111111/", + "Message": "test_message_txt" + }, + "inputDetails": { + "truncated": false + }, + "roleArn": "arn:aws:iam::111111111111:role/" + }, + "id": 1, + "previousEventId": 0, + "timestamp": "timestamp", + "type": "ExecutionStarted" + }, + { + "id": 2, + "previousEventId": 0, + "stateEnteredEventDetails": { + "input": { + "QueueUrl": "https://sqs..amazonaws.com/111111111111/", + "Message": "test_message_txt" + }, + "inputDetails": { + "truncated": false + }, + "name": "SendMessageWithWaitAndTimeout" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 3, + "previousEventId": 2, + "taskScheduledEventDetails": { + "parameters": { + "MessageBody": { + "Message": "test_message_txt", + "TaskToken": "<:1>" + }, + "QueueUrl": "https://sqs..amazonaws.com/111111111111/" + }, + "region": "", + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs", + "timeoutInSeconds": 1 + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 4, + "previousEventId": 3, + "taskStartedEventDetails": { + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 5, + "previousEventId": 4, + "taskSubmittedEventDetails": { + "output": { + "MD5OfMessageBody": "183da57f008a0a0a7fc9c0d01781ec6c", + "MessageId": "", + "SdkHttpMetadata": { + "AllHttpHeaders": { + "x-amzn-RequestId": [ + "" + ], + "Content-Length": [ + "378" + ], + "Date": [ + "Fri, 26 May 2023 14:56:18 GMT" + ], + "Content-Type": [ + "text/xml" + ] + }, + "HttpHeaders": { + "Content-Length": "378", + "Content-Type": "text/xml", + "Date": "Fri, 26 May 2023 14:56:18 GMT", + "x-amzn-RequestId": "" + }, + "HttpStatusCode": 200 + }, + "SdkResponseMetadata": { + "RequestId": "" + } + }, + "outputDetails": { + "truncated": false + }, + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs" + }, + "timestamp": "timestamp", + "type": "TaskSubmitted" + }, + { + "id": 6, + "previousEventId": 5, + "taskTimedOutEventDetails": { + "error": "States.Timeout", + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs" + }, + "timestamp": "timestamp", + "type": "TaskTimedOut" + }, + { + "executionFailedEventDetails": { + "error": "States.Timeout" + }, + "id": 7, + "previousEventId": 6, + "timestamp": "timestamp", + "type": "ExecutionFailed" + } + ], + "ResponseMetadata": { + "HTTPHeaders": {}, + "HTTPStatusCode": 200 + } + } + } } } diff --git a/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py b/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py index 29efadeaa1080..2e99ad1b71b0e 100644 --- a/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py +++ b/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py @@ -7,6 +7,9 @@ from tests.integration.stepfunctions.templates.errorhandling.error_handling_templates import ( ErrorHandlingTemplate as EHT, ) +from tests.integration.stepfunctions.templates.timeouts.timeout_templates import ( + TimeoutTemplates as TT, +) from tests.integration.stepfunctions.utils import create_and_record_execution, is_old_provider pytestmark = pytest.mark.skipif( @@ -133,3 +136,32 @@ def test_no_such_function_catch( definition, exec_input, ) + + def test_invoke_timeout( + self, + aws_client, + create_iam_role_for_sfn, + create_state_machine, + create_lambda_function, + snapshot, + ): + function_name = f"lambda_1_func_{short_uid()}" + create_lambda_function( + func_name=function_name, + handler_file=TT.LAMBDA_WAIT_60_SECONDS, + runtime="python3.9", + ) + snapshot.add_transformer(RegexTransformer(function_name, "")) + + template = TT.load_sfn_template(EHT.AWS_SERVICE_LAMBDA_INVOKE_CATCH_TIMEOUT) + definition = json.dumps(template) + + exec_input = json.dumps({"FunctionName": function_name, "Payload": None}) + create_and_record_execution( + aws_client.stepfunctions, + create_iam_role_for_sfn, + create_state_machine, + snapshot, + definition, + exec_input, + ) diff --git a/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.snapshot.json b/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.snapshot.json index 20fd47537f691..2a0913c76087c 100644 --- a/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.snapshot.json +++ b/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.snapshot.json @@ -509,5 +509,158 @@ } } } + }, + "tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py::TestTaskServiceLambda::test_invoke_timeout": { + "recorded-date": "26-05-2023, 16:57:07", + "recorded-content": { + "get_execution_history": { + "events": [ + { + "executionStartedEventDetails": { + "input": { + "FunctionName": "", + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "roleArn": "snf_role_arn" + }, + "id": 1, + "previousEventId": 0, + "timestamp": "timestamp", + "type": "ExecutionStarted" + }, + { + "id": 2, + "previousEventId": 0, + "stateEnteredEventDetails": { + "input": { + "FunctionName": "", + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "name": "Start" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 3, + "previousEventId": 2, + "taskScheduledEventDetails": { + "parameters": { + "FunctionName": "", + "Payload": null + }, + "region": "", + "resource": "invoke", + "resourceType": "lambda", + "timeoutInSeconds": 1 + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 4, + "previousEventId": 3, + "taskStartedEventDetails": { + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 5, + "previousEventId": 4, + "taskTimedOutEventDetails": { + "error": "States.Timeout", + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskTimedOut" + }, + { + "id": 6, + "previousEventId": 5, + "stateExitedEventDetails": { + "name": "Start", + "output": { + "Error": "States.Timeout", + "Cause": "" + }, + "outputDetails": { + "truncated": false + } + }, + "timestamp": "timestamp", + "type": "TaskStateExited" + }, + { + "id": 7, + "previousEventId": 6, + "stateEnteredEventDetails": { + "input": { + "Error": "States.Timeout", + "Cause": "" + }, + "inputDetails": { + "truncated": false + }, + "name": "EndWithHandler" + }, + "timestamp": "timestamp", + "type": "PassStateEntered" + }, + { + "id": 8, + "previousEventId": 7, + "stateExitedEventDetails": { + "name": "EndWithHandler", + "output": { + "Error": "States.Timeout", + "Cause": "", + "error": { + "Error": "States.Timeout", + "Cause": "" + } + }, + "outputDetails": { + "truncated": false + } + }, + "timestamp": "timestamp", + "type": "PassStateExited" + }, + { + "executionSucceededEventDetails": { + "output": { + "Error": "States.Timeout", + "Cause": "", + "error": { + "Error": "States.Timeout", + "Cause": "" + } + }, + "outputDetails": { + "truncated": false + } + }, + "id": 9, + "previousEventId": 8, + "timestamp": "timestamp", + "type": "ExecutionSucceeded" + } + ], + "ResponseMetadata": { + "HTTPHeaders": {}, + "HTTPStatusCode": 200 + } + } + } } } diff --git a/tests/integration/stepfunctions/v2/timeouts/__init__.py b/tests/integration/stepfunctions/v2/timeouts/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/tests/integration/stepfunctions/v2/timeouts/test_timeouts.py b/tests/integration/stepfunctions/v2/timeouts/test_timeouts.py new file mode 100644 index 0000000000000..ca473ffab821e --- /dev/null +++ b/tests/integration/stepfunctions/v2/timeouts/test_timeouts.py @@ -0,0 +1,151 @@ +import json + +import pytest + +from localstack.testing.snapshots.transformer import RegexTransformer +from localstack.utils.strings import short_uid +from tests.integration.stepfunctions.templates.timeouts.timeout_templates import ( + TimeoutTemplates as TT, +) +from tests.integration.stepfunctions.utils import create_and_record_execution, is_old_provider + +pytestmark = pytest.mark.skipif( + condition=is_old_provider(), reason="Test suite for v2 provider only." +) + + +@pytest.mark.skip_snapshot_verify( + paths=["$..loggingConfiguration", "$..tracingConfiguration", "$..previousEventId"] +) +class TestTimeouts: + def test_fixed_timeout_service_lambda( + self, + aws_client, + create_iam_role_for_sfn, + create_state_machine, + create_lambda_function, + snapshot, + ): + function_name = f"lambda_1_func_{short_uid()}" + create_lambda_function( + func_name=function_name, + handler_file=TT.LAMBDA_WAIT_60_SECONDS, + runtime="python3.9", + ) + snapshot.add_transformer(RegexTransformer(function_name, "")) + + template = TT.load_sfn_template(TT.SERVICE_LAMBDA_WAIT_WITH_TIMEOUT_SECONDS) + definition = json.dumps(template) + + exec_input = json.dumps({"FunctionName": function_name, "Payload": None}) + create_and_record_execution( + aws_client.stepfunctions, + create_iam_role_for_sfn, + create_state_machine, + snapshot, + definition, + exec_input, + ) + + def test_fixed_timeout_service_lambda_with_path( + self, + aws_client, + create_iam_role_for_sfn, + create_state_machine, + create_lambda_function, + snapshot, + ): + function_name = f"lambda_1_func_{short_uid()}" + create_lambda_function( + func_name=function_name, + handler_file=TT.LAMBDA_WAIT_60_SECONDS, + runtime="python3.9", + ) + snapshot.add_transformer(RegexTransformer(function_name, "")) + + template = TT.load_sfn_template( + TT.SERVICE_LAMBDA_MAP_FUNCTION_INVOKE_WITH_TIMEOUT_SECONDS_PATH + ) + definition = json.dumps(template) + + exec_input = json.dumps( + {"TimeoutSecondsValue": 1, "FunctionName": function_name, "Payload": None} + ) + create_and_record_execution( + aws_client.stepfunctions, + create_iam_role_for_sfn, + create_state_machine, + snapshot, + definition, + exec_input, + ) + + def test_fixed_timeout_lambda( + self, + aws_client, + create_iam_role_for_sfn, + create_state_machine, + create_lambda_function, + snapshot, + ): + function_name = f"lambda_1_func_{short_uid()}" + lambda_creation_response = create_lambda_function( + func_name=function_name, + handler_file=TT.LAMBDA_WAIT_60_SECONDS, + runtime="python3.9", + ) + snapshot.add_transformer(RegexTransformer(function_name, "")) + lambda_arn = lambda_creation_response["CreateFunctionResponse"]["FunctionArn"] + + template = TT.load_sfn_template(TT.LAMBDA_WAIT_WITH_TIMEOUT_SECONDS) + template["States"]["Start"]["Resource"] = lambda_arn + definition = json.dumps(template) + + exec_input = json.dumps({"Payload": None}) + create_and_record_execution( + aws_client.stepfunctions, + create_iam_role_for_sfn, + create_state_machine, + snapshot, + definition, + exec_input, + ) + + @pytest.mark.skip(reason="Add support for State Map event history first.") + def test_service_lambda_map_timeout( + self, + aws_client, + create_iam_role_for_sfn, + create_state_machine, + create_lambda_function, + snapshot, + ): + function_name = f"lambda_1_func_{short_uid()}" + create_lambda_function( + func_name=function_name, + handler_file=TT.LAMBDA_WAIT_60_SECONDS, + runtime="python3.9", + ) + snapshot.add_transformer(RegexTransformer(function_name, "")) + + template = TT.load_sfn_template(TT.SERVICE_LAMBDA_MAP_FUNCTION_INVOKE_WITH_TIMEOUT_SECONDS) + definition = json.dumps(template) + + exec_input = json.dumps( + { + "Inputs": [ + {"FunctionName": function_name, "Payload": None}, + {"FunctionName": function_name, "Payload": None}, + {"FunctionName": function_name, "Payload": None}, + {"FunctionName": function_name, "Payload": None}, + ] + } + ) + create_and_record_execution( + aws_client.stepfunctions, + create_iam_role_for_sfn, + create_state_machine, + snapshot, + definition, + exec_input, + ) diff --git a/tests/integration/stepfunctions/v2/timeouts/test_timeouts.snapshot.json b/tests/integration/stepfunctions/v2/timeouts/test_timeouts.snapshot.json new file mode 100644 index 0000000000000..6a3b868f3b1b0 --- /dev/null +++ b/tests/integration/stepfunctions/v2/timeouts/test_timeouts.snapshot.json @@ -0,0 +1,686 @@ +{ + "tests/integration/stepfunctions/v2/timeouts/test_timeouts.py::TestTimeouts::test_fixed_timeout_lambda": { + "recorded-date": "26-05-2023, 16:54:44", + "recorded-content": { + "get_execution_history": { + "events": [ + { + "executionStartedEventDetails": { + "input": { + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "roleArn": "snf_role_arn" + }, + "id": 1, + "previousEventId": 0, + "timestamp": "timestamp", + "type": "ExecutionStarted" + }, + { + "id": 2, + "previousEventId": 0, + "stateEnteredEventDetails": { + "input": { + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "name": "Start" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 3, + "lambdaFunctionScheduledEventDetails": { + "input": { + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "resource": "arn:aws:lambda::111111111111:function:", + "timeoutInSeconds": 1 + }, + "previousEventId": 2, + "timestamp": "timestamp", + "type": "LambdaFunctionScheduled" + }, + { + "id": 4, + "previousEventId": 3, + "timestamp": "timestamp", + "type": "LambdaFunctionStarted" + }, + { + "id": 5, + "lambdaFunctionTimedOutEventDetails": { + "error": "States.Timeout" + }, + "previousEventId": 4, + "timestamp": "timestamp", + "type": "LambdaFunctionTimedOut" + }, + { + "executionFailedEventDetails": { + "error": "States.Timeout" + }, + "id": 6, + "previousEventId": 5, + "timestamp": "timestamp", + "type": "ExecutionFailed" + } + ], + "ResponseMetadata": { + "HTTPHeaders": {}, + "HTTPStatusCode": 200 + } + } + } + }, + "tests/integration/stepfunctions/v2/timeouts/test_timeouts.py::TestTimeouts::test_fixed_timeout_service_lambda": { + "recorded-date": "26-05-2023, 16:54:04", + "recorded-content": { + "get_execution_history": { + "events": [ + { + "executionStartedEventDetails": { + "input": { + "FunctionName": "", + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "roleArn": "snf_role_arn" + }, + "id": 1, + "previousEventId": 0, + "timestamp": "timestamp", + "type": "ExecutionStarted" + }, + { + "id": 2, + "previousEventId": 0, + "stateEnteredEventDetails": { + "input": { + "FunctionName": "", + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "name": "Start" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 3, + "previousEventId": 2, + "taskScheduledEventDetails": { + "parameters": { + "FunctionName": "", + "Payload": null + }, + "region": "", + "resource": "invoke", + "resourceType": "lambda", + "timeoutInSeconds": 1 + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 4, + "previousEventId": 3, + "taskStartedEventDetails": { + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 5, + "previousEventId": 4, + "taskTimedOutEventDetails": { + "error": "States.Timeout", + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskTimedOut" + }, + { + "executionFailedEventDetails": { + "error": "States.Timeout" + }, + "id": 6, + "previousEventId": 5, + "timestamp": "timestamp", + "type": "ExecutionFailed" + } + ], + "ResponseMetadata": { + "HTTPHeaders": {}, + "HTTPStatusCode": 200 + } + } + } + }, + "tests/integration/stepfunctions/v2/timeouts/test_timeouts.py::TestTimeouts::test_service_lambda_map_timeout": { + "recorded-date": "26-05-2023, 12:48:33", + "recorded-content": { + "get_execution_history": { + "events": [ + { + "executionStartedEventDetails": { + "input": { + "Inputs": [ + { + "FunctionName": "", + "Payload": null + }, + { + "FunctionName": "", + "Payload": null + }, + { + "FunctionName": "", + "Payload": null + }, + { + "FunctionName": "", + "Payload": null + } + ] + }, + "inputDetails": { + "truncated": false + }, + "roleArn": "snf_role_arn" + }, + "id": 1, + "previousEventId": 0, + "timestamp": "timestamp", + "type": "ExecutionStarted" + }, + { + "id": 2, + "previousEventId": 0, + "stateEnteredEventDetails": { + "input": { + "Inputs": [ + { + "FunctionName": "", + "Payload": null + }, + { + "FunctionName": "", + "Payload": null + }, + { + "FunctionName": "", + "Payload": null + }, + { + "FunctionName": "", + "Payload": null + } + ] + }, + "inputDetails": { + "truncated": false + }, + "name": "MapWait" + }, + "timestamp": "timestamp", + "type": "MapStateEntered" + }, + { + "id": 3, + "mapStateStartedEventDetails": { + "length": 4 + }, + "previousEventId": 2, + "timestamp": "timestamp", + "type": "MapStateStarted" + }, + { + "id": 4, + "mapIterationStartedEventDetails": { + "index": 0, + "name": "MapWait" + }, + "previousEventId": 3, + "timestamp": "timestamp", + "type": "MapIterationStarted" + }, + { + "id": 5, + "mapIterationStartedEventDetails": { + "index": 1, + "name": "MapWait" + }, + "previousEventId": 3, + "timestamp": "timestamp", + "type": "MapIterationStarted" + }, + { + "id": 6, + "mapIterationStartedEventDetails": { + "index": 2, + "name": "MapWait" + }, + "previousEventId": 3, + "timestamp": "timestamp", + "type": "MapIterationStarted" + }, + { + "id": 7, + "mapIterationStartedEventDetails": { + "index": 3, + "name": "MapWait" + }, + "previousEventId": 3, + "timestamp": "timestamp", + "type": "MapIterationStarted" + }, + { + "id": 8, + "previousEventId": 4, + "stateEnteredEventDetails": { + "input": { + "FunctionName": "", + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "name": "LambdaInvoke" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 9, + "previousEventId": 8, + "taskScheduledEventDetails": { + "parameters": { + "FunctionName": "", + "Payload": null + }, + "region": "", + "resource": "invoke", + "resourceType": "lambda", + "timeoutInSeconds": 5 + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 10, + "previousEventId": 5, + "stateEnteredEventDetails": { + "input": { + "FunctionName": "", + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "name": "LambdaInvoke" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 11, + "previousEventId": 10, + "taskScheduledEventDetails": { + "parameters": { + "FunctionName": "", + "Payload": null + }, + "region": "", + "resource": "invoke", + "resourceType": "lambda", + "timeoutInSeconds": 5 + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 12, + "previousEventId": 6, + "stateEnteredEventDetails": { + "input": { + "FunctionName": "", + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "name": "LambdaInvoke" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 13, + "previousEventId": 12, + "taskScheduledEventDetails": { + "parameters": { + "FunctionName": "", + "Payload": null + }, + "region": "", + "resource": "invoke", + "resourceType": "lambda", + "timeoutInSeconds": 5 + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 14, + "previousEventId": 7, + "stateEnteredEventDetails": { + "input": { + "FunctionName": "", + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "name": "LambdaInvoke" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 15, + "previousEventId": 14, + "taskScheduledEventDetails": { + "parameters": { + "FunctionName": "", + "Payload": null + }, + "region": "", + "resource": "invoke", + "resourceType": "lambda", + "timeoutInSeconds": 5 + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 16, + "previousEventId": 13, + "taskStartedEventDetails": { + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 17, + "previousEventId": 11, + "taskStartedEventDetails": { + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 18, + "previousEventId": 15, + "taskStartedEventDetails": { + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 19, + "previousEventId": 9, + "taskStartedEventDetails": { + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 20, + "previousEventId": 16, + "taskTimedOutEventDetails": { + "error": "States.Timeout", + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskTimedOut" + }, + { + "id": 21, + "previousEventId": 18, + "taskTimedOutEventDetails": { + "error": "States.Timeout", + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskTimedOut" + }, + { + "id": 22, + "previousEventId": 19, + "taskTimedOutEventDetails": { + "error": "States.Timeout", + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskTimedOut" + }, + { + "id": 23, + "previousEventId": 17, + "taskTimedOutEventDetails": { + "error": "States.Timeout", + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskTimedOut" + }, + { + "id": 24, + "mapIterationAbortedEventDetails": { + "index": 0, + "name": "MapWait" + }, + "previousEventId": 20, + "timestamp": "timestamp", + "type": "MapIterationAborted" + }, + { + "id": 25, + "previousEventId": 20, + "timestamp": "timestamp", + "type": "TaskStateAborted" + }, + { + "id": 26, + "mapIterationAbortedEventDetails": { + "index": 1, + "name": "MapWait" + }, + "previousEventId": 20, + "timestamp": "timestamp", + "type": "MapIterationAborted" + }, + { + "id": 27, + "previousEventId": 20, + "timestamp": "timestamp", + "type": "TaskStateAborted" + }, + { + "id": 28, + "mapIterationFailedEventDetails": { + "index": 2, + "name": "MapWait" + }, + "previousEventId": 20, + "timestamp": "timestamp", + "type": "MapIterationFailed" + }, + { + "id": 29, + "previousEventId": 20, + "timestamp": "timestamp", + "type": "TaskStateAborted" + }, + { + "id": 30, + "mapIterationAbortedEventDetails": { + "index": 3, + "name": "MapWait" + }, + "previousEventId": 20, + "timestamp": "timestamp", + "type": "MapIterationAborted" + }, + { + "id": 31, + "previousEventId": 20, + "timestamp": "timestamp", + "type": "TaskStateAborted" + }, + { + "id": 32, + "previousEventId": 20, + "timestamp": "timestamp", + "type": "MapStateFailed" + }, + { + "executionFailedEventDetails": { + "error": "States.Timeout" + }, + "id": 33, + "previousEventId": 32, + "timestamp": "timestamp", + "type": "ExecutionFailed" + } + ], + "ResponseMetadata": { + "HTTPHeaders": {}, + "HTTPStatusCode": 200 + } + } + } + }, + "tests/integration/stepfunctions/v2/timeouts/test_timeouts.py::TestTimeouts::test_fixed_timeout_service_lambda_with_path": { + "recorded-date": "26-05-2023, 17:02:05", + "recorded-content": { + "get_execution_history": { + "events": [ + { + "executionStartedEventDetails": { + "input": { + "TimeoutSecondsValue": 1, + "FunctionName": "", + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "roleArn": "snf_role_arn" + }, + "id": 1, + "previousEventId": 0, + "timestamp": "timestamp", + "type": "ExecutionStarted" + }, + { + "id": 2, + "previousEventId": 0, + "stateEnteredEventDetails": { + "input": { + "TimeoutSecondsValue": 1, + "FunctionName": "", + "Payload": null + }, + "inputDetails": { + "truncated": false + }, + "name": "Start" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 3, + "previousEventId": 2, + "taskScheduledEventDetails": { + "parameters": { + "FunctionName": "", + "Payload": null + }, + "region": "", + "resource": "invoke", + "resourceType": "lambda", + "timeoutInSeconds": 1 + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 4, + "previousEventId": 3, + "taskStartedEventDetails": { + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 5, + "previousEventId": 4, + "taskTimedOutEventDetails": { + "error": "States.Timeout", + "resource": "invoke", + "resourceType": "lambda" + }, + "timestamp": "timestamp", + "type": "TaskTimedOut" + }, + { + "executionFailedEventDetails": { + "error": "States.Timeout" + }, + "id": 6, + "previousEventId": 5, + "timestamp": "timestamp", + "type": "ExecutionFailed" + } + ], + "ResponseMetadata": { + "HTTPHeaders": {}, + "HTTPStatusCode": 200 + } + } + } + } +} From ae5ee1e5c6e88f669fe8372b2719839075811f00 Mon Sep 17 00:00:00 2001 From: MEPalma Date: Wed, 21 Jun 2023 14:20:36 +0200 Subject: [PATCH 6/9] minor --- .../state_task/service/state_task_service_lambda.py | 2 +- .../state_task/service/state_task_service_sqs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py index b749b43a08b67..896eb23784c7c 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_lambda.py @@ -39,7 +39,7 @@ class StateTaskServiceLambda(StateTaskServiceCallback): } def _get_supported_parameters(self) -> Optional[set[str]]: - return self._SUPPORTED_API_PARAM_BINDINGS.get(self.resource.api_action.lower(), None) + return self._SUPPORTED_API_PARAM_BINDINGS.get(self.resource.api_action.lower()) @staticmethod def _error_cause_from_client_error(client_error: ClientError) -> tuple[str, str]: diff --git a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py index 2560ec8e50f49..5fc926ec1daaa 100644 --- a/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py +++ b/localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_sqs.py @@ -35,7 +35,7 @@ class StateTaskServiceSqs(StateTaskServiceCallback): } def _get_supported_parameters(self) -> Optional[set[str]]: - return self._SUPPORTED_API_PARAM_BINDINGS.get(self.resource.api_action.lower(), None) + return self._SUPPORTED_API_PARAM_BINDINGS.get(self.resource.api_action.lower()) def _from_error(self, env: Environment, ex: Exception) -> FailureEvent: if isinstance(ex, TimeoutError): From d0a65b1cd51a7deae4fd9d2a18350a8d7b15ba1f Mon Sep 17 00:00:00 2001 From: MEPalma Date: Thu, 22 Jun 2023 14:56:09 +0200 Subject: [PATCH 7/9] pr items --- .../testing/snapshots/transformer_utility.py | 27 + tests/integration/stepfunctions/conftest.py | 6 + .../v2/callback/test_callback.py | 28 +- .../v2/callback/test_callback.snapshot.json | 145 +++- .../choice_operators/test_boolean_equals.py | 8 +- .../test_boolean_equals.snapshot.json | 4 +- .../v2/choice_operators/test_is_operators.py | 32 +- .../test_is_operators.snapshot.json | 10 +- .../v2/choice_operators/test_numeric.py | 40 +- .../test_numeric.snapshot.json | 2 +- .../choice_operators/test_string_operators.py | 40 +- .../test_string_operators.snapshot.json | 20 +- .../test_timestamp_operators.py | 40 +- .../test_timestamp_operators.snapshot.json | 20 +- .../v2/choice_operators/utils.py | 6 +- .../v2/error_handling/test_aws_sdk.py | 10 +- .../error_handling/test_aws_sdk.snapshot.json | 4 +- .../v2/error_handling/test_task_lambda.py | 24 +- .../test_task_lambda.snapshot.json | 8 +- .../test_task_service_lambda.py | 30 +- .../test_task_service_lambda.snapshot.json | 10 +- .../error_handling/test_task_service_sqs.py | 30 +- .../test_task_service_sqs.snapshot.json | 24 +- .../stepfunctions/v2/error_handling/utils.py | 14 +- .../v2/intrinsic_functions/test_array.py | 34 +- .../intrinsic_functions/test_encode_decode.py | 8 +- .../v2/intrinsic_functions/test_generic.py | 12 +- .../test_hash_calculations.py | 4 +- .../test_json_manipulation.py | 14 +- .../test_math_operations.py | 36 +- .../test_string_operations.py | 4 +- .../test_unique_id_generation.py | 12 +- .../v2/intrinsic_functions/utils.py | 10 +- .../v2/scenarios/test_sfn_scenarios.py | 98 +-- .../v2/services/test_aws_sdk_task_service.py | 4 +- .../test_aws_sdk_task_service.snapshot.json | 2 +- .../v2/services/test_lambda_task.py | 8 +- .../services/test_lambda_task.snapshot.json | 2 +- .../v2/services/test_lambda_task_service.py | 18 +- .../test_lambda_task_service.snapshot.json | 669 ++---------------- .../v2/services/test_sqs_task_service.py | 20 +- .../test_sqs_task_service.snapshot.json | 40 +- .../stepfunctions/v2/test_sfn_api.py | 152 ++-- .../v2/test_sfn_api.snapshot.json | 20 +- .../v2/timeouts/test_timeouts.py | 24 +- .../v2/timeouts/test_timeouts.snapshot.json | 6 +- 46 files changed, 709 insertions(+), 1070 deletions(-) diff --git a/localstack/testing/snapshots/transformer_utility.py b/localstack/testing/snapshots/transformer_utility.py index 280939ddea539..6c4c8e641db1e 100644 --- a/localstack/testing/snapshots/transformer_utility.py +++ b/localstack/testing/snapshots/transformer_utility.py @@ -526,6 +526,33 @@ def sfn_sm_exec_arn(start_exec: StartExecutionOutput, index: int): arn_part: str = "".join(start_exec["executionArn"].rpartition(":")[-1]) return RegexTransformer(arn_part, arn_part_repl) + @staticmethod + def stepfunctions_api(): + return [ + JsonpathTransformer( + "$..SdkHttpMetadata.AllHttpHeaders.Date", + "date", + replace_reference=False, + ), + JsonpathTransformer( + "$..SdkHttpMetadata.AllHttpHeaders.X-Amzn-Trace-Id", + "X-Amzn-Trace-Id", + replace_reference=False, + ), + JsonpathTransformer( + "$..SdkHttpMetadata.HttpHeaders.Date", + "date", + replace_reference=False, + ), + JsonpathTransformer( + "$..SdkHttpMetadata.HttpHeaders.X-Amzn-Trace-Id", + "X-Amzn-Trace-Id", + replace_reference=False, + ), + SortingTransformer("VersionStages"), + SortingTransformer("Versions", lambda e: e.get("CreatedDate")), + ] + # TODO add example # @staticmethod # def custom(fn: Callable[[dict], dict]) -> Transformer: diff --git a/tests/integration/stepfunctions/conftest.py b/tests/integration/stepfunctions/conftest.py index 64c0a9f2d5ac4..fe9e4b90e3d4f 100644 --- a/tests/integration/stepfunctions/conftest.py +++ b/tests/integration/stepfunctions/conftest.py @@ -11,6 +11,12 @@ LOG = logging.getLogger(__name__) +@pytest.fixture +def sfn_snapshot(snapshot): + snapshot.add_transformers_list(snapshot.transform.stepfunctions_api()) + return snapshot + + @pytest.fixture def create_iam_role_for_sfn(aws_client, cleanups, create_state_machine): iam_client = aws_client.iam diff --git a/tests/integration/stepfunctions/v2/callback/test_callback.py b/tests/integration/stepfunctions/v2/callback/test_callback.py index c5afab55fee0c..29fffbb0b5ebc 100644 --- a/tests/integration/stepfunctions/v2/callback/test_callback.py +++ b/tests/integration/stepfunctions/v2/callback/test_callback.py @@ -32,10 +32,10 @@ def test_sqs_wait_for_task_tok( create_state_machine, sqs_create_queue, sqs_send_task_success_state_machine, - snapshot, + sfn_snapshot, ): - snapshot.add_transformer(snapshot.transform.sqs_api()) - snapshot.add_transformer( + sfn_snapshot.add_transformer(sfn_snapshot.transform.sqs_api()) + sfn_snapshot.add_transformer( JsonpathTransformer( jsonpath="$..TaskToken", replacement="", @@ -45,8 +45,8 @@ def test_sqs_wait_for_task_tok( queue_name = f"queue-{short_uid()}" queue_url = sqs_create_queue(QueueName=queue_name) - snapshot.add_transformer(RegexTransformer(queue_url, "")) - snapshot.add_transformer(RegexTransformer(queue_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_url, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_name, "")) sqs_send_task_success_state_machine(queue_url) @@ -59,23 +59,23 @@ def test_sqs_wait_for_task_tok( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) - @pytest.mark.skip_snapshot_verify(paths=["$..MD5OfMessageBody", "$..QueueUrl"]) - def test_sqs_wait_for_task_tok_timeout( + @pytest.mark.skip_snapshot_verify(paths=["$..MD5OfMessageBody"]) + def test_sqs_wait_for_task_token_timeout( self, aws_client, create_iam_role_for_sfn, create_state_machine, sqs_create_queue, sqs_send_task_success_state_machine, - snapshot, + sfn_snapshot, ): - snapshot.add_transformer(snapshot.transform.sqs_api()) - snapshot.add_transformer( + sfn_snapshot.add_transformer(sfn_snapshot.transform.sqs_api()) + sfn_snapshot.add_transformer( JsonpathTransformer( jsonpath="$..TaskToken", replacement="", @@ -85,8 +85,8 @@ def test_sqs_wait_for_task_tok_timeout( queue_name = f"queue-{short_uid()}" queue_url = sqs_create_queue(QueueName=queue_name) - snapshot.add_transformer(RegexTransformer(queue_name, "")) - snapshot.add_transformer(RegexTransformer(queue_url, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_url, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_name, "")) template = CT.load_sfn_template(CT.SQS_WAIT_FOR_TASK_TOKEN_WITH_TIMEOUT) definition = json.dumps(template) @@ -97,7 +97,7 @@ def test_sqs_wait_for_task_tok_timeout( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) diff --git a/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json b/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json index 4c5ecc4db46a3..3a9feb39c2927 100644 --- a/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json +++ b/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/callback/test_callback.py::TestCallback::test_sqs_wait_for_task_tok": { - "recorded-date": "10-05-2023, 15:43:08", + "recorded-date": "22-06-2023, 13:05:16", "recorded-content": { "get_execution_history": { "events": [ @@ -69,7 +69,7 @@ "previousEventId": 4, "taskSubmittedEventDetails": { "output": { - "MD5OfMessageBody": "95adacacec73703a3538430d3decf18f", + "MD5OfMessageBody": "476a20e5904cb4822a4cd978ced5e607", "MessageId": "", "SdkHttpMetadata": { "AllHttpHeaders": { @@ -79,9 +79,7 @@ "Content-Length": [ "378" ], - "Date": [ - "Wed, 10 May 2023 13:43:06 GMT" - ], + "Date": "date", "Content-Type": [ "text/xml" ] @@ -89,7 +87,7 @@ "HttpHeaders": { "Content-Length": "378", "Content-Type": "text/xml", - "Date": "Wed, 10 May 2023 13:43:06 GMT", + "Date": "date", "x-amzn-RequestId": "" }, "HttpStatusCode": 200 @@ -290,5 +288,140 @@ } } } + }, + "tests/integration/stepfunctions/v2/callback/test_callback.py::TestCallback::test_sqs_wait_for_task_token_timeout": { + "recorded-date": "22-06-2023, 14:42:04", + "recorded-content": { + "get_execution_history": { + "events": [ + { + "executionStartedEventDetails": { + "input": { + "QueueUrl": "", + "Message": "test_message_txt" + }, + "inputDetails": { + "truncated": false + }, + "roleArn": "arn:aws:iam::111111111111:role/" + }, + "id": 1, + "previousEventId": 0, + "timestamp": "timestamp", + "type": "ExecutionStarted" + }, + { + "id": 2, + "previousEventId": 0, + "stateEnteredEventDetails": { + "input": { + "QueueUrl": "", + "Message": "test_message_txt" + }, + "inputDetails": { + "truncated": false + }, + "name": "SendMessageWithWaitAndTimeout" + }, + "timestamp": "timestamp", + "type": "TaskStateEntered" + }, + { + "id": 3, + "previousEventId": 2, + "taskScheduledEventDetails": { + "parameters": { + "MessageBody": { + "Message": "test_message_txt", + "TaskToken": "<:1>" + }, + "QueueUrl": "" + }, + "region": "", + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs", + "timeoutInSeconds": 1 + }, + "timestamp": "timestamp", + "type": "TaskScheduled" + }, + { + "id": 4, + "previousEventId": 3, + "taskStartedEventDetails": { + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs" + }, + "timestamp": "timestamp", + "type": "TaskStarted" + }, + { + "id": 5, + "previousEventId": 4, + "taskSubmittedEventDetails": { + "output": { + "MD5OfMessageBody": "823533eb403070c450a065ce6b7bedf6", + "MessageId": "", + "SdkHttpMetadata": { + "AllHttpHeaders": { + "x-amzn-RequestId": [ + "" + ], + "Content-Length": [ + "378" + ], + "Date": "date", + "Content-Type": [ + "text/xml" + ] + }, + "HttpHeaders": { + "Content-Length": "378", + "Content-Type": "text/xml", + "Date": "date", + "x-amzn-RequestId": "" + }, + "HttpStatusCode": 200 + }, + "SdkResponseMetadata": { + "RequestId": "" + } + }, + "outputDetails": { + "truncated": false + }, + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs" + }, + "timestamp": "timestamp", + "type": "TaskSubmitted" + }, + { + "id": 6, + "previousEventId": 5, + "taskTimedOutEventDetails": { + "error": "States.Timeout", + "resource": "sendMessage.waitForTaskToken", + "resourceType": "sqs" + }, + "timestamp": "timestamp", + "type": "TaskTimedOut" + }, + { + "executionFailedEventDetails": { + "error": "States.Timeout" + }, + "id": 7, + "previousEventId": 6, + "timestamp": "timestamp", + "type": "ExecutionFailed" + } + ], + "ResponseMetadata": { + "HTTPHeaders": {}, + "HTTPStatusCode": 200 + } + } + } } } diff --git a/tests/integration/stepfunctions/v2/choice_operators/test_boolean_equals.py b/tests/integration/stepfunctions/v2/choice_operators/test_boolean_equals.py index 8b39156441af1..445ba2c94de60 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/test_boolean_equals.py +++ b/tests/integration/stepfunctions/v2/choice_operators/test_boolean_equals.py @@ -19,25 +19,25 @@ ) class TestBooleanEquals: def test_boolean_equals( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "BooleanEquals", comparisons=TYPE_COMPARISONS, ) def test_boolean_equals_path( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "BooleanEqualsPath", comparisons=TYPE_COMPARISONS, add_literal_value=False, diff --git a/tests/integration/stepfunctions/v2/choice_operators/test_boolean_equals.snapshot.json b/tests/integration/stepfunctions/v2/choice_operators/test_boolean_equals.snapshot.json index 34079a12ef22f..a90a4bd1374b8 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/test_boolean_equals.snapshot.json +++ b/tests/integration/stepfunctions/v2/choice_operators/test_boolean_equals.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/choice_operators/test_boolean_equals.py::TestBooleanEquals::test_boolean_equals": { - "recorded-date": "24-04-2023, 09:05:03", + "recorded-date": "22-06-2023, 13:06:32", "recorded-content": { "cases": [ { @@ -339,7 +339,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_boolean_equals.py::TestBooleanEquals::test_boolean_equals_path": { - "recorded-date": "24-04-2023, 09:05:36", + "recorded-date": "22-06-2023, 13:07:20", "recorded-content": { "cases": [ { diff --git a/tests/integration/stepfunctions/v2/choice_operators/test_is_operators.py b/tests/integration/stepfunctions/v2/choice_operators/test_is_operators.py index 54f2a031582a6..47cd6b52bbe49 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/test_is_operators.py +++ b/tests/integration/stepfunctions/v2/choice_operators/test_is_operators.py @@ -18,65 +18,73 @@ paths=["$..loggingConfiguration", "$..tracingConfiguration", "$..previousEventId"] ) class TestIsOperators: - def test_is_boolean(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_is_boolean( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "IsBoolean", comparisons=TYPE_COMPARISONS, ) - def test_is_null(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_is_null(self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "IsNull", comparisons=TYPE_COMPARISONS, ) - def test_is_numeric(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_is_numeric( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "IsNumeric", comparisons=TYPE_COMPARISONS, ) - def test_is_present(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_is_present( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "IsPresent", comparisons=TYPE_COMPARISONS, ) - def test_is_string(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_is_string( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "IsString", comparisons=TYPE_COMPARISONS, ) @pytest.mark.skip(reason="TODO: investigate IsTimestamp behaviour.") def test_is_timestamp( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "IsTimestamp", comparisons=TYPE_COMPARISONS, ) diff --git a/tests/integration/stepfunctions/v2/choice_operators/test_is_operators.snapshot.json b/tests/integration/stepfunctions/v2/choice_operators/test_is_operators.snapshot.json index 02fa074d45bc5..dbce6fcf62874 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/test_is_operators.snapshot.json +++ b/tests/integration/stepfunctions/v2/choice_operators/test_is_operators.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/choice_operators/test_is_operators.py::TestIsOperators::test_is_boolean": { - "recorded-date": "24-04-2023, 09:06:34", + "recorded-date": "22-06-2023, 13:08:16", "recorded-content": { "cases": [ { @@ -339,7 +339,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_is_operators.py::TestIsOperators::test_is_null": { - "recorded-date": "24-04-2023, 09:07:07", + "recorded-date": "22-06-2023, 13:09:08", "recorded-content": { "cases": [ { @@ -678,7 +678,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_is_operators.py::TestIsOperators::test_is_numeric": { - "recorded-date": "24-04-2023, 09:08:02", + "recorded-date": "22-06-2023, 13:09:58", "recorded-content": { "cases": [ { @@ -1017,7 +1017,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_is_operators.py::TestIsOperators::test_is_present": { - "recorded-date": "24-04-2023, 09:09:14", + "recorded-date": "22-06-2023, 13:11:07", "recorded-content": { "cases": [ { @@ -1356,7 +1356,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_is_operators.py::TestIsOperators::test_is_string": { - "recorded-date": "24-04-2023, 09:10:08", + "recorded-date": "22-06-2023, 13:12:11", "recorded-content": { "cases": [ { diff --git a/tests/integration/stepfunctions/v2/choice_operators/test_numeric.py b/tests/integration/stepfunctions/v2/choice_operators/test_numeric.py index e8813e28ab0de..83329fdc4434f 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/test_numeric.py +++ b/tests/integration/stepfunctions/v2/choice_operators/test_numeric.py @@ -40,7 +40,7 @@ def test_numeric_equals( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): type_equals = [] for var in TYPE_COMPARISONS_VARS: @@ -53,7 +53,7 @@ def test_numeric_equals( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "NumericEquals", comparisons=[*type_equals, (-0, 0), (0.0, 0), (2.22, 2.22)], ) @@ -63,7 +63,7 @@ def test_numeric_equals_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): type_equals = [] for var in TYPE_COMPARISONS_VARS: @@ -76,7 +76,7 @@ def test_numeric_equals_path( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "NumericEqualsPath", comparisons=[*type_equals, (-0, 0), (0.0, 0), (2.22, 2.22)], add_literal_value=False, @@ -87,13 +87,13 @@ def test_numeric_greater_than( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "NumericGreaterThan", comparisons=[(-0, 0), (0.0, 0), (0, 1), (1, 1), (1, 0), (0, 1)], ) @@ -103,13 +103,13 @@ def test_numeric_greater_than_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "NumericGreaterThanPath", comparisons=[(-0, 0), (0.0, 0), (0, 1), (1, 1), (1, 0), (0, 1)], add_literal_value=False, @@ -120,13 +120,13 @@ def test_numeric_greater_than_equals( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "NumericGreaterThanEquals", comparisons=[(-0, 0), (0.0, 0), (0, 1), (1, 1), (1, 0), (0, 1)], ) @@ -136,13 +136,13 @@ def test_numeric_greater_than_equals_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "NumericGreaterThanEqualsPath", comparisons=[(-0, 0), (0.0, 0), (0, 1), (1, 1), (1, 0), (0, 1)], add_literal_value=False, @@ -153,13 +153,13 @@ def test_numeric_less_than( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "NumericLessThan", comparisons=[(-0, 0), (0.0, 0), (0, 1), (1, 1), (1, 0), (0, 1)], ) @@ -169,13 +169,13 @@ def test_numeric_less_than_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "NumericLessThanPath", comparisons=[(-0, 0), (0.0, 0), (0, 1), (1, 1), (1, 0), (0, 1)], add_literal_value=False, @@ -186,13 +186,13 @@ def test_numeric_less_than_equals( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "NumericLessThanEquals", comparisons=[(-0, 0), (0.0, 0), (0, 1), (1, 1), (1, 0), (0, 1)], ) @@ -202,13 +202,13 @@ def test_numeric_less_than_equals_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "NumericLessThanEqualsPath", comparisons=[(-0, 0), (0.0, 0), (0, 1), (1, 1), (1, 0), (0, 1)], add_literal_value=False, diff --git a/tests/integration/stepfunctions/v2/choice_operators/test_numeric.snapshot.json b/tests/integration/stepfunctions/v2/choice_operators/test_numeric.snapshot.json index fd919b8bbffc3..bca44b1d24dd6 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/test_numeric.snapshot.json +++ b/tests/integration/stepfunctions/v2/choice_operators/test_numeric.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/choice_operators/test_numeric.py::TestNumerics::test_numeric_equals": { - "recorded-date": "01-03-2023, 15:28:00", + "recorded-date": "22-06-2023, 13:14:08", "recorded-content": { "cases": [ { diff --git a/tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py b/tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py index 1ca6760b1215a..098362822ca7d 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py +++ b/tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py @@ -40,7 +40,7 @@ def test_string_equals( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): type_equals = [] for var in TYPE_COMPARISONS_VARS: @@ -50,7 +50,7 @@ def test_string_equals( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "StringEquals", comparisons=[*type_equals, (" ", " "), ("\t\n", "\t\r\n"), ("Hello", "Hello")], ) @@ -60,7 +60,7 @@ def test_string_equals_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): type_equals = [] for var in TYPE_COMPARISONS_VARS: @@ -73,7 +73,7 @@ def test_string_equals_path( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "StringEqualsPath", comparisons=[(" ", " "), ("\t\n", "\t\r\n"), ("Hello", "Hello")], add_literal_value=False, @@ -84,13 +84,13 @@ def test_string_greater_than( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "StringGreaterThan", comparisons=[("", ""), ("A", "A "), ("A", "A\t\n\r"), ("AB", "ABC")], ) @@ -100,13 +100,13 @@ def test_string_greater_than_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "StringGreaterThanPath", comparisons=[("", ""), ("A", "A "), ("A", "A\t\n\r"), ("AB", "ABC")], add_literal_value=False, @@ -117,13 +117,13 @@ def test_string_greater_than_equals( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "StringGreaterThanEquals", comparisons=[("", ""), ("A", "AB"), ("AB", "A")], ) @@ -133,13 +133,13 @@ def test_string_greater_than_equals_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "StringGreaterThanEqualsPath", comparisons=[("", ""), ("A", "AB"), ("AB", "A")], add_literal_value=False, @@ -150,13 +150,13 @@ def test_string_less_than( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "StringLessThan", comparisons=[("", ""), ("A", "AB"), ("AB", "A")], ) @@ -166,13 +166,13 @@ def test_string_less_than_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "StringLessThanPath", comparisons=[("", ""), ("A", "AB"), ("AB", "A")], add_literal_value=False, @@ -183,13 +183,13 @@ def test_string_less_than_equals( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "StringLessThanEquals", comparisons=[("", ""), ("A", "AB"), ("AB", "A")], ) @@ -199,13 +199,13 @@ def test_string_less_than_equals_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "StringLessThanEqualsPath", comparisons=[("", ""), ("A", "AB"), ("AB", "A")], add_literal_value=False, diff --git a/tests/integration/stepfunctions/v2/choice_operators/test_string_operators.snapshot.json b/tests/integration/stepfunctions/v2/choice_operators/test_string_operators.snapshot.json index 13e9375ced572..92badfb4e5acd 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/test_string_operators.snapshot.json +++ b/tests/integration/stepfunctions/v2/choice_operators/test_string_operators.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py::TestStrings::test_string_greater_than": { - "recorded-date": "01-03-2023, 15:03:54", + "recorded-date": "22-06-2023, 13:16:03", "recorded-content": { "cases": [ { @@ -43,7 +43,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py::TestStrings::test_string_equals": { - "recorded-date": "01-03-2023, 15:03:42", + "recorded-date": "22-06-2023, 13:15:27", "recorded-content": { "cases": [ { @@ -198,7 +198,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py::TestStrings::test_string_equals_path": { - "recorded-date": "01-03-2023, 15:03:49", + "recorded-date": "22-06-2023, 13:15:46", "recorded-content": { "cases": [ { @@ -232,7 +232,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py::TestStrings::test_string_greater_than_path": { - "recorded-date": "01-03-2023, 15:03:58", + "recorded-date": "22-06-2023, 13:16:20", "recorded-content": { "cases": [ { @@ -275,7 +275,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py::TestStrings::test_string_greater_than_equals": { - "recorded-date": "01-03-2023, 15:04:02", + "recorded-date": "22-06-2023, 13:16:37", "recorded-content": { "cases": [ { @@ -309,7 +309,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py::TestStrings::test_string_greater_than_equals_path": { - "recorded-date": "01-03-2023, 15:04:06", + "recorded-date": "22-06-2023, 13:16:54", "recorded-content": { "cases": [ { @@ -343,7 +343,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py::TestStrings::test_string_less_than": { - "recorded-date": "01-03-2023, 15:04:10", + "recorded-date": "22-06-2023, 13:17:10", "recorded-content": { "cases": [ { @@ -377,7 +377,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py::TestStrings::test_string_less_than_path": { - "recorded-date": "01-03-2023, 15:04:13", + "recorded-date": "22-06-2023, 13:17:26", "recorded-content": { "cases": [ { @@ -411,7 +411,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py::TestStrings::test_string_less_than_equals": { - "recorded-date": "01-03-2023, 15:04:17", + "recorded-date": "22-06-2023, 13:17:43", "recorded-content": { "cases": [ { @@ -445,7 +445,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_string_operators.py::TestStrings::test_string_less_than_equals_path": { - "recorded-date": "01-03-2023, 15:04:21", + "recorded-date": "22-06-2023, 13:17:59", "recorded-content": { "cases": [ { diff --git a/tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py b/tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py index 9941c11c65115..dcf4f746864f2 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py +++ b/tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py @@ -45,7 +45,7 @@ def test_timestamp_equals( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): type_equals = [] for var in TYPE_COMPARISONS_VARS: @@ -55,7 +55,7 @@ def test_timestamp_equals( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "TimestampEquals", comparisons=[*type_equals, *BASE_COMPARISONS], ) @@ -65,13 +65,13 @@ def test_timestamp_equals_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "TimestampEqualsPath", comparisons=BASE_COMPARISONS, add_literal_value=False, @@ -82,13 +82,13 @@ def test_timestamp_greater_than( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "TimestampGreaterThan", comparisons=BASE_COMPARISONS, ) @@ -98,13 +98,13 @@ def test_timestamp_greater_than_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "TimestampGreaterThanPath", comparisons=[(T0, T1)], add_literal_value=False, @@ -115,13 +115,13 @@ def test_timestamp_greater_than_equals( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "TimestampGreaterThanEquals", comparisons=BASE_COMPARISONS, ) @@ -131,13 +131,13 @@ def test_timestamp_greater_than_equals_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "TimestampGreaterThanEqualsPath", comparisons=[(T0, T1)], add_literal_value=False, @@ -148,13 +148,13 @@ def test_timestamp_less_than( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "TimestampLessThan", comparisons=BASE_COMPARISONS, ) @@ -164,13 +164,13 @@ def test_timestamp_less_than_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "TimestampLessThanPath", comparisons=[(T1, T0)], add_literal_value=False, @@ -181,13 +181,13 @@ def test_timestamp_less_than_equals( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "TimestampLessThanEquals", comparisons=BASE_COMPARISONS, ) @@ -197,13 +197,13 @@ def test_timestamp_less_than_equals_path( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): create_and_test_comparison_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, "TimestampLessThanEqualsPath", comparisons=[(T1, T0)], add_literal_value=False, diff --git a/tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.snapshot.json b/tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.snapshot.json index e472090494ef0..08dd79327b46d 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.snapshot.json +++ b/tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py::TestTimestamps::test_timestamp_greater_than": { - "recorded-date": "02-03-2023, 18:09:42", + "recorded-date": "22-06-2023, 13:22:29", "recorded-content": { "cases": [ { @@ -34,7 +34,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py::TestTimestamps::test_timestamp_equals": { - "recorded-date": "02-03-2023, 18:09:32", + "recorded-date": "22-06-2023, 13:21:55", "recorded-content": { "cases": [ { @@ -198,7 +198,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py::TestTimestamps::test_timestamp_equals_path": { - "recorded-date": "02-03-2023, 18:09:38", + "recorded-date": "22-06-2023, 13:22:14", "recorded-content": { "cases": [ { @@ -232,7 +232,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py::TestTimestamps::test_timestamp_greater_than_path": { - "recorded-date": "02-03-2023, 18:09:45", + "recorded-date": "22-06-2023, 13:22:44", "recorded-content": { "cases": [ { @@ -248,7 +248,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py::TestTimestamps::test_timestamp_greater_than_equals": { - "recorded-date": "02-03-2023, 18:09:48", + "recorded-date": "22-06-2023, 13:23:00", "recorded-content": { "cases": [ { @@ -282,7 +282,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py::TestTimestamps::test_timestamp_greater_than_equals_path": { - "recorded-date": "02-03-2023, 18:09:50", + "recorded-date": "22-06-2023, 13:23:14", "recorded-content": { "cases": [ { @@ -298,7 +298,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py::TestTimestamps::test_timestamp_less_than": { - "recorded-date": "02-03-2023, 18:09:54", + "recorded-date": "22-06-2023, 13:23:29", "recorded-content": { "cases": [ { @@ -332,7 +332,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py::TestTimestamps::test_timestamp_less_than_path": { - "recorded-date": "02-03-2023, 18:09:56", + "recorded-date": "22-06-2023, 13:23:44", "recorded-content": { "cases": [ { @@ -348,7 +348,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py::TestTimestamps::test_timestamp_less_than_equals": { - "recorded-date": "02-03-2023, 18:10:00", + "recorded-date": "22-06-2023, 13:24:00", "recorded-content": { "cases": [ { @@ -382,7 +382,7 @@ } }, "tests/integration/stepfunctions/v2/choice_operators/test_timestamp_operators.py::TestTimestamps::test_timestamp_less_than_equals_path": { - "recorded-date": "02-03-2023, 18:10:02", + "recorded-date": "22-06-2023, 13:24:14", "recorded-content": { "cases": [ { diff --git a/tests/integration/stepfunctions/v2/choice_operators/utils.py b/tests/integration/stepfunctions/v2/choice_operators/utils.py index 64a8d8b4a16ae..ae77b77990ee9 100644 --- a/tests/integration/stepfunctions/v2/choice_operators/utils.py +++ b/tests/integration/stepfunctions/v2/choice_operators/utils.py @@ -53,13 +53,13 @@ def create_and_test_comparison_function( stepfunctions_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, comparison_func_name: str, comparisons: list[tuple[Any, Any]], add_literal_value: bool = True, ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) base_sm_name: str = f"statemachine_{short_uid()}" @@ -97,4 +97,4 @@ def create_and_test_comparison_function( "$.events[*].executionSucceededEventDetails.output", exec_hist_resp ) input_output_cases.append({"input": exec_input, "output": output}) - snapshot.match("cases", input_output_cases) + sfn_snapshot.match("cases", input_output_cases) diff --git a/tests/integration/stepfunctions/v2/error_handling/test_aws_sdk.py b/tests/integration/stepfunctions/v2/error_handling/test_aws_sdk.py index 6bf9901445db5..9dae7fce1c7ea 100644 --- a/tests/integration/stepfunctions/v2/error_handling/test_aws_sdk.py +++ b/tests/integration/stepfunctions/v2/error_handling/test_aws_sdk.py @@ -19,7 +19,7 @@ ) class TestAwsSdk: def test_invalid_secret_name( - self, aws_client, create_iam_role_for_sfn, create_state_machine, snapshot + self, aws_client, create_iam_role_for_sfn, create_state_machine, sfn_snapshot ): template = EHT.load_sfn_template(EHT.AWS_SDK_TASK_FAILED_SECRETSMANAGER_CREATE_SECRET) definition = json.dumps(template) @@ -28,24 +28,24 @@ def test_invalid_secret_name( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) def test_no_such_bucket( - self, aws_client, create_iam_role_for_sfn, create_state_machine, snapshot + self, aws_client, create_iam_role_for_sfn, create_state_machine, sfn_snapshot ): template = EHT.load_sfn_template(EHT.AWS_SDK_TASK_FAILED_S3_LIST_OBJECTS) definition = json.dumps(template) bucket_name = f"someNonexistentBucketName{short_uid()}" - snapshot.add_transformer(RegexTransformer(bucket_name, "someNonexistentBucketName")) + sfn_snapshot.add_transformer(RegexTransformer(bucket_name, "someNonexistentBucketName")) exec_input = json.dumps({"Bucket": bucket_name}) create_and_record_execution( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) diff --git a/tests/integration/stepfunctions/v2/error_handling/test_aws_sdk.snapshot.json b/tests/integration/stepfunctions/v2/error_handling/test_aws_sdk.snapshot.json index fe284e385504f..5fed57e0459a3 100644 --- a/tests/integration/stepfunctions/v2/error_handling/test_aws_sdk.snapshot.json +++ b/tests/integration/stepfunctions/v2/error_handling/test_aws_sdk.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/error_handling/test_aws_sdk.py::TestAwsSdk::test_invalid_secret_name": { - "recorded-date": "31-03-2023, 23:10:30", + "recorded-date": "22-06-2023, 13:25:51", "recorded-content": { "get_execution_history": { "events": [ @@ -161,7 +161,7 @@ } }, "tests/integration/stepfunctions/v2/error_handling/test_aws_sdk.py::TestAwsSdk::test_no_such_bucket": { - "recorded-date": "31-03-2023, 23:10:41", + "recorded-date": "22-06-2023, 13:26:06", "recorded-content": { "get_execution_history": { "events": [ diff --git a/tests/integration/stepfunctions/v2/error_handling/test_task_lambda.py b/tests/integration/stepfunctions/v2/error_handling/test_task_lambda.py index 4d6a042eda853..11c96744a296d 100644 --- a/tests/integration/stepfunctions/v2/error_handling/test_task_lambda.py +++ b/tests/integration/stepfunctions/v2/error_handling/test_task_lambda.py @@ -30,7 +30,7 @@ def test_raise_exception( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_func_{short_uid()}" create_res = create_lambda_function( @@ -38,7 +38,7 @@ def test_raise_exception( handler_file=EHT.LAMBDA_FUNC_RAISE_EXCEPTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = EHT.load_sfn_template(EHT.AWS_LAMBDA_INVOKE_CATCH_UNKNOWN) template["States"]["Start"]["Resource"] = create_res["CreateFunctionResponse"][ @@ -51,7 +51,7 @@ def test_raise_exception( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -62,7 +62,7 @@ def test_raise_exception_catch( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_func_{short_uid()}" create_res = create_lambda_function( @@ -70,7 +70,7 @@ def test_raise_exception_catch( handler_file=EHT.LAMBDA_FUNC_RAISE_EXCEPTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = EHT.load_sfn_template(EHT.AWS_LAMBDA_INVOKE_CATCH_RELEVANT) template["States"]["Start"]["Resource"] = create_res["CreateFunctionResponse"][ @@ -83,7 +83,7 @@ def test_raise_exception_catch( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -94,7 +94,7 @@ def test_no_such_function( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_func_{short_uid()}" create_res = create_lambda_function( @@ -102,7 +102,7 @@ def test_no_such_function( handler_file=EHT.LAMBDA_FUNC_RAISE_EXCEPTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = EHT.load_sfn_template(EHT.AWS_LAMBDA_INVOKE_CATCH_UNKNOWN) template["States"]["Start"]["Resource"] = create_res["CreateFunctionResponse"][ @@ -115,7 +115,7 @@ def test_no_such_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -126,7 +126,7 @@ def test_no_such_function_catch( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_func_{short_uid()}" create_res = create_lambda_function( @@ -134,7 +134,7 @@ def test_no_such_function_catch( handler_file=EHT.LAMBDA_FUNC_RAISE_EXCEPTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = EHT.load_sfn_template(EHT.AWS_LAMBDA_INVOKE_CATCH_RELEVANT) template["States"]["Start"]["Resource"] = create_res["CreateFunctionResponse"][ @@ -147,7 +147,7 @@ def test_no_such_function_catch( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) diff --git a/tests/integration/stepfunctions/v2/error_handling/test_task_lambda.snapshot.json b/tests/integration/stepfunctions/v2/error_handling/test_task_lambda.snapshot.json index 3496e28a5b9a4..4ad383c1d83c3 100644 --- a/tests/integration/stepfunctions/v2/error_handling/test_task_lambda.snapshot.json +++ b/tests/integration/stepfunctions/v2/error_handling/test_task_lambda.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/error_handling/test_task_lambda.py::TestTaskLambda::test_raise_exception": { - "recorded-date": "05-05-2023, 15:28:05", + "recorded-date": "22-06-2023, 13:27:25", "recorded-content": { "get_execution_history": { "events": [ @@ -101,7 +101,7 @@ } }, "tests/integration/stepfunctions/v2/error_handling/test_task_lambda.py::TestTaskLambda::test_raise_exception_catch": { - "recorded-date": "05-05-2023, 15:28:20", + "recorded-date": "22-06-2023, 13:27:43", "recorded-content": { "get_execution_history": { "events": [ @@ -256,7 +256,7 @@ } }, "tests/integration/stepfunctions/v2/error_handling/test_task_lambda.py::TestTaskLambda::test_no_such_function": { - "recorded-date": "05-05-2023, 15:28:35", + "recorded-date": "22-06-2023, 13:28:01", "recorded-content": { "get_execution_history": { "events": [ @@ -357,7 +357,7 @@ } }, "tests/integration/stepfunctions/v2/error_handling/test_task_lambda.py::TestTaskLambda::test_no_such_function_catch": { - "recorded-date": "05-05-2023, 15:28:51", + "recorded-date": "22-06-2023, 13:28:19", "recorded-content": { "get_execution_history": { "events": [ diff --git a/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py b/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py index 2e99ad1b71b0e..2bbbaa9477d49 100644 --- a/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py +++ b/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py @@ -27,7 +27,7 @@ def test_raise_exception( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_func_{short_uid()}" create_lambda_function( @@ -35,7 +35,7 @@ def test_raise_exception( handler_file=EHT.LAMBDA_FUNC_RAISE_EXCEPTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = EHT.load_sfn_template(EHT.AWS_SERVICE_LAMBDA_INVOKE_CATCH_UNKNOWN) definition = json.dumps(template) @@ -45,7 +45,7 @@ def test_raise_exception( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -56,7 +56,7 @@ def test_raise_exception_catch( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_func_{short_uid()}" create_lambda_function( @@ -64,7 +64,7 @@ def test_raise_exception_catch( handler_file=EHT.LAMBDA_FUNC_RAISE_EXCEPTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = EHT.load_sfn_template(EHT.AWS_SERVICE_LAMBDA_INVOKE_CATCH_RELEVANT) definition = json.dumps(template) @@ -74,7 +74,7 @@ def test_raise_exception_catch( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -85,7 +85,7 @@ def test_no_such_function( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_func_{short_uid()}" create_lambda_function( @@ -93,7 +93,7 @@ def test_no_such_function( handler_file=EHT.LAMBDA_FUNC_RAISE_EXCEPTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = EHT.load_sfn_template(EHT.AWS_SERVICE_LAMBDA_INVOKE_CATCH_UNKNOWN) definition = json.dumps(template) @@ -103,7 +103,7 @@ def test_no_such_function( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -114,7 +114,7 @@ def test_no_such_function_catch( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_func_{short_uid()}" create_lambda_function( @@ -122,7 +122,7 @@ def test_no_such_function_catch( handler_file=EHT.LAMBDA_FUNC_RAISE_EXCEPTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = EHT.load_sfn_template(EHT.AWS_SERVICE_LAMBDA_INVOKE_CATCH_RELEVANT) definition = json.dumps(template) @@ -132,7 +132,7 @@ def test_no_such_function_catch( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -143,7 +143,7 @@ def test_invoke_timeout( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_1_func_{short_uid()}" create_lambda_function( @@ -151,7 +151,7 @@ def test_invoke_timeout( handler_file=TT.LAMBDA_WAIT_60_SECONDS, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = TT.load_sfn_template(EHT.AWS_SERVICE_LAMBDA_INVOKE_CATCH_TIMEOUT) definition = json.dumps(template) @@ -161,7 +161,7 @@ def test_invoke_timeout( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) diff --git a/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.snapshot.json b/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.snapshot.json index 2a0913c76087c..32b590c790824 100644 --- a/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.snapshot.json +++ b/tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py::TestTaskServiceLambda::test_raise_exception": { - "recorded-date": "17-04-2023, 08:26:11", + "recorded-date": "22-06-2023, 13:29:17", "recorded-content": { "get_execution_history": { "events": [ @@ -106,7 +106,7 @@ } }, "tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py::TestTaskServiceLambda::test_no_such_function": { - "recorded-date": "17-04-2023, 08:26:28", + "recorded-date": "22-06-2023, 13:29:54", "recorded-content": { "get_execution_history": { "events": [ @@ -198,7 +198,7 @@ } }, "tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py::TestTaskServiceLambda::test_raise_exception_catch": { - "recorded-date": "17-04-2023, 08:46:45", + "recorded-date": "22-06-2023, 13:29:36", "recorded-content": { "get_execution_history": { "events": [ @@ -358,7 +358,7 @@ } }, "tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py::TestTaskServiceLambda::test_no_such_function_catch": { - "recorded-date": "17-04-2023, 16:48:27", + "recorded-date": "22-06-2023, 13:30:13", "recorded-content": { "get_execution_history": { "events": [ @@ -511,7 +511,7 @@ } }, "tests/integration/stepfunctions/v2/error_handling/test_task_service_lambda.py::TestTaskServiceLambda::test_invoke_timeout": { - "recorded-date": "26-05-2023, 16:57:07", + "recorded-date": "22-06-2023, 13:30:31", "recorded-content": { "get_execution_history": { "events": [ diff --git a/tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.py b/tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.py index 139de66c8e74d..9123845cd9e0b 100644 --- a/tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.py +++ b/tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.py @@ -36,14 +36,14 @@ def test_send_message_no_such_queue( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): - snapshot.add_transformer(snapshot.transform.sqs_api()) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sqs_api()) queue_name = f"queue-{short_uid()}" queue_url = f"http://no-such-queue-{short_uid()}" - snapshot.add_transformer(RegexTransformer(queue_url, "")) - snapshot.add_transformer(RegexTransformer(queue_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_url, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_name, "")) template = EHT.load_sfn_template(EHT.AWS_SERVICE_SQS_SEND_MSG_CATCH) definition = json.dumps(template) @@ -54,7 +54,7 @@ def test_send_message_no_such_queue( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -64,14 +64,14 @@ def test_send_message_no_such_queue_no_catch( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): - snapshot.add_transformer(snapshot.transform.sqs_api()) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sqs_api()) queue_name = f"queue-{short_uid()}" queue_url = f"http://no-such-queue-{short_uid()}" - snapshot.add_transformer(RegexTransformer(queue_url, "")) - snapshot.add_transformer(RegexTransformer(queue_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_url, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_name, "")) template = ST.load_sfn_template(ST.SQS_SEND_MESSAGE) definition = json.dumps(template) @@ -82,7 +82,7 @@ def test_send_message_no_such_queue_no_catch( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -93,14 +93,14 @@ def test_send_message_empty_body( create_iam_role_for_sfn, create_state_machine, sqs_create_queue, - snapshot, + sfn_snapshot, ): - snapshot.add_transformer(snapshot.transform.sqs_api()) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sqs_api()) queue_name = f"queue-{short_uid()}" queue_url = sqs_create_queue(QueueName=queue_name) - snapshot.add_transformer(RegexTransformer(queue_url, "")) - snapshot.add_transformer(RegexTransformer(queue_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_url, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_name, "")) template = EHT.load_sfn_template(EHT.AWS_SERVICE_SQS_SEND_MSG_CATCH) definition = json.dumps(template) @@ -110,7 +110,7 @@ def test_send_message_empty_body( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) diff --git a/tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.snapshot.json b/tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.snapshot.json index ef5505623bc92..4c7f58dcdcf76 100644 --- a/tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.snapshot.json +++ b/tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.py::TestTaskServiceSqs::test_send_message_no_such_queue": { - "recorded-date": "25-04-2023, 08:53:17", + "recorded-date": "22-06-2023, 13:31:36", "recorded-content": { "get_execution_history": { "events": [ @@ -65,7 +65,7 @@ "id": 5, "previousEventId": 4, "taskFailedEventDetails": { - "cause": "Unable to execute HTTP request: no-such-queue-c3be3514: Name or service not known", + "cause": "Unable to execute HTTP request: no-such-queue-73e08fde: Name or service not known", "error": "SQS.SdkClientException", "resource": "sendMessage", "resourceType": "sqs" @@ -80,7 +80,7 @@ "name": "Start", "output": { "Error": "SQS.SdkClientException", - "Cause": "Unable to execute HTTP request: no-such-queue-c3be3514: Name or service not known" + "Cause": "Unable to execute HTTP request: no-such-queue-73e08fde: Name or service not known" }, "outputDetails": { "truncated": false @@ -95,7 +95,7 @@ "stateEnteredEventDetails": { "input": { "Error": "SQS.SdkClientException", - "Cause": "Unable to execute HTTP request: no-such-queue-c3be3514: Name or service not known" + "Cause": "Unable to execute HTTP request: no-such-queue-73e08fde: Name or service not known" }, "inputDetails": { "truncated": false @@ -112,10 +112,10 @@ "name": "EndWithClientHandler", "output": { "Error": "SQS.SdkClientException", - "Cause": "Unable to execute HTTP request: no-such-queue-c3be3514: Name or service not known", + "Cause": "Unable to execute HTTP request: no-such-queue-73e08fde: Name or service not known", "client_error": { "Error": "SQS.SdkClientException", - "Cause": "Unable to execute HTTP request: no-such-queue-c3be3514: Name or service not known" + "Cause": "Unable to execute HTTP request: no-such-queue-73e08fde: Name or service not known" } }, "outputDetails": { @@ -129,10 +129,10 @@ "executionSucceededEventDetails": { "output": { "Error": "SQS.SdkClientException", - "Cause": "Unable to execute HTTP request: no-such-queue-c3be3514: Name or service not known", + "Cause": "Unable to execute HTTP request: no-such-queue-73e08fde: Name or service not known", "client_error": { "Error": "SQS.SdkClientException", - "Cause": "Unable to execute HTTP request: no-such-queue-c3be3514: Name or service not known" + "Cause": "Unable to execute HTTP request: no-such-queue-73e08fde: Name or service not known" } }, "outputDetails": { @@ -153,7 +153,7 @@ } }, "tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.py::TestTaskServiceSqs::test_send_message_empty_body": { - "recorded-date": "26-04-2023, 16:28:35", + "recorded-date": "22-06-2023, 13:32:07", "recorded-content": { "get_execution_history": { "events": [ @@ -306,7 +306,7 @@ } }, "tests/integration/stepfunctions/v2/error_handling/test_task_service_sqs.py::TestTaskServiceSqs::test_send_message_no_such_queue_no_catch": { - "recorded-date": "25-04-2023, 08:53:29", + "recorded-date": "22-06-2023, 13:31:50", "recorded-content": { "get_execution_history": { "events": [ @@ -371,7 +371,7 @@ "id": 5, "previousEventId": 4, "taskFailedEventDetails": { - "cause": "Unable to execute HTTP request: no-such-queue-734b943e: Name or service not known", + "cause": "Unable to execute HTTP request: no-such-queue-fa484d45: Name or service not known", "error": "SQS.SdkClientException", "resource": "sendMessage", "resourceType": "sqs" @@ -381,7 +381,7 @@ }, { "executionFailedEventDetails": { - "cause": "Unable to execute HTTP request: no-such-queue-734b943e: Name or service not known", + "cause": "Unable to execute HTTP request: no-such-queue-fa484d45: Name or service not known", "error": "SQS.SdkClientException" }, "id": 6, diff --git a/tests/integration/stepfunctions/v2/error_handling/utils.py b/tests/integration/stepfunctions/v2/error_handling/utils.py index 05325b38fb60b..d7e35bd2b2c0b 100644 --- a/tests/integration/stepfunctions/v2/error_handling/utils.py +++ b/tests/integration/stepfunctions/v2/error_handling/utils.py @@ -8,34 +8,34 @@ def _test_sfn_scenario( stepfunctions_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, execution_input, ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) - snapshot.add_transformer( + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer( RegexTransformer( "Extended Request ID: [a-zA-Z0-9-/=+]+", "Extended Request ID: ", ) ) - snapshot.add_transformer( + sfn_snapshot.add_transformer( RegexTransformer("Request ID: [a-zA-Z0-9-]+", "Request ID: ") ) sm_name: str = f"statemachine_{short_uid()}" creation_resp = create_state_machine(name=sm_name, definition=definition, roleArn=snf_role_arn) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) state_machine_arn = creation_resp["stateMachineArn"] exec_resp = stepfunctions_client.start_execution( stateMachineArn=state_machine_arn, input=execution_input ) - snapshot.add_transformer(snapshot.transform.sfn_sm_exec_arn(exec_resp, 0)) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_exec_arn(exec_resp, 0)) execution_arn = exec_resp["executionArn"] await_execution_success(stepfunctions_client=stepfunctions_client, execution_arn=execution_arn) get_execution_history = stepfunctions_client.get_execution_history(executionArn=execution_arn) - snapshot.match("get_execution_history", get_execution_history) + sfn_snapshot.match("get_execution_history", get_execution_history) diff --git a/tests/integration/stepfunctions/v2/intrinsic_functions/test_array.py b/tests/integration/stepfunctions/v2/intrinsic_functions/test_array.py index a676689dde682..464d242e2baa1 100644 --- a/tests/integration/stepfunctions/v2/intrinsic_functions/test_array.py +++ b/tests/integration/stepfunctions/v2/intrinsic_functions/test_array.py @@ -20,17 +20,17 @@ paths=["$..loggingConfiguration", "$..tracingConfiguration", "$..previousEventId"] ) class TestArray: - def test_array_0(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_array_0(self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client): create_and_test_on_inputs( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.ARRAY_0, ["HelloWorld"], ) - def test_array_2(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_array_2(self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client): values = [ "", " ", @@ -48,13 +48,13 @@ def test_array_2(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.ARRAY_2, input_values, ) def test_array_partition( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): arrays = [list(range(i)) for i in range(5)] input_values = list() @@ -65,13 +65,13 @@ def test_array_partition( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.ARRAY_PARTITION, input_values, ) def test_array_contains( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): search_bindings = [ ([], None), @@ -91,12 +91,14 @@ def test_array_contains( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.ARRAY_CONTAINS, input_values, ) - def test_array_range(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_array_range( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): ranges = [ (0, 9, 3), (0, 10, 3), @@ -110,39 +112,39 @@ def test_array_range(self, create_iam_role_for_sfn, create_state_machine, snapsh aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.ARRAY_RANGE, input_values, ) def test_array_get_item( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): input_values = [{"fst": [1, 2, 3, 4, 5, 6, 7, 8, 9], "snd": 5}] create_and_test_on_inputs( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.ARRAY_GET_ITEM, input_values, ) def test_array_length( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): input_values = [[1, 2, 3, 4, 5, 6, 7, 8, 9]] create_and_test_on_inputs( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.ARRAY_LENGTH, input_values, ) def test_array_unique( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): input_values = [ [ @@ -172,7 +174,7 @@ def test_array_unique( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.ARRAY_LENGTH, input_values, ) diff --git a/tests/integration/stepfunctions/v2/intrinsic_functions/test_encode_decode.py b/tests/integration/stepfunctions/v2/intrinsic_functions/test_encode_decode.py index ca26d11578cc6..77172887e1436 100644 --- a/tests/integration/stepfunctions/v2/intrinsic_functions/test_encode_decode.py +++ b/tests/integration/stepfunctions/v2/intrinsic_functions/test_encode_decode.py @@ -19,27 +19,27 @@ ) class TestEncodeDecode: def test_base_64_encode( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): input_values = ["", "Data to encode"] create_and_test_on_inputs( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.BASE_64_ENCODE, input_values, ) def test_base_64_decode( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): input_values = ["", "RGF0YSB0byBlbmNvZGU="] create_and_test_on_inputs( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.BASE_64_DECODE, input_values, ) diff --git a/tests/integration/stepfunctions/v2/intrinsic_functions/test_generic.py b/tests/integration/stepfunctions/v2/intrinsic_functions/test_generic.py index aed251cd0e650..4ad297def47fe 100644 --- a/tests/integration/stepfunctions/v2/intrinsic_functions/test_generic.py +++ b/tests/integration/stepfunctions/v2/intrinsic_functions/test_generic.py @@ -20,18 +20,22 @@ paths=["$..loggingConfiguration", "$..tracingConfiguration", "$..previousEventId"] ) class TestGeneric: - def test_format_1(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_format_1( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): input_values = ["", " ", "HelloWorld", None, 1, 1.1, '{"Arg1": 1, "Arg2": []}'] create_and_test_on_inputs( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.FORMAT_1, input_values, ) - def test_format_2(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_format_2( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): values = [ "", " ", @@ -50,7 +54,7 @@ def test_format_2(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.FORMAT_2, input_values, ) diff --git a/tests/integration/stepfunctions/v2/intrinsic_functions/test_hash_calculations.py b/tests/integration/stepfunctions/v2/intrinsic_functions/test_hash_calculations.py index 48de1e6ccf125..19021a3dc22af 100644 --- a/tests/integration/stepfunctions/v2/intrinsic_functions/test_hash_calculations.py +++ b/tests/integration/stepfunctions/v2/intrinsic_functions/test_hash_calculations.py @@ -18,7 +18,7 @@ paths=["$..loggingConfiguration", "$..tracingConfiguration", "$..previousEventId"] ) class TestHashCalculations: - def test_hash(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_hash(self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client): hash_bindings = [ ("input data", "MD5"), ("input data", "SHA-1"), @@ -31,7 +31,7 @@ def test_hash(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.HASH, input_values, ) diff --git a/tests/integration/stepfunctions/v2/intrinsic_functions/test_json_manipulation.py b/tests/integration/stepfunctions/v2/intrinsic_functions/test_json_manipulation.py index 90a9cf6b82f6e..6ce25d2cf6a59 100644 --- a/tests/integration/stepfunctions/v2/intrinsic_functions/test_json_manipulation.py +++ b/tests/integration/stepfunctions/v2/intrinsic_functions/test_json_manipulation.py @@ -21,7 +21,7 @@ ) class TestJsonManipulation: def test_string_to_json( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): input_values = [ "", @@ -39,13 +39,13 @@ def test_string_to_json( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.STRING_TO_JSON, input_values, ) def test_json_to_string( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): input_values = [ "null", @@ -62,12 +62,14 @@ def test_json_to_string( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.JSON_TO_STRING, input_values_jsons, ) - def test_json_merge(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_json_merge( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): merge_bindings = [ ({"a": {"a1": 1, "a2": 2}, "b": 2, "d": 3}, {"a": {"a3": 1, "a4": 2}, "c": 3, "d": 4}), ] @@ -78,7 +80,7 @@ def test_json_merge(self, create_iam_role_for_sfn, create_state_machine, snapsho aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.JSON_MERGE, input_values, ) diff --git a/tests/integration/stepfunctions/v2/intrinsic_functions/test_math_operations.py b/tests/integration/stepfunctions/v2/intrinsic_functions/test_math_operations.py index 0bdf60557f3c1..b9af32c87eaa3 100644 --- a/tests/integration/stepfunctions/v2/intrinsic_functions/test_math_operations.py +++ b/tests/integration/stepfunctions/v2/intrinsic_functions/test_math_operations.py @@ -22,17 +22,19 @@ paths=["$..loggingConfiguration", "$..tracingConfiguration", "$..previousEventId"] ) class TestMathOperations: - def test_math_random(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_math_random( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) - snapshot.add_transformer( + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer( JsonpathTransformer( "$..events..executionSucceededEventDetails.output.FunctionResult", "RandomNumberGenerated", replace_reference=False, ) ) - snapshot.add_transformer( + sfn_snapshot.add_transformer( JsonpathTransformer( "$..events..stateExitedEventDetails.output.FunctionResult", "RandomNumberGenerated", @@ -47,7 +49,7 @@ def test_math_random(self, create_iam_role_for_sfn, create_state_machine, snapsh creation_resp = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) state_machine_arn = creation_resp["stateMachineArn"] start_end_tuples = [(12.50, 44.51), (9999, 99999), (-99999, -9999)] @@ -60,7 +62,7 @@ def test_math_random(self, create_iam_role_for_sfn, create_state_machine, snapsh exec_resp = aws_client.stepfunctions.start_execution( stateMachineArn=state_machine_arn, input=exec_input ) - snapshot.add_transformer(snapshot.transform.sfn_sm_exec_arn(exec_resp, i)) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_exec_arn(exec_resp, i)) execution_arn = exec_resp["executionArn"] await_execution_success( @@ -70,21 +72,21 @@ def test_math_random(self, create_iam_role_for_sfn, create_state_machine, snapsh exec_hist_resp = aws_client.stepfunctions.get_execution_history( executionArn=execution_arn ) - snapshot.match(f"exec_hist_resp_{i}", exec_hist_resp) + sfn_snapshot.match(f"exec_hist_resp_{i}", exec_hist_resp) def test_math_random_seeded( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) - snapshot.add_transformer( + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer( JsonpathTransformer( "$..events..executionSucceededEventDetails.output.FunctionResult", "RandomNumberGenerated", replace_reference=False, ) ) - snapshot.add_transformer( + sfn_snapshot.add_transformer( JsonpathTransformer( "$..events..stateExitedEventDetails.output.FunctionResult", "RandomNumberGenerated", @@ -99,7 +101,7 @@ def test_math_random_seeded( creation_resp = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) state_machine_arn = creation_resp["stateMachineArn"] input_value = {"fst": 0, "snd": 999, "trd": 3} @@ -109,7 +111,7 @@ def test_math_random_seeded( exec_resp = aws_client.stepfunctions.start_execution( stateMachineArn=state_machine_arn, input=exec_input ) - snapshot.add_transformer(snapshot.transform.sfn_sm_exec_arn(exec_resp, 0)) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_exec_arn(exec_resp, 0)) execution_arn = exec_resp["executionArn"] await_execution_success( @@ -117,9 +119,11 @@ def test_math_random_seeded( ) exec_hist_resp = aws_client.stepfunctions.get_execution_history(executionArn=execution_arn) - snapshot.match("exec_hist_resp", exec_hist_resp) + sfn_snapshot.match("exec_hist_resp", exec_hist_resp) - def test_math_add(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_math_add( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): add_tuples = [(-9, 3), (1.49, 1.50), (1.50, 1.51), (-1.49, -1.50), (-1.50, -1.51)] input_values = list() for fst, snd in add_tuples: @@ -128,7 +132,7 @@ def test_math_add(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.MATH_ADD, input_values, ) diff --git a/tests/integration/stepfunctions/v2/intrinsic_functions/test_string_operations.py b/tests/integration/stepfunctions/v2/intrinsic_functions/test_string_operations.py index 57cd79ce359e4..ac73f08260b32 100644 --- a/tests/integration/stepfunctions/v2/intrinsic_functions/test_string_operations.py +++ b/tests/integration/stepfunctions/v2/intrinsic_functions/test_string_operations.py @@ -19,7 +19,7 @@ ) class TestStringOperations: def test_string_split( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): input_values = [ {"fst": "1,2,3,4,5", "snd": ","}, @@ -29,7 +29,7 @@ def test_string_split( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, IFT.STRING_SPLIT, input_values, ) diff --git a/tests/integration/stepfunctions/v2/intrinsic_functions/test_unique_id_generation.py b/tests/integration/stepfunctions/v2/intrinsic_functions/test_unique_id_generation.py index 29825e0b2a4e4..c7e7d7b2ba8d2 100644 --- a/tests/integration/stepfunctions/v2/intrinsic_functions/test_unique_id_generation.py +++ b/tests/integration/stepfunctions/v2/intrinsic_functions/test_unique_id_generation.py @@ -19,9 +19,9 @@ paths=["$..loggingConfiguration", "$..tracingConfiguration", "$..previousEventId"] ) class TestUniqueIdGeneration: - def test_uuid(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_uuid(self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) sm_name: str = f"statemachine_{short_uid()}" definition = IFT.load_sfn_template(IFT.UUID) @@ -30,11 +30,11 @@ def test_uuid(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws creation_resp = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) state_machine_arn = creation_resp["stateMachineArn"] exec_resp = aws_client.stepfunctions.start_execution(stateMachineArn=state_machine_arn) - snapshot.add_transformer(snapshot.transform.sfn_sm_exec_arn(exec_resp, 0)) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_exec_arn(exec_resp, 0)) execution_arn = exec_resp["executionArn"] await_execution_success( @@ -46,6 +46,6 @@ def test_uuid(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws "$..executionSucceededEventDetails..output", exec_hist_resp ) uuid = json.loads(output)[IFT.FUNCTION_OUTPUT_KEY] - snapshot.add_transformer(RegexTransformer(uuid, "generated-uuid")) + sfn_snapshot.add_transformer(RegexTransformer(uuid, "generated-uuid")) - snapshot.match("exec_hist_resp", exec_hist_resp) + sfn_snapshot.match("exec_hist_resp", exec_hist_resp) diff --git a/tests/integration/stepfunctions/v2/intrinsic_functions/utils.py b/tests/integration/stepfunctions/v2/intrinsic_functions/utils.py index dfea3786de650..6ea5b82817ce9 100644 --- a/tests/integration/stepfunctions/v2/intrinsic_functions/utils.py +++ b/tests/integration/stepfunctions/v2/intrinsic_functions/utils.py @@ -12,12 +12,12 @@ def create_and_test_on_inputs( stepfunctions_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ift_template, input_values, ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) sm_name: str = f"statemachine_{short_uid()}" definition = IFT.load_sfn_template(ift_template) @@ -26,7 +26,7 @@ def create_and_test_on_inputs( creation_resp = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) state_machine_arn = creation_resp["stateMachineArn"] for i, input_value in enumerate(input_values): @@ -36,7 +36,7 @@ def create_and_test_on_inputs( exec_resp = stepfunctions_client.start_execution( stateMachineArn=state_machine_arn, input=exec_input ) - snapshot.add_transformer(snapshot.transform.sfn_sm_exec_arn(exec_resp, i)) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_exec_arn(exec_resp, i)) execution_arn = exec_resp["executionArn"] await_execution_success( @@ -44,4 +44,4 @@ def create_and_test_on_inputs( ) exec_hist_resp = stepfunctions_client.get_execution_history(executionArn=execution_arn) - snapshot.match(f"exec_hist_resp_{i}", exec_hist_resp) + sfn_snapshot.match(f"exec_hist_resp_{i}", exec_hist_resp) diff --git a/tests/integration/stepfunctions/v2/scenarios/test_sfn_scenarios.py b/tests/integration/stepfunctions/v2/scenarios/test_sfn_scenarios.py index 80708b4fd368b..034d6da76ea7f 100644 --- a/tests/integration/stepfunctions/v2/scenarios/test_sfn_scenarios.py +++ b/tests/integration/stepfunctions/v2/scenarios/test_sfn_scenarios.py @@ -25,7 +25,9 @@ class RunConfig(TypedDict): @pytest.mark.skip_snapshot_verify(condition=is_old_provider, paths=["$..tracingConfiguration"]) class TestFundamental: @staticmethod - def _record_execution(stepfunctions_client, snapshot, statemachine_arn, run_config: RunConfig): + def _record_execution( + stepfunctions_client, sfn_snapshot, statemachine_arn, run_config: RunConfig + ): """ This pattern is used throughout all stepfunctions scenario tests. It starts a single state machine execution and snapshots all related information for the execution. @@ -37,8 +39,10 @@ def _record_execution(stepfunctions_client, snapshot, statemachine_arn, run_conf ) execution_arn = start_execution_result["executionArn"] execution_id = execution_arn.split(":")[-1] - snapshot.add_transformer(snapshot.transform.regex(execution_id, f"")) - snapshot.match(f"{name}__start_execution_result", start_execution_result) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.regex(execution_id, f"") + ) + sfn_snapshot.match(f"{name}__start_execution_result", start_execution_result) def execution_done(): # wait until execution is successful (or a different terminal state) @@ -49,16 +53,16 @@ def execution_done(): wait_until(execution_done) describe_ex_done = stepfunctions_client.describe_execution(executionArn=execution_arn) - snapshot.match(f"{name}__describe_ex_done", describe_ex_done) + sfn_snapshot.match(f"{name}__describe_ex_done", describe_ex_done) execution_history = stepfunctions_client.get_execution_history(executionArn=execution_arn) - snapshot.match(f"{name}__execution_history", execution_history) + sfn_snapshot.match(f"{name}__execution_history", execution_history) assert_state = run_config.get("terminal_state") if assert_state: assert describe_ex_done["status"] == assert_state @pytest.mark.aws_validated - def test_path_based_on_data(self, deploy_cfn_template, snapshot, aws_client): + def test_path_based_on_data(self, deploy_cfn_template, sfn_snapshot, aws_client): """ Based on the "path-based-on-data" sample workflow on serverlessland.com @@ -73,15 +77,15 @@ def test_path_based_on_data(self, deploy_cfn_template, snapshot, aws_client): statemachine_arn = deployment.outputs["StateMachineArn"] statemachine_name = deployment.outputs["StateMachineName"] role_name = deployment.outputs["RoleName"] - snapshot.add_transformer(snapshot.transform.regex(role_name, "")) - snapshot.add_transformer( - snapshot.transform.regex(statemachine_name, "") + sfn_snapshot.add_transformer(sfn_snapshot.transform.regex(role_name, "")) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.regex(statemachine_name, "") ) describe_statemachine = aws_client.stepfunctions.describe_state_machine( stateMachineArn=statemachine_arn ) - snapshot.match("describe_statemachine", describe_statemachine) + sfn_snapshot.match("describe_statemachine", describe_statemachine) run_configs = [ { @@ -102,7 +106,9 @@ def test_path_based_on_data(self, deploy_cfn_template, snapshot, aws_client): ] for run_config in run_configs: - self._record_execution(aws_client.stepfunctions, snapshot, statemachine_arn, run_config) + self._record_execution( + aws_client.stepfunctions, sfn_snapshot, statemachine_arn, run_config + ) @pytest.mark.skip_snapshot_verify( condition=is_old_provider, @@ -114,7 +120,7 @@ def test_path_based_on_data(self, deploy_cfn_template, snapshot, aws_client): ], ) @pytest.mark.aws_validated - def test_wait_for_callback(self, deploy_cfn_template, snapshot, aws_client): + def test_wait_for_callback(self, deploy_cfn_template, sfn_snapshot, aws_client): """ Based on the "wait-for-callback" sample workflow on serverlessland.com """ @@ -126,15 +132,15 @@ def test_wait_for_callback(self, deploy_cfn_template, snapshot, aws_client): statemachine_name = deployment.outputs["StateMachineName"] role_name = deployment.outputs["RoleName"] - snapshot.add_transformer(snapshot.transform.regex(role_name, "")) - snapshot.add_transformer( - snapshot.transform.regex(statemachine_name, "") + sfn_snapshot.add_transformer(sfn_snapshot.transform.regex(role_name, "")) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.regex(statemachine_name, "") ) - snapshot.add_transformer(snapshot.transform.key_value("QueueUrl"), priority=-1) - snapshot.add_transformer(snapshot.transform.key_value("TaskToken")) - snapshot.add_transformer(snapshot.transform.key_value("MD5OfMessageBody")) - snapshot.add_transformer( - snapshot.transform.key_value( + sfn_snapshot.add_transformer(sfn_snapshot.transform.key_value("QueueUrl"), priority=-1) + sfn_snapshot.add_transformer(sfn_snapshot.transform.key_value("TaskToken")) + sfn_snapshot.add_transformer(sfn_snapshot.transform.key_value("MD5OfMessageBody")) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.key_value( "Date", value_replacement="", reference_replacement=False ) ) @@ -142,7 +148,7 @@ def test_wait_for_callback(self, deploy_cfn_template, snapshot, aws_client): describe_statemachine = aws_client.stepfunctions.describe_state_machine( stateMachineArn=statemachine_arn ) - snapshot.match("describe_statemachine", describe_statemachine) + sfn_snapshot.match("describe_statemachine", describe_statemachine) run_configs = [ { @@ -158,13 +164,17 @@ def test_wait_for_callback(self, deploy_cfn_template, snapshot, aws_client): ] for run_config in run_configs: - self._record_execution(aws_client.stepfunctions, snapshot, statemachine_arn, run_config) + self._record_execution( + aws_client.stepfunctions, sfn_snapshot, statemachine_arn, run_config + ) @pytest.mark.skip_snapshot_verify( condition=is_old_provider, paths=["$..Headers", "$..StatusText"] ) @pytest.mark.aws_validated - def test_step_functions_calling_api_gateway(self, deploy_cfn_template, snapshot, aws_client): + def test_step_functions_calling_api_gateway( + self, deploy_cfn_template, sfn_snapshot, aws_client + ): """ Based on the "step-functions-calling-api-gateway" sample workflow on serverlessland.com """ @@ -178,33 +188,37 @@ def test_step_functions_calling_api_gateway(self, deploy_cfn_template, snapshot, statemachine_name = deployment.outputs["StateMachineName"] role_name = deployment.outputs["RoleName"] - snapshot.add_transformer(snapshot.transform.regex(role_name, "")) - snapshot.add_transformer( - snapshot.transform.regex(statemachine_name, "") + sfn_snapshot.add_transformer(sfn_snapshot.transform.regex(role_name, "")) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.regex(statemachine_name, "") ) - snapshot.add_transformer( - snapshot.transform.key_value("X-Amz-Cf-Pop", reference_replacement=False) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.key_value("X-Amz-Cf-Pop", reference_replacement=False) ) - snapshot.add_transformer( - snapshot.transform.key_value("X-Amz-Cf-Id", reference_replacement=False) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.key_value("X-Amz-Cf-Id", reference_replacement=False) ) - snapshot.add_transformer( - snapshot.transform.key_value("X-Amzn-Trace-Id", reference_replacement=False) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.key_value("X-Amzn-Trace-Id", reference_replacement=False) ) - snapshot.add_transformer( - snapshot.transform.key_value("x-amz-apigw-id", reference_replacement=False) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.key_value("x-amz-apigw-id", reference_replacement=False) ) - snapshot.add_transformer( - snapshot.transform.key_value("x-amzn-RequestId", reference_replacement=False) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.key_value("x-amzn-RequestId", reference_replacement=False) ) - snapshot.add_transformer(snapshot.transform.key_value("Date", reference_replacement=False)) - snapshot.add_transformer(snapshot.transform.key_value("Via", reference_replacement=False)) - snapshot.add_transformer(snapshot.transform.key_value("ApiEndpoint"), priority=-1) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.key_value("Date", reference_replacement=False) + ) + sfn_snapshot.add_transformer( + sfn_snapshot.transform.key_value("Via", reference_replacement=False) + ) + sfn_snapshot.add_transformer(sfn_snapshot.transform.key_value("ApiEndpoint"), priority=-1) describe_statemachine = aws_client.stepfunctions.describe_state_machine( stateMachineArn=statemachine_arn ) - snapshot.match("describe_statemachine", describe_statemachine) + sfn_snapshot.match("describe_statemachine", describe_statemachine) run_configs = [ { @@ -220,4 +234,6 @@ def test_step_functions_calling_api_gateway(self, deploy_cfn_template, snapshot, ] for run_config in run_configs: - self._record_execution(aws_client.stepfunctions, snapshot, statemachine_arn, run_config) + self._record_execution( + aws_client.stepfunctions, sfn_snapshot, statemachine_arn, run_config + ) diff --git a/tests/integration/stepfunctions/v2/services/test_aws_sdk_task_service.py b/tests/integration/stepfunctions/v2/services/test_aws_sdk_task_service.py index 934517de245ba..3f9a51942f0ad 100644 --- a/tests/integration/stepfunctions/v2/services/test_aws_sdk_task_service.py +++ b/tests/integration/stepfunctions/v2/services/test_aws_sdk_task_service.py @@ -25,7 +25,7 @@ class TestTaskServiceAwsSdk: @pytest.mark.skip_snapshot_verify(paths=["$..SecretList"]) def test_list_secrets( - self, aws_client, create_iam_role_for_sfn, create_state_machine, snapshot + self, aws_client, create_iam_role_for_sfn, create_state_machine, sfn_snapshot ): template = ST.load_sfn_template(ST.AWSSDK_LIST_SECRETS) definition = json.dumps(template) @@ -34,7 +34,7 @@ def test_list_secrets( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) diff --git a/tests/integration/stepfunctions/v2/services/test_aws_sdk_task_service.snapshot.json b/tests/integration/stepfunctions/v2/services/test_aws_sdk_task_service.snapshot.json index 7cd14abf272fc..4e4a167d174b0 100644 --- a/tests/integration/stepfunctions/v2/services/test_aws_sdk_task_service.snapshot.json +++ b/tests/integration/stepfunctions/v2/services/test_aws_sdk_task_service.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/services/test_aws_sdk_task_service.py::TestTaskServiceAwsSdk::test_list_secrets": { - "recorded-date": "26-04-2023, 22:49:58", + "recorded-date": "22-06-2023, 13:59:49", "recorded-content": { "get_execution_history": { "events": [ diff --git a/tests/integration/stepfunctions/v2/services/test_lambda_task.py b/tests/integration/stepfunctions/v2/services/test_lambda_task.py index 757ff87aaee6c..b9d9cdab7bed7 100644 --- a/tests/integration/stepfunctions/v2/services/test_lambda_task.py +++ b/tests/integration/stepfunctions/v2/services/test_lambda_task.py @@ -25,7 +25,7 @@ def test_invoke_pipe( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_1_name = f"lambda_1_func_{short_uid()}" create_1_res = create_lambda_function( @@ -33,7 +33,7 @@ def test_invoke_pipe( handler_file=lambda_functions.ECHO_FUNCTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_1_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_1_name, "")) function_2_name = f"lambda_2_func_{short_uid()}" create_2_res = create_lambda_function( @@ -41,7 +41,7 @@ def test_invoke_pipe( handler_file=lambda_functions.ECHO_FUNCTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_2_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_2_name, "")) template = ST.load_sfn_template(ST.LAMBDA_INVOKE_PIPE) template["States"]["step1"]["Resource"] = create_1_res["CreateFunctionResponse"][ @@ -57,7 +57,7 @@ def test_invoke_pipe( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) diff --git a/tests/integration/stepfunctions/v2/services/test_lambda_task.snapshot.json b/tests/integration/stepfunctions/v2/services/test_lambda_task.snapshot.json index 184e4810c089f..f1dd6ef77d38c 100644 --- a/tests/integration/stepfunctions/v2/services/test_lambda_task.snapshot.json +++ b/tests/integration/stepfunctions/v2/services/test_lambda_task.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/services/test_lambda_task.py::TestTaskLambda::test_invoke_pipe": { - "recorded-date": "05-05-2023, 15:18:46", + "recorded-date": "22-06-2023, 13:34:18", "recorded-content": { "get_execution_history": { "events": [ diff --git a/tests/integration/stepfunctions/v2/services/test_lambda_task_service.py b/tests/integration/stepfunctions/v2/services/test_lambda_task_service.py index 5f8e54c7e0685..62de05b6213ad 100644 --- a/tests/integration/stepfunctions/v2/services/test_lambda_task_service.py +++ b/tests/integration/stepfunctions/v2/services/test_lambda_task_service.py @@ -32,7 +32,7 @@ def test_invoke( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_func_{short_uid()}" create_lambda_function( @@ -40,7 +40,7 @@ def test_invoke( handler_file=ST.LAMBDA_ID_FUNCTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = ST.load_sfn_template(ST.LAMBDA_INVOKE) definition = json.dumps(template) @@ -50,7 +50,7 @@ def test_invoke( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -62,7 +62,7 @@ def test_invoke_unsupported_param( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_func_{short_uid()}" create_lambda_function( @@ -70,8 +70,8 @@ def test_invoke_unsupported_param( handler_file=ST.LAMBDA_ID_FUNCTION, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) - snapshot.add_transformer( + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer( JsonpathTransformer("$..LogResult", "LogResult", replace_reference=True) ) @@ -85,7 +85,7 @@ def test_invoke_unsupported_param( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -96,7 +96,7 @@ def test_list_functions( aws_client, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, ): template = ST.load_sfn_template(ST.LAMBDA_LIST_FUNCTIONS) definition = json.dumps(template) @@ -106,7 +106,7 @@ def test_list_functions( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) diff --git a/tests/integration/stepfunctions/v2/services/test_lambda_task_service.snapshot.json b/tests/integration/stepfunctions/v2/services/test_lambda_task_service.snapshot.json index cfc7788a3ed3c..4858011f636b4 100644 --- a/tests/integration/stepfunctions/v2/services/test_lambda_task_service.snapshot.json +++ b/tests/integration/stepfunctions/v2/services/test_lambda_task_service.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/services/test_lambda_task_service.py::TestTaskServiceLambda::test_invoke": { - "recorded-date": "20-06-2023, 22:54:17", + "recorded-date": "22-06-2023, 13:39:30", "recorded-content": { "get_execution_history": { "events": [ @@ -85,294 +85,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Tue, 20 Jun 2023 20:54:16 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - ], - "Content-Type": [ - "application/json" - ] - }, - "HttpHeaders": { - "Connection": "keep-alive", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:16 GMT", - "X-Amz-Executed-Version": "$LATEST", - "x-amzn-Remapped-Content-Length": "0", - "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - }, - "HttpStatusCode": 200 - }, - "SdkResponseMetadata": { - "RequestId": "" - }, - "StatusCode": 200 - }, - "outputDetails": { - "truncated": false - }, - "resource": "invoke", - "resourceType": "lambda" - }, - "timestamp": "timestamp", - "type": "TaskSucceeded" - }, - { - "id": 6, - "previousEventId": 5, - "stateExitedEventDetails": { - "name": "Start", - "output": { - "ExecutedVersion": "$LATEST", - "Payload": {}, - "SdkHttpMetadata": { - "AllHttpHeaders": { - "X-Amz-Executed-Version": [ - "$LATEST" - ], - "x-amzn-Remapped-Content-Length": [ - "0" - ], - "Connection": [ - "keep-alive" - ], - "x-amzn-RequestId": [ - "" - ], - "Content-Length": [ - "2" - ], - "Date": [ - "Tue, 20 Jun 2023 20:54:16 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - ], - "Content-Type": [ - "application/json" - ] - }, - "HttpHeaders": { - "Connection": "keep-alive", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:16 GMT", - "X-Amz-Executed-Version": "$LATEST", - "x-amzn-Remapped-Content-Length": "0", - "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - }, - "HttpStatusCode": 200 - }, - "SdkResponseMetadata": { - "RequestId": "" - }, - "StatusCode": 200 - }, - "outputDetails": { - "truncated": false - } - }, - "timestamp": "timestamp", - "type": "TaskStateExited" - }, - { - "id": 7, - "previousEventId": 6, - "stateEnteredEventDetails": { - "input": { - "ExecutedVersion": "$LATEST", - "Payload": {}, - "SdkHttpMetadata": { - "AllHttpHeaders": { - "X-Amz-Executed-Version": [ - "$LATEST" - ], - "x-amzn-Remapped-Content-Length": [ - "0" - ], - "Connection": [ - "keep-alive" - ], - "x-amzn-RequestId": [ - "" - ], - "Content-Length": [ - "2" - ], - "Date": [ - "Tue, 20 Jun 2023 20:54:16 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - ], - "Content-Type": [ - "application/json" - ] - }, - "HttpHeaders": { - "Connection": "keep-alive", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:16 GMT", - "X-Amz-Executed-Version": "$LATEST", - "x-amzn-Remapped-Content-Length": "0", - "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - }, - "HttpStatusCode": 200 - }, - "SdkResponseMetadata": { - "RequestId": "" - }, - "StatusCode": 200 - }, - "inputDetails": { - "truncated": false - }, - "name": "EndWithFinal" - }, - "timestamp": "timestamp", - "type": "PassStateEntered" - }, - { - "id": 8, - "previousEventId": 7, - "stateExitedEventDetails": { - "name": "EndWithFinal", - "output": { - "ExecutedVersion": "$LATEST", - "Payload": {}, - "SdkHttpMetadata": { - "AllHttpHeaders": { - "X-Amz-Executed-Version": [ - "$LATEST" - ], - "x-amzn-Remapped-Content-Length": [ - "0" - ], - "Connection": [ - "keep-alive" - ], - "x-amzn-RequestId": [ - "" - ], - "Content-Length": [ - "2" - ], - "Date": [ - "Tue, 20 Jun 2023 20:54:16 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - ], - "Content-Type": [ - "application/json" - ] - }, - "HttpHeaders": { - "Connection": "keep-alive", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:16 GMT", - "X-Amz-Executed-Version": "$LATEST", - "x-amzn-Remapped-Content-Length": "0", - "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - }, - "HttpStatusCode": 200 - }, - "SdkResponseMetadata": { - "RequestId": "" - }, - "StatusCode": 200, - "final": { - "ExecutedVersion": "$LATEST", - "Payload": {}, - "SdkHttpMetadata": { - "AllHttpHeaders": { - "X-Amz-Executed-Version": [ - "$LATEST" - ], - "x-amzn-Remapped-Content-Length": [ - "0" - ], - "Connection": [ - "keep-alive" - ], - "x-amzn-RequestId": [ - "" - ], - "Content-Length": [ - "2" - ], - "Date": [ - "Tue, 20 Jun 2023 20:54:16 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - ], - "Content-Type": [ - "application/json" - ] - }, - "HttpHeaders": { - "Connection": "keep-alive", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:16 GMT", - "X-Amz-Executed-Version": "$LATEST", - "x-amzn-Remapped-Content-Length": "0", - "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - }, - "HttpStatusCode": 200 - }, - "SdkResponseMetadata": { - "RequestId": "" - }, - "StatusCode": 200 - } - }, - "outputDetails": { - "truncated": false - } - }, - "timestamp": "timestamp", - "type": "PassStateExited" - }, - { - "executionSucceededEventDetails": { - "output": { - "ExecutedVersion": "$LATEST", - "Payload": {}, - "SdkHttpMetadata": { - "AllHttpHeaders": { - "X-Amz-Executed-Version": [ - "$LATEST" - ], - "x-amzn-Remapped-Content-Length": [ - "0" - ], - "Connection": [ - "keep-alive" - ], - "x-amzn-RequestId": [ - "" - ], - "Content-Length": [ - "2" - ], - "Date": [ - "Tue, 20 Jun 2023 20:54:16 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -381,196 +95,11 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:16 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - }, - "HttpStatusCode": 200 - }, - "SdkResponseMetadata": { - "RequestId": "" - }, - "StatusCode": 200, - "final": { - "ExecutedVersion": "$LATEST", - "Payload": {}, - "SdkHttpMetadata": { - "AllHttpHeaders": { - "X-Amz-Executed-Version": [ - "$LATEST" - ], - "x-amzn-Remapped-Content-Length": [ - "0" - ], - "Connection": [ - "keep-alive" - ], - "x-amzn-RequestId": [ - "" - ], - "Content-Length": [ - "2" - ], - "Date": [ - "Tue, 20 Jun 2023 20:54:16 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - ], - "Content-Type": [ - "application/json" - ] - }, - "HttpHeaders": { - "Connection": "keep-alive", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:16 GMT", - "X-Amz-Executed-Version": "$LATEST", - "x-amzn-Remapped-Content-Length": "0", - "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-649211f7-11790af4260557957b4efd33;sampled=0" - }, - "HttpStatusCode": 200 - }, - "SdkResponseMetadata": { - "RequestId": "" - }, - "StatusCode": 200 - } - }, - "outputDetails": { - "truncated": false - } - }, - "id": 9, - "previousEventId": 8, - "timestamp": "timestamp", - "type": "ExecutionSucceeded" - } - ], - "ResponseMetadata": { - "HTTPHeaders": {}, - "HTTPStatusCode": 200 - } - } - } - }, - "tests/integration/stepfunctions/v2/services/test_lambda_task_service.py::TestTaskServiceLambda::test_invoke_unsupported_param": { - "recorded-date": "20-06-2023, 22:54:35", - "recorded-content": { - "get_execution_history": { - "events": [ - { - "executionStartedEventDetails": { - "input": { - "FunctionName": "", - "Payload": null, - "LogType": "Tail" - }, - "inputDetails": { - "truncated": false - }, - "roleArn": "snf_role_arn" - }, - "id": 1, - "previousEventId": 0, - "timestamp": "timestamp", - "type": "ExecutionStarted" - }, - { - "id": 2, - "previousEventId": 0, - "stateEnteredEventDetails": { - "input": { - "FunctionName": "", - "Payload": null, - "LogType": "Tail" - }, - "inputDetails": { - "truncated": false - }, - "name": "Start" - }, - "timestamp": "timestamp", - "type": "TaskStateEntered" - }, - { - "id": 3, - "previousEventId": 2, - "taskScheduledEventDetails": { - "parameters": { - "FunctionName": "", - "LogType": "Tail", - "Payload": null - }, - "region": "", - "resource": "invoke", - "resourceType": "lambda" - }, - "timestamp": "timestamp", - "type": "TaskScheduled" - }, - { - "id": 4, - "previousEventId": 3, - "taskStartedEventDetails": { - "resource": "invoke", - "resourceType": "lambda" - }, - "timestamp": "timestamp", - "type": "TaskStarted" - }, - { - "id": 5, - "previousEventId": 4, - "taskSucceededEventDetails": { - "output": { - "ExecutedVersion": "$LATEST", - "LogResult": "", - "Payload": {}, - "SdkHttpMetadata": { - "AllHttpHeaders": { - "X-Amz-Log-Result": [ - "" - ], - "X-Amz-Executed-Version": [ - "$LATEST" - ], - "x-amzn-Remapped-Content-Length": [ - "0" - ], - "Connection": [ - "keep-alive" - ], - "x-amzn-RequestId": [ - "" - ], - "Content-Length": [ - "2" - ], - "Date": [ - "Tue, 20 Jun 2023 20:54:33 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" - ], - "Content-Type": [ - "application/json" - ] - }, - "HttpHeaders": { - "Connection": "keep-alive", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:33 GMT", - "X-Amz-Executed-Version": "$LATEST", - "X-Amz-Log-Result": "", - "x-amzn-Remapped-Content-Length": "0", - "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -595,13 +124,9 @@ "name": "Start", "output": { "ExecutedVersion": "$LATEST", - "LogResult": "", "Payload": {}, "SdkHttpMetadata": { "AllHttpHeaders": { - "X-Amz-Log-Result": [ - "" - ], "X-Amz-Executed-Version": [ "$LATEST" ], @@ -617,12 +142,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Tue, 20 Jun 2023 20:54:33 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -631,12 +152,11 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:33 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", - "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -658,13 +178,9 @@ "stateEnteredEventDetails": { "input": { "ExecutedVersion": "$LATEST", - "LogResult": "", "Payload": {}, "SdkHttpMetadata": { "AllHttpHeaders": { - "X-Amz-Log-Result": [ - "" - ], "X-Amz-Executed-Version": [ "$LATEST" ], @@ -680,12 +196,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Tue, 20 Jun 2023 20:54:33 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -694,12 +206,11 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:33 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", - "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -723,13 +234,9 @@ "name": "EndWithFinal", "output": { "ExecutedVersion": "$LATEST", - "LogResult": "", "Payload": {}, "SdkHttpMetadata": { "AllHttpHeaders": { - "X-Amz-Log-Result": [ - "" - ], "X-Amz-Executed-Version": [ "$LATEST" ], @@ -745,12 +252,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Tue, 20 Jun 2023 20:54:33 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -759,12 +262,11 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:33 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", - "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -774,13 +276,9 @@ "StatusCode": 200, "final": { "ExecutedVersion": "$LATEST", - "LogResult": "", "Payload": {}, "SdkHttpMetadata": { "AllHttpHeaders": { - "X-Amz-Log-Result": [ - "" - ], "X-Amz-Executed-Version": [ "$LATEST" ], @@ -796,12 +294,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Tue, 20 Jun 2023 20:54:33 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -810,12 +304,11 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:33 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", - "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -836,13 +329,9 @@ "executionSucceededEventDetails": { "output": { "ExecutedVersion": "$LATEST", - "LogResult": "", "Payload": {}, "SdkHttpMetadata": { "AllHttpHeaders": { - "X-Amz-Log-Result": [ - "" - ], "X-Amz-Executed-Version": [ "$LATEST" ], @@ -858,12 +347,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Tue, 20 Jun 2023 20:54:33 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -872,12 +357,11 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:33 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", - "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -887,13 +371,9 @@ "StatusCode": 200, "final": { "ExecutedVersion": "$LATEST", - "LogResult": "", "Payload": {}, "SdkHttpMetadata": { "AllHttpHeaders": { - "X-Amz-Log-Result": [ - "" - ], "X-Amz-Executed-Version": [ "$LATEST" ], @@ -909,12 +389,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Tue, 20 Jun 2023 20:54:33 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -923,12 +399,11 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Tue, 20 Jun 2023 20:54:33 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", - "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-64921209-2c3f56325a0dd82140e7286f;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -956,7 +431,7 @@ } }, "tests/integration/stepfunctions/v2/services/test_lambda_task_service.py::TestTaskServiceLambda::test_invoke_unsupported_param": { - "recorded-date": "11-05-2023, 11:06:54", + "recorded-date": "22-06-2023, 14:15:28", "recorded-content": { "get_execution_history": { "events": [ @@ -1048,12 +523,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Thu, 11 May 2023 09:06:52 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -1062,12 +533,12 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Thu, 11 May 2023 09:06:52 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -1114,12 +585,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Thu, 11 May 2023 09:06:52 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -1128,12 +595,12 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Thu, 11 May 2023 09:06:52 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -1177,12 +644,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Thu, 11 May 2023 09:06:52 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -1191,12 +654,12 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Thu, 11 May 2023 09:06:52 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -1242,12 +705,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Thu, 11 May 2023 09:06:52 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -1256,12 +715,12 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Thu, 11 May 2023 09:06:52 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -1293,12 +752,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Thu, 11 May 2023 09:06:52 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -1307,12 +762,12 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Thu, 11 May 2023 09:06:52 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -1355,12 +810,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Thu, 11 May 2023 09:06:52 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -1369,12 +820,12 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Thu, 11 May 2023 09:06:52 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, @@ -1406,12 +857,8 @@ "Content-Length": [ "2" ], - "Date": [ - "Thu, 11 May 2023 09:06:52 GMT" - ], - "X-Amzn-Trace-Id": [ - "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" - ], + "Date": "date", + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id", "Content-Type": [ "application/json" ] @@ -1420,12 +867,12 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "Date": "Thu, 11 May 2023 09:06:52 GMT", + "Date": "date", "X-Amz-Executed-Version": "$LATEST", "X-Amz-Log-Result": "", "x-amzn-Remapped-Content-Length": "0", "x-amzn-RequestId": "", - "X-Amzn-Trace-Id": "root=1-645cb02c-2b1a9b5f439a86b556e2a57b;sampled=0" + "X-Amzn-Trace-Id": "X-Amzn-Trace-Id" }, "HttpStatusCode": 200 }, diff --git a/tests/integration/stepfunctions/v2/services/test_sqs_task_service.py b/tests/integration/stepfunctions/v2/services/test_sqs_task_service.py index cdd505bc54529..b4bbff5fe5913 100644 --- a/tests/integration/stepfunctions/v2/services/test_sqs_task_service.py +++ b/tests/integration/stepfunctions/v2/services/test_sqs_task_service.py @@ -35,14 +35,14 @@ def test_send_message( create_iam_role_for_sfn, create_state_machine, sqs_create_queue, - snapshot, + sfn_snapshot, ): - snapshot.add_transformer(snapshot.transform.sqs_api()) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sqs_api()) queue_name = f"queue-{short_uid()}" queue_url = sqs_create_queue(QueueName=queue_name) - snapshot.add_transformer(RegexTransformer(queue_url, "")) - snapshot.add_transformer(RegexTransformer(queue_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_url, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_name, "")) template = ST.load_sfn_template(ST.SQS_SEND_MESSAGE) definition = json.dumps(template) @@ -53,7 +53,7 @@ def test_send_message( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -68,14 +68,14 @@ def test_send_message_unsupported_parameters( create_iam_role_for_sfn, create_state_machine, sqs_create_queue, - snapshot, + sfn_snapshot, ): - snapshot.add_transformer(snapshot.transform.sqs_api()) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sqs_api()) queue_name = f"queue-{short_uid()}" queue_url = sqs_create_queue(QueueName=queue_name) - snapshot.add_transformer(RegexTransformer(queue_url, "")) - snapshot.add_transformer(RegexTransformer(queue_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_url, "")) + sfn_snapshot.add_transformer(RegexTransformer(queue_name, "")) template = ST.load_sfn_template(ST.SQS_SEND_MESSAGE) definition = json.dumps(template) @@ -93,7 +93,7 @@ def test_send_message_unsupported_parameters( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) diff --git a/tests/integration/stepfunctions/v2/services/test_sqs_task_service.snapshot.json b/tests/integration/stepfunctions/v2/services/test_sqs_task_service.snapshot.json index 49004e16df40e..8b3b70461e894 100644 --- a/tests/integration/stepfunctions/v2/services/test_sqs_task_service.snapshot.json +++ b/tests/integration/stepfunctions/v2/services/test_sqs_task_service.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/services/test_sqs_task_service.py::TestTaskServiceSqs::test_send_message": { - "recorded-date": "20-04-2023, 08:02:55", + "recorded-date": "22-06-2023, 13:41:17", "recorded-content": { "get_execution_history": { "events": [ @@ -76,9 +76,7 @@ "Content-Length": [ "378" ], - "Date": [ - "Thu, 20 Apr 2023 06:02:54 GMT" - ], + "Date": "date", "Content-Type": [ "text/xml" ] @@ -86,7 +84,7 @@ "HttpHeaders": { "Content-Length": "378", "Content-Type": "text/xml", - "Date": "Thu, 20 Apr 2023 06:02:54 GMT", + "Date": "date", "x-amzn-RequestId": "" }, "HttpStatusCode": 200 @@ -120,9 +118,7 @@ "Content-Length": [ "378" ], - "Date": [ - "Thu, 20 Apr 2023 06:02:54 GMT" - ], + "Date": "date", "Content-Type": [ "text/xml" ] @@ -130,7 +126,7 @@ "HttpHeaders": { "Content-Length": "378", "Content-Type": "text/xml", - "Date": "Thu, 20 Apr 2023 06:02:54 GMT", + "Date": "date", "x-amzn-RequestId": "" }, "HttpStatusCode": 200 @@ -159,9 +155,7 @@ "Content-Length": [ "378" ], - "Date": [ - "Thu, 20 Apr 2023 06:02:54 GMT" - ], + "Date": "date", "Content-Type": [ "text/xml" ] @@ -169,7 +163,7 @@ "HttpHeaders": { "Content-Length": "378", "Content-Type": "text/xml", - "Date": "Thu, 20 Apr 2023 06:02:54 GMT", + "Date": "date", "x-amzn-RequestId": "" }, "HttpStatusCode": 200 @@ -196,7 +190,7 @@ } }, "tests/integration/stepfunctions/v2/services/test_sqs_task_service.py::TestTaskServiceSqs::test_send_message_unsupported_parameters": { - "recorded-date": "25-04-2023, 07:39:27", + "recorded-date": "22-06-2023, 13:41:34", "recorded-content": { "get_execution_history": { "events": [ @@ -278,9 +272,7 @@ "Content-Length": [ "378" ], - "Date": [ - "Tue, 25 Apr 2023 05:39:26 GMT" - ], + "Date": "date", "Content-Type": [ "text/xml" ] @@ -288,7 +280,7 @@ "HttpHeaders": { "Content-Length": "378", "Content-Type": "text/xml", - "Date": "Tue, 25 Apr 2023 05:39:26 GMT", + "Date": "date", "x-amzn-RequestId": "" }, "HttpStatusCode": 200 @@ -322,9 +314,7 @@ "Content-Length": [ "378" ], - "Date": [ - "Tue, 25 Apr 2023 05:39:26 GMT" - ], + "Date": "date", "Content-Type": [ "text/xml" ] @@ -332,7 +322,7 @@ "HttpHeaders": { "Content-Length": "378", "Content-Type": "text/xml", - "Date": "Tue, 25 Apr 2023 05:39:26 GMT", + "Date": "date", "x-amzn-RequestId": "" }, "HttpStatusCode": 200 @@ -361,9 +351,7 @@ "Content-Length": [ "378" ], - "Date": [ - "Tue, 25 Apr 2023 05:39:26 GMT" - ], + "Date": "date", "Content-Type": [ "text/xml" ] @@ -371,7 +359,7 @@ "HttpHeaders": { "Content-Length": "378", "Content-Type": "text/xml", - "Date": "Tue, 25 Apr 2023 05:39:26 GMT", + "Date": "date", "x-amzn-RequestId": "" }, "HttpStatusCode": 200 diff --git a/tests/integration/stepfunctions/v2/test_sfn_api.py b/tests/integration/stepfunctions/v2/test_sfn_api.py index 8545071683c6d..ca34b61fe68c3 100644 --- a/tests/integration/stepfunctions/v2/test_sfn_api.py +++ b/tests/integration/stepfunctions/v2/test_sfn_api.py @@ -32,7 +32,7 @@ def test_create_delete_valid_sm( create_iam_role_for_sfn, create_lambda_function, create_state_machine, - snapshot, + sfn_snapshot, aws_client, ): create_lambda_1 = create_lambda_function( @@ -43,7 +43,7 @@ def test_create_delete_valid_sm( lambda_arn_1 = create_lambda_1["CreateFunctionResponse"]["FunctionArn"] snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_TASK_SEQ_2) definition["States"]["State_1"]["Resource"] = lambda_arn_1 @@ -54,22 +54,22 @@ def test_create_delete_valid_sm( creation_resp_1 = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp_1, 0)) - snapshot.match("creation_resp_1", creation_resp_1) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp_1, 0)) + sfn_snapshot.match("creation_resp_1", creation_resp_1) state_machine_arn = creation_resp_1["stateMachineArn"] deletion_resp_1 = aws_client.stepfunctions.delete_state_machine( stateMachineArn=state_machine_arn ) - snapshot.match("deletion_resp_1", deletion_resp_1) + sfn_snapshot.match("deletion_resp_1", deletion_resp_1) @pytest.mark.skip("Add support for invalid language derivation.") def test_create_delete_invalid_sm( - self, create_iam_role_for_sfn, create_state_machine, snapshot + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_INVALID_DER) definition_str = json.dumps(definition) @@ -78,13 +78,13 @@ def test_create_delete_invalid_sm( with pytest.raises(Exception) as resource_not_found: create_state_machine(name=sm_name, definition=definition_str, roleArn=snf_role_arn) - snapshot.match("invalid_definition_1", resource_not_found.value.response) + sfn_snapshot.match("invalid_definition_1", resource_not_found.value.response) def test_delete_nonexistent_sm( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_PASS_RESULT) definition_str = json.dumps(definition) @@ -101,13 +101,13 @@ def test_delete_nonexistent_sm( deletion_resp_1 = aws_client.stepfunctions.delete_state_machine( stateMachineArn=sm_nonexistent_arn ) - snapshot.match("deletion_resp_1", deletion_resp_1) + sfn_snapshot.match("deletion_resp_1", deletion_resp_1) def test_create_exact_duplicate_sm( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_PASS_RESULT) definition_str = json.dumps(definition) @@ -116,37 +116,37 @@ def test_create_exact_duplicate_sm( creation_resp_1 = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp_1, 0)) - snapshot.match("creation_resp_1", creation_resp_1) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp_1, 0)) + sfn_snapshot.match("creation_resp_1", creation_resp_1) state_machine_arn_1 = creation_resp_1["stateMachineArn"] describe_resp_1 = aws_client.stepfunctions.describe_state_machine( stateMachineArn=state_machine_arn_1 ) - snapshot.match("describe_resp_1", describe_resp_1) + sfn_snapshot.match("describe_resp_1", describe_resp_1) creation_resp_2 = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp_2, 1)) - snapshot.match("creation_resp_2", creation_resp_2) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp_2, 1)) + sfn_snapshot.match("creation_resp_2", creation_resp_2) state_machine_arn_2 = creation_resp_2["stateMachineArn"] describe_resp_2 = aws_client.stepfunctions.describe_state_machine( stateMachineArn=state_machine_arn_2 ) - snapshot.match("describe_resp_2", describe_resp_2) + sfn_snapshot.match("describe_resp_2", describe_resp_2) describe_resp_1_2 = aws_client.stepfunctions.describe_state_machine( stateMachineArn=state_machine_arn_1 ) - snapshot.match("describe_resp_1_2", describe_resp_1_2) + sfn_snapshot.match("describe_resp_1_2", describe_resp_1_2) def test_create_duplicate_definition_format_sm( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_PASS_RESULT) definition_str = json.dumps(definition) @@ -155,25 +155,25 @@ def test_create_duplicate_definition_format_sm( creation_resp_1 = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp_1, 0)) - snapshot.match("creation_resp_1", creation_resp_1) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp_1, 0)) + sfn_snapshot.match("creation_resp_1", creation_resp_1) state_machine_arn_1 = creation_resp_1["stateMachineArn"] describe_resp_1 = aws_client.stepfunctions.describe_state_machine( stateMachineArn=state_machine_arn_1 ) - snapshot.match("describe_resp_1", describe_resp_1) + sfn_snapshot.match("describe_resp_1", describe_resp_1) definition_str_2 = json.dumps(definition, indent=4) with pytest.raises(Exception) as resource_not_found: create_state_machine(name=sm_name, definition=definition_str_2, roleArn=snf_role_arn) - snapshot.match("already_exists_1", resource_not_found.value.response) + sfn_snapshot.match("already_exists_1", resource_not_found.value.response) def test_create_duplicate_sm_name( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) definition_1 = BaseTemplate.load_sfn_template(BaseTemplate.BASE_PASS_RESULT) definition_str_1 = json.dumps(definition_1) @@ -182,14 +182,14 @@ def test_create_duplicate_sm_name( creation_resp_1 = create_state_machine( name=sm_name, definition=definition_str_1, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp_1, 0)) - snapshot.match("creation_resp_1", creation_resp_1) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp_1, 0)) + sfn_snapshot.match("creation_resp_1", creation_resp_1) state_machine_arn_1 = creation_resp_1["stateMachineArn"] describe_resp_1 = aws_client.stepfunctions.describe_state_machine( stateMachineArn=state_machine_arn_1 ) - snapshot.match("describe_resp_1", describe_resp_1) + sfn_snapshot.match("describe_resp_1", describe_resp_1) definition_2 = BaseTemplate.load_sfn_template(BaseTemplate.BASE_PASS_RESULT) definition_2["States"]["State_1"]["Result"].update({"Arg2": "Argument2"}) @@ -197,11 +197,13 @@ def test_create_duplicate_sm_name( with pytest.raises(Exception) as resource_not_found: create_state_machine(name=sm_name, definition=definition_str_2, roleArn=snf_role_arn) - snapshot.match("already_exists_1", resource_not_found.value.response) + sfn_snapshot.match("already_exists_1", resource_not_found.value.response) - def test_list_sms(self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client): + def test_list_sms( + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client + ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_PASS_RESULT) definition_str = json.dumps(definition) @@ -209,7 +211,7 @@ def test_list_sms(self, create_iam_role_for_sfn, create_state_machine, snapshot, await_no_state_machines_listed(stepfunctions_client=aws_client.stepfunctions) lst_resp = aws_client.stepfunctions.list_state_machines() - snapshot.match("lst_resp_init", lst_resp) + sfn_snapshot.match("lst_resp_init", lst_resp) sm_names = [ f"statemachine_1_{short_uid()}", @@ -225,8 +227,8 @@ def test_list_sms(self, create_iam_role_for_sfn, create_state_machine, snapshot, roleArn=snf_role_arn, type=StateMachineType.EXPRESS, ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp, i)) - snapshot.match(f"creation_resp_{i}", creation_resp) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp, i)) + sfn_snapshot.match(f"creation_resp_{i}", creation_resp) state_machine_arn: str = creation_resp["stateMachineArn"] state_machine_arns.append(state_machine_arn) @@ -234,29 +236,29 @@ def test_list_sms(self, create_iam_role_for_sfn, create_state_machine, snapshot, stepfunctions_client=aws_client.stepfunctions, state_machine_arn=state_machine_arn ) lst_resp = aws_client.stepfunctions.list_state_machines() - snapshot.match(f"lst_resp_{i}", lst_resp) + sfn_snapshot.match(f"lst_resp_{i}", lst_resp) for i, state_machine_arn in enumerate(state_machine_arns): deletion_resp = aws_client.stepfunctions.delete_state_machine( stateMachineArn=state_machine_arn ) - snapshot.match(f"deletion_resp_{i}", deletion_resp) + sfn_snapshot.match(f"deletion_resp_{i}", deletion_resp) await_state_machine_not_listed( stepfunctions_client=aws_client.stepfunctions, state_machine_arn=state_machine_arn ) lst_resp = aws_client.stepfunctions.list_state_machines() - snapshot.match(f"lst_resp_del_{i}", lst_resp) + sfn_snapshot.match(f"lst_resp_del_{i}", lst_resp) lst_resp = aws_client.stepfunctions.list_state_machines() - snapshot.match("lst_resp_del_end", lst_resp) + sfn_snapshot.match("lst_resp_del_end", lst_resp) def test_start_execution( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) sm_name: str = f"statemachine_{short_uid()}" definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_PASS_RESULT) @@ -265,13 +267,13 @@ def test_start_execution( creation_resp = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) - snapshot.match("creation_resp", creation_resp) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) + sfn_snapshot.match("creation_resp", creation_resp) state_machine_arn = creation_resp["stateMachineArn"] exec_resp = aws_client.stepfunctions.start_execution(stateMachineArn=state_machine_arn) - snapshot.add_transformer(snapshot.transform.sfn_sm_exec_arn(exec_resp, 0)) - snapshot.match("exec_resp", exec_resp) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_exec_arn(exec_resp, 0)) + sfn_snapshot.match("exec_resp", exec_resp) execution_arn = exec_resp["executionArn"] await_execution_success( @@ -279,16 +281,16 @@ def test_start_execution( ) exec_list_resp = aws_client.stepfunctions.list_executions(stateMachineArn=state_machine_arn) - snapshot.match("exec_list_resp", exec_list_resp) + sfn_snapshot.match("exec_list_resp", exec_list_resp) exec_hist_resp = aws_client.stepfunctions.get_execution_history(executionArn=execution_arn) - snapshot.match("exec_hist_resp", exec_hist_resp) + sfn_snapshot.match("exec_hist_resp", exec_hist_resp) def test_invalid_start_execution_arn( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) sm_name: str = f"statemachine_{short_uid()}" definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_PASS_RESULT) @@ -297,8 +299,8 @@ def test_invalid_start_execution_arn( creation_resp = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) - snapshot.match("creation_resp", creation_resp) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) + sfn_snapshot.match("creation_resp", creation_resp) state_machine_arn = creation_resp["stateMachineArn"] state_machine_arn_invalid = state_machine_arn.replace( sm_name, f"statemachine_invalid_{sm_name}" @@ -308,14 +310,14 @@ def test_invalid_start_execution_arn( with pytest.raises(Exception) as resource_not_found: aws_client.stepfunctions.start_execution(stateMachineArn=state_machine_arn_invalid) - snapshot.match("start_exec_of_deleted", resource_not_found.value.response) + sfn_snapshot.match("start_exec_of_deleted", resource_not_found.value.response) @pytest.mark.skip_snapshot_verify(paths=["$..Error.Message", "$..message"]) def test_invalid_start_execution_input( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) sm_name: str = f"statemachine_{short_uid()}" definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_PASS_RESULT) @@ -324,49 +326,49 @@ def test_invalid_start_execution_input( creation_resp = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) - snapshot.match("creation_resp", creation_resp) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) + sfn_snapshot.match("creation_resp", creation_resp) state_machine_arn = creation_resp["stateMachineArn"] with pytest.raises(Exception) as err: aws_client.stepfunctions.start_execution( stateMachineArn=state_machine_arn, input="not some json" ) - snapshot.match("start_exec_str_inp", err.value.response) + sfn_snapshot.match("start_exec_str_inp", err.value.response) with pytest.raises(Exception) as err: aws_client.stepfunctions.start_execution( stateMachineArn=state_machine_arn, input="{'not': 'json'" ) - snapshot.match("start_exec_not_json_inp", err.value.response) + sfn_snapshot.match("start_exec_not_json_inp", err.value.response) with pytest.raises(Exception) as err: aws_client.stepfunctions.start_execution(stateMachineArn=state_machine_arn, input="") - snapshot.match("start_res_empty", err.value.response) + sfn_snapshot.match("start_res_empty", err.value.response) start_res_num = aws_client.stepfunctions.start_execution( stateMachineArn=state_machine_arn, input="2" ) - snapshot.add_transformer(snapshot.transform.sfn_sm_exec_arn(start_res_num, 0)) - snapshot.match("start_res_num", start_res_num) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_exec_arn(start_res_num, 0)) + sfn_snapshot.match("start_res_num", start_res_num) start_res_str = aws_client.stepfunctions.start_execution( stateMachineArn=state_machine_arn, input='"some text"' ) - snapshot.add_transformer(snapshot.transform.sfn_sm_exec_arn(start_res_str, 1)) - snapshot.match("start_res_str", start_res_str) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_exec_arn(start_res_str, 1)) + sfn_snapshot.match("start_res_str", start_res_str) start_res_null = aws_client.stepfunctions.start_execution( stateMachineArn=state_machine_arn, input="null" ) - snapshot.add_transformer(snapshot.transform.sfn_sm_exec_arn(start_res_null, 2)) - snapshot.match("start_res_null", start_res_null) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_exec_arn(start_res_null, 2)) + sfn_snapshot.match("start_res_null", start_res_null) def test_stop_execution( - self, create_iam_role_for_sfn, create_state_machine, snapshot, aws_client + self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client ): snf_role_arn = create_iam_role_for_sfn() - snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) + sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn")) sm_name: str = f"statemachine_{short_uid()}" definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_WAIT_1_MIN) @@ -375,13 +377,13 @@ def test_stop_execution( creation_resp = create_state_machine( name=sm_name, definition=definition_str, roleArn=snf_role_arn ) - snapshot.add_transformer(snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) - snapshot.match("creation_resp", creation_resp) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp, 0)) + sfn_snapshot.match("creation_resp", creation_resp) state_machine_arn = creation_resp["stateMachineArn"] exec_resp = aws_client.stepfunctions.start_execution(stateMachineArn=state_machine_arn) - snapshot.add_transformer(snapshot.transform.sfn_sm_exec_arn(exec_resp, 0)) - snapshot.match("exec_resp", exec_resp) + sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_exec_arn(exec_resp, 0)) + sfn_snapshot.match("exec_resp", exec_resp) execution_arn = exec_resp["executionArn"] await_execution_started( @@ -389,11 +391,11 @@ def test_stop_execution( ) stop_res = aws_client.stepfunctions.stop_execution(executionArn=execution_arn) - snapshot.match("stop_res", stop_res) + sfn_snapshot.match("stop_res", stop_res) await_execution_aborted( stepfunctions_client=aws_client.stepfunctions, execution_arn=execution_arn ) exec_hist_resp = aws_client.stepfunctions.get_execution_history(executionArn=execution_arn) - snapshot.match("exec_hist_resp", exec_hist_resp) + sfn_snapshot.match("exec_hist_resp", exec_hist_resp) diff --git a/tests/integration/stepfunctions/v2/test_sfn_api.snapshot.json b/tests/integration/stepfunctions/v2/test_sfn_api.snapshot.json index 1e6b8d4d93949..cc20196b067e6 100644 --- a/tests/integration/stepfunctions/v2/test_sfn_api.snapshot.json +++ b/tests/integration/stepfunctions/v2/test_sfn_api.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/test_sfn_api.py::TestSnfApi::test_create_delete_valid_sm": { - "recorded-date": "06-02-2023, 08:39:41", + "recorded-date": "22-06-2023, 13:47:21", "recorded-content": { "creation_resp_1": { "creationDate": "datetime", @@ -35,7 +35,7 @@ } }, "tests/integration/stepfunctions/v2/test_sfn_api.py::TestSnfApi::test_delete_nonexistent_sm": { - "recorded-date": "06-02-2023, 08:40:33", + "recorded-date": "22-06-2023, 13:47:36", "recorded-content": { "deletion_resp_1": { "ResponseMetadata": { @@ -46,7 +46,7 @@ } }, "tests/integration/stepfunctions/v2/test_sfn_api.py::TestSnfApi::test_create_exact_duplicate_sm": { - "recorded-date": "06-02-2023, 08:40:51", + "recorded-date": "22-06-2023, 13:48:01", "recorded-content": { "creation_resp_1": { "creationDate": "datetime", @@ -163,7 +163,7 @@ } }, "tests/integration/stepfunctions/v2/test_sfn_api.py::TestSnfApi::test_create_duplicate_definition_format_sm": { - "recorded-date": "06-02-2023, 08:41:06", + "recorded-date": "22-06-2023, 13:48:15", "recorded-content": { "creation_resp_1": { "creationDate": "datetime", @@ -219,7 +219,7 @@ } }, "tests/integration/stepfunctions/v2/test_sfn_api.py::TestSnfApi::test_create_duplicate_sm_name": { - "recorded-date": "06-02-2023, 08:41:20", + "recorded-date": "22-06-2023, 13:48:28", "recorded-content": { "creation_resp_1": { "creationDate": "datetime", @@ -275,7 +275,7 @@ } }, "tests/integration/stepfunctions/v2/test_sfn_api.py::TestSnfApi::test_start_execution": { - "recorded-date": "01-04-2023, 00:35:46", + "recorded-date": "22-06-2023, 13:52:39", "recorded-content": { "creation_resp": { "creationDate": "datetime", @@ -375,7 +375,7 @@ } }, "tests/integration/stepfunctions/v2/test_sfn_api.py::TestSnfApi::test_invalid_start_execution_arn": { - "recorded-date": "06-02-2023, 08:41:51", + "recorded-date": "22-06-2023, 13:52:53", "recorded-content": { "creation_resp": { "creationDate": "datetime", @@ -399,7 +399,7 @@ } }, "tests/integration/stepfunctions/v2/test_sfn_api.py::TestSnfApi::test_invalid_start_execution_input": { - "recorded-date": "06-02-2023, 08:42:06", + "recorded-date": "22-06-2023, 13:53:08", "recorded-content": { "creation_resp": { "creationDate": "datetime", @@ -469,7 +469,7 @@ } }, "tests/integration/stepfunctions/v2/test_sfn_api.py::TestSnfApi::test_stop_execution": { - "recorded-date": "06-02-2023, 08:42:21", + "recorded-date": "22-06-2023, 13:53:24", "recorded-content": { "creation_resp": { "creationDate": "datetime", @@ -538,7 +538,7 @@ } }, "tests/integration/stepfunctions/v2/test_sfn_api.py::TestSnfApi::test_list_sms": { - "recorded-date": "06-02-2023, 08:57:45", + "recorded-date": "22-06-2023, 13:52:24", "recorded-content": { "lst_resp_init": { "stateMachines": [], diff --git a/tests/integration/stepfunctions/v2/timeouts/test_timeouts.py b/tests/integration/stepfunctions/v2/timeouts/test_timeouts.py index ca473ffab821e..5c7e2a1d97fc8 100644 --- a/tests/integration/stepfunctions/v2/timeouts/test_timeouts.py +++ b/tests/integration/stepfunctions/v2/timeouts/test_timeouts.py @@ -24,7 +24,7 @@ def test_fixed_timeout_service_lambda( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_1_func_{short_uid()}" create_lambda_function( @@ -32,7 +32,7 @@ def test_fixed_timeout_service_lambda( handler_file=TT.LAMBDA_WAIT_60_SECONDS, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = TT.load_sfn_template(TT.SERVICE_LAMBDA_WAIT_WITH_TIMEOUT_SECONDS) definition = json.dumps(template) @@ -42,7 +42,7 @@ def test_fixed_timeout_service_lambda( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -53,7 +53,7 @@ def test_fixed_timeout_service_lambda_with_path( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_1_func_{short_uid()}" create_lambda_function( @@ -61,7 +61,7 @@ def test_fixed_timeout_service_lambda_with_path( handler_file=TT.LAMBDA_WAIT_60_SECONDS, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = TT.load_sfn_template( TT.SERVICE_LAMBDA_MAP_FUNCTION_INVOKE_WITH_TIMEOUT_SECONDS_PATH @@ -75,7 +75,7 @@ def test_fixed_timeout_service_lambda_with_path( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -86,7 +86,7 @@ def test_fixed_timeout_lambda( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_1_func_{short_uid()}" lambda_creation_response = create_lambda_function( @@ -94,7 +94,7 @@ def test_fixed_timeout_lambda( handler_file=TT.LAMBDA_WAIT_60_SECONDS, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) lambda_arn = lambda_creation_response["CreateFunctionResponse"]["FunctionArn"] template = TT.load_sfn_template(TT.LAMBDA_WAIT_WITH_TIMEOUT_SECONDS) @@ -106,7 +106,7 @@ def test_fixed_timeout_lambda( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) @@ -118,7 +118,7 @@ def test_service_lambda_map_timeout( create_iam_role_for_sfn, create_state_machine, create_lambda_function, - snapshot, + sfn_snapshot, ): function_name = f"lambda_1_func_{short_uid()}" create_lambda_function( @@ -126,7 +126,7 @@ def test_service_lambda_map_timeout( handler_file=TT.LAMBDA_WAIT_60_SECONDS, runtime="python3.9", ) - snapshot.add_transformer(RegexTransformer(function_name, "")) + sfn_snapshot.add_transformer(RegexTransformer(function_name, "")) template = TT.load_sfn_template(TT.SERVICE_LAMBDA_MAP_FUNCTION_INVOKE_WITH_TIMEOUT_SECONDS) definition = json.dumps(template) @@ -145,7 +145,7 @@ def test_service_lambda_map_timeout( aws_client.stepfunctions, create_iam_role_for_sfn, create_state_machine, - snapshot, + sfn_snapshot, definition, exec_input, ) diff --git a/tests/integration/stepfunctions/v2/timeouts/test_timeouts.snapshot.json b/tests/integration/stepfunctions/v2/timeouts/test_timeouts.snapshot.json index 6a3b868f3b1b0..420a03ce62c79 100644 --- a/tests/integration/stepfunctions/v2/timeouts/test_timeouts.snapshot.json +++ b/tests/integration/stepfunctions/v2/timeouts/test_timeouts.snapshot.json @@ -1,6 +1,6 @@ { "tests/integration/stepfunctions/v2/timeouts/test_timeouts.py::TestTimeouts::test_fixed_timeout_lambda": { - "recorded-date": "26-05-2023, 16:54:44", + "recorded-date": "22-06-2023, 13:42:57", "recorded-content": { "get_execution_history": { "events": [ @@ -83,7 +83,7 @@ } }, "tests/integration/stepfunctions/v2/timeouts/test_timeouts.py::TestTimeouts::test_fixed_timeout_service_lambda": { - "recorded-date": "26-05-2023, 16:54:04", + "recorded-date": "22-06-2023, 13:42:21", "recorded-content": { "get_execution_history": { "events": [ @@ -591,7 +591,7 @@ } }, "tests/integration/stepfunctions/v2/timeouts/test_timeouts.py::TestTimeouts::test_fixed_timeout_service_lambda_with_path": { - "recorded-date": "26-05-2023, 17:02:05", + "recorded-date": "22-06-2023, 13:42:39", "recorded-content": { "get_execution_history": { "events": [ From 2682ffa5695101cf5776f17b3a8742c8bae19e2a Mon Sep 17 00:00:00 2001 From: MEPalma Date: Thu, 22 Jun 2023 14:59:13 +0200 Subject: [PATCH 8/9] minor cleanup --- localstack/testing/snapshots/transformer_utility.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/localstack/testing/snapshots/transformer_utility.py b/localstack/testing/snapshots/transformer_utility.py index 6c4c8e641db1e..321fe45e77ab9 100644 --- a/localstack/testing/snapshots/transformer_utility.py +++ b/localstack/testing/snapshots/transformer_utility.py @@ -549,8 +549,6 @@ def stepfunctions_api(): "X-Amzn-Trace-Id", replace_reference=False, ), - SortingTransformer("VersionStages"), - SortingTransformer("Versions", lambda e: e.get("CreatedDate")), ] # TODO add example From de9a3200fef1f488b9fdd770d008fa38027276a3 Mon Sep 17 00:00:00 2001 From: MEPalma Date: Thu, 22 Jun 2023 18:27:01 +0200 Subject: [PATCH 9/9] fix cycle on send success --- tests/integration/stepfunctions/conftest.py | 3 +- .../sqs_success_on_task_token.json5 | 40 +++-- .../v2/callback/test_callback.py | 2 +- .../v2/callback/test_callback.snapshot.json | 147 +----------------- 4 files changed, 39 insertions(+), 153 deletions(-) diff --git a/tests/integration/stepfunctions/conftest.py b/tests/integration/stepfunctions/conftest.py index fe9e4b90e3d4f..92875952e2fa5 100644 --- a/tests/integration/stepfunctions/conftest.py +++ b/tests/integration/stepfunctions/conftest.py @@ -143,7 +143,8 @@ def _create_state_machine(sqs_queue_url): state_machine_arn = creation_resp["stateMachineArn"] aws_client.stepfunctions.start_execution( - stateMachineArn=state_machine_arn, input=json.dumps({"QueueUrl": sqs_queue_url}) + stateMachineArn=state_machine_arn, + input=json.dumps({"QueueUrl": sqs_queue_url, "Iterator": {"Count": 300}}), ) return _create_state_machine diff --git a/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_success_on_task_token.json5 b/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_success_on_task_token.json5 index f9f591a13579d..8946f82fb1a86 100644 --- a/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_success_on_task_token.json5 +++ b/tests/integration/stepfunctions/templates/callbacks/statemachines/sqs_success_on_task_token.json5 @@ -1,8 +1,27 @@ { "Comment": "sqs_success_on_task_token", - "StartAt": "WaitAndRestart", + "StartAt": "Iterate", "States": { - "WaitAndRestart": { + "Iterate": { + "Type": "Pass", + "Parameters": { + "Count.$": "States.MathAdd($.Iterator.Count, -1)" + }, + "ResultPath": "$.Iterator", + "Next": "IterateStep" + }, + "IterateStep": { + "Type": "Choice", + "Choices": [ + { + "Variable": "$.Iterator.Count", + "NumericLessThanEquals": 0, + "Next": "NoMoreCycles" + } + ], + "Default": "WaitAndReceive", + }, + "WaitAndReceive": { "Type": "Wait", "Seconds": 1, "Next": "Receive" @@ -25,7 +44,7 @@ "Next": "SendSuccesses" } ], - "Default": "WaitAndRestart" + "Default": "Iterate" }, "SendSuccesses": { "Type": "Map", @@ -39,7 +58,7 @@ "ParseBody": { "Type": "Pass", "Parameters": { - "body.$": "States.StringToJson($.Body)" + "Body.$": "States.StringToJson($.Body)" }, "Next": "Send" }, @@ -47,16 +66,19 @@ "Type": "Task", "Resource": "arn:aws:states:::aws-sdk:sfn:sendTaskSuccess", "Parameters": { - "Output.$": "States.JsonToString($.body.Message)", - "TaskToken.$": "$.body.TaskToken" + "Output.$": "States.JsonToString($.Body.Message)", + "TaskToken.$": "$.Body.TaskToken" }, "End": true } }, }, "ResultPath": null, - "OutputPath": "$.QueueUrl", - "Next": "WaitAndRestart" + "Next": "Iterate" + }, + "NoMoreCycles": { + "Type": "Pass", + "End": true } }, -} \ No newline at end of file +} diff --git a/tests/integration/stepfunctions/v2/callback/test_callback.py b/tests/integration/stepfunctions/v2/callback/test_callback.py index 29fffbb0b5ebc..b091256f077a0 100644 --- a/tests/integration/stepfunctions/v2/callback/test_callback.py +++ b/tests/integration/stepfunctions/v2/callback/test_callback.py @@ -25,7 +25,7 @@ ) class TestCallback: @pytest.mark.skip_snapshot_verify(paths=["$..MD5OfMessageBody"]) - def test_sqs_wait_for_task_tok( + def test_sqs_wait_for_task_token( self, aws_client, create_iam_role_for_sfn, diff --git a/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json b/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json index 3a9feb39c2927..1c5f9c640b98a 100644 --- a/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json +++ b/tests/integration/stepfunctions/v2/callback/test_callback.snapshot.json @@ -1,6 +1,6 @@ { - "tests/integration/stepfunctions/v2/callback/test_callback.py::TestCallback::test_sqs_wait_for_task_tok": { - "recorded-date": "22-06-2023, 13:05:16", + "tests/integration/stepfunctions/v2/callback/test_callback.py::TestCallback::test_sqs_wait_for_task_token": { + "recorded-date": "22-06-2023, 18:19:29", "recorded-content": { "get_execution_history": { "events": [ @@ -69,7 +69,7 @@ "previousEventId": 4, "taskSubmittedEventDetails": { "output": { - "MD5OfMessageBody": "476a20e5904cb4822a4cd978ced5e607", + "MD5OfMessageBody": "a445f4b8c855092007f589f7060598df", "MessageId": "", "SdkHttpMetadata": { "AllHttpHeaders": { @@ -152,145 +152,8 @@ } } }, - "tests/integration/stepfunctions/v2/callback/test_callback.py::TestCallback::test_sqs_wait_for_task_tok_timeout": { - "recorded-date": "26-05-2023, 16:56:20", - "recorded-content": { - "get_execution_history": { - "events": [ - { - "executionStartedEventDetails": { - "input": { - "QueueUrl": "https://sqs..amazonaws.com/111111111111/", - "Message": "test_message_txt" - }, - "inputDetails": { - "truncated": false - }, - "roleArn": "arn:aws:iam::111111111111:role/" - }, - "id": 1, - "previousEventId": 0, - "timestamp": "timestamp", - "type": "ExecutionStarted" - }, - { - "id": 2, - "previousEventId": 0, - "stateEnteredEventDetails": { - "input": { - "QueueUrl": "https://sqs..amazonaws.com/111111111111/", - "Message": "test_message_txt" - }, - "inputDetails": { - "truncated": false - }, - "name": "SendMessageWithWaitAndTimeout" - }, - "timestamp": "timestamp", - "type": "TaskStateEntered" - }, - { - "id": 3, - "previousEventId": 2, - "taskScheduledEventDetails": { - "parameters": { - "MessageBody": { - "Message": "test_message_txt", - "TaskToken": "<:1>" - }, - "QueueUrl": "https://sqs..amazonaws.com/111111111111/" - }, - "region": "", - "resource": "sendMessage.waitForTaskToken", - "resourceType": "sqs", - "timeoutInSeconds": 1 - }, - "timestamp": "timestamp", - "type": "TaskScheduled" - }, - { - "id": 4, - "previousEventId": 3, - "taskStartedEventDetails": { - "resource": "sendMessage.waitForTaskToken", - "resourceType": "sqs" - }, - "timestamp": "timestamp", - "type": "TaskStarted" - }, - { - "id": 5, - "previousEventId": 4, - "taskSubmittedEventDetails": { - "output": { - "MD5OfMessageBody": "183da57f008a0a0a7fc9c0d01781ec6c", - "MessageId": "", - "SdkHttpMetadata": { - "AllHttpHeaders": { - "x-amzn-RequestId": [ - "" - ], - "Content-Length": [ - "378" - ], - "Date": [ - "Fri, 26 May 2023 14:56:18 GMT" - ], - "Content-Type": [ - "text/xml" - ] - }, - "HttpHeaders": { - "Content-Length": "378", - "Content-Type": "text/xml", - "Date": "Fri, 26 May 2023 14:56:18 GMT", - "x-amzn-RequestId": "" - }, - "HttpStatusCode": 200 - }, - "SdkResponseMetadata": { - "RequestId": "" - } - }, - "outputDetails": { - "truncated": false - }, - "resource": "sendMessage.waitForTaskToken", - "resourceType": "sqs" - }, - "timestamp": "timestamp", - "type": "TaskSubmitted" - }, - { - "id": 6, - "previousEventId": 5, - "taskTimedOutEventDetails": { - "error": "States.Timeout", - "resource": "sendMessage.waitForTaskToken", - "resourceType": "sqs" - }, - "timestamp": "timestamp", - "type": "TaskTimedOut" - }, - { - "executionFailedEventDetails": { - "error": "States.Timeout" - }, - "id": 7, - "previousEventId": 6, - "timestamp": "timestamp", - "type": "ExecutionFailed" - } - ], - "ResponseMetadata": { - "HTTPHeaders": {}, - "HTTPStatusCode": 200 - } - } - } - }, "tests/integration/stepfunctions/v2/callback/test_callback.py::TestCallback::test_sqs_wait_for_task_token_timeout": { - "recorded-date": "22-06-2023, 14:42:04", + "recorded-date": "22-06-2023, 18:19:51", "recorded-content": { "get_execution_history": { "events": [ @@ -360,7 +223,7 @@ "previousEventId": 4, "taskSubmittedEventDetails": { "output": { - "MD5OfMessageBody": "823533eb403070c450a065ce6b7bedf6", + "MD5OfMessageBody": "e0fa4294b7e41cf70658b6b898f216b2", "MessageId": "", "SdkHttpMetadata": { "AllHttpHeaders": {